ltrace intercepts and records dynamic library calls which are called by an executed process and the signals received by that process. It can also intercept and print the system calls executed by the program.
C C++ Shell
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
debian New version (0.6.0) Jan 7, 2011
etc Take arg_num out of arg_type_info Sep 4, 2007
sysdeps Fix build for x86_64 Jan 6, 2011
testsuite Add calls to setup_xfail in parameters.exp Jan 7, 2011
.gitignore Add a simple libdl test Nov 29, 2010
BUGS Indentation, comments Jul 6, 2009
COPYING update FSF postal address Feb 21, 2006
ChangeLog New version (0.6.0) Jan 7, 2011
INSTALL Finally got rid of GNU's Autoconf stuff Jul 25, 2009
Makefile.am Switch CPPFLAGS and LDFLAGS to AM_ variants Dec 10, 2010
README Cleanup and documentation. Nov 29, 2010
TODO Finally got rid of GNU's Autoconf stuff Jul 25, 2009
autogen.sh autogen.sh: create config/autoconf and config/m4 Nov 29, 2010
breakpoints.c Fix insertion of breakpoints on Thumb code. Nov 29, 2010
common.h Add support for tracing functions in libraries loaded at runtime (via… Nov 29, 2010
configure.ac New version (0.6.0) Jan 7, 2011
debug.c Some minor fixes Jul 3, 2009
debug.h debug.h: allow to #include it more than one time Nov 29, 2010
defs.h Add support for tracing functions in libraries loaded at runtime (via… Nov 29, 2010
demangle.c Finally got rid of GNU's Autoconf stuff Jul 25, 2009
demangle.h Finally got rid of GNU's Autoconf stuff Jul 25, 2009
dict.c Some minor fixes Jul 3, 2009
dict.h Some minor fixes Jul 3, 2009
display_args.c Fix building with --enable-debug Dec 10, 2010
execute_program.c Add -w/--where to show backtraces of traced functions. Nov 29, 2010
handle_event.c Fix regression caused by libdl patch Dec 10, 2010
libltrace.c Finally got rid of GNU's Autoconf stuff Jul 25, 2009
ltrace-elf.c Fix build for x86_64 Jan 6, 2011
ltrace-elf.h Fix build for x86_64 Jan 6, 2011
ltrace.1 Cleanup and documentation. Nov 29, 2010
ltrace.h Indentation, comments Jul 6, 2009
ltrace.spec Switched to SVN (initial import) Feb 20, 2006
main.c Added different callback handlers for each event Jul 3, 2009
options.c Fix building with --enable-debug Dec 10, 2010
options.h Fix building with --enable-debug Dec 10, 2010
output.c Add -w/--where to show backtraces of traced functions. Nov 29, 2010
output.h Added different callback handlers for each event Jul 3, 2009
proc.c Add -w/--where to show backtraces of traced functions. Nov 29, 2010
read_config_file.c Finally got rid of GNU's Autoconf stuff Jul 25, 2009
read_config_file.h run Lindent over source to get everything looking about the same Feb 20, 2006
summary.c Finally got rid of GNU's Autoconf stuff Jul 25, 2009

README

                                ltrace

                       A Dynamic Library Tracer

         Copyright 1997-2009 Juan Cespedes <cespedes@debian.org>


Contents
--------
 0. Authors
 1. Introduction
 2. Where can I find it
 3. How does it work
 4. Where does it work
 5. Bugs
 6. License


0. Authors
----------

ltrace has been developed mainly by Juan Cespedes <cespedes@debian.org>,
but he has received many contributions from other people.  The following
people have contributed significantly to this project:

* César Sánchez <cesar.sanchez@imdea.org>
* Santiago Romero <santiago.romero@imdea.org>
* Pat Beirne <pbeirne@home.com> (ARM port)
* Roman Hodek <Roman.Hodek@informatik.uni-erlangen.de> (m68k port)
* Morten Eriksen <mortene@sim.no> (misc fixes)
* Silvio Cesare <silvio@big.net.au> (ELF hacking)
* Timothy Fesig <slate@us.ibm.com> (S390 port)
* Anton Blanchard <anton@samba.org> (Powerpc port)
* Jakub Jelinek <jakub@redhat.com> (SPARC port, support for libelf, many fixes)
* Jakub Bogusz <qboosh@pld-linux.org> (alpha port)
* SuSE (amd64 port)
* Ian Wienand <ianw@gelato.unsw.edu.au> (IA64 port)
* Eric Vaitl <evaitl@cisco.com> (mipsel port)
* Petr Machata <pmachata@redhat.com> (misc fixes)
* Joe Damato <ice799@gmail.com> (libdl support, libunwind support)

1. Introduction
---------------

ltrace is a debugging tool, similar to strace, but it traces library
calls instead of system calls.

2. Where can I find it
----------------------

http://www.ltrace.org

3. How does it work
-------------------

Using software breakpoints, just like gdb.

4. Where does it work
---------------------

It works with ELF based Linux systems running on i386, m68k, S/390,
ARM, PowerPC, PowerPC64, IA64, AMD64, SPARC and Alpha processors.

It is part of at least Debian GNU/Linux, RedHat, SuSE, Mandrake...

5. Bugs
-------

Too many to list here :).  If you like to submit a bug report, or a
feature request, either do that against the Debian `ltrace' package,
or mail ltrace-devel@lists.alioth.debian.org.

This file is very incomplete and out-of-date.

6. License
----------

    Copyright (C) 1997-2009 Juan Cespedes <cespedes@debian.org>

    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 2 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License along
    with this program; if not, write to the Free Software Foundation, Inc.,
    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.