开发者

Determining address memory of a library [closed]

开发者 https://www.devze.com 2023-03-29 15:07 出处:网络
Closed. This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post.
Closed. This question needs details or clarity. It is not currently accepting answers.

Want to improve this question? Add details and clarify the problem by editing this post.

Closed 9 years ago.

Improve this question

I'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.

0

精彩评论

暂无评论...
验证码 换一张
取 消