summaryrefslogtreecommitdiff
path: root/src/gtkext/gtkgraphview.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2009-08-09 18:12:27 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2009-08-09 18:12:27 (GMT)
commit5cd25c4adfe0426520a51a76de3f77c77cfa4b8e (patch)
tree396514971fb78e81b7bb55c9cd3331d87b45ca9a /src/gtkext/gtkgraphview.c
parentd02deb2425d6559c357bdd00e1c0fb05f35d5fc9 (diff)
Reorganized the way formats are handled (Java and PE got disabled, Dwarf is empty).
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@105 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/gtkext/gtkgraphview.c')
-rw-r--r--src/gtkext/gtkgraphview.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gtkext/gtkgraphview.c b/src/gtkext/gtkgraphview.c
index fcf3976..a6d4dd5 100644
--- a/src/gtkext/gtkgraphview.c
+++ b/src/gtkext/gtkgraphview.c
@@ -25,6 +25,8 @@
#include "gtkbinview-int.h"
+#include "gtkblockview.h"
+#include "../format/format.h"
#include "../graph/layout.h"
@@ -305,7 +307,7 @@ static void gtk_graph_view_set_rendering_lines(GtkGraphView *view, GRenderingLin
static void gtk_graph_view_define_main_address(GtkGraphView *view, vmpa_t addr)
{
- exe_format *format; /* Type de fichier chargé */
+ GExeFormat *format; /* Type de fichier chargé */
GBinRoutine **routines; /* Liste des routines trouvées */
size_t routines_count; /* Nombre de ces routines */
size_t i; /* Boucle de parcours */
@@ -319,7 +321,7 @@ static void gtk_graph_view_define_main_address(GtkGraphView *view, vmpa_t addr)
gtk_graph_view_reset(view);
format = g_openida_binary_get_format(GTK_BIN_VIEW(view)->binary);
- routines = get_all_exe_routines(format, &routines_count);
+ routines = g_binary_format_get_routines(G_BIN_FORMAT(format), &routines_count);
for (i = 0; i < routines_count; i++)
{