Class FunctionStartsCommand
java.lang.Object
ghidra.app.util.bin.format.macho.commands.LoadCommand
ghidra.app.util.bin.format.macho.commands.LinkEditDataCommand
ghidra.app.util.bin.format.macho.commands.FunctionStartsCommand
- All Implemented Interfaces:
 StructConverter
Represents a LC_FUNCTION_STARTS command.
- 
Field Summary
Fields inherited from class ghidra.app.util.bin.format.macho.commands.LinkEditDataCommand
dataoff, dataReader, datasize - 
Method Summary
Modifier and TypeMethodDescriptionfindFunctionStartAddrs(Address textSegmentAddr) Finds theListof function start addressesvoidmarkup(Program program, MachHeader header, String source, TaskMonitor monitor, MessageLog log) Marks up thisLoadCommanddata with data structures and comments.Methods inherited from class ghidra.app.util.bin.format.macho.commands.LinkEditDataCommand
getCommandName, getLinkerDataOffset, getLinkerDataSize, markupRawBinary, toDataTypeMethods inherited from class ghidra.app.util.bin.format.macho.commands.LoadCommand
checkCount, createFragment, createPlateComment, fileOffsetToAddress, getCommandSize, getCommandType, getContextualName, getStartIndex, markupPlateComment, updateMonitor 
- 
Method Details
- 
findFunctionStartAddrs
Finds theListof function start addresses- Parameters:
 textSegmentAddr- TheAddressof the function starts' __TEXT segment- Returns:
 - The 
Listof function start addresses - Throws:
 IOException- if there was an issue reading bytes
 - 
markup
public void markup(Program program, MachHeader header, String source, TaskMonitor monitor, MessageLog log) throws CancelledException Description copied from class:LoadCommandMarks up thisLoadCommanddata with data structures and comments. Assumes the program was imported as a Mach-O.- Overrides:
 markupin classLinkEditDataCommand- Parameters:
 program- TheProgramto mark upheader- The Mach-O headersource- A name that represents where the header came from (could be null)monitor- A cancellable task monitorlog- The log- Throws:
 CancelledException- if the user cancelled the operation
 
 -