MainCommand¶
- class lief.MachO.MainCommand(self, arg0: int, arg1: int, /)¶
Class that represent the LC_MAIN command. This kind of command can be used to determine the entrypoint of an executable
- property command lief.MachO.LOAD_COMMAND_TYPES ¶
Command type (
LOAD_COMMAND_TYPES
)
- property command_offset int ¶
Offset of the command within the Load Command Table
- property data memoryview ¶
Command’s data
- property entrypoint int ¶
Offset of the main function relative to the
__TEXT
segment
- property size int ¶
Size of the command (should be greather than
sizeof(load_command)
)
- property stack_size int ¶
The initial stack size (if not 0)