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.
精彩评论