MainCommand¶

- class lief.MachO.MainCommand(self, arg0: int, arg1: int, /)¶
Bases:
LoadCommand
Class that represent the LC_MAIN command. This kind of command can be used to determine the entrypoint of an executable
- property entrypoint int ¶
Offset of the main function relative to the
__TEXT
segment
- property stack_size int ¶
The initial stack size (if not 0)