mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 02:09:44 +02:00
GP-3895: add executable name
This commit is contained in:
parent
4b2bc8985b
commit
c0f95615df
13 changed files with 96 additions and 24 deletions
|
@ -1058,4 +1058,9 @@ public class WrappedDbgModel
|
|||
client.getSymbols().setCurrentScopeFrameIndex(index);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getCurrentProcessExecutableName() {
|
||||
return client.getSystemObjects().getCurrentProcessExecutableName();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -578,7 +578,7 @@ public class DbgModel2TargetRootImpl extends DbgModel2DefaultTargetModelRoot
|
|||
activate((DbgModelTargetExecutionStateful) obj);
|
||||
// OK, this sucks, but not all threads are parented to activated objects
|
||||
DbgModelTargetProcess parentProcess = ((DbgModelTargetObject) obj).getParentProcess();
|
||||
if (obj instanceof DbgModelTargetExecutionStateful) {
|
||||
if (parentProcess != null && obj instanceof DbgModelTargetExecutionStateful) {
|
||||
activate(parentProcess);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue