summaryrefslogtreecommitdiff
path: root/src/analysis/scan/patterns/modifiers
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2023-10-02 07:14:50 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2023-10-02 07:14:50 (GMT)
commit1b991b5c66cc44b6f93a14c1c265683074224004 (patch)
tree0f05b9daad87d85c9318fe28ef0d2f8a787b0b37 /src/analysis/scan/patterns/modifiers
parente662be152d0b2fe0d1626a845121db5f1a51d9aa (diff)
Implement Base64 encoding for scan pattern modifications.
Diffstat (limited to 'src/analysis/scan/patterns/modifiers')
-rw-r--r--src/analysis/scan/patterns/modifiers/hex.c2
-rw-r--r--src/analysis/scan/patterns/modifiers/plain.c2
-rw-r--r--src/analysis/scan/patterns/modifiers/rev.c2
-rw-r--r--src/analysis/scan/patterns/modifiers/xor.c4
4 files changed, 5 insertions, 5 deletions
diff --git a/src/analysis/scan/patterns/modifiers/hex.c b/src/analysis/scan/patterns/modifiers/hex.c
index da992df..a50c67b 100644
--- a/src/analysis/scan/patterns/modifiers/hex.c
+++ b/src/analysis/scan/patterns/modifiers/hex.c
@@ -229,7 +229,7 @@ static bool g_scan_hex_modifier_transform(const GScanHexModifier *modifier, cons
bool result; /* Bilan d'opération à renvoyer*/
sized_binary_t *binary; /* Raccourci vers le stockage */
size_t i; /* Boucle de parcours #1 */
- const sized_binary_t *_src; /* SOurce courante */
+ const sized_binary_t *_src; /* Source courante */
size_t k; /* Boucle de parcours #2 */
static char *alphabet = "0123456789abcdef";
diff --git a/src/analysis/scan/patterns/modifiers/plain.c b/src/analysis/scan/patterns/modifiers/plain.c
index 485bb23..6d3ed5d 100644
--- a/src/analysis/scan/patterns/modifiers/plain.c
+++ b/src/analysis/scan/patterns/modifiers/plain.c
@@ -229,7 +229,7 @@ static bool g_scan_plain_modifier_transform(const GScanPlainModifier *modifier,
bool result; /* Bilan d'opération à renvoyer*/
sized_binary_t *binary; /* Raccourci vers le stockage */
size_t i; /* Boucle de parcours */
- const sized_binary_t *_src; /* SOurce courante */
+ const sized_binary_t *_src; /* Source courante */
result = true;
diff --git a/src/analysis/scan/patterns/modifiers/rev.c b/src/analysis/scan/patterns/modifiers/rev.c
index 8b931bd..afdf567 100644
--- a/src/analysis/scan/patterns/modifiers/rev.c
+++ b/src/analysis/scan/patterns/modifiers/rev.c
@@ -229,7 +229,7 @@ static bool g_scan_reverse_modifier_transform(const GScanReverseModifier *modifi
bool result; /* Bilan d'opération à renvoyer*/
sized_binary_t *binary; /* Raccourci vers le stockage */
size_t i; /* Boucle de parcours #1 */
- const sized_binary_t *_src; /* SOurce courante */
+ const sized_binary_t *_src; /* Source courante */
size_t k; /* Boucle de parcours #2 */
result = true;
diff --git a/src/analysis/scan/patterns/modifiers/xor.c b/src/analysis/scan/patterns/modifiers/xor.c
index 65194ab..4ec20a4 100644
--- a/src/analysis/scan/patterns/modifiers/xor.c
+++ b/src/analysis/scan/patterns/modifiers/xor.c
@@ -239,7 +239,7 @@ static bool g_scan_xor_modifier_transform(const GScanXorModifier *modifier, cons
bool result; /* Bilan d'opération à renvoyer*/
sized_binary_t *binary; /* Raccourci vers le stockage */
size_t i; /* Boucle de parcours #1 */
- const sized_binary_t *_src; /* SOurce courante */
+ const sized_binary_t *_src; /* Source courante */
long long x; /* Boucle de parcours #2 */
size_t k; /* Boucle de parcours #3 */
@@ -330,7 +330,7 @@ static bool g_scan_xor_modifier_transform_with_arg(const GScanXorModifier *modif
bool result; /* Bilan d'opération à renvoyer*/
sized_binary_t *binary; /* Raccourci vers le stockage */
size_t i; /* Boucle de parcours #1 */
- const sized_binary_t *_src; /* SOurce courante */
+ const sized_binary_t *_src; /* Source courante */
long long x; /* Boucle de parcours #2 */
size_t k; /* Boucle de parcours #3 */