diff options
author | Joe Damato <ice799@gmail.com> | 2010-11-08 15:47:39 -0800 |
---|---|---|
committer | Joe Damato <ice799@gmail.com> | 2010-11-28 20:08:01 -0800 |
commit | 47cae1e251a212425cae5ac6e736de0cb0bbf714 (patch) | |
tree | 3af245b12bf4e256333f633917cb4f14dc7bb62d /ltrace-elf.h | |
parent | 3268c5aa2704162d3b4a8904d84b1a77807c1557 (diff) | |
download | ltrace-47cae1e251a212425cae5ac6e736de0cb0bbf714.tar.gz |
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.
Diffstat (limited to 'ltrace-elf.h')
-rw-r--r-- | ltrace-elf.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ltrace-elf.h b/ltrace-elf.h index b872b6f..3d23f57 100644 --- a/ltrace-elf.h +++ b/ltrace-elf.h @@ -35,6 +35,7 @@ struct ltelf { GElf_Addr plt_stub_vma; }; +#define ELF_MAX_SEGMENTS 50 #define LTE_HASH_MALLOCED 1 #define LTE_PLT_EXECUTABLE 2 |