summaryrefslogtreecommitdiff
path: root/src/format/elf/e_elf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/format/elf/e_elf.c')
-rw-r--r--src/format/elf/e_elf.c10
1 files changed, 5 insertions, 5 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;
}