linux - In an ELF executable what sections can pointers be stored in? -


which sections(.data, .rodata, .bss, etc) can used storing pointers in elf executable on linux, , other elf supporting operating system?

edit: pointers referring c style pointers void* pointer = some_address;

which sections(.data, .rodata, .bss, etc) can used storing pointers in elf executable

is homework? if not, trying achieve?

each of .data, .rodata , .bss can store pointers. can .text. elf allows arbitrarily named sections, full list of sections can store pointers impossible (because it's infinite).


Comments

Popular posts from this blog

Hard vs. Soft Water: What's The Difference?

java - Solr query version issue: Invalid version or the data in not in 'javabin' format -

What Are The Best Universities In The World?