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

OpenCV OpenCL: Convert Mat to Bitmap in JNI Layer for Android -

android - org.xmlpull.v1.XmlPullParserException: expected: START_TAG {http://schemas.xmlsoap.org/soap/envelope/}Envelope -

python - How to remove the Xframe Options header in django? -