summaryrefslogtreecommitdiff
path: root/src/analysis/scan/context.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/analysis/scan/context.h')
-rw-r--r--src/analysis/scan/context.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/analysis/scan/context.h b/src/analysis/scan/context.h
index 92522f8..563a53e 100644
--- a/src/analysis/scan/context.h
+++ b/src/analysis/scan/context.h
@@ -86,12 +86,18 @@ const phys_t *g_scan_context_get_atom_matches(const GScanContext *, patid_t, siz
/* Enregistre une correspondance complète avec un contenu. */
void g_scan_context_register_full_match(GScanContext *, GScanMatch *);
+/* Fournit la liste de toutes les correspondances d'un motif. */
+const GScanMatch **g_scan_context_get_full_matches(const GScanContext *, const GSearchPattern *, size_t *);
+
/* Affiche les correspondances identifiées. */
-void g_scan_context_display(const GScanContext *);
+void g_scan_context_display(GScanContext *);
/* Intègre une condition de correspondance pour règle. */
bool g_scan_context_set_rule_condition(GScanContext *, const char *, const GScanExpression *);
+/* Indique si un nom donné correspond à une règle. */
+bool g_scan_context_has_rule_for_name(const GScanContext *, const char *);
+
/* Indique si une correspondance globale a pu être établie. */
bool g_scan_context_has_match_for_rule(GScanContext *, const char *);