Commit graph

136 commits

Author SHA1 Message Date
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
Dan
776413921f GP-1543: Replace Range<Long> with Lifespan, ULongSpan, KeySpan,
FieldSpan
2022-10-20 09:38:55 -04:00
Dan
bc2ba594b4 GP-2551: Fix RegistersProvider for new trace conventions 2022-09-20 13:21:44 -04:00
Dan
cb16d8dd9e GP-1585: Change TargetBreakpointLocation to range, not address,length 2022-09-12 09:01:55 -04:00
Ryan Kurtz
c79bc9e773 Merge remote-tracking branch 'origin/GP-2023_d-millar_opendump_REBASED'
Conflicts:
	Ghidra/Debug/Debugger-agent-dbgmodel/src/main/resources/agent/dbgmodel/model/impl/dbgmodel_schema.xml
2022-06-22 00:42:04 -04:00
d-millar
097421553c GP-2023: post-review modifications 2022-06-10 22:02:10 +00:00
d-millar
5f1367d2a8 GP-2023: cleanup post-rebase 2022-06-10 17:21:44 +00:00
d-millar
050391a391 GP-2023 This is a combination of 15 commits.
GP-2023: fix for endless region iterator

GP-2023: fix for large-value register display in Objects

GP-2023: script for !address

GP-2023: de facto event for new process

GP-2023: alt command for memory

GP-2023: cosmetic stuff

GP-2023: fix for NPE

GP-2023: added a few methods (unnecessarily, but...), fixes to !address
processing, and the bits of code being introduced in GP-2011

GP-2023: adding a parameter for QV vs !address

GP-2023: fix for duplicate process creation triggered by getProcess()
and/or getSession()

GP-2023: fixes for null program, _state, and (possibly) invalidMemory
exception

GP-2023: better fix for re-entrant process/session creation

GP-2023: Adding maintenance method to suppress auto-descent into
containers

GP-2023: missed a piece re firing add events

GP-2023: fix for switching between non-program & program
2022-06-10 12:19:48 -04:00
d-millar
81f1478bbf GP-2135: remote options for IN-VM variants 2022-06-09 16:15:46 +00:00
d-millar
6f5460ea28 GP-1971: fix for register updates 2022-05-09 18:16:21 +00:00
Dan
032ae36005 GP-1678: Create experimental object-based recorder and opinion 2022-04-28 15:13:01 -04:00
Ryan Kurtz
b72f1f7c32 Merge remote-tracking branch 'origin/GP-1898_d-millar_register_reads' 2022-04-06 15:28:39 -04:00
d-millar
2afa388e5c GP-1898: use mask 2022-04-05 20:30:53 +00:00
d-millar
495dc9768d GP-1898: read base registers only 2022-04-05 20:19:42 +00:00
d-millar
9a8b309355 GP-1893: post-review fixes
GP--1893: implements hashCode/equals for DbgModuleMemory
2022-04-05 15:19:58 -04:00
d-millar
83a9b7c3ed GP-1852: better comparison logic
GP-1852: missed the NPE
GP-1852: fix for memory refresh issues
2022-03-24 15:28:36 -04:00
Ryan Kurtz
51efbf877f Merge remote-tracking branch 'origin/GP-1825_d-millar_configState--SQUASHED' 2022-03-22 12:49:21 -04:00
Ryan Kurtz
b870139e50 Merge remote-tracking branch
'origin/GP-1812_d-millar_windows_bpt_issues--SQUASHED' (Closes #4059)
2022-03-22 12:46:53 -04:00
d-millar
8de1cd5041 GP-1812: last reset
GP-1812: another revert
GP-1812: moving changes to alt branches
GP-1812: comment in goto no longer applies to registers
GP-1812: new providers not retrieving configState
GP-1812: NPE mentioned in #4059
GP-1812:  MISSING+ENABLED -> ENABLED, not DISABLED_ENABLED
GP-1812: name inconsistency in breakpoints
GP-1812: String->Address to assist navigation
GP-1812: force memory refresh on module load
GP-1812: concurrency error processing memory
GP-1812: thread/process fix for dbgmodel; restricting changeElements to matching container matching process
GP-1812: make currentThread/Process consistent
GP-1812: fix for failed DebugClient cleanup; callback error msg issue
2022-03-22 11:31:56 -04:00