mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 19:42:36 +02:00
GP-2002 simplified AddressMap interface
This commit is contained in:
parent
2bb57e6d5b
commit
85e0af69c4
5 changed files with 34 additions and 195 deletions
|
@ -15,16 +15,13 @@
|
|||
*/
|
||||
package ghidra.feature.vt.db;
|
||||
|
||||
import static ghidra.feature.vt.db.VTTestUtils.addr;
|
||||
import static ghidra.feature.vt.db.VTTestUtils.*;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import ghidra.program.database.map.AddressMap;
|
||||
import ghidra.program.model.address.*;
|
||||
import ghidra.program.model.lang.Language;
|
||||
import ghidra.program.util.LanguageTranslator;
|
||||
|
||||
public class AddressMapTestDummy implements AddressMap {
|
||||
|
||||
|
@ -33,11 +30,6 @@ public class AddressMapTestDummy implements AddressMap {
|
|||
return addr(value);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void deleteOverlaySpace(String name) throws IOException {
|
||||
throw new RuntimeException("Unimplmented!");
|
||||
}
|
||||
|
||||
@Override
|
||||
public int findKeyRange(List<KeyRange> keyRangeList, Address addr) {
|
||||
throw new RuntimeException("Unimplmented!");
|
||||
|
@ -92,55 +84,14 @@ public class AddressMapTestDummy implements AddressMap {
|
|||
return list;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getModCount() {
|
||||
throw new RuntimeException("Unimplmented!");
|
||||
}
|
||||
|
||||
@Override
|
||||
public AddressMap getOldAddressMap() {
|
||||
throw new RuntimeException("Unimplmented!");
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean hasSameKeyBase(long addrKey1, long addrKey2) {
|
||||
throw new RuntimeException("Unimplmented!");
|
||||
}
|
||||
|
||||
@Override
|
||||
public void invalidateCache() throws IOException {
|
||||
throw new RuntimeException("Unimplmented!");
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isKeyRangeMax(long addrKey) {
|
||||
throw new RuntimeException("Unimplmented!");
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isKeyRangeMin(long addrKey) {
|
||||
throw new RuntimeException("Unimplmented!");
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isUpgraded() {
|
||||
throw new RuntimeException("Unimplmented!");
|
||||
}
|
||||
|
||||
@Override
|
||||
public void renameOverlaySpace(String oldName, String newName) throws IOException {
|
||||
throw new RuntimeException("Unimplmented!");
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setImageBase(Address base) {
|
||||
throw new RuntimeException("Unimplmented!");
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setLanguage(Language newLanguage, AddressFactory addrFactory,
|
||||
LanguageTranslator translator) throws IOException {
|
||||
throw new RuntimeException("Unimplmented!");
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue