diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2018-11-18 22:21:14 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2018-11-18 22:21:14 (GMT) |
commit | ea090774bf3b5849422de9af8c294b3e9d00105b (patch) | |
tree | 4bd0218b1e260a6d84d3102768452902b1123926 /src/analysis | |
parent | 0f914ad3fdcc1ebac5789b55b9677e7868016e21 (diff) |
Extended the Python bindings dealing with code blocks.
Diffstat (limited to 'src/analysis')
-rw-r--r-- | src/analysis/block.c | 2 | ||||
-rw-r--r-- | src/analysis/block.h | 2 | ||||
-rw-r--r-- | src/analysis/disass/block.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/analysis/block.c b/src/analysis/block.c index 8c80177..a23634c 100644 --- a/src/analysis/block.c +++ b/src/analysis/block.c @@ -937,7 +937,7 @@ GCodeBlock *g_block_list_get_block(const GBlockList *list, size_t index) * * ******************************************************************************/ -GCodeBlock *g_block_list_find_by_starting_instr(const GBlockList *list, const vmpa2t *addr) +GCodeBlock *g_block_list_find_by_starting_addr(const GBlockList *list, const vmpa2t *addr) { GCodeBlock *result; /* Trouvaille à retourner */ size_t i; /* Boucle de parcours */ diff --git a/src/analysis/block.h b/src/analysis/block.h index 9087abf..21eaaa5 100644 --- a/src/analysis/block.h +++ b/src/analysis/block.h @@ -158,7 +158,7 @@ void g_block_list_resolve_links(const GBlockList *); GCodeBlock *g_block_list_get_block(const GBlockList *, size_t); /* Recherche un bloc de code débutant à une adresse donnée. */ -GCodeBlock *g_block_list_find_by_starting_instr(const GBlockList *, const vmpa2t *); +GCodeBlock *g_block_list_find_by_starting_addr(const GBlockList *, const vmpa2t *); diff --git a/src/analysis/disass/block.c b/src/analysis/disass/block.c index b22c547..3641aea 100644 --- a/src/analysis/disass/block.c +++ b/src/analysis/disass/block.c @@ -276,7 +276,7 @@ static void g_basic_block_resolve_links(GBasicBlock *block, const GBlockList *li range = g_arch_instruction_get_range(dest->linked); - target = g_block_list_find_by_starting_instr(list, get_mrange_addr(range)); + target = g_block_list_find_by_starting_addr(list, get_mrange_addr(range)); /** * Les sauts ne se font pas toujours à l'intérieur d'une même fonction. |