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.
- See Also:
-
Field Summary
Fields inherited from class ghidra.app.util.bin.format.macho.commands.LinkEditDataCommand
dataoff, dataReader, datasize -
Method Summary
Modifier and TypeMethodDescriptionfindFunctionStartAddrs(ByteProvider provider, Address textSegmentAddr) Finds theListof function start addressesMethods inherited from class ghidra.app.util.bin.format.macho.commands.LinkEditDataCommand
getCommandName, getDataOffset, getDataSize, markup, toDataTypeMethods inherited from class ghidra.app.util.bin.format.macho.commands.LoadCommand
createFragment, getCommandSize, getCommandType, getStartIndex, updateMonitor
-
Method Details
-
findFunctionStartAddrs
public List<Address> findFunctionStartAddrs(ByteProvider provider, Address textSegmentAddr) throws IOException Finds theListof function start addresses- Parameters:
provider- The provider that contains the function start addresses. This could be a different provider than the one that contains the load command.textSegmentAddr- TheAddressof the function starts' __TEXT segment- Returns:
- The
Listof function start addresses - Throws:
IOException- if there was an issue reading bytes
-