Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this questionI'd like to know if somebody would know some tools whi开发者_开发百科ch can tell you the address memory for a static or dynamic library written in C++ (for windows, linux and macos).
Thanks
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.
精彩评论