diff options
Diffstat (limited to 'src/format/elf')
-rw-r--r-- | src/format/elf/helper_arm.c | 13 | ||||
-rw-r--r-- | src/format/elf/symbols.h | 6 |
2 files changed, 18 insertions, 1 deletions
diff --git a/src/format/elf/helper_arm.c b/src/format/elf/helper_arm.c index 7282d23..e44222f 100644 --- a/src/format/elf/helper_arm.c +++ b/src/format/elf/helper_arm.c @@ -21,15 +21,26 @@ */ -#include "helper_x86.h" +#include "helper_arm.h" #include "elf-int.h" +#include "symbols.h" +#include "../mangling/demangler.h" + + + +/* symbols.c : Récupère la désignation d'un symbole donné. */ +//extern const char *get_elf_symbol_name(GElfFormat *, const elf_shdr *, const elf_shdr *, off_t); + + + + diff --git a/src/format/elf/symbols.h b/src/format/elf/symbols.h index a413395..634158d 100644 --- a/src/format/elf/symbols.h +++ b/src/format/elf/symbols.h @@ -31,6 +31,12 @@ /* Charge en mémoire la liste humaine des symboles. */ bool load_elf_symbols(GElfFormat *); +/* Récupère la définition complète d'un symbole donné. */ +bool get_elf_symbol_by_index(GElfFormat *, const elf_shdr *, off_t, elf_sym *); + +/* Récupère la désignation d'un symbole donné. */ +const char *get_elf_symbol_name(GElfFormat *, const elf_shdr *, const elf_shdr *, off_t); + #endif /* _FORMAT_ELF_SYMBOLS_H */ |