My goal is to make symbols visible for dlsym
for futher use.
Currently all symbols are in the .symtab
I tried using LIEF
to export them, but always got Exec format error
after modification
my elf file:
ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, not stripped
As far as I know symbols have to be located in dynamic table to be accessible using dlsym
but haven't found anything which could do that.