mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-09-28 17:11:11 -09:00
GP-1288: support for dbgmodel
This commit is contained in:
@@ -319,6 +319,27 @@ public class DbgModel2TargetObjectImpl extends DefaultTargetObject<TargetObject,
|
||||
DbgModelTargetTTD ttd = (DbgModelTargetTTD) proxy;
|
||||
return ttd.init(attrs);
|
||||
}
|
||||
if (proxy instanceof DbgModelTargetDebugContainer) {
|
||||
DbgModelTargetEventContainer events;
|
||||
if (attributes.containsKey("Events")) {
|
||||
events = (DbgModelTargetEventContainer) attributes.get("Events");
|
||||
}
|
||||
else {
|
||||
events =
|
||||
new DbgModelTargetEventContainerImpl((DbgModelTargetDebugContainer) proxy);
|
||||
}
|
||||
attrs.put(events.getName(), events);
|
||||
DbgModelTargetExceptionContainer exceptions;
|
||||
if (attributes.containsKey("Exceptions")) {
|
||||
exceptions = (DbgModelTargetExceptionContainer) attributes.get("Exceptions");
|
||||
}
|
||||
else {
|
||||
exceptions =
|
||||
new DbgModelTargetExceptionContainerImpl(
|
||||
(DbgModelTargetDebugContainer) proxy);
|
||||
}
|
||||
attrs.put(exceptions.getName(), exceptions);
|
||||
}
|
||||
}
|
||||
|
||||
return CompletableFuture.completedFuture(null);
|
||||
|
||||
Reference in New Issue
Block a user