Hello,
I’ve been working with the dyninst code, and am wanting to display the module names that are contained in a shared library. Currently, on a running process I can use getModules() to get all the modules, some being actual files, and some
being shared libraries. (eg, I’ll get file1.c, file2.c, libxxx.so, but there is a module file3.c that is within my libxxx.so). I would like to be able to get access to the module, and looking at the APIs, it seems that theoretically I should be able to use
the modules() function within the BPatch_object class. However, when I use this on libxxx.so, it just returns libxxx.so. Is there any other way that I’m missing that I can get access to these modules within modules? Or are all the functions of the different
modules within file3.c all just combined together and put into the module libxxx.so?
Thanks,
Kelly