Class AddBitMappedMemoryBlockCmd

java.lang.Object
ghidra.app.cmd.memory.AddBitMappedMemoryBlockCmd
All Implemented Interfaces:
Command

public class AddBitMappedMemoryBlockCmd extends Object
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 Details

    • message

      protected String message
    • name

      protected final String name
    • comment

      protected final String comment
    • source

      protected final String source
    • start

      protected final Address start
    • length

      protected final long length
    • read

      protected final boolean read
    • write

      protected final boolean write
    • execute

      protected final boolean execute
    • isVolatile

      protected final boolean isVolatile
    • isOverlay

      protected final boolean isOverlay
  • 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 block
      source - indicates what is creating the block
      start - the start address for the the block
      length - the length of the new block in number of bits to be mapped
      read - sets the block's read permission flag
      write - sets the block's write permission flag
      execute - sets the block's execute permission flag
      isVolatile - sets the block's volatile flag
      mappedAddress - the address in memory that will serve as the bytes source for the block
      isOverlay - if true, the block will be created in a new overlay address space.
  • Method Details