Package ghidra.app.cmd.memory
Class AddBitMappedMemoryBlockCmd
java.lang.Object
ghidra.app.cmd.memory.AbstractAddMemoryBlockCmd
ghidra.app.cmd.memory.AddBitMappedMemoryBlockCmd
Command for adding Bit-mapped memory blocks.
The resulting mapped block will derive its' byte values (1 or 0) from the mapped source bits.
Example: 8 bytes in the resulting block will be derived from 1-byte
in the underlying source region.
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class ghidra.app.cmd.memory.AbstractAddMemoryBlockCmd
applyTo, getName, getStatusMsg, setArtificial
-
Constructor Details
-
AddBitMappedMemoryBlockCmd
public AddBitMappedMemoryBlockCmd(String name, String comment, String source, Address start, long length, boolean read, boolean write, boolean execute, boolean isVolatile, Address mappedAddress, boolean isOverlay) Create a new AddBitMappedMemoryBlockCmd- Parameters:
name
- the name for the new memory block.comment
- the comment for the blocksource
- indicates what is creating the blockstart
- the start address for the the blocklength
- the length of the new block in number of bits to be mappedread
- sets the block's read permission flagwrite
- sets the block's write permission flagexecute
- sets the block's execute permission flagisVolatile
- sets the block's volatile flagmappedAddress
- the address in memory that will serve as the bytes source for the blockisOverlay
- if true, the block will be created in a new overlay address space.
-
-
Method Details
-
createMemoryBlock
protected MemoryBlock createMemoryBlock(Memory memory) throws LockException, MemoryConflictException, AddressOverflowException, IllegalArgumentException - Specified by:
createMemoryBlock
in classAbstractAddMemoryBlockCmd
- Throws:
LockException
MemoryConflictException
AddressOverflowException
IllegalArgumentException
-