It would be great if this library supported 32-bit binaries as well since 32-bit is still often used nowadays:
auto header = (Elf64_Ehdr*)m_mmap_program;
if (header->e_ident[EI_CLASS] != ELFCLASS64) {
printf("Only 64-bit files supported\n");
exit(1);
}
It would be great if this library supported 32-bit binaries as well since 32-bit is still often used nowadays: