Repository Analysis

coreboot/coreboot

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

6.6 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of coreboot/coreboot, a C project with 2,743 GitHub stars. SynthScan v2.0 examined 3,174,618 lines of code across 15589 source files, recording 24065 pattern matches distributed across 17 syntactic categories. The overall adjusted score of 6.6 places this repository in the Low AI signal band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

6.6
Adjusted Score
6.6
Raw Score
100%
Time Factor
2026-07-14
Last Push
2.7K
Stars
C
Language
3.2M
Lines of Code
15.6K
Files
24.1K
Pattern Hits
2026-07-14
Scan Date
0.00
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 0HIGH 5MEDIUM 182LOW 23878

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 24065 distinct pattern matches across 17 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Over-Commented Block23737 hits · 20401 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/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_82Q33 0x29d0COMMENT
LOWutil/inteltool/inteltool.h301#define PCI_DEVICE_ID_INTEL_B85 0x8c50COMMENT
LOWutil/inteltool/inteltool.h321#define PCI_DEVICE_ID_INTEL_I5000X 0x25c0COMMENT
LOWutil/inteltool/inteltool.h341/* 82443BX has a different device ID if AGP is disabled (hardware-wise). */COMMENT
LOWutil/inteltool/inteltool.h361#define PCI_DEVICE_ID_INTEL_ELKHART_LAKE_3 0x4518COMMENT
LOWutil/inteltool/inteltool.h381#define PCI_DEVICE_ID_INTEL_CORE_3RD_GEN_E3 0x0158 /* Ivy Bridge (Xeon E3 v2) */COMMENT
LOWutil/inteltool/inteltool.h401#define PCI_DEVICE_ID_INTEL_CORE_8TH_GEN_U_1 0x3ed0 /* Coffeelake (Mobile) */COMMENT
LOWutil/inteltool/inteltool.h421#define PCI_DEVICE_ID_INTEL_CORE_TGL_ID_H_8 0x9a36 /* Tigerlake H 8 Cores */COMMENT
LOWutil/inteltool/inteltool.h441#define PCI_DEVICE_ID_INTEL_CORE_ARL_ID_H_1 0x7D06 /* Arrowlake H */COMMENT
LOWutil/inteltool/inteltool.h461#define PCI_DEVICE_ID_INTEL_CORE_RPL_ID_HX_6_4_2 0x4647 /* Raptorlake HX 6P+4E */COMMENT
LOWutil/inteltool/inteltool.h481#define PCI_DEVICE_ID_INTEL_965_EXPRESS_3 0x2a13COMMENT
LOWutil/inteltool/inteltool.h501#define PCI_DEVICE_ID_INTEL_HD_3000_2 0x0116COMMENT
LOWutil/inteltool/inteltool.h521#define PCI_DEVICE_ID_INTEL_HD_530_1 0x191BCOMMENT
LOWutil/inteltool/inteltool.h541#define PCI_DEVICE_ID_INTEL_IRIS_PLUS_655 0x3EA5COMMENT
LOWutil/inteltool/inteltool.h561#define PCI_DEVICE_ID_INTEL_EHL_GT1_3 0x4555COMMENT
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
LOWutil/lint/checkpatch.pl3321# line length limit (with some exclusions)COMMENT
LOWutil/lint/checkpatch.pl4941 "multiple assignments should be avoided\n" . $herecurr);COMMENT
LOWutil/lint/checkpatch.pl6461# if ($perl_version_ok &&COMMENT
LOWutil/lint/checkpatch.pl6481# if ($perl_version_ok &&COMMENT
LOWutil/smmstoretool/utils.c1/* SPDX-License-Identifier: GPL-2.0-or-later */COMMENT
LOWutil/smmstoretool/main.c1/* SPDX-License-Identifier: GPL-2.0-or-later */COMMENT
23677 more matches not shown…
Decorative Section Separators140 hits · 335 pts
SeverityFileLineSnippetContext
MEDIUMutil/qualcomm/createxbl.py2#============================================================================COMMENT
MEDIUMutil/qualcomm/createxbl.py13#----------------------------------------------------------------------------COMMENT
MEDIUMutil/qualcomm/createxbl.py36#============================================================================COMMENT
MEDIUMutil/qualcomm/mbn_tools.py30#===============================================================================COMMENT
MEDIUMutil/qualcomm/mbn_tools.py40#----------------------------------------------------------------------------COMMENT
MEDIUMutil/qualcomm/mbn_tools.py42#----------------------------------------------------------------------------COMMENT
MEDIUMutil/qualcomm/mbn_tools.py190#----------------------------------------------------------------------------COMMENT
MEDIUMutil/qualcomm/mbn_tools.py192#----------------------------------------------------------------------------COMMENT
MEDIUMutil/qualcomm/mbn_tools.py194#----------------------------------------------------------------------------COMMENT
MEDIUMutil/qualcomm/mbn_tools.py196#----------------------------------------------------------------------------COMMENT
MEDIUMutil/qualcomm/mbn_tools.py197#----------------------------------------------------------------------------COMMENT
MEDIUMutil/qualcomm/mbn_tools.py199#----------------------------------------------------------------------------COMMENT
MEDIUMutil/qualcomm/mbn_tools.py208#----------------------------------------------------------------------------COMMENT
MEDIUMutil/qualcomm/mbn_tools.py210#----------------------------------------------------------------------------COMMENT
MEDIUMutil/qualcomm/mbn_tools.py274#----------------------------------------------------------------------------COMMENT
MEDIUMutil/qualcomm/mbn_tools.py282#----------------------------------------------------------------------------COMMENT
MEDIUMutil/qualcomm/mbn_tools.py292#----------------------------------------------------------------------------COMMENT
MEDIUMutil/qualcomm/mbn_tools.py294#----------------------------------------------------------------------------COMMENT
MEDIUMutil/qualcomm/mbn_tools.py497#----------------------------------------------------------------------------COMMENT
MEDIUMutil/qualcomm/mbn_tools.py499#----------------------------------------------------------------------------COMMENT
MEDIUMutil/qualcomm/mbn_tools.py506#----------------------------------------------------------------------------COMMENT
MEDIUMutil/qualcomm/mbn_tools.py508#----------------------------------------------------------------------------COMMENT
MEDIUMutil/qualcomm/mbn_tools.py753#----------------------------------------------------------------------------COMMENT
MEDIUMutil/qualcomm/mbn_tools.py755#----------------------------------------------------------------------------COMMENT
MEDIUMutil/qualcomm/mbn_tools.py757#------------------------------------------------------------------------------COMMENT
MEDIUMutil/qualcomm/mbn_tools.py759#------------------------------------------------------------------------------COMMENT
MEDIUMutil/qualcomm/mbn_tools.py765 #----------------------------------------------------------------------------COMMENT
MEDIUMutil/qualcomm/mbn_tools.py767 #----------------------------------------------------------------------------COMMENT
MEDIUMutil/qualcomm/mbn_tools.py770 #----------------------------------------------------------------------------COMMENT
MEDIUMutil/qualcomm/mbn_tools.py772 #----------------------------------------------------------------------------COMMENT
MEDIUMutil/qualcomm/mbn_tools.py775 #----------------------------------------------------------------------------COMMENT
MEDIUMutil/qualcomm/mbn_tools.py777 #----------------------------------------------------------------------------COMMENT
MEDIUMutil/qualcomm/mbn_tools.py788 #----------------------------------------------------------------------------COMMENT
MEDIUMutil/qualcomm/mbn_tools.py790 #----------------------------------------------------------------------------COMMENT
MEDIUMutil/qualcomm/mbn_tools.py800#----------------------------------------------------------------------------COMMENT
MEDIUMutil/qualcomm/mbn_tools.py802#----------------------------------------------------------------------------COMMENT
MEDIUMutil/qualcomm/mbn_tools.py804#----------------------------------------------------------------------------COMMENT
MEDIUMutil/qualcomm/mbn_tools.py806#----------------------------------------------------------------------------COMMENT
MEDIUMutil/qualcomm/mbn_tools.py853#----------------------------------------------------------------------------COMMENT
MEDIUMutil/qualcomm/mbn_tools.py855#----------------------------------------------------------------------------COMMENT
MEDIUMutil/qualcomm/mbn_tools.py859#----------------------------------------------------------------------------COMMENT
MEDIUMutil/qualcomm/mbn_tools.py861#----------------------------------------------------------------------------COMMENT
MEDIUMutil/qualcomm/mbn_tools.py904#----------------------------------------------------------------------------COMMENT
MEDIUMutil/qualcomm/mbn_tools.py908#----------------------------------------------------------------------------COMMENT
MEDIUMutil/qualcomm/mbn_tools.py912#----------------------------------------------------------------------------COMMENT
MEDIUMutil/qualcomm/mbn_tools.py914#----------------------------------------------------------------------------COMMENT
MEDIUMutil/qualcomm/mbn_tools.py1386#----------------------------------------------------------------------------COMMENT
MEDIUMutil/qualcomm/mbn_tools.py1388#----------------------------------------------------------------------------COMMENT
MEDIUMutil/qualcomm/mbn_tools.py1429#----------------------------------------------------------------------------COMMENT
MEDIUMutil/qualcomm/mbn_tools.py1431#----------------------------------------------------------------------------COMMENT
MEDIUMutil/qualcomm/mbn_tools.py1486#----------------------------------------------------------------------------COMMENT
MEDIUMutil/qualcomm/mbn_tools.py1488#----------------------------------------------------------------------------COMMENT
MEDIUMutil/qualcomm/mbn_tools.py1560#----------------------------------------------------------------------------COMMENT
MEDIUMutil/qualcomm/mbn_tools.py1562#----------------------------------------------------------------------------COMMENT
MEDIUMutil/qualcomm/mbn_tools.py1609#----------------------------------------------------------------------------COMMENT
MEDIUMutil/qualcomm/mbn_tools.py1611#----------------------------------------------------------------------------COMMENT
MEDIUMutil/qualcomm/mbn_tools.py1724#----------------------------------------------------------------------------COMMENT
MEDIUMutil/qualcomm/mbn_tools.py1726#----------------------------------------------------------------------------COMMENT
MEDIUMutil/qualcomm/mbn_tools.py1728#----------------------------------------------------------------------------COMMENT
MEDIUMutil/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
MEDIUMutil/qualcomm/elf_segment_extractor.py251 print(f"Error: No segments found in ELF file '{elf_file_path}'. Cannot extract last segment CODE
MEDIUMutil/qualcomm/elf_segment_extractor.py259 print(f"Error: Invalid segment index or alias '{seg_arg}'. Segment index must be an integer,CODE
MEDIUMutil/qualcomm/elf_segment_extractor.py263 print(f"Error: Segment index {actual_segment_index} is out of bounds for '{elf_file_path}'.")CODE
MEDIUMutil/qualcomm/elf_segment_extractor.py318 print(f"Error writing to output file '{output_file_path}': {io_e}")CODE
LOWutil/qualcomm/elf_segment_extractor.py319 except Exception as write_e:CODE
MEDIUMutil/qualcomm/elf_segment_extractor.py326 print(f"Error: ELF file not found at '{elf_file_path}'")CODE
LOWutil/qualcomm/elf_segment_extractor.py327 except Exception as e:CODE
MEDIUMutil/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
MEDIUMutil/font/generate_font.py26 print(f"Error: Font file '{font_path}' not found.", file=sys.stderr)CODE
MEDIUMutil/font/generate_font.py36 print("Error: Width and Height must be positive integers.", file=sys.stderr)CODE
MEDIUMutil/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
MEDIUMutil/qualcomm/mbn_tools.py923 # Create a elf header and program headerCOMMENT
MEDIUMutil/qualcomm/mbn_tools.py1188 # Create an empty hash entry for PHDR_TYPECOMMENT
MEDIUMutil/qualcomm/mbn_tools.py1192 # Create an empty hash entry for the hash segment itselfCOMMENT
MEDIUMutil/qualcomm/mbn_tools.py1481 # Create the Final Signed Image FileCOMMENT
MEDIUMutil/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.pl399 # Create a readable dateCOMMENT
MEDIUMutil/release/gerrit_stats.pl407 # Create the list of commenters to printCOMMENT
MEDIUMutil/release/gerrit_stats.pl430 # 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
LOWtests/lib/fmap-test.c145 rdev_writeat(&rdev, dummy_data, 0, ro_rw_section_size));CODE
LOWtests/lib/fmap-test.c151 assert_memory_equal(dummy_data, buffer2, ro_rw_section_size);CODE
LOWtests/lib/fmap-test.c155 free(dummy_data);CODE
LOWtests/lib/region_file-test.c186 uint8_t dummy_data[dummy_data_size];CODE
LOWtests/lib/region_file-test.c191 dummy_data[i] = 'A' + i % ('Z' - 'A');CODE
LOWtests/lib/region_file-test.c198 ret = region_file_update_data(&regf, dummy_data, dummy_data_size / 2);CODE
LOWtests/lib/region_file-test.c203 assert_memory_equal(dummy_data, output_buffer, dummy_data_size / 2);CODE
LOWtests/lib/region_file-test.c206 ret = region_file_update_data(&regf, dummy_data, dummy_data_size);CODE
LOWtests/lib/region_file-test.c211 assert_memory_equal(dummy_data, output_buffer, dummy_data_size);CODE
LOWtests/lib/region_file-test.c214 ret = region_file_update_data(&regf, dummy_data, dummy_data_size / 2 + 3);CODE
LOWtests/lib/region_file-test.c219 assert_memory_equal(dummy_data, output_buffer, dummy_data_size / 2 + 3);CODE
LOWtests/lib/region_file-test.c228 uint8_t dummy_data[dummy_data_size];CODE
LOWtests/lib/region_file-test.c240 dummy_data[i] = 'A' + i % ('Z' - 'A');CODE
LOWtests/lib/region_file-test.c243 .size = data1_size, .data = &dummy_data[data1_offset]};CODE
LOWtests/lib/region_file-test.c245 .size = data2_size, .data = &dummy_data[data2_offset]};CODE
LOWtests/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
LOWtests/lib/region_file-test.c272 assert_memory_equal(&dummy_data[data1_offset], output_buffer, data1_size);CODE
LOWtests/lib/region_file-test.c273 assert_memory_equal(&dummy_data[data2_offset], &output_buffer[data1_size], data2_size);CODE
LOWtests/lib/region_file-test.c274 assert_memory_equal(&dummy_data[data3_offset], &output_buffer[data1_size + data2_size],CODE
LOWtests/lib/region_file-test.c284 assert_memory_equal(&dummy_data[data2_offset], &output_buffer[0], data2_size);CODE
LOWtests/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 Comments25 hits · 31 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
LOWutil/qualcomm/mbn_tools.py1271 # Check if hash segment max size parameter was passedCOMMENT
LOWutil/qualcomm/mbn_tools.py1279 # Check if hash physical address parameter was passedCOMMENT
LOWutil/qualcomm/mbn_tools.py1284 # Check if hash segment max size was passedCOMMENT
LOWutil/qualcomm/mbn_tools.py1292 # Check if a shifting is required to accommodate for the hash segment.COMMENT
LOWutil/qualcomm/mbn_tools.py1376 # Close filesCOMMENT
LOWutil/qualcomm/mbn_tools.py1393 # Open filesCOMMENT
LOWutil/qualcomm/mbn_tools.py1422 # Close filesCOMMENT
LOWutil/qualcomm/mbn_tools.py1553 # Close filesCOMMENT
LOWutil/qualcomm/mbn_tools.py1604 # Close filesCOMMENT
LOWutil/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
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.md43### Step 2 - Download coreboot source treeCOMMENT
LOWDocumentation/tutorial/part1.md52### Step 3 - Build the coreboot toolchainCOMMENT
LOWDocumentation/tutorial/part1.md79### Step 4 - Build the payload - coreinfoCOMMENT
LOWDocumentation/tutorial/part1.md87### Step 5 - Configure the buildCOMMENT
LOWDocumentation/tutorial/part1.md154### Step 6 - Build corebootCOMMENT
LOWDocumentation/tutorial/part1.md172### Step 7 - Install QEMUCOMMENT
LOWDocumentation/tutorial/part1.md179### 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
LOWutil/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.c125 initialization during parsing of capsules and don't forget to callCODE
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
LOWutil/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 Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOW…drivers/intel/fsp2_0/header_util/fspupdvpd_sanitize.sh5# Usage:COMMENT
AI Structural Patterns1 hit · 0 pts
SeverityFileLineSnippetContext
LOWutil/qualcomm/mbn_tools.py996CODE