Updated Mach-O format to use LC_MAIN
All checks were successful
/ test (push) Successful in 17s

This commit is contained in:
Eduard Urbach 2025-07-08 19:17:48 +02:00
parent 8b5cca921b
commit e3444b3626
Signed by: ed
GPG key ID: 49226B848C78F6C8
8 changed files with 119 additions and 41 deletions

View file

@ -0,0 +1,13 @@
package macho
const (
DylinkerCommandSize = 12
LinkerString = "/usr/lib/dyld\000\000\000\000\000\000\000"
)
// DylinkerCommand is needed if the program uses a dynamic linker.
type DylinkerCommand struct {
LoadCommand
Length uint32
Name uint32
}