wireshark/tools
João Valverde 2a9cb588aa dfilter: Add binary arithmetic (add/subtract)
Add support for display filter binary addition and subtraction.

The grammar is intentionally kept simple for now. The use case
is to add a constant to a protocol field, or (maybe) add two
fields in an expression.

We use signed arithmetic with unsigned numbers, checking for
overflow and casting where necessary to do the conversion.
We could legitimately opt to use traditional modular arithmetic
instead (like C) and if it turns out that that is more useful for
some reason we may want to in the future.

Fixes #15504.
2022-03-31 11:27:34 +01:00
..
asterix asterix: Sync with asterix-specs #4df694c69c 2022-02-25 08:30:46 +00:00
cppcheck CPPcheck: When we say C11 do check for C11 2022-01-28 04:31:07 +00:00
json2pcap
lemon Add remaining header files to Doxygen 2021-12-12 03:56:35 +00:00
oss-fuzzshark
pidl
radiotap-gen tools/radiotap-gen: Fix build issue on some versions of Ubuntu. 2022-03-20 17:38:40 +00:00
Get-HardenFlags.ps1
SkinnyProtocolOptimized.xml Skinny: Resynced Skinny xml definition with code 2021-10-31 17:19:33 +01:00
WiresharkXML.py Fix more repeated words throughout 2021-12-31 22:50:40 +00:00
alpine-setup.sh Tools: Add PCRE2 to our setup scripts. 2021-11-14 17:53:36 +00:00
arch-setup.sh arch-setup: Update requirements for user guides 2021-12-31 02:11:53 +00:00
asn2deb Packaging+GitLab CI: Move debian to the packaging directory. 2022-02-13 13:21:58 -08:00
asn2wrs.py BER: Make GeneralizedTime a FT_ABSOLUTE_TIME 2021-12-02 20:40:22 -05:00
bsd-setup.sh Tools: Add PCRE2 to our setup scripts. 2021-11-14 17:53:36 +00:00
checkAPIs.pl Prefs/Extcap: Added support for password which is never stored on the disk 2021-12-30 16:03:15 +00:00
check_dissector_urls.py tools/check_*.py: allow multiple --file entries 2022-02-20 23:12:10 +00:00
check_help_urls.py Tools: add script to check help URLs vs. available User's Guide chapters 2022-03-07 08:04:08 +00:00
check_spelling.py tools/check_*.py: allow multiple --file entries 2022-02-20 23:12:10 +00:00
check_static.py tools/check_*.py: allow multiple --file entries 2022-02-20 23:12:10 +00:00
check_tfs.py tools/check_*.py: allow multiple --file entries 2022-02-20 23:12:10 +00:00
check_typed_item_calls.py tools/check_*.py: allow multiple --file entries 2022-02-20 23:12:10 +00:00
checkfiltername.pl pre-commit: Add an exception to duplicate filter name check 2022-02-15 11:38:16 +00:00
checkhf.pl
checklicenses.py dfilter: Add binary arithmetic (add/subtract) 2022-03-31 11:27:34 +01:00
colorfilters2js.pl
commit-msg Add a commit-msg that may be installed to verify commit msg line length. 2021-03-23 09:09:19 +00:00
compress-pngs.py Tools: Migrate compress-pngs.sh to Python. 2021-09-13 11:00:04 -07:00
convert_expert_add_info_format.pl Lua: reconcile expert info groups; add PI_ASSUMPTION 2021-06-21 15:27:51 +00:00
convert_proto_tree_add_text.pl Lua: reconcile expert info groups; add PI_ASSUMPTION 2021-06-21 15:27:51 +00:00
debian-nightly-package.sh Packaging+GitLab CI: Move debian to the packaging directory. 2022-02-13 13:21:58 -08:00
debian-setup.sh Tools: Add PCRE2 to our setup scripts. 2021-11-14 17:53:36 +00:00
delete_includes.py
detect_bad_alloc_patterns.py First pass pinfo->pool conversion 2021-07-21 05:38:29 +00:00
eti2wireshark.py Add ETI/EOBI order flow/market data dissectors 2021-12-21 08:10:43 +00:00
extract_asn1_from_spec.pl
fix-encoding-args.pl Tools: Fix fix-encoding-args.pl ASCII string validation 2022-02-15 11:38:16 +00:00
fixhf.pl
fuzz-test.sh Tools: Fix some fuzzing logic. 2021-10-22 20:19:13 +00:00
gen-bugnote Tools: Let jq escape backslashes in gen-bugnote. 2021-11-11 02:41:32 +00:00
generate-bacnet-vendors.py
generate-dissector.py
generate-nl80211-fields.py Netlink nl80211: Convert to normal proto tree API 2021-12-11 16:32:33 +00:00
generate-sysdig-event.py tools: updated generate-sysdig-event python script. 2021-12-13 14:30:30 +00:00
generate_authors.pl Refactor generate_authors.pl to remove the text duplicated from AUTHORS.src 2021-11-10 23:59:21 +00:00
generate_cbor_pcap.py CBOR: Avoid infinite loop when sequence has not-well-formed data 2021-10-26 12:18:13 +00:00
html2text.py Corrects repeated words throughout the code. 2021-12-22 11:01:11 +00:00
idl2deb Packaging+GitLab CI: Move debian to the packaging directory. 2022-02-13 13:21:58 -08:00
idl2wrs
indexcap.py
lex.py
licensecheck.pl Tools: Be more clear that we're matching the BSD 1-Clause license. 2022-01-01 15:25:21 -08:00
list_protos_in_cap.sh
macos-setup-brew.sh setup-macos-brew: Extend to build dmg 2021-09-16 09:56:36 +00:00
macos-setup.sh macos-setup.sh: libtiff: refactor curl fail logic 2022-01-31 12:57:25 -06:00
make-enums.py epan: Add binary search to introspection API 2021-11-27 14:31:53 +00:00
make-manuf.py make-manuf.py: Remove HTML double quote entities 2022-02-14 23:12:56 +00:00
make-no-reassembly-profile.py Tools: Add a plugin check to make-no-reassembly-profile.py. 2021-10-25 11:50:06 -07:00
make-packet-dcm.py Update to DICOM Edition 2021b 2021-05-03 19:51:19 +00:00
make-pci-ids.py Tools: make-pci-ids fixups. 2021-11-02 17:20:24 +00:00
make-plugin-reg.py Align plugin reg function search with epan reg function search 2022-03-18 21:01:40 +00:00
make-regs.py
make-services.py Tools: Fetch IANA data over HTTPS. 2021-11-02 16:46:18 +00:00
make-sminmpec.pl Tools: Fetch IANA data over HTTPS. 2021-11-02 16:46:18 +00:00
make-tls-ct-logids.py
make-usb.py Update USB ID list straight from the sources 2022-01-08 17:59:40 +00:00
make-version.pl Packaging+GitLab CI: Move debian to the packaging directory. 2022-02-13 13:21:58 -08:00
make_charset_table.c
msnchat
msys2-setup.sh tools: Add MSYS2 setup script to install dependencies 2021-11-15 12:24:49 +00:00
ncp2222.py ftypes: Internal headers need to be internal 2021-11-11 03:15:31 +00:00
netscreen2dump.py
parse_xml2skinny_dissector.py Replace g_strdup_printf() with ws_strdup_printf() 2021-12-19 21:21:58 +00:00
pkt-from-core.py
pre-commit Exclude wmem_test.c from pre-commit 2021-12-18 20:13:41 +00:00
pre-commit-ignore.conf Rename the "image" directory to "resources". 2022-03-09 02:07:51 +00:00
pre-commit-ignore.py
process-x11-fields.pl
process-x11-xcb.pl
randpkt-test.sh Tools: Try to exit more gracefully from fuzzing. 2021-05-11 11:07:27 -07:00
rdps.py
release-update-debian-soversions.sh Packaging+GitLab CI: Move debian to the packaging directory. 2022-02-13 13:21:58 -08:00
rpm-setup.sh Tools: Remove git-review from rpm-setup. 2022-01-06 11:24:31 -08:00
sharkd_shell.py
test-captures.sh
test-common.sh Fix more repeated words throughout 2021-12-31 22:50:40 +00:00
update-appdata.py Move Freedesktop files to resources/freedesktop. 2022-03-12 00:19:13 +00:00
update-tools-help.py Tools: Improve update-tools-help's version handling. 2022-02-14 23:13:36 +00:00
update-tx
valgrind-wireshark.sh
validate-clang-check.sh Validate only real C files, not templates 2022-01-04 07:09:26 +00:00
validate-commit.py Strip comment lines before validating format 2021-06-11 16:46:13 +02:00
validate-diameter-xml.sh Move a bunch of protocol resources to resources/protocols. 2022-03-11 18:34:41 +00:00
vg-suppressions
win-setup.ps1 Windows: upgrade Npcap to 1.60 2021-12-09 22:41:07 +01:00
wireshark_be.py Fix spelling errors. 2021-09-11 10:01:27 +00:00
wireshark_gen.py Fix spelling errors. 2021-09-11 10:01:27 +00:00
wireshark_words.txt extcap: new interface, wifidump, to capture Wi-Fi frames using a remote SSH host 2022-03-09 08:01:39 +00:00
ws-coding-style.cfg
yacc.py Fix more repeated words throughout 2021-12-31 22:50:40 +00:00