Class LoadCommand

    • Constructor Detail

      • LoadCommand

        public LoadCommand()
    • Method Detail

      • getStartIndex

        public long getStartIndex()
        Returns the binary start index of this load command.
        Returns:
        the binary start index of this load command
      • getCommandType

        public int getCommandType()
        Type of load command
        Returns:
        type of load command
      • getCommandSize

        public int getCommandSize()
        Total size of command in bytes
        Returns:
        total size of command in bytes
      • getCommandName

        public abstract java.lang.String getCommandName()
        Returns the name of this command.
        Returns:
        the name of this command
      • markup

        public abstract void markup​(MachHeader header,
                                    FlatProgramAPI api,
                                    Address baseAddress,
                                    boolean isBinary,
                                    ProgramModule parentModule,
                                    TaskMonitor monitor,
                                    MessageLog log)
        Mark-up the program with the data structures for this load command.
        Parameters:
        header - the mach header
        api - the flat program api
        baseAddress - the base address to apply the mark-up
        isBinary - true if mach-o was loaded as binary
        parentModule - parent module to create fragments
        monitor - the task monitor
        log - the message logS
      • updateMonitor

        protected final void updateMonitor​(TaskMonitor monitor)