wireshark/tools
Tomasz Moń 7b82110092 USB HID: Parse bit fields with correct bit order
Implement little endian support for tvb_get_bits family of functions.
The big/little endian refers to bit numbering within an octet. In big
endian, the most significant bit is considered bit 0, while in little
endian the least significant bit is considered bit 0.

Add encoding parameters to proto tree bits format family functions.
Specify ENC_BIG_ENDIAN in all dissectors using these functions except in
USB HID that requires ENC_LITTLE_ENDIAN to work correctly.

When formatting bits values, always display most significant bit on the
leftmost position regardless of the encoding. This results in no gaps
between octets and makes the displayed value comprehensible.

Close #4478
Fix #17014
2021-09-26 18:16:28 +02:00
..
cppcheck Replace the Large File Support CMake stuff. 2021-03-22 12:11:26 +00:00
json2pcap Tools+test: Call python3 explicitly. 2020-11-05 06:46:35 +00:00
lemon cmake: lemon: allow overriding lemon CC setting 2021-08-31 19:19:05 +00:00
npl HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
oss-fuzzshark fuzzshark: integrate oss-fuzz targets in CMake 2018-10-20 07:00:43 +00:00
pidl Clean up URLs. 2020-10-02 20:13:42 -07:00
Get-HardenFlags.ps1 HTTPS In More Places, update some URLs. 2019-07-27 07:55:36 +00:00
SkinnyProtocolOptimized.xml skinny: remove comment that matches field label (callState) 2018-09-20 22:59:31 +00:00
WiresharkXML.py Fix issues discovered by common python linters 2020-09-26 04:38:18 +00:00
alpine-setup.sh Tools: Migrate compress-pngs.sh to Python. 2021-09-13 11:00:04 -07:00
asn2deb HTTPS In More Places, update some URLs. 2019-07-27 07:55:36 +00:00
asn2wrs.py ITS: fix asn2wrs #.NO_EMIT 2021-05-06 07:36:08 +00:00
bsd-setup.sh Tools: Migrate compress-pngs.sh to Python. 2021-09-13 11:00:04 -07:00
checkAPIs.pl USB HID: Parse bit fields with correct bit order 2021-09-26 18:16:28 +02:00
check_dissector_urls.py Fix issues discovered by common python linters 2020-09-26 04:38:18 +00:00
check_spelling.py Some spelling fixes 2021-09-18 20:52:04 +00:00
check_static.py check_static.py: remove unused option 2021-06-08 10:47:59 +01:00
check_tfs.py check_tfs: we want os.path.commonprefix, not os.path.commonpath. 2021-08-25 01:24:31 -07:00
check_typed_item_calls.py ethercat: Fix some too-wide mask widths. 2021-09-21 11:04:31 +01:00
checkfiltername.pl MySQL: Added support for MariaDB protocol 2020-09-08 09:02:02 +02:00
checkhf.pl HTTPS In More Places, update some URLs. 2019-07-27 07:55:36 +00:00
checklicenses.py Rename version.h to be more descriptive 2021-07-09 18:27:41 +00: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-proto-tree-new.awk
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
debian-setup.sh Tools: Migrate compress-pngs.sh to Python. 2021-09-13 11:00:04 -07:00
delete_includes.py Tools+test: Call python3 explicitly. 2020-11-05 06:46:35 +00:00
detect_bad_alloc_patterns.py First pass pinfo->pool conversion 2021-07-21 05:38:29 +00:00
extract_asn1_from_spec.pl LPP: upgrade dissector to v16.3.0 2021-01-07 11:48:43 +00:00
fix-encoding-args.pl dfilter, ftypes: get rid of FT_PCRE. 2021-03-21 03:27:44 -07:00
fixhf.pl
fuzz-test.sh Tools: Try to exit more gracefully from fuzzing. 2021-05-11 11:07:27 -07:00
gen-bugnote Tools: Handle leading "#"s in gen-bugnote. 2020-09-30 09:56:53 -07:00
generate-bacnet-vendors.py
generate-dissector.py Tools+test: Call python3 explicitly. 2020-11-05 06:46:35 +00:00
generate-nl80211-fields.py Tools+test: Call python3 explicitly. 2020-11-05 06:46:35 +00:00
generate-sysdig-event.py Fix issues discovered by common python linters 2020-09-26 04:38:18 +00:00
generate_authors.pl AUTHORS: remove newlines. 2020-01-07 16:52:34 +00:00
html2text.py NEWS: multiple list indentation levels (nested lists) 2021-09-16 16:27:11 +00:00
idl2deb HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
idl2wrs HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
indexcap.py Tools+test: Call python3 explicitly. 2020-11-05 06:46:35 +00:00
lex.py
licensecheck.pl HTTPS In More Places, update some URLs. 2019-07-27 07:55:36 +00: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 tools: use glib version 2.68.4 on MacOS 2021-08-24 19:23:49 +00:00
make-manuf.py make-manuf updates. 2021-02-17 14:21:41 -08:00
make-no-reassembly-profile.py Tools+test: Call python3 explicitly. 2020-11-05 06:46:35 +00:00
make-packet-dcm.py Update to DICOM Edition 2021b 2021-05-03 19:51:19 +00:00
make-pci-ids.py make-pci-ids.py: make it executable. 2021-09-11 10:21:05 +00:00
make-plugin-reg.py Oops, put back accidentally deleted blank comment line. 2021-01-30 19:29:59 -08:00
make-regs.py wiretap: more work on file type/subtypes. 2021-02-17 21:54:28 +00:00
make-services.py Fix issues discovered by common python linters 2020-09-26 04:38:18 +00:00
make-sminmpec.pl
make-tls-ct-logids.py tls: Update list of CT logs to 2020-05-29 2020-07-10 05:11:26 +00:00
make-usb.py Tools: Update the usb.ids URL in make-usb.py. 2020-11-15 22:21:14 +00:00
make-version.pl make-version.pl: Remove duplicate "-f" option 2021-07-09 22:25:20 +01:00
make_charset_table.c
msnchat
ncp2222.py Fix duplicated filter namecated fileter names 2021-01-11 19:20:10 +00:00
netscreen2dump.py Fix issues discovered by common python linters 2020-09-26 04:38:18 +00:00
parse_xml2skinny_dissector.py tvbuff: convert helper methods to pinfo->pool 2021-09-01 03:54:52 +00:00
pkt-from-core.py Fix issues discovered by common python linters 2020-09-26 04:38:18 +00:00
pre-commit pre-commit: skip some checks on idl2wrs.c. 2021-09-11 02:42:51 -07:00
pre-commit-ignore.conf Use the musl in-tree getopt_long() everywhere 2021-09-17 00:43:54 +01:00
pre-commit-ignore.py Tools+test: Call python3 explicitly. 2020-11-05 06:46:35 +00:00
process-x11-fields.pl
process-x11-xcb.pl Fix the type of arrays of pointers to hf_ values for bitfield routines. 2020-06-19 11:32:26 +00:00
randpkt-test.sh Tools: Try to exit more gracefully from fuzzing. 2021-05-11 11:07:27 -07:00
rdps.py rdps.py: Use string equality for comparing strings 2021-01-25 11:32:12 +00:00
release-update-debian-soversions.sh CMake: Get rid of FULL_SO_VERSION 2018-06-07 04:01:37 +00:00
rpm-setup.sh Tools: Migrate compress-pngs.sh to Python. 2021-09-13 11:00:04 -07:00
sharkd_shell.py sharkd_shell.py: add interactive debug shell for sharkd 2019-10-02 22:05:29 +00:00
test-captures.sh More shellcheck checks and fixes. 2018-06-07 18:11:12 +00:00
test-common.sh Fuzz: Don't blame the latest commit. 2020-10-23 06:33:40 +00:00
update-appdata.py Linux: rename metadata according to spec 2020-12-10 18:11:12 +00:00
update-tools-help.py Tools+test: Call python3 explicitly. 2020-11-05 06:46:35 +00:00
update-tx Qt+tools: Fix most of our lupdate warnings. 2021-01-18 16:56:20 +00:00
usb-ptp-extract-models.pl
usb-ptp-extract-models.txt
valgrind-wireshark.sh Revert temp changes to valgrind-wireshark.sh 2020-10-19 10:35:26 +00:00
validate-clang-check.sh validate-clang-check: add yet another Windows-only file. 2021-09-23 03:39:11 -07:00
validate-commit.py Strip comment lines before validating format 2021-06-11 16:46:13 +02:00
validate-diameter-xml.sh Diameter: Update AVPs from 3GPP TS 29.272 V16.4.0 2021-06-03 15:49:38 +02:00
vg-suppressions vg-suppressions: suppress more GLib-related memleaks 2018-04-24 21:12:49 +00:00
win-setup.ps1 win-setup.ps1: Be more lax about validating path separators 2021-09-20 14:38:03 +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 Fix some spelling errors. 2021-09-23 21:22:46 +00:00
ws-coding-style.cfg Update our issue tracker URL in some places. 2020-09-16 01:29:07 +00:00
yacc.py HTTPS In More Places, update some URLs. 2019-07-27 07:55:36 +00:00