diff options
Diffstat (limited to 'src/gtkext')
-rw-r--r-- | src/gtkext/gtkgraphview.c | 6 |
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++) { |