Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

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.

branch: libdl

This branch is 16 commits ahead and 100 commits behind master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 debian
Octocat-spinner-32 etc Take arg_num out of arg_type_info September 04, 2007
Octocat-spinner-32 sysdeps
Octocat-spinner-32 testsuite
Octocat-spinner-32 .gitignore
Octocat-spinner-32 BUGS Indentation, comments July 06, 2009
Octocat-spinner-32 COPYING update FSF postal address February 21, 2006
Octocat-spinner-32 ChangeLog
Octocat-spinner-32 INSTALL Finally got rid of GNU's Autoconf stuff July 25, 2009
Octocat-spinner-32 Makefile.in
Octocat-spinner-32 README Cleanup and documentation. November 28, 2010
Octocat-spinner-32 TODO Finally got rid of GNU's Autoconf stuff July 25, 2009
Octocat-spinner-32 VERSION
Octocat-spinner-32 aclocal.m4
Octocat-spinner-32 breakpoints.c
Octocat-spinner-32 common.h
Octocat-spinner-32 configure
Octocat-spinner-32 debug.c Some minor fixes July 03, 2009
Octocat-spinner-32 debug.h
Octocat-spinner-32 defs.h Add support for tracing functions in libraries loaded at runtime (via… November 28, 2010
Octocat-spinner-32 demangle.c Finally got rid of GNU's Autoconf stuff July 25, 2009
Octocat-spinner-32 demangle.h Finally got rid of GNU's Autoconf stuff July 25, 2009
Octocat-spinner-32 dict.c Some minor fixes July 03, 2009
Octocat-spinner-32 dict.h Some minor fixes July 03, 2009
Octocat-spinner-32 display_args.c
Octocat-spinner-32 elf.c
Octocat-spinner-32 elf.h
Octocat-spinner-32 execute_program.c
Octocat-spinner-32 handle_event.c
Octocat-spinner-32 libltrace.c Finally got rid of GNU's Autoconf stuff July 25, 2009
Octocat-spinner-32 ltrace.1
Octocat-spinner-32 ltrace.h Indentation, comments July 06, 2009
Octocat-spinner-32 ltrace.spec Switched to SVN (initial import) February 20, 2006
Octocat-spinner-32 main.c Added different callback handlers for each event July 03, 2009
Octocat-spinner-32 mkdist
Octocat-spinner-32 options.c
Octocat-spinner-32 options.h
Octocat-spinner-32 output.c
Octocat-spinner-32 output.h Added different callback handlers for each event July 03, 2009
Octocat-spinner-32 proc.c
Octocat-spinner-32 read_config_file.c Finally got rid of GNU's Autoconf stuff July 25, 2009
Octocat-spinner-32 read_config_file.h run Lindent over source to get everything looking about the same February 20, 2006
Octocat-spinner-32 summary.c Finally got rid of GNU's Autoconf stuff July 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.

Something went wrong with that request. Please try again.