79e64bcb176442b0eef89764d5ea7f07972dd240 |
|
10-Jan-2014 |
Petr Machata <pmachata@redhat.com> |
Type umovebytes properly
/external/ltrace/backend.h
|
97d13666cd84589135ba593fa43a800d098026d0 |
|
05-Nov-2013 |
Petr Machata <pmachata@redhat.com> |
Add elf_add_plt_entry as a separate entry point - 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.
/external/ltrace/backend.h
|
673ff510953b65b844a58478aa434120f457c014 |
|
25-Oct-2013 |
Petr Machata <pmachata@redhat.com> |
Keep PLT relocations in a vector - 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.
/external/ltrace/backend.h
|
a186b0e5c469156b9af66e88dca12d208418195c |
|
15-Oct-2013 |
Petr Machata <pmachata@redhat.com> |
Add backend call os_elf_add_func_entry - 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.
/external/ltrace/backend.h
|
23124cc5c33c6b7a547eb1008505f60590f67593 |
|
11-Oct-2013 |
Petr Machata <pmachata@redhat.com> |
Move several os_ declarations before corresponding arch_ declarations
/external/ltrace/backend.h
|
9f819d5747dc2b8e0f7ac54b38dc321115de6dda |
|
16-Oct-2013 |
Petr Machata <pmachata@redhat.com> |
Allow per-OS configuration hooks for struct breakpoint
/external/ltrace/backend.h
|
8fdd09b028426f92df614d6ebe5c56d99877febf |
|
11-Oct-2013 |
Petr Machata <pmachata@redhat.com> |
Allow per-OS configuration hooks for structs library and library_symbol
/external/ltrace/backend.h
|
aa3db6b1234da0e542ba7782849cf200d0d91c1c |
|
23-Oct-2013 |
Petr Machata <pmachata@redhat.com> |
Replace os_get_ltrace_conf_filename with os_get_ltrace_conf_filenames - I.e. allow returning a list of filenames, as opposed to a single home directory name. This is to implement exactly the legacy config file behavior on Linux.
/external/ltrace/backend.h
|
552d75e2a226782cc9ecf966e6e343af8f51031f |
|
14-Oct-2013 |
Petr Machata <pmachata@redhat.com> |
Sanitize interface of arch_get_sym_info/elf_get_sym_info - <0 for errors, ==0 for OK, 1 for skip. Errors are now propagated and can be handled as necessary without cancelling tracing. - Clarify the comment at arch_get_sym_info.
/external/ltrace/backend.h
|
7287166e8fd5949ffcf8eb1f3d378b5ea538915e |
|
11-Oct-2013 |
Petr Machata <pmachata@redhat.com> |
arch_library_init and arch_library_clone should be able to signal failure - This then trickles to library_init, which needs to return int - Callers of library_init were updated to unroll their transactions upon failure - PPC and ARM backends were updated to match the updated interface
/external/ltrace/backend.h
|
44ae188c8dcd2727e383dcac0d46c3f784d0da5f |
|
30-Jan-2013 |
Petr Machata <pmachata@redhat.com> |
Drop set_return_addr - This is currently not used anywhere, so it is safe to assume that it is broken anyway.
/external/ltrace/backend.h
|
364753a1cfe46998946a42badd9099591a00325a |
|
06-Dec-2012 |
Petr Machata <pmachata@redhat.com> |
New backend hook os_get_ltrace_conf_filename and Linux implementation
/external/ltrace/backend.h
|
9af3f3ab7a8c44d94f944f15ece10109e6492930 |
|
04-Dec-2012 |
Petr Machata <pmachata@redhat.com> |
New backend call os_get_config_dirs
/external/ltrace/backend.h
|
057caa59fc0063bd73568b0ae19bbf668b572737 |
|
30-Jan-2013 |
Petr Machata <pmachata@redhat.com> |
Introduce continue_after_exec This needs to be handled differently on non-Linux platforms.
/external/ltrace/backend.h
|
693dfad9c1b121cf079a3082866daa2225df1797 |
|
14-Jan-2013 |
Petr Machata <pmachata@redhat.com> |
Rename atomic singlestep to software singlestep - The old name came from PPC implementation, where the feature was used for skipping atomic instructions. But this is more useful, was reused for fully software singlestepping on MIPS, and will be similarly used for ARM. So rename the interface, and make the prototype more explicit. - Also document the method in backend.h. - And convert several void*'s to arch_addr_t's while there.
/external/ltrace/backend.h
|
ade3b9798fbc62becbe1b4854f7a2d106498167a |
|
17-Dec-2012 |
Petr Machata <pmachata@redhat.com> |
Make enum plt_status enumerators uppercase
/external/ltrace/backend.h
|
6dfc544b6aa6703d2292be34470aebf874d78452 |
|
17-Dec-2012 |
Petr Machata <pmachata@redhat.com> |
Make enum process_status enumerators uppercase Rationale: coding style consistency.
/external/ltrace/backend.h
|
929bd57ca202fd2f2e8485ebf65d683e664f67b5 |
|
17-Dec-2012 |
Petr Machata <pmachata@redhat.com> |
struct Process becomes struct process This is for consistency with other structures, and ultimately with Linux coding style. The typedef ("Process") was dropped as well for this reason. This opportunity was used to fix coding style around the impacted lines.
/external/ltrace/backend.h
|
0f6e6d9861ce790cb8b7d07aca28a5878d705359 |
|
26-Oct-2012 |
Petr Machata <pmachata@redhat.com> |
Add os_process_data and related This is meant to be the same for per-OS configuration as arch_process_data is for per-arch configuration.
/external/ltrace/backend.h
|
da69ed0785ff0a9790f8edadb73fe21013aa118b |
|
18-Oct-2012 |
Petr Machata <pmachata@redhat.com> |
Support tracing PIE executables
/external/ltrace/backend.h
|
11c3c3e28461886bb16c69c745b1fefa946c4d9f |
|
09-Oct-2012 |
Edgar E. Iglesias <edgar@axis.com> |
Make finding the dynamic linkers debug area arch specfic Make it possible for archs to override the lookup of the dynamic linkers debug area. Signed-off-by: Edgar E. Iglesias <edgar@axis.com>
/external/ltrace/backend.h
|
3a1806db0ecaa4364e51b4822d66d05f4acd87a9 |
|
27-Sep-2012 |
Edgar E. Iglesias <edgar@axis.com> |
mipsel: Update breakpoints when functions return When functions return we check if the symbol went from unresolved to resolved and if the resolved address differs from the unresolved one. If so, we add a new breakpoint at the resolved address. This is not thread-safe. Signed-off-by: Edgar E. Iglesias <edgar@axis.com>
/external/ltrace/backend.h
|
b5920d12ceb3dec3d359d8b2972fd22a30c72a66 |
|
27-Sep-2012 |
Edgar E. Iglesias <edgar@axis.com> |
Break out the symbol info gathering into a backend call No functional change. Will be used by the MIPS backend. Signed-off-by: Edgar E. Iglesias <edgar@axis.com>
/external/ltrace/backend.h
|
311358a1cac22781ecffe697a808bd43eac73bce |
|
22-Sep-2012 |
Petr Machata <pmachata@redhat.com> |
Add more details to description of some backend.h declarations arch_plt_sym_val was moved from ltrace-elf.h. arch_fetch_* was declared in fetch.h. It uses enum tof, and it doesn't feel right to pull this enum to backend. Instead leave arch_fetch_* callbacks in fetch.h, and reference them in a comment in backend.h.
/external/ltrace/backend.h
|
53ae73b27227eeb12d7a6fb3cb7721fe9378092e |
|
22-Sep-2012 |
Petr Machata <pmachata@redhat.com> |
arch_check_dbg is not used anymore This used to be called for special handling of a symbol named "". This was a breakpoint put on r_debug. These days we use breakpoint callbacks for this, and don't need this kludge anymore.
/external/ltrace/backend.h
|
bac2da505ee174b7fb984b975c5938f88f0dbab2 |
|
29-May-2012 |
Petr Machata <pmachata@redhat.com> |
Move target_address_t to arch.h, rename to arch_addr_t 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.
/external/ltrace/backend.h
|
ba1664b062414481d0f37d06bb01a19874c8d481 |
|
28-Apr-2012 |
Petr Machata <pmachata@redhat.com> |
Fix compilation
/external/ltrace/backend.h
|
642626096a694c6af279d25d2b1b2fba5b10ddfb |
|
07-Jan-2012 |
Petr Machata <pmachata@redhat.com> |
Add backend.h for backend interfaces
/external/ltrace/backend.h
|