23ccab912a
For 64-bit binaries the Elf_Ehdr e_shoff is at offset 40, not 44. Instead of using an incorrect hardcoded offset, let the compiler figure it out for us with offsetof(). MFC of r277259 |
||
---|---|---|
.. | ||
crunchide.1 | ||
crunchide.c | ||
exec_aout.c | ||
exec_elf32.c | ||
exec_elf64.c | ||
extern.h | ||
Makefile |