GP-1864 Added loader for dump files. Initial implementation supports MS

Minidump, Userdump and Pagedump formats.
This commit is contained in:
d-millar 2022-04-05 21:57:43 +00:00 committed by ghidra1
parent e55bdc3b8f
commit 9b73a785e2
83 changed files with 13552 additions and 50 deletions

View file

@ -204,6 +204,7 @@ public class ProgramDB extends DomainObjectAdapterDB implements Program, ChangeM
private LanguageTranslator languageUpgradeTranslator;
private boolean imageBaseOverride = false;
private Address effectiveImageBase = null;
private boolean recordChanges;
private OverlaySpaceAdapterDB overlaySpaceAdapter;
@ -1264,9 +1265,18 @@ public class ProgramDB extends DomainObjectAdapterDB implements Program, ChangeM
@Override
public Address getImageBase() {
if (effectiveImageBase != null) {
return effectiveImageBase;
}
return addrMap.getImageBase();
}
// TODO: We need a more global solution for this.
@Deprecated
public void setEffectiveImageBase(Address imageBase) {
effectiveImageBase = imageBase;
}
@Override
public void setImageBase(Address base, boolean commit)
throws AddressOverflowException, LockException, IllegalStateException {

View file

@ -1015,7 +1015,6 @@ public class MemoryMapDB implements Memory, ManagerDB, LiveMemoryListener {
MemoryBlock newBlock = null;
try {
memBlock1.join(memBlock2);
reloadAll();
newBlock = getBlockDB(block1Addr);
fireBlocksJoined(newBlock, block2Addr);
}