3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/glibc
Maximilian Bosch 02bce71cab
mtrace: init at 2.33-50
`mtrace(1)` is a small Perl script that interprets and provides
human-readable output for `malloc(3)` traces.

Even though this is actually part of `glibc` itself I decided to place
this into its own package. The main reason for this is that this script
has a runtime dependency on Perl which would complicate `stdenv`
bootstrapping since we'd have to compile another Perl that doesn't depend on
the bootstrap tools that is used as runtime dependency for the
stage2 glibc.

Since this is only a dev/debugging tool, splitting this up seemed like a
reasonable choice to me.

On a leaking C program, this can be used like this:

    $ env MALLOC_TRACE=$(pwd)/trace ./a.out
    $ ./result/bin/mtrace ./trace

    Memory not freed:
    -----------------
               Address     Size     Caller
    0x0000000001875690      0x4  at 0x401151

Closes #141924
2021-10-25 01:01:29 +02:00
..
2.33-master.patch.gz
allow-kernel-2.6.32.patch
common.nix mtrace: init at 2.33-50 2021-10-25 01:01:29 +02:00
darwin-cross-build.patch
default.nix
dont-use-system-ld-so-cache.patch
dont-use-system-ld-so-preload.patch
fix-rpc-types-musl-conflicts.patch glibc: use local copy of patch to fix w/musl 2018-04-24 16:57:57 -05:00
fix-x64-abi.patch
fix_path_attribute_in_getconf.patch
info.nix
locales-builder.sh glibc/2.19 -> glibc 2014-10-29 13:42:59 +01:00
locales.nix
mtrace.nix mtrace: init at 2.33-50 2021-10-25 01:01:29 +02:00
multi.nix
nix-locale-archive.patch
nix-nss-open-files.patch glibc: add dependency on netbase /etc/protocols 2021-09-19 19:37:56 -07:00
rpcgen-path.patch glibc/2.19 -> glibc 2014-10-29 13:42:59 +01:00