mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 19:42:36 +02:00
GP-1864 Added loader for dump files. Initial implementation supports MS
Minidump, Userdump and Pagedump formats.
This commit is contained in:
parent
e55bdc3b8f
commit
9b73a785e2
83 changed files with 13552 additions and 50 deletions
|
@ -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 {
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue