Package ghidra.app.cmd.memory
Class AbstractAddMemoryBlockCmd
java.lang.Object
ghidra.app.cmd.memory.AbstractAddMemoryBlockCmd
- Direct Known Subclasses:
- AddBitMappedMemoryBlockCmd,- AddByteMappedMemoryBlockCmd,- AddFileBytesMemoryBlockCmd,- AddInitializedMemoryBlockCmd,- AddUninitializedMemoryBlockCmd
Base command class for adding memory blocks.
- 
Field SummaryFields
- 
Method SummaryModifier and TypeMethodDescriptionbooleanApplies the command to the given domain object.protected abstract MemoryBlockcreateMemoryBlock(Memory memory) getName()Returns the name of this command.Returns the status message indicating the status of the command.voidsetArtificial(boolean a) Prior to command execution the block's artificial attribute state may be specified and will be applied to the new memory block.
- 
Field Details- 
message
- 
name
- 
comment
- 
source
- 
start
- 
lengthprotected final long length
- 
readprotected final boolean read
- 
writeprotected final boolean write
- 
executeprotected final boolean execute
- 
isVolatileprotected final boolean isVolatile
- 
isOverlayprotected final boolean isOverlay
 
- 
- 
Method Details- 
setArtificialpublic void setArtificial(boolean a) Prior to command execution the block's artificial attribute state may be specified and will be applied to the new memory block.- Parameters:
- a- block artificial attribute state
 
- 
getStatusMsgDescription copied from interface:CommandReturns the status message indicating the status of the command.- Specified by:
- getStatusMsgin interface- Command<Program>
- Returns:
- reason for failure, or null if the status of the command was successful
 
- 
getNameDescription copied from interface:CommandReturns the name of this command.
- 
createMemoryBlockprotected abstract MemoryBlock createMemoryBlock(Memory memory) throws LockException, MemoryConflictException, AddressOverflowException, CancelledException 
- 
applyToDescription copied from interface:CommandApplies the command to the given domain object.
 
-