[Ltrace-devel] [PATCH] trace statically linked function calls

Amnon Aaronsohn bla at cs.huji.ac.il
Fri Oct 20 15:31:39 UTC 2006


Hi,

The attached patch adds a -F option that makes ltrace trace statically 
linked functions, i.e. function calls inside the program and to 
statically linked libraries. This can be very useful sometimes to see 
what's going on inside a program.

Dynamic library calls are traced as usual unless the -L flag is given. 
Usually options -L and -F go together since -F can give enough information.

Known bug: for a technical reason one dynamic function is traced even if 
the -L flag is specified -- see code for explanation.

Any feedback is appreciated.

Thanks,
Amnon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: optF.patch
Type: text/x-patch
Size: 5151 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/ltrace-devel/attachments/20061020/90ae267d/optF.bin


More information about the Ltrace-devel mailing list