What's base address and offset

Hi
In one process in linux, what is base address and offset?
How can I get these values for one process ?
Your question is not clear at all. Please explain what that is and what you want to achieve.
I think you can't get base and offset pointers from c++.
instead, use inline assembly to get them.
$ sign is the offset from executable entry. I don't know how to get base pointer, cuz bp may change over program.

IMPORTANT NOTE: c/c++ compilers don't create flat binary file, so base and offset pointers may be wrong and was not what you expect.
Topic archived. No new replies allowed.