wireshark/epan/dfilter
John Thacker a2120e823c dfilter: Allow generic unquoted strings that are protocol names on RHS
Protocol names can only be on the left hand side of filter expressions.
Commit ac0b1d42f3 (merge !4214) caused
unquoted strings that could be interpreted as either protocol names or
byte arrays to be parsed as the latter when on the RHS.  Further
relax by allowing unquoted strings on the RHS that can be interpreted as
protocol names to be treated as any generic unquoted string. (The
semantic checker will still prefer interpreting the string as a byte
array, if possible, to a generic string.)

This is useful for filter expressions of the sort "frame contains data",
where data should be interpreted as "data", i.e. "\x64\x61\x74\x61".
Long run this ideally should be fixed earlier, at the lex parser or
grammar checker.
2021-09-22 11:22:14 +00:00
..
.editorconfig HTTPS In Even More Places, update some links. 2019-07-28 04:21:18 +00:00
CMakeLists.txt CMake: Use CheckAPI's abort/termoutput with dissectors only 2021-03-01 20:59:39 +00:00
dfilter-int.h dfilter: Add support for raw strings 2021-06-05 02:46:40 +01:00
dfilter-macro.c dfilter: Fix handling of escaped quotes in macros 2021-05-28 10:36:41 +00:00
dfilter-macro.h
dfilter.c Replace g_assert() with ws_assert() 2021-06-19 01:23:31 +00:00
dfilter.h
dfunctions.c Replace g_assert() with ws_assert() 2021-06-19 01:23:31 +00:00
dfunctions.h
dfvm.c Replace g_assert() with ws_assert() 2021-06-19 01:23:31 +00:00
dfvm.h dfilter, ftypes: get rid of FT_PCRE. 2021-03-21 03:27:44 -07:00
drange.c Replace g_assert() with ws_assert() 2021-06-19 01:23:31 +00:00
drange.h
gencode.c Replace g_assert() with ws_assert() 2021-06-19 01:23:31 +00:00
gencode.h
grammar.lemon Replace g_assert() with ws_assert() 2021-06-19 01:23:31 +00:00
scanner.l Replace g_assert() with ws_assert() 2021-06-19 01:23:31 +00:00
semcheck.c dfilter: Allow generic unquoted strings that are protocol names on RHS 2021-09-22 11:22:14 +00:00
semcheck.h
sttype-function.c Replace g_assert() with ws_assert() 2021-06-19 01:23:31 +00:00
sttype-function.h
sttype-integer.c HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
sttype-pointer.c dfilter, ftypes: get rid of FT_PCRE. 2021-03-21 03:27:44 -07:00
sttype-range.c Replace g_assert() with ws_assert() 2021-06-19 01:23:31 +00:00
sttype-range.h
sttype-set.c HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
sttype-set.h
sttype-string.c HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
sttype-test.c Replace g_assert() with g_assert_true() for testing 2021-03-05 14:54:58 +00:00
sttype-test.h
syntax-tree.c Replace g_assert() with ws_assert() 2021-06-19 01:23:31 +00:00
syntax-tree.h Replace g_assert() with ws_assert() 2021-06-19 01:23:31 +00:00