summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/malloc.c
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2013-06-01 09:57:55 +0000
committermiod <miod@openbsd.org>2013-06-01 09:57:55 +0000
commitae39816342864b1eff70ebcd399e3cdb13abdabc (patch)
tree7ce541e40c15db7d5902b9cafde64219d3ab5980 /lib/libc/stdlib/malloc.c
parentUserland bits for utrace record handling; from otto@ (diff)
downloadwireguard-openbsd-ae39816342864b1eff70ebcd399e3cdb13abdabc.tar.xz
wireguard-openbsd-ae39816342864b1eff70ebcd399e3cdb13abdabc.zip
Introduce ltrace(1). This tool works with ld.so to inject utrace record for
each plt call, allowing to trace a binary linked against shared library at the public function call level. To do so, ltrace(1) sets up some environment variables to enable plt tracing in ld.so, and invokes ktrace(2) for utrace events. ld.so will force lazy binding and will send an utrace record in the plt resolver, without updating the plt. Minimal filtering capabilities are provided, inspired by Solaris' truss -u, to limit tracing to libraries and/or symbol names. Non-traced libraries and symbols will have the regular resolver processing, with the expected plt update. "Get it in" deraadt
Diffstat (limited to 'lib/libc/stdlib/malloc.c')
0 files changed, 0 insertions, 0 deletions