aboutsummaryrefslogtreecommitdiffstats
path: root/tools
AgeCommit message (Collapse)AuthorFilesLines
2024-02-27macos-setup-brew: Use LUA 5.4Anders Broman1-1/+1
2024-02-26asterix: adjust to upstream changeZoran BoĆĄnjak1-41/+56
Structure change in asterix-specs, revision 3ab3bb3. Rule type is generalized and it now also includes a default value.
2024-02-25Fix lots of spellingsMartin Mathieson12-14/+19
2024-02-23Look into some items where VALS doesn't fit in maskMartin Mathieson1-15/+16
2024-02-23DNSCrypt: Add support to parse DNSCrypt Initial DNS requesthidd3ncod3s Sec1-0/+1
2024-02-22Fix some spelling errorsMartin Mathieson1-0/+15
2024-02-20Clang-Tidy: Fixup some suppressionsGerald Combs2-2/+10
Use directory-level suppressions where needed.
2024-02-19Add initial Clang-Tidy configuration files and a CI checkGerald Combs1-0/+2
Add an initial Clang-Tidy configuration file which checks for recursion and various clang analyzer issues. Run Clang-Tidy in the "Clang + Code Checks" merge request job. Add NOLINT suppressions where needed in wsutil, epan, and lemon.
2024-02-18Some spellingsMartin Mathieson1-0/+7
2024-02-18tools: Don't assume that Homebrew has Lua 5.1Gerald Combs1-1/+4
[skip ci]
2024-02-18Tools: Use bsearch to look up vendor in pci-ids.Darius Davis1-32/+5
2024-02-13check_spelling.py: add globsMartin Mathieson1-10/+29
2024-02-13X11: static-ify the generated dissector.Darius Davis1-3/+3
Many of the generated "const" fields can be made static. For local variables, this means that the compiler will no longer emit code to allocate the structure on the stack and initialize it upon each function entry -- 29 kBytes of code in total gets removed by this change -- which is surely a performance win when dissecting this protocol. Interestingly, libwireshark.so ends up growing overall due to the addition of 52 kBytes of relocation entries to patch up references within the relocatable read-only data section. Clearly the generated code was more space-efficient than the relocation entries...
2024-02-13X11: update to the latest xcbproto and Mesa.Darius Davis1-0/+1
mesa version 24.0-branchpoint-1188-gc3062e3402f xcbproto version xcb-proto-1.16.0-2-g1388374 Add GestureClass to the unused structures list.
2024-02-11Fix two typo'd words.dariusd01-2/+0
2024-02-10SOCKETCAN: Fix a couple of spellings and use XL length fieldMartin Mathieson1-1/+2
2024-02-08DCM: const-ify some big data structures.Darius Davis1-2/+2
The DCM tag/status/uid lookup tables are only ever read. const-ifying them moves about 220 kBytes of data to a read-only data section. packet-dcm.h was regenerated using the make-packet-dcm.py script.
2024-02-08DCM: Update from 2021b release to 2024a.Darius Davis1-0/+4
The Well-Known Frames of Reference data have moved to Table A-2, so the script is updated to integrate the data from that table into the UID list. Ran "tools/make-packet-dcm.py > epan/dissectors/packet-dcm.h".
2024-02-08Tools: Expand licence-check horizon to 160 lines.Darius Davis1-1/+1
MR !14295 ran into trouble with the license checker because three added lines in tools/make-packet-dcm.py moved the important piece of text outside the 150-line window in which it was checking. This change maintains the status quo by expanding the window to 160 lines.
2024-02-07Fix some more spelling errorsMartin Mathieson1-0/+34
2024-02-06Fix some more spelling errorsMartin Mathieson1-2/+7
2024-02-05Fix a grab-bag of typos.Darius Davis3-4/+4
One of these modifies a field name ("hart_ip.pt.rsp.transducer_serail_number" in packet-hartip.c), a few are in text displayed for fields (in packet-nvme.c) or for unknown fields (in packet-oer.c and packet-per.c), one is in a preprocessor macro (in packet-cip.[ch]), and the rest are all in comments. arry -> array authos -> authors compatability -> compatibility contigous -> contiguous dispaly -> display erorr -> error filed (where it was obviously incorrect) -> field or filled hueristic -> heuristic regsiter -> register serail -> serial
2024-02-02ERF: ignore a non-contigous maskMartin Mathieson2-1/+5
2024-02-02const-ify enum introspection data.Darius Davis1-1/+1
This moves 15 kBytes of data to a read-only data section.
2024-02-02const-ify proto/handoff/tap registration data.Darius Davis1-4/+4
This moves 54 kBytes of data to a read-only data section.
2024-02-02Add some new expert info groups.Guy Harris2-0/+4
PI_RECEIVE is for indications from the process of receiving packets, such as CRC errors, short/long frame indications, etc.. PI_INTERFACE is for indications from an interface (other than receive indications), such as out-of-buffrs indications, hardware errors, changes in link speed, etc.. See !14177 for some discussion of this.
2024-02-01check_dissector: check spelling of comments for chosen dissectorMartin Mathieson1-1/+1
2024-02-01epan: Pass in a 64 bit integer to proto_tree_add_boolean functionsJohn Thacker1-1/+0
Some of the functions in proto.c when handling a FT_BOOLEAN field allow it to be part of a 64 bit unsigned integer with a 64 bit bitmask. Other functions do not. Some of the functions start out allowing a 64 bit bitmask and then switch to casting the value to a 32 bit unsigned integer (but others don't.) Consistently allow a boolean to be extracted using a 64 bit bitmask by changing the various proto_tree_add_boolean functions to allow a 64 bit unsigned integer value parameter. There was only one function adding a boolean that already took a 64 bit value, proto_tree_add_boolean_bits_format_value64, a counterpart of proto_tree_add_boolean_bits_format_value. It was never used anywhere and not WS_DLL_PUBLIC, so it is safe to remove in favor of having the latter take a uint64_t. Note that _proto_tree_add_bits_format_value, as a comment says: "does not receive an actual value but a dimensionless pointer to that value. For this reason, the type of the header field is examined in order to determine what kind of value we should read from this address. The caller of this function must make sure that for the specific header field type the address of a compatible value is provided." Both proto_tree_add_boolean_bits_format_value and proto_tree_add_boolean_bits_format_value64 called that function, one passing a pointer to a guint32 as a void*, the other passing a pointer to a guint64. In both cases it was cast to a guint32*, which was less than ideal in the value64 case. Fix that. This is related to #19552, as it is necessary in order to add support for passing a UInt64 value to a boolean field (as oppposed to extracting it directly from the tvb.)
2024-02-01wsutil+tools: Version info updatesGerald Combs1-9/+20
Define VCS_NUM_COMMITS and VCS_COMMIT_ID in vcs_version.h. Use them to return the Logray version in get_lr_vcs_version_info and use that where appropriate. Rename VCSVERSION to VCS_VERSION.
2024-01-31Windows: Upgrade libssh to 1.10.6plusGerald Combs1-2/+2
"plus" means that we built from libssh commit 6f1b1e76bb38b, which includes 1.10.6 plus an IPv6 address parsing fix.
2024-01-31Fix more spellings - mostly commentsMartin Mathieson1-0/+8
2024-01-31Fix some spelling errorsMartin Mathieson2-4/+44
2024-01-29macos-setup: Conditionally install Falco libsGerald Combs1-0/+214
Install Falco libs (libsinsp and libscap) and their dependencies if FALCO_LIBS_VERSION is defined. [skip ci]
2024-01-29Check for item long text being 0 - prefer NULLMartin Mathieson1-1/+6
2024-01-28Fix some more item warningsMartin Mathieson1-1/+1
2024-01-27Check valid display value set for ipv4 fieldsMartin Mathieson1-1/+8
2024-01-27Check that string items have display set to BASE_NONEMartin Mathieson1-0/+10
2024-01-27Set BASE_NONE for FT_BOOLEAN items with zero maskMartin Mathieson1-3/+3
2024-01-27Services: const-ify the data structures.Darius Davis1-5/+7
The list of TCP/UDP/SCTP/DCCP port numbers never needs to be modified. This moves ~150 kBytes of data to a read-only data section.
2024-01-26Tools: const-ify pci-ids data.Darius Davis1-10/+10
This moves ~620 kBytes of data into the read-only data section.
2024-01-25macos-setup: Use `set -e`Gerald Combs1-309/+319
Use `set -e` and remove a bunch of no-longer-needed `|| exit 1`s. Make sure we pass `--fail-with-body` to curl, and that we have a version of curl that supports that option. Fix other issues that `set -e` turned up. [skip ci]
2024-01-25Fix more FT_BOOLEAN items with no mask - set len to BASE_NONEMartin Mathieson1-3/+1
2024-01-25Check that FT_BOOLEAN items with zero-mask use BASE_NONEMartin Mathieson1-3/+50
2024-01-24macos-setup: zstd and lz4 fixesGerald Combs1-14/+17
Pass in our installation prefix at build time, which is required for prefixes other than /usr/local. Fix a few ShellCheck warnings. [skip ci]
2024-01-24tools: Add a protected branch check to validate-commit.pyGerald Combs1-0/+8
2024-01-22Windows: Updgrade GnuTLS to 3.8.3Gerald Combs1-2/+2
2024-01-22macos-setup: update to GnuTLS 3.8.3Gerald Combs1-61/+62
This fixes a few recent CVEs that don't appear to affect us, but better safe than sorry. Fix some shellcheck warnings in the GnuTLS and related functions.
2024-01-21Tools: More macos-setup.sh cleanupGerald Combs1-122/+126
Use command substitution instead of backticks. Use an array for our build-time make options. Fixup some dynamically sudo-ized commands. [skip ci]
2024-01-21tools: Add an installation prefix option to macos-setup.shGerald Combs1-177/+222
Add a `-p` option, which lets you specify an installation prefix for software libraries. Ruby gems and Python modules (Asciidoctor and pytest) still install into their default locations. [skip ci]
2024-01-20Undo some more double colonsMartin Mathieson1-1/+1