wireshark/epan/ftypes
João Valverde c484ad0e5c dfilter: Don't try to parse byte arrays as strings
It won't work with embedded null bytes so don't try. This is
not an additional restriction, it just removes a hidden failure
mode. To support matching embedded NUL bytes we would have
to use an internal string representation other than
null-terminated C strings (which doesn't seem very onerous with
GString).

Before:
  Filter: http.user_agent == 41:42:00:43

  Constants:
  00000 PUT_FVALUE	"AB" <FT_STRING> -> reg#1

  Instructions:
  00000 READ_TREE		http.user_agent -> reg#0
  00001 IF-FALSE-GOTO	3
  00002 ANY_EQ		reg#0 == reg#1
  00003 RETURN

After:
  Filter: http.user_agent == 41:42:00:43

  Constants:
  00000 PUT_FVALUE	"41:42:00:43" <FT_STRING> -> reg#1

  Instructions:
  00000 READ_TREE		http.user_agent -> reg#0
  00001 IF-FALSE-GOTO	3
  00002 ANY_EQ		reg#0 == reg#1
  00003 RETURN
2021-10-15 13:06:51 +01:00
..
.editorconfig HTTPS In Even More Places, update some links. 2019-07-28 04:21:18 +00:00
CMakeLists.txt dfilter, ftypes: get rid of FT_PCRE. 2021-03-21 03:27:44 -07:00
ftype-bytes.c dfilter: Use the same semantic rules for protocols and bytes 2021-10-15 13:06:51 +01:00
ftype-double.c ftypes: Use an order function to compare ftypes 2021-10-10 20:48:29 +00:00
ftype-guid.c ftypes: Use an order function to compare ftypes 2021-10-10 20:48:29 +00:00
ftype-ieee-11073-float.c ftypes: Use an order function to compare ftypes 2021-10-10 20:48:29 +00:00
ftype-integer.c ftypes: Use an order function to compare ftypes 2021-10-10 20:48:29 +00:00
ftype-ipv4.c ftypes: Use an order function to compare ftypes 2021-10-10 20:48:29 +00:00
ftype-ipv6.c ftypes: Use an order function to compare ftypes 2021-10-10 20:48:29 +00:00
ftype-none.c ftypes: Use an order function to compare ftypes 2021-10-10 20:48:29 +00:00
ftype-protocol.c dfilter: Use the same semantic rules for protocols and bytes 2021-10-15 13:06:51 +01:00
ftype-string.c dfilter: Don't try to parse byte arrays as strings 2021-10-15 13:06:51 +01:00
ftype-time.c ftypes: Use an order function to compare ftypes 2021-10-10 20:48:29 +00:00
ftypes-int.h dfilter: Use the same semantic rules for protocols and bytes 2021-10-15 13:06:51 +01:00
ftypes.c ftypes: Use an order function to compare ftypes 2021-10-10 20:48:29 +00:00
ftypes.h Move epan/wmem/wmem_scopes.h to epan/ 2021-07-26 14:56:11 +00:00