I’d like to know if somebody would know some tools which can tell you the address memory for a static or dynamic library written in C++ (for windows, linux and macos).
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can use readelf for Linux, which displays information about ELF files. You can use it to know the addresses of shared libraries (implicitly loaded dynamic libraries) as well as addresses of all the static symbols. You can’t however use it for libraries which are explicitly loaded at runtime. You can turn off the Address space randomization in Linux as well.