Package ghidra.app.emulator.memory
Class ProgramMappedLoadImage
- java.lang.Object
-
- ghidra.app.emulator.memory.ProgramMappedLoadImage
-
- All Implemented Interfaces:
MemoryLoadImage
,LoadImage
public class ProgramMappedLoadImage extends java.lang.Object implements MemoryLoadImage
-
-
Constructor Summary
Constructors Constructor Description ProgramMappedLoadImage(ProgramMappedMemory memory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
dispose()
byte[]
loadFill(byte[] bytes, int size, Address addr, int offset, boolean generateInitializedMask)
void
writeBack(byte[] bytes, int size, Address addr, int offset)
-
-
-
Constructor Detail
-
ProgramMappedLoadImage
public ProgramMappedLoadImage(ProgramMappedMemory memory)
-
-
Method Detail
-
loadFill
public byte[] loadFill(byte[] bytes, int size, Address addr, int offset, boolean generateInitializedMask)
- Specified by:
loadFill
in interfaceLoadImage
generateInitializedMask
- if true the function should return an initialized bit mask or null if all loaded bytes were known. If true, uninitialized memory reads should only be reflected in the mask and should not be reported via the memory fault handler.- Returns:
- initialized bit mask or null (see generateInitializedMask parameter)
- See Also:
MemoryPage
-
writeBack
public void writeBack(byte[] bytes, int size, Address addr, int offset)
- Specified by:
writeBack
in interfaceMemoryLoadImage
-
dispose
public void dispose()
- Specified by:
dispose
in interfaceMemoryLoadImage
-
-