Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-10-27 | Fixes in library_clone | Petr Machata | |
We never set pathname of the clone and instead cloned pathname to soname. Also, initialize ->next of the last symbol in chain as well. | |||
2012-10-27 | Fix memory error in library_clone | Petr Machata | |
The ->next at the end of chain of cloned names wasn't initialized. | |||
2012-10-27 | Release exported names | Petr Machata | |
This plugs a leak. | |||
2012-10-01 | Add a list of exported names to libraries | Petr Machata | |
Those don't need to be full symbols, so we keep them separately. | |||
2012-10-01 | Add a callback that can be used for looking up symbols by name | Petr Machata | |
2012-10-01 | Support latent and delayed symbols | Petr Machata | |
Neither latent, nor delayed symbols are given a breakpoint. The difference is in who's responsible for the state. Latent symbols are (will be) used by ltrace core. Delayed symbols are used by backends. Only when both of these flags are cleared is a breakpoint enabled for the symbol. | |||
2012-09-25 | Extract enum callback_status to a separate module | Petr Machata | |
Document the interface, refer to this documentation at declarations of each_* functions. | |||
2012-08-29 | Move target_address_t to arch.h, rename to arch_addr_t | Petr Machata | |
Note that the placement under arch.h is currently conceptual only. Since no backend defines ARCH_HAVE_ADDRESS_TYPES, it's actually in sysdep.h in all cases. | |||
2012-08-29 | Fix includes in PPC back end | Petr Machata | |
2012-08-29 | Fix memory errors | Petr Machata | |
2012-08-29 | Prevent using of uninitialized value | Andrey Zonov | |
2012-04-19 | Add ARCH_HAVE_LIBRARY_DATA customization point | Petr Machata | |
2012-04-19 | Hash should be computed from value, not ddress | Petr Machata | |
D'oh. | |||
2012-04-19 | Add arch_library_symbol arch hooks, call properly | Petr Machata | |
2012-04-19 | library_symbol_init may fail | Petr Machata | |
2012-04-19 | Address hashing and comparison functions need to work with target_address_t | Petr Machata | |
- ... not int, which is narrower than target_address_t on 64-bit machines | |||
2012-04-19 | Handle symbol aliases | Petr Machata | |
2012-04-19 | Don't create PLT symbols that don't match filtering criteria | Petr Machata | |
- instead of creating them, keeping them around, and then just not enabling breakpoints for them | |||
2012-04-19 | Differentiate fresh libraries from old by "key", not by base address | Petr Machata | |
- that because base is unknown at the time that library is mapped in, only bias is known. We'd have to read the elf file to determine whether this is the right library or not. Instead we assume that the dynamic linker keeps linked list, and use address of internal structure as the key | |||
2012-04-19 | Implement @MAIN, @/path/name -e selectors, make former default for now | Petr Machata | |
- the default might become "*" in future, but keep things more or less the same as they always were for now | |||
2012-04-19 | Add CBS_FAIL to enum callback_status | Petr Machata | |
2012-04-19 | Add arch_breakpoint_destroy as a counterpart to arch_breakpoint_init | Petr Machata | |
- even though we don't destroy breakpoints at all right now | |||
2012-04-19 | Don't require target library as part of symbol init | Petr Machata | |
2012-04-19 | Drop library_symbol.is_weak | Petr Machata | |
2012-04-19 | Drop library_symbol.needs_init | Petr Machata | |
2012-04-19 | Change iterators each_task, each_process, library_each_symbol | Petr Machata | |
... now the restarts are supported by start_after instead of start. Otherwise the restart scenario was something like: for (it *sym = NULL; (sym = next(sym)) != NULL; ) if ((sym = sym->next) == NULL) break; which just seems too convoluted. | |||
2012-04-19 | library_symbol_init takes target_address_t instead of GElf_Addr | Petr Machata | |
2012-04-19 | Support bias, display library name on breakpoint | Petr Machata | |
- syscall support very hacky right now | |||
2012-04-19 | The first crude version of tracing across libraries | Petr Machata | |
- the patch will be sliced later |