Package ghidra.app.emulator.memory
Class CompositeLoadImage
- java.lang.Object
-
- ghidra.app.emulator.memory.CompositeLoadImage
-
- All Implemented Interfaces:
MemoryLoadImage
,LoadImage
public class CompositeLoadImage extends java.lang.Object implements MemoryLoadImage
-
-
Constructor Summary
Constructors Constructor Description CompositeLoadImage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addProvider(MemoryLoadImage provider, AddressSetView view)
void
dispose()
byte[]
loadFill(byte[] buf, int size, Address addr, int bufOffset, boolean generateInitializedMask)
void
writeBack(byte[] bytes, int size, Address addr, int offset)
-
-
-
Method Detail
-
addProvider
public void addProvider(MemoryLoadImage provider, AddressSetView view)
-
loadFill
public byte[] loadFill(byte[] buf, int size, Address addr, int bufOffset, 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
-
-