diff options
Diffstat (limited to 'src/analysis/scan/patterns/tokens/nodes')
-rw-r--r-- | src/analysis/scan/patterns/tokens/nodes/any.c | 3 | ||||
-rw-r--r-- | src/analysis/scan/patterns/tokens/nodes/masked.c | 7 |
2 files changed, 2 insertions, 8 deletions
diff --git a/src/analysis/scan/patterns/tokens/nodes/any.c b/src/analysis/scan/patterns/tokens/nodes/any.c index af2ae29..e5fb1d7 100644 --- a/src/analysis/scan/patterns/tokens/nodes/any.c +++ b/src/analysis/scan/patterns/tokens/nodes/any.c @@ -333,10 +333,11 @@ static void g_scan_token_node_any_check_forward(const GScanTokenNodeAny *node, G // TODO : compléter les intervales éventuels déjà en place + /* printf("[i] create hole: %llx <-> %llx\n", (unsigned long long)node->min, (unsigned long long)node->max); - + */ if (node->has_max) diff --git a/src/analysis/scan/patterns/tokens/nodes/masked.c b/src/analysis/scan/patterns/tokens/nodes/masked.c index 25f0315..8765b1d 100644 --- a/src/analysis/scan/patterns/tokens/nodes/masked.c +++ b/src/analysis/scan/patterns/tokens/nodes/masked.c @@ -721,9 +721,6 @@ static void g_scan_token_node_masked_check_backward(const GScanTokenNodeMasked * before = pending->start - matches->content_start; - printf(" (masked) pending: %u - len=%u\n", - (unsigned int)pending->start, (unsigned int)node->len); - new_begin = pending->start - node->len; if (ocount > 0) @@ -796,10 +793,6 @@ static void g_scan_token_node_masked_check_backward(const GScanTokenNodeMasked * status = check_scan_token_node_masked_content(node->bytes, node->len, new_begin, content); - printf(" (masked) found new @ %llx ? %d\n", - (unsigned long long)new_begin, status); - - if ((status && !not) || (!status && not)) extend_pending_match_beginning(matches, p, new_begin); |