diff options
author | Juan Cespedes <cespedes@debian.org> | 2001-07-03 00:46:04 +0200 |
---|---|---|
committer | Juan Cespedes <cespedes@debian.org> | 2001-07-03 00:46:04 +0200 |
commit | 1cd999a32728f41208dc30f38a125d7bb7063625 (patch) | |
tree | 9bd3dbddf49e89259512cdabe00b4dae22a296a0 /elf.h | |
parent | 5b3ffdf2e696273d38434ff7b3c26349fff5a0ea (diff) | |
download | ltrace-1cd999a32728f41208dc30f38a125d7bb7063625.tar.gz |
Version: 0.3.12
* Re-wrote of "elf.c" (Silvio Cesare <silvio@big.net.au>)
* Added "--library" option (Silvio)
* Updated list of syscalls and signals to Linux 2.4.5
* Compile cleanly with gcc-3.0 (thanks to Frederic L. W. Meunier)
Diffstat (limited to 'elf.h')
-rw-r--r-- | elf.h | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -1,4 +1,22 @@ +#ifndef LTRACE_ELF_H +#define LTRACE_ELF_H + +#include <elf.h> #include "ltrace.h" +struct ltelf { + int fd; + void* maddr; + Elf32_Ehdr* ehdr; + char* strtab; + Elf32_Sym* symtab; + int symtab_len; +}; + +extern int library_num; +extern char *library[MAX_LIBRARY]; +extern struct ltelf library_lte[MAX_LIBRARY]; + extern struct library_symbol * read_elf(const char *); +#endif |