History log of /external/ltrace/ltrace-elf.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
4f2f66e6abc7fedf3a5d04fab7cc00e5f82b37cf 05-Nov-2013 Petr Machata <pmachata@redhat.com> Move load_dynamic_entry from PPC backend to ltrace-elf.c/.h
/external/ltrace/ltrace-elf.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/ltrace-elf.h
0ed5399f5cbb2b505a95bcac634c0ad5d7bbd6b8 04-Nov-2013 Petr Machata <pmachata@redhat.com> Properly publish read_relplt interface, rename it to elf_read_relocs
/external/ltrace/ltrace-elf.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/ltrace-elf.h
7a29f9e7a2bd5849886519eb82e9c043d24c6a40 14-Oct-2013 Petr Machata <pmachata@redhat.com> Add elf_each_symbol
/external/ltrace/ltrace-elf.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/ltrace-elf.h
a9a12bdd7d73c01d5ee88aed7e34bf2a9772e94d 14-Oct-2013 Petr Machata <pmachata@redhat.com> Fix a commentary typo
/external/ltrace/ltrace-elf.h
5c37171a18bddfbc716d4f3da8b008a844eea4f7 05-Feb-2013 Petr Machata <pmachata@redhat.com> Add elf_can_read_next
/external/ltrace/ltrace-elf.h
184779e4e8a42f2e9e7f3cee4bf4eb31e8c84ee4 05-Feb-2013 Petr Machata <pmachata@redhat.com> Add elf_read_{,next_}uleb128
/external/ltrace/ltrace-elf.h
439ab5bfac8588e52c77e22c96fb397787512d0e 05-Feb-2013 Petr Machata <pmachata@redhat.com> Add elf_read_next_u*

For stream-like reading of ELF data.
/external/ltrace/ltrace-elf.h
3c636fb789a29cac0c8f7f0982fb17afeee489dc 05-Feb-2013 Petr Machata <pmachata@redhat.com> Add elf_read_u8
/external/ltrace/ltrace-elf.h
99b19eb1bb736d7066026894aa69e70de8a03094 05-Feb-2013 Petr Machata <pmachata@redhat.com> elf_get_section_* should return 0 if section wasn't found

Otherwise it won't be possible to differentiate between an error and
not-found condition. It seems some callers (MIPS, PPC backends) already
count on that behavior anyway.
/external/ltrace/ltrace-elf.h
ade3b9798fbc62becbe1b4854f7a2d106498167a 17-Dec-2012 Petr Machata <pmachata@redhat.com> Make enum plt_status enumerators uppercase
/external/ltrace/ltrace-elf.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/ltrace-elf.h
6db61f509eb7537ca64873b0c8c1955e2293db9f 31-Oct-2012 Petr Machata <pmachata@redhat.com> Publish default_elf_add_plt_entry
/external/ltrace/ltrace-elf.h
588850f2d73fa03d5c4e59b82acb9c4eb1aaf1c0 26-Oct-2012 Petr Machata <pmachata@redhat.com> Publish do_close_elf; call it on the ELF used to check arch support

This plugs a leak.
/external/ltrace/ltrace-elf.h
e99af270a60891e68d465c4cd97dbe29cd1a05e4 26-Oct-2012 Petr Machata <pmachata@redhat.com> Update copyright information and license headers
/external/ltrace/ltrace-elf.h
35b5be786822d87f694dab8b267f9c6df8bfb278 09-Oct-2012 Edgar E. Iglesias <edgar@axis.com> Export elf_get_sym_info

Export the base implementation of arch_get_sym_info as
elf_get_sym_info() for backends to use if needed.

Signed-off-by: Edgar E. Iglesias <edgar@axis.com>
/external/ltrace/ltrace-elf.h
8bda1ee2e92a3c211c01041f183b4e2bf2ebf9d2 26-Sep-2012 Petr Machata <pmachata@redhat.com> Mark default_elf_add_plt_entry static

If a backend wishes to use this, it should simply return plt_default.
Otherwise it should return plt_ok and a list of symbols to add.
/external/ltrace/ltrace-elf.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/ltrace-elf.h
5b3e26acd50d74e8b7c007f8b5dfb1a825ef9aff 30-Apr-2012 Petr Machata <pmachata@redhat.com> Add elf_get_section_named

Document elf_get_section_* in ChangeLog
/external/ltrace/ltrace-elf.h
3a01cd7a2fcf200cedd0770e137a28764f679c3c 30-Apr-2012 Petr Machata <pmachata@redhat.com> Offset in elf_read_u{16,32,64} should be 64-bit even when ltrace is 32-bit
/external/ltrace/ltrace-elf.h
16fabd00daa5f1ebc3f918eb0995aa303562de90 20-Apr-2012 Petr Machata <pmachata@redhat.com> Fix compilation on x86_64 and i386
/external/ltrace/ltrace-elf.h
cf26d59be8c23a2de97536b1f28d994e12bda004 17-Apr-2012 Petr Machata <pmachata@redhat.com> Publish default_elf_add_plt_entry
/external/ltrace/ltrace-elf.h
18c801c3f29081d9de517815df89bc1bbf8e2188 07-Apr-2012 Petr Machata <pmachata@redhat.com> Drop the rest of LS_TOPLT_POINT support

If any other architecture needs it, we'll add it back in some form. But
now that we have callbacks on breakpoints, it might be possible to do it
differently, without explicit support.
/external/ltrace/ltrace-elf.h
b5f80ac8982c40f79915ce1e1cb9bf8650ac5fe7 04-Apr-2012 Petr Machata <pmachata@redhat.com> Don't create PLT symbols that don't match filtering criteria

- instead of creating them, keeping them around, and then just not enabling
breakpoints for them
/external/ltrace/ltrace-elf.h
17476b7bfac0e1cb68f9a1dbdb65dab2ac2160c6 23-Feb-2012 Petr Machata <pmachata@redhat.com> Drop ELF_MAX_SEGMENTS, simplify iteration through dynamic entries
/external/ltrace/ltrace-elf.h
50b96039ebfc60825bb7afb8ab8f56bb87aeb67b 24-Mar-2012 Petr Machata <pmachata@redhat.com> Make MIPS and PPC arch.h into full-fledged include file, glue in sysdep.h
/external/ltrace/ltrace-elf.h
ffd5aab0bddbbb7c650c2f5c12a48e0298f82516 24-Mar-2012 Petr Machata <pmachata@redhat.com> New ELF interface, elf_get_section_type
/external/ltrace/ltrace-elf.h
b120fdfda45e49d082ab2aa5caadf030f50cb4ed 21-Mar-2012 Petr Machata <pmachata@redhat.com> Change interface of ltelf_read_library

- base->bias, pass proc
/external/ltrace/ltrace-elf.h
e67635d6dcecb0f44448a5329d69fd0de74ebaba 21-Mar-2012 Petr Machata <pmachata@redhat.com> Move arch-specific bits from ltrace-elf.c to PPC and MIPS back ends
/external/ltrace/ltrace-elf.h
29add4fdf852b10ddd22cac0d1390f6d01577bc2 18-Feb-2012 Petr Machata <pmachata@redhat.com> Support bias, display library name on breakpoint

- syscall support very hacky right now
/external/ltrace/ltrace-elf.h
2b46cfc1127d390eddd9593fe5ce5399c1f68130 18-Feb-2012 Petr Machata <pmachata@redhat.com> The first crude version of tracing across libraries

- the patch will be sliced later
/external/ltrace/ltrace-elf.h
fd43ef7bb48260aadd4d8335371f75015e680108 10-Feb-2012 Petr Machata <pmachata@redhat.com> Move the Process typedef to proc.h
/external/ltrace/ltrace-elf.h
e84fa00bdabf20f57d1d02d159aa3fcab4e549fe 07-Feb-2012 Petr Machata <pmachata@redhat.com> read_elf takes extra argument for entry point
/external/ltrace/ltrace-elf.h
02bd9eca0b439b6950ab72ba64b67181e5bf0fbd 21-Sep-2011 Petr Machata <pmachata@redhat.com> Check whether ABI is supported before we execute the binary

- this is fallout of the reorganization of open_program/execute_program.
I still think it makes better sense this wey, even though we need to
do the additional checking step now.
/external/ltrace/ltrace-elf.h
3ba522fed3d34f476090da9349be96e15e0652cb 15-Dec-2010 Zachary T Welch <zwelch@codesourcery.com> Fix build for x86_64

Some ELF-related variables differ depending on the native host, so
this patch uses conditional compilation tricks to ensure everything
works out on both 32- and 64-bit hosts.

Signed-off-by: Zachary T Welch <zwelch@codesourcery.com>
/external/ltrace/ltrace-elf.h
ba6aca21bd9e0e66dac17b1828cf6b6e7377b983 09-Dec-2010 Zachary T Welch <zwelch@codesourcery.com> Fix building with --enable-debug

Numerous warnings had snuck into the build, preventing ltrace from
building with --enable-debug (which uses -Wall, -Werror, and more).
This patch fixes the problems, mostly caused by -Wsign-compare.

Signed-off-by: Zachary T Welch <zwelch@codesourcery.com>
/external/ltrace/ltrace-elf.h
47cae1e251a212425cae5ac6e736de0cb0bbf714 09-Nov-2010 Joe Damato <ice799@gmail.com> Create a function find_dynamic_entry_addr.

This functions searches the DYNAMIC vector of an inferior process searching for
the first entry whose d_tag matches. An out parameter is provided to copy out
address stored in the matching entry.
/external/ltrace/ltrace-elf.h
07581fb14f820fa7ade8ae9991700963ede8bc9f 09-Nov-2010 Joe Damato <ice799@gmail.com> Add base_addr to store the base address of an ELF object.
/external/ltrace/ltrace-elf.h
87f4f58320226cd20d317f488c7e6a92a3efa2dd 09-Nov-2010 Joe Damato <ice799@gmail.com> Store the address and size of the ELF object's DYNAMIC section
/external/ltrace/ltrace-elf.h
fe1c171b8988a4e9a882b11291faf9d3fa09e944 27-Oct-2010 Petr Machata <pmachata@redhat.com> Fix tracing on PPC32 systems with glink
/external/ltrace/ltrace-elf.h
747c73d5b7d66d312a1b1a293e67f9ddf2f17d93 03-Feb-2010 Marc Kleine-Budde <mkl@pengutronix.de> rename elf.{c,h} into ltrace-elf.{c,h}

This patch renames these files to avoid a conflict with the header files
of the "libelfg0-dev" package. This avoids the "-iquote" magic.

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
/external/ltrace/ltrace-elf.h