Class FunctionStartsCommand

All Implemented Interfaces:
StructConverter

public class FunctionStartsCommand extends LinkEditDataCommand
Represents a LC_FUNCTION_STARTS command.
  • Method Details

    • findFunctionStartAddrs

      public List<Address> findFunctionStartAddrs(Address textSegmentAddr) throws IOException
      Finds the List of function start addresses
      Parameters:
      textSegmentAddr - The Address of the function starts' __TEXT segment
      Returns:
      The List of 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: LoadCommand
      Marks up this LoadCommand data with data structures and comments. Assumes the program was imported as a Mach-O.
      Overrides:
      markup in class LinkEditDataCommand
      Parameters:
      program - The Program to mark up
      header - The Mach-O header
      source - A name that represents where the header came from (could be null)
      monitor - A cancellable task monitor
      log - The log
      Throws:
      CancelledException - if the user cancelled the operation