eh-steve / goloader

Compile, load and run Go code at runtime.
Apache License 2.0
46 stars 4 forks source link

MachO arm64 MaxProt patch doesn't resolve binaries on PATH when replacing #25

Closed eh-steve closed 9 months ago

eh-steve commented 11 months ago

Should use os.Executable() when writing, instead of os.Args[0], and only use the latter for the execve