AI Slop Code Risk Monitor

wireshark/wireshark

SlopCodeMonitor badge for wireshark/wireshark Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

Read-only mirror of Wireshark's Git repository at https://gitlab.com/wireshark/wireshark. You're welcome to submit pull requests there.

2.0 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for wireshark/wireshark, a C project with 10,127 GitHub stars. SynthScan examined 5,378,006 lines of code across 5129 source files, recording 8017 pattern matches distributed across 20 syntactic categories. The legacy adjusted pattern signal is 2.0 (Low pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

2.0
Adjusted Signal
2.0
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
10.1K
Stars
C
Language
5.4M
Lines of Code
5.1K
Files
8.0K
Pattern Hits
2026-10-31
Scan Date
0.14
HC Hit Rate

Risk Review · Payload v1

Use each vector to guide manual verification of the underlying findings.

Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.

Cognitive Ownership Risk 5.6/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 6827 finding(s).

Hallucinated Dependency & Supply Chain Risk 0.9/100 · LOW

Are imports declared and package/API names verified? 214 finding(s).

Agent Over-Engineering Ratio 3.9/100 · LOW

Are wrappers, guards, and repeated structures necessary? 1766 finding(s).

PR Review Velocity Impact 11.0/100 · LOW

Which changes need focused human review? 8017 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 0HIGH 708MEDIUM 494LOW 6815

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 8017 distinct pattern matches across 20 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Over-Commented Block5728 hits · 5140 pts
SeverityFileLineSnippetContext
LOWCMakeLists.txt1# CMakeLists.txtCOMMENT
LOWCMakeLists.txt41endif()COMMENT
LOWCMakeLists.txt61# stuff for 32-bit targets, and that there's a /usr/lib/${isa} directoryCOMMENT
LOWCMakeLists.txt81# like crossing the beams or something), and there are two separateCOMMENT
LOWCMakeLists.txt101 message(FATAL_ERROR "isainfo -n failed, so we can't determine the target architecture")COMMENT
LOWCMakeLists.txt421 set(CMAKE_INSTALL_DATADIR "data/${PROJECT_NAME}"COMMENT
LOWCMakeLists.txt501# Ensure that executables in the build directory always have the same RPATH.COMMENT
LOWCMakeLists.txt681 # XXX Add MIN_WINDOWS_VERSION similar to MIN_MACOS_VERSIONCOMMENT
LOWCMakeLists.txt721COMMENT
LOWCMakeLists.txt761 #COMMENT
LOWCMakeLists.txt781 # We should probably add a code_analysis.props file and use it to setCOMMENT
LOWCMakeLists.txt841 )COMMENT
LOWCMakeLists.txt901 # Disable errors unconditionally for some static analysis warningsCOMMENT
LOWCMakeLists.txt921 #COMMENT
LOWCMakeLists.txt941 # (We don't support MSan because it requires compiling everythingCOMMENT
LOWCMakeLists.txt981 #COMMENT
LOWCMakeLists.txt1001 # enabled; the instrumentation they add increasesCOMMENT
LOWCMakeLists.txt1041 list(APPEND WIRESHARK_C_ONLY_FLAGS -Wno-missing-braces)COMMENT
LOWCMakeLists.txt1061 #COMMENT
LOWCMakeLists.txt1081 # It can be a lot of work to fix properly and none of themCOMMENT
LOWCMakeLists.txt1101 #COMMENT
LOWCMakeLists.txt1121 -Wduplicated-branches # GCC-onlyCOMMENT
LOWCMakeLists.txt1381 # Therefore, with that compiler, we just disableCOMMENT
LOWCMakeLists.txt1401#COMMENT
LOWCMakeLists.txt1421 # in a loop.COMMENT
LOWCMakeLists.txt1921 if (BUILD_stratoshark)COMMENT
LOWCMakeLists.txt2961 # libraries.COMMENT
LOWCMakeLists.txt3141 )COMMENT
LOWCMakeLists.txt3841 #COMMENT
LOWCMakeLists.txt4221 # you can get a lot of output from rpmbuild.COMMENT
LOWCMakeLists.txt4241 # it will add it.COMMENT
LOWCMakeLists.txt4941#COMMENT
LOWextcap.h21#include <wsutil/plugins.h>COMMENT
LOWextcap.h41#define EXTCAP_ARGUMENT_CONFIG_OPTION_NAME "--extcap-config-option-name"COMMENT
LOWsharkd_daemon.c21#include <signal.h>COMMENT
LOWdftest.c21COMMENT
LOWringbuffer.c41COMMENT
LOWmergecap.c21#include <wsutil/ws_getopt.h>COMMENT
LOWreordercap.c21COMMENT
LOWtshark.c21COMMENT
LOWtshark.c41#include <wsutil/cmdarg_err.h>COMMENT
LOWtshark.c61#ifdef HAVE_LUACOMMENT
LOWtshark.c81#include "ui/cli/tshark-tap.h"COMMENT
LOWtshark.c101COMMENT
LOWtshark.c121#endifCOMMENT
LOWtext2pcap.c61 *COMMENT
LOWtext2pcap.c81#include <wsutil/os_version_info.h>COMMENT
LOWtext2pcap.c1081 wtap_init(true, application_configuration_environment_prefix(), file_extensions, num_extensions);COMMENT
LOWextcap.c21#include <windows.h>COMMENT
LOWextcap.c41#include <wsutil/ws_pipe.h>COMMENT
LOWcaptype.c21#include <locale.h>COMMENT
LOWdumpcap.c21#include <sys/types.h>COMMENT
LOWdumpcap.c41#include <wsutil/file_util.h>COMMENT
LOWdumpcap.c61#include <sys/un.h>COMMENT
LOWdumpcap.c101 * so "--log-debug Capchild" or "--log-level debug" can be used to getCOMMENT
LOWdumpcap.c5341#ifdef _WIN32COMMENT
LOW.gitlab-ci.yml61# Common rule stanzasCOMMENT
LOW.gitlab-ci.yml901# https://docs.gitlab.com/ee/user/gitlab_com/index.html#linux-shared-runnersCOMMENT
LOW.gitlab-ci.yml921 # - Unit test reports, which must be formatted as JUnit XML:COMMENT
LOW.gitlab-ci.yml1421 - sloccount . | awk "/^Computing results/ { results=1 } { if (results) print }" | tee sloccount.txtCOMMENT
5668 more matches not shown…
Cross-File Repetition473 hits · 2365 pts
SeverityFileLineSnippetContext
HIGHtools/make-iana-constants.py0reads the source file and tries to split it in the parts before, inside and after the block.STRING
HIGHtools/dissector_generators/generate-tls-ct-logids.py0reads the source file and tries to split it in the parts before, inside and after the block.STRING
HIGHtools/dissector_generators/generate-nl80211.py0reads the source file and tries to split it in the parts before, inside and after the block.STRING
HIGHtest/captures/_gen_tns_lobops.py0variable-length unsigned integer in the oracle ub4 form.STRING
HIGHtest/captures/_gen_tns_dalc_absent.py0variable-length unsigned integer in the oracle ub4 form.STRING
HIGHtest/captures/_gen_tns_bc_date.py0variable-length unsigned integer in the oracle ub4 form.STRING
HIGHtest/captures/_gen_tns_ano.py0variable-length unsigned integer in the oracle ub4 form.STRING
HIGHtest/captures/_gen_tns_cursor_fetch.py0variable-length unsigned integer in the oracle ub4 form.STRING
HIGHtest/captures/_gen_tns_long_bind.py0variable-length unsigned integer in the oracle ub4 form.STRING
HIGHtest/captures/_gen_tns_fast_auth.py0variable-length unsigned integer in the oracle ub4 form.STRING
HIGHtest/captures/_gen_tns_oer_flags.py0variable-length unsigned integer in the oracle ub4 form.STRING
HIGHtest/captures/_gen_tns_app_context.py0variable-length unsigned integer in the oracle ub4 form.STRING
HIGHtest/captures/_gen_tns_wrn.py0variable-length unsigned integer in the oracle ub4 form.STRING
HIGHtest/captures/_gen_tns_describe_versions.py0variable-length unsigned integer in the oracle ub4 form.STRING
HIGHtest/captures/_gen_tns_reexec.py0variable-length unsigned integer in the oracle ub4 form.STRING
HIGHtest/captures/_gen_tns_spb.py0variable-length unsigned integer in the oracle ub4 form.STRING
HIGHtest/captures/_gen_tns_rxd_nodata.py0variable-length unsigned integer in the oracle ub4 form.STRING
HIGHtest/captures/_gen_tns_oci_all8.py0variable-length unsigned integer in the oracle ub4 form.STRING
HIGHtest/captures/_gen_tns_oer.py0variable-length unsigned integer in the oracle ub4 form.STRING
HIGHtest/captures/_gen_tns_oci_sql_length.py0variable-length unsigned integer in the oracle ub4 form.STRING
HIGHtest/captures/_gen_tns_interval.py0variable-length unsigned integer in the oracle ub4 form.STRING
HIGHtest/captures/_gen_tns_aq_array.py0variable-length unsigned integer in the oracle ub4 form.STRING
HIGHtest/captures/_gen_tns_plsql_reexec.py0variable-length unsigned integer in the oracle ub4 form.STRING
HIGHtest/captures/_gen_tns_cursor_column.py0variable-length unsigned integer in the oracle ub4 form.STRING
HIGHtest/captures/_gen_tns_object_column.py0variable-length unsigned integer in the oracle ub4 form.STRING
HIGHtest/captures/_gen_tns_all8.py0variable-length unsigned integer in the oracle ub4 form.STRING
HIGHtest/captures/_gen_tns_txn.py0variable-length unsigned integer in the oracle ub4 form.STRING
HIGHtest/captures/_gen_tns_describe_122.py0variable-length unsigned integer in the oracle ub4 form.STRING
HIGHtest/captures/_gen_tns_auth.py0variable-length unsigned integer in the oracle ub4 form.STRING
HIGHtest/captures/_gen_tns_create_temp.py0variable-length unsigned integer in the oracle ub4 form.STRING
HIGHtest/captures/_gen_tns_tpc.py0variable-length unsigned integer in the oracle ub4 form.STRING
HIGHtest/captures/_gen_tns_bfile.py0variable-length unsigned integer in the oracle ub4 form.STRING
HIGHtest/captures/_gen_tns_pro.py0variable-length unsigned integer in the oracle ub4 form.STRING
HIGHtest/captures/_gen_tns_clob_text.py0variable-length unsigned integer in the oracle ub4 form.STRING
HIGHtest/captures/_gen_tns_all8_12c.py0variable-length unsigned integer in the oracle ub4 form.STRING
HIGHtest/captures/_gen_tns_all8_nosql.py0variable-length unsigned integer in the oracle ub4 form.STRING
HIGHtest/captures/_gen_tns_warn_flags.py0variable-length unsigned integer in the oracle ub4 form.STRING
HIGHtest/captures/_gen_tns_oci_status.py0variable-length unsigned integer in the oracle ub4 form.STRING
HIGHtest/captures/_gen_tns_out_binds.py0variable-length unsigned integer in the oracle ub4 form.STRING
HIGHtest/captures/_gen_tns_accept_flags2.py0variable-length unsigned integer in the oracle ub4 form.STRING
HIGHtest/captures/_gen_tns_actual_length.py0variable-length unsigned integer in the oracle ub4 form.STRING
HIGHtest/captures/_gen_tns_binary_integer.py0variable-length unsigned integer in the oracle ub4 form.STRING
HIGHtest/captures/_gen_tns_parse.py0variable-length unsigned integer in the oracle ub4 form.STRING
HIGHtest/captures/_gen_tns_json_column.py0variable-length unsigned integer in the oracle ub4 form.STRING
HIGHtest/captures/_gen_tns_nchar.py0variable-length unsigned integer in the oracle ub4 form.STRING
HIGHtest/captures/_gen_tns_lob_binds.py0variable-length unsigned integer in the oracle ub4 form.STRING
HIGHtest/captures/_gen_tns_define.py0variable-length unsigned integer in the oracle ub4 form.STRING
HIGHtest/captures/_gen_tns_al8i4.py0variable-length unsigned integer in the oracle ub4 form.STRING
HIGHtest/captures/_gen_tns_lob_column.py0variable-length unsigned integer in the oracle ub4 form.STRING
HIGHtest/captures/_gen_tns_token.py0variable-length unsigned integer in the oracle ub4 form.STRING
HIGHtest/captures/_gen_tns_vector.py0variable-length unsigned integer in the oracle ub4 form.STRING
HIGHtest/captures/_gen_tns_aq.py0variable-length unsigned integer in the oracle ub4 form.STRING
HIGHtest/captures/_gen_tns_timestamp_tz.py0variable-length unsigned integer in the oracle ub4 form.STRING
HIGHtest/captures/_gen_tns_bvc.py0variable-length unsigned integer in the oracle ub4 form.STRING
HIGHtest/captures/_gen_tns_dty_12c.py0variable-length unsigned integer in the oracle ub4 form.STRING
HIGHtest/captures/_gen_tns_walk.py0variable-length unsigned integer in the oracle ub4 form.STRING
HIGHtest/captures/_gen_tns_oer_server_fv.py0variable-length unsigned integer in the oracle ub4 form.STRING
HIGHtest/captures/_gen_tns_piggybacks.py0variable-length unsigned integer in the oracle ub4 form.STRING
HIGHtest/captures/_gen_tns_fetch.py0variable-length unsigned integer in the oracle ub4 form.STRING
HIGHtest/captures/_gen_tns_oci_12c.py0variable-length unsigned integer in the oracle ub4 form.STRING
413 more matches not shown…
Decorative Section Separators429 hits · 1042 pts
SeverityFileLineSnippetContext
MEDIUMCMakeLists.txt4936# -----------------------------------------------------------------------------COMMENT
MEDIUMCMakeLists.txt4938# -----------------------------------------------------------------------------COMMENT
MEDIUMpackaging/macosx/osx-extras.sh13#----------------------------------------------------------COMMENT
MEDIUMpackaging/macosx/osx-extras.sh30#----------------------------------------------------------COMMENT
MEDIUMui/qt/sequence_diagram.h74 // ── Getters ──────────────────────────────────────────────────────────COMMENT
MEDIUMui/qt/sequence_diagram.h89 // ── Setters ──────────────────────────────────────────────────────────COMMENT
MEDIUMui/qt/sequence_diagram.h98 // ── Queries ──────────────────────────────────────────────────────────COMMENT
MEDIUMui/qt/sequence_diagram.h122 // ── Reimplemented virtual methods ─────────────────────────────────────COMMENT
MEDIUMui/qt/models/profile_model.h290 // ── QAbstractItemModel interface ──────────────────────────────────────COMMENT
MEDIUMui/qt/models/profile_model.h343 // ── Mutation helpers ──────────────────────────────────────────────────COMMENT
MEDIUMui/qt/models/profile_model.h358 // ── Lookup ────────────────────────────────────────────────────────────COMMENT
MEDIUMui/qt/widgets/info_banner_widget.h344 // ── Layout constants ──────────────────────────────────────────────────COMMENT
MEDIUMui/qt/widgets/hex_data_source_view.h82 // ── Selection accessors ───────────────────────────────────────────────COMMENT
MEDIUMui/qt/widgets/hex_data_source_view.h129 // ── Offset marker accessors ───────────────────────────────────────────COMMENT
MEDIUMui/qt/widgets/hex_data_source_view.h160 // ── Selected-field metadata accessors ────────────────────────────────COMMENT
MEDIUMui/qt/widgets/hex_data_source_view.h599 // ── Column layout helpers ─────────────────────────────────────────────COMMENT
MEDIUMui/qt/widgets/hex_data_source_view.h626 // ── Constants ─────────────────────────────────────────────────────────COMMENT
MEDIUMui/qt/widgets/hex_data_source_view.h631 // ── State ─────────────────────────────────────────────────────────────COMMENT
MEDIUMtools/gen-mctp-control-test-capture.py62# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/gen-mctp-control-test-capture.py64# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/gen-mctp-control-test-capture.py91# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/gen-mctp-control-test-capture.py93# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/gen-mctp-control-test-capture.py101# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/gen-mctp-control-test-capture.py103# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/gen-mctp-control-test-capture.py114# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/gen-mctp-control-test-capture.py116# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/checkfiltername.pl316#--------------------------------------------------------------------COMMENT
MEDIUMtools/checkfiltername.pl324#--------------------------------------------------------------------COMMENT
MEDIUMtools/checkfiltername.pl368#--------------------------------------------------------------------COMMENT
MEDIUMtools/checkfiltername.pl373#--------------------------------------------------------------------COMMENT
MEDIUMtools/checkfiltername.pl456#--------------------------------------------------------------------COMMENT
MEDIUMtools/checkfiltername.pl461#--------------------------------------------------------------------COMMENT
MEDIUMtools/checkfiltername.pl493# ---------------------------------------------------------------------COMMENT
MEDIUM⚡tools/gen-nvme-mi-test-capture.py197# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/gen-nvme-mi-test-capture.py199# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/gen-nvme-mi-test-capture.py213# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/gen-nvme-mi-test-capture.py215# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/gen-nvme-mi-test-capture.py342# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/gen-nvme-mi-test-capture.py344# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/gen-nvme-mi-test-capture.py448# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/gen-nvme-mi-test-capture.py450# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/gen-nvme-mi-test-capture.py1202# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/gen-nvme-mi-test-capture.py1204# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/gen-nvme-mi-test-capture.py1302# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/gen-nvme-mi-test-capture.py1304# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/gen-nvme-mi-test-capture.py1466# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/gen-nvme-mi-test-capture.py1468# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/gen-nvme-mi-test-capture.py1786# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/gen-nvme-mi-test-capture.py1788# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/gen-nvme-mi-test-capture.py2108# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/gen-nvme-mi-test-capture.py2110# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/gen-nvme-mi-test-capture.py2303# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/gen-nvme-mi-test-capture.py2305# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/gen-nvme-mi-test-capture.py3019# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/gen-nvme-mi-test-capture.py3021# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/gen-nvme-mi-test-capture.py3203# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/gen-nvme-mi-test-capture.py3205# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/gen-nvme-mi-test-capture.py3738# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/gen-nvme-mi-test-capture.py3741# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/gen-nvme-mi-test-capture.py4018# ---------------------------------------------------------------------------COMMENT
369 more matches not shown…
Cross-Language Confusion195 hits · 995 pts
SeverityFileLineSnippetContext
HIGHtools/gen-nvme-mi-test-capture.py1366# F6 dev -> BMC MI response src EID 0x1E, dst EID 0 (host still null), tag=1COMMENT
HIGHtools/dissector_generators/idl2wrs_gen.py1985 && (!idlname || strcmp(idlname, \"@interface@\") == 0)) {CODE
HIGHtools/dissector_generators/idl2wrs_gen.py2171if (u_octet4_loop_@seqname@ > 0 && tree) {CODE
HIGHtools/dissector_generators/generate_skinny.py803 ret += self.indent_out('if (si->%s && si->%s) {\n' %(params[0], params[1]))CODE
HIGHtools/dissector_generators/generate_skinny.py854 ret += self.indent_out('if (%s && tvb_get_letohl(ptvcursor_tvbuff(cursor), 0) + 8 >= ptvcursor_cCODE
HIGHtools/dissector_generators/generate_skinny.py856 ret += self.indent_out('if (%s && tvb_get_letohl(ptvcursor_tvbuff(cursor), 0) + 8 >= ptvcursor_cCODE
HIGH⚡test/suite_dissection_tcg_storage.py331 'tcg-storage || tcg-storage.l0.length'CODE
HIGH⚡test/suite_dissection_tcg_storage.py332 ' || tcg-storage.compacket.comid || tcg-storage.comid_mgmt.comid')CODE
HIGH⚡test/suite_dissection_tcg_storage.py465 'tcg-storage.truncated || tcg-storage.length_overrun'CODE
HIGHtest/suite_dissection_tcg_storage.py525 'frame.number == 10 && tcg-storage.l0.feat.code == 0x0310'CODE
HIGH⚡test/suite_dissection_mctp_smbus.py113 '-Y', 'frame.number == 1 && mctp.smbus.dst_addr == 0x20',CODE
HIGH⚡test/suite_dissection_mctp_smbus.py122 '-Y', 'frame.number == 1 && mctp.smbus.rw == 0',CODE
HIGH⚡test/suite_dissection_mctp_smbus.py131 '-Y', 'frame.number == 1 && mctp.smbus.command_code == 0x0f',CODE
HIGH⚡test/suite_dissection_mctp_smbus.py140 '-Y', 'frame.number == 1 && mctp.smbus.byte_count == 8',CODE
HIGH⚡test/suite_dissection_mctp_smbus.py149 '-Y', 'frame.number == 1 && mctp.smbus.src_addr == 0x40',CODE
HIGH⚡test/suite_dissection_mctp_smbus.py158 '-Y', 'frame.number == 1 && mctp.smbus.src_mctp_flag == 1',CODE
HIGH⚡test/suite_dissection_mctp_smbus.py171 '-Y', 'frame.number == 1 && mctp.smbus.pec',CODE
HIGH⚡test/suite_dissection_mctp_smbus.py180 '-Y', 'frame.number == 2 && mctp.smbus.pec',CODE
HIGH⚡test/suite_dissection_mctp_smbus.py189 '-Y', 'frame.number == 2 && mctp.smbus.pec == 0x60',CODE
HIGH⚡test/suite_dissection_mctp_smbus.py202 '-Y', 'frame.number == 1 && mctp.dst == 0x20',CODE
HIGH⚡test/suite_dissection_mctp_smbus.py211 '-Y', 'frame.number == 1 && mctp.src == 0x40',CODE
HIGH⚡test/suite_dissection_mctp_smbus.py238 '-Y', 'frame.number == 3 && mctp.smbus',CODE
HIGH⚡test/suite_dissection_mctp_smbus.py247 '-Y', 'frame.number == 4 && mctp.smbus',CODE
HIGH⚡test/suite_dissection_mctp_smbus.py256 '-Y', 'frame.number == 5 && mctp.smbus',CODE
HIGH⚡test/suite_dissection_mctp_smbus.py271 '-Y', 'frame.number == 6 && mctp.smbus && mctp.flags.som && mctp.flags.eom == 0',CODE
HIGH⚡test/suite_dissection_mctp_smbus.py280 '-Y', 'frame.number == 7 && mctp.smbus && mctp.flags.som == 0 && mctp.flags.eom',CODE
HIGH⚡test/suite_dissection_mctp_smbus.py289 '-Y', 'frame.number == 7 && mctp.smbus.pec == 0xfe ' +CODE
HIGH⚡test/suite_dissection_mctp_smbus.py299 '-Y', 'frame.number == 7 && nvme-mi.mi.opcode == 0x01',CODE
HIGH⚡test/suite_dissection_mctp_smbus.py308 '-Y', 'frame.number == 8 && mctp.smbus',CODE
HIGH⚡test/suite_dissection_mctp_smbus.py317 '-Y', 'frame.number == 8 && nvme-mi.ror == 1',CODE
HIGH⚡test/suite_dissection_mctp_smbus.py326 '-Y', 'frame.number == 8 && nvme-mi.response_to',CODE
HIGH⚡test/suite_dissection_mctp_smbus.py351 '-Y', 'frame.number == 9 && mctp.smbus',CODE
HIGH⚡test/suite_dissection_mctp_smbus.py360 '-Y', 'frame.number == 9 && mctp.smbus.length_mismatch',CODE
HIGH⚡test/suite_dissection_mctp_smbus.py369 '-Y', 'frame.number == 9 && mctp.dst == 0x20',CODE
HIGH⚡test/suite_dissection_mctp_smbus.py451 '-Y', 'frame.number == 16 && mctp.dst == 0x20',CODE
HIGH⚡test/suite_dissection_mctp_smbus.py471 '-Y', 'frame.number == 10 && mctp.smbus',CODE
HIGH⚡test/suite_dissection_mctp_smbus.py480 '-Y', 'frame.number == 10 && i2c',CODE
HIGH⚡test/suite_dissection_mctp_smbus.py537 '-Y', 'frame.number == 13 || frame.number == 14',CODE
HIGH⚡test/suite_dissection_mctp_smbus.py556 '-Y', 'frame.number == 13 || frame.number == 14',CODE
HIGH⚡test/suite_dissection_mctp_smbus.py574 '-Y', 'nvme-mi && frame.number >= 11',CODE
HIGH⚡test/suite_dissection_mctp_smbus.py604 '-Y', 'frame.number == 15 && mctpc.command == 0x0a',CODE
HIGHtest/suite_dissection_mctp_smbus.py386 '-Y', 'frame.number == 9 && mctp.smbus.pec == 0x60 ' +CODE
HIGHtest/suite_dissection_mctp_smbus.py516 '-Y', 'frame.number >= 11 && frame.number <= 14',CODE
HIGHtest/suite_dissectors_coap_eap.py71 "-Y", "coap_eap && eap.code == 4",CODE
HIGH⚡test/suite_dissectors_coap_eap.py106 "-Y", "coap_eap && udp.port == 1812",CODE
HIGHtest/suite_decryption.py73 '-Y', 'wlan.fixed.reason_code == 2 || wlan.fixed.category_code == 3',CODE
HIGHtest/suite_decryption.py83 '-Y', 'wlan.analysis.tk == 4e30e8c019bea43ea5262b10853b818d || wlan.analysis.gtk == 70cdbf2e5bc0ca22e539CODE
HIGHtest/suite_decryption.py95 '-Y', 'wlan.analysis.tk == 79712dd69a793c86a04b51e6aab91690 || wlan.analysis.gtk == c72aa2501e3be7d774baCODE
HIGHtest/suite_decryption.py116 '-Y', 'wlan.analysis.tk == 20a2e28f4329208044f4d7edca9e20a6 || wlan.analysis.gtk == 1fc82f8813160031d6bfCODE
HIGHtest/suite_decryption.py127 '-Y', 'wlan.analysis.tk == f0d79982c2a678693b44bbfde2eee36b76d9ac7bcb270b55d4858a70a18ef3a0 || wlan.analCODE
HIGHtest/suite_decryption.py137 '-Y', 'wlan.analysis.tk == 10f3deccc00d5c8f629fba7a0fff34aa || wlan.analysis.gtk == 016b04ae9e6050bcc1f9CODE
HIGHtest/suite_decryption.py148 '-Y', 'wlan.analysis.tk == 6523749ac51e4c11cdf9e53f1e8ba7c3 || wlan.analysis.tk == b1883005f85f80d7e8bbbCODE
HIGHtest/suite_decryption.py216 '-Y', 'wlan.analysis.tk == 4e6abbcf9dc0943936700b6825952218f58a47dfdf51dbb8ce9b02fd7d2d9e40 || wlan.analCODE
HIGHtest/suite_decryption.py228 '-Y', 'wlan.analysis.tk == 755a9c1c9e605d5ff62849e4a17a935c || wlan.analysis.gtk == 7ff30f7a8dd67950eaafCODE
HIGHtest/suite_decryption.py240 '-Y', 'wlan.analysis.tk == b3dc2ff2d88d0d34c1ddc421cea17f304af3c46acbbe7b6d808b6ebf1b98ec38 || wlan.analCODE
HIGHtest/suite_decryption.py252 '-Y', 'wlan.analysis.tk == ba60c7be2944e18f31949508a53ee9d6 || wlan.analysis.gtk == 6eab6a5f8d880f81104eCODE
HIGHtest/suite_decryption.py271 '-Y', 'wlan.analysis.tk == ba60c7be2944e18f31949508a53ee9d6 || wlan.analysis.gtk == 6eab6a5f8d880f81104eCODE
HIGHtest/suite_decryption.py287 '-Y', 'wlan.analysis.tk == 65471b64605bf2a04af296284cb4ae2a || wlan.analysis.gtk == 1783a5c28e046df6fb58CODE
HIGHtest/suite_decryption.py298 '-Y', 'wlan.analysis.tk == 8c75edf396af8dea241eb72b2793489b || wlan.analysis.gtk == a31a5307ed7b250603cfCODE
HIGHtest/suite_decryption.py313 '-Y', 'wlan.analysis.tk == f6477a5a12c6be6fd59832069d25c075 || wlan.analysis.gtk == 7dc25192472b45987045CODE
135 more matches not shown…
Hyper-Verbose Identifiers743 hits · 604 pts
SeverityFileLineSnippetContext
LOWtools/generate_authors.py86def generate_git_contributors_text(contributors_emails, git_authors_emails):CODE
LOWtools/indexcap.py28def extract_protos_from_file_proces(tshark, file):CODE
LOWtools/make-iana-constants.py219def generate_afnum_header_data(file, afnum_data):CODE
LOWtools/make-iana-constants.py245def generate_afnum_source_data(file, afnum_data):STRING
LOWtools/make-iana-constants.py301def generate_ipproto_header_data(file, ipproto_data):STRING
LOWtools/make-iana-constants.py332def generate_ipproto_source_data(file, ipproto_data):STRING
LOWtools/make-iana-constants.py431def generate_enterprise_header_data(file):STRING
LOWtools/make-iana-constants.py441def generate_enterprise_source_data(file, enterprise_data, last_updated):STRING
LOWtools/make-iana-constants.py517def generate_service_source_data(file, data):STRING
LOW⚡tools/gen-nvme-mi-test-capture.py209def mi_response_payload_with_data(status, data, nmresp=0):CODE
LOW⚡tools/gen-nvme-mi-test-capture.py338def admin_response_payload_short(status):CODE
LOW⚡tools/gen-nvme-mi-test-capture.py1194def build_admin_decode_pcapng(output_path):CODE
LOW⚡tools/gen-nvme-mi-test-capture.py1294def build_typemismatch_pcapng(output_path):CODE
LOW⚡tools/gen-nvme-mi-test-capture.py1458def build_reserved_type_pcapng(output_path):CODE
LOW⚡tools/gen-nvme-mi-test-capture.py1777def build_admin_identify_pcapng(output_path):CODE
LOW⚡tools/gen-nvme-mi-test-capture.py2099def build_admin_logpage_pcapng(output_path):CODE
LOW⚡tools/gen-nvme-mi-test-capture.py2294def build_admin_features_pcapng(output_path):CODE
LOW⚡tools/gen-nvme-mi-test-capture.py3010def build_admin_logpage_windowed_pcapng(output_path):CODE
LOW⚡tools/gen-nvme-mi-test-capture.py3194def build_features_windowed_pcapng(output_path):CODE
LOW⚡tools/gen-nvme-mi-test-capture.py3729def build_admin_security_pcapng(output_path):CODE
LOW⚡tools/gen-nvme-mi-test-capture.py4009def build_tcg_atom_classes_pcapng(output_path):CODE
LOW⚡tools/gen-nvme-mi-test-capture.py4119def build_tcg_malformed_pcapng(output_path):CODE
LOWtools/gen-nvme-mi-test-capture.py983def build_comprehensive_pcapng(output_path):CODE
LOWtools/gen-nvme-mi-test-capture.py1648def _identify_ctrl_latency_data():CODE
LOWtools/gen-nvme-mi-test-capture.py3422def _tcg_atom_header_selfcheck(header, want_byte_flag, want_sign_flag, want_data_len,CODE
LOWtools/make-wsluarm.py240def extract_class_definitions(c_file, c_buf, module, classes, functions):STRING
LOW⚡tools/make-wsluarm.py256def extract_function_definitions(c_file, c_buf, module, classes, functions):STRING
LOW⚡tools/make-wsluarm.py261def extract_constructor_definitions(c_file, c_buf, module, classes, functions):STRING
LOW⚡tools/make-wsluarm.py269def extract_constructor_markups(c_file, c_buf, module, classes, functions):STRING
LOW⚡tools/make-wsluarm.py277def extract_method_definitions(c_file, c_buf, module, classes, functions):STRING
LOW⚡tools/make-wsluarm.py285def extract_metamethod_definitions(c_file, c_buf, module, classes, functions):STRING
LOW⚡tools/make-wsluarm.py293def extract_attribute_markups(c_file, c_buf, module, classes, functions):STRING
LOWtools/detect_bad_proto_tree_add.py126def remove_argument_by_position(func_str, target_index):CODE
LOWtools/detect_bad_proto_tree_add.py240def replace_argument_by_position(func_str, target_index, new_value):CODE
LOWtools/pkt-from-core.py274def get_byte_array_from_frame(frame_num, variable, length):CODE
LOWtools/check_typed_item_calls.py290def check_call_enc_matches_item(items_defined, call, api_check, result):CODE
LOWtools/check_typed_item_calls.py661def is_ignored_consecutive_filter(filter):CODE
LOWtools/check_typed_item_calls.py1779 def check_mask_if_in_field_array(self, mask, field_arrays):CODE
LOWtools/check_typed_item_calls.py1872 def check_consecutive_item_calls(self, lines, result):CODE
LOWtools/check_typed_item_calls.py1988def check_filename_in_first_line(filename, result, line):CODE
LOWtools/check_typed_item_calls.py2143def find_item_extern_declarations(filename, lines):CODE
LOWtools/check_typed_item_calls.py2273def check_reassembly_registered(filename, contents_no_comments, result):CODE
LOWtools/validate-commit.py31def print_git_user_instructions():CODE
LOWtools/make-version.py126def update_attributes_asciidoc(src_dir, repo_data):CODE
LOWtools/sharkd_shell.py231 def ask_for_command_and_run_it(self):CODE
LOWtools/check_apis.py381def check_apis_called_with_tvb_get_ptr(api_list, file_contents, found_apis):CODE
LOWtools/check_apis.py404def check_snprintf_plus_strlen(file_contents, filename, result):CODE
LOWtools/check_apis.py424def check_value_string_arrays(file_contents, filename, debug_flag, result):CODE
LOW⚡tools/dissector_generators/yacc.py2213 def compute_nullable_nonterminals(self):STRING
LOW⚡tools/dissector_generators/yacc.py2242 def find_nonterminal_transitions(self, C):STRING
LOWtools/dissector_generators/yacc.py2329 def compute_lookback_includes(self, C, trans, nullable):STRING
LOWtools/dissector_generators/asn2wrs.py757 def eth_get_type_attr_from_all(self, type, module):CODE
LOWtools/dissector_generators/asn2wrs.py1083 def eth_dummy_eag_field_required(self):CODE
LOWtools/dissector_generators/asn2wrs.py6230def import_symbols_from_module(module, symbol_list):CODE
LOWtools/dissector_generators/generate-sysdig-event.py186def param_to_value_string_name(param):CODE
LOWtools/asterix/generate_dissector.py63def get_non_spare_from_data_item(db, cat, ed_major, ed_minor, data_item):STRING
LOWtools/asterix/generate_dissector.py231def data_field_add_field_array(db, nonspare, variation, var_name):STRING
LOWtools/asterix/generate_dissector.py346def generate_re_data_field_function(db, cat, ed_major, ed_minor, data_field, data_field_index, fspec_len, name_suffix):STRING
LOWtools/asterix/generate_dissector.py373def generate_uap_data_field_function(db, cat, ed_major, ed_minor, data_field, uap_index, variation = None, name_suffix =STRING
LOWtools/asterix/generate_dissector.py644def generate_table_entry_index(cat, ed_major, ed_minor, enum_index_start, enum_index_end):STRING
683 more matches not shown…
Empty Error Handlers36 hits · 180 pts
SeverityFileLineSnippetContext
HIGHextcap/ubxdump.py469except KeyboardInterrupt:CODE
HIGHtools/weekly-updates.py172except KeyError:CODE
HIGHtools/weekly-updates.py185except KeyError:CODE
HIGHtools/weekly-updates.py194except KeyError:CODE
HIGHtools/make-wsluarm.py97except StopIteration:CODE
HIGHtools/make-manuf.py28except ImportError:CODE
HIGHtools/pkt-from-core.py230except FileNotFoundError:CODE
HIGHtools/pkt-from-core.py365except FileNotFoundError:CODE
HIGHtools/pkt-from-core.py222except FileNotFoundError:CODE
HIGHtools/pkt-from-core.py198except FileNotFoundError:CODE
HIGHtools/pkt-from-core.py212except FileNotFoundError:CODE
HIGHtools/pkt-from-core.py345except FileNotFoundError:CODE
HIGHtools/pkt-from-core.py358except FileNotFoundError:CODE
HIGHtools/check_typed_item_calls.py2001except RuntimeError:CODE
HIGHtools/check_typed_item_calls.py78except ValueError:CODE
HIGHtools/check_static.py119except ValueError: # Wanted to capture SIGINT ideally..CODE
HIGHtools/check_static.py209except RuntimeError: # Wanted to capture SIGINT ideally..CODE
HIGHtools/check_spelling.py474except RuntimeError:CODE
HIGHtools/dissector_generators/yacc.py152except NameError:CODE
HIGHtools/dissector_generators/yacc.py3261except ImportError:CODE
HIGHtools/dissector_generators/yacc.py2941except (TypeError, ValueError):CODE
HIGHtools/dissector_generators/yacc.py1529except SyntaxError:CODE
HIGHtools/dissector_generators/yacc.py3162except IndexError:CODE
HIGHtools/dissector_generators/generate-isobus-data.py138except Exception:CODE
HIGHtools/dissector_generators/lex.py893except ImportError:CODE
HIGHtools/dissector_generators/asn2wrs.py674except (ValueError, TypeError):CODE
HIGHtools/dissector_generators/asn2wrs.py690except (ValueError, TypeError):CODE
HIGHtools/dissector_generators/asn2wrs.py1642except (TypeError):CODE
HIGHtools/dissector_generators/asn2wrs.py3834except TypeError:CODE
HIGHtools/dissector_generators/asn2wrs.py3845except TypeError:CODE
HIGHtest/suite_capture.py140except Exception:CODE
HIGHtest/suite_capture.py370except Exception:CODE
HIGHtest/conftest.py315except KeyError:CODE
HIGHtest/suite_clopts.py348except AttributeError:CODE
HIGHdoc/extcap_example.py555except KeyboardInterrupt:CODE
HIGHepan/wslua/make-taps.py149except KeyError:CODE
Deep Nesting183 hits · 144 pts
SeverityFileLineSnippetContext
LOWextcap/ubxdump.py321CODE
LOWtools/generate_authors.py59CODE
LOWtools/check_val_to_str.py48CODE
LOWtools/generate_cbor_pcap.py29CODE
LOWtools/generate_json_translations.py32CODE
LOWtools/delete_includes.py166CODE
LOWtools/delete_includes.py320CODE
LOWtools/make-authors-csv.py17CODE
LOWtools/weekly-updates.py137CODE
LOWtools/make-iana-constants.py388CODE
LOWtools/make-iana-constants.py468CODE
LOWtools/make-iana-constants.py584CODE
LOWtools/make-wsluarm.py36CODE
LOWtools/make-wsluarm.py293CODE
LOWtools/make-wsluarm.py316CODE
LOWtools/checklicenses.py164CODE
LOWtools/generate-dissector-lists.py108CODE
LOWtools/check_dissector_urls.py126CODE
LOWtools/detect_bad_proto_tree_add.py64CODE
LOWtools/pkt-from-core.py234CODE
LOWtools/pkt-from-core.py274CODE
LOWtools/pkt-from-core.py426CODE
LOWtools/rdps.py67CODE
LOWtools/check_typed_item_calls.py290CODE
LOWtools/check_typed_item_calls.py1211CODE
LOWtools/check_typed_item_calls.py2075CODE
LOWtools/check_typed_item_calls.py2179CODE
LOWtools/check_typed_item_calls.py2284CODE
LOWtools/check_typed_item_calls.py58CODE
LOWtools/check_typed_item_calls.py343CODE
LOWtools/check_typed_item_calls.py483CODE
LOWtools/check_typed_item_calls.py524CODE
LOWtools/check_typed_item_calls.py815CODE
LOWtools/check_typed_item_calls.py977CODE
LOWtools/check_typed_item_calls.py1527CODE
LOWtools/check_typed_item_calls.py1576CODE
LOWtools/check_typed_item_calls.py1689CODE
LOWtools/check_typed_item_calls.py1709CODE
LOWtools/check_typed_item_calls.py1754CODE
LOWtools/check_typed_item_calls.py1872CODE
LOWtools/validate-commit.py267CODE
LOWtools/check_tfs.py315CODE
LOWtools/check_tfs.py204CODE
LOWtools/check_static.py51CODE
LOWtools/check_static.py144CODE
LOWtools/make-version.py174CODE
LOWtools/sharkd_shell.py52CODE
LOWtools/sharkd_shell.py127CODE
LOWtools/sharkd_shell.py196CODE
LOWtools/sharkd_shell.py242CODE
LOWtools/check_apis.py424CODE
LOWtools/check_apis.py673CODE
LOWtools/check_apis.py691CODE
LOWtools/check_apis.py792CODE
LOWtools/check_apis.py1033CODE
LOWtools/check_spelling.py305CODE
LOWtools/check_spelling.py363CODE
LOWtools/check_spelling.py145CODE
LOWtools/check_spelling.py168CODE
LOWtools/WiresharkXML.py218CODE
123 more matches not shown…
Self-Referential Comments44 hits · 79 pts
SeverityFileLineSnippetContext
MEDIUM.gitlab-ci.yml1436 # This file is popular but the data itself is only updated once a week. Please don'tCOMMENT
MEDIUMui/recent.c916 "# This file is regenerated each time %s is quit\n"CODE
MEDIUMui/recent.c1114 "# This file is regenerated each time %s is quit\n"CODE
MEDIUMui/language.c140 "# This file is regenerated each time Wireshark is quit.\n"CODE
MEDIUMui/qt/sctp_chunk_statistics_dialog.cpp249 fprintf(fp,"# This file is automatically generated, DO NOT MODIFY.\n");CODE
MEDIUMtools/fix-encoding-args.pl233 # Create a hash of the hf[] entries (name_index_name=>field_type)COMMENT
MEDIUMtools/fix-encoding-args.pl280# Create a hash containing an entry (hf_index_name => field_type) for each hf[]entry.COMMENT
MEDIUMtools/fix-encoding-args.pl314 # Create a hash keyed by the hf_index_name with the associated value being the field_typeCOMMENT
MEDIUMtools/pkt-from-core.py180 # Create a temporary fileCOMMENT
MEDIUMtools/pkt-from-core.py317 # Create a temporary fileCOMMENT
MEDIUMtools/test-common.sh101# Create an error reportCOMMENT
MEDIUMtools/make-plugin-reg.py35# Create the proper list of filenamesSTRING
MEDIUMtools/check_spelling.py304# Create a File object that knows about all of the strings in the given file.COMMENT
MEDIUMtools/WiresharkXML.py271 # Create a parserCOMMENT
MEDIUMtools/WiresharkXML.py274 # Create the handlerCOMMENT
MEDIUMtools/dissector_generators/yacc.py2695# This file is automatically generated. Do not edit.COMMENT
MEDIUM⚡tools/dissector_generators/yacc.py159# The following classes are used for the LR parser itself. These are notSTRING
MEDIUM⚡tools/dissector_generators/yacc.py164# This class is used to hold non-terminal grammar symbols during parsing.STRING
MEDIUM⚡tools/dissector_generators/yacc.py1237# The following functions, classes, and variables are used to represent andSTRING
MEDIUM⚡tools/dissector_generators/yacc.py1424# The following class represents the contents of the specified grammar alongSTRING
MEDIUM⚡tools/dissector_generators/yacc.py1993# The following classes and functions are used to generate LR parsing tables onSTRING
MEDIUM⚡tools/dissector_generators/yacc.py2054# This class implements the LR table generation algorithm. There are noSTRING
MEDIUM⚡tools/dissector_generators/yacc.py2830# The following functions and classes are used to implement the PLYSTRING
MEDIUM⚡tools/dissector_generators/yacc.py2891# This class represents information extracted for building a parser includingSTRING
MEDIUMtools/dissector_generators/yacc.py180# This class is a wrapper around the objects actually passed to eachSTRING
MEDIUMtools/dissector_generators/yacc.py618 # Create the error symbol for the first time and make it the new lookahead symbolSTRING
MEDIUMtools/dissector_generators/yacc.py924 # Create the error symbol for the first time and make it the new lookahead symbolSTRING
MEDIUMtools/dissector_generators/yacc.py1211 # Create the error symbol for the first time and make it the new lookahead symbolSTRING
MEDIUMtools/dissector_generators/yacc.py1284 # Create a list of unique production symbols used in the productionSTRING
MEDIUMtools/dissector_generators/yacc.py1294 # Create a string representationSTRING
MEDIUMtools/dissector_generators/yacc.py1365# This class represents a specific stage of parsing a production rule. ForSTRING
MEDIUMtools/dissector_generators/yacc.py1574 # Create a production and add it to the list of productionsSTRING
MEDIUMtools/dissector_generators/yacc.py3285 # Create a grammar objectSTRING
MEDIUM⚡tools/dissector_generators/lex.py531# This class represents information needed to build a lexer as extracted from aCOMMENT
MEDIUMtools/dissector_generators/lex.py301 # Create a token for returnCOMMENT
MEDIUMtools/dissector_generators/idl2wrs_gen.py9# This file is a backend to "omniidl", used to generate "Wireshark"COMMENT
MEDIUMtools/dissector_generators/idl2wrs_be.py9# This file is a backend to "omniidl", used to generate "Wireshark"COMMENT
MEDIUM⚡tools/dissector_generators/generate-ncp2222.py8608 # Create the output fileSTRING
MEDIUMdoc/extcap_example.py547 # The following code demonstrates error management with extcapCOMMENT
MEDIUMepan/decode_as.c416 "# This file is regenerated each time \"Decode As\" preferences\n"CODE
MEDIUMepan/prefs.c6846 "# This file is regenerated each time preferences are saved within\n"CODE
MEDIUMepan/prefs.c6917 "# This file is regenerated each time preferences are saved within\n"CODE
MEDIUMepan/disabled_protos.c1034 "#This file is for enabling protocols that are disabled by default",CODE
MEDIUMepan/uat.c454 fprintf(fp,"# This file is automatically generated. BE CAREFUL MODIFYING.\n");CODE
AI Structural Patterns47 hits · 43 pts
SeverityFileLineSnippetContext
LOWtools/gen-nvme-mi-test-capture.py297CODE
LOWtools/gen-nvme-mi-test-capture.py1838CODE
LOWtools/gen-nvme-mi-test-capture.py1874CODE
LOWtools/generate-dissector.py82CODE
LOWtools/check_typed_item_calls.py2284CODE
LOWtools/dissector_generators/yacc.py102CODE
LOWtools/dissector_generators/yacc.py3173CODE
LOWtools/dissector_generators/lex.py836CODE
LOWtools/dissector_generators/idl2wrs_gen.py1798CODE
LOWtools/dissector_generators/asn2wrs.py3224CODE
LOWtools/dissector_generators/generate-ncp2222.py1030CODE
LOWtest/captures/_gen_tns_bc_date.py73CODE
LOWtest/captures/_gen_tns_ano.py73CODE
LOWtest/captures/_gen_tns_cursor_fetch.py70CODE
LOWtest/captures/_gen_tns_long_bind.py70CODE
LOWtest/captures/_gen_tns_fast_auth.py72CODE
LOWtest/captures/_gen_tns_oci_sql_length.py71CODE
LOWtest/captures/_gen_tns_aq_array.py74CODE
LOWtest/captures/_gen_tns_plsql_reexec.py75CODE
LOWtest/captures/_gen_tns_auth.py71CODE
LOWtest/captures/_gen_tns_create_temp.py69CODE
LOWtest/captures/_gen_tns_tpc.py69CODE
LOWtest/captures/_gen_tns_bfile.py75CODE
LOWtest/captures/_gen_tns_pro.py71CODE
LOWtest/captures/_gen_tns_warn_flags.py71CODE
LOWtest/captures/_gen_tns_accept_flags2.py70CODE
LOWtest/captures/_gen_tns_actual_length.py76CODE
LOWtest/captures/_gen_tns_parse.py75CODE
LOWtest/captures/_gen_tns_lob_binds.py77CODE
LOWtest/captures/_gen_tns_aq.py73CODE
LOWtest/captures/_gen_tns_dty_12c.py70CODE
LOWtest/captures/_gen_tns_oer_server_fv.py69CODE
LOWtest/captures/_gen_tns_oci_12c.py76CODE
LOWtest/captures/_gen_tns_pipeline.py66CODE
LOWtest/captures/_gen_tns_flush_binds.py68CODE
LOWtest/captures/_gen_tns_pipeline_flags.py71CODE
LOWtest/captures/_gen_tns_array_binds.py70CODE
LOWtest/captures/_gen_tns_fv_12_1.py73CODE
LOWtest/captures/_gen_tns_bind_framing.py68CODE
LOWtest/captures/_gen_tns_lastrowid.py69CODE
LOWtest/captures/_gen_tns_session_release.py65CODE
LOWtest/captures/_gen_tns_dty_reply.py69CODE
LOWtest/suite_dissectors/group_asterix.py119CODE
LOWtest/suite_dissectors/group_asterix.py130CODE
LOWtest/suite_dissectors/group_asterix.py150CODE
LOWtest/suite_dissectors/group_asterix.py158CODE
LOWtest/suite_dissectors/group_asterix.py170CODE
Synthetic Comment Markers4 hits · 41 pts
SeverityFileLineSnippetContext
HIGHepan/dissectors/packet-usb-ptp.h106 * SEMIAUTO-GENERATED CODE - The majority of these tables were auto-generated from tools/usb-ptp-extract-tables.plCOMMENT
HIGH⚡libpcap/pcap/dlt.h957 * FlexRay automotive bus - http://www.flexray.com/ - as requestedCOMMENT
HIGH⚡libpcap/pcap/dlt.h964 * transport - https://www.mostcooperation.com/ - as requestedCOMMENT
HIGH⚡libpcap/pcap/dlt.h971 * http://www.lin-subbus.org/ - as requested by Hannes KaelberCOMMENT
Excessive Try-Catch Wrapping37 hits · 39 pts
SeverityFileLineSnippetContext
LOWextcap/ubxdump.py295 except Exception:CODE
MEDIUMextcap/ubxdump.py286def control_read(fn):CODE
LOWtools/update-appdata.py47 except Exception:CODE
LOWtools/update-appdata.py55 except Exception:CODE
LOWtools/update-appdata.py82 except Exception:STRING
LOWtools/convert-glib-types.py136 except Exception:CODE
LOWtools/compress-pngs.py52 except Exception:CODE
LOWtools/sharkd_shell.py88 except Exception as e:CODE
LOWtools/sharkd_shell.py260 except Exception as e:CODE
MEDIUMtools/sharkd_shell.py85def wrapper(*args):CODE
LOWtools/convert-proto-init.py48 except Exception:CODE
MEDIUMtools/dissector_generators/yacc.py1957def read_pickle(self, filename):CODE
MEDIUMtools/dissector_generators/yacc.py2957def p_funcname(CODE
LOW⚡tools/dissector_generators/yacc.py2883 except Exception:STRING
LOWtools/dissector_generators/yacc.py3257 except Exception as e:STRING
LOWtools/dissector_generators/generate-isobus-data.py41 except Exception:CODE
LOWtools/dissector_generators/generate-isobus-data.py138 except Exception:CODE
LOWtools/dissector_generators/generate-isobus-data.py144 except Exception:CODE
LOWtools/dissector_generators/generate-isobus-data.py173 except Exception:STRING
LOW⚡tools/dissector_generators/lex.py494 except Exception:CODE
LOWtools/dissector_generators/generate-bacnet-data.py84 except Exception:STRING
MEDIUMtools/dissector_generators/generate-bacnet-data.py72def retrieve_vendors():CODE
LOWtools/dissector_generators/asn2wrs.py1683 except Exception:STRING
MEDIUMtools/dissector_generators/generate-usb-ptp.py198 print(f"Error: unrecognized value {value} for {subdefine}", file=sys.stderr)CODE
LOWtools/dissector_generators/generate-bluetooth-data.py187 except Exception as e:STRING
LOWtools/dissector_generators/generate-bluetooth-data.py322 except Exception as e:STRING
LOWtools/dissector_generators/generate-ncp2222.py8635 except Exception:STRING
LOWtools/dissector_generators/generate-sysdig-event.py52 except Exception:CODE
MEDIUMtools/os_setup/msys2checkdeps.py31 print("Error: " + msg, file=sys.stderr)CODE
LOWtools/os_setup/msys2checkdeps.py42 except Exception as e:CODE
MEDIUMtools/os_setup/msys2checkdeps.py35def call_ntldd(filename):CODE
MEDIUMtools/json2pcap/json2pcap.py557 print("Error: The specified fields by -m switch should be raw fields. " + m + " does not have _raw suffix")STRING
MEDIUMtools/json2pcap/json2pcap.py564 print("Error: The specified fields by -a switch should be raw fields. " + a + " does not have _raw suffix")STRING
LOWtest/suite_capture.py140 except Exception:CODE
LOWtest/suite_capture.py370 except Exception:CODE
LOWdoc/extcap_example.py316 except Exception:STRING
MEDIUMdoc/extcap_example.py299def control_read(fn):CODE
AI Slop Vocabulary18 hits · 36 pts
SeverityFileLineSnippetContext
LOWappveyor.yml7 # Note: if VS2017 win32 is added, just use Qt msvc2015 (binary compatible).COMMENT
MEDIUMui/qt/wireshark_dialog.cpp28// - Make our nested event loop more robust. See tryDeleteLater for details.COMMENT
MEDIUMui/qt/widgets/json_data_source_view.cpp447 // XXX Is there a more robust way to differentiate keys vs values?COMMENT
MEDIUM⚡tools/gen-nvme-mi-test-capture.py449# Build the comprehensive capture (nvme-mi-types.pcapng)COMMENT
MEDIUMtools/gen-nvme-mi-test-capture.py4262 # nvme-mi-types.pcapng — comprehensive coverage capture (frame count isCOMMENT
MEDIUMtools/fix-encoding-args.pl196# Essentially:COMMENT
MEDIUMtools/checkhf.pl286# Essentially: split the input into blocks of code or lines of #if/#if 0/etc.COMMENT
LOWtools/dissector_generators/yacc.py363 # is already set, we just use that. Otherwise, we'll pullSTRING
LOWtools/dissector_generators/yacc.py707 # is already set, we just use that. Otherwise, we'll pullSTRING
LOWtools/dissector_generators/yacc.py1013 # is already set, we just use that. Otherwise, we'll pullSTRING
LOWtools/dissector_generators/generate-dcm.py78# we just add a last column with "RET", and they can be parsed with the sameCOMMENT
LOWtools/dissector_generators/idl2wrs_gen.py475 # OR, just add a runtime GUI option to select language binding for attributes -- FSCOMMENT
LOWtools/os_setup/macos-setup.sh1522# Should we just set MAKEFLAGS instead?COMMENT
MEDIUM⚡test/suite_dissection_nvme_mi.py177 """107-frame comprehensive capture: all types, opcodes, MPR, EID, MCTPSTRING
MEDIUMwsutil/exported_pdu_tlvs.h152#define EXP_PDU_TAG_COL_PROT_TEXT 33 /**< UTF-8 text string to put in COL_PROTOCOL, one use case is in conjunction witCOMMENT
MEDIUMepan/dissectors/packet-quic.c5064 // Definitely not draft -10, set version to dummy value.COMMENT
LOWepan/dissectors/packet-dcerpc.h541#define PIDL_POLHND_USE 0x00000000 /* just use, not open or cose */COMMENT
MEDIUMepan/dissectors/packet-smb2.c1221#define REPARSE_TAG_FILTER_MANAGER 0x8000000B /* Used by filter manager test harness */COMMENT
Redundant / Tautological Comments22 hits · 29 pts
SeverityFileLineSnippetContext
LOWtools/generate_authors.py45 # Check if this is needed:COMMENT
LOWtools/check_pngs.sh4# Check if PNGs in a commit can be compressed.COMMENT
LOWtools/process-x11-xcb.pl1795# Open the files generated by process-x11-fields.pl for appendingCOMMENT
LOWtools/delete_includes.py143 # Write the file with nonsense at start.COMMENT
LOWtools/check_typed_item_calls.py1989 # Check if first line names the wrong file?COMMENT
LOWtools/check_typed_item_calls.py2023 # Check if first line names the wrong file?COMMENT
LOWtools/check_typed_item_calls.py2303 # Check if first line names the wrong file?COMMENT
LOWtools/check_static.py228 # Check if a given symbol is mentioned in headersCOMMENT
LOWtools/check_common.py59 # Open fileCOMMENT
LOWtools/dissector_generators/yacc.py2164 # Loop over the items in C and each grammar symbolsSTRING
LOWtools/dissector_generators/generate-usb-ptp.py182 # Check if subdefine starts with flavor prefix, strip it if trueCOMMENT
LOWtools/dissector_generators/generate-ncp2222.py6542 # Print the value_string'sSTRING
LOW⚡tools/dissector_generators/generate-ncp2222.py8615 # Set msg to current stdoutSTRING
LOW⚡tools/dissector_generators/generate-ncp2222.py8618 # Set stdout to the output fileSTRING
LOWtools/dissector_generators/generate-nl80211.py369 # Check if file needs updateCOMMENT
LOWtools/pidl/lib/Parse/Pidl/Wireshark/NDR.pm1440 # Check if some word appears inside a CODE blockCOMMENT
LOWtools/os_setup/rpm-setup.sh60# Check if the user is rootCOMMENT
LOWtools/os_setup/debian-setup.sh85# Check if the user is rootCOMMENT
LOWtools/os_setup/arch-setup.sh54# Check if the user is rootCOMMENT
LOWtools/os_setup/haiku-setup.sh73# Check if the user is rootCOMMENT
LOWtools/os_setup/bsd-setup.sh71# Check if the user is rootCOMMENT
LOWtools/os_setup/alpine-setup.sh45# Check if the user is rootCOMMENT
Structural Annotation Overuse13 hits · 22 pts
SeverityFileLineSnippetContext
LOWui/qt/plot_dialog.cpp225 // Step 1: Hide the axes we don't need from the default plot.COMMENT
LOWui/qt/plot_dialog.cpp248 // Step 2: Create the bottom "degenerate" plot, consisting only of theCOMMENT
LOW⚡ui/qt/plot_dialog.cpp265 // Step 3: Connect the top and bottom x axes, so that they move together.COMMENT
LOW⚡ui/qt/plot_dialog.cpp269 // Step 4: Create the default plot.COMMENT
LOWui/qt/tcp_stream_dialog.cpp1204 // Step 1 - For any old_sacks acked by last_ack,COMMENT
LOWui/qt/tcp_stream_dialog.cpp1228 // Step 2 - for any new_sacks that precede last_ack,COMMENT
LOWui/qt/tcp_stream_dialog.cpp1246 // Step 3 - for any byte ranges in remaining new_sacksCOMMENT
LOWui/qt/utils/themes/theme_parser.cpp76 // Step 1 - meta sectionCOMMENT
LOWui/qt/utils/themes/theme_parser.cpp96 // Step 2 - color sectionsCOMMENT
LOW⚡ui/qt/utils/themes/theme_parser.cpp126 // Step 3 - graphsCOMMENT
LOW⚡ui/qt/utils/themes/theme_parser.cpp136 // Step 4 - fontsCOMMENT
LOW⚡ui/qt/utils/themes/theme_parser.cpp139 // Step 5 - root keys the format does not knowCOMMENT
LOWtools/dissector_generators/yacc.py2502 # Step 1: Construct C = { I0, I1, ... IN}, collection of LR(0) itemsSTRING
Verbosity Indicators12 hits · 18 pts
SeverityFileLineSnippetContext
LOWui/tap-sctp-analysis.h136/* This variable stores the maximum chunk type valueCOMMENT
LOWui/qt/plot_dialog.cpp225 // Step 1: Hide the axes we don't need from the default plot.COMMENT
LOWui/qt/plot_dialog.cpp248 // Step 2: Create the bottom "degenerate" plot, consisting only of theCOMMENT
LOW⚡ui/qt/plot_dialog.cpp265 // Step 3: Connect the top and bottom x axes, so that they move together.COMMENT
LOW⚡ui/qt/plot_dialog.cpp269 // Step 4: Create the default plot.COMMENT
LOWtools/dissector_generators/yacc.py2502 # Step 1: Construct C = { I0, I1, ... IN}, collection of LR(0) itemsSTRING
LOWepan/dissectors/packet-ssh.c3189// the purpose of this function is to deal with all different kex methodsCOMMENT
LOWepan/dissectors/packet-btle.c2220 /* We need to check if the control procedure has been initiated. */COMMENT
LOWepan/dissectors/packet-btle.c2232 /* We need to check if we can add this frame at this indexCOMMENT
LOWepan/dissectors/packet-btle.c2282 /* We need to check if the control procedure has been initiated. */COMMENT
LOWepan/dissectors/packet-sapni.c188 /* We need to check if this is a keep-alive response, or it's part ofCOMMENT
LOWepan/dissectors/packet-f5ethtrailer.c3129/* Create a field of zeros. We need to check if the secrets, randoms, etc are all zeros and memcmpCOMMENT
Fake / Example Data17 hits · 16 pts
SeverityFileLineSnippetContext
LOWextcap_parser.c183 } else if (g_ascii_strcasecmp(arg, "placeholder") == 0) {CODE
LOWresources/protocols/json/DICTIONARY-GUIDE.txt798 "name": "John Doe",CODE
LOWdoc/extcap_example.py387 data = """Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod temporSTRING
LOWdoc/extcap_example.py387 data = """Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod temporSTRING
LOWepan/dissectors/packet-dcp-etsi.c356 uint8_t *dummy_data = (uint8_t*) wmem_alloc0 (pinfo->pool, plen);CODE
LOWepan/dissectors/packet-dcp-etsi.c357 tvbuff_t *dummytvb = tvb_new_real_data(dummy_data, plen, plen);CODE
LOWepan/dissectors/packet-xmpp-other.c764 xmpp_attr_t *fake_data = xmpp_ep_init_attr_t(pinfo->pool, element->data->value, element->offset, element->lengthCODE
LOWepan/dissectors/packet-xmpp-other.c765 g_hash_table_insert(element->attrs, (void *)"value", fake_data);CODE
LOWepan/dissectors/packet-xmpp-other.c1129 xmpp_attr_t *fake_data = xmpp_ep_init_attr_t(pinfo->pool, element->data->value, element->data->offset, element->CODE
LOWepan/dissectors/packet-xmpp-other.c1130 g_hash_table_insert(element->attrs, (void *)"value", fake_data);CODE
LOWepan/dissectors/packet-xmpp-other.c1160 xmpp_attr_t *fake_name = xmpp_ep_init_attr_t(pinfo->pool, name->data?name->data->value:"", name->offset, name->lCODE
LOWepan/dissectors/packet-xmpp-other.c1161 g_hash_table_insert(element->attrs, (void *)"name", fake_name);CODE
LOWepan/dissectors/packet-h223.c1618 /* Create a H.223 "placeholder" to remove confusion with Decode As" */COMMENT
LOWepan/dissectors/packet-xmpp-gtalk.c254 xmpp_attr_t *fake_token = xmpp_ep_init_attr_t(pinfo->pool, token->data?token->data->value:"", token->offset, tokCODE
LOWepan/dissectors/packet-xmpp-gtalk.c255 g_hash_table_insert(element->attrs, (void *)"token", fake_token);CODE
LOWepan/dissectors/packet-sane.c1714 "sane.dummy_value",CODE
LOWepan/wslua/wslua_utility.c72 author = "Jane Doe",CODE
Slop Phrases8 hits · 10 pts
SeverityFileLineSnippetContext
LOWui/qt/widgets/qcustomplot.h387// if you change anything here, don't forget to change it for older Qt versions below, too,COMMENT
LOWui/qt/widgets/qcustomplot.h416// if you change anything here, don't forget to change it for newer Qt versions above, too,COMMENT
LOWtools/dissector_generators/yacc.py3096 # Sort all of the actions by line number; make sure to stringifySTRING
LOW…sources/freedesktop/org.wireshark.Stratoshark-mime.xml26 NOTE: if you do add a MIME type here, don't forget to add it to the listCODE
LOWresources/freedesktop/org.wireshark.Wireshark-mime.xml26 NOTE: if you do add a MIME type here, don't forget to add it to the listCODE
LOWepan/dissectors/packet-sctp.c3370 * but at first don't forget to add the length of the last fragmentCOMMENT
LOWepan/dissectors/packet-wsp.c1362 * << add well-known value proto item here; don't forget to set theCOMMENT
LOWepan/dissectors/packet-wsp.c1365 * << add textual value proto item here; don't forget to set theCOMMENT
Example Usage Blocks5 hits · 8 pts
SeverityFileLineSnippetContext
LOWtools/generate_json_translations.py6# Usage:COMMENT
LOWtools/generate-dissector.py13# Example usage:COMMENT
LOWtools/wrap-ci-test.py7# Usage:COMMENT
LOWtools/check_apis.py11# Usage:COMMENT
LOWdoc/asciidoctor-macros/manarg-block/extension.rb9# Usage:COMMENT
Unused Imports2 hits · 2 pts
SeverityFileLineSnippetContext
LOWtools/generate_uet_crc_pcap.py20CODE
LOWtest/suite_statistics.py11CODE
Modern Structural Boilerplate1 hit · 1 pts
SeverityFileLineSnippetContext
LOWtools/dissector_generators/generate-vmware-hb.py37def update_dissector(c_file: str, releases: list[dict], dry_run: bool, quiet: bool) -> None:CODE