Category "elf"

Getting the error: bash: (program): cannot execute binary file: Exec format error, on both 32-bit and 64-bit Windows

There is a program developed for linguistic research (http://people.csail.mit.edu/mcollins/code.html). When I try to run the parser using Git bash terminal on W

How to get the strings of shstrtab?

I am writing a simplified version of Linux' readelf. I want to print section information, so I need the names of the sections. In the Elf64_Shdr struct, the sh

relocation error when implementing my own elf loader

I am currently implementing an elf loader to emulate binaries with the unicorn engine. To avoid implementing my own dynamic linker, I load the ld-linux-x86-64.s