Relative Content

Tag Archive for cassemblyelfpackerlow-level

signal SIGSEGV: address access protected in __run_exit_handlers

I’m trying to do a packer project for my school, it is made in C and ASM, and for the moment it is supposed to target only ELF files.
I have managed to do my section injection, correctly align my new section and update the segments and section offsets/addresses (see code below). If I inspect the executable everything looks correct.