diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2013-01-05 13:30:19 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2013-01-05 13:30:19 (GMT) |
commit | d626276398a3cdd3cd6432e073a8866aa91418ce (patch) | |
tree | 15e4b325ebb0636b26058cd39fda3e1e87b534cc /src/gtkext/graph/node.h | |
parent | bfd81d1f289913f4d6e09cd8d99f4aaeed98436b (diff) |
Refined the definition of basic blocks and used them to build extra clusters for dot.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@317 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/gtkext/graph/node.h')
-rw-r--r-- | src/gtkext/graph/node.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/src/gtkext/graph/node.h b/src/gtkext/graph/node.h index 515c92b..57d0932 100644 --- a/src/gtkext/graph/node.h +++ b/src/gtkext/graph/node.h @@ -2,7 +2,7 @@ /* OpenIDA - Outil d'analyse de fichiers binaires * node.h - prototypes pour les éléments de graphiques chez dot * - * Copyright (C) 2009-2012 Cyrille Bagard + * Copyright (C) 2009-2013 Cyrille Bagard * * This file is part of OpenIDA. * @@ -26,6 +26,12 @@ #include "../gtkgraphview.h" +#include "../../arch/archbase.h" + + + +/* Indentation pour l'édition des commandes */ +#define DOT_IDENT " " @@ -53,7 +59,7 @@ GType g_graph_node_get_type(void); GGraphNode *g_graph_node_new(GtkWidget *); /* Déclare l'intermédiaire en tant que noeud pour dot. */ -char *g_graph_node_register_for_dot(const GGraphNode *, char *); +char *g_graph_node_register_for_dot(const GGraphNode *, char *, unsigned int); /* Place le morceau de code de l'intermédiaire à l'écran. */ void g_graph_node_place(GGraphNode *, GtkGraphView *, gint , gint); @@ -67,6 +73,9 @@ void g_graph_node_connect(const GGraphNode *, gint, gint, GdkPoint **, size_t *) /* Recherche un noeud donné dans une série de noeuds. */ +GGraphNode *find_graph_node_by_start_address(GGraphNode **, size_t, vmpa_t); + +/* Recherche un noeud donné dans une série de noeuds. */ GGraphNode *find_graph_node_by_name(GGraphNode **, size_t, const char *); |