I would like to track (debug) the linux dynamic library written in C.
I want to see when and what parameters are passed to it.
The monitoring library "X" is called by another dynamic library "Y".
Both "X" and "Y" are displayed in / proc / pid / maps of the executable "A".
Using ltrace, lib X or Y was not shown in the executable.
The executable file uses several threads.
Also, when using the ldd command on exec, it says nothing about libs X or Y.
ldd Y, indicates that Y needs X.
Using ldd for all libs, execs in the project does not mention anyone who needs Y.
However, Y seems to load in / proc / pid / maps exec.
I'm not sure what steps I could take to debug the X lib, any tips are welcome.
source share