Commit graph

335 commits

Author SHA1 Message Date
Dan
a17eb15006 GP-2726: Default to 1 when GDB cannot evaluate sizeof() a watchpoint 2022-10-19 16:36:59 -04:00
Dan
83193d4aff GP-2727: Fix module patern for gdb-11 and later 2022-10-19 14:50:50 -04:00
Ryan Kurtz
c17fd389df Merge remote-tracking branch
'origin/GP-1595_Dan_globalControlActions--SQUASHED' (Closes #3742)
2022-10-19 13:03:41 -04:00
Dan
034730b785 GP-1595: Add global control actions for Target, Trace, and Emulator 2022-10-18 09:59:53 -04:00
Dan
63ebf07dd2 GP-2635: GDB: Refresh stack on register edits (ensure pc up to date) 2022-10-11 15:34:45 -04:00
Dan
ee602228b3 GP-0: Workaround faulty JNA errno handling 2022-09-28 14:45:24 -04:00
Dan
f780012e88 GP-2619: Ported gdb connector to use JNA instead of piggybacking Jython's JNR 2022-09-28 01:21:38 -04:00
Dan
4f5f99384d GP-2533: Remove nosections from gdb manager's listModules (closes #4583) 2022-09-22 15:28:50 -04:00
Dan
bc2ba594b4 GP-2551: Fix RegistersProvider for new trace conventions 2022-09-20 13:21:44 -04:00
Dan
e4f18ad824 GP-2426: Refactor emulator to use trace access shims. Implement register mapping conventions. 2022-09-13 16:02:02 -04:00
Ryan Kurtz
bfb15726d6 Merge remote-tracking branch 'origin/GP-2537_Dan_fixGdbDefaultMemory' 2022-09-12 11:15:24 -04:00
Ryan Kurtz
0d52a4dfc2 Merge remote-tracking branch
'origin/GP-2495_Dan_PR-4546_jmillikin_wine-win32-gdb-scripts'
(Closes #4546)
2022-09-12 11:12:16 -04:00
Dan
b1c9e0360b GP-2537: Fix off-by-one error in gdb default 64-bit memory region split 2022-09-12 09:44:24 -04:00
Dan
cb16d8dd9e GP-1585: Change TargetBreakpointLocation to range, not address,length 2022-09-12 09:01:55 -04:00
Dan
63619e00ae GP-2495: Add documentation and curate other script. 2022-09-07 17:17:09 -04:00
John Millikin
38eb0448b5 Add GDB scripts for dynamic debugging of Win32 binaries via Wine. 2022-08-23 22:22:12 +09:00
Dan
75691a0f0e GP-2241: Fix issue with GDB and non-64-bit targets without info proc mappings 2022-08-22 15:07:40 -04:00
Dan
db38d27385 GP-0: Fix GDB tests 2022-07-12 15:02:19 -04:00
Dan
f0089b8efb GP-2089: Fix gdb manager and model to use new memory flags for gdb-12.1 2022-06-15 10:29:43 -04:00
Ryan Kurtz
0e8e418bfa Merge remote-tracking branch
'origin/GP-1678_Dan_objectRecorder--SQUASHED'

Conflicts:
	Ghidra/Debug/Debugger/src/main/java/ghidra/app/plugin/core/debug/gui/copying/DebuggerCopyIntoProgramDialog.java
2022-04-29 10:10:33 -04:00
Dan
032ae36005 GP-1678: Create experimental object-based recorder and opinion 2022-04-28 15:13:01 -04:00
Robert Xiao
aaba1de99d GDB: Fix parsing of \e and \a
The GDB "printchar" function encodes \x1b as \e and \x07 as \a, both of which
are not handled by StringEscapeUtils.unescapeJava. Strings that contain these
escape characters were incorrectly decoded as "e" and "a" respectively.

Switch to a simple decoding loop instead. The cases here match precisely with
the escape characters used in GDB's printchar function - in particular, there
are no hex escapes, and all octal escapes are exactly three digits long.
2022-04-21 14:11:20 -07:00
Ryan Kurtz
0023a51836 Merge remote-tracking branch 'origin/GP-1824_d-millar_field_for_bpt_expressions' 2022-03-19 01:29:57 -04:00
Ryan Kurtz
042030b8fd Merge remote-tracking branch 'origin/patch'
Conflicts:
	Ghidra/Debug/Debugger/src/main/java/ghidra/app/plugin/core/debug/gui/objects/DebuggerObjectsProvider.java
2022-03-19 01:28:52 -04:00
d-millar
28e332207a GP-1824: renamed per review 2022-03-18 18:35:57 +00:00
d-millar
c25f919249 GP-1822: better range of objects/attributes 2022-03-18 14:19:51 -04:00
d-millar
9ae62b1e63 GP-1822: backing out register changes, making Objects handle Strings 2022-03-17 18:51:05 -04:00
d-millar
aa5bbe93bd GP-1681: Adds basic Frida functionality to Ghidra in the form of a
debugger model.
2022-03-16 05:44:29 -04:00
d-millar
a9711fcaf1 GP-1824: better bpt initialization 2022-03-14 17:52:13 +00:00
d-millar
41c17c0ea2 GP-1822: modifying/adding addresses for navigation 2022-03-14 12:59:29 -04:00
Dan
50fae841b8 GP-0: Fixed timeout issue in GDB connector 2022-02-01 11:08:38 -05:00
Ryan Kurtz
2d4f62fb84 GP-0: Fixing a build issue with jna jar 2022-01-27 10:56:54 -05:00
d-millar
f2a34dc2e1 GP-869: Implement ConPTY-based GDB pty 2022-01-26 12:21:56 -05:00
ghidra1
22a5950d08 Merge remote-tracking branch 'origin/GP-1666_Dan_gdbExecFile--SQUASHED' 2022-01-21 11:37:12 -05:00
ghidra1
e5080cd9b1 Merge remote-tracking branch 'origin/GP-1659_SwitchWithInject' into
patch
2022-01-14 19:33:45 -05:00
Dan
8b3f26e0da GP-1666: Fix module/section list with GDB 11. 2022-01-14 13:37:30 -05:00
d-millar
032eb61aff GP-1655: better fix
GP-1655: fix for SSH exception on cancel
2022-01-14 10:09:03 -05:00
Dan
675eabdd6e GP-1386: A generic object store in DBTrace for recording the object model tree 2022-01-04 10:42:31 -05:00
Ryan Kurtz
2c17973621 Merge remote-tracking branch 'origin/GP-1231_Dan_mapByRegions--SQUASHED' 2021-11-23 13:49:25 -05:00
Dan
108ea044cc GP-1231: Added 'Map by Regions' action to Debugger. 2021-11-23 10:50:16 -05:00
Dan
f8ec0071db GP-1399: No longer permit a null value for GDB's exit value. 2021-11-09 13:34:46 -05:00
Anton Kochkov
0a81592c23 Remove deprecated Gradle features 2021-10-22 19:05:09 +08:00
Dan
540911001a GP-0: SSH tests require interaction. Cannot run nightly. 2021-10-21 08:54:51 -04:00
Dan
072ab7435a GP-1387: Porting GDB/SSH to JSch 2021-10-20 10:06:58 -04:00
Ryan Kurtz
b2a553073f Merge remote-tracking branch 'origin/patch' 2021-10-20 08:48:35 -04:00
Dan
59d4b56bdf GP-1356: Parceling GDB's listRegisters into smaller commands (< 4096 chars each) 2021-10-19 11:53:16 -04:00
Ryan Kurtz
baf34d607c Merge remote-tracking branch 'origin/patch' 2021-10-08 08:41:11 -04:00
Dan
74c8cd48d0 GP-0: Test fixes re/GP-1364 2021-10-08 08:33:47 -04:00
Ryan Kurtz
a694fd1b52 Merge remote-tracking branch 'origin/patch' 2021-10-07 11:23:01 -04:00
Dan
5e324104a5 GP-1364: Fixed parsing issues for several breakpoint types. Added CATCHPOINT 2021-10-07 10:51:54 -04:00