From 29b7d4dcc28eca8e807f5eb2f20a5ffdde41a9d9 Mon Sep 17 00:00:00 2001 From: Cyrille Bagard Date: Thu, 13 Dec 2018 22:56:41 +0100 Subject: Renamed the function providing basic block boundaries. --- src/analysis/disass/block.c | 2 +- src/analysis/disass/block.h | 2 +- src/gtkext/graph/cluster.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/analysis/disass/block.c b/src/analysis/disass/block.c index 3641aea..6cf7c17 100644 --- a/src/analysis/disass/block.c +++ b/src/analysis/disass/block.c @@ -360,7 +360,7 @@ static GBufferView *g_basic_block_build_view(const GBasicBlock *block, segcnt_li * * ******************************************************************************/ -void g_basic_block_get_boundary(const GBasicBlock *block, GArchInstruction **first, GArchInstruction **last) +void g_basic_block_get_boundaries(const GBasicBlock *block, GArchInstruction **first, GArchInstruction **last) { if (first != NULL) { diff --git a/src/analysis/disass/block.h b/src/analysis/disass/block.h index eab0b27..a7c157d 100644 --- a/src/analysis/disass/block.h +++ b/src/analysis/disass/block.h @@ -60,7 +60,7 @@ GType g_basic_block_get_type(void); GCodeBlock *g_basic_block_new(GLoadedBinary *, GArchInstruction *, GArchInstruction *, const bitfield_t *); /* Fournit les instructions limites d'un bloc basique. */ -void g_basic_block_get_boundary(const GBasicBlock *, GArchInstruction **, GArchInstruction **); +void g_basic_block_get_boundaries(const GBasicBlock *, GArchInstruction **, GArchInstruction **); diff --git a/src/gtkext/graph/cluster.c b/src/gtkext/graph/cluster.c index 88f008c..9bbfb34 100644 --- a/src/gtkext/graph/cluster.c +++ b/src/gtkext/graph/cluster.c @@ -864,7 +864,7 @@ static GGraphCluster *g_graph_cluster_find_lower_dest_cluster(const GGraphCluste for (j = 0; j < rank->count && result == NULL; j++) { - g_basic_block_get_boundary(rank->clusters[j]->block, &instr, NULL); + g_basic_block_get_boundaries(rank->clusters[j]->block, &instr, NULL); if (instr == first) result = rank->clusters[j]; -- cgit v0.11.2-87-g4458