diff options
Diffstat (limited to 'src/analysis/scan/patterns/tokens')
-rw-r--r-- | src/analysis/scan/patterns/tokens/nodes/any.c | 12 | ||||
-rw-r--r-- | src/analysis/scan/patterns/tokens/nodes/choice.c | 8 | ||||
-rw-r--r-- | src/analysis/scan/patterns/tokens/nodes/masked.c | 12 | ||||
-rw-r--r-- | src/analysis/scan/patterns/tokens/nodes/plain.c | 12 |
4 files changed, 22 insertions, 22 deletions
diff --git a/src/analysis/scan/patterns/tokens/nodes/any.c b/src/analysis/scan/patterns/tokens/nodes/any.c index 10a01cd..d65f3c9 100644 --- a/src/analysis/scan/patterns/tokens/nodes/any.c +++ b/src/analysis/scan/patterns/tokens/nodes/any.c @@ -329,7 +329,7 @@ static void g_scan_token_node_any_check_forward(const GScanTokenNodeAny *node, s phys_t updated_edge; /* Nouvelle bordure de motif */ match_area_t *new_area; /* Copie de correspondance */ - if (0x1) printf("=================== CHECK :: %s (skip? %d)\n", __FUNCTION__, *skip); + if (0x0) printf("=================== CHECK :: %s (skip? %d)\n", __FUNCTION__, *skip); if (*skip) return; @@ -423,7 +423,7 @@ static void g_scan_token_node_any_check_forward(const GScanTokenNodeAny *node, s { assert(offsets_exist(¶ms->offset)); - if (0x1) printf(" LIST : %p (sz = %zu)\n", params->main_areas, params->main_count); + if (0x0) printf(" LIST : %p (sz = %zu)\n", params->main_areas, params->main_count); for_each_match_area_safe(area, ¶ms->main_areas, next) { @@ -431,7 +431,7 @@ static void g_scan_token_node_any_check_forward(const GScanTokenNodeAny *node, s after = params->content_end - area->end; - if (0x1) printf("---------- iter @ %u -> %u\n", (unsigned int)area->start, (unsigned int)area->end); + if (0x0) printf("---------- iter @ %u -> %u\n", (unsigned int)area->start, (unsigned int)area->end); min_end = params->content_end; max_end = params->content_start; @@ -592,7 +592,7 @@ static void g_scan_token_node_any_check_backward(const GScanTokenNodeAny *node, phys_t updated_edge; /* Nouvelle bordure de motif */ match_area_t *new_area; /* Copie de correspondance */ - if (0x1) printf("=================== CHECK :: %s (skip? %d)\n", __FUNCTION__, *skip); + if (0x0) printf("=================== CHECK :: %s (skip? %d)\n", __FUNCTION__, *skip); if (*skip) return; @@ -631,7 +631,7 @@ static void g_scan_token_node_any_check_backward(const GScanTokenNodeAny *node, { assert(offsets_exist(¶ms->offset)); - if (0x1) printf(" LIST : %p (sz = %zu)\n", params->main_areas, params->main_count); + if (0x0) printf(" LIST : %p (sz = %zu)\n", params->main_areas, params->main_count); for_each_match_area_safe(area, ¶ms->main_areas, next) { @@ -639,7 +639,7 @@ static void g_scan_token_node_any_check_backward(const GScanTokenNodeAny *node, before = area->start - params->content_start; - if (0x1) printf("---------- iter @ %u -> %u\n", (unsigned int)area->start, (unsigned int)area->end); + if (0x0) printf("---------- iter @ %u -> %u\n", (unsigned int)area->start, (unsigned int)area->end); min_start = params->content_start; max_start = params->content_end; diff --git a/src/analysis/scan/patterns/tokens/nodes/choice.c b/src/analysis/scan/patterns/tokens/nodes/choice.c index 102c7de..2a5e5f5 100644 --- a/src/analysis/scan/patterns/tokens/nodes/choice.c +++ b/src/analysis/scan/patterns/tokens/nodes/choice.c @@ -428,7 +428,7 @@ static void g_scan_token_node_choice_check_forward(const GScanTokenNodeChoice *n size_t i; /* Boucle de parcours */ scan_node_check_params_t local_params; /* Rassemblement de paramètres */ - if (0x1) printf("=================== CHECK :: %s (skip? %d)\n", __FUNCTION__, *skip); + if (0x0) printf("=================== CHECK :: %s (skip? %d)\n", __FUNCTION__, *skip); if (*skip) return; @@ -487,7 +487,7 @@ static void g_scan_token_node_choice_check_forward(const GScanTokenNodeChoice *n if (collected_count > 1) sort_match_areas_no_dup(&collected_areas, &collected_count, compare_match_area_as_dl_item, NULL); - if (0x1) printf("[%s] collected: #%zu (bis)\n", __FUNCTION__, collected_count); + if (0x0) printf("[%s] collected: #%zu (bis)\n", __FUNCTION__, collected_count); params->initialized = initialized; @@ -547,7 +547,7 @@ static void g_scan_token_node_choice_check_backward(const GScanTokenNodeChoice * size_t i; /* Boucle de parcours */ scan_node_check_params_t local_params; /* Rassemblement de paramètres */ - if (0x1) printf("=================== CHECK :: %s (skip? %d)\n", __FUNCTION__, *skip); + if (0x0) printf("=================== CHECK :: %s (skip? %d)\n", __FUNCTION__, *skip); if (*skip) return; @@ -609,7 +609,7 @@ static void g_scan_token_node_choice_check_backward(const GScanTokenNodeChoice * if (collected_count > 1) sort_match_areas_no_dup(&collected_areas, &collected_count, compare_match_area_as_dl_item, NULL); - if (0x1) printf("[%s] collected: #%zu (bis)\n", __FUNCTION__, collected_count); + if (0x0) printf("[%s] collected: #%zu (bis)\n", __FUNCTION__, collected_count); if (cflags & TNCF_KEEP_DISCARDED) { diff --git a/src/analysis/scan/patterns/tokens/nodes/masked.c b/src/analysis/scan/patterns/tokens/nodes/masked.c index 2dbdb08..4941e0e 100644 --- a/src/analysis/scan/patterns/tokens/nodes/masked.c +++ b/src/analysis/scan/patterns/tokens/nodes/masked.c @@ -495,7 +495,7 @@ static void g_scan_token_node_masked_check_forward(const GScanTokenNodeMasked *n phys_t updated_edge; /* Nouvelle bordure de motif */ match_area_t *new_area; /* Copie de correspondance */ - if (0x1) printf("=================== CHECK :: %s (skip? %d)\n", __FUNCTION__, *skip); + if (0x0) printf("=================== CHECK :: %s (skip? %d)\n", __FUNCTION__, *skip); if (*skip) return; @@ -621,7 +621,7 @@ static void g_scan_token_node_masked_check_forward(const GScanTokenNodeMasked *n */ else { - if (0x1) printf(" LIST : %p (sz = %zu)\n", params->main_areas, params->main_count); + if (0x0) printf(" LIST : %p (sz = %zu)\n", params->main_areas, params->main_count); for_each_match_area_safe(area, ¶ms->main_areas, next) { @@ -629,7 +629,7 @@ static void g_scan_token_node_masked_check_forward(const GScanTokenNodeMasked *n after = params->content_end - area->end; - if (0x1) printf("---------- iter @ %u -> %u\n", (unsigned int)area->start, (unsigned int)area->end); + if (0x0) printf("---------- iter @ %u -> %u\n", (unsigned int)area->start, (unsigned int)area->end); /** * S'il s'avère qu'il existe de multiples correspondances dans l'espace @@ -855,7 +855,7 @@ static void g_scan_token_node_masked_check_backward(const GScanTokenNodeMasked * phys_t updated_edge; /* Nouvelle bordure de motif */ match_area_t *new_area; /* Copie de correspondance */ - if (0x1) printf("=================== CHECK :: %s (skip? %d)\n", __FUNCTION__, *skip); + if (0x0) printf("=================== CHECK :: %s (skip? %d)\n", __FUNCTION__, *skip); if (*skip) return; @@ -897,7 +897,7 @@ static void g_scan_token_node_masked_check_backward(const GScanTokenNodeMasked * */ else { - if (0x1) printf(" LIST : %p (sz = %zu)\n", params->main_areas, params->main_count); + if (0x0) printf(" LIST : %p (sz = %zu)\n", params->main_areas, params->main_count); for_each_match_area_safe(area, ¶ms->main_areas, next) { @@ -905,7 +905,7 @@ static void g_scan_token_node_masked_check_backward(const GScanTokenNodeMasked * before = area->start - params->content_start; - if (0x1) printf("---------- iter @ %u -> %u\n", (unsigned int)area->start, (unsigned int)area->end); + if (0x0) printf("---------- iter @ %u -> %u\n", (unsigned int)area->start, (unsigned int)area->end); /** * Il ne peut y avoir qu'une seule séquence d'octets à un même diff --git a/src/analysis/scan/patterns/tokens/nodes/plain.c b/src/analysis/scan/patterns/tokens/nodes/plain.c index 166ce74..71e2e9b 100644 --- a/src/analysis/scan/patterns/tokens/nodes/plain.c +++ b/src/analysis/scan/patterns/tokens/nodes/plain.c @@ -675,7 +675,7 @@ static void g_scan_token_node_plain_check_forward(const GScanTokenNodePlain *nod phys_t updated_edge; /* Nouvelle bordure de motif */ match_area_t *new_area; /* Copie de correspondance */ - if (0x1) printf("=================== CHECK :: %s (skip? %d)\n", __FUNCTION__, *skip); + if (0x0) printf("=================== CHECK :: %s (skip? %d)\n", __FUNCTION__, *skip); if (*skip) return; @@ -799,7 +799,7 @@ static void g_scan_token_node_plain_check_forward(const GScanTokenNodePlain *nod */ else { - if (0x1) printf(" LIST : %p (sz = %zu)\n", params->main_areas, params->main_count); + if (0x0) printf(" LIST : %p (sz = %zu)\n", params->main_areas, params->main_count); for_each_match_area_safe(area, ¶ms->main_areas, next) { @@ -807,7 +807,7 @@ static void g_scan_token_node_plain_check_forward(const GScanTokenNodePlain *nod after = params->content_end - area->end; - if (0x1) printf("---------- iter @ %u -> %u\n", (unsigned int)area->start, (unsigned int)area->end); + if (0x0) printf("---------- iter @ %u -> %u\n", (unsigned int)area->start, (unsigned int)area->end); /** * Il ne peut y avoir qu'une seule séquence d'octets à un même @@ -1099,7 +1099,7 @@ static void g_scan_token_node_plain_check_backward(const GScanTokenNodePlain *no phys_t updated_edge; /* Nouvelle bordure de motif */ match_area_t *new_area; /* Copie de correspondance */ - if (0x1) printf("=================== CHECK :: %s (skip? %d)\n", __FUNCTION__, *skip); + if (0x0) printf("=================== CHECK :: %s (skip? %d)\n", __FUNCTION__, *skip); if (*skip) return; @@ -1136,7 +1136,7 @@ static void g_scan_token_node_plain_check_backward(const GScanTokenNodePlain *no */ else { - if (0x1) printf(" LIST : %p (sz = %zu)\n", params->main_areas, params->main_count); + if (0x0) printf(" LIST : %p (sz = %zu)\n", params->main_areas, params->main_count); for_each_match_area_safe(area, ¶ms->main_areas, next) { @@ -1144,7 +1144,7 @@ static void g_scan_token_node_plain_check_backward(const GScanTokenNodePlain *no before = area->start - params->content_start; - if (0x1) printf("---------- iter @ %u -> %u\n", (unsigned int)area->start, (unsigned int)area->end); + if (0x0) printf("---------- iter @ %u -> %u\n", (unsigned int)area->start, (unsigned int)area->end); /** * Il ne peut y avoir qu'une seule séquence d'octets à un même |