Class MemoryBlockDefinition
- java.lang.Object
-
- ghidra.app.plugin.processors.generic.MemoryBlockDefinition
-
public class MemoryBlockDefinition extends java.lang.ObjectTODO To change the template for this generated type comment go to Window - Preferences - Java - Code Style - Code Templates
-
-
Constructor Summary
Constructors Constructor Description MemoryBlockDefinition(XmlElement element)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreateBlock(Program program)Create memory block within specified program based upon this block specification.java.lang.StringtoString()
-
-
-
Constructor Detail
-
MemoryBlockDefinition
public MemoryBlockDefinition(XmlElement element) throws XmlAttributeException
- Throws:
XmlAttributeException
-
-
Method Detail
-
createBlock
public void createBlock(Program program) throws LockException, MemoryConflictException, AddressOverflowException, InvalidAddressException
Create memory block within specified program based upon this block specification.- Parameters:
program- target program- Throws:
LockException- if program does not have exclusive access required when adding memory blocks.MemoryConflictException- if this specification conflicts with an existing memory block in programAddressOverflowException- if memory space constraints are violated by block specificationInvalidAddressException- if address defined by this block specification is invalid for the specified program. May also indicate an improperly formatted address attribute.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-