diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2023-09-12 21:55:01 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2023-09-12 21:55:01 (GMT) |
commit | 31131323ee211aed77d01bdac61ad371524620a2 (patch) | |
tree | 3fad07f6b53b62e60b4bfbb572512e6865a63281 /src/analysis/scan/patterns/tokens/nodes | |
parent | 6f160d1b1e1bfdd06414d5b6c49a0c9d9fc8a830 (diff) |
Delete lots of debug output.
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); |