Class DyldChainedStartsInSegment
java.lang.Object
ghidra.app.util.bin.format.macho.commands.chained.DyldChainedStartsInSegment
- All Implemented Interfaces:
StructConverter
Represents a dyld_chained_starts_in_segment structure.
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
short
short
short[]
short
long
int
getSize()
void
markup
(Program program, Address address, MachHeader header, TaskMonitor monitor, MessageLog log) Marks up this data structure with data structures and commentsReturns a structure datatype representing the contents of the implementor of this interface.
-
Constructor Details
-
DyldChainedStartsInSegment
Creates a newDyldChainedStartsInSegment
- Parameters:
reader
- ABinaryReader
positioned at the start of the structure- Throws:
IOException
- if there was an IO-related problem creating the structure
-
-
Method Details
-
markup
public void markup(Program program, Address address, MachHeader header, TaskMonitor monitor, MessageLog log) throws CancelledException Marks up this data structure with data structures and comments- Parameters:
program
- TheProgram
to mark upaddress
- TheAddress
of this data structureheader
- The Mach-O headermonitor
- A cancellable task monitorlog
- The log- Throws:
CancelledException
- if the user cancelled the operation
-
toDataType
Description copied from interface:StructConverter
Returns a structure datatype representing the contents of the implementor of this interface.For example, given:
class A { int foo; double bar; }
The return value should be a structure data type with two data type components; an INT and a DOUBLE. The structure should contain field names and, if possible, field comments.
- Specified by:
toDataType
in interfaceStructConverter
- Returns:
- returns a structure datatype representing the implementor of this interface
- Throws:
DuplicateNameException
- when a datatype of the same name already existsIOException
- if an IO-related error occurs- See Also:
-
getSize
public int getSize() -
getPageSize
public short getPageSize() -
getPointerFormat
public short getPointerFormat() -
getSegmentOffset
public long getSegmentOffset() -
getMaxValidPointer
public int getMaxValidPointer() -
getPageCount
public short getPageCount() -
getPageStarts
public short[] getPageStarts()
-