summaryrefslogtreecommitdiff
path: root/src/analysis/binary.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2009-06-01 17:49:32 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2009-06-01 17:49:32 (GMT)
commitf6252e57c770fea10439659f35a69a783ff849d3 (patch)
treeefc64ca7703648e439483ee6f4c14db855d7f952 /src/analysis/binary.c
parent1b8152d6f95b03f81aa6a4043c23a45a9f74c418 (diff)
Provided found MIPS routines.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@69 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/analysis/binary.c')
-rw-r--r--src/analysis/binary.c8
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
+
}
}