summaryrefslogtreecommitdiff
path: root/src/analysis/block-int.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2019-01-14 20:52:47 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2019-01-14 20:52:47 (GMT)
commitea60c6e86b0b86319cf2fc01ca1a7608c5fac9c0 (patch)
treec55808464e1a433c6147c460dded96d19df0b373 /src/analysis/block-int.h
parenta4fde950b940582a0e21a84c6c98a79f945fde02 (diff)
Looked for code blocks by any contained address.
Diffstat (limited to 'src/analysis/block-int.h')
-rw-r--r--src/analysis/block-int.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/analysis/block-int.h b/src/analysis/block-int.h
index ca38703..8988091 100644
--- a/src/analysis/block-int.h
+++ b/src/analysis/block-int.h
@@ -35,8 +35,8 @@
/* ----------------------------- BLOC DE CODE GENERIQUE ----------------------------- */
-/* Détermine si un bloc de code débute à une adresse donnée. */
-typedef bool (* block_is_starting_fc) (const GCodeBlock *, const vmpa2t *);
+/* Détermine si un bloc de code contient une adresse donnée. */
+typedef bool (* block_contains_fc) (const GCodeBlock *, const vmpa2t *);
/* Fournit les détails des origines d'un bloc de code donné. */
typedef block_link_t * (* block_get_links_fc) (const GCodeBlock *, const GBlockList *, size_t *);
@@ -66,7 +66,7 @@ struct _GCodeBlockClass
{
GObjectClass parent; /* A laisser en premier */
- block_is_starting_fc is_starting; /* Analyse d'adresse initiale */
+ block_contains_fc contains; /* Possession d'une adresse */
block_get_links_fc get_src; /* Obtention des origines */
block_get_links_fc get_dest; /* Obtention des destinations */
block_build_view_fc build; /* Construction d'une vue */
@@ -74,9 +74,5 @@ struct _GCodeBlockClass
};
-/* Détermine si un bloc de code débute à une adresse donnée. */
-bool g_code_block_is_starting_with(const GCodeBlock *, const vmpa2t *);
-
-
#endif /* _ANALYSIS_BLOCK_INT_H */