Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Disassemling ppc and systemz #730
This PR allow us to disassemble
The reason is that entry in symbol table contains an address to a function descriptor in
Symbols in symbol table doesn't prefixed with dot, such names are reserved for the real functions in
(may take a look at http://refspecs.linuxfoundation.org/ELF/ppc64/PPC-elf64abi.html#FUNC-DES)
bap_arch.ml chunk is fine, that I approve, concerning the opd section, we shouldn't make our llvm loader powerpc specific, that breaks open/closed principal and drags our into the vertex of a code threaded with tons of if/then/else for each combination of ABI/Architecture/Moon phase).
So let's split this into two different taks - the first one for fixing the naming issue, the second one (that is of low priority) that will deal with the POD sections. And it will also give me some time to figure out what are they and how to deal with them.