3

My dumbass thinking it would be easy to get a string value of an exported symbol in a .so and now I'm manually parsing and applying symbol relocations

Comments
  • 2
    I've just played with so files using Deno. Worked perfectly. Are you using C++, it does weird prefixes (there's a name for that). That's why you need extern 'C' to give it decent names.

    Edit: did you try objdump anyway? objdump and some parameter dumps all
  • 0
    Why reinvent the wheel?
    There are plenty of libs for parsing elf, like LIEF
  • 0
    @devRancid I'm using one! But reading out the value of a symbol without loading the lib is not a common thing I guess
Add Comment