Commit graph

254 commits

Author SHA1 Message Date
ghidra1
91de3c90e7 GP-0 Temporary fix for Client (client.py) construction use to pass
missing description arg as TBD.
2023-12-03 18:34:02 -05:00
Dan
bf8f7c8f78 GP-3836: Add Trace RMI 'Connections' pane. 2023-12-01 09:10:12 -05:00
Ryan Kurtz
968a36f2b5 Merge remote-tracking branch 'origin/GP-3823_Dan_traceRmiWindowsLaunchers--SQUASHED' 2023-11-28 11:03:24 -05:00
Dan
c126cf51c0 GP-3823: TraceRmi Launcher framework + dbgeng for Windows. 2023-11-28 10:38:27 -05:00
Dan
763463269b GP-0: Refer to static field by class, not derivative. 2023-11-20 12:42:07 -05:00
Dan
da0aeefa4f GP-0: Fix async invocation of model's listeners. 2023-10-12 13:58:29 -04:00
Dan
08a900afad GP-3512 - Created 'ListenerSet' for improved listener usage 2023-10-10 10:26:06 -04:00
Ryan Kurtz
b0a07c7279 Merge remote-tracking branch 'origin/GP-3899_d-millar_memory_stale'
(#5817)
2023-10-03 11:39:37 -04:00
Ryan Kurtz
15f46281bf Merge remote-tracking branch
'origin/GP-3896_d-millar_display_exceptions--SQUASHED' (#5817)
2023-10-03 11:37:07 -04:00
Ryan Kurtz
19e32acd90 Merge remote-tracking branch 'origin/GP-3895_d-millar_dbgeng_exe_name'
(#5817)
2023-10-03 11:34:33 -04:00
d-millar
910525fbc5 GP-3896: formatting
GP-3896: going with the trivial solution
2023-10-03 09:20:03 -04:00
d-millar
218e9d5582 GP-3899: refresh memory for everything except step 2023-10-03 12:18:16 +00:00
Dan
84b9181c00 GP-2740: Add Target interface. Refactor UI to use it, not TraceRecorder. 2023-10-02 15:21:19 -04:00
d-millar
c0f95615df GP-3895: add executable name 2023-10-02 14:17:44 +00:00
Ryan Kurtz
8b9000c313 Merge remote-tracking branch 'origin/GP-0_d-millar_more_borken_test_fixes' 2023-09-18 17:41:39 -04:00
d-millar
3d69cf1ae9 GP-3846: fix for stripped quotes in dbgmodel args
GP-3846: fix for stripped quotes in dbgeng args
2023-09-18 12:29:00 -04:00
d-millar
efd3f01041 GP-0: fixes for broken tests 2023-09-16 00:29:58 +00:00
d-millar
abbc18f927 GP-3754: post-review review
GP-3754: last pass
GP-3754: most review issues address (ymm0/testSave not); tests pass
GP-3754: review - eval/exec
GP-3754: moved registers to thread
GP-3754: review pass 7 - register w/o banks
GP-3754: review pass 6 - basic clean-up items
GP-3754: pass 5 - tests all pass (minus commented-out ones)
GP-3754: review pass 4(?)
GP-3754: review pass 3
GP-3754: review pass 2
GP-3754: review pass 1
GP-3754: ref Pybag
GP-3754: clean-up
GP-3754: testing post-changes in hooks
GP-3754: fix for env
GP-3754: convenience method for get_debugger
GP-3754: tests all running successfully
GP-3754: hook tests running
GP-3754: hook tests: memory changed not wokring, bpt modified does nothing
GP-3754: lot of work to get testExited to pass
GP-3754: start on hooks tests; mods to methods not-runnable while running
GP-3754: methods tests working
GP-3754: bulk of bpt tests running
GP-3754: whittling down the list
GP-3754: more passing method tests
GP-3754: at least a few method tests working (don't run batch)
GP-3754: cmd tests pass w/o closing stdin
GP-3754: command test basically running
GP-3754: 3 cmd tests failing; 3 commented out
GP-3754: ghidra_trace_set_values uses broken except for in testGetValues
GP-3754: whittling down the command tests
GP-3754: tests esp. SetValue
GP-3754: testMinimal works but cannot 'execute'
GP-3754: JUnits still don't run
GP-3754: breakpoints in the list
GP-3754: continued work on hooks; bpts not registering as bpts
GP-3754: templates for hooks
GP-3754: tests, first viable hook (module_load)'
GP-3754: first pass at methods
GP-3754: memory/regs working
GP-3754: most of the puts done
GP-3754: modules/regions working
GP-3754: process/threads working
GP-3754: added to manifest
GP-3754: minimal shell: arch faked out / thru activate w/o push
2023-09-12 11:46:10 -04:00
Ryan Kurtz
ccebb721db Merge remote-tracking branch 'origin/patch' 2023-08-10 09:28:41 -04:00
Ryan Kurtz
5ef4b269a1 Merge remote-tracking branch 'origin/patch' 2023-08-09 13:24:14 -04:00
d-millar
3a465efd5e GP-0: bad previous fix 2023-08-09 13:13:28 -04:00
Dan
ccf18d75a7 GP-3666: Remove duplicative MODULE_[UN]LOADED events. Fix NPEs in GDB
connector.
2023-08-07 14:25:37 -04:00
Ryan Kurtz
bece81176e Merge remote-tracking branch 'origin/GP-0_d-millar_PR-5569_ajmurphy520_fix_for_dbgeng_dialog_entries' 2023-07-21 10:49:30 -04:00
d-millar
ce61af686a GP-0: enable EOLs for environment only 2023-07-20 15:01:03 -04:00
Andrew Murphy
a45952d3f1 Fix ability to set working directory and env for dbgeng debug processes 2023-07-17 21:39:10 -05:00
Dan
0c39626b73 GP-3583: Fix race in module arch detection. Set longMode bit. Add compat32 ldef. 2023-06-28 13:56:09 -04:00
d-millar
36bdc556f0 GP-0: fix for 'none' vs blank 2023-04-10 23:47:02 +00:00
d-millar
33958e386d GP-0: fix for broken attach logic (from 3142) 2023-03-22 19:05:33 -04:00
d-millar
9690254616 GP-3142: fix for read registers
GP-3142: adding Populate to schema
GP-3142: adding session id to the records
GP-3142: post-review id->record
GP-3142: post-review id->record
GP-3142: post-review adds to interface
GP-3142: post-review try-finally (missed two)
GP-3142: post-review try-finally (missed one)
GP-3142: post-review try-finally; clearer reset logic
GP-3142: post-review better use of TargetMethod.Export
GP-3142: minor fixes
GP-3142: first pass at dbgeng kernel mods
GP-3142: temp holdGP-3142: mods to differentiate system and engine idsGP-3142: fixes for bad system/engine differentationGP-3142: fixes for bad pid/tid <0 testGP-3142: fixes for selection logicGP-3142: attempting to mininize work done, esp. by expensive callsGP-3142: fix for stack framesGP-3142: minor bug fix for sys threadsGP-3142: better register/stack reads for non-system threadsGP-3142: warningsGP-3142: post-squash and rebaseGP-3142: missed a few RefreshBehavior candidatesGP-3142: miscellaneous fixesGP-3142: minimize workloadGP-3142: display fixes; refresh==true for resolved process/threadGP-3142: added re-populate methodsGP-3142: better kernel/user code re-useGP-3142: re-fix for fact that thread 0 belongs to process 0
2023-03-21 10:54:40 -04:00
Dan
70e0170e03 GP-3207: Fix JNA/COM interface priority (dbgeng/model) 2023-03-16 15:07:43 -04:00
Ryan Kurtz
2d9fe939c4 Merge remote-tracking branch
'origin/GP-1007_Dan_dedupNodepContents--SQUASHED' (Closes #3076)
2023-03-14 06:22:30 -04:00
Dan
3be53dc05e GP-1007: Fix GADP agent nodepJar issues 2023-03-13 14:02:08 -04:00
d-millar
15c4345d71 GP-3162: refresh bool->enum 2023-03-03 18:41:18 +00:00
Ryan Kurtz
2b20e32a78 Merge remote-tracking branch 'origin/GP-1545_Dan_noGuavaCache--SQUASHED'
Conflicts:
	Ghidra/Debug/Debugger-agent-dbgmodel/src/main/java/agent/dbgmodel/model/impl/DelegateDbgModel2TargetObject.java
2023-02-28 13:06:36 -05:00
Dan
d43b9ead66 GP-1545: De-guava the Debugger 2023-02-27 12:26:21 -05:00
d-millar
6b5d7a6ad6 GP-1768A: limits on initial loads; fix for possible id/pid/tid mismatch
GP-1768A: check for symbols; misc fixes

GP-1768A: suppress descent for kernel mode

GP-1768A: undoing a few things

GP-1768A: undoing a few things again

GP-1768A: added data offset methods intending to replace pids/tids for kernel lookups

GP-1768A: resorting to CLI for state

GP-1768A: resorting to CLI for state

GP-1768A: add ability to set implicit thread/process

GP-1768A: cleanup

GP-1768A: default to ALIVE ofr kernel

GP-1768A: better setActive implementations

GP-1768B: new faster utility methods for model

GP-1768B: one more use

GP-1768A: NPE fix

GP-1768: faster SetCurrentState; minimize calls

GP-1768B: better autorecord

GP-1768B: reverting a few things

GP-1768C: first pass at offset/pid resolution

GP-1768C: paired proc/thread logic in place

GP-1768C: make only selected items ACTIVE; update only !INACTIVE

GP-1768C: activate process/thread on event
2023-02-24 12:45:30 -05:00
d-millar
537e8e198e GP-1768A: limits on initial loads; fix for possible id/pid/tid mismatch
GP-1768A: check for symbols; misc fixes

GP-1768A: suppress descent for kernel mode

GP-1768A: undoing a few things

GP-1768A: undoing a few things again

GP-1768A: added data offset methods intending to replace pids/tids for kernel lookups

GP-1768A: resorting to CLI for state

GP-1768A: resorting to CLI for state

GP-1768A: add ability to set implicit thread/process

GP-1768A: cleanup

GP-1768A: default to ALIVE ofr kernel

GP-1768A: better setActive implementations

GP-1768A: NPE fix

GP-1768A: cleanup post-review
2023-02-23 15:18:54 +00:00
Dan
bde529b4d5 GP-1808: Added 'Run to Address'-type actions to right-click menu for some connectors. 2023-02-07 12:23:16 -05:00
Ryan Kurtz
16d80129b8 Merge remote-tracking branch 'origin/GP-1999_d-millar_agent_launchers--SQUASHED' 2023-01-26 13:21:10 -05:00
d-millar
b4698475b6 GP-1999: mods for windows
GP-1999: launchers for the agents
GP-1999: launchers for the agents
2023-01-26 13:02:14 -05:00
Dan
d0c8c5a77a GP-3018: Navigate/activate by double-click. Various related fixes. 2023-01-26 09:22:21 -05:00
d-millar
dee3de5672 GP-2177: schema fix for missing registers
GP-2177(SQRB): fire threadCreated
GP-2177_SQRB: spare the VM on E_NOINTERFACE
GP-2177_SQRB: check id plus pid/tid
GP-2177_SQRB: init for dbgmodel RegisterBanks plus bandaid for recorder
GP-2177_SQRB: filter nulls from traceToTarget
GP-2177: extraneous cleanup
GP-2177: clear bpts on process death
GP-2968: fixes from review
GP-2177: not directly related, but...
GP-2177: CACHE needs to be cleared and must follow actual native delete
GP-2177: first pass at bpt errors
2023-01-23 15:46:11 -05:00
Dan
8dbf2341b2 GP-2623: Improve connect dialog and factory descriptions 2023-01-20 14:26:49 -05:00
d-millar
c43351d742 GP-2968: per review comment (cleanup)
GP-2968: prompting ReviewTool
GP-2968: my bad, NPE check was hanging the launch
GP-2968: fix for passing Enums; fix for toMap'ing nulls
GP-2968:  refactoring args logic into loop w/ handling for exception
GP-2968: fix for NPE & stored parameter errors
2023-01-13 19:04:09 +00:00
d-millar
58fdffa56b GP-2636: using fire.threadStateChanged (not broadcast) 2023-01-12 19:08:51 +00:00
d-millar
5409324737 GP-2839: issues from review
GP-2839: error checks
GP-2839: base logic for dbgeng options
2022-11-15 17:25:26 -05:00
Ryan Kurtz
b9a6bfdcd3 Merge remote-tracking branch 'origin/GP-2752_Dan_removePerTargetObjectListeners--SQUASHED' 2022-11-12 01:36:31 -05:00
Ryan Kurtz
98ff131dbd Merge remote-tracking branch 'origin/patch' 2022-11-12 01:16:26 -05:00
Dan
50c7217635 GP-2752: Remove TargetObject.addListener() and related 2022-11-10 13:46:23 -05:00
Dan
b4d2cb75ba GP-994: Improve error reporting when GADP-based models fail to start 2022-11-08 16:40:53 -05:00