summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2018-12-13 21:56:41 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2018-12-13 21:56:41 (GMT)
commit29b7d4dcc28eca8e807f5eb2f20a5ffdde41a9d9 (patch)
tree8a296b65237e6730ade975f9950e0625caa091ec /src
parent13754ff3306ed1e7f24ba00038e24d05984783d8 (diff)
Renamed the function providing basic block boundaries.
Diffstat (limited to 'src')
-rw-r--r--src/analysis/disass/block.c2
-rw-r--r--src/analysis/disass/block.h2
-rw-r--r--src/gtkext/graph/cluster.c2
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];