AI Slop Code RIsk Monitor

coreboot/coreboot

Read-only mirror of https://review.coreboot.org/coreboot.git. Synced every hour. We don't handle Pull Requests.

6.6 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for coreboot/coreboot, a C project with 2,807 GitHub stars. SynthScan examined 3,201,974 lines of code across 15779 source files, recording 24176 pattern matches distributed across 18 syntactic categories. The legacy adjusted pattern signal is 6.6 (Moderate 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.

6.6
Adjusted Signal
6.6
Raw Pattern Score
100%
Time Factor
2026-10-11
Last Push
2.8K
Stars
C
Language
3.2M
Lines of Code
15.8K
Files
24.2K
Pattern Hits
2026-10-12
Scan Date
0.00
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 27.6/100 · MEDIUM

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

Hallucinated Dependency & Supply Chain Risk 0.1/100 · LOW

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

Agent Over-Engineering Ratio 0.6/100 · LOW

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

PR Review Velocity Impact 31.9/100 · MEDIUM

Which changes need focused human review? 24176 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 6MEDIUM 182LOW 23988

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 24176 distinct pattern matches across 18 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 Block23845 hits · 20494 pts
SeverityFileLineSnippetContext
LOWDocumentation/gcov.txt81+# define __GCOV_KERNEL__COMMENT
LOWDocumentation/drivers/acpi_fan_control.md281#define FAN1_THRESHOLD_ON 65COMMENT
LOW…hnotes/2015-11-rebuilding-coreboot-image-generation.md161region IFD: 0 4KCOMMENT
LOW…hnotes/2015-11-rebuilding-coreboot-image-generation.md201# math expressions are wrapped with ( ),COMMENT
LOW…hnotes/2015-11-rebuilding-coreboot-image-generation.md221# also, start is given as “the end of VBLOCK_A”COMMENT
LOWDocumentation/security/vboot/index.md221the firmware signing key and the signature for the *FW_MAIN* firmware.COMMENT
LOWDocumentation/security/vboot/index.md241# src/mainboard/intel/galileo/vboot.fmd.COMMENT
LOWDocumentation/security/vboot/index.md261#COMMENT
LOWDocumentation/internals/devicetree_language.md41# | Domain/Setting | SA | IA | GT Unsliced | GT |COMMENT
LOWDocumentation/mainboard/clevo/n130wu/index.md41### WorkingCOMMENT
LOWDocumentation/lib/fw_config.md281field mask and the option value.COMMENT
LOWutil/ectool/ectool.c1/* SPDX-License-Identifier: GPL-2.0-only */COMMENT
LOWutil/ectool/ec.c1/* SPDX-License-Identifier: GPL-2.0-only */COMMENT
LOWutil/ectool/ec.h1/* SPDX-License-Identifier: GPL-2.0-only */COMMENT
LOWutil/supermicro/smcbiosinfo/smcbiosinfo.c1/* SPDX-License-Identifier: GPL-2.0-only */COMMENT
LOWutil/spdtool/spdtool.py1#!/usr/bin/env pythonCOMMENT
LOWutil/spkmodem_recv/spkmodem-recv.c1/* spkmodem-recv.c - decode spkmodem signals */COMMENT
LOWutil/inteltool/iobp.c1/* inteltool - dump all registers on an Intel CPU + chipset based system */COMMENT
LOWutil/inteltool/cpu.c1/* inteltool - dump all registers on an Intel CPU + chipset based system */COMMENT
LOWutil/inteltool/cpu.c21#define CPUID_STRUCT_EXTENDED_FEATURE_FLAGS 0x7COMMENT
LOWutil/inteltool/inteltool.c1/* inteltool - dump all registers on an Intel CPU + chipset based system */COMMENT
LOWutil/inteltool/gpio_groups.c1/* inteltool - dump all registers on an Intel CPU + chipset based system */COMMENT
LOWutil/inteltool/gpio_groups.c21#include "gpio_names/sunrise.h"COMMENT
LOWutil/inteltool/inteltool.h1/* inteltool - dump all registers on an Intel CPU + chipset based system */COMMENT
LOWutil/inteltool/inteltool.h21#include <DirectHW/DirectHW.h>COMMENT
LOWutil/inteltool/inteltool.h61#define PCI_DEVICE_ID_INTEL_ICH0 0x2420COMMENT
LOWutil/inteltool/inteltool.h81#define PCI_DEVICE_ID_INTEL_ICH10DO 0x3a14COMMENT
LOWutil/inteltool/inteltool.h101#define PCI_DEVICE_ID_INTEL_B55_B 0x3b1eCOMMENT
LOWutil/inteltool/inteltool.h121#define PCI_DEVICE_ID_INTEL_Q77 0x1e47COMMENT
LOWutil/inteltool/inteltool.h141#define PCI_DEVICE_ID_INTEL_SUNRISEPOINT_PRE 0xa141COMMENT
LOWutil/inteltool/inteltool.h161#define PCI_DEVICE_ID_INTEL_TIGERPOINT_EMBEDDED_IOTG 0xa088COMMENT
LOWutil/inteltool/inteltool.h181#define PCI_DEVICE_ID_INTEL_C626 0xa1c5COMMENT
LOWutil/inteltool/inteltool.h201#define PCI_DEVICE_ID_INTEL_Q270 0xa2c6COMMENT
LOWutil/inteltool/inteltool.h221#define PCI_DEVICE_ID_INTEL_H570 0x4386COMMENT
LOWutil/inteltool/inteltool.h241#define PCI_DEVICE_ID_INTEL_R680E 0x7a90COMMENT
LOWutil/inteltool/inteltool.h261#define PCI_DEVICE_ID_INTEL_MTL_7 0x7e07COMMENT
LOWutil/inteltool/inteltool.h281#define PCI_DEVICE_ID_INTEL_PTL_H_ESPI_15 0xe40fCOMMENT
LOWutil/inteltool/inteltool.h301#define PCI_DEVICE_ID_INTEL_PTL_U_H_ESPI_2 0xe302COMMENT
LOWutil/inteltool/inteltool.h321#define PCI_DEVICE_ID_INTEL_PTL_U_H_ESPI_22 0xe316COMMENT
LOWutil/inteltool/inteltool.h341#define PCI_DEVICE_ID_INTEL_82945GSE 0x27acCOMMENT
LOWutil/inteltool/inteltool.h361#define PCI_DEVICE_ID_INTEL_Z85 0x8c46COMMENT
LOWutil/inteltool/inteltool.h381#define PCI_DEVICE_ID_INTEL_WELLSBURG_X99 0x8d47COMMENT
LOWutil/inteltool/inteltool.h401#define PCI_DEVICE_ID_INTEL_EHL 0x4b00COMMENT
LOWutil/inteltool/inteltool.h421#define PCI_DEVICE_ID_INTEL_APL_LPC 0x5ae8COMMENT
LOWutil/inteltool/inteltool.h441#define PCI_DEVICE_ID_INTEL_CORE_1ST_GEN_M 0x0044 /* Arrandale (Westmere Mobile) */COMMENT
LOWutil/inteltool/inteltool.h461#define PCI_DEVICE_ID_INTEL_CORE_6TH_GEN_WST 0x1918 /* Skylake (Workstation) */COMMENT
LOWutil/inteltool/inteltool.h481#define PCI_DEVICE_ID_INTEL_CORE_CML_S_2 0x9b73 /* Cometlake S 2 (Desktop) */COMMENT
LOWutil/inteltool/inteltool.h501#define PCI_DEVICE_ID_INTEL_CORE_ADL_ID_P_2_8 0x4601 /* Alderlake P 2+8 */COMMENT
LOWutil/inteltool/inteltool.h521#define PCI_DEVICE_ID_INTEL_CORE_MTL_ID_P_4 0x7d15 /* Meteorlake P */COMMENT
LOWutil/inteltool/inteltool.h541#define PCI_DEVICE_ID_INTEL_CORE_RPL_ID_H_4_8 0xa707 /* Raptorlake H/H Refresh/P 4P+8E */COMMENT
LOWutil/inteltool/inteltool.h561#define PCI_DEVICE_ID_INTEL_4_SERIES_1 0x2a43COMMENT
LOWutil/inteltool/inteltool.h581#define PCI_DEVICE_ID_INTEL_HD_3000_4 0x0126COMMENT
LOWutil/inteltool/inteltool.h601#define PCI_DEVICE_ID_INTEL_UHD_615_1 0x591CCOMMENT
LOWutil/inteltool/inteltool.h621#define PCI_DEVICE_ID_INTEL_UHD_GRAPHICS 0x9b41COMMENT
LOWutil/inteltool/inteltool.h641#define PCI_DEVICE_ID_INTEL_EHL_GT1_5 0x4570COMMENT
LOWutil/inteltool/inteltool.h661#define PCI_DEVICE_ID_INTEL_PTL_H_GT2_2 0xb0a0COMMENT
LOWutil/lint/spelling.txt1# Originally from Debian's Lintian tool. Various false positives have beenCOMMENT
LOWutil/lint/spelling.txt21# Reason: On RISC-V, `SEPC` is the name of a register.COMMENT
LOWutil/lint/spelling.txt41# doesent||doesn'tCOMMENT
LOWutil/lint/spelling.txt61# incase||in caseCOMMENT
23785 more matches not shown…
Decorative Section Separators140 hits · 333 pts
SeverityFileLineSnippetContext
MEDIUMutil/qualcomm/createxbl.py2#============================================================================COMMENT
MEDIUMutil/qualcomm/createxbl.py13#----------------------------------------------------------------------------COMMENT
MEDIUMutil/qualcomm/createxbl.py36#============================================================================COMMENT
MEDIUM⚡util/qualcomm/mbn_tools.py30#===============================================================================COMMENT
MEDIUM⚡util/qualcomm/mbn_tools.py40#----------------------------------------------------------------------------COMMENT
MEDIUM⚡util/qualcomm/mbn_tools.py42#----------------------------------------------------------------------------COMMENT
MEDIUM⚡util/qualcomm/mbn_tools.py190#----------------------------------------------------------------------------COMMENT
MEDIUM⚡util/qualcomm/mbn_tools.py192#----------------------------------------------------------------------------COMMENT
MEDIUM⚡util/qualcomm/mbn_tools.py194#----------------------------------------------------------------------------COMMENT
MEDIUM⚡util/qualcomm/mbn_tools.py196#----------------------------------------------------------------------------COMMENT
MEDIUM⚡util/qualcomm/mbn_tools.py197#----------------------------------------------------------------------------COMMENT
MEDIUM⚡util/qualcomm/mbn_tools.py199#----------------------------------------------------------------------------COMMENT
MEDIUM⚡util/qualcomm/mbn_tools.py208#----------------------------------------------------------------------------COMMENT
MEDIUM⚡util/qualcomm/mbn_tools.py210#----------------------------------------------------------------------------COMMENT
MEDIUM⚡util/qualcomm/mbn_tools.py274#----------------------------------------------------------------------------COMMENT
MEDIUM⚡util/qualcomm/mbn_tools.py282#----------------------------------------------------------------------------COMMENT
MEDIUM⚡util/qualcomm/mbn_tools.py292#----------------------------------------------------------------------------COMMENT
MEDIUM⚡util/qualcomm/mbn_tools.py294#----------------------------------------------------------------------------COMMENT
MEDIUM⚡util/qualcomm/mbn_tools.py497#----------------------------------------------------------------------------COMMENT
MEDIUM⚡util/qualcomm/mbn_tools.py499#----------------------------------------------------------------------------COMMENT
MEDIUM⚡util/qualcomm/mbn_tools.py506#----------------------------------------------------------------------------COMMENT
MEDIUM⚡util/qualcomm/mbn_tools.py508#----------------------------------------------------------------------------COMMENT
MEDIUM⚡util/qualcomm/mbn_tools.py753#----------------------------------------------------------------------------COMMENT
MEDIUM⚡util/qualcomm/mbn_tools.py755#----------------------------------------------------------------------------COMMENT
MEDIUM⚡util/qualcomm/mbn_tools.py757#------------------------------------------------------------------------------COMMENT
MEDIUM⚡util/qualcomm/mbn_tools.py759#------------------------------------------------------------------------------COMMENT
MEDIUM⚡util/qualcomm/mbn_tools.py765 #----------------------------------------------------------------------------COMMENT
MEDIUM⚡util/qualcomm/mbn_tools.py767 #----------------------------------------------------------------------------COMMENT
MEDIUM⚡util/qualcomm/mbn_tools.py770 #----------------------------------------------------------------------------COMMENT
MEDIUM⚡util/qualcomm/mbn_tools.py772 #----------------------------------------------------------------------------COMMENT
MEDIUM⚡util/qualcomm/mbn_tools.py775 #----------------------------------------------------------------------------COMMENT
MEDIUM⚡util/qualcomm/mbn_tools.py777 #----------------------------------------------------------------------------COMMENT
MEDIUM⚡util/qualcomm/mbn_tools.py788 #----------------------------------------------------------------------------COMMENT
MEDIUM⚡util/qualcomm/mbn_tools.py790 #----------------------------------------------------------------------------COMMENT
MEDIUM⚡util/qualcomm/mbn_tools.py800#----------------------------------------------------------------------------COMMENT
MEDIUM⚡util/qualcomm/mbn_tools.py802#----------------------------------------------------------------------------COMMENT
MEDIUM⚡util/qualcomm/mbn_tools.py804#----------------------------------------------------------------------------COMMENT
MEDIUM⚡util/qualcomm/mbn_tools.py806#----------------------------------------------------------------------------COMMENT
MEDIUM⚡util/qualcomm/mbn_tools.py853#----------------------------------------------------------------------------COMMENT
MEDIUM⚡util/qualcomm/mbn_tools.py855#----------------------------------------------------------------------------COMMENT
MEDIUM⚡util/qualcomm/mbn_tools.py859#----------------------------------------------------------------------------COMMENT
MEDIUM⚡util/qualcomm/mbn_tools.py861#----------------------------------------------------------------------------COMMENT
MEDIUM⚡util/qualcomm/mbn_tools.py904#----------------------------------------------------------------------------COMMENT
MEDIUM⚡util/qualcomm/mbn_tools.py908#----------------------------------------------------------------------------COMMENT
MEDIUM⚡util/qualcomm/mbn_tools.py912#----------------------------------------------------------------------------COMMENT
MEDIUM⚡util/qualcomm/mbn_tools.py914#----------------------------------------------------------------------------COMMENT
MEDIUM⚡util/qualcomm/mbn_tools.py1386#----------------------------------------------------------------------------COMMENT
MEDIUM⚡util/qualcomm/mbn_tools.py1388#----------------------------------------------------------------------------COMMENT
MEDIUM⚡util/qualcomm/mbn_tools.py1429#----------------------------------------------------------------------------COMMENT
MEDIUM⚡util/qualcomm/mbn_tools.py1431#----------------------------------------------------------------------------COMMENT
MEDIUM⚡util/qualcomm/mbn_tools.py1486#----------------------------------------------------------------------------COMMENT
MEDIUM⚡util/qualcomm/mbn_tools.py1488#----------------------------------------------------------------------------COMMENT
MEDIUM⚡util/qualcomm/mbn_tools.py1560#----------------------------------------------------------------------------COMMENT
MEDIUM⚡util/qualcomm/mbn_tools.py1562#----------------------------------------------------------------------------COMMENT
MEDIUM⚡util/qualcomm/mbn_tools.py1609#----------------------------------------------------------------------------COMMENT
MEDIUM⚡util/qualcomm/mbn_tools.py1611#----------------------------------------------------------------------------COMMENT
MEDIUM⚡util/qualcomm/mbn_tools.py1724#----------------------------------------------------------------------------COMMENT
MEDIUM⚡util/qualcomm/mbn_tools.py1726#----------------------------------------------------------------------------COMMENT
MEDIUM⚡util/qualcomm/mbn_tools.py1728#----------------------------------------------------------------------------COMMENT
MEDIUM⚡util/qualcomm/mbn_tools.py1730#----------------------------------------------------------------------------COMMENT
80 more matches not shown…
Excessive Try-Catch Wrapping21 hits · 48 pts
SeverityFileLineSnippetContext
MEDIUMutil/qualcomm/createxbl.py636 print("Error: Failed to find entry point in any segment!")CODE
MEDIUMutil/qualcomm/elf_segment_extractor.py87 print("Error: Not an ELF file (invalid magic bytes).")CODE
MEDIUMutil/qualcomm/elf_segment_extractor.py99 print("Error: Unsupported ELF data encoding.")CODE
MEDIUMutil/qualcomm/elf_segment_extractor.py139 print("Error: Unsupported ELF class.")CODE
MEDIUMutil/qualcomm/elf_segment_extractor.py164 print(f"Error: Segment index {segment_index} is out of bounds.")CODE
MEDIUMutil/qualcomm/elf_segment_extractor.py185 print("Error: Unsupported ELF class for parsing program header.")CODE
MEDIUM⚡util/qualcomm/elf_segment_extractor.py251 print(f"Error: No segments found in ELF file '{elf_file_path}'. Cannot extract last segment CODE
MEDIUM⚡util/qualcomm/elf_segment_extractor.py259 print(f"Error: Invalid segment index or alias '{seg_arg}'. Segment index must be an integer,CODE
MEDIUM⚡util/qualcomm/elf_segment_extractor.py263 print(f"Error: Segment index {actual_segment_index} is out of bounds for '{elf_file_path}'.")CODE
MEDIUM⚡util/qualcomm/elf_segment_extractor.py318 print(f"Error writing to output file '{output_file_path}': {io_e}")CODE
LOW⚡util/qualcomm/elf_segment_extractor.py319 except Exception as write_e:CODE
MEDIUM⚡util/qualcomm/elf_segment_extractor.py326 print(f"Error: ELF file not found at '{elf_file_path}'")CODE
LOW⚡util/qualcomm/elf_segment_extractor.py327 except Exception as e:CODE
MEDIUM⚡util/qualcomm/elf_segment_extractor.py328 print(f"An error occurred: {e}")CODE
LOWutil/qualcomm/create_multielf.py39 except Exception as e:CODE
LOWutil/qualcomm/create_multielf.py51 except Exception as e:CODE
MEDIUMutil/qualcomm/create_multielf.py36def check_outfile_path(dir_path):CODE
MEDIUM⚡util/font/generate_font.py26 print(f"Error: Font file '{font_path}' not found.", file=sys.stderr)CODE
MEDIUM⚡util/font/generate_font.py36 print("Error: Width and Height must be positive integers.", file=sys.stderr)CODE
MEDIUM⚡util/font/generate_font.py45 print(f"Error: Could not open font file '{font_path}'.", file=sys.stderr)CODE
MEDIUMsrc/vendorcode/cavium/bdk/libdram/dram-spd.c269 debug_print("Error reading SPD for DIMM\n");CODE
Self-Referential Comments15 hits · 38 pts
SeverityFileLineSnippetContext
MEDIUMutil/lint/checkpatch.pl717#Create a search pattern for all these functions to speed up a loop belowCOMMENT
MEDIUMutil/lint/checkpatch.pl752#Create a search pattern for all these strings to speed up a loop belowCOMMENT
MEDIUMutil/lint/helper_functions.sh5# This file is sourced by the linters so that each one doesn't have toCOMMENT
MEDIUMutil/qualcomm/createxbl.py345 # Create a new ELF header for the output fileCOMMENT
MEDIUM⚡util/qualcomm/mbn_tools.py923 # Create a elf header and program headerCOMMENT
MEDIUM⚡util/qualcomm/mbn_tools.py1188 # Create an empty hash entry for PHDR_TYPECOMMENT
MEDIUM⚡util/qualcomm/mbn_tools.py1192 # Create an empty hash entry for the hash segment itselfCOMMENT
MEDIUM⚡util/qualcomm/mbn_tools.py1481 # Create the Final Signed Image FileCOMMENT
MEDIUM⚡util/qualcomm/mbn_tools.py1733# Create a list to hold all segment information from an input SCL fileCOMMENT
MEDIUMutil/qualcomm/mbn_tools.py1467 # Create the Certificate ChainCOMMENT
MEDIUMutil/qualcomm/mbn_tools.py1760 # Create a new SegmentInfo class and set up tokensCOMMENT
MEDIUMutil/release/gerrit_stats.pl403 # Create a readable dateCOMMENT
MEDIUMutil/release/gerrit_stats.pl411 # Create the list of commenters to printCOMMENT
MEDIUMutil/release/gerrit_stats.pl434 # Create the list of reviewers to printCOMMENT
MEDIUMutil/riscv/sifive-gpt.py140 # Create a partition entry for the bootblockCOMMENT
Fake / Example Data27 hits · 38 pts
SeverityFileLineSnippetContext
LOWutil/gitconfig/test/commit-message-hook.sh51 git config user.name "John Doe"CODE
LOWutil/gitconfig/test/timeout.sh53 git config user.name "John Doe"CODE
LOWtests/lib/fmap-test.c110 char *dummy_data = malloc(ro_rw_section_size);CODE
LOWtests/lib/fmap-test.c114 dummy_data[i] = '0' + i % ('9' - '0');CODE
LOW⚡tests/lib/fmap-test.c145 rdev_writeat(&rdev, dummy_data, 0, ro_rw_section_size));CODE
LOW⚡tests/lib/fmap-test.c151 assert_memory_equal(dummy_data, buffer2, ro_rw_section_size);CODE
LOW⚡tests/lib/fmap-test.c155 free(dummy_data);CODE
LOW⚡tests/lib/region_file-test.c186 uint8_t dummy_data[dummy_data_size];CODE
LOW⚡tests/lib/region_file-test.c191 dummy_data[i] = 'A' + i % ('Z' - 'A');CODE
LOW⚡tests/lib/region_file-test.c198 ret = region_file_update_data(&regf, dummy_data, dummy_data_size / 2);CODE
LOW⚡tests/lib/region_file-test.c203 assert_memory_equal(dummy_data, output_buffer, dummy_data_size / 2);CODE
LOW⚡tests/lib/region_file-test.c206 ret = region_file_update_data(&regf, dummy_data, dummy_data_size);CODE
LOW⚡tests/lib/region_file-test.c211 assert_memory_equal(dummy_data, output_buffer, dummy_data_size);CODE
LOW⚡tests/lib/region_file-test.c214 ret = region_file_update_data(&regf, dummy_data, dummy_data_size / 2 + 3);CODE
LOW⚡tests/lib/region_file-test.c219 assert_memory_equal(dummy_data, output_buffer, dummy_data_size / 2 + 3);CODE
LOW⚡tests/lib/region_file-test.c228 uint8_t dummy_data[dummy_data_size];CODE
LOW⚡tests/lib/region_file-test.c240 dummy_data[i] = 'A' + i % ('Z' - 'A');CODE
LOW⚡tests/lib/region_file-test.c243 .size = data1_size, .data = &dummy_data[data1_offset]};CODE
LOW⚡tests/lib/region_file-test.c245 .size = data2_size, .data = &dummy_data[data2_offset]};CODE
LOW⚡tests/lib/region_file-test.c247 .size = data3_size, .data = &dummy_data[data3_offset]};CODE
LOWtests/lib/region_file-test.c260 assert_memory_equal(&dummy_data[data1_offset], output_buffer, data1_size);CODE
LOWtests/lib/region_file-test.c261 assert_memory_equal(&dummy_data[data1_offset + data2_offset],CODE
LOW⚡tests/lib/region_file-test.c272 assert_memory_equal(&dummy_data[data1_offset], output_buffer, data1_size);CODE
LOW⚡tests/lib/region_file-test.c273 assert_memory_equal(&dummy_data[data2_offset], &output_buffer[data1_size], data2_size);CODE
LOW⚡tests/lib/region_file-test.c274 assert_memory_equal(&dummy_data[data3_offset], &output_buffer[data1_size + data2_size],CODE
LOW⚡tests/lib/region_file-test.c284 assert_memory_equal(&dummy_data[data2_offset], &output_buffer[0], data2_size);CODE
LOW⚡tests/lib/region_file-test.c285 assert_memory_equal(&dummy_data[data3_offset], &output_buffer[data2_size], data3_size);CODE
Synthetic Comment Markers5 hits · 38 pts
SeverityFileLineSnippetContext
HIGH…/edk2-stable202111/MdePkg/Include/Protocol/MpService.h641/// whenever the APs are disabled or the APs are not executing code as requestedCOMMENT
HIGH…intel/edk2/UDK2017/MdePkg/Include/Protocol/MpService.h597/// whenever the APs are disabled or the APs are not executing code as requestedCOMMENT
HIGH…/edk2-stable202005/MdePkg/Include/Protocol/MpService.h641/// whenever the APs are disabled or the APs are not executing code as requestedCOMMENT
HIGH…/edk2-stable202305/MdePkg/Include/Protocol/MpService.h639/// whenever the APs are disabled or the APs are not executing code as requestedCOMMENT
HIGH…/edk2-stable202302/MdePkg/Include/Protocol/MpService.h639/// whenever the APs are disabled or the APs are not executing code as requestedCOMMENT
Redundant / Tautological Comments26 hits · 32 pts
SeverityFileLineSnippetContext
LOWutil/lint/checkpatch.pl2742# Check if the commit log has what seems like a diff which can confuse patchCOMMENT
LOWutil/lint/checkpatch.pl2808# Check if MAINTAINERS is being updated. If so, there's probably no need toCOMMENT
LOWutil/lint/checkpatch.pl2900# Check if the commit log is in a possible stack dumpCOMMENT
LOWutil/lint/checkpatch.pl3041# Check if it's the start of a commit logCOMMENT
LOWutil/lint/checkpatch.pl3051# Check if there is UTF-8 in a commit log when a mail header has explicitlyCOMMENT
LOWutil/lint/checkpatch.pl3944 # Check if either of these lines are modified, elseCOMMENT
LOW⚡util/qualcomm/mbn_tools.py1271 # Check if hash segment max size parameter was passedCOMMENT
LOW⚡util/qualcomm/mbn_tools.py1279 # Check if hash physical address parameter was passedCOMMENT
LOW⚡util/qualcomm/mbn_tools.py1284 # Check if hash segment max size was passedCOMMENT
LOW⚡util/qualcomm/mbn_tools.py1292 # Check if a shifting is required to accommodate for the hash segment.COMMENT
LOW⚡util/qualcomm/mbn_tools.py1376 # Close filesCOMMENT
LOW⚡util/qualcomm/mbn_tools.py1393 # Open filesCOMMENT
LOW⚡util/qualcomm/mbn_tools.py1422 # Close filesCOMMENT
LOW⚡util/qualcomm/mbn_tools.py1553 # Close filesCOMMENT
LOW⚡util/qualcomm/mbn_tools.py1604 # Close filesCOMMENT
LOW⚡util/qualcomm/mbn_tools.py1719 # Close filesCOMMENT
LOWutil/qualcomm/mbn_tools.py1205 # Check if the vaddr is page alignedCOMMENT
LOWutil/qualcomm/mbn_tools.py1507 # Open filesCOMMENT
LOWutil/qualcomm/mbn_tools.py1579 # Open filesCOMMENT
LOWutil/qualcomm/mbn_tools.py1626 # Open filesCOMMENT
LOWutil/kconfig/streamline_config.pl504 # Check if something other than a module selects this configCOMMENT
LOWutil/chromeos/extract_blobs.sh69# Check if image file is providedCOMMENT
LOWutil/riscv/sifive-gpt.py176 # Verify if first partition is at expected lba, otherwise trampoline willCOMMENT
LOWsrc/mainboard/google/foster/bct/jtag.cfg2# Set DebugCtrl to 1 to re-enable JtagCOMMENT
LOWsrc/mainboard/google/smaug/bct/jtag.cfg2# Set JtagCtrl to 1 to re-enable JtagCOMMENT
LOWsrc/mainboard/nvidia/porg/bct/jtag.cfg2# Set JtagCtrl to 1 to re-enable JtagCOMMENT
Verbosity Indicators21 hits · 28 pts
SeverityFileLineSnippetContext
LOWutil/kconfig/streamline_config.pl564 # If the config has no prompt, then we need to check if a configCOMMENT
LOWsrc/northbridge/via/cx700/raminit.c398 /* The purpose of this function is to set initial values for the dramCOMMENT
LOWsrc/northbridge/via/cx700/raminit.c1036 // Step 16: Repeat Step 14 and 15 another 7 timesCOMMENT
LOW…edk2-stable202111/MdePkg/Include/Library/UnitTestLib.h113 skipped. The purpose of this function is to clean up any global state orCODE
LOW…edk2-stable202111/MdePkg/Include/Library/UnitTestLib.h140 The purpose of this function is to set up any global state or test data.CODE
LOW…edk2-stable202111/MdePkg/Include/Library/UnitTestLib.h154 The purpose of this function is to clean up any global state or test data.CODE
LOW…edk2-stable202005/MdePkg/Include/Library/UnitTestLib.h113 skipped. The purpose of this function is to clean up any global state orCODE
LOW…edk2-stable202005/MdePkg/Include/Library/UnitTestLib.h140 The purpose of this function is to set up any global state or test data.CODE
LOW…edk2-stable202005/MdePkg/Include/Library/UnitTestLib.h154 The purpose of this function is to clean up any global state or test data.CODE
LOW…edk2-stable202305/MdePkg/Include/Library/UnitTestLib.h113 skipped. The purpose of this function is to clean up any global state orCODE
LOW…edk2-stable202305/MdePkg/Include/Library/UnitTestLib.h140 The purpose of this function is to set up any global state or test data.CODE
LOW…edk2-stable202305/MdePkg/Include/Library/UnitTestLib.h154 The purpose of this function is to clean up any global state or test data.CODE
LOW…edk2-stable202302/MdePkg/Include/Library/UnitTestLib.h113 skipped. The purpose of this function is to clean up any global state orCODE
LOW…edk2-stable202302/MdePkg/Include/Library/UnitTestLib.h140 The purpose of this function is to set up any global state or test data.CODE
LOW…edk2-stable202302/MdePkg/Include/Library/UnitTestLib.h154 The purpose of this function is to clean up any global state or test data.CODE
LOW…rcode/mediatek/mt8192/dramc/dramc_pi_calibration_api.c1431 //Step 0: MRW MR13 OP[0]=1 to enable CBTCOMMENT
LOW⚡…rcode/mediatek/mt8192/dramc/dramc_pi_calibration_api.c1486 //Step 1: CKE go high (Release R_DMCKEFIXOFF, R_DMCKEFIXON=1)COMMENT
LOW⚡…rcode/mediatek/mt8192/dramc/dramc_pi_calibration_api.c1489 //Step 2:wait tCATX, wait tFCCOMMENT
LOW⚡…rcode/mediatek/mt8192/dramc/dramc_pi_calibration_api.c1492 //Step 3: MRW to command bus training exit (MR13 OP[0]=0 to disable CBT)COMMENT
LOW⚡…rcode/mediatek/mt8192/dramc/dramc_pi_calibration_api.c1499 //Step 4:COMMENT
LOW…rcode/mediatek/mt8192/dramc/dramc_pi_calibration_api.c3156 //Step 3: set vref range and step by ddr typeCOMMENT
Structural Annotation Overuse17 hits · 27 pts
SeverityFileLineSnippetContext
LOWDocumentation/tutorial/part2.md3## Step 1: Set up an account at coreboot.orgCOMMENT
LOWDocumentation/tutorial/part2.md65## Step 3: Clone coreboot and configure it for submitting patchesCOMMENT
LOWDocumentation/tutorial/part2.md96## Step 4: Submit a commitCOMMENT
LOWDocumentation/tutorial/part2.md242## Step 5: Let others review your commitCOMMENT
LOWDocumentation/tutorial/part1.md29### Step 1 - Install tools and libraries needed for corebootCOMMENT
LOWDocumentation/tutorial/part1.md47### Step 2 - Download coreboot source treeCOMMENT
LOWDocumentation/tutorial/part1.md56### Step 3 - Build the coreboot toolchainCOMMENT
LOWDocumentation/tutorial/part1.md83### Step 4 - Build the payload - coreinfoCOMMENT
LOWDocumentation/tutorial/part1.md91### Step 5 - Configure the buildCOMMENT
LOWDocumentation/tutorial/part1.md158### Step 6 - Build corebootCOMMENT
LOWDocumentation/tutorial/part1.md176### Step 7 - Install QEMUCOMMENT
LOWDocumentation/tutorial/part1.md183### Step 8 - Run QEMUCOMMENT
LOWsrc/northbridge/via/cx700/raminit.c1036 // Step 16: Repeat Step 14 and 15 another 7 timesCOMMENT
LOW…rcode/mediatek/mt8192/dramc/dramc_pi_calibration_api.c1431 //Step 0: MRW MR13 OP[0]=1 to enable CBTCOMMENT
LOW⚡…rcode/mediatek/mt8192/dramc/dramc_pi_calibration_api.c1486 //Step 1: CKE go high (Release R_DMCKEFIXOFF, R_DMCKEFIXON=1)COMMENT
LOW⚡…rcode/mediatek/mt8192/dramc/dramc_pi_calibration_api.c1492 //Step 3: MRW to command bus training exit (MR13 OP[0]=0 to disable CBT)COMMENT
LOW…rcode/mediatek/mt8192/dramc/dramc_pi_calibration_api.c3156 //Step 3: set vref range and step by ddr typeCOMMENT
AI Slop Vocabulary9 hits · 24 pts
SeverityFileLineSnippetContext
MEDIUMutil/intelmetool/src/intelmetool.h124// Definitely has ME and can be disabledCOMMENT
MEDIUMutil/intelmetool/src/intelmetool.h134// Definitely has ME and is very difficult to removeCOMMENT
LOWpayloads/libpayload/curses/PDCurses/sdl1/sdltest.c13/* You could #include pdcsdl.h, or just add the relevant declarationsCOMMENT
MEDIUM…/edk2/edk2-stable202111/MdePkg/Include/Protocol/WiFi.h362 /// robust management frames.COMMENT
MEDIUM…code/intel/edk2/UDK2017/MdePkg/Include/Protocol/WiFi.h368 /// robust management frames.COMMENT
MEDIUM…/edk2/edk2-stable202005/MdePkg/Include/Protocol/WiFi.h362 /// robust management frames.COMMENT
MEDIUM…/edk2/edk2-stable202305/MdePkg/Include/Protocol/WiFi.h362 /// robust management frames.COMMENT
MEDIUM…/edk2/edk2-stable202302/MdePkg/Include/Protocol/WiFi.h362 /// robust management frames.COMMENT
MEDIUM…/vendorcode/mediatek/mt8192/dramc/DIG_NONSHUF_config.c538 U8 RD2MRR_EXTEND_EN = 1; // for fix Samsung RD2MRR seamless error, If the samsung fix that bug, this could set 0CODE
Unused Imports21 hits · 20 pts
SeverityFileLineSnippetContext
LOWutil/lint/checkpatch_json.py10CODE
LOWutil/qualcomm/createxbl.py39CODE
LOWutil/qualcomm/elf_segment_extractor.py2CODE
LOWutil/qualcomm/elf_segment_extractor.py3CODE
LOWutil/qualcomm/mbn_tools.py32CODE
LOWutil/qualcomm/qgpt.py16CODE
LOWutil/qualcomm/qgpt.py17CODE
LOWutil/qualcomm/qgpt.py18CODE
LOWutil/qualcomm/qgpt.py19CODE
LOWutil/qualcomm/qgpt.py22CODE
LOWutil/qualcomm/qgpt.py26CODE
LOWutil/rockchip/make_idb.py6CODE
LOWutil/apcb/apcb_edit.py10CODE
LOWutil/apcb/apcb_v3_edit.py5CODE
LOWutil/apcb/apcb_v3_edit.py9CODE
LOWutil/apcb/apcb_v3_edit.py10CODE
LOWutil/apcb/apcb_v3_edit.py11CODE
LOWutil/apcb/apcb_v3a_edit.py8CODE
LOWutil/riscv/sifive-gpt.py5CODE
LOWutil/me_cleaner/me_cleaner.py5CODE
LOWutil/me_cleaner/me_cleaner.py5CODE
Deep Nesting13 hits · 10 pts
SeverityFileLineSnippetContext
LOWutil/lint/checkpatch_json.py30CODE
LOWutil/qualcomm/createxbl.py282CODE
LOWutil/qualcomm/elf_segment_extractor.py200CODE
LOWutil/qualcomm/mbn_tools.py1121CODE
LOWutil/qualcomm/mbn_tools.py1612CODE
LOWutil/qualcomm/mbn_tools.py1735CODE
LOWutil/qualcomm/mbn_tools.py1787CODE
LOWutil/qualcomm/mbn_tools.py1955CODE
LOWutil/apcb/apcb_edit.py103CODE
LOWutil/font/generate_font.py24CODE
LOWutil/me_cleaner/me_cleaner.py138CODE
LOWutil/me_cleaner/me_cleaner.py258CODE
LOWutil/me_cleaner/me_cleaner.py375CODE
Slop Phrases4 hits · 8 pts
SeverityFileLineSnippetContext
LOW⚡util/qualcomm/mbn_tools.py1185 # If hash table program header is not found, make sure to include itCOMMENT
MEDIUMpayloads/libpayload/curses/PDCurses/sdl1/sdltest.c1/* Here's a simple example of combining SDL and PDCurses functionality.COMMENT
MEDIUMpayloads/libpayload/curses/PDCurses/demos/xmas.c22/* Feel free to modify the defined string FROMWHO to reflect you, your */COMMENT
LOWsrc/drivers/efi/capsules.c155 initialization during parsing of capsules and don't forget to callCODE
Empty Error Handlers1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHutil/qualcomm/mbn_tools.py1994except:CODE
TODO Padding3 hits · 4 pts
SeverityFileLineSnippetContext
LOWpayloads/libpayload/drivers/udc/chipidea.c333 // TODO: implementCOMMENT
LOWpayloads/libpayload/drivers/udc/chipidea.c336 // TODO: implementCOMMENT
LOWsrc/soc/sifive/fu540/sdram.c49 // TODO: implementCOMMENT
Hyper-Verbose Identifiers5 hits · 4 pts
SeverityFileLineSnippetContext
LOW⚡util/qualcomm/mbn_tools.py909def convert_int_to_byte_string(n, l):CODE
LOWutil/apl_ifwi/apl_ifwi.py243def create_minimal_smip_payload(smip_iafw):CODE
LOWutil/apl_ifwi/apl_ifwi.py617def oem_key_manifest_extension(public_hash):STRING
LOWutil/me_cleaner/me_cleaner.py229def check_partition_signature(f, offset):CODE
LOWutil/me_cleaner/me_cleaner.py249def print_check_partition_signature(f, offset):CODE
Example Usage Blocks2 hits · 3 pts
SeverityFileLineSnippetContext
LOWutil/attribution/gen_attribution.sh6# Usage:COMMENT
LOW…drivers/intel/fsp2_0/header_util/fspupdvpd_sanitize.sh5# Usage:COMMENT
AI Structural Patterns1 hit · 0 pts
SeverityFileLineSnippetContext
LOWutil/qualcomm/mbn_tools.py996CODE