diff options
Diffstat (limited to 'src/analysis/binary.c')
-rw-r--r-- | src/analysis/binary.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/analysis/binary.c b/src/analysis/binary.c index d25a458..88201ac 100644 --- a/src/analysis/binary.c +++ b/src/analysis/binary.c @@ -645,14 +645,14 @@ void disassemble_openida_binary(openida_binary *binary) } /* Ajout des prototypes de fonctions */ -#if 0 + for (k = 0; k < routines_count; k++) { - routine_offset = get_binary_routine_offset(routines[k]); + routine_offset = g_binary_routine_get_address(routines[k]); if (!(base <= routine_offset && routine_offset < (base + len))) continue; - routine_desc = routine_to_string(routines[k]); + routine_desc = g_binary_routine_to_string(routines[k]); line = g_comment_line_new(routine_offset, routine_desc, &binary->options); g_rendering_line_insert_into_lines(&binary->lines, line, true); @@ -660,7 +660,7 @@ void disassemble_openida_binary(openida_binary *binary) free(routine_desc); } -#endif + } } |