wireshark/test/suite_dfilter
João Valverde b602911b31 dfilter: Add support for universal quantifiers
Adds the keywords "any" and "all" to implement the quantification
to any existing relational operator.

Filter: all tcp.port in {100, 2000..3000}

Syntax tree:
 0 ALL TEST_IN:
   1 FIELD(tcp.port)
   1 SET(#2):
     2 FVALUE(100 <FT_UINT16>)
     2 FVALUE(2000 <FT_UINT16>) .. FVALUE(3000 <FT_UINT16>)

Instructions:
00000 READ_TREE		tcp.port -> reg#0
00001 IF_FALSE_GOTO	5
00002 ALL_EQ		reg#0 === 100 <FT_UINT16>
00003 IF_TRUE_GOTO	5
00004 ALL_IN_RANGE	reg#0 in { 2000 <FT_UINT16> .. 3000 <FT_UINT16> }
00005 RETURN
2022-05-12 14:26:54 +01:00
..
__init__.py
dfiltertest.py tests: Remove leftover debug print 2022-04-13 01:15:11 +01:00
group_bytes_ether.py test: convert suite_dfilter to use fixtures 2018-11-15 22:57:40 +00:00
group_bytes_ipv6.py dfilter: Add more IPv6 tests 2022-04-06 18:09:12 +01:00
group_bytes_type.py test: convert suite_dfilter to use fixtures 2018-11-15 22:57:40 +00:00
group_double.py test: convert suite_dfilter to use fixtures 2018-11-15 22:57:40 +00:00
group_function.py dfilter: Add abs() function 2022-04-18 17:09:00 +01:00
group_integer.py dfilter: Add support for binary literal constants 2022-02-23 22:27:59 +00:00
group_integer_1byte.py test: convert suite_dfilter to use fixtures 2018-11-15 22:57:40 +00:00
group_ipv4.py test: convert suite_dfilter to use fixtures 2018-11-15 22:57:40 +00:00
group_membership.py dfilter: Add support for unary arithmetic 2022-03-28 11:20:41 +00:00
group_range_method.py dfilter: Create the syntax node in the scanner and pass that 2022-04-10 09:54:03 +01:00
group_scanner.py dfilter: Reject invalid character escape sequences 2021-11-23 16:48:02 +00:00
group_string_type.py dfilter: Clean up function parameters semantic check 2021-11-10 02:12:06 +00:00
group_stringz.py test: convert suite_dfilter to use fixtures 2018-11-15 22:57:40 +00:00
group_syntax.py dfilter: Add support for universal quantifiers 2022-05-12 14:26:54 +01:00
group_time_relative.py test: convert suite_dfilter to use fixtures 2018-11-15 22:57:40 +00:00
group_time_type.py dfilter: Add support for entering time in UTC 2021-12-30 17:53:09 +00:00
group_tvb.py tests: Remove tests for non-existent functionality 2021-12-08 07:02:27 +00:00
group_uint64.py test: convert suite_dfilter to use fixtures 2018-11-15 22:57:40 +00:00