Petr Machata <[email protected]> writes: > Florian Echtler <[email protected]> writes: >> I forgot to mention one peculiar aspect: I explicitly have to add the >> system functions I'm interested in via "-x func", otherwise, they will >> not be traced. I assume that is due to the way the Android linker loads >> libraries into Dalvik processes (shell tools, again, work fine without >> this kludge). > > That's probably because it dlopens the libraries. We have a hack on > master where ltrace looks for -x symbols in dlopened libraries, if it > doesn't find them in the main binary. This should all go away with the > code on libs branch, where ltrace applies the selected filtering rules > to all mapped-in DSOs (and the main binary).
Hmm, which is strange, why would a library implementing read and write be dlopened? Maybe it's a bug in the dlopen code, that it interprets all libraries of an attached-to process as dlopened. PM _______________________________________________ Ltrace-devel mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/ltrace-devel
