summaryrefslogtreecommitdiff
path: root/ltrace-elf.c
AgeCommit message (Collapse)AuthorFilesLines
2014-08-22I now always build the export listDima Kogan1-20/+30
Previously I only built the export list when tracing with -l. Since I was using this export list to resolve aliased symbols in addition to setting breakpoints, this aliased symbol resolution was only working with -l. I now always build the export list to make aliased symbol resolution always work. I now have a separate variable to control whether we should activate latent symbols or not; previously the existence of the export list was used to make this determination. Furthermore populate_this_symtab() now takes an extra argument to indicate that ONLY the export list should be filled in
2014-08-22We now use known prototypes for all aliased symbols (same address)Dima Kogan1-18/+7
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
2014-08-22Support for powerpc64 arch ppc64elThierry Fauck1-1/+1
Signed-off-by: Thierry Fauck <thierry@linux.vnet.ibm.com> Add support for ppc64le proc and ELF ABIv2. Provides support for irelative and wchar
2014-08-22Add error message if ltelf_init fails to open ELFPetr Machata1-1/+4
2014-08-22Move load_dynamic_entry from PPC backend to ltrace-elf.c/.hPetr Machata1-0/+32
2014-08-22Imported Upstream version 0.7.91upstream/0.7.91upstreamChanho Park1-206/+494
2013-01-15Imported Upstream version 0.7.2upstream/0.7.2Anas Nashif1-0/+978