News for hackers. Stuff that matters.
Re:Actually Portable Executables by reikonomusha on Sunday February 28, 2021 @01:53PM (#26295964)
The author seems to be an excellent writer. They just may not have taken the enormous amount of time to answer tons of questions or write tons of documentation people are seeking. One person did all this!
Re:Actually Portable Executables by IshKebab on Sunday February 28, 2021 @03:36PM (#26296826)
You really think so? Here's their description of how it works:

> Here's how it works:

>

> MZqFpD='

> BIOS BOOT SECTOR'

> exec 7<> $(command -v $0)

> printf '\177ELF...LINKER-ENCODED-FREEBSD-HEADER' >&7

> exec "$0" "$@"

> exec qemu-x86_64 "$0" "$@"

> exit 1

> REAL MODE...

> ELF SEGMENTS...

> OPENBSD NOTE...

> NETBSD NOTE...

> MACHO HEADERS...

> CODE AND DATA...

> ZIP DIRECTORY...

Ok well that clears it up. MZqFpD='. Of course!