开发者

[macosx]does dlopen call open and read functions?

开发者 https://www.devze.com 2022-12-19 09:39 出处:网络
I\'ve intercepted(interposed) dlopen function under MacO开发者_StackOverflowS X and some other functions.

I've intercepted(interposed) dlopen function under MacO开发者_StackOverflowS X and some other functions. I see how my applications calls dlopen in the log, but don't find anything related to open/read functions after dynamic library was dlopened. How does the system accesses and reads the dynamic library file? I've looked at the source code of dyld, and it does call open/read on dlopen. Can anybody let me know what I'm missing? intercepted functions: dlopen, open, read, write, access, all stat functions, close, etc.

thanks, any help is highly appreciated.


After dlopen() succeeds then dlsym() would typically be called to look up functions etc in the library.

0

精彩评论

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

关注公众号