Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-11-11 | Use wcwidth to exactly determine how much space a character took | Petr Machata | |
- So far we assumed it's one character worth of screen real-estaty per character written, but combining and wide characters can change this. | |||
2013-11-11 | Add fdopen prototype to libc.so.conf | Petr Machata | |
2013-11-11 | When a typedef X_t is requested, don't match lens named X instead | Petr Machata | |
2013-11-11 | Add error message if ltelf_init fails to open ELF | Petr Machata | |
2013-11-11 | In ltrace_init, don't call ltelf_destroy if ltelf_init fails | Petr Machata | |
2013-11-11 | Support wide character strings | Petr Machata | |
- "string" lens and "format" pack were extended such that using an integer as underlying array type denotes a wide character string. - several prototypes from wchar.h were added to libc.so.conf. - ltrace.conf.5 was updated | |||
2013-11-06 | Add a TODO item | Petr Machata | |
2013-11-06 | Support pre-8.5 TCL's by providing our own lreverse in ltrace.exp | Petr Machata | |
2013-11-06 | Replace a chain of stpcpy's with a sprintf | Petr Machata | |
- That's clearer and doesn't require _POSIX_SOURCE defines (that are missing anyway) | |||
2013-11-06 | Plug a leak | Petr Machata | |
2013-11-06 | Plug a leak | Petr Machata | |
2013-11-06 | Fix use-after-free | Petr Machata | |
2013-11-05 | Fix compilation on ARM | Petr Machata | |
- This was broken several commits back by removing pltrel from struct ltelf. | |||
2013-11-05 | In ARM backend, move hooks for ltrace_elf and library to plt.c | Petr Machata | |
- That's the customary location for backend hooks. | |||
2013-11-05 | Move load_dynamic_entry from PPC backend to ltrace-elf.c/.h | Petr Machata | |
2013-11-05 | Add trace-irelative.exp to Makefile.am | Petr Machata | |
2013-11-05 | Update TODO | Petr Machata | |
2013-11-05 | Bump release to 0.7.91 | Petr Machata | |
2013-11-05 | Full support of IFUNC tracing on PPC32 | Petr Machata | |
2013-11-05 | Add elf_add_plt_entry as a separate entry point | Petr Machata | |
- That calls into OS and ARCH callbacks as required and has the same interface. This also adds os_elf_add_plt_entry. - arch_elf_add_func_entry was added as well for symmetry. | |||
2013-11-05 | Move code for tracing IFUNC symbols | Petr Machata | |
- ... from sysdeps/linux-gnu/hooks.c to sysdeps/linux-gnu/trace.c where it fits better. | |||
2013-11-05 | Partial support of IFUNC tracing on PPC32 | Petr Machata | |
- Just like on PPC64, we need to move IRELATIVE relocations from .rela.dyn to the vector of PLT relocations - Just like on PPC64, we may need to rename the symbol--except the symbol to looked is the one with the address of PLT slot address, not of rela addend. | |||
2013-11-05 | Cleanups | Petr Machata | |
2013-11-05 | The irelative test case should check for IFUNC in shared library as well | Petr Machata | |
2013-11-04 | Properly publish read_relplt interface, rename it to elf_read_relocs | Petr Machata | |
2013-11-04 | Show "nil" also for void* values | Petr Machata | |
2013-10-30 | Support tracing P_PPC64_JMP_IREL slots | Petr Machata | |
2013-10-30 | If breakpoint_get_return_bp yields NULL breakpoint, don't try to add it | Petr Machata | |
2013-10-29 | Remove unused include | Luca Clementi | |
2013-10-25 | Split linux_elf_find_irelative_name out of linux_elf_add_plt_entry_irelative | Petr Machata | |
2013-10-25 | Keep PLT relocations in a vector | Petr Machata | |
- That means we have to copy them out of ELF ahead of time instead of referencing them from inside ELF on demand. But this way we can keep one grand vector of all PLT-like relocations. On PPC, this makes a difference: some PLT-like relocations (R_PPC64_JMP_IREL in particular) are stored in .rela.dyn, not .rela.plt. | |||
2013-10-25 | OPD-transate the address that comes back from IFUNC resolver | Petr Machata | |
2013-10-25 | Rewrite the IFUNC test case to avoid GCC attribute | Petr Machata | |
- GCC doesn't support __attribute__ ((ifunc)) on all platforms where IFUNC is supported. | |||
2013-10-24 | Update NEWS | Petr Machata | |
2013-10-24 | Fix fetching of system call arguments on i386 | Petr Machata | |
2013-10-24 | When looking for longest matching soname substring, we don't copy enough | Petr Machata | |
2013-10-24 | sysdeps/linux-gnu/trace.c misses #include <stdint.h> | Petr Machata | |
2013-10-24 | Update TODO | Petr Machata | |
2013-10-23 | Look up protolibs whose name partially matches the loaded DSO | Petr Machata | |
- The intention here is to allow matches of libc.so.conf for libc.so.6. Typically different sonames imply different binary interfaces, but for libc, we know that most interfaces won't change. | |||
2013-10-23 | remove useless unw_get_reg of stack pointer | Luca Clementi | |
2013-10-23 | Add NEWS blurb | Petr Machata | |
2013-10-23 | Add a test case for IRELATIVE and IFUNC support | Petr Machata | |
2013-10-23 | Linux backend now supports tracing of IFUNC symbols | Petr Machata | |
2013-10-23 | Allow the prototype to be specified directly at the symbol | Petr Machata | |
2013-10-23 | Extract the logic for creating void* type to type_get_voidptr | Petr Machata | |
2013-10-23 | Add backend call os_elf_add_func_entry | Petr Machata | |
- This is callback for handling per-OS symbol types. It is modeled after arch_elf_add_plt_entry and is called each time we need to add a symbol. The backend will do its stuff for the special symbols and return PLT_DEFAULT for those where the core will do good enough work. - With this change, we pass through all symbol types, and the callback, if present, should then filter out those that we don't care for. | |||
2013-10-23 | Enable IRELATIVE tracing on x86 and x86_64 | Petr Machata | |
2013-10-23 | Add support for tracing of IRELATIVE PLT entries | Petr Machata | |
- Because the IRELATIVE entries have no associated symbol name, we need to allow arch_elf_add_plt_entry to override the name. This is done by that callback returning PLT_OK and returning the new symbol via libsym-chain return argument. Filtering is postponed until we have that symbol, and the filter is applied to the whole returned chain. - Add linux_elf_add_plt_entry_irelative to support proper naming of IRELATIVE PLT entries. This needs to be called from arch backend, as the numbers of IRELATIVE relocations differ per-architecture. | |||
2013-10-23 | Add elf_each_symbol | Petr Machata | |
2013-10-23 | Document a possible richer iteration interface | Petr Machata | |