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 theList
of function start addressesMethods inherited from class ghidra.app.util.bin.format.macho.commands.LinkEditDataCommand
getCommandName, getDataOffset, getDataSize, markup, toDataType
Methods 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 theList
of 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
- TheAddress
of the function starts' __TEXT segment- Returns:
- The
List
of function start addresses - Throws:
IOException
- if there was an issue reading bytes
-