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().
Diff Detail
Diff Detail
- Lint
Lint Skipped - Unit
Tests Skipped
Differential D1543
crunchide: Correct 64-bit section header offset emaste on Jan 16 2015, 4:29 PM. Authored by Tags None Referenced Files
Subscribers Tokens
Details
Diff Detail
Event Timeline |