Class AddFileBytesMemoryBlockCmd

java.lang.Object
ghidra.app.cmd.memory.AbstractAddMemoryBlockCmd
ghidra.app.cmd.memory.AddFileBytesMemoryBlockCmd
All Implemented Interfaces:
Command<Program>

public class AddFileBytesMemoryBlockCmd extends AbstractAddMemoryBlockCmd
Command for adding a new memory block using bytes from an imported FileBytes object.
  • Constructor Details

    • AddFileBytesMemoryBlockCmd

      public AddFileBytesMemoryBlockCmd(String name, String comment, String source, Address start, long length, boolean read, boolean write, boolean execute, boolean isVolatile, FileBytes fileBytes, long offset, boolean isOverlay)
      Create a new AddFileBytesMemoryBlockCmd
      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
      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
      fileBytes - the FileBytes object that provides the byte source for this block.
      offset - the offset into the FileBytes object for the first byte in this block.
      isOverlay - if true, the block will be created in a new overlay address space.
  • Method Details