I want to collect all the IDA recovered symbol information in data sections (this information could be function name, or it could be an entry of jump table, or it could be a reference to other data sections).
Here is an example of data sections from a IDA disassembled binary.
Basically there are three recovered symbols in data section, and I want to collect these information in a format like this:
0x804a018 : sub_804847b
0x804a01dc : _strchr
0x804a020 : sub_80484AE
I am thinking to traverse all the memory address of a binary's data sections, and check the content of each address, to see whether it is a recovered symbol.
But basically how to read a suspicious symbol when iterating addresses? I read the idc
interface, but I just cannot find any the correct api to do so. Could anyone help me on this issue? I appreciate that.
------------------------ explain ------------------------
I didn't get an answer in that post, in addition, I think what I explained in that post is somehow misleading.
relocation table
, does IDA-Pro collects this information? – lllllllllllll Apr 3 '15 at 14:18OFF32 SEGDEF [CODE,524A0612]
for undefined bytes that are relocated, but it does not complain if I define them otherwise. I'm not sure if one can interrogate the relocation table through IDA. – Jongware Apr 3 '15 at 15:10