summaryrefslogtreecommitdiff
path: root/src/analysis/scan/tokens.l
diff options
context:
space:
mode:
Diffstat (limited to 'src/analysis/scan/tokens.l')
-rw-r--r--src/analysis/scan/tokens.l25
1 files changed, 0 insertions, 25 deletions
diff --git a/src/analysis/scan/tokens.l b/src/analysis/scan/tokens.l
index b1543c9..0dff9f4 100644
--- a/src/analysis/scan/tokens.l
+++ b/src/analysis/scan/tokens.l
@@ -982,31 +982,6 @@ bytes_fuzzy_id [\*A-Za-z_][\*A-Za-z0-9_]*
-<bytes_value>"\"" {
- POP_STATE;
- // *built_pattern = g_bytes_pattern_new();
- PUSH_STATE(bytes_value_raw);
- }
-
-<bytes_value_raw>"\"" { POP_STATE; /*yylval->pattern = *built_pattern*/; return 11111/*MASKED_STRING*/; }
-
-<bytes_value_raw>"\\\"" { }//g_bytes_pattern_append_data(*built_pattern, '"', 0xff); }
-<bytes_value_raw>"\\t" { }//g_bytes_pattern_append_data(*built_pattern, '\t', 0xff); }
-<bytes_value_raw>"\\r" { }//g_bytes_pattern_append_data(*built_pattern, '\r', 0xff); }
-<bytes_value_raw>"\\n" { }//g_bytes_pattern_append_data(*built_pattern, '\n', 0xff); }
-<bytes_value_raw>"\\\\" { }//g_bytes_pattern_append_data(*built_pattern, '\\', 0xff); }
-
-<bytes_value_raw>\\x[0-9a-fA-F]{2} {
- uint8_t __ch;
- __ch = strtol(yytext + 2, NULL, 16);
- printf("__ch: %hhx\n", __ch);
- //g_bytes_pattern_append_data(*built_pattern, __ch, 0xff);
- }
-
-<bytes_value_raw>. { }//g_bytes_pattern_append_data(*built_pattern, *yytext, 0xff); }
-
-
-