mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 02:39:44 +02:00
Modified Memory API for creating Overlay blocks allow for
byte/bit-mapped overlays. Added ByteMappingScheme for byte-mapped blocks.
This commit is contained in:
parent
1df6fa79da
commit
6ff98a4098
76 changed files with 2351 additions and 1618 deletions
|
@ -20,8 +20,7 @@ import java.io.InputStream;
|
|||
import java.util.List;
|
||||
|
||||
import ghidra.framework.store.LockException;
|
||||
import ghidra.program.database.mem.AddressSourceInfo;
|
||||
import ghidra.program.database.mem.FileBytes;
|
||||
import ghidra.program.database.mem.*;
|
||||
import ghidra.program.model.address.*;
|
||||
import ghidra.program.model.listing.Program;
|
||||
import ghidra.program.model.mem.*;
|
||||
|
@ -48,7 +47,8 @@ public class MemoryTestDummy extends AddressSet implements Memory {
|
|||
|
||||
@Override
|
||||
public MemoryBlock createBitMappedBlock(String name, Address start, Address mappedAddress,
|
||||
long length) throws LockException, MemoryConflictException, AddressOverflowException {
|
||||
long length, boolean overlay)
|
||||
throws LockException, MemoryConflictException, AddressOverflowException {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
@ -60,7 +60,9 @@ public class MemoryTestDummy extends AddressSet implements Memory {
|
|||
|
||||
@Override
|
||||
public MemoryBlock createByteMappedBlock(String name, Address start, Address mappedAddress,
|
||||
long length) throws LockException, MemoryConflictException, AddressOverflowException {
|
||||
long length, ByteMappingScheme byteMappingScheme, boolean overlay)
|
||||
throws LockException, MemoryConflictException, AddressOverflowException,
|
||||
IllegalArgumentException {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue