If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Locating global data in ELF code on IA64
Hi,
For my project I want to locate all the global data variables in an ELF format code. To do this on IA32 and AMD64, we look through the _DYNAMIC table and locate the relocation table by a d_tag==Elf32_Rel/Elf64_Rela matching, then go through the relocation table entries and match their type with R_386_GLOB_DAT/R_X86_64_GLOB_DAT. This mechanism, however, doesn't work on IA64, because apparently IA64 stores its global data somewhere else. In the relocation table all I find is function names, thus there's no global data match. I was wondering if this is the right direction to go on IA64. Any hint? Thanks. C. |
#2
|
|||
|
|||
Locating global data in ELF code on IA64
|
#3
|
|||
|
|||
Locating global data in ELF code on IA64
Thanks for your response. I'm a bit confused on the details though.
What region ID do you mean exactly? Can you point me to some example code on how to collect user global variables in IA64+ELF64? I suppose IA64 runtime still uses _DYNAMIC table to group everything like IA32, but apparently not any more. |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Seagate Barracuda 160 GB IDE becomes corrupted. RMA? | Dan_Musicant | Storage (alternative) | 79 | February 28th 06 09:23 AM |
The science of Data Recovery according to "Mr. Stack" | [email protected] | Storage & Hardrives | 0 | October 18th 05 11:25 PM |
Modem connection speed | Neil Barnwell | General | 58 | July 14th 04 07:18 PM |
help with motherboard choice | S.Boardman | General | 30 | October 20th 03 10:23 PM |
Athlon 4 XP-M 2400+ ? | A. J. Moss | General | 89 | August 28th 03 02:53 PM |