diff options
Diffstat (limited to 'src/format/elf')
-rw-r--r-- | src/format/elf/e_elf.c | 10 | ||||
-rw-r--r-- | src/format/elf/e_elf.h | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/format/elf/e_elf.c b/src/format/elf/e_elf.c index b5e3406..373df2b 100644 --- a/src/format/elf/e_elf.c +++ b/src/format/elf/e_elf.c @@ -576,14 +576,14 @@ bool resolve_elf_symbol(const elf_format *format, char **label, SymbolType *type * * ******************************************************************************/ -bin_routine **get_all_elf_routines(const elf_format *format, size_t *count) +GBinRoutine **get_all_elf_routines(const elf_format *format, size_t *count) { - bin_routine **result; /* Tableau à retourner */ + GBinRoutine **result; /* Tableau à retourner */ size_t i; /* Boucle de parcours */ - result = (bin_routine **)calloc(format->sym_count, sizeof(bin_routine *)); + result = (GBinRoutine **)calloc(format->sym_count, sizeof(GBinRoutine *)); *count = format->sym_count; - + /* for (i = 0; i < format->sym_count; i++) { result[i] = create_binary_routine(); @@ -592,7 +592,7 @@ bin_routine **get_all_elf_routines(const elf_format *format, size_t *count) set_binary_routine_name(result[i], strdup(format->symbols[i].name)); } - + */ return result; } diff --git a/src/format/elf/e_elf.h b/src/format/elf/e_elf.h index f0c2c12..9327fe6 100644 --- a/src/format/elf/e_elf.h +++ b/src/format/elf/e_elf.h @@ -56,7 +56,7 @@ size_t get_elf_symbols(const elf_format *, char ***, SymbolType **, uint64_t **) bool resolve_elf_symbol(const elf_format *, char **, SymbolType *, uint64_t *); /* Fournit le prototype de toutes les routines détectées. */ -bin_routine **get_all_elf_routines(const elf_format *, size_t *); +GBinRoutine **get_all_elf_routines(const elf_format *, size_t *); |