diff options
Diffstat (limited to 'src/format')
-rwxr-xr-x | src/format/dex/dex.c | 2 | ||||
-rw-r--r-- | src/format/elf/helper_arm.c | 13 | ||||
-rw-r--r-- | src/format/elf/symbols.h | 6 |
3 files changed, 19 insertions, 2 deletions
diff --git a/src/format/dex/dex.c b/src/format/dex/dex.c index 476e6f5..eb78f79 100755 --- a/src/format/dex/dex.c +++ b/src/format/dex/dex.c @@ -28,7 +28,7 @@ #include "dex-int.h" -#include "../format-int.h" +#include "pool.h" 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 */ |