summaryrefslogtreecommitdiff
path: root/src/analysis/scan/patterns/tokens/atom.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/analysis/scan/patterns/tokens/atom.h')
-rw-r--r--src/analysis/scan/patterns/tokens/atom.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/analysis/scan/patterns/tokens/atom.h b/src/analysis/scan/patterns/tokens/atom.h
index 1d912d7..1ef8f40 100644
--- a/src/analysis/scan/patterns/tokens/atom.h
+++ b/src/analysis/scan/patterns/tokens/atom.h
@@ -30,7 +30,6 @@
#include "../backend.h"
#include "../../../../arch/vmpa.h"
-#include "../../../../common/bits.h"
#include "../../../../common/szstr.h"
@@ -51,10 +50,13 @@ typedef struct _tracked_scan_atom_t
} tracked_scan_atom_t;
/* Note l'intêret de rechercher un octet particulier. */
-int rate_byte_quality(bin_t, bitfield_t *, size_t *);
+int rate_byte_quality(bin_t, uint8_t *, size_t *, size_t *);
+
+/* Annihile l'intêret de rechercher un octet particulier. */
+int unrate_byte_quality(bin_t, uint8_t *, size_t *, size_t *);
/* Termine la notation d'un ensemble d'octets. */
-int finish_quality_rating(const bitfield_t *, size_t);
+int finish_quality_rating(int, size_t, size_t);
/* Détermine la portion idéale de recherche. */
void find_best_atom(const sized_binary_t *, size_t , tracked_scan_atom_t *, size_t *);