Repository Analysis

u-boot/u-boot

"Das U-Boot" Source Tree

5.7 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of u-boot/u-boot, a C project with 5,130 GitHub stars. SynthScan v2.0 examined 4,928,524 lines of code across 20802 source files, recording 31754 pattern matches distributed across 24 syntactic categories. The overall adjusted score of 5.7 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).

5.7
Adjusted Score
5.7
Raw Score
100%
Time Factor
2026-07-14
Last Push
5.1K
Stars
C
Language
4.9M
Lines of Code
20.8K
Files
31.8K
Pattern Hits
2026-07-14
Scan Date
0.01
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

Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.

No multi-scan history yet — run the scanner again to build trend data.

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 5HIGH 177MEDIUM 212LOW 31360

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 31754 distinct pattern matches across 24 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 Block30595 hits · 25902 pts
SeverityFileLineSnippetContext
LOW…pstream/include/dt-bindings/power/tegra234-powergate.h1/* SPDX-License-Identifier: GPL-2.0 */COMMENT
LOW…pstream/include/dt-bindings/power/tegra234-powergate.h21#define TEGRA234_POWER_DOMAIN_PCIEX8B 16UCOMMENT
LOWdts/upstream/include/dt-bindings/power/mt2712-power.h1/* SPDX-License-Identifier: GPL-2.0-only */COMMENT
LOWdts/upstream/include/dt-bindings/power/meson-s4-power.h1/* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */COMMENT
LOW…m/include/dt-bindings/power/allwinner,sun8i-v853-ppu.h1/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */COMMENT
LOWdts/upstream/include/dt-bindings/power/r8a77980-sysc.h21#define R8A77980_PD_CA53_CPU1 6COMMENT
LOW…tream/include/dt-bindings/power/nvidia,tegra264-bpmp.h1/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */COMMENT
LOW…tream/include/dt-bindings/power/nvidia,tegra264-bpmp.h21#define TEGRA264_POWER_DOMAIN_PVA0 21COMMENT
LOW…s/upstream/include/dt-bindings/power/amlogic,a4-pwrc.h1/* SPDX-License-Identifier: (GPL-2.0-only OR MIT) */COMMENT
LOWdts/upstream/include/dt-bindings/power/r8a779a0-sysc.h1/* SPDX-License-Identifier: GPL-2.0-only */COMMENT
LOWdts/upstream/include/dt-bindings/power/r8a779a0-sysc.h21#define R8A779A0_PD_A2E0D1 17COMMENT
LOWdts/upstream/include/dt-bindings/power/r8a779a0-sysc.h41#define R8A779A0_PD_A1DSP1 45COMMENT
LOWdts/upstream/include/dt-bindings/power/mt8173-power.h1/* SPDX-License-Identifier: GPL-2.0 */COMMENT
LOWdts/upstream/include/dt-bindings/power/r8a7796-sysc.h21#define R8A7796_PD_CR7 13COMMENT
LOW…/include/dt-bindings/power/allwinner,sun55i-a523-ppu.h1/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */COMMENT
LOWdts/upstream/include/dt-bindings/power/rk3568-power.h21/* VD_LOGIC */COMMENT
LOWdts/upstream/include/dt-bindings/power/r8a77961-sysc.h21#define R8A77961_PD_CR7 13COMMENT
LOW…stream/include/dt-bindings/power/starfive,jh7110-pmu.h1/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */COMMENT
LOWdts/upstream/include/dt-bindings/power/qcom-rpmpd.h1/* SPDX-License-Identifier: GPL-2.0 */COMMENT
LOWdts/upstream/include/dt-bindings/power/qcom-rpmpd.h41/* MSM8939 Power Domains */COMMENT
LOWdts/upstream/include/dt-bindings/power/qcom-rpmpd.h61#define MSM8909_VDDCX_VFC MSM8916_VDDCX_VFCCOMMENT
LOWdts/upstream/include/dt-bindings/power/qcom-rpmpd.h81#define QM215_VDDCX_AO MSM8917_VDDCX_AOCOMMENT
LOWdts/upstream/include/dt-bindings/power/qcom-rpmpd.h101COMMENT
LOWdts/upstream/include/dt-bindings/power/qcom-rpmpd.h121#define MSM8996_VDDCX_AO 1COMMENT
LOWdts/upstream/include/dt-bindings/power/qcom-rpmpd.h141#define QCM2290_VDDCX 0COMMENT
LOWdts/upstream/include/dt-bindings/power/qcom-rpmpd.h161#define SDM660_VDDCX_AO RPMPD_VDDCX_AOCOMMENT
LOWdts/upstream/include/dt-bindings/power/qcom-rpmpd.h181/* SM6125 Power Domains */COMMENT
LOWdts/upstream/include/dt-bindings/power/qcom-rpmpd.h201/* RPM SMD Power Domain performance levels */COMMENT
LOW…ream/include/dt-bindings/power/rockchip,rk3576-power.h1/* SPDX-License-Identifier: (GPL-2.0 OR MIT) */COMMENT
LOW…ream/include/dt-bindings/power/rockchip,rk3576-power.h21#define RK3576_PD_VEPU0 11COMMENT
LOWdts/upstream/include/dt-bindings/power/mt8186-power.h1/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */COMMENT
LOWdts/upstream/include/dt-bindings/power/mt8186-power.h21#define MT8186_POWER_DOMAIN_CAM_RAWA 11COMMENT
LOWdts/upstream/include/dt-bindings/power/px30-power.h1/* SPDX-License-Identifier: GPL-2.0 */COMMENT
LOW…upstream/include/dt-bindings/power/xlnx-zynqmp-power.h1/* SPDX-License-Identifier: GPL-2.0 */COMMENT
LOW…upstream/include/dt-bindings/power/xlnx-zynqmp-power.h21#define PD_SATA 28COMMENT
LOW…upstream/include/dt-bindings/power/xlnx-zynqmp-power.h41#define PD_CAN_1 48COMMENT
LOWdts/upstream/include/dt-bindings/power/r8a774e1-sysc.h21#define R8A774E1_PD_CA53_CPU3 8COMMENT
LOWdts/upstream/include/dt-bindings/power/rk3368-power.h1/* SPDX-License-Identifier: GPL-2.0 */COMMENT
LOWdts/upstream/include/dt-bindings/power/rk3368-power.h21#define RK3368_PD_ALIVE 13COMMENT
LOWdts/upstream/include/dt-bindings/power/imx8mn-power.h1/* SPDX-License-Identifier: (GPL-2.0 OR MIT) */COMMENT
LOW…s/upstream/include/dt-bindings/power/amlogic,s7-pwrc.h1/* SPDX-License-Identifier: (GPL-2.0-only OR MIT) */COMMENT
LOW…ream/include/dt-bindings/power/renesas,r8a779h0-sysc.h1/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */COMMENT
LOW…ream/include/dt-bindings/power/renesas,r8a779h0-sysc.h21#define R8A779H0_PD_A23DGB 25COMMENT
LOW…ream/include/dt-bindings/power/renesas,r8a779h0-sysc.h41#define R8A779H0_PD_A3VIP0 56COMMENT
LOW…pstream/include/dt-bindings/power/tegra194-powergate.h1/* SPDX-License-Identifier: GPL-2.0 */COMMENT
LOW…pstream/include/dt-bindings/power/tegra194-powergate.h21#define TEGRA194_POWER_DOMAIN_XUSBB 15COMMENT
LOWdts/upstream/include/dt-bindings/power/r8a7790-sysc.h21#define R8A7790_PD_CA7_CPU3 8COMMENT
LOWdts/upstream/include/dt-bindings/power/imx8mp-power.h1/* SPDX-License-Identifier: (GPL-2.0 OR MIT) */COMMENT
LOWdts/upstream/include/dt-bindings/power/imx8mp-power.h21#define IMX8MP_POWER_DOMAIN_VPU_G2 12COMMENT
LOWdts/upstream/include/dt-bindings/power/imx8mp-power.h41#define IMX8MP_MEDIABLK_PD_ISP 6COMMENT
LOW…s/upstream/include/dt-bindings/power/meson-sm1-power.h1/* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */COMMENT
LOWdts/upstream/include/dt-bindings/power/mt2701-power.h1/* SPDX-License-Identifier: GPL-2.0-only */COMMENT
LOW…ream/include/dt-bindings/power/mediatek,mt8188-power.h1/* SPDX-License-Identifier: (GPL-2.0 OR MIT) */COMMENT
LOW…ream/include/dt-bindings/power/mediatek,mt8188-power.h21#define MT8188_POWER_DOMAIN_ADSP_INFRA 11COMMENT
LOW…ream/include/dt-bindings/power/mediatek,mt8188-power.h41#define MT8188_POWER_DOMAIN_CAM_SUBA 31COMMENT
LOW…ream/include/dt-bindings/power/mediatek,mt6893-power.h1/* SPDX-License-Identifier: (GPL-2.0 OR MIT) */COMMENT
LOW…ream/include/dt-bindings/power/mediatek,mt6893-power.h21#define MT6893_POWER_DOMAIN_VDEC0 11COMMENT
LOW…pstream/include/dt-bindings/power/owl-s500-powergate.h1/*COMMENT
LOWdts/upstream/include/dt-bindings/power/rk3128-power.h1/* SPDX-License-Identifier: GPL-2.0 */COMMENT
LOWdts/upstream/include/dt-bindings/power/imx8mm-power.h1/* SPDX-License-Identifier: (GPL-2.0 OR MIT) */COMMENT
30535 more matches not shown…
Cross-Language Confusion66 hits · 359 pts
SeverityFileLineSnippetContext
HIGHtools/binman/entry.py634 is null, then None is returned.STRING
HIGHtools/buildman/kconfiglib.py4132 example, 'default A && B if C || D' is represented asCODE
HIGHtools/buildman/kconfiglib.py4132 example, 'default A && B if C || D' is represented asCODE
HIGHtools/buildman/kconfiglib.py4141 example, 'select A if B && C' is represented as (A, (AND, B, C)). If noCODE
HIGHtools/buildman/kconfiglib.py6151 split_expr( A && B , OR ) -> [A && B]CODE
HIGHtools/buildman/kconfiglib.py6152 split_expr( A || B , OR ) -> [A, B]CODE
HIGHtools/buildman/kconfiglib.py6153 split_expr( A || B , AND ) -> [A || B]CODE
HIGHtools/buildman/kconfiglib.py6154 split_expr( A || B || (C && D) , OR ) -> [A, B, C && D]CODE
HIGHtools/buildman/kconfiglib.py6154 split_expr( A || B || (C && D) , OR ) -> [A, B, C && D]CODE
HIGHtools/buildman/kconfiglib.py6157 split_expr( A || (B && (C || D)) , OR ) -> [A, B && (C || D)]CODE
HIGHtools/buildman/kconfiglib.py6161 split_expr( (A || B) || C , OR ) -> [A, B, C]CODE
HIGHtools/buildman/kconfiglib.py6162 split_expr( A || (B || C) , OR ) -> [A, B, C]CODE
HIGHtools/buildman/kconfiglib.py1550 /dev/null).CODE
HIGHtools/buildman/kconfiglib.py1966 which has the value y, then eval_string("y && (FOO || BAR)") returnsCODE
HIGHtools/buildman/kconfiglib.py1975 the C implementation. m is rewritten to 'm && MODULES', soCODE
HIGHtools/buildman/kconfiglib.py4022 (A, !A, A && B, A || B).CODE
HIGHtools/buildman/kconfiglib.py4022 (A, !A, A && B, A || B).CODE
HIGHtools/buildman/kconfiglib.py4119 If the symbol is undefined, the location is given as "(undefined)".CODE
HIGHtools/buildman/kconfiglib.py4158 Gotcha: 1 and 2 above will be represented as (undefined) Symbols ratherCODE
HIGHtools/buildman/kconfiglib.py5123 example, 'default A if B && C' is represented as (A, (AND, B, C)). IfCODE
HIGHtools/buildman/kconfiglib.py188 tristate "foo" if A && B && C && DSTRING
HIGHtools/buildman/kconfiglib.py189 default y if A && B && CSTRING
HIGHtools/buildman/kconfiglib.py193In this example, A && B && C && D (the prompt condition) needs to be non-n forSTRING
HIGHtools/buildman/kconfiglib.py306A && B (AND, A, B)STRING
HIGHtools/buildman/kconfiglib.py307A && B && C (AND, A, (AND, B, C))STRING
HIGHtools/buildman/kconfiglib.py308A || B (OR, A, B)STRING
HIGHtools/buildman/kconfiglib.py309A || (B && C && D) (OR, A, (AND, B, (AND, C, D)))STRING
HIGHtools/buildman/kconfiglib.py312A && B = C && D (AND, A, (AND, (EQUAL, B, C), D))STRING
HIGHtools/buildman/kconfiglib.py329 - The value of A && B is min(A.tri_value, B.tri_value)STRING
HIGHtools/buildman/kconfiglib.py331 - The value of A || B is max(A.tri_value, B.tri_value)STRING
HIGHtools/buildman/kconfiglib.py338 For constant (as well as undefined) symbols, str_value matches the name ofSTRING
HIGHtools/buildman/kconfiglib.py6434 return "(undefined)"STRING
HIGHtools/u_boot_pylib/cros_subprocess.py305 cmd = 'echo fred >/dev/stderr && false || echo bad'CODE
HIGHtools/u_boot_pylib/cros_subprocess.py305 cmd = 'echo fred >/dev/stderr && false || echo bad'CODE
HIGHtest/py/tests/test_efi_selftest.py40 ubman.run_command(cmd='test "${efi_test}" = x && setenv serial# 0')CODE
HIGHtest/py/tests/test_source.py24 assert 'Fail' in ubman.run_command('source :not-a-script || echo Fail')CODE
HIGHtest/py/tests/test_source.py35 assert 'Fail' in ubman.run_command('source || echo Fail')CODE
HIGHtest/py/tests/test_source.py59 assert 'Fail' in ubman.run_command('source ${fdtcontroladdr}:no-such-script || echo Fail')CODE
HIGHtest/py/tests/test_source.py67 assert 'Fail' in ubman.run_command('source ${fdtcontroladdr}:boot || echo Fail')CODE
HIGHtest/py/tests/test_env.py489 call('( echo foo=bar | %s -s 8192 -p 0x00 - ; dd if=/dev/zero bs=2088960 count=1 2>/dev/null ) > %s' % ( mkenvimCODE
HIGHtest/py/tests/test_env.py820 'ubifs_boot=env exists bootubipart || env set bootubipart UBI; 'STRING
HIGHtest/py/tests/test_env.py821 'env exists bootubivol || env set bootubivol boot; 'STRING
HIGHtest/py/tests/test_fpga.py208 output = ubman.run_command('fpga load %x %x $filesize && echo %s' % (dev, addr, expected_text))CODE
HIGHtest/py/tests/test_fpga.py218 output = ubman.run_command('fpga load %x %x $filesize && echo %s' % (dev, addr, expected_text))CODE
HIGHtest/py/tests/test_fpga.py225 output = ubman.run_command('fpga loadp %x %x $filesize && echo %s' % (dev, addr, expected_text))CODE
HIGHtest/py/tests/test_fpga.py234 output = ubman.run_command('fpga loadb %x %x $filesize && echo %s' % (dev, addr, expected_text))CODE
HIGHtest/py/tests/test_fpga.py244 output = ubman.run_command('fpga loadb %x %x $filesize && echo %s' % (dev, addr, expected_text))CODE
HIGHtest/py/tests/test_fpga.py251 output = ubman.run_command('fpga loadbp %x %x $filesize && echo %s' % (dev, addr, expected_text))CODE
HIGHtest/py/tests/test_fpga.py285 output = ubman.run_command('fpga loadmk %x %x && echo %s' % (dev, addr, expected_text))CODE
HIGHtest/py/tests/test_fpga.py302 output = ubman.run_command('fpga loadmk %x && echo %s' % (addr, expected_text))CODE
HIGHtest/py/tests/test_fpga.py319 output = ubman.run_command('fpga loadmk %x && echo %s' % (dev, expected_text))CODE
HIGHtest/py/tests/test_fpga.py337 output = ubman.run_command('fpga loadmk && echo %s' % (expected_text))CODE
HIGHtest/py/tests/test_fpga.py353 output = ubman.run_command('fpga loadmk %x %x && echo %s' % (dev, addr, expected_text))CODE
HIGHtest/py/tests/test_fpga.py366 output = ubman.run_command('fpga loadmk %x %x:fpga && echo %s' % (dev, addr, expected_text))CODE
HIGHtest/py/tests/test_fpga.py379 output = ubman.run_command('fpga loadmk %x %x:fpga && echo %s' % (dev, addr, expected_text))CODE
HIGHtest/py/tests/test_fpga.py394 output = ubman.run_command('fpga loadmk %x:fpga && echo %s' % (addr, expected_text))CODE
HIGHtest/py/tests/test_fpga.py410 output = ubman.run_command('fpga loadmk %x && echo %s' % (dev, expected_text))CODE
HIGHtest/py/tests/test_fpga.py427 output = ubman.run_command('fpga loadmk && echo %s' % (expected_text))CODE
HIGHtest/py/tests/test_fpga.py502 output = ubman.run_command('fpga loadfs %x %x %x %x %s && echo %s' % (dev, addr, bit_size, block_size, bit, expectedCODE
HIGHtest/py/tests/test_fs/test_basic.py42 'test -e host 0:0 1MB.file && echo PASS'])CODE
6 more matches not shown…
Cross-File Repetition56 hits · 280 pts
SeverityFileLineSnippetContext
HIGHtools/binman/cbfs_util_test.py0remove the temporary input directory and its contentsSTRING
HIGHtools/binman/bintool_test.py0remove the temporary input directory and its contentsSTRING
HIGHtools/binman/ftest.py0remove the temporary input directory and its contentsSTRING
HIGHtools/binman/fip_util_test.py0remove the temporary input directory and its contentsSTRING
HIGHtools/binman/bintool.py0fetch handler for mkimage this installs mkimage using the apt utility. args: method (fetch_...): method to use returns: STRING
HIGHtools/binman/btool/lzma_alone.py0fetch handler for mkimage this installs mkimage using the apt utility. args: method (fetch_...): method to use returns: STRING
HIGHtools/binman/btool/openssl.py0fetch handler for mkimage this installs mkimage using the apt utility. args: method (fetch_...): method to use returns: STRING
HIGHtools/binman/btool/lz4.py0fetch handler for mkimage this installs mkimage using the apt utility. args: method (fetch_...): method to use returns: STRING
HIGHtools/binman/btool/fdt_add_pubkey.py0fetch handler for mkimage this installs mkimage using the apt utility. args: method (fetch_...): method to use returns: STRING
HIGHtools/binman/btool/mkimage.py0fetch handler for mkimage this installs mkimage using the apt utility. args: method (fetch_...): method to use returns: STRING
HIGHtools/binman/entry.py0check if any entries in this section have faked external blobs if there are faked blobs, the entries are added to the liSTRING
HIGHtools/binman/etype/section.py0check if any entries in this section have faked external blobs if there are faked blobs, the entries are added to the liSTRING
HIGHtools/binman/etype/blob.py0check if any entries in this section have faked external blobs if there are faked blobs, the entries are added to the liSTRING
HIGHtools/binman/image.py0write symbol values into binary files for access at run timeSTRING
HIGHtools/binman/etype/intel_ifwi.py0write symbol values into binary files for access at run timeSTRING
HIGHtools/binman/etype/section.py0write symbol values into binary files for access at run timeSTRING
HIGHtools/binman/etype/u_boot_spl_elf.py0u-boot vpl elf image properties / entry arguments: - filename: filename of vpl u-boot (default 'vpl/u-boot-vpl') this isSTRING
HIGHtools/binman/etype/u_boot_tpl_elf.py0u-boot vpl elf image properties / entry arguments: - filename: filename of vpl u-boot (default 'vpl/u-boot-vpl') this isSTRING
HIGHtools/binman/etype/u_boot_elf.py0u-boot vpl elf image properties / entry arguments: - filename: filename of vpl u-boot (default 'vpl/u-boot-vpl') this isSTRING
HIGHtools/binman/etype/u_boot_vpl_elf.py0u-boot vpl elf image properties / entry arguments: - filename: filename of vpl u-boot (default 'vpl/u-boot-vpl') this isSTRING
HIGHtools/binman/etype/ti_secure.py0get the contents of this entry args: required: true if the data must be present, false if it is ok to return none returnSTRING
HIGHtools/binman/etype/ti_secure_rom.py0get the contents of this entry args: required: true if the data must be present, false if it is ok to return none returnSTRING
HIGHtools/binman/etype/vblock.py0get the contents of this entry args: required: true if the data must be present, false if it is ok to return none returnSTRING
HIGHtools/binman/etype/x86_reset16.py0x86 16-bit reset code for u-boot properties / entry arguments: - filename: filename of u-boot-x86-reset16.bin (default 'STRING
HIGHtools/binman/etype/x86_reset16_tpl.py0x86 16-bit reset code for u-boot properties / entry arguments: - filename: filename of u-boot-x86-reset16.bin (default 'STRING
HIGHtools/binman/etype/x86_reset16_spl.py0x86 16-bit reset code for u-boot properties / entry arguments: - filename: filename of u-boot-x86-reset16.bin (default 'STRING
HIGHtools/binman/etype/u_boot_vpl_bss_pad.py0u-boot spl binary padded with a bss region properties / entry arguments: none this holds the padding added after the splSTRING
HIGHtools/binman/etype/u_boot_tpl_bss_pad.py0u-boot spl binary padded with a bss region properties / entry arguments: none this holds the padding added after the splSTRING
HIGHtools/binman/etype/u_boot_spl_bss_pad.py0u-boot spl binary padded with a bss region properties / entry arguments: none this holds the padding added after the splSTRING
HIGHtools/binman/etype/u_boot_spl_expanded.py0u-boot vpl flat binary broken out into its component parts properties / entry arguments: - vpl-dtb: controls whether thiSTRING
HIGHtools/binman/etype/u_boot_tpl_expanded.py0u-boot vpl flat binary broken out into its component parts properties / entry arguments: - vpl-dtb: controls whether thiSTRING
HIGHtools/binman/etype/u_boot_vpl_expanded.py0u-boot vpl flat binary broken out into its component parts properties / entry arguments: - vpl-dtb: controls whether thiSTRING
HIGHtools/binman/etype/u_boot_vpl.py0u-boot spl binary properties / entry arguments: - filename: filename of u-boot-spl.bin (default 'spl/u-boot-spl.bin') thSTRING
HIGHtools/binman/etype/u_boot_tpl.py0u-boot spl binary properties / entry arguments: - filename: filename of u-boot-spl.bin (default 'spl/u-boot-spl.bin') thSTRING
HIGHtools/binman/etype/u_boot_spl.py0u-boot spl binary properties / entry arguments: - filename: filename of u-boot-spl.bin (default 'spl/u-boot-spl.bin') thSTRING
HIGHtools/binman/btool/lzma_alone.py0compression/decompression using the zstd algorithm this bintool supports running `zstd` to compress and decompress data,STRING
HIGHtools/binman/btool/btool_gzip.py0compression/decompression using the zstd algorithm this bintool supports running `zstd` to compress and decompress data,STRING
HIGHtools/binman/btool/lz4.py0compression/decompression using the zstd algorithm this bintool supports running `zstd` to compress and decompress data,STRING
HIGHtools/binman/btool/bzip2.py0compression/decompression using the zstd algorithm this bintool supports running `zstd` to compress and decompress data,STRING
HIGHtools/binman/btool/lzop.py0compression/decompression using the zstd algorithm this bintool supports running `zstd` to compress and decompress data,STRING
HIGHtools/binman/btool/xz.py0compression/decompression using the zstd algorithm this bintool supports running `zstd` to compress and decompress data,STRING
HIGHtools/binman/btool/zstd.py0compression/decompression using the zstd algorithm this bintool supports running `zstd` to compress and decompress data,STRING
HIGHtools/binman/btool/btool_gzip.py0bintool implementation for zstd zstd allows compression and decompression of files. documentation is available via:: manSTRING
HIGHtools/binman/btool/bzip2.py0bintool implementation for zstd zstd allows compression and decompression of files. documentation is available via:: manSTRING
HIGHtools/binman/btool/lzop.py0bintool implementation for zstd zstd allows compression and decompression of files. documentation is available via:: manSTRING
HIGHtools/binman/btool/xz.py0bintool implementation for zstd zstd allows compression and decompression of files. documentation is available via:: manSTRING
HIGHtools/binman/btool/zstd.py0bintool implementation for zstd zstd allows compression and decompression of files. documentation is available via:: manSTRING
HIGHtest/py/tests/test_net.py0execute any commands required to enable network hardware. these commands are provided by the boardenv_* file; see the coSTRING
HIGHtest/py/tests/test_efi_fit.py0execute any commands required to enable network hardware. these commands are provided by the boardenv_* file; see the coSTRING
HIGHtest/py/tests/test_efi_loader.py0execute any commands required to enable network hardware. these commands are provided by the boardenv_* file; see the coSTRING
HIGHtest/py/tests/test_net.py0set up the network using a static ip configuration. the configuration is provided by the boardenv_* file; see the commenSTRING
HIGHtest/py/tests/test_efi_fit.py0set up the network using a static ip configuration. the configuration is provided by the boardenv_* file; see the commenSTRING
HIGHtest/py/tests/test_efi_loader.py0set up the network using a static ip configuration. the configuration is provided by the boardenv_* file; see the commenSTRING
HIGHtest/py/tests/test_vpl.py0execute a "ut" subtest. the subtests are collected in function generate_ut_subtest() from linker generated lists by applSTRING
HIGHtest/py/tests/test_ut.py0execute a "ut" subtest. the subtests are collected in function generate_ut_subtest() from linker generated lists by applSTRING
HIGHtest/py/tests/test_spl.py0execute a "ut" subtest. the subtests are collected in function generate_ut_subtest() from linker generated lists by applSTRING
Decorative Section Separators102 hits · 274 pts
SeverityFileLineSnippetContext
MEDIUMdts/upstream/Bindings/net/ethernet-controller.yaml271# ===========COMMENT
MEDIUMdts/upstream/Bindings/remoteproc/ti,k3-r5f-rproc.yaml65# --------------------COMMENT
MEDIUMdts/upstream/Bindings/remoteproc/ti,k3-r5f-rproc.yaml83# ==========================COMMENT
MEDIUMdts/upstream/Bindings/remoteproc/ti,k3-r5f-rproc.yaml170# --------------------COMMENT
MEDIUM…s/upstream/Bindings/remoteproc/ti,omap-remoteproc.yaml88# --------------------COMMENT
MEDIUMdts/upstream/Bindings/remoteproc/ti,k3-dsp-rproc.yaml75# --------------------COMMENT
MEDIUM…pstream/Bindings/regulator/rohm,bd71828-regulator.yaml85 # --------------------------------------------------------------COMMENT
MEDIUM…pstream/Bindings/regulator/rohm,bd71828-regulator.yaml87 # --------------------------------------------------------------COMMENT
MEDIUM…pstream/Bindings/regulator/rohm,bd71828-regulator.yaml89 # --------------------------------------------------------------COMMENT
MEDIUM…pstream/Bindings/regulator/rohm,bd71837-regulator.yaml85 # ----------------------------------------------------------------COMMENT
MEDIUM…pstream/Bindings/regulator/rohm,bd71837-regulator.yaml87 # ----------------------------------------------------------------COMMENT
MEDIUM…pstream/Bindings/regulator/rohm,bd71837-regulator.yaml89 # ----------------------------------------------------------------COMMENT
MEDIUM…pstream/Bindings/regulator/rohm,bd71837-regulator.yaml91 # ----------------------------------------------------------------COMMENT
MEDIUM…pstream/Bindings/regulator/rohm,bd71837-regulator.yaml93 # ----------------------------------------------------------------COMMENT
MEDIUM…pstream/Bindings/regulator/rohm,bd71847-regulator.yaml84 # ----------------------------------------------------------------COMMENT
MEDIUM…pstream/Bindings/regulator/rohm,bd71847-regulator.yaml86 # ----------------------------------------------------------------COMMENT
MEDIUM…pstream/Bindings/regulator/rohm,bd71847-regulator.yaml88 # ----------------------------------------------------------------COMMENT
MEDIUM…pstream/Bindings/regulator/rohm,bd72720-regulator.yaml69 # --------------------------------------------------------------COMMENT
MEDIUM…pstream/Bindings/regulator/rohm,bd72720-regulator.yaml71 # --------------------------------------------------------------COMMENT
MEDIUM…pstream/Bindings/regulator/rohm,bd72720-regulator.yaml73 # --------------------------------------------------------------COMMENT
MEDIUM…pstream/Bindings/regulator/rohm,bd72720-regulator.yaml133 # --------------------------------------------------------------COMMENT
MEDIUM…pstream/Bindings/regulator/rohm,bd72720-regulator.yaml135 # --------------------------------------------------------------COMMENT
MEDIUM…pstream/Bindings/regulator/rohm,bd72720-regulator.yaml137 # --------------------------------------------------------------COMMENT
MEDIUMdts/upstream/Bindings/sound/renesas,rsnd.yaml283 # --------------------COMMENT
MEDIUMdts/upstream/Bindings/sound/renesas,rsnd.yaml285 # --------------------COMMENT
MEDIUMdts/upstream/Bindings/sound/renesas,rsnd.yaml340 # --------------------COMMENT
MEDIUMdts/upstream/Bindings/sound/renesas,rsnd.yaml342 # --------------------COMMENT
MEDIUMdts/upstream/Bindings/sound/simple-card.yaml288# --------------------COMMENT
MEDIUMdts/upstream/Bindings/sound/simple-card.yaml290# --------------------COMMENT
MEDIUMdts/upstream/Bindings/sound/simple-card.yaml317# --------------------COMMENT
MEDIUMdts/upstream/Bindings/sound/simple-card.yaml319# --------------------COMMENT
MEDIUMdts/upstream/Bindings/sound/simple-card.yaml360# --------------------COMMENT
MEDIUMdts/upstream/Bindings/sound/simple-card.yaml363# --------------------COMMENT
MEDIUMdts/upstream/Bindings/sound/simple-card.yaml385# --------------------COMMENT
MEDIUMdts/upstream/Bindings/sound/simple-card.yaml388# --------------------COMMENT
MEDIUMdts/upstream/Bindings/sound/simple-card.yaml427# --------------------COMMENT
MEDIUMdts/upstream/Bindings/sound/simple-card.yaml429# --------------------COMMENT
MEDIUMdts/upstream/Bindings/sound/simple-card.yaml455# --------------------COMMENT
MEDIUMdts/upstream/Bindings/sound/simple-card.yaml457# --------------------COMMENT
MEDIUMdts/upstream/Bindings/sound/simple-card.yaml492# --------------------COMMENT
MEDIUMdts/upstream/Bindings/sound/simple-card.yaml501# --------------------COMMENT
MEDIUMtest/fs/fs-test.sh21# --------------------------------------------COMMENT
MEDIUMtest/fs/fs-test.sh23# --------------------------------------------COMMENT
MEDIUMlib/mbedtls/external/mbedtls/tests/compat-in-docker.sh14# ---------------COMMENT
MEDIUMlib/mbedtls/external/mbedtls/tests/ssl-opt-in-docker.sh14# ---------------COMMENT
MEDIUM…bedtls/external/mbedtls/tests/scripts/all-in-docker.sh14# ---------------COMMENT
MEDIUM…b/mbedtls/external/mbedtls/tests/scripts/docker_env.sh17# ---------------COMMENT
MEDIUM…dtls/external/mbedtls/tests/scripts/basic-in-docker.sh17# ---------------COMMENT
MEDIUMlib/mbedtls/external/mbedtls/tests/scripts/all.sh20# ---------------COMMENT
MEDIUMlib/mbedtls/external/mbedtls/tests/scripts/all.sh68# ---------------------COMMENT
MEDIUMlib/mbedtls/external/mbedtls/tests/scripts/all.sh848# -------------------------COMMENT
MEDIUMlib/mbedtls/external/mbedtls/tests/scripts/all.sh2659 # -------------COMMENT
MEDIUMlib/mbedtls/external/mbedtls/tests/scripts/all.sh2700 # -------------COMMENT
MEDIUMlib/mbedtls/external/mbedtls/tests/scripts/all.sh2738 # -------------COMMENT
MEDIUMlib/mbedtls/external/mbedtls/tests/scripts/all.sh2792 # -------------COMMENT
MEDIUMlib/mbedtls/external/mbedtls/tests/scripts/all.sh2852 # -------------COMMENT
MEDIUMlib/mbedtls/external/mbedtls/tests/scripts/all.sh2964 # -------------COMMENT
MEDIUMlib/mbedtls/external/mbedtls/tests/scripts/all.sh3045 # -------------COMMENT
MEDIUMlib/mbedtls/external/mbedtls/tests/scripts/all.sh3150 # -------------COMMENT
MEDIUMlib/mbedtls/external/mbedtls/tests/scripts/all.sh3328 # -------------COMMENT
42 more matches not shown…
Docstring Block Structure50 hits · 250 pts
SeverityFileLineSnippetContext
HIGHtools/qconfig.py191Read a file and return the contents Args: fname (str): Filename to read from as_lines (bool): ReturSTRING
HIGHtools/binman/cbfs_util.py143Look up the name of a compression algorithm Args: compress: Compression algorithm number to find (COMPRESS_STRING
HIGHtools/binman/fip_util.py191get_type_uuid() - Convert a type or uuid into both This always returns a UUID, but may not return a type since it dSTRING
HIGHtools/binman/fip_util.py404get_entry() - Find an entry by type or UUID Args: fip_type_or_uuid (str or bytes): Name of the typeSTRING
HIGHtools/binman/fip_util.py427parse_macros: Parse the firmware_image_package.h file Args: srcdir (str): 'trusted-firmware-a' source direcSTRING
HIGHtools/binman/fip_util.py472parse_names: Parse the tbbr_config.c file Args: srcdir (str): 'trusted-firmware-a' source directory ReSTRING
HIGHtools/binman/bintool.py484Fetch handler for a bintool This should be implemented by the base class Args: method (FETSTRING
HIGHtools/binman/bintool.py590Fetch handler This installs the gzip package using the apt utility. Args: method (FETCH_..STRING
HIGHtools/binman/entry.py582Return the values of a set of properties Looks up the named entryargs and returns the value for each. If any STRING
HIGHtools/binman/entry.py694Do any post-packing updates of entry contents This function should call ProcessContentsUpdate() to update the eSTRING
HIGHtools/binman/entry.py795Get the value of an entry argument or device-tree-node property Some node properties can be provided as argumenSTRING
HIGHtools/binman/elf.py192Get the struct.pack/unpack string to use with a given symbol Args: sym (Symbol): Symbol to check. Only the STRING
HIGHtools/binman/elf.py325Get the value of a symbol This can only be used on symbols with an integer value. Args: sym (Symbol): STRING
HIGHtools/binman/elf.py529Read segments from an ELF file Args: data (bytes): Contents of file Returns: tuple: STRING
HIGHtools/binman/image.py109Convert an image file into an Image for use in binman Args: fname: Filename of image file to read STRING
HIGHtools/binman/image.py236Find an entry at a given path in the image Args: entry_path: Path to entry (e.g. /ro-section/u-bootSTRING
HIGHtools/binman/image.py387Get the value of a Binman symbol Look up a Binman symbol and obtain its value. This searches through tSTRING
HIGHtools/binman/etype/fit.py540Get the operation referenced by a subnode Args: node (Node): Subnode (of the FIT) to check STRING
HIGHtools/binman/etype/fit.py597Detect private and encryption keys path among binman include directories Args: data: FIT image in bSTRING
HIGHtools/binman/etype/section.py572Look up the entry for a binman symbol Args: entries (dict): entries to search: key:STRING
HIGHtools/binman/etype/section.py616Get the value of a Binman symbol Look up a Binman symbol and obtain its value. At present the only entSTRING
HIGHtools/binman/btool/lzma_alone.py95Fetch handler for lzma_alone This installs the lzma-alone package using the apt utility. Args: STRING
HIGHtools/binman/btool/ifwitool.py148Fetch handler for ifwitool This installs ifwitool using a binary download. Args: method (FSTRING
HIGHtools/binman/btool/openssl.py351Fetch handler for openssl This installs the openssl package using the apt utility. Args: mSTRING
HIGHtools/binman/btool/lz4.py112Fetch handler for lz4 This installs the lz4 package using the apt utility. Args: method (FSTRING
HIGHtools/binman/btool/cbfstool.py201Fetch handler for cbfstool This installs cbfstool by downloading from Google Drive. Args: STRING
HIGHtools/binman/btool/fdt_add_pubkey.py55Fetch handler for fdt_add_pubkey This installs fdt_add_pubkey using the apt utility. Args: STRING
HIGHtools/binman/btool/mkimage.py58Fetch handler for mkimage This installs mkimage using the apt utility. Args: method (FETCHSTRING
HIGHtools/binman/btool/futility.py149Fetch handler for futility This installs futility using a binary download. Args: method (FSTRING
HIGHtools/binman/btool/fdtgrep.py119Fetch handler for fdtgrep This installs fdtgrep using the apt utility, which assumes that it is packageSTRING
HIGHtools/dtoc/fdt_util.py127Get a 64-bit integer from a property Args: node (Node): Node object to read from propname (str): prSTRING
HIGHtools/dtoc/fdt_util.py316Get a value of a given type from a property Args: node: Node object to read from propname: propertySTRING
HIGHtools/dtoc/fdt.py432Check if a property is present Args: prop_name: Name of property Returns: selfSTRING
HIGHtools/dtoc/fdt.py646Sync node changes back to the device tree This updates the device tree blob with any changes to this node and iSTRING
HIGHtools/dtoc/fdt.py928Get all properties from a node. Args: node: Full path to node name to look in. Returns: STRING
HIGHtools/dtoc/dtb_platdata.py294Check if a node contains phandles We have no reliable way of detecting whether a node uses a phandle orSTRING
HIGHtools/dtoc/dtb_platdata.py1151Run all the steps of the dtoc tool Args: args (list): List of non-option arguments provided to the problem STRING
HIGHtools/buildman/cfgutil.py132Convert a list of config changes into the dict used by adjust_cfg_file() Args: adjust_cfg_list (list of strSTRING
HIGHtools/buildman/boards.py57Check if the output file is up to date. Looks at defconfig and Kconfig files to make sure none is newer than the STRING
HIGHtools/patman/patchstream.py225Parse a version from a *-changes tag Args: value (str): Tag value (part after 'xxx-changes: ' STRING
HIGHtools/patman/patchstream.py299Process a single line of a patch file or commit log This process a line and returns a list of lines to output. STRING
HIGHtools/u_boot_pylib/command.py70 Perform a command pipeline, with optional input/output filenames. Args: pipe_list (list of list): ListSTRING
HIGHtools/u_boot_pylib/gitutil.py560If an email address is an alias, look it up and return the full name TODO: Why not just use git's own alias featureSTRING
HIGHtools/u_boot_pylib/tools.py143Return a filename for use as input. Args: fname: Filename to use for new file allow_missing: True iSTRING
HIGHtest/py/utils.py363Wait a process to terminate by its PID This is an alternative to a os.waitpid(pid, 0) call that works on procesSTRING
HIGHtest/py/spawn.py215Receive data from the sub-process's stdin. Args: num_bytes (int): Maximum number of bytes to read STRING
HIGHtest/py/tests/vboot_evil.py203Change a given property value Args: dt_struct (bytes): Devicetree struct section dt_strings (bytes)STRING
HIGHtest/py/tests/vboot_evil.py229Change a given node name Args: dt_struct (bytes): Devicetree struct section dt_strings (bytes): DevSTRING
HIGHtest/py/tests/vboot_evil.py253Get the content of a property based on its path Args: dt_struct (bytes): Devicetree struct section STRING
HIGHscripts/gen_compile_commands.py155Extracts information from a .cmd line and creates an entry from it. Args: root_directory: The directory thaSTRING
Self-Referential Comments84 hits · 241 pts
SeverityFileLineSnippetContext
MEDIUMtools/rmboard.py127 # Create the commitSTRING
MEDIUMtools/binman/cbfs_util_test.py37 # Create a temporary directory for test filesCOMMENT
MEDIUMtools/binman/cbfs_util_test.py266 # Create a new CBFS with a change to the file typeCOMMENT
MEDIUMtools/binman/cbfs_util_test.py374 # Create a new CBFS with only the first 16 bytes of the file name, thenCOMMENT
MEDIUMtools/binman/cbfs_util_test.py418 # Create a new CBFS with the tag changed to something invalidCOMMENT
MEDIUMtools/binman/cbfs_util_test.py440 # Create a new CBFS with only the first 4 bytes of the compression tag,COMMENT
MEDIUMtools/binman/cbfs_util.py749 # Create the correct CbfsFile object depending on the typeCOMMENT
MEDIUMtools/binman/bintool_test.py28 # Create a temporary directory for test filesCOMMENT
MEDIUMtools/binman/control.py939 # Create the directory here instead of Entry.check_fake_fname()COMMENT
MEDIUMtools/binman/ftest.py164 # Create a temporary directory for input filesCOMMENT
MEDIUMtools/binman/ftest.py3150 # Create a set of all file that were output (should be 9)STRING
MEDIUMtools/binman/entry.py866 # Create a reference for use by rST docsSTRING
MEDIUMtools/binman/fip_util_test.py37 # Create a temporary directory for test filesCOMMENT
MEDIUMtools/binman/etype/intel_ifwi.py58 # Create the IFWI file if neededCOMMENT
MEDIUMtools/binman/etype/fmap.py63 # Create an area for the section, which encompasses all entriesCOMMENT
MEDIUMtools/buildman/control.py794 # Create a new builder with the selected argsCOMMENT
MEDIUMtools/buildman/test.py1025 # Create a fake tool to useSTRING
MEDIUMtools/buildman/builder.py1691 # Create a worktree or a git repo clone for this thread if itCOMMENT
MEDIUMtools/buildman/builderthread.py492 # Create a default result - it will be overwritte by the call toCOMMENT
MEDIUMtools/buildman/func_test.py859 # Create a boards.cfg fileSTRING
MEDIUMtools/patman/patchstream.py842 # Create a backup file if requiredCOMMENT
MEDIUMtest/py/conftest.py576 # Create the buckets we will use, each has a count and a total timeCOMMENT
MEDIUMtest/py/tests/test_ut.py352 # Create a dict (indexed by partition number) containing the above infoCOMMENT
MEDIUMtest/py/tests/test_ut.py434 # Create a dict (indexed by partition number) containing the above infoCOMMENT
MEDIUMtest/py/tests/test_ut.py488 # Create a dict (indexed by partition number) containing the above infoCOMMENT
MEDIUMtest/py/tests/test_ut.py536 # Create a file with a single partitionCOMMENT
MEDIUMtest/py/tests/test_efi_fit.py60# Define the parametrized ITS data to be used for FIT images generation.COMMENT
MEDIUMtest/py/tests/test_efi_fit.py138# Define the parametrized FDT data to be used for DTB images generation.STRING
MEDIUMtest/py/tests/test_fit.py13# Define a base ITS which we can adjust using % and a dictionaryCOMMENT
MEDIUMtest/py/tests/test_fit.py83# Define a base FDT - currently we don't use anything in thisSTRING
MEDIUMtest/py/tests/test_vboot.py286 # Create a certificate containing the public keyCOMMENT
MEDIUMtest/py/tests/test_vboot.py318 # Create a fresh .dtb without the public keysCOMMENT
MEDIUMtest/py/tests/test_vboot.py385 # Create a new properly signed fit and replace header bytesCOMMENT
MEDIUMtest/py/tests/test_vboot.py418 # Create a new properly signed fit and replace hashed-stringsCOMMENT
MEDIUMtest/py/tests/test_vboot.py566 # Create a number kernel image with zeroesCOMMENT
MEDIUMtest/py/tests/test_vboot.py570 # Create a second kernel image with onesCOMMENT
MEDIUMtest/py/tests/test_vboot.py659 # Create a certificate containing the public keyCOMMENT
MEDIUMtest/py/tests/test_vboot.py698 # Create a kernel image filled with zeroesCOMMENT
MEDIUMtest/py/tests/test_vboot.py815 # Create a fresh .dtb without the public keysCOMMENT
MEDIUMtest/py/tests/test_vbe.py10# Define a base ITS which we can adjust using % and a dictionaryCOMMENT
MEDIUMtest/py/tests/test_vbe.py66# Define a base FDT - currently we don't use anything in thisSTRING
MEDIUMtest/py/tests/test_fit_hashes.py104 # Create a fake kernel image -- Avoid zeroes or crc16 will be zeroCOMMENT
MEDIUMtest/py/tests/test_fit_ecdsa.py97 # Create a fake kernel image -- zeroes will do just fineCOMMENT
MEDIUMtest/py/tests/fs_helper.py110 # Create the filesystemSTRING
MEDIUMtest/py/tests/test_fit_auto_signed.py195 # Create a fake kernel image and two dtb files with random dataCOMMENT
MEDIUMtest/py/tests/test_fs/conftest.py214 # Create a subdirectory.COMMENT
MEDIUMtest/py/tests/test_fs/conftest.py228 # Create a small file in this image.COMMENT
MEDIUMtest/py/tests/test_fs/conftest.py308 # Create a test directoryCOMMENT
MEDIUMtest/py/tests/test_fs/conftest.py311 # Create a small file and calculate md5COMMENT
MEDIUMtest/py/tests/test_fs/conftest.py472 # Create a subdirectory.COMMENT
MEDIUMtest/py/tests/test_fs/conftest.py475 # Create a small file in this image.COMMENT
MEDIUMtest/py/tests/test_fs/conftest.py479 # Create a medium file in this image.COMMENT
MEDIUMtest/py/tests/test_efi_secboot/conftest.py110 # Create a corrupted signed imageCOMMENT
MEDIUMtest/py/tests/test_efi_capsule/conftest.py31 # Create a target deviceCOMMENT
MEDIUMtest/py/tests/test_efi_capsule/conftest.py90 # Create a 16MiB partition as the EFI system partition in the diskCOMMENT
MEDIUMtest/fs/fs-test.sh356 # Create a subdirectory.COMMENT
MEDIUMtest/fs/fs-test.sh372 # Create a small file in this image.COMMENT
MEDIUMscripts/checkpatch.pl655#Create a search and print patterns for all these strings to be used directly belowCOMMENT
MEDIUMscripts/checkpatch.pl855#Create a search pattern for all these functions to speed up a loop belowCOMMENT
MEDIUMscripts/checkpatch.pl870#Create a search pattern for all these strings to speed up a loop belowCOMMENT
24 more matches not shown…
Unused Imports207 hits · 206 pts
SeverityFileLineSnippetContext
LOWtools/rmboard.py27CODE
LOWtools/binman/cbfs_util_test.py24CODE
LOWtools/binman/cbfs_util.py21CODE
LOWtools/binman/cbfs_util.py25CODE
LOWtools/binman/fip_util.py40CODE
LOWtools/binman/bintool_test.py21CODE
LOWtools/binman/elf_test.py17CODE
LOWtools/binman/control.py9CODE
LOWtools/binman/control.py19CODE
LOWtools/binman/control.py26CODE
LOWtools/binman/ftest.py14CODE
LOWtools/binman/ftest.py41CODE
LOWtools/binman/ftest.py43CODE
LOWtools/binman/entry.py11CODE
LOWtools/binman/entry.py12CODE
LOWtools/binman/fmap_util.py11CODE
LOWtools/binman/fip_util_test.py26CODE
LOWtools/binman/main.py13CODE
LOWtools/binman/main.py73CODE
LOWtools/binman/image.py10CODE
LOWtools/binman/image.py12CODE
LOWtools/binman/image.py13CODE
LOWtools/binman/image.py15CODE
LOWtools/binman/etype/u_boot_vpl_nodtb.py8CODE
LOWtools/binman/etype/u_boot_spl_elf.py8CODE
LOWtools/binman/etype/cbfs.py8CODE
LOWtools/binman/etype/files.py9CODE
LOWtools/binman/etype/u_boot_with_ucode_ptr.py11CODE
LOWtools/binman/etype/u_boot_with_ucode_ptr.py15CODE
LOWtools/binman/etype/u_boot_ucode.py8CODE
LOWtools/binman/etype/u_boot_vpl_dtb.py8CODE
LOWtools/binman/etype/x86_reset16.py8CODE
LOWtools/binman/etype/u_boot_spl_nodtb.py8CODE
LOWtools/binman/etype/u_boot_vpl_bss_pad.py11CODE
LOWtools/binman/etype/x86_start16_spl.py8CODE
LOWtools/binman/etype/x86_start16.py8CODE
LOWtools/binman/etype/u_boot_dtb.py8CODE
LOWtools/binman/etype/u_boot_tpl_nodtb.py8CODE
LOWtools/binman/etype/vblock.py9CODE
LOWtools/binman/etype/vblock.py10CODE
LOWtools/binman/etype/vblock.py15CODE
LOWtools/binman/etype/fmap.py10CODE
LOWtools/binman/etype/u_boot_vpl.py8CODE
LOWtools/binman/etype/null.py7CODE
LOWtools/binman/etype/null.py8CODE
LOWtools/binman/etype/x86_start16_tpl.py8CODE
LOWtools/binman/etype/u_boot_dtb_with_ucode.py8CODE
LOWtools/binman/etype/u_boot_dtb_with_ucode.py10CODE
LOWtools/binman/etype/u_boot_tpl_elf.py8CODE
LOWtools/binman/etype/blob_dtb.py8CODE
LOWtools/binman/etype/nxp_imx8mimage.py12CODE
LOWtools/binman/etype/nxp_imx8mimage.py14CODE
LOWtools/binman/etype/nxp_imx8mimage.py17CODE
LOWtools/binman/etype/u_boot.py8CODE
LOWtools/binman/etype/section.py11CODE
LOWtools/binman/etype/nxp_imx8mcst.py14CODE
LOWtools/binman/etype/nxp_imx8mcst.py16CODE
LOWtools/binman/etype/nxp_imx8mcst.py19CODE
LOWtools/binman/etype/u_boot_tpl_with_ucode_ptr.py8CODE
LOWtools/binman/etype/u_boot_tpl_with_ucode_ptr.py10CODE
147 more matches not shown…
Hyper-Verbose Identifiers212 hits · 196 pts
SeverityFileLineSnippetContext
LOWtools/binman/cbfs_util_test.py236 def test_cbfs_invalid_file_type(self):CODE
LOWtools/binman/cbfs_util_test.py249 def test_cbfs_invalid_file_type_on_read(self):CODE
LOWtools/binman/cbfs_util_test.py340 def test_cbfs_bad_file_header(self):CODE
LOWtools/binman/cbfs_util_test.py361 def test_cbfs_bad_file_string(self):CODE
LOWtools/binman/cbfs_util_test.py424 def test_cbfs_missing_attribute(self):CODE
LOWtools/binman/cbfs_util_test.py452 def test_cbfs_file_master_header(self):CODE
LOWtools/binman/cbfs_util_test.py570 def test_cbfs_invalid_file_type_header(self):CODE
LOWtools/binman/cbfs_util_test.py583 def test_cbfs_offset_conflict(self):CODE
LOWtools/binman/bintool_test.py330 def test_all_bintool_versions(self):CODE
LOWtools/binman/elf_test.py285 def test_read_loadable_segments(self):CODE
LOWtools/binman/elf_test.py305 def test_read_segments_bad_data(self):CODE
LOWtools/binman/elf_test.py329 def test_get_file_offset_fail(self):CODE
LOWtools/binman/elf_test.py342 def test_get_symbol_from_address(self):CODE
LOWtools/binman/elf_test.py353 def test_get_symbol_from_address_fail(self):CODE
LOWtools/binman/fip_util_test.py207 def test_uuid_not_in_tbbr_config_c(self):STRING
LOWtools/dtoc/src_scan.py242 def get_normalized_compat_name(self, node):CODE
LOWtools/dtoc/test_fdt.py205 def test_refresh_missing_node(self):CODE
LOWtools/dtoc/test_fdt.py222 def test_refresh_missing_prop(self):CODE
LOWtools/dtoc/test_fdt.py294 def test_refresh_name_mismatch(self):CODE
LOWtools/dtoc/test_fdt.py407 def test_copy_subnodes_from_phandles(self):CODE
LOWtools/dtoc/test_fdt.py922 def test_ensure_compiled_tmpdir(self):CODE
LOWtools/dtoc/test_fdt.py935 def test_get_phandle_name_offset(self):CODE
LOWtools/dtoc/fdt.py766 def copy_subnodes_from_phandles(self, phandle_list):CODE
LOWtools/dtoc/test_dtoc.py1650 def test_process_nodes_bad_parent(self):STRING
LOWtools/dtoc/test_dtoc.py1667 def test_process_nodes_bad_node(self):STRING
LOWtools/dtoc/test_dtoc.py1680 def test_process_nodes_bad_uclass(self):STRING
LOWtools/dtoc/test_dtoc.py1744 def test_alias_read_bad_uclass(self):STRING
LOWtools/cv_bsp_generator/hps.py285 def get_default_pinmux_configs(self):CODE
LOWtools/buildman/kconfiglib.py2058 def disable_override_warnings(self):STRING
LOWtools/buildman/kconfiglib.py4897 def _rec_invalidate_if_has_prompt(self):STRING
LOWtools/buildman/kconfiglib.py4954 def _warn_select_unsatisfied_deps(self):STRING
LOWtools/buildman/bsettings.py74def create_buildman_config_file(config_fname):CODE
LOWtools/buildman/test.py762 def test_convert_adjust_cfg_list(self):STRING
LOWtools/buildman/builder.py1752 def _get_output_space_removals(self):CODE
LOWtools/buildman/boards.py688 def scan_defconfigs_for_multiprocess(cls, srcdir, queue, defconfigs,STRING
LOWtools/u_boot_pylib/gitutil.py296def check_worktree_is_available(git_dir):CODE
LOWtools/u_boot_pylib/gitutil.py703def get_default_subject_prefix():CODE
LOWtest/py/utils.py147def wait_until_file_open_fails(fn, ignore_errors):CODE
LOWtest/py/utils.py198def run_and_log_expect_exception(ubman, cmd, retcode, msg):CODE
LOWtest/py/console_base.py560 def validate_version_string_in_text(self, text):CODE
LOWtest/py/tests/test_net.py238def test_net_network_discovery(ubman):CODE
LOWtest/py/tests/test_efi_selftest.py27def test_efi_selftest_device_tree(ubman):CODE
LOWtest/py/tests/test_efi_selftest.py47def test_efi_selftest_watchdog_reboot(ubman):CODE
LOWtest/py/tests/test_efi_selftest.py64def test_efi_selftest_text_input(ubman):CODE
LOWtest/py/tests/test_efi_selftest.py119def test_efi_selftest_text_input_ex(ubman):CODE
LOWtest/py/tests/test_net_boot.py372def test_net_pxe_boot_config_invalid(ubman):CODE
LOWtest/py/tests/test_mmc.py272def test_mmc_fatload_fatwrite(ubman):CODE
LOWtest/py/tests/test_mmc.py632def test_mmc_fat_read_write_files(ubman):CODE
LOWtest/py/tests/test_efi_loader.py165def do_test_efi_helloworld_net(ubman, proto):CODE
LOWtest/py/tests/test_efi_loader.py182def test_efi_helloworld_net_tftp(ubman):CODE
LOWtest/py/tests/test_efi_loader.py193def test_efi_helloworld_net_http(ubman):CODE
LOWtest/py/tests/test_efi_loader.py204def test_efi_helloworld_builtin(ubman):CODE
LOWtest/py/tests/test_zynq_secure.py115def test_zynq_aes_partial_bitstream(ubman):CODE
LOWtest/py/tests/test_zynq_secure.py167def test_zynq_rsa_image_invalid(ubman):CODE
LOWtest/py/tests/test_source.py65def test_source_reject_control_dtb(ubman):CODE
LOWtest/py/tests/test_fit.py398 def test_fit_kernel_fdt_ramdisk_load(self, ubman, fsetup):STRING
LOWtest/py/tests/test_fit.py427 def test_fit_compressed_images_load(self, ubman, fsetup):STRING
LOWtest/py/tests/test_fit.py460 def test_fit_iminfo_configs_first(self, ubman, fsetup):STRING
LOWtest/py/tests/test_fit.py514 def test_fit_kernel_noload_decomp_overflow(self, ubman, fsetup):STRING
LOWtest/py/tests/test_fit.py566 def test_fit_kernel_noload_decomp_boundary(self, ubman, fsetup):STRING
152 more matches not shown…
Deep Nesting194 hits · 184 pts
SeverityFileLineSnippetContext
LOWtools/qconfig.py904CODE
LOWtools/qconfig.py1299CODE
LOWtools/qconfig.py1575CODE
LOWtools/qconfig.py435CODE
LOWtools/qconfig.py1312CODE
LOWtools/microcode-tool.py38CODE
LOWtools/microcode-tool.py78CODE
LOWtools/microcode-tool.py244CODE
LOWtools/endian-swap.py42CODE
LOWtools/rmboard.py57CODE
LOWtools/expo.py33CODE
LOWtools/zynqmp_pm_cfg_obj_convert.py260CODE
LOWtools/binman/cbfs_util.py669CODE
LOWtools/binman/cbfs_util.py715CODE
LOWtools/binman/fip_util.py426CODE
LOWtools/binman/bintool_test.py194CODE
LOWtools/binman/bintool_test.py294CODE
LOWtools/binman/control.py80CODE
LOWtools/binman/control.py822CODE
LOWtools/binman/ftest.py6424CODE
LOWtools/binman/elf.py142CODE
LOWtools/binman/elf.py236CODE
LOWtools/binman/main.py103CODE
LOWtools/binman/etype/fit.py748CODE
LOWtools/binman/etype/fit.py1061CODE
LOWtools/binman/etype/fit.py754CODE
LOWtools/binman/etype/fit.py794CODE
LOWtools/binman/etype/fit.py830CODE
LOWtools/binman/etype/fit.py908CODE
LOWtools/binman/etype/fit.py942CODE
LOWtools/binman/etype/fit.py994CODE
LOWtools/binman/etype/section.py571CODE
LOWtools/binman/etype/section.py701CODE
LOWtools/binman/etype/ti_board_config.py136CODE
LOWtools/binman/etype/nxp_imx9image.py31CODE
LOWtools/binman/etype/x509_cert.py65CODE
LOWtools/dtoc/src_scan.py333CODE
LOWtools/dtoc/src_scan.py412CODE
LOWtools/dtoc/src_scan.py662CODE
LOWtools/dtoc/src_scan.py737CODE
LOWtools/dtoc/fdt.py56CODE
LOWtools/dtoc/fdt.py133CODE
LOWtools/dtoc/fdt.py645CODE
LOWtools/dtoc/dtb_platdata.py111CODE
LOWtools/dtoc/dtb_platdata.py497CODE
LOWtools/dtoc/dtb_platdata.py539CODE
LOWtools/dtoc/dtb_platdata.py567CODE
LOWtools/dtoc/dtb_platdata.py947CODE
LOWtools/cv_bsp_generator/iocsr.py50CODE
LOWtools/cv_bsp_generator/emif.py140CODE
LOWtools/cv_bsp_generator/emif.py210CODE
LOWtools/cv_bsp_generator/emif.py263CODE
LOWtools/cv_bsp_generator/hps.py395CODE
LOWtools/cv_bsp_generator/hps.py492CODE
LOWtools/cv_bsp_generator/hps.py514CODE
LOWtools/buildman/kconfiglib.py6477CODE
LOWtools/buildman/kconfiglib.py6635CODE
LOWtools/buildman/kconfiglib.py1135CODE
LOWtools/buildman/kconfiglib.py1248CODE
LOWtools/buildman/kconfiglib.py1461CODE
134 more matches not shown…
Redundant / Tautological Comments48 hits · 65 pts
SeverityFileLineSnippetContext
LOWtools/rmboard.py130 # Check if the board is mentioned anywhere else. The user will need to dealSTRING
LOWtools/binman/ftest.py3985 # Check if entry listing correctly omits /images/STRING
LOWtools/binman/ftest.py7437 # Check if fsbl-attribute is set correctlySTRING
LOWtools/binman/ftest.py7439 # Check if key is stored in efuseSTRING
LOWtools/binman/entry.py721 # Check if we are writing symbols into an ELF fileCOMMENT
LOWtools/binman/etype/pre_load.py104 # Check if the key has the expected sizeCOMMENT
LOWtools/cv_bsp_generator/iocsr.py107 # Read the file extension (typically .hiof)COMMENT
LOWtools/buildman/kconfiglib.py4322 # Check if a range is in effectSTRING
LOWtools/buildman/kconfiglib.py4613 # Check if the value is valid for our typeSTRING
LOWtools/buildman/kconfiglib.py5442 # Check if we have a defaultSTRING
LOWtools/buildman/builder.py1156 # Loop through the list of images, creating a dict of sizeCOMMENT
LOWtools/buildman/builder.py1439 # Display results by archCOMMENT
LOWtools/buildman/builderthread.py496 # Check if the job was already completed last timeCOMMENT
LOWtools/u_boot_pylib/terminal.py35# Set this to False to disable output-capturing globallyCOMMENT
LOWtools/u_boot_pylib/tools.py591 # Read the file in chunks and show progress as we goCOMMENT
LOWtest/py/tests/test_mmc_rd.py281 # Check if the command did not take too longCOMMENT
LOWtest/py/tests/test_suite.py17# Set this to True to aid debugging of testsCOMMENT
LOWtest/py/tests/fs_helper.py107 # Write files to fsh.srcdirSTRING
LOWtest/image/test-imagetools.sh89# Write files into an multi-file imageCOMMENT
LOWtest/image/test-imagetools.sh112# Write files into a FIT imageCOMMENT
LOWtest/fs/fs-test.sh62# Check if the prereq binaries exist, or exitCOMMENT
LOWtest/fs/fs-test.sh94 # Check if U-Boot existsCOMMENT
LOWtest/fs/fs-test.sh464 # Check if the ls is showing correct results for 2.5 gb fileCOMMENT
LOWtest/fs/fs-test.sh468 # Check if the ls is showing correct results for 1 mb fileCOMMENT
LOWscripts/checkpatch.pl3087# Check if the commit log has what seems like a diff which can confuse patchCOMMENT
LOWscripts/checkpatch.pl3165# Check if MAINTAINERS is being updated. If so, there's probably no need toCOMMENT
LOWscripts/checkpatch.pl3412# Check if the commit log is in a possible stack dumpCOMMENT
LOWscripts/checkpatch.pl3599# Check if it's the start of a commit logCOMMENT
LOWscripts/checkpatch.pl3609# Check if there is UTF-8 in a commit log when a mail header has explicitlyCOMMENT
LOWscripts/checkpatch.pl4586 # Check if either of these lines are modified, elseCOMMENT
LOWscripts/build-efi.sh61# Set ubdir to the build directory where you build U-Boot out-of-treeCOMMENT
LOWscripts/kconfig/streamline_config.pl504 # Check if something other than a module selects this configCOMMENT
LOWlib/mbedtls/external/mbedtls/tests/ssl-opt.sh218# Check if the required configuration ($1) is enabledCOMMENT
LOWlib/mbedtls/external/mbedtls/tests/ssl-opt.sh1089 # Check if the ServerHello time was printedCOMMENT
LOWlib/mbedtls/external/mbedtls/tests/ssl-opt.sh1114 # Check if memory usage was readCOMMENT
LOWlib/mbedtls/external/mbedtls/tests/ssl-opt.sh1135 # Check if memory usage is below max valueCOMMENT
LOWlib/mbedtls/external/mbedtls/tests/ssl-opt.sh1667 # Check if test uses filesCOMMENT
LOWlib/mbedtls/external/mbedtls/tests/ssl-opt.sh1673 # Check if the test uses DTLS.COMMENT
LOWlib/mbedtls/external/mbedtls/tests/ssl-opt.sh1679 # Check if we are trying to use an external tool which does not support ECDHCOMMENT
LOW…xternal/mbedtls/tests/scripts/check-generated-files.sh8# Check if generated files are up-to-date.COMMENT
LOW…xternal/mbedtls/tests/scripts/check-generated-files.sh107 # Check if there are any new filesCOMMENT
LOW…external/mbedtls/tests/scripts/audit-validity-dates.py162 # Check if Type (1 byte) is SEQUENCE.COMMENT
LOWlib/mbedtls/external/mbedtls/tests/scripts/all.sh2354 # Set MBEDTLS_TEST_DEPRECATED to enable tests for deprecated features.COMMENT
LOW…ternal/mbedtls/docs/architecture/psa-migration/syms.sh33# Check if the provided name refers to a module or library and return theCOMMENT
LOWlib/mbedtls/external/mbedtls/programs/demo_common.sh59## Display the message, then run COMMAND with the specified arguments.COMMENT
LOW…/mbedtls/external/mbedtls/scripts/code_size_compare.py793 # Check if the corresponding record existsCOMMENT
LOWdoc/sphinx/automarkup.py139 # Check if this document has a namespace, and if so, tryCOMMENT
LOWdoc/sphinx/automarkup.py198 # Check if this document has a namespace, and if so, tryCOMMENT
Hallucination Indicators5 hits · 60 pts
SeverityFileLineSnippetContext
CRITICALlib/lwip/lwip/src/apps/snmp/snmp_core.c258 * device a > 1.3.6.1.4.1.XXX(ent-oid).1(devices).1(device a)COMMENT
CRITICALlib/lwip/lwip/src/apps/snmp/snmp_core.c259 * device b > 1.3.6.1.4.1.XXX(ent-oid).1(devices).2(device b)COMMENT
CRITICALdoc/sphinx/kernel_feat.py87 self.state.document.settings.env.app.warn(message, prefix="")CODE
CRITICALdoc/sphinx/kernel_include.py106 self.state.document.settings.record_dependencies.add(path)CODE
CRITICALdoc/sphinx/maintainers_include.py193 self.state.document.settings.record_dependencies.add(path)CODE
AI Slop Vocabulary30 hits · 54 pts
SeverityFileLineSnippetContext
LOWtools/binman/etype/intel_ifwi.py63 # Bintool is missing; just create a zeroed ifwi.binCOMMENT
LOWtools/binman/etype/intel_ifwi.py75 # Bintool is missing; just use zero dataCOMMENT
LOWtools/binman/etype/fit.py713 # Bintool is missing; just use empty data as the outputCOMMENT
LOWtools/binman/etype/xilinx_bootgen.py212 # Bintool is missing; just use empty data as the outputCOMMENT
LOWtools/binman/etype/vblock.py83 # Bintool is missing; just use 4KB of zero dataCOMMENT
LOWtools/binman/etype/nxp_imx8mimage.py69 # Bintool is missing; just use the input data as the outputCOMMENT
LOWtools/binman/etype/nxp_imx8mcst.py172 # Bintool is missing; just use the input data as the outputSTRING
LOWtools/binman/etype/gbb.py96 # Bintool is missing; just use the required amount of zero dataCOMMENT
LOWtools/binman/etype/mkimage.py205 # Bintool is missing; just use the input data as the outputCOMMENT
LOWtools/binman/etype/x509_cert.py151 # Bintool is missing; just use 4KB of zero dataCOMMENT
LOWtools/binman/etype/alternates_fdt.py89 # If there is no current FDT, just use the normal oneCOMMENT
LOWtools/binman/etype/efi_capsule.py164 # Bintool is missing; just use the input data as the outputCOMMENT
LOWtools/buildman/kconfiglib.py3447 # EQUAL, UNEQUAL, etc., so we can just use the token directlySTRING
LOWtools/buildman/kconfiglib.py6583 # to _check_dep_loop_sym(). We just return immediately.STRING
LOWtools/patman/series.py103 # Otherwise just set the valueCOMMENT
LOWtools/u_boot_pylib/tools.py471 # If not found, just return the standard, unchanged pathCOMMENT
LOWtest/py/tests/test_ut.py362 # For now we just use dummy kernels. This limits testing to just detectingCOMMENT
MEDIUMtest/py/tests/test_fw_handoff.py26 """Normalize whitespace for robust comparisons."""STRING
MEDIUMscripts/dtc/update-dtc-source.sh21# aren't a big deal. If anyone is interested in making it more robust, theCOMMENT
LOWlib/lwip/lwip/src/include/lwip/sockets.h214#define SO_DONTROUTE 0x0010 /* Unimplemented: just use interface addresses */COMMENT
MEDIUMlib/mbedtls/external/mbedtls/tests/ssl-opt.sh1560# for the sake of tests' filtering (especially in conjunction with theCOMMENT
LOW…external/mbedtls/tests/scripts/generate_pkcs7_tests.py96 # off the bat just add bytes to start and end of the bufferCOMMENT
MEDIUMlib/mbedtls/external/mbedtls/tests/scripts/all.sh3160# in conjunction with component_test_psa_crypto_config_accel_ecc_no_ecp_at_all().COMMENT
MEDIUMlib/mbedtls/external/mbedtls/tests/scripts/all.sh3266# It is meant to be used in conjunction withCOMMENT
MEDIUMlib/mbedtls/external/mbedtls/tests/scripts/all.sh3346# It is meant to be used in conjunction withCOMMENT
MEDIUM…xternal/mbedtls/scripts/mbedtls_dev/macro_collector.py257 # something more robust.COMMENT
MEDIUM…/external/mbedtls/scripts/mbedtls_dev/bignum_common.py133 # provides earlier/more robust input validation.COMMENT
MEDIUM…/external/mbedtls/scripts/mbedtls_dev/bignum_common.py298 # provides earlier/more robust input validation.COMMENT
LOWdoc/sphinx/automarkup.py252 # Return the xref if we got it; otherwise just return the plain text.COMMENT
MEDIUMdoc/sphinx/kerneldoc.py81 # FIXME: make this nicer and more robust against errorsCOMMENT
Excessive Try-Catch Wrapping34 hits · 43 pts
SeverityFileLineSnippetContext
LOWtools/binman/control.py791 except Exception as e:CODE
LOWtools/binman/main.py138 except Exception as e:CODE
LOWtools/binman/etype/ti_board_config.py258 except Exception as e:CODE
LOWtools/cv_bsp_generator/model.py52 except Exception:CODE
LOWtools/cv_bsp_generator/model.py93 except Exception:CODE
MEDIUMtools/buildman/kconfiglib.py6354def _is_base_n(s, n):CODE
LOWtools/buildman/kconfiglib.py6417 except Exception:STRING
MEDIUMtools/buildman/toolchain.py407 print(f'Error: {msg}')CODE
LOWtools/buildman/builderthread.py793 except Exception as exc:CODE
LOWtools/patman/settings.py8except Exception:CODE
LOWtools/u_boot_pylib/command.py125 except Exception as err:CODE
LOWtest/py/multiplexed_log.py164 except Exception as e:CODE
LOWtest/py/utils.py213 except Exception:CODE
LOWtest/py/utils.py306 except Exception:CODE
LOWtest/py/console_base.py515 except Exception as ex:CODE
MEDIUMtest/py/tests/test_fs/test_squashfs/sqfs_common.py144 print('Error: mksquashfs is too old, required version: 4.4')CODE
LOWboard/synopsys/hsdk/headerize-hsdk.py147 except Exception as err:CODE
MEDIUMboard/synopsys/hsdk/headerize-hsdk.py43def main():CODE
LOWboard/synopsys/axs10x/headerize-axs.py174 except Exception as err:CODE
MEDIUMboard/synopsys/axs10x/headerize-axs.py47def main():CODE
LOWscripts/spdxcheck.py368 except Exception as ex:CODE
LOWscripts/spdxcheck.py378 except Exception as ex:CODE
LOWscripts/spdxcheck.py453 except Exception as ex:CODE
LOW…tls/external/mbedtls/tests/scripts/analyze_outcomes.py714 except Exception: # pylint: disable=broad-exceptCODE
LOWlib/mbedtls/external/mbedtls/tests/scripts/depends.py552 except Exception: # pylint: disable=broad-exceptCODE
MEDIUMlib/mbedtls/external/mbedtls/tests/scripts/depends.py498def main():CODE
LOW…/mbedtls/external/mbedtls/tests/scripts/check_names.py955 except Exception: # pylint: disable=broad-exceptCODE
MEDIUMlib/mbedtls/external/mbedtls/scripts/code_style.py22 print("Error: ", *args, file=sys.stderr)CODE
MEDIUMlib/mbedtls/external/mbedtls/scripts/abi_check.py613 print("Error: {} is not a directory".format(abi_args.report_dir))CODE
LOWlib/mbedtls/external/mbedtls/scripts/abi_check.py650 except Exception: # pylint: disable=broad-exceptCODE
MEDIUMlib/mbedtls/external/mbedtls/scripts/abi_check.py536def run_main():CODE
MEDIUM…s/external/mbedtls/scripts/generate_driver_wrappers.py91 print("Error: Failed to validate data file: {} using schema: {}."CODE
MEDIUM…s/external/mbedtls/scripts/generate_driver_wrappers.py94 print("Error: Failed to validate data file: {} using schema: {}."CODE
LOWdoc/sphinx/kerneldoc.py150 except Exception as e: # pylint: disable=W0703CODE
Synthetic Comment Markers4 hits · 30 pts
SeverityFileLineSnippetContext
HIGHlib/mbedtls/external/mbedtls/library/error.c186 /* Begin Auto-Generated Code. */COMMENT
HIGHlib/mbedtls/external/mbedtls/library/error.c526 /* End Auto-Generated Code. */COMMENT
HIGHlib/mbedtls/external/mbedtls/library/error.c547 /* Begin Auto-Generated Code. */COMMENT
HIGHlib/mbedtls/external/mbedtls/library/error.c781 /* End Auto-Generated Code. */COMMENT
AI Structural Patterns25 hits · 25 pts
SeverityFileLineSnippetContext
LOWtools/binman/ftest.py383CODE
LOWtools/binman/ftest.py518CODE
LOWtools/binman/ftest.py6531CODE
LOWtools/binman/entry.py979CODE
LOWtools/binman/etype/cbfs.py286CODE
LOWtools/binman/etype/image_header.py77CODE
LOWtools/binman/etype/fit.py1059CODE
LOWtools/binman/etype/blob_dtb.py102CODE
LOWtools/binman/etype/fdtmap.py150CODE
LOWtools/binman/etype/ti_board_config.py208CODE
LOWtools/binman/etype/atf_fip.py234CODE
LOWtools/binman/btool/cst.py53CODE
LOWtools/binman/btool/mkeficapsule.py132CODE
LOWtools/binman/btool/bootgen.py137CODE
LOWtools/binman/btool/futility.py176CODE
LOWtools/binman/btool/fiptool.py114CODE
LOWtools/dtoc/fdt_util.py124CODE
LOWtools/dtoc/fdt_util.py147CODE
LOWtools/buildman/builder.py257CODE
LOWtools/buildman/builder.py437CODE
LOWtools/u_boot_pylib/command.py67CODE
LOWtools/u_boot_pylib/command.py173CODE
LOWtest/py/multiplexed_log.py348CODE
LOWtest/py/tests/test_fit_auto_signed.py149CODE
LOW…s/external/mbedtls/tests/scripts/generate_test_code.py747CODE
Verbosity Indicators12 hits · 18 pts
SeverityFileLineSnippetContext
LOWcmd/mtdparts.c436 * Now we need to check if the partition starts and ends onCOMMENT
LOWdrivers/net/e1000.c3728 /* Now we need to check if the user selected RX ONLYCOMMENT
LOWdrivers/ddr/fsl/ddr2_dimm_params.c144 * The purpose of this function is to compute a suitableCOMMENT
LOWdrivers/ddr/fsl/ddr1_dimm_params.c162 * The purpose of this function is to compute a suitableCOMMENT
LOWarch/mips/mach-octeon/cvmx-helper-util.c501 * a dynamic short packet. We need to check if it is a packetCOMMENT
LOWarch/mips/mach-octeon/include/mach/cvmx-helper-util.h147 short packet. We need to check if it is a packet received withCODE
LOWarch/x86/cpu/quark/smc.c2302 * The purpose of this function is to ensure the SEC comes out of resetCOMMENT
LOWscripts/kconfig/streamline_config.pl564 # If the config has no prompt, then we need to check if a configCOMMENT
LOWlib/hang.c18 * The purpose of this function is to stop further execution of code causeCOMMENT
LOWlib/lwip/lwip/src/apps/mdns/mdns.c614 * comparison. So if we get passed the class and type comparison we need to check if theCOMMENT
LOW…external/mbedtls/tests/include/test/psa_exercise_key.h143 * The result is discarded. The purpose of this function is to smoke-test a key.COMMENT
LOW…external/mbedtls/tests/include/test/psa_exercise_key.h162 * The result is discarded. The purpose of this function is to smoke-test a key.COMMENT
Modern Structural Boilerplate10 hits · 12 pts
SeverityFileLineSnippetContext
LOWtools/patman/__init__.py3__all__ = [CODE
LOWtools/u_boot_pylib/__init__.py3__all__ = ['command', 'cros_subprocess', 'gitutil', 'terminal', 'test_util',CODE
LOW…/mbedtls/external/mbedtls/scripts/code_size_compare.py507 def _set_size_record(self, git_rev: str, mod: str, size_text: str) -> None:CODE
LOW…external/mbedtls/scripts/mbedtls_dev/bignum_mod_raw.py132 def set_representation(self, r: bignum_common.ModulusRepresentation) -> None:CODE
LOW…ls/external/mbedtls/scripts/mbedtls_dev/psa_storage.py41 def update_cache(self) -> None:CODE
LOW…dtls/external/mbedtls/scripts/mbedtls_dev/test_case.py38 def set_description(self, description: str) -> None:CODE
LOW…dtls/external/mbedtls/scripts/mbedtls_dev/test_case.py41 def set_dependencies(self, dependencies: List[str]) -> None:CODE
LOW…dtls/external/mbedtls/scripts/mbedtls_dev/test_case.py44 def set_function(self, function: str) -> None:CODE
LOW…dtls/external/mbedtls/scripts/mbedtls_dev/test_case.py47 def set_arguments(self, arguments: List[str]) -> None:CODE
LOW…nal/mbedtls/scripts/mbedtls_dev/c_wrapper_generator.py364 def set_stream(self, stream: str) -> None:CODE
Structural Annotation Overuse5 hits · 10 pts
SeverityFileLineSnippetContext
LOW…tls/external/mbedtls/tests/scripts/basic-build-test.sh64# Step 0 - print build environment infoCOMMENT
LOW…tls/external/mbedtls/tests/scripts/basic-build-test.sh71# Step 1 - Make and instrumented build for code coverageCOMMENT
LOW…tls/external/mbedtls/tests/scripts/basic-build-test.sh80# Step 2 - Execute the testsCOMMENT
LOW…tls/external/mbedtls/tests/scripts/basic-build-test.sh120# Step 3 - Process the coverage reportCOMMENT
LOW…tls/external/mbedtls/tests/scripts/basic-build-test.sh133# Step 4 - Summarise the test reportCOMMENT
AI Response Leakage1 hit · 8 pts
SeverityFileLineSnippetContext
HIGH…/mbedtls/external/mbedtls/tests/scripts/quiet/quiet.sh22# be silenced, e.g. " --version | test ". In this example, "make lib test" willCOMMENT
Slop Phrases4 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUM…dings/mtd/partitions/brcm,bcm947xx-cfe-partitions.yaml30 As mentioned earlier, role of some partitions may depend on extraCODE
LOWdrivers/net/fsl-mc/dpio/qbman_sys.h270 * the power-on state. (Ie. don't forget to reset portals when they areCOMMENT
LOWcommon/cli_hush_upstream.c11409 * NB: don't forget to (re)run install_special_sighandlers() as needed.COMMENT
LOWlib/lwip/lwip/src/core/netif.c280 * IPv6: Don't forget to call netif_create_ip6_linklocal_address() afterCOMMENT
Example Usage Blocks4 hits · 6 pts
SeverityFileLineSnippetContext
LOWtools/rkmux.py5# Usage:COMMENT
LOWtest/stdint/test-includes.sh8# Usage:COMMENT
LOWscripts/checkstack.pl18# Usage:COMMENT
LOW…ternal/mbedtls/docs/architecture/psa-migration/syms.sh12# Usage:COMMENT
Dead Code3 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMtest/py/tests/test_eficonfig.py110CODE
MEDIUMtest/py/tests/test_eficonfig.py112CODE
MEDIUMtest/py/tests/test_eficonfig.py113CODE
Modern AI Meta-Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMlib/mbedtls/external/mbedtls/tests/ssl-opt.sh6725# Tests for event-driven I/O: exercise a variety of handshake flowsCOMMENT
Fake / Example Data2 hits · 2 pts
SeverityFileLineSnippetContext
LOWdrivers/spi/spi-aspeed-smc.c661 u8 dummy_data[16] = {0};CODE
LOWdrivers/spi/spi-aspeed-smc.c702 aspeed_spi_write_to_ahb(flash->ahb_base, dummy_data, op->dummy.nbytes);CODE