Global Offset Structure

What does the Global Offset Table (ELF) look like? I am trying to understand a dynamic relationship. Can anyone tell what the data structure looks like. I never found it on the Internet.

+4
source share
1 answer

These are OS and platform-specific, but for x86 / x64 Linux, the global offset table is just a bunch of function addresses. There is one entry for each character. Before characters are resolved, addresses (for functions) will be returned to the procedure binding table (PLT), but then updated to indicate the actual locations of the functions.

+3
source

Source: https://habr.com/ru/post/1386588/


All Articles