Package ghidra.program.util
Class BlockStartLocation
- java.lang.Object
-
- ghidra.program.util.ProgramLocation
-
- ghidra.program.util.CodeUnitLocation
-
- ghidra.program.util.CommentFieldLocation
-
- ghidra.program.util.BlockStartLocation
-
- All Implemented Interfaces:
java.lang.Comparable<ProgramLocation>
public class BlockStartLocation extends CommentFieldLocation
BlockStartLocation
provides information about the location (within a program) of an object that represents the start of a memory block.
-
-
Field Summary
-
Fields inherited from class ghidra.program.util.CommentFieldLocation
comment, type
-
Fields inherited from class ghidra.program.util.ProgramLocation
addr, program, refAddr
-
-
Constructor Summary
Constructors Constructor Description BlockStartLocation()
Default constructor needed for restoring a program location from XMLBlockStartLocation(Program program, Address addr, int[] componentPath, int row, int charOffset, java.lang.String[] comment, int commentRow)
Create a new BlockStartLocation.
-
Method Summary
-
Methods inherited from class ghidra.program.util.CommentFieldLocation
equals, getComment, getCommentType, hashCode, restoreState, saveState, toString, validateType
-
Methods inherited from class ghidra.program.util.CodeUnitLocation
isValid
-
Methods inherited from class ghidra.program.util.ProgramLocation
compareAddr, compareTo, getAddress, getByteAddress, getCharOffset, getColumn, getComponentPath, getLocation, getProgram, getRefAddress, getRow
-
-
-
-
Constructor Detail
-
BlockStartLocation
public BlockStartLocation(Program program, Address addr, int[] componentPath, int row, int charOffset, java.lang.String[] comment, int commentRow)
Create a new BlockStartLocation.- Parameters:
program
- the program of the locationaddr
- address of blockcomponentPath
- object that uniquely identifies a module or fragment by its hierarchy names; this parameter may be nullrow
- the component rowcharOffset
- character position of the locationcomment
- the block commentscommentRow
- the comment row
-
BlockStartLocation
public BlockStartLocation()
Default constructor needed for restoring a program location from XML
-
-