diff options
author | Petr Machata <pmachata@redhat.com> | 2012-03-24 02:03:33 +0100 |
---|---|---|
committer | Petr Machata <pmachata@redhat.com> | 2012-04-19 01:17:10 +0200 |
commit | ffd5aab0bddbbb7c650c2f5c12a48e0298f82516 (patch) | |
tree | 117b9727f7d08e6aad8ff1697eb0b9f2b0d1f107 /ltrace-elf.h | |
parent | be04d6b478ecc51902f34672e4c3c1516d502c23 (diff) | |
download | ltrace-ffd5aab0bddbbb7c650c2f5c12a48e0298f82516.tar.gz |
New ELF interface, elf_get_section_type
Diffstat (limited to 'ltrace-elf.h')
-rw-r--r-- | ltrace-elf.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ltrace-elf.h b/ltrace-elf.h index d907e5f..151a033 100644 --- a/ltrace-elf.h +++ b/ltrace-elf.h @@ -73,6 +73,8 @@ GElf_Addr arch_plt_sym_val(struct ltelf *, size_t, GElf_Rela *); Elf_Data *elf_loaddata(Elf_Scn *scn, GElf_Shdr *shdr); int elf_get_section_covering(struct ltelf *lte, GElf_Addr addr, Elf_Scn **tgt_sec, GElf_Shdr *tgt_shdr); +int elf_get_section_type(struct ltelf *lte, GElf_Word type, + Elf_Scn **tgt_sec, GElf_Shdr *tgt_shdr); /* Read, respectively, 2, 4, or 8 bytes from Elf data at given OFFSET, * and store it in *RETP. Returns 0 on success or a negative value if |