summaryrefslogtreecommitdiff
path: root/breakpoints.c
diff options
context:
space:
mode:
authorDima Kogan <dima@secretsauce.net>2014-06-02 02:01:57 -0700
committerChanho Park <chanho61.park@samsung.com>2014-08-22 20:38:26 +0900
commit5c5c38e500fd8f20bb8d6c0177948dbfe86b6fcd (patch)
tree4f05fbaf41292a7c264cbe2caedd5c78c8e24a91 /breakpoints.c
parent703e5c6363ae5d07be62c2efa0a17862ce3c1c45 (diff)
downloadltrace-5c5c38e500fd8f20bb8d6c0177948dbfe86b6fcd.tar.gz
ltrace-5c5c38e500fd8f20bb8d6c0177948dbfe86b6fcd.tar.bz2
ltrace-5c5c38e500fd8f20bb8d6c0177948dbfe86b6fcd.zip
We now use known prototypes for all aliased symbols (same address)
Some libraries have multiple names for the same function. Prior to this patch, it was possible to define a prototype for a symbol, and not have ltrace use it because it saw a different symbol be called. libc is a common source of this. For instance (on my amd64 Debian box) it defines the nanosleep symbol as both 'nanosleep' and '__GI___nanosleep', at the same address. If a calling library calls '__GI___nanosleep', then an ltrace prototype for 'nanosleep' would not be used, even though it should apply to this call
Diffstat (limited to 'breakpoints.c')
0 files changed, 0 insertions, 0 deletions