"Das U-Boot" Source Tree
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).
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.
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.
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.
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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …pstream/include/dt-bindings/power/tegra234-powergate.h | 1 | /* SPDX-License-Identifier: GPL-2.0 */ | COMMENT |
| LOW | …pstream/include/dt-bindings/power/tegra234-powergate.h | 21 | #define TEGRA234_POWER_DOMAIN_PCIEX8B 16U | COMMENT |
| LOW | dts/upstream/include/dt-bindings/power/mt2712-power.h | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ | COMMENT |
| LOW | dts/upstream/include/dt-bindings/power/meson-s4-power.h | 1 | /* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */ | COMMENT |
| LOW | …m/include/dt-bindings/power/allwinner,sun8i-v853-ppu.h | 1 | /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ | COMMENT |
| LOW | dts/upstream/include/dt-bindings/power/r8a77980-sysc.h | 21 | #define R8A77980_PD_CA53_CPU1 6 | COMMENT |
| LOW | …tream/include/dt-bindings/power/nvidia,tegra264-bpmp.h | 1 | /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ | COMMENT |
| LOW | …tream/include/dt-bindings/power/nvidia,tegra264-bpmp.h | 21 | #define TEGRA264_POWER_DOMAIN_PVA0 21 | COMMENT |
| LOW | …s/upstream/include/dt-bindings/power/amlogic,a4-pwrc.h | 1 | /* SPDX-License-Identifier: (GPL-2.0-only OR MIT) */ | COMMENT |
| LOW | dts/upstream/include/dt-bindings/power/r8a779a0-sysc.h | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ | COMMENT |
| LOW | dts/upstream/include/dt-bindings/power/r8a779a0-sysc.h | 21 | #define R8A779A0_PD_A2E0D1 17 | COMMENT |
| LOW | dts/upstream/include/dt-bindings/power/r8a779a0-sysc.h | 41 | #define R8A779A0_PD_A1DSP1 45 | COMMENT |
| LOW | dts/upstream/include/dt-bindings/power/mt8173-power.h | 1 | /* SPDX-License-Identifier: GPL-2.0 */ | COMMENT |
| LOW | dts/upstream/include/dt-bindings/power/r8a7796-sysc.h | 21 | #define R8A7796_PD_CR7 13 | COMMENT |
| LOW | …/include/dt-bindings/power/allwinner,sun55i-a523-ppu.h | 1 | /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ | COMMENT |
| LOW | dts/upstream/include/dt-bindings/power/rk3568-power.h | 21 | /* VD_LOGIC */ | COMMENT |
| LOW | dts/upstream/include/dt-bindings/power/r8a77961-sysc.h | 21 | #define R8A77961_PD_CR7 13 | COMMENT |
| LOW | …stream/include/dt-bindings/power/starfive,jh7110-pmu.h | 1 | /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ | COMMENT |
| LOW | dts/upstream/include/dt-bindings/power/qcom-rpmpd.h | 1 | /* SPDX-License-Identifier: GPL-2.0 */ | COMMENT |
| LOW | dts/upstream/include/dt-bindings/power/qcom-rpmpd.h | 41 | /* MSM8939 Power Domains */ | COMMENT |
| LOW | dts/upstream/include/dt-bindings/power/qcom-rpmpd.h | 61 | #define MSM8909_VDDCX_VFC MSM8916_VDDCX_VFC | COMMENT |
| LOW | dts/upstream/include/dt-bindings/power/qcom-rpmpd.h | 81 | #define QM215_VDDCX_AO MSM8917_VDDCX_AO | COMMENT |
| LOW | dts/upstream/include/dt-bindings/power/qcom-rpmpd.h | 101 | COMMENT | |
| LOW | dts/upstream/include/dt-bindings/power/qcom-rpmpd.h | 121 | #define MSM8996_VDDCX_AO 1 | COMMENT |
| LOW | dts/upstream/include/dt-bindings/power/qcom-rpmpd.h | 141 | #define QCM2290_VDDCX 0 | COMMENT |
| LOW | dts/upstream/include/dt-bindings/power/qcom-rpmpd.h | 161 | #define SDM660_VDDCX_AO RPMPD_VDDCX_AO | COMMENT |
| LOW | dts/upstream/include/dt-bindings/power/qcom-rpmpd.h | 181 | /* SM6125 Power Domains */ | COMMENT |
| LOW | dts/upstream/include/dt-bindings/power/qcom-rpmpd.h | 201 | /* RPM SMD Power Domain performance levels */ | COMMENT |
| LOW | …ream/include/dt-bindings/power/rockchip,rk3576-power.h | 1 | /* SPDX-License-Identifier: (GPL-2.0 OR MIT) */ | COMMENT |
| LOW | …ream/include/dt-bindings/power/rockchip,rk3576-power.h | 21 | #define RK3576_PD_VEPU0 11 | COMMENT |
| LOW | dts/upstream/include/dt-bindings/power/mt8186-power.h | 1 | /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */ | COMMENT |
| LOW | dts/upstream/include/dt-bindings/power/mt8186-power.h | 21 | #define MT8186_POWER_DOMAIN_CAM_RAWA 11 | COMMENT |
| LOW | dts/upstream/include/dt-bindings/power/px30-power.h | 1 | /* SPDX-License-Identifier: GPL-2.0 */ | COMMENT |
| LOW | …upstream/include/dt-bindings/power/xlnx-zynqmp-power.h | 1 | /* SPDX-License-Identifier: GPL-2.0 */ | COMMENT |
| LOW | …upstream/include/dt-bindings/power/xlnx-zynqmp-power.h | 21 | #define PD_SATA 28 | COMMENT |
| LOW | …upstream/include/dt-bindings/power/xlnx-zynqmp-power.h | 41 | #define PD_CAN_1 48 | COMMENT |
| LOW | dts/upstream/include/dt-bindings/power/r8a774e1-sysc.h | 21 | #define R8A774E1_PD_CA53_CPU3 8 | COMMENT |
| LOW | dts/upstream/include/dt-bindings/power/rk3368-power.h | 1 | /* SPDX-License-Identifier: GPL-2.0 */ | COMMENT |
| LOW | dts/upstream/include/dt-bindings/power/rk3368-power.h | 21 | #define RK3368_PD_ALIVE 13 | COMMENT |
| LOW | dts/upstream/include/dt-bindings/power/imx8mn-power.h | 1 | /* SPDX-License-Identifier: (GPL-2.0 OR MIT) */ | COMMENT |
| LOW | …s/upstream/include/dt-bindings/power/amlogic,s7-pwrc.h | 1 | /* SPDX-License-Identifier: (GPL-2.0-only OR MIT) */ | COMMENT |
| LOW | …ream/include/dt-bindings/power/renesas,r8a779h0-sysc.h | 1 | /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ | COMMENT |
| LOW | …ream/include/dt-bindings/power/renesas,r8a779h0-sysc.h | 21 | #define R8A779H0_PD_A23DGB 25 | COMMENT |
| LOW | …ream/include/dt-bindings/power/renesas,r8a779h0-sysc.h | 41 | #define R8A779H0_PD_A3VIP0 56 | COMMENT |
| LOW | …pstream/include/dt-bindings/power/tegra194-powergate.h | 1 | /* SPDX-License-Identifier: GPL-2.0 */ | COMMENT |
| LOW | …pstream/include/dt-bindings/power/tegra194-powergate.h | 21 | #define TEGRA194_POWER_DOMAIN_XUSBB 15 | COMMENT |
| LOW | dts/upstream/include/dt-bindings/power/r8a7790-sysc.h | 21 | #define R8A7790_PD_CA7_CPU3 8 | COMMENT |
| LOW | dts/upstream/include/dt-bindings/power/imx8mp-power.h | 1 | /* SPDX-License-Identifier: (GPL-2.0 OR MIT) */ | COMMENT |
| LOW | dts/upstream/include/dt-bindings/power/imx8mp-power.h | 21 | #define IMX8MP_POWER_DOMAIN_VPU_G2 12 | COMMENT |
| LOW | dts/upstream/include/dt-bindings/power/imx8mp-power.h | 41 | #define IMX8MP_MEDIABLK_PD_ISP 6 | COMMENT |
| LOW | …s/upstream/include/dt-bindings/power/meson-sm1-power.h | 1 | /* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */ | COMMENT |
| LOW | dts/upstream/include/dt-bindings/power/mt2701-power.h | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ | COMMENT |
| LOW | …ream/include/dt-bindings/power/mediatek,mt8188-power.h | 1 | /* SPDX-License-Identifier: (GPL-2.0 OR MIT) */ | COMMENT |
| LOW | …ream/include/dt-bindings/power/mediatek,mt8188-power.h | 21 | #define MT8188_POWER_DOMAIN_ADSP_INFRA 11 | COMMENT |
| LOW | …ream/include/dt-bindings/power/mediatek,mt8188-power.h | 41 | #define MT8188_POWER_DOMAIN_CAM_SUBA 31 | COMMENT |
| LOW | …ream/include/dt-bindings/power/mediatek,mt6893-power.h | 1 | /* SPDX-License-Identifier: (GPL-2.0 OR MIT) */ | COMMENT |
| LOW | …ream/include/dt-bindings/power/mediatek,mt6893-power.h | 21 | #define MT6893_POWER_DOMAIN_VDEC0 11 | COMMENT |
| LOW | …pstream/include/dt-bindings/power/owl-s500-powergate.h | 1 | /* | COMMENT |
| LOW | dts/upstream/include/dt-bindings/power/rk3128-power.h | 1 | /* SPDX-License-Identifier: GPL-2.0 */ | COMMENT |
| LOW | dts/upstream/include/dt-bindings/power/imx8mm-power.h | 1 | /* SPDX-License-Identifier: (GPL-2.0 OR MIT) */ | COMMENT |
| 30535 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tools/binman/entry.py | 634 | is null, then None is returned. | STRING |
| HIGH⚡ | tools/buildman/kconfiglib.py | 4132 | example, 'default A && B if C || D' is represented as | CODE |
| HIGH⚡ | tools/buildman/kconfiglib.py | 4132 | example, 'default A && B if C || D' is represented as | CODE |
| HIGH⚡ | tools/buildman/kconfiglib.py | 4141 | example, 'select A if B && C' is represented as (A, (AND, B, C)). If no | CODE |
| HIGH⚡ | tools/buildman/kconfiglib.py | 6151 | split_expr( A && B , OR ) -> [A && B] | CODE |
| HIGH⚡ | tools/buildman/kconfiglib.py | 6152 | split_expr( A || B , OR ) -> [A, B] | CODE |
| HIGH⚡ | tools/buildman/kconfiglib.py | 6153 | split_expr( A || B , AND ) -> [A || B] | CODE |
| HIGH⚡ | tools/buildman/kconfiglib.py | 6154 | split_expr( A || B || (C && D) , OR ) -> [A, B, C && D] | CODE |
| HIGH⚡ | tools/buildman/kconfiglib.py | 6154 | split_expr( A || B || (C && D) , OR ) -> [A, B, C && D] | CODE |
| HIGH⚡ | tools/buildman/kconfiglib.py | 6157 | split_expr( A || (B && (C || D)) , OR ) -> [A, B && (C || D)] | CODE |
| HIGH⚡ | tools/buildman/kconfiglib.py | 6161 | split_expr( (A || B) || C , OR ) -> [A, B, C] | CODE |
| HIGH⚡ | tools/buildman/kconfiglib.py | 6162 | split_expr( A || (B || C) , OR ) -> [A, B, C] | CODE |
| HIGH | tools/buildman/kconfiglib.py | 1550 | /dev/null). | CODE |
| HIGH | tools/buildman/kconfiglib.py | 1966 | which has the value y, then eval_string("y && (FOO || BAR)") returns | CODE |
| HIGH | tools/buildman/kconfiglib.py | 1975 | the C implementation. m is rewritten to 'm && MODULES', so | CODE |
| HIGH | tools/buildman/kconfiglib.py | 4022 | (A, !A, A && B, A || B). | CODE |
| HIGH | tools/buildman/kconfiglib.py | 4022 | (A, !A, A && B, A || B). | CODE |
| HIGH | tools/buildman/kconfiglib.py | 4119 | If the symbol is undefined, the location is given as "(undefined)". | CODE |
| HIGH | tools/buildman/kconfiglib.py | 4158 | Gotcha: 1 and 2 above will be represented as (undefined) Symbols rather | CODE |
| HIGH | tools/buildman/kconfiglib.py | 5123 | example, 'default A if B && C' is represented as (A, (AND, B, C)). If | CODE |
| HIGH⚡ | tools/buildman/kconfiglib.py | 188 | tristate "foo" if A && B && C && D | STRING |
| HIGH⚡ | tools/buildman/kconfiglib.py | 189 | default y if A && B && C | STRING |
| HIGH⚡ | tools/buildman/kconfiglib.py | 193 | In this example, A && B && C && D (the prompt condition) needs to be non-n for | STRING |
| HIGH⚡ | tools/buildman/kconfiglib.py | 306 | A && B (AND, A, B) | STRING |
| HIGH⚡ | tools/buildman/kconfiglib.py | 307 | A && B && C (AND, A, (AND, B, C)) | STRING |
| HIGH⚡ | tools/buildman/kconfiglib.py | 308 | A || B (OR, A, B) | STRING |
| HIGH⚡ | tools/buildman/kconfiglib.py | 309 | A || (B && C && D) (OR, A, (AND, B, (AND, C, D))) | STRING |
| HIGH⚡ | tools/buildman/kconfiglib.py | 312 | A && B = C && D (AND, A, (AND, (EQUAL, B, C), D)) | STRING |
| HIGH⚡ | tools/buildman/kconfiglib.py | 329 | - The value of A && B is min(A.tri_value, B.tri_value) | STRING |
| HIGH⚡ | tools/buildman/kconfiglib.py | 331 | - The value of A || B is max(A.tri_value, B.tri_value) | STRING |
| HIGH⚡ | tools/buildman/kconfiglib.py | 338 | For constant (as well as undefined) symbols, str_value matches the name of | STRING |
| HIGH | tools/buildman/kconfiglib.py | 6434 | return "(undefined)" | STRING |
| HIGH | tools/u_boot_pylib/cros_subprocess.py | 305 | cmd = 'echo fred >/dev/stderr && false || echo bad' | CODE |
| HIGH | tools/u_boot_pylib/cros_subprocess.py | 305 | cmd = 'echo fred >/dev/stderr && false || echo bad' | CODE |
| HIGH | test/py/tests/test_efi_selftest.py | 40 | ubman.run_command(cmd='test "${efi_test}" = x && setenv serial# 0') | CODE |
| HIGH | test/py/tests/test_source.py | 24 | assert 'Fail' in ubman.run_command('source :not-a-script || echo Fail') | CODE |
| HIGH | test/py/tests/test_source.py | 35 | assert 'Fail' in ubman.run_command('source || echo Fail') | CODE |
| HIGH⚡ | test/py/tests/test_source.py | 59 | assert 'Fail' in ubman.run_command('source ${fdtcontroladdr}:no-such-script || echo Fail') | CODE |
| HIGH⚡ | test/py/tests/test_source.py | 67 | assert 'Fail' in ubman.run_command('source ${fdtcontroladdr}:boot || echo Fail') | CODE |
| HIGH | test/py/tests/test_env.py | 489 | call('( echo foo=bar | %s -s 8192 -p 0x00 - ; dd if=/dev/zero bs=2088960 count=1 2>/dev/null ) > %s' % ( mkenvim | CODE |
| HIGH | test/py/tests/test_env.py | 820 | 'ubifs_boot=env exists bootubipart || env set bootubipart UBI; ' | STRING |
| HIGH | test/py/tests/test_env.py | 821 | 'env exists bootubivol || env set bootubivol boot; ' | STRING |
| HIGH⚡ | test/py/tests/test_fpga.py | 208 | output = ubman.run_command('fpga load %x %x $filesize && echo %s' % (dev, addr, expected_text)) | CODE |
| HIGH⚡ | test/py/tests/test_fpga.py | 218 | output = ubman.run_command('fpga load %x %x $filesize && echo %s' % (dev, addr, expected_text)) | CODE |
| HIGH⚡ | test/py/tests/test_fpga.py | 225 | output = ubman.run_command('fpga loadp %x %x $filesize && echo %s' % (dev, addr, expected_text)) | CODE |
| HIGH⚡ | test/py/tests/test_fpga.py | 234 | output = ubman.run_command('fpga loadb %x %x $filesize && echo %s' % (dev, addr, expected_text)) | CODE |
| HIGH⚡ | test/py/tests/test_fpga.py | 244 | output = ubman.run_command('fpga loadb %x %x $filesize && echo %s' % (dev, addr, expected_text)) | CODE |
| HIGH⚡ | test/py/tests/test_fpga.py | 251 | output = ubman.run_command('fpga loadbp %x %x $filesize && echo %s' % (dev, addr, expected_text)) | CODE |
| HIGH⚡ | test/py/tests/test_fpga.py | 285 | output = ubman.run_command('fpga loadmk %x %x && echo %s' % (dev, addr, expected_text)) | CODE |
| HIGH⚡ | test/py/tests/test_fpga.py | 302 | output = ubman.run_command('fpga loadmk %x && echo %s' % (addr, expected_text)) | CODE |
| HIGH⚡ | test/py/tests/test_fpga.py | 319 | output = ubman.run_command('fpga loadmk %x && echo %s' % (dev, expected_text)) | CODE |
| HIGH⚡ | test/py/tests/test_fpga.py | 337 | output = ubman.run_command('fpga loadmk && echo %s' % (expected_text)) | CODE |
| HIGH⚡ | test/py/tests/test_fpga.py | 353 | output = ubman.run_command('fpga loadmk %x %x && echo %s' % (dev, addr, expected_text)) | CODE |
| HIGH⚡ | test/py/tests/test_fpga.py | 366 | output = ubman.run_command('fpga loadmk %x %x:fpga && echo %s' % (dev, addr, expected_text)) | CODE |
| HIGH⚡ | test/py/tests/test_fpga.py | 379 | output = ubman.run_command('fpga loadmk %x %x:fpga && echo %s' % (dev, addr, expected_text)) | CODE |
| HIGH⚡ | test/py/tests/test_fpga.py | 394 | output = ubman.run_command('fpga loadmk %x:fpga && echo %s' % (addr, expected_text)) | CODE |
| HIGH⚡ | test/py/tests/test_fpga.py | 410 | output = ubman.run_command('fpga loadmk %x && echo %s' % (dev, expected_text)) | CODE |
| HIGH⚡ | test/py/tests/test_fpga.py | 427 | output = ubman.run_command('fpga loadmk && echo %s' % (expected_text)) | CODE |
| HIGH | test/py/tests/test_fpga.py | 502 | output = ubman.run_command('fpga loadfs %x %x %x %x %s && echo %s' % (dev, addr, bit_size, block_size, bit, expected | CODE |
| HIGH | test/py/tests/test_fs/test_basic.py | 42 | 'test -e host 0:0 1MB.file && echo PASS']) | CODE |
| 6 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tools/binman/cbfs_util_test.py | 0 | remove the temporary input directory and its contents | STRING |
| HIGH | tools/binman/bintool_test.py | 0 | remove the temporary input directory and its contents | STRING |
| HIGH | tools/binman/ftest.py | 0 | remove the temporary input directory and its contents | STRING |
| HIGH | tools/binman/fip_util_test.py | 0 | remove the temporary input directory and its contents | STRING |
| HIGH | tools/binman/bintool.py | 0 | fetch handler for mkimage this installs mkimage using the apt utility. args: method (fetch_...): method to use returns: | STRING |
| HIGH | tools/binman/btool/lzma_alone.py | 0 | fetch handler for mkimage this installs mkimage using the apt utility. args: method (fetch_...): method to use returns: | STRING |
| HIGH | tools/binman/btool/openssl.py | 0 | fetch handler for mkimage this installs mkimage using the apt utility. args: method (fetch_...): method to use returns: | STRING |
| HIGH | tools/binman/btool/lz4.py | 0 | fetch handler for mkimage this installs mkimage using the apt utility. args: method (fetch_...): method to use returns: | STRING |
| HIGH | tools/binman/btool/fdt_add_pubkey.py | 0 | fetch handler for mkimage this installs mkimage using the apt utility. args: method (fetch_...): method to use returns: | STRING |
| HIGH | tools/binman/btool/mkimage.py | 0 | fetch handler for mkimage this installs mkimage using the apt utility. args: method (fetch_...): method to use returns: | STRING |
| HIGH | tools/binman/entry.py | 0 | check if any entries in this section have faked external blobs if there are faked blobs, the entries are added to the li | STRING |
| HIGH | tools/binman/etype/section.py | 0 | check if any entries in this section have faked external blobs if there are faked blobs, the entries are added to the li | STRING |
| HIGH | tools/binman/etype/blob.py | 0 | check if any entries in this section have faked external blobs if there are faked blobs, the entries are added to the li | STRING |
| HIGH | tools/binman/image.py | 0 | write symbol values into binary files for access at run time | STRING |
| HIGH | tools/binman/etype/intel_ifwi.py | 0 | write symbol values into binary files for access at run time | STRING |
| HIGH | tools/binman/etype/section.py | 0 | write symbol values into binary files for access at run time | STRING |
| HIGH | tools/binman/etype/u_boot_spl_elf.py | 0 | u-boot vpl elf image properties / entry arguments: - filename: filename of vpl u-boot (default 'vpl/u-boot-vpl') this is | STRING |
| HIGH | tools/binman/etype/u_boot_tpl_elf.py | 0 | u-boot vpl elf image properties / entry arguments: - filename: filename of vpl u-boot (default 'vpl/u-boot-vpl') this is | STRING |
| HIGH | tools/binman/etype/u_boot_elf.py | 0 | u-boot vpl elf image properties / entry arguments: - filename: filename of vpl u-boot (default 'vpl/u-boot-vpl') this is | STRING |
| HIGH | tools/binman/etype/u_boot_vpl_elf.py | 0 | u-boot vpl elf image properties / entry arguments: - filename: filename of vpl u-boot (default 'vpl/u-boot-vpl') this is | STRING |
| HIGH | tools/binman/etype/ti_secure.py | 0 | get the contents of this entry args: required: true if the data must be present, false if it is ok to return none return | STRING |
| HIGH | tools/binman/etype/ti_secure_rom.py | 0 | get the contents of this entry args: required: true if the data must be present, false if it is ok to return none return | STRING |
| HIGH | tools/binman/etype/vblock.py | 0 | get the contents of this entry args: required: true if the data must be present, false if it is ok to return none return | STRING |
| HIGH | tools/binman/etype/x86_reset16.py | 0 | x86 16-bit reset code for u-boot properties / entry arguments: - filename: filename of u-boot-x86-reset16.bin (default ' | STRING |
| HIGH | tools/binman/etype/x86_reset16_tpl.py | 0 | x86 16-bit reset code for u-boot properties / entry arguments: - filename: filename of u-boot-x86-reset16.bin (default ' | STRING |
| HIGH | tools/binman/etype/x86_reset16_spl.py | 0 | x86 16-bit reset code for u-boot properties / entry arguments: - filename: filename of u-boot-x86-reset16.bin (default ' | STRING |
| HIGH | tools/binman/etype/u_boot_vpl_bss_pad.py | 0 | u-boot spl binary padded with a bss region properties / entry arguments: none this holds the padding added after the spl | STRING |
| HIGH | tools/binman/etype/u_boot_tpl_bss_pad.py | 0 | u-boot spl binary padded with a bss region properties / entry arguments: none this holds the padding added after the spl | STRING |
| HIGH | tools/binman/etype/u_boot_spl_bss_pad.py | 0 | u-boot spl binary padded with a bss region properties / entry arguments: none this holds the padding added after the spl | STRING |
| HIGH | tools/binman/etype/u_boot_spl_expanded.py | 0 | u-boot vpl flat binary broken out into its component parts properties / entry arguments: - vpl-dtb: controls whether thi | STRING |
| HIGH | tools/binman/etype/u_boot_tpl_expanded.py | 0 | u-boot vpl flat binary broken out into its component parts properties / entry arguments: - vpl-dtb: controls whether thi | STRING |
| HIGH | tools/binman/etype/u_boot_vpl_expanded.py | 0 | u-boot vpl flat binary broken out into its component parts properties / entry arguments: - vpl-dtb: controls whether thi | STRING |
| HIGH | tools/binman/etype/u_boot_vpl.py | 0 | u-boot spl binary properties / entry arguments: - filename: filename of u-boot-spl.bin (default 'spl/u-boot-spl.bin') th | STRING |
| HIGH | tools/binman/etype/u_boot_tpl.py | 0 | u-boot spl binary properties / entry arguments: - filename: filename of u-boot-spl.bin (default 'spl/u-boot-spl.bin') th | STRING |
| HIGH | tools/binman/etype/u_boot_spl.py | 0 | u-boot spl binary properties / entry arguments: - filename: filename of u-boot-spl.bin (default 'spl/u-boot-spl.bin') th | STRING |
| HIGH | tools/binman/btool/lzma_alone.py | 0 | compression/decompression using the zstd algorithm this bintool supports running `zstd` to compress and decompress data, | STRING |
| HIGH | tools/binman/btool/btool_gzip.py | 0 | compression/decompression using the zstd algorithm this bintool supports running `zstd` to compress and decompress data, | STRING |
| HIGH | tools/binman/btool/lz4.py | 0 | compression/decompression using the zstd algorithm this bintool supports running `zstd` to compress and decompress data, | STRING |
| HIGH | tools/binman/btool/bzip2.py | 0 | compression/decompression using the zstd algorithm this bintool supports running `zstd` to compress and decompress data, | STRING |
| HIGH | tools/binman/btool/lzop.py | 0 | compression/decompression using the zstd algorithm this bintool supports running `zstd` to compress and decompress data, | STRING |
| HIGH | tools/binman/btool/xz.py | 0 | compression/decompression using the zstd algorithm this bintool supports running `zstd` to compress and decompress data, | STRING |
| HIGH | tools/binman/btool/zstd.py | 0 | compression/decompression using the zstd algorithm this bintool supports running `zstd` to compress and decompress data, | STRING |
| HIGH | tools/binman/btool/btool_gzip.py | 0 | bintool implementation for zstd zstd allows compression and decompression of files. documentation is available via:: man | STRING |
| HIGH | tools/binman/btool/bzip2.py | 0 | bintool implementation for zstd zstd allows compression and decompression of files. documentation is available via:: man | STRING |
| HIGH | tools/binman/btool/lzop.py | 0 | bintool implementation for zstd zstd allows compression and decompression of files. documentation is available via:: man | STRING |
| HIGH | tools/binman/btool/xz.py | 0 | bintool implementation for zstd zstd allows compression and decompression of files. documentation is available via:: man | STRING |
| HIGH | tools/binman/btool/zstd.py | 0 | bintool implementation for zstd zstd allows compression and decompression of files. documentation is available via:: man | STRING |
| HIGH | test/py/tests/test_net.py | 0 | execute any commands required to enable network hardware. these commands are provided by the boardenv_* file; see the co | STRING |
| HIGH | test/py/tests/test_efi_fit.py | 0 | execute any commands required to enable network hardware. these commands are provided by the boardenv_* file; see the co | STRING |
| HIGH | test/py/tests/test_efi_loader.py | 0 | execute any commands required to enable network hardware. these commands are provided by the boardenv_* file; see the co | STRING |
| HIGH | test/py/tests/test_net.py | 0 | set up the network using a static ip configuration. the configuration is provided by the boardenv_* file; see the commen | STRING |
| HIGH | test/py/tests/test_efi_fit.py | 0 | set up the network using a static ip configuration. the configuration is provided by the boardenv_* file; see the commen | STRING |
| HIGH | test/py/tests/test_efi_loader.py | 0 | set up the network using a static ip configuration. the configuration is provided by the boardenv_* file; see the commen | STRING |
| HIGH | test/py/tests/test_vpl.py | 0 | execute a "ut" subtest. the subtests are collected in function generate_ut_subtest() from linker generated lists by appl | STRING |
| HIGH | test/py/tests/test_ut.py | 0 | execute a "ut" subtest. the subtests are collected in function generate_ut_subtest() from linker generated lists by appl | STRING |
| HIGH | test/py/tests/test_spl.py | 0 | execute a "ut" subtest. the subtests are collected in function generate_ut_subtest() from linker generated lists by appl | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | dts/upstream/Bindings/net/ethernet-controller.yaml | 271 | # =========== | COMMENT |
| MEDIUM | dts/upstream/Bindings/remoteproc/ti,k3-r5f-rproc.yaml | 65 | # -------------------- | COMMENT |
| MEDIUM | dts/upstream/Bindings/remoteproc/ti,k3-r5f-rproc.yaml | 83 | # ========================== | COMMENT |
| MEDIUM | dts/upstream/Bindings/remoteproc/ti,k3-r5f-rproc.yaml | 170 | # -------------------- | COMMENT |
| MEDIUM | …s/upstream/Bindings/remoteproc/ti,omap-remoteproc.yaml | 88 | # -------------------- | COMMENT |
| MEDIUM | dts/upstream/Bindings/remoteproc/ti,k3-dsp-rproc.yaml | 75 | # -------------------- | COMMENT |
| MEDIUM⚡ | …pstream/Bindings/regulator/rohm,bd71828-regulator.yaml | 85 | # -------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …pstream/Bindings/regulator/rohm,bd71828-regulator.yaml | 87 | # -------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …pstream/Bindings/regulator/rohm,bd71828-regulator.yaml | 89 | # -------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …pstream/Bindings/regulator/rohm,bd71837-regulator.yaml | 85 | # ---------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …pstream/Bindings/regulator/rohm,bd71837-regulator.yaml | 87 | # ---------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …pstream/Bindings/regulator/rohm,bd71837-regulator.yaml | 89 | # ---------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …pstream/Bindings/regulator/rohm,bd71837-regulator.yaml | 91 | # ---------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …pstream/Bindings/regulator/rohm,bd71837-regulator.yaml | 93 | # ---------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …pstream/Bindings/regulator/rohm,bd71847-regulator.yaml | 84 | # ---------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …pstream/Bindings/regulator/rohm,bd71847-regulator.yaml | 86 | # ---------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …pstream/Bindings/regulator/rohm,bd71847-regulator.yaml | 88 | # ---------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …pstream/Bindings/regulator/rohm,bd72720-regulator.yaml | 69 | # -------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …pstream/Bindings/regulator/rohm,bd72720-regulator.yaml | 71 | # -------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …pstream/Bindings/regulator/rohm,bd72720-regulator.yaml | 73 | # -------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …pstream/Bindings/regulator/rohm,bd72720-regulator.yaml | 133 | # -------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …pstream/Bindings/regulator/rohm,bd72720-regulator.yaml | 135 | # -------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …pstream/Bindings/regulator/rohm,bd72720-regulator.yaml | 137 | # -------------------------------------------------------------- | COMMENT |
| MEDIUM | dts/upstream/Bindings/sound/renesas,rsnd.yaml | 283 | # -------------------- | COMMENT |
| MEDIUM | dts/upstream/Bindings/sound/renesas,rsnd.yaml | 285 | # -------------------- | COMMENT |
| MEDIUM | dts/upstream/Bindings/sound/renesas,rsnd.yaml | 340 | # -------------------- | COMMENT |
| MEDIUM | dts/upstream/Bindings/sound/renesas,rsnd.yaml | 342 | # -------------------- | COMMENT |
| MEDIUM | dts/upstream/Bindings/sound/simple-card.yaml | 288 | # -------------------- | COMMENT |
| MEDIUM | dts/upstream/Bindings/sound/simple-card.yaml | 290 | # -------------------- | COMMENT |
| MEDIUM | dts/upstream/Bindings/sound/simple-card.yaml | 317 | # -------------------- | COMMENT |
| MEDIUM | dts/upstream/Bindings/sound/simple-card.yaml | 319 | # -------------------- | COMMENT |
| MEDIUM | dts/upstream/Bindings/sound/simple-card.yaml | 360 | # -------------------- | COMMENT |
| MEDIUM | dts/upstream/Bindings/sound/simple-card.yaml | 363 | # -------------------- | COMMENT |
| MEDIUM | dts/upstream/Bindings/sound/simple-card.yaml | 385 | # -------------------- | COMMENT |
| MEDIUM | dts/upstream/Bindings/sound/simple-card.yaml | 388 | # -------------------- | COMMENT |
| MEDIUM | dts/upstream/Bindings/sound/simple-card.yaml | 427 | # -------------------- | COMMENT |
| MEDIUM | dts/upstream/Bindings/sound/simple-card.yaml | 429 | # -------------------- | COMMENT |
| MEDIUM | dts/upstream/Bindings/sound/simple-card.yaml | 455 | # -------------------- | COMMENT |
| MEDIUM | dts/upstream/Bindings/sound/simple-card.yaml | 457 | # -------------------- | COMMENT |
| MEDIUM | dts/upstream/Bindings/sound/simple-card.yaml | 492 | # -------------------- | COMMENT |
| MEDIUM | dts/upstream/Bindings/sound/simple-card.yaml | 501 | # -------------------- | COMMENT |
| MEDIUM | test/fs/fs-test.sh | 21 | # -------------------------------------------- | COMMENT |
| MEDIUM | test/fs/fs-test.sh | 23 | # -------------------------------------------- | COMMENT |
| MEDIUM | lib/mbedtls/external/mbedtls/tests/compat-in-docker.sh | 14 | # --------------- | COMMENT |
| MEDIUM | lib/mbedtls/external/mbedtls/tests/ssl-opt-in-docker.sh | 14 | # --------------- | COMMENT |
| MEDIUM | …bedtls/external/mbedtls/tests/scripts/all-in-docker.sh | 14 | # --------------- | COMMENT |
| MEDIUM | …b/mbedtls/external/mbedtls/tests/scripts/docker_env.sh | 17 | # --------------- | COMMENT |
| MEDIUM | …dtls/external/mbedtls/tests/scripts/basic-in-docker.sh | 17 | # --------------- | COMMENT |
| MEDIUM | lib/mbedtls/external/mbedtls/tests/scripts/all.sh | 20 | # --------------- | COMMENT |
| MEDIUM | lib/mbedtls/external/mbedtls/tests/scripts/all.sh | 68 | # --------------------- | COMMENT |
| MEDIUM | lib/mbedtls/external/mbedtls/tests/scripts/all.sh | 848 | # ------------------------- | COMMENT |
| MEDIUM | lib/mbedtls/external/mbedtls/tests/scripts/all.sh | 2659 | # ------------- | COMMENT |
| MEDIUM | lib/mbedtls/external/mbedtls/tests/scripts/all.sh | 2700 | # ------------- | COMMENT |
| MEDIUM | lib/mbedtls/external/mbedtls/tests/scripts/all.sh | 2738 | # ------------- | COMMENT |
| MEDIUM | lib/mbedtls/external/mbedtls/tests/scripts/all.sh | 2792 | # ------------- | COMMENT |
| MEDIUM | lib/mbedtls/external/mbedtls/tests/scripts/all.sh | 2852 | # ------------- | COMMENT |
| MEDIUM | lib/mbedtls/external/mbedtls/tests/scripts/all.sh | 2964 | # ------------- | COMMENT |
| MEDIUM | lib/mbedtls/external/mbedtls/tests/scripts/all.sh | 3045 | # ------------- | COMMENT |
| MEDIUM | lib/mbedtls/external/mbedtls/tests/scripts/all.sh | 3150 | # ------------- | COMMENT |
| MEDIUM | lib/mbedtls/external/mbedtls/tests/scripts/all.sh | 3328 | # ------------- | COMMENT |
| 42 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tools/qconfig.py | 191 | Read a file and return the contents Args: fname (str): Filename to read from as_lines (bool): Retur | STRING |
| HIGH | tools/binman/cbfs_util.py | 143 | Look up the name of a compression algorithm Args: compress: Compression algorithm number to find (COMPRESS_ | STRING |
| HIGH | tools/binman/fip_util.py | 191 | get_type_uuid() - Convert a type or uuid into both This always returns a UUID, but may not return a type since it d | STRING |
| HIGH | tools/binman/fip_util.py | 404 | get_entry() - Find an entry by type or UUID Args: fip_type_or_uuid (str or bytes): Name of the type | STRING |
| HIGH | tools/binman/fip_util.py | 427 | parse_macros: Parse the firmware_image_package.h file Args: srcdir (str): 'trusted-firmware-a' source direc | STRING |
| HIGH | tools/binman/fip_util.py | 472 | parse_names: Parse the tbbr_config.c file Args: srcdir (str): 'trusted-firmware-a' source directory Re | STRING |
| HIGH | tools/binman/bintool.py | 484 | Fetch handler for a bintool This should be implemented by the base class Args: method (FET | STRING |
| HIGH | tools/binman/bintool.py | 590 | Fetch handler This installs the gzip package using the apt utility. Args: method (FETCH_.. | STRING |
| HIGH | tools/binman/entry.py | 582 | Return the values of a set of properties Looks up the named entryargs and returns the value for each. If any | STRING |
| HIGH | tools/binman/entry.py | 694 | Do any post-packing updates of entry contents This function should call ProcessContentsUpdate() to update the e | STRING |
| HIGH | tools/binman/entry.py | 795 | Get the value of an entry argument or device-tree-node property Some node properties can be provided as argumen | STRING |
| HIGH | tools/binman/elf.py | 192 | Get the struct.pack/unpack string to use with a given symbol Args: sym (Symbol): Symbol to check. Only the | STRING |
| HIGH | tools/binman/elf.py | 325 | Get the value of a symbol This can only be used on symbols with an integer value. Args: sym (Symbol): | STRING |
| HIGH | tools/binman/elf.py | 529 | Read segments from an ELF file Args: data (bytes): Contents of file Returns: tuple: | STRING |
| HIGH | tools/binman/image.py | 109 | Convert an image file into an Image for use in binman Args: fname: Filename of image file to read | STRING |
| HIGH | tools/binman/image.py | 236 | Find an entry at a given path in the image Args: entry_path: Path to entry (e.g. /ro-section/u-boot | STRING |
| HIGH | tools/binman/image.py | 387 | Get the value of a Binman symbol Look up a Binman symbol and obtain its value. This searches through t | STRING |
| HIGH | tools/binman/etype/fit.py | 540 | Get the operation referenced by a subnode Args: node (Node): Subnode (of the FIT) to check | STRING |
| HIGH | tools/binman/etype/fit.py | 597 | Detect private and encryption keys path among binman include directories Args: data: FIT image in b | STRING |
| HIGH | tools/binman/etype/section.py | 572 | Look up the entry for a binman symbol Args: entries (dict): entries to search: key: | STRING |
| HIGH | tools/binman/etype/section.py | 616 | Get the value of a Binman symbol Look up a Binman symbol and obtain its value. At present the only ent | STRING |
| HIGH | tools/binman/btool/lzma_alone.py | 95 | Fetch handler for lzma_alone This installs the lzma-alone package using the apt utility. Args: | STRING |
| HIGH | tools/binman/btool/ifwitool.py | 148 | Fetch handler for ifwitool This installs ifwitool using a binary download. Args: method (F | STRING |
| HIGH | tools/binman/btool/openssl.py | 351 | Fetch handler for openssl This installs the openssl package using the apt utility. Args: m | STRING |
| HIGH | tools/binman/btool/lz4.py | 112 | Fetch handler for lz4 This installs the lz4 package using the apt utility. Args: method (F | STRING |
| HIGH | tools/binman/btool/cbfstool.py | 201 | Fetch handler for cbfstool This installs cbfstool by downloading from Google Drive. Args: | STRING |
| HIGH | tools/binman/btool/fdt_add_pubkey.py | 55 | Fetch handler for fdt_add_pubkey This installs fdt_add_pubkey using the apt utility. Args: | STRING |
| HIGH | tools/binman/btool/mkimage.py | 58 | Fetch handler for mkimage This installs mkimage using the apt utility. Args: method (FETCH | STRING |
| HIGH | tools/binman/btool/futility.py | 149 | Fetch handler for futility This installs futility using a binary download. Args: method (F | STRING |
| HIGH | tools/binman/btool/fdtgrep.py | 119 | Fetch handler for fdtgrep This installs fdtgrep using the apt utility, which assumes that it is package | STRING |
| HIGH | tools/dtoc/fdt_util.py | 127 | Get a 64-bit integer from a property Args: node (Node): Node object to read from propname (str): pr | STRING |
| HIGH | tools/dtoc/fdt_util.py | 316 | Get a value of a given type from a property Args: node: Node object to read from propname: property | STRING |
| HIGH | tools/dtoc/fdt.py | 432 | Check if a property is present Args: prop_name: Name of property Returns: self | STRING |
| HIGH | tools/dtoc/fdt.py | 646 | Sync node changes back to the device tree This updates the device tree blob with any changes to this node and i | STRING |
| HIGH | tools/dtoc/fdt.py | 928 | Get all properties from a node. Args: node: Full path to node name to look in. Returns: | STRING |
| HIGH | tools/dtoc/dtb_platdata.py | 294 | Check if a node contains phandles We have no reliable way of detecting whether a node uses a phandle or | STRING |
| HIGH | tools/dtoc/dtb_platdata.py | 1151 | Run all the steps of the dtoc tool Args: args (list): List of non-option arguments provided to the problem | STRING |
| HIGH | tools/buildman/cfgutil.py | 132 | Convert a list of config changes into the dict used by adjust_cfg_file() Args: adjust_cfg_list (list of str | STRING |
| HIGH | tools/buildman/boards.py | 57 | Check if the output file is up to date. Looks at defconfig and Kconfig files to make sure none is newer than the | STRING |
| HIGH | tools/patman/patchstream.py | 225 | Parse a version from a *-changes tag Args: value (str): Tag value (part after 'xxx-changes: ' | STRING |
| HIGH | tools/patman/patchstream.py | 299 | Process a single line of a patch file or commit log This process a line and returns a list of lines to output. | STRING |
| HIGH | tools/u_boot_pylib/command.py | 70 | Perform a command pipeline, with optional input/output filenames. Args: pipe_list (list of list): List | STRING |
| HIGH | tools/u_boot_pylib/gitutil.py | 560 | If an email address is an alias, look it up and return the full name TODO: Why not just use git's own alias feature | STRING |
| HIGH | tools/u_boot_pylib/tools.py | 143 | Return a filename for use as input. Args: fname: Filename to use for new file allow_missing: True i | STRING |
| HIGH | test/py/utils.py | 363 | Wait a process to terminate by its PID This is an alternative to a os.waitpid(pid, 0) call that works on proces | STRING |
| HIGH | test/py/spawn.py | 215 | Receive data from the sub-process's stdin. Args: num_bytes (int): Maximum number of bytes to read | STRING |
| HIGH | test/py/tests/vboot_evil.py | 203 | Change a given property value Args: dt_struct (bytes): Devicetree struct section dt_strings (bytes) | STRING |
| HIGH | test/py/tests/vboot_evil.py | 229 | Change a given node name Args: dt_struct (bytes): Devicetree struct section dt_strings (bytes): Dev | STRING |
| HIGH | test/py/tests/vboot_evil.py | 253 | Get the content of a property based on its path Args: dt_struct (bytes): Devicetree struct section | STRING |
| HIGH | scripts/gen_compile_commands.py | 155 | Extracts information from a .cmd line and creates an entry from it. Args: root_directory: The directory tha | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tools/rmboard.py | 127 | # Create the commit | STRING |
| MEDIUM | tools/binman/cbfs_util_test.py | 37 | # Create a temporary directory for test files | COMMENT |
| MEDIUM | tools/binman/cbfs_util_test.py | 266 | # Create a new CBFS with a change to the file type | COMMENT |
| MEDIUM | tools/binman/cbfs_util_test.py | 374 | # Create a new CBFS with only the first 16 bytes of the file name, then | COMMENT |
| MEDIUM | tools/binman/cbfs_util_test.py | 418 | # Create a new CBFS with the tag changed to something invalid | COMMENT |
| MEDIUM | tools/binman/cbfs_util_test.py | 440 | # Create a new CBFS with only the first 4 bytes of the compression tag, | COMMENT |
| MEDIUM | tools/binman/cbfs_util.py | 749 | # Create the correct CbfsFile object depending on the type | COMMENT |
| MEDIUM | tools/binman/bintool_test.py | 28 | # Create a temporary directory for test files | COMMENT |
| MEDIUM | tools/binman/control.py | 939 | # Create the directory here instead of Entry.check_fake_fname() | COMMENT |
| MEDIUM | tools/binman/ftest.py | 164 | # Create a temporary directory for input files | COMMENT |
| MEDIUM | tools/binman/ftest.py | 3150 | # Create a set of all file that were output (should be 9) | STRING |
| MEDIUM | tools/binman/entry.py | 866 | # Create a reference for use by rST docs | STRING |
| MEDIUM | tools/binman/fip_util_test.py | 37 | # Create a temporary directory for test files | COMMENT |
| MEDIUM | tools/binman/etype/intel_ifwi.py | 58 | # Create the IFWI file if needed | COMMENT |
| MEDIUM | tools/binman/etype/fmap.py | 63 | # Create an area for the section, which encompasses all entries | COMMENT |
| MEDIUM | tools/buildman/control.py | 794 | # Create a new builder with the selected args | COMMENT |
| MEDIUM | tools/buildman/test.py | 1025 | # Create a fake tool to use | STRING |
| MEDIUM | tools/buildman/builder.py | 1691 | # Create a worktree or a git repo clone for this thread if it | COMMENT |
| MEDIUM | tools/buildman/builderthread.py | 492 | # Create a default result - it will be overwritte by the call to | COMMENT |
| MEDIUM | tools/buildman/func_test.py | 859 | # Create a boards.cfg file | STRING |
| MEDIUM | tools/patman/patchstream.py | 842 | # Create a backup file if required | COMMENT |
| MEDIUM | test/py/conftest.py | 576 | # Create the buckets we will use, each has a count and a total time | COMMENT |
| MEDIUM | test/py/tests/test_ut.py | 352 | # Create a dict (indexed by partition number) containing the above info | COMMENT |
| MEDIUM | test/py/tests/test_ut.py | 434 | # Create a dict (indexed by partition number) containing the above info | COMMENT |
| MEDIUM | test/py/tests/test_ut.py | 488 | # Create a dict (indexed by partition number) containing the above info | COMMENT |
| MEDIUM | test/py/tests/test_ut.py | 536 | # Create a file with a single partition | COMMENT |
| MEDIUM | test/py/tests/test_efi_fit.py | 60 | # Define the parametrized ITS data to be used for FIT images generation. | COMMENT |
| MEDIUM | test/py/tests/test_efi_fit.py | 138 | # Define the parametrized FDT data to be used for DTB images generation. | STRING |
| MEDIUM | test/py/tests/test_fit.py | 13 | # Define a base ITS which we can adjust using % and a dictionary | COMMENT |
| MEDIUM | test/py/tests/test_fit.py | 83 | # Define a base FDT - currently we don't use anything in this | STRING |
| MEDIUM | test/py/tests/test_vboot.py | 286 | # Create a certificate containing the public key | COMMENT |
| MEDIUM | test/py/tests/test_vboot.py | 318 | # Create a fresh .dtb without the public keys | COMMENT |
| MEDIUM | test/py/tests/test_vboot.py | 385 | # Create a new properly signed fit and replace header bytes | COMMENT |
| MEDIUM | test/py/tests/test_vboot.py | 418 | # Create a new properly signed fit and replace hashed-strings | COMMENT |
| MEDIUM | test/py/tests/test_vboot.py | 566 | # Create a number kernel image with zeroes | COMMENT |
| MEDIUM | test/py/tests/test_vboot.py | 570 | # Create a second kernel image with ones | COMMENT |
| MEDIUM | test/py/tests/test_vboot.py | 659 | # Create a certificate containing the public key | COMMENT |
| MEDIUM | test/py/tests/test_vboot.py | 698 | # Create a kernel image filled with zeroes | COMMENT |
| MEDIUM | test/py/tests/test_vboot.py | 815 | # Create a fresh .dtb without the public keys | COMMENT |
| MEDIUM | test/py/tests/test_vbe.py | 10 | # Define a base ITS which we can adjust using % and a dictionary | COMMENT |
| MEDIUM | test/py/tests/test_vbe.py | 66 | # Define a base FDT - currently we don't use anything in this | STRING |
| MEDIUM | test/py/tests/test_fit_hashes.py | 104 | # Create a fake kernel image -- Avoid zeroes or crc16 will be zero | COMMENT |
| MEDIUM | test/py/tests/test_fit_ecdsa.py | 97 | # Create a fake kernel image -- zeroes will do just fine | COMMENT |
| MEDIUM | test/py/tests/fs_helper.py | 110 | # Create the filesystem | STRING |
| MEDIUM | test/py/tests/test_fit_auto_signed.py | 195 | # Create a fake kernel image and two dtb files with random data | COMMENT |
| MEDIUM | test/py/tests/test_fs/conftest.py | 214 | # Create a subdirectory. | COMMENT |
| MEDIUM | test/py/tests/test_fs/conftest.py | 228 | # Create a small file in this image. | COMMENT |
| MEDIUM | test/py/tests/test_fs/conftest.py | 308 | # Create a test directory | COMMENT |
| MEDIUM | test/py/tests/test_fs/conftest.py | 311 | # Create a small file and calculate md5 | COMMENT |
| MEDIUM⚡ | test/py/tests/test_fs/conftest.py | 472 | # Create a subdirectory. | COMMENT |
| MEDIUM⚡ | test/py/tests/test_fs/conftest.py | 475 | # Create a small file in this image. | COMMENT |
| MEDIUM⚡ | test/py/tests/test_fs/conftest.py | 479 | # Create a medium file in this image. | COMMENT |
| MEDIUM | test/py/tests/test_efi_secboot/conftest.py | 110 | # Create a corrupted signed image | COMMENT |
| MEDIUM | test/py/tests/test_efi_capsule/conftest.py | 31 | # Create a target device | COMMENT |
| MEDIUM | test/py/tests/test_efi_capsule/conftest.py | 90 | # Create a 16MiB partition as the EFI system partition in the disk | COMMENT |
| MEDIUM | test/fs/fs-test.sh | 356 | # Create a subdirectory. | COMMENT |
| MEDIUM | test/fs/fs-test.sh | 372 | # Create a small file in this image. | COMMENT |
| MEDIUM | scripts/checkpatch.pl | 655 | #Create a search and print patterns for all these strings to be used directly below | COMMENT |
| MEDIUM | scripts/checkpatch.pl | 855 | #Create a search pattern for all these functions to speed up a loop below | COMMENT |
| MEDIUM | scripts/checkpatch.pl | 870 | #Create a search pattern for all these strings to speed up a loop below | COMMENT |
| 24 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/rmboard.py | 27 | CODE | |
| LOW | tools/binman/cbfs_util_test.py | 24 | CODE | |
| LOW | tools/binman/cbfs_util.py | 21 | CODE | |
| LOW | tools/binman/cbfs_util.py | 25 | CODE | |
| LOW | tools/binman/fip_util.py | 40 | CODE | |
| LOW | tools/binman/bintool_test.py | 21 | CODE | |
| LOW | tools/binman/elf_test.py | 17 | CODE | |
| LOW | tools/binman/control.py | 9 | CODE | |
| LOW | tools/binman/control.py | 19 | CODE | |
| LOW | tools/binman/control.py | 26 | CODE | |
| LOW | tools/binman/ftest.py | 14 | CODE | |
| LOW | tools/binman/ftest.py | 41 | CODE | |
| LOW | tools/binman/ftest.py | 43 | CODE | |
| LOW | tools/binman/entry.py | 11 | CODE | |
| LOW | tools/binman/entry.py | 12 | CODE | |
| LOW | tools/binman/fmap_util.py | 11 | CODE | |
| LOW | tools/binman/fip_util_test.py | 26 | CODE | |
| LOW | tools/binman/main.py | 13 | CODE | |
| LOW | tools/binman/main.py | 73 | CODE | |
| LOW | tools/binman/image.py | 10 | CODE | |
| LOW | tools/binman/image.py | 12 | CODE | |
| LOW | tools/binman/image.py | 13 | CODE | |
| LOW | tools/binman/image.py | 15 | CODE | |
| LOW | tools/binman/etype/u_boot_vpl_nodtb.py | 8 | CODE | |
| LOW | tools/binman/etype/u_boot_spl_elf.py | 8 | CODE | |
| LOW | tools/binman/etype/cbfs.py | 8 | CODE | |
| LOW | tools/binman/etype/files.py | 9 | CODE | |
| LOW | tools/binman/etype/u_boot_with_ucode_ptr.py | 11 | CODE | |
| LOW | tools/binman/etype/u_boot_with_ucode_ptr.py | 15 | CODE | |
| LOW | tools/binman/etype/u_boot_ucode.py | 8 | CODE | |
| LOW | tools/binman/etype/u_boot_vpl_dtb.py | 8 | CODE | |
| LOW | tools/binman/etype/x86_reset16.py | 8 | CODE | |
| LOW | tools/binman/etype/u_boot_spl_nodtb.py | 8 | CODE | |
| LOW | tools/binman/etype/u_boot_vpl_bss_pad.py | 11 | CODE | |
| LOW | tools/binman/etype/x86_start16_spl.py | 8 | CODE | |
| LOW | tools/binman/etype/x86_start16.py | 8 | CODE | |
| LOW | tools/binman/etype/u_boot_dtb.py | 8 | CODE | |
| LOW | tools/binman/etype/u_boot_tpl_nodtb.py | 8 | CODE | |
| LOW | tools/binman/etype/vblock.py | 9 | CODE | |
| LOW | tools/binman/etype/vblock.py | 10 | CODE | |
| LOW | tools/binman/etype/vblock.py | 15 | CODE | |
| LOW | tools/binman/etype/fmap.py | 10 | CODE | |
| LOW | tools/binman/etype/u_boot_vpl.py | 8 | CODE | |
| LOW | tools/binman/etype/null.py | 7 | CODE | |
| LOW | tools/binman/etype/null.py | 8 | CODE | |
| LOW | tools/binman/etype/x86_start16_tpl.py | 8 | CODE | |
| LOW | tools/binman/etype/u_boot_dtb_with_ucode.py | 8 | CODE | |
| LOW | tools/binman/etype/u_boot_dtb_with_ucode.py | 10 | CODE | |
| LOW | tools/binman/etype/u_boot_tpl_elf.py | 8 | CODE | |
| LOW | tools/binman/etype/blob_dtb.py | 8 | CODE | |
| LOW | tools/binman/etype/nxp_imx8mimage.py | 12 | CODE | |
| LOW | tools/binman/etype/nxp_imx8mimage.py | 14 | CODE | |
| LOW | tools/binman/etype/nxp_imx8mimage.py | 17 | CODE | |
| LOW | tools/binman/etype/u_boot.py | 8 | CODE | |
| LOW | tools/binman/etype/section.py | 11 | CODE | |
| LOW | tools/binman/etype/nxp_imx8mcst.py | 14 | CODE | |
| LOW | tools/binman/etype/nxp_imx8mcst.py | 16 | CODE | |
| LOW | tools/binman/etype/nxp_imx8mcst.py | 19 | CODE | |
| LOW | tools/binman/etype/u_boot_tpl_with_ucode_ptr.py | 8 | CODE | |
| LOW | tools/binman/etype/u_boot_tpl_with_ucode_ptr.py | 10 | CODE | |
| 147 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/binman/cbfs_util_test.py | 236 | def test_cbfs_invalid_file_type(self): | CODE |
| LOW | tools/binman/cbfs_util_test.py | 249 | def test_cbfs_invalid_file_type_on_read(self): | CODE |
| LOW | tools/binman/cbfs_util_test.py | 340 | def test_cbfs_bad_file_header(self): | CODE |
| LOW | tools/binman/cbfs_util_test.py | 361 | def test_cbfs_bad_file_string(self): | CODE |
| LOW | tools/binman/cbfs_util_test.py | 424 | def test_cbfs_missing_attribute(self): | CODE |
| LOW | tools/binman/cbfs_util_test.py | 452 | def test_cbfs_file_master_header(self): | CODE |
| LOW | tools/binman/cbfs_util_test.py | 570 | def test_cbfs_invalid_file_type_header(self): | CODE |
| LOW | tools/binman/cbfs_util_test.py | 583 | def test_cbfs_offset_conflict(self): | CODE |
| LOW | tools/binman/bintool_test.py | 330 | def test_all_bintool_versions(self): | CODE |
| LOW | tools/binman/elf_test.py | 285 | def test_read_loadable_segments(self): | CODE |
| LOW | tools/binman/elf_test.py | 305 | def test_read_segments_bad_data(self): | CODE |
| LOW | tools/binman/elf_test.py | 329 | def test_get_file_offset_fail(self): | CODE |
| LOW | tools/binman/elf_test.py | 342 | def test_get_symbol_from_address(self): | CODE |
| LOW | tools/binman/elf_test.py | 353 | def test_get_symbol_from_address_fail(self): | CODE |
| LOW | tools/binman/fip_util_test.py | 207 | def test_uuid_not_in_tbbr_config_c(self): | STRING |
| LOW | tools/dtoc/src_scan.py | 242 | def get_normalized_compat_name(self, node): | CODE |
| LOW | tools/dtoc/test_fdt.py | 205 | def test_refresh_missing_node(self): | CODE |
| LOW | tools/dtoc/test_fdt.py | 222 | def test_refresh_missing_prop(self): | CODE |
| LOW | tools/dtoc/test_fdt.py | 294 | def test_refresh_name_mismatch(self): | CODE |
| LOW | tools/dtoc/test_fdt.py | 407 | def test_copy_subnodes_from_phandles(self): | CODE |
| LOW | tools/dtoc/test_fdt.py | 922 | def test_ensure_compiled_tmpdir(self): | CODE |
| LOW | tools/dtoc/test_fdt.py | 935 | def test_get_phandle_name_offset(self): | CODE |
| LOW | tools/dtoc/fdt.py | 766 | def copy_subnodes_from_phandles(self, phandle_list): | CODE |
| LOW | tools/dtoc/test_dtoc.py | 1650 | def test_process_nodes_bad_parent(self): | STRING |
| LOW | tools/dtoc/test_dtoc.py | 1667 | def test_process_nodes_bad_node(self): | STRING |
| LOW | tools/dtoc/test_dtoc.py | 1680 | def test_process_nodes_bad_uclass(self): | STRING |
| LOW | tools/dtoc/test_dtoc.py | 1744 | def test_alias_read_bad_uclass(self): | STRING |
| LOW | tools/cv_bsp_generator/hps.py | 285 | def get_default_pinmux_configs(self): | CODE |
| LOW | tools/buildman/kconfiglib.py | 2058 | def disable_override_warnings(self): | STRING |
| LOW | tools/buildman/kconfiglib.py | 4897 | def _rec_invalidate_if_has_prompt(self): | STRING |
| LOW | tools/buildman/kconfiglib.py | 4954 | def _warn_select_unsatisfied_deps(self): | STRING |
| LOW | tools/buildman/bsettings.py | 74 | def create_buildman_config_file(config_fname): | CODE |
| LOW | tools/buildman/test.py | 762 | def test_convert_adjust_cfg_list(self): | STRING |
| LOW | tools/buildman/builder.py | 1752 | def _get_output_space_removals(self): | CODE |
| LOW | tools/buildman/boards.py | 688 | def scan_defconfigs_for_multiprocess(cls, srcdir, queue, defconfigs, | STRING |
| LOW | tools/u_boot_pylib/gitutil.py | 296 | def check_worktree_is_available(git_dir): | CODE |
| LOW | tools/u_boot_pylib/gitutil.py | 703 | def get_default_subject_prefix(): | CODE |
| LOW | test/py/utils.py | 147 | def wait_until_file_open_fails(fn, ignore_errors): | CODE |
| LOW | test/py/utils.py | 198 | def run_and_log_expect_exception(ubman, cmd, retcode, msg): | CODE |
| LOW | test/py/console_base.py | 560 | def validate_version_string_in_text(self, text): | CODE |
| LOW | test/py/tests/test_net.py | 238 | def test_net_network_discovery(ubman): | CODE |
| LOW | test/py/tests/test_efi_selftest.py | 27 | def test_efi_selftest_device_tree(ubman): | CODE |
| LOW | test/py/tests/test_efi_selftest.py | 47 | def test_efi_selftest_watchdog_reboot(ubman): | CODE |
| LOW | test/py/tests/test_efi_selftest.py | 64 | def test_efi_selftest_text_input(ubman): | CODE |
| LOW | test/py/tests/test_efi_selftest.py | 119 | def test_efi_selftest_text_input_ex(ubman): | CODE |
| LOW | test/py/tests/test_net_boot.py | 372 | def test_net_pxe_boot_config_invalid(ubman): | CODE |
| LOW | test/py/tests/test_mmc.py | 272 | def test_mmc_fatload_fatwrite(ubman): | CODE |
| LOW | test/py/tests/test_mmc.py | 632 | def test_mmc_fat_read_write_files(ubman): | CODE |
| LOW | test/py/tests/test_efi_loader.py | 165 | def do_test_efi_helloworld_net(ubman, proto): | CODE |
| LOW | test/py/tests/test_efi_loader.py | 182 | def test_efi_helloworld_net_tftp(ubman): | CODE |
| LOW | test/py/tests/test_efi_loader.py | 193 | def test_efi_helloworld_net_http(ubman): | CODE |
| LOW | test/py/tests/test_efi_loader.py | 204 | def test_efi_helloworld_builtin(ubman): | CODE |
| LOW | test/py/tests/test_zynq_secure.py | 115 | def test_zynq_aes_partial_bitstream(ubman): | CODE |
| LOW | test/py/tests/test_zynq_secure.py | 167 | def test_zynq_rsa_image_invalid(ubman): | CODE |
| LOW⚡ | test/py/tests/test_source.py | 65 | def test_source_reject_control_dtb(ubman): | CODE |
| LOW | test/py/tests/test_fit.py | 398 | def test_fit_kernel_fdt_ramdisk_load(self, ubman, fsetup): | STRING |
| LOW | test/py/tests/test_fit.py | 427 | def test_fit_compressed_images_load(self, ubman, fsetup): | STRING |
| LOW | test/py/tests/test_fit.py | 460 | def test_fit_iminfo_configs_first(self, ubman, fsetup): | STRING |
| LOW | test/py/tests/test_fit.py | 514 | def test_fit_kernel_noload_decomp_overflow(self, ubman, fsetup): | STRING |
| LOW | test/py/tests/test_fit.py | 566 | def test_fit_kernel_noload_decomp_boundary(self, ubman, fsetup): | STRING |
| 152 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/qconfig.py | 904 | CODE | |
| LOW | tools/qconfig.py | 1299 | CODE | |
| LOW | tools/qconfig.py | 1575 | CODE | |
| LOW | tools/qconfig.py | 435 | CODE | |
| LOW | tools/qconfig.py | 1312 | CODE | |
| LOW | tools/microcode-tool.py | 38 | CODE | |
| LOW | tools/microcode-tool.py | 78 | CODE | |
| LOW | tools/microcode-tool.py | 244 | CODE | |
| LOW | tools/endian-swap.py | 42 | CODE | |
| LOW | tools/rmboard.py | 57 | CODE | |
| LOW | tools/expo.py | 33 | CODE | |
| LOW | tools/zynqmp_pm_cfg_obj_convert.py | 260 | CODE | |
| LOW | tools/binman/cbfs_util.py | 669 | CODE | |
| LOW | tools/binman/cbfs_util.py | 715 | CODE | |
| LOW | tools/binman/fip_util.py | 426 | CODE | |
| LOW | tools/binman/bintool_test.py | 194 | CODE | |
| LOW | tools/binman/bintool_test.py | 294 | CODE | |
| LOW | tools/binman/control.py | 80 | CODE | |
| LOW | tools/binman/control.py | 822 | CODE | |
| LOW | tools/binman/ftest.py | 6424 | CODE | |
| LOW | tools/binman/elf.py | 142 | CODE | |
| LOW | tools/binman/elf.py | 236 | CODE | |
| LOW | tools/binman/main.py | 103 | CODE | |
| LOW | tools/binman/etype/fit.py | 748 | CODE | |
| LOW | tools/binman/etype/fit.py | 1061 | CODE | |
| LOW | tools/binman/etype/fit.py | 754 | CODE | |
| LOW | tools/binman/etype/fit.py | 794 | CODE | |
| LOW | tools/binman/etype/fit.py | 830 | CODE | |
| LOW | tools/binman/etype/fit.py | 908 | CODE | |
| LOW | tools/binman/etype/fit.py | 942 | CODE | |
| LOW | tools/binman/etype/fit.py | 994 | CODE | |
| LOW | tools/binman/etype/section.py | 571 | CODE | |
| LOW | tools/binman/etype/section.py | 701 | CODE | |
| LOW | tools/binman/etype/ti_board_config.py | 136 | CODE | |
| LOW | tools/binman/etype/nxp_imx9image.py | 31 | CODE | |
| LOW | tools/binman/etype/x509_cert.py | 65 | CODE | |
| LOW | tools/dtoc/src_scan.py | 333 | CODE | |
| LOW | tools/dtoc/src_scan.py | 412 | CODE | |
| LOW | tools/dtoc/src_scan.py | 662 | CODE | |
| LOW | tools/dtoc/src_scan.py | 737 | CODE | |
| LOW | tools/dtoc/fdt.py | 56 | CODE | |
| LOW | tools/dtoc/fdt.py | 133 | CODE | |
| LOW | tools/dtoc/fdt.py | 645 | CODE | |
| LOW | tools/dtoc/dtb_platdata.py | 111 | CODE | |
| LOW | tools/dtoc/dtb_platdata.py | 497 | CODE | |
| LOW | tools/dtoc/dtb_platdata.py | 539 | CODE | |
| LOW | tools/dtoc/dtb_platdata.py | 567 | CODE | |
| LOW | tools/dtoc/dtb_platdata.py | 947 | CODE | |
| LOW | tools/cv_bsp_generator/iocsr.py | 50 | CODE | |
| LOW | tools/cv_bsp_generator/emif.py | 140 | CODE | |
| LOW | tools/cv_bsp_generator/emif.py | 210 | CODE | |
| LOW | tools/cv_bsp_generator/emif.py | 263 | CODE | |
| LOW | tools/cv_bsp_generator/hps.py | 395 | CODE | |
| LOW | tools/cv_bsp_generator/hps.py | 492 | CODE | |
| LOW | tools/cv_bsp_generator/hps.py | 514 | CODE | |
| LOW | tools/buildman/kconfiglib.py | 6477 | CODE | |
| LOW | tools/buildman/kconfiglib.py | 6635 | CODE | |
| LOW | tools/buildman/kconfiglib.py | 1135 | CODE | |
| LOW | tools/buildman/kconfiglib.py | 1248 | CODE | |
| LOW | tools/buildman/kconfiglib.py | 1461 | CODE | |
| 134 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/rmboard.py | 130 | # Check if the board is mentioned anywhere else. The user will need to deal | STRING |
| LOW | tools/binman/ftest.py | 3985 | # Check if entry listing correctly omits /images/ | STRING |
| LOW | tools/binman/ftest.py | 7437 | # Check if fsbl-attribute is set correctly | STRING |
| LOW | tools/binman/ftest.py | 7439 | # Check if key is stored in efuse | STRING |
| LOW | tools/binman/entry.py | 721 | # Check if we are writing symbols into an ELF file | COMMENT |
| LOW | tools/binman/etype/pre_load.py | 104 | # Check if the key has the expected size | COMMENT |
| LOW | tools/cv_bsp_generator/iocsr.py | 107 | # Read the file extension (typically .hiof) | COMMENT |
| LOW | tools/buildman/kconfiglib.py | 4322 | # Check if a range is in effect | STRING |
| LOW | tools/buildman/kconfiglib.py | 4613 | # Check if the value is valid for our type | STRING |
| LOW | tools/buildman/kconfiglib.py | 5442 | # Check if we have a default | STRING |
| LOW | tools/buildman/builder.py | 1156 | # Loop through the list of images, creating a dict of size | COMMENT |
| LOW | tools/buildman/builder.py | 1439 | # Display results by arch | COMMENT |
| LOW | tools/buildman/builderthread.py | 496 | # Check if the job was already completed last time | COMMENT |
| LOW | tools/u_boot_pylib/terminal.py | 35 | # Set this to False to disable output-capturing globally | COMMENT |
| LOW | tools/u_boot_pylib/tools.py | 591 | # Read the file in chunks and show progress as we go | COMMENT |
| LOW | test/py/tests/test_mmc_rd.py | 281 | # Check if the command did not take too long | COMMENT |
| LOW | test/py/tests/test_suite.py | 17 | # Set this to True to aid debugging of tests | COMMENT |
| LOW | test/py/tests/fs_helper.py | 107 | # Write files to fsh.srcdir | STRING |
| LOW | test/image/test-imagetools.sh | 89 | # Write files into an multi-file image | COMMENT |
| LOW | test/image/test-imagetools.sh | 112 | # Write files into a FIT image | COMMENT |
| LOW | test/fs/fs-test.sh | 62 | # Check if the prereq binaries exist, or exit | COMMENT |
| LOW | test/fs/fs-test.sh | 94 | # Check if U-Boot exists | COMMENT |
| LOW | test/fs/fs-test.sh | 464 | # Check if the ls is showing correct results for 2.5 gb file | COMMENT |
| LOW | test/fs/fs-test.sh | 468 | # Check if the ls is showing correct results for 1 mb file | COMMENT |
| LOW | scripts/checkpatch.pl | 3087 | # Check if the commit log has what seems like a diff which can confuse patch | COMMENT |
| LOW | scripts/checkpatch.pl | 3165 | # Check if MAINTAINERS is being updated. If so, there's probably no need to | COMMENT |
| LOW | scripts/checkpatch.pl | 3412 | # Check if the commit log is in a possible stack dump | COMMENT |
| LOW | scripts/checkpatch.pl | 3599 | # Check if it's the start of a commit log | COMMENT |
| LOW | scripts/checkpatch.pl | 3609 | # Check if there is UTF-8 in a commit log when a mail header has explicitly | COMMENT |
| LOW | scripts/checkpatch.pl | 4586 | # Check if either of these lines are modified, else | COMMENT |
| LOW | scripts/build-efi.sh | 61 | # Set ubdir to the build directory where you build U-Boot out-of-tree | COMMENT |
| LOW | scripts/kconfig/streamline_config.pl | 504 | # Check if something other than a module selects this config | COMMENT |
| LOW | lib/mbedtls/external/mbedtls/tests/ssl-opt.sh | 218 | # Check if the required configuration ($1) is enabled | COMMENT |
| LOW | lib/mbedtls/external/mbedtls/tests/ssl-opt.sh | 1089 | # Check if the ServerHello time was printed | COMMENT |
| LOW | lib/mbedtls/external/mbedtls/tests/ssl-opt.sh | 1114 | # Check if memory usage was read | COMMENT |
| LOW | lib/mbedtls/external/mbedtls/tests/ssl-opt.sh | 1135 | # Check if memory usage is below max value | COMMENT |
| LOW⚡ | lib/mbedtls/external/mbedtls/tests/ssl-opt.sh | 1667 | # Check if test uses files | COMMENT |
| LOW⚡ | lib/mbedtls/external/mbedtls/tests/ssl-opt.sh | 1673 | # Check if the test uses DTLS. | COMMENT |
| LOW⚡ | lib/mbedtls/external/mbedtls/tests/ssl-opt.sh | 1679 | # Check if we are trying to use an external tool which does not support ECDH | COMMENT |
| LOW | …xternal/mbedtls/tests/scripts/check-generated-files.sh | 8 | # Check if generated files are up-to-date. | COMMENT |
| LOW | …xternal/mbedtls/tests/scripts/check-generated-files.sh | 107 | # Check if there are any new files | COMMENT |
| LOW | …external/mbedtls/tests/scripts/audit-validity-dates.py | 162 | # Check if Type (1 byte) is SEQUENCE. | COMMENT |
| LOW | lib/mbedtls/external/mbedtls/tests/scripts/all.sh | 2354 | # Set MBEDTLS_TEST_DEPRECATED to enable tests for deprecated features. | COMMENT |
| LOW | …ternal/mbedtls/docs/architecture/psa-migration/syms.sh | 33 | # Check if the provided name refers to a module or library and return the | COMMENT |
| LOW | lib/mbedtls/external/mbedtls/programs/demo_common.sh | 59 | ## Display the message, then run COMMAND with the specified arguments. | COMMENT |
| LOW | …/mbedtls/external/mbedtls/scripts/code_size_compare.py | 793 | # Check if the corresponding record exists | COMMENT |
| LOW | doc/sphinx/automarkup.py | 139 | # Check if this document has a namespace, and if so, try | COMMENT |
| LOW | doc/sphinx/automarkup.py | 198 | # Check if this document has a namespace, and if so, try | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | lib/lwip/lwip/src/apps/snmp/snmp_core.c | 258 | * device a > 1.3.6.1.4.1.XXX(ent-oid).1(devices).1(device a) | COMMENT |
| CRITICAL | lib/lwip/lwip/src/apps/snmp/snmp_core.c | 259 | * device b > 1.3.6.1.4.1.XXX(ent-oid).1(devices).2(device b) | COMMENT |
| CRITICAL | doc/sphinx/kernel_feat.py | 87 | self.state.document.settings.env.app.warn(message, prefix="") | CODE |
| CRITICAL | doc/sphinx/kernel_include.py | 106 | self.state.document.settings.record_dependencies.add(path) | CODE |
| CRITICAL | doc/sphinx/maintainers_include.py | 193 | self.state.document.settings.record_dependencies.add(path) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/binman/etype/intel_ifwi.py | 63 | # Bintool is missing; just create a zeroed ifwi.bin | COMMENT |
| LOW | tools/binman/etype/intel_ifwi.py | 75 | # Bintool is missing; just use zero data | COMMENT |
| LOW | tools/binman/etype/fit.py | 713 | # Bintool is missing; just use empty data as the output | COMMENT |
| LOW | tools/binman/etype/xilinx_bootgen.py | 212 | # Bintool is missing; just use empty data as the output | COMMENT |
| LOW | tools/binman/etype/vblock.py | 83 | # Bintool is missing; just use 4KB of zero data | COMMENT |
| LOW | tools/binman/etype/nxp_imx8mimage.py | 69 | # Bintool is missing; just use the input data as the output | COMMENT |
| LOW | tools/binman/etype/nxp_imx8mcst.py | 172 | # Bintool is missing; just use the input data as the output | STRING |
| LOW | tools/binman/etype/gbb.py | 96 | # Bintool is missing; just use the required amount of zero data | COMMENT |
| LOW | tools/binman/etype/mkimage.py | 205 | # Bintool is missing; just use the input data as the output | COMMENT |
| LOW | tools/binman/etype/x509_cert.py | 151 | # Bintool is missing; just use 4KB of zero data | COMMENT |
| LOW | tools/binman/etype/alternates_fdt.py | 89 | # If there is no current FDT, just use the normal one | COMMENT |
| LOW | tools/binman/etype/efi_capsule.py | 164 | # Bintool is missing; just use the input data as the output | COMMENT |
| LOW | tools/buildman/kconfiglib.py | 3447 | # EQUAL, UNEQUAL, etc., so we can just use the token directly | STRING |
| LOW | tools/buildman/kconfiglib.py | 6583 | # to _check_dep_loop_sym(). We just return immediately. | STRING |
| LOW | tools/patman/series.py | 103 | # Otherwise just set the value | COMMENT |
| LOW | tools/u_boot_pylib/tools.py | 471 | # If not found, just return the standard, unchanged path | COMMENT |
| LOW | test/py/tests/test_ut.py | 362 | # For now we just use dummy kernels. This limits testing to just detecting | COMMENT |
| MEDIUM | test/py/tests/test_fw_handoff.py | 26 | """Normalize whitespace for robust comparisons.""" | STRING |
| MEDIUM | scripts/dtc/update-dtc-source.sh | 21 | # aren't a big deal. If anyone is interested in making it more robust, the | COMMENT |
| LOW | lib/lwip/lwip/src/include/lwip/sockets.h | 214 | #define SO_DONTROUTE 0x0010 /* Unimplemented: just use interface addresses */ | COMMENT |
| MEDIUM | lib/mbedtls/external/mbedtls/tests/ssl-opt.sh | 1560 | # for the sake of tests' filtering (especially in conjunction with the | COMMENT |
| LOW | …external/mbedtls/tests/scripts/generate_pkcs7_tests.py | 96 | # off the bat just add bytes to start and end of the buffer | COMMENT |
| MEDIUM | lib/mbedtls/external/mbedtls/tests/scripts/all.sh | 3160 | # in conjunction with component_test_psa_crypto_config_accel_ecc_no_ecp_at_all(). | COMMENT |
| MEDIUM | lib/mbedtls/external/mbedtls/tests/scripts/all.sh | 3266 | # It is meant to be used in conjunction with | COMMENT |
| MEDIUM | lib/mbedtls/external/mbedtls/tests/scripts/all.sh | 3346 | # It is meant to be used in conjunction with | COMMENT |
| MEDIUM | …xternal/mbedtls/scripts/mbedtls_dev/macro_collector.py | 257 | # something more robust. | COMMENT |
| MEDIUM | …/external/mbedtls/scripts/mbedtls_dev/bignum_common.py | 133 | # provides earlier/more robust input validation. | COMMENT |
| MEDIUM | …/external/mbedtls/scripts/mbedtls_dev/bignum_common.py | 298 | # provides earlier/more robust input validation. | COMMENT |
| LOW | doc/sphinx/automarkup.py | 252 | # Return the xref if we got it; otherwise just return the plain text. | COMMENT |
| MEDIUM | doc/sphinx/kerneldoc.py | 81 | # FIXME: make this nicer and more robust against errors | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/binman/control.py | 791 | except Exception as e: | CODE |
| LOW | tools/binman/main.py | 138 | except Exception as e: | CODE |
| LOW | tools/binman/etype/ti_board_config.py | 258 | except Exception as e: | CODE |
| LOW | tools/cv_bsp_generator/model.py | 52 | except Exception: | CODE |
| LOW | tools/cv_bsp_generator/model.py | 93 | except Exception: | CODE |
| MEDIUM | tools/buildman/kconfiglib.py | 6354 | def _is_base_n(s, n): | CODE |
| LOW | tools/buildman/kconfiglib.py | 6417 | except Exception: | STRING |
| MEDIUM | tools/buildman/toolchain.py | 407 | print(f'Error: {msg}') | CODE |
| LOW | tools/buildman/builderthread.py | 793 | except Exception as exc: | CODE |
| LOW | tools/patman/settings.py | 8 | except Exception: | CODE |
| LOW | tools/u_boot_pylib/command.py | 125 | except Exception as err: | CODE |
| LOW | test/py/multiplexed_log.py | 164 | except Exception as e: | CODE |
| LOW | test/py/utils.py | 213 | except Exception: | CODE |
| LOW | test/py/utils.py | 306 | except Exception: | CODE |
| LOW | test/py/console_base.py | 515 | except Exception as ex: | CODE |
| MEDIUM | test/py/tests/test_fs/test_squashfs/sqfs_common.py | 144 | print('Error: mksquashfs is too old, required version: 4.4') | CODE |
| LOW | board/synopsys/hsdk/headerize-hsdk.py | 147 | except Exception as err: | CODE |
| MEDIUM | board/synopsys/hsdk/headerize-hsdk.py | 43 | def main(): | CODE |
| LOW | board/synopsys/axs10x/headerize-axs.py | 174 | except Exception as err: | CODE |
| MEDIUM | board/synopsys/axs10x/headerize-axs.py | 47 | def main(): | CODE |
| LOW | scripts/spdxcheck.py | 368 | except Exception as ex: | CODE |
| LOW | scripts/spdxcheck.py | 378 | except Exception as ex: | CODE |
| LOW | scripts/spdxcheck.py | 453 | except Exception as ex: | CODE |
| LOW | …tls/external/mbedtls/tests/scripts/analyze_outcomes.py | 714 | except Exception: # pylint: disable=broad-except | CODE |
| LOW | lib/mbedtls/external/mbedtls/tests/scripts/depends.py | 552 | except Exception: # pylint: disable=broad-except | CODE |
| MEDIUM | lib/mbedtls/external/mbedtls/tests/scripts/depends.py | 498 | def main(): | CODE |
| LOW | …/mbedtls/external/mbedtls/tests/scripts/check_names.py | 955 | except Exception: # pylint: disable=broad-except | CODE |
| MEDIUM | lib/mbedtls/external/mbedtls/scripts/code_style.py | 22 | print("Error: ", *args, file=sys.stderr) | CODE |
| MEDIUM | lib/mbedtls/external/mbedtls/scripts/abi_check.py | 613 | print("Error: {} is not a directory".format(abi_args.report_dir)) | CODE |
| LOW | lib/mbedtls/external/mbedtls/scripts/abi_check.py | 650 | except Exception: # pylint: disable=broad-except | CODE |
| MEDIUM | lib/mbedtls/external/mbedtls/scripts/abi_check.py | 536 | def run_main(): | CODE |
| MEDIUM | …s/external/mbedtls/scripts/generate_driver_wrappers.py | 91 | print("Error: Failed to validate data file: {} using schema: {}." | CODE |
| MEDIUM | …s/external/mbedtls/scripts/generate_driver_wrappers.py | 94 | print("Error: Failed to validate data file: {} using schema: {}." | CODE |
| LOW | doc/sphinx/kerneldoc.py | 150 | except Exception as e: # pylint: disable=W0703 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | lib/mbedtls/external/mbedtls/library/error.c | 186 | /* Begin Auto-Generated Code. */ | COMMENT |
| HIGH | lib/mbedtls/external/mbedtls/library/error.c | 526 | /* End Auto-Generated Code. */ | COMMENT |
| HIGH | lib/mbedtls/external/mbedtls/library/error.c | 547 | /* Begin Auto-Generated Code. */ | COMMENT |
| HIGH | lib/mbedtls/external/mbedtls/library/error.c | 781 | /* End Auto-Generated Code. */ | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/binman/ftest.py | 383 | CODE | |
| LOW | tools/binman/ftest.py | 518 | CODE | |
| LOW | tools/binman/ftest.py | 6531 | CODE | |
| LOW | tools/binman/entry.py | 979 | CODE | |
| LOW | tools/binman/etype/cbfs.py | 286 | CODE | |
| LOW | tools/binman/etype/image_header.py | 77 | CODE | |
| LOW | tools/binman/etype/fit.py | 1059 | CODE | |
| LOW | tools/binman/etype/blob_dtb.py | 102 | CODE | |
| LOW | tools/binman/etype/fdtmap.py | 150 | CODE | |
| LOW | tools/binman/etype/ti_board_config.py | 208 | CODE | |
| LOW | tools/binman/etype/atf_fip.py | 234 | CODE | |
| LOW | tools/binman/btool/cst.py | 53 | CODE | |
| LOW | tools/binman/btool/mkeficapsule.py | 132 | CODE | |
| LOW | tools/binman/btool/bootgen.py | 137 | CODE | |
| LOW | tools/binman/btool/futility.py | 176 | CODE | |
| LOW | tools/binman/btool/fiptool.py | 114 | CODE | |
| LOW | tools/dtoc/fdt_util.py | 124 | CODE | |
| LOW | tools/dtoc/fdt_util.py | 147 | CODE | |
| LOW | tools/buildman/builder.py | 257 | CODE | |
| LOW | tools/buildman/builder.py | 437 | CODE | |
| LOW | tools/u_boot_pylib/command.py | 67 | CODE | |
| LOW | tools/u_boot_pylib/command.py | 173 | CODE | |
| LOW | test/py/multiplexed_log.py | 348 | CODE | |
| LOW | test/py/tests/test_fit_auto_signed.py | 149 | CODE | |
| LOW | …s/external/mbedtls/tests/scripts/generate_test_code.py | 747 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | cmd/mtdparts.c | 436 | * Now we need to check if the partition starts and ends on | COMMENT |
| LOW | drivers/net/e1000.c | 3728 | /* Now we need to check if the user selected RX ONLY | COMMENT |
| LOW | drivers/ddr/fsl/ddr2_dimm_params.c | 144 | * The purpose of this function is to compute a suitable | COMMENT |
| LOW | drivers/ddr/fsl/ddr1_dimm_params.c | 162 | * The purpose of this function is to compute a suitable | COMMENT |
| LOW | arch/mips/mach-octeon/cvmx-helper-util.c | 501 | * a dynamic short packet. We need to check if it is a packet | COMMENT |
| LOW | arch/mips/mach-octeon/include/mach/cvmx-helper-util.h | 147 | short packet. We need to check if it is a packet received with | CODE |
| LOW | arch/x86/cpu/quark/smc.c | 2302 | * The purpose of this function is to ensure the SEC comes out of reset | COMMENT |
| LOW | scripts/kconfig/streamline_config.pl | 564 | # If the config has no prompt, then we need to check if a config | COMMENT |
| LOW | lib/hang.c | 18 | * The purpose of this function is to stop further execution of code cause | COMMENT |
| LOW | lib/lwip/lwip/src/apps/mdns/mdns.c | 614 | * comparison. So if we get passed the class and type comparison we need to check if the | COMMENT |
| LOW | …external/mbedtls/tests/include/test/psa_exercise_key.h | 143 | * 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.h | 162 | * The result is discarded. The purpose of this function is to smoke-test a key. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/patman/__init__.py | 3 | __all__ = [ | CODE |
| LOW | tools/u_boot_pylib/__init__.py | 3 | __all__ = ['command', 'cros_subprocess', 'gitutil', 'terminal', 'test_util', | CODE |
| LOW | …/mbedtls/external/mbedtls/scripts/code_size_compare.py | 507 | def _set_size_record(self, git_rev: str, mod: str, size_text: str) -> None: | CODE |
| LOW | …external/mbedtls/scripts/mbedtls_dev/bignum_mod_raw.py | 132 | def set_representation(self, r: bignum_common.ModulusRepresentation) -> None: | CODE |
| LOW | …ls/external/mbedtls/scripts/mbedtls_dev/psa_storage.py | 41 | def update_cache(self) -> None: | CODE |
| LOW⚡ | …dtls/external/mbedtls/scripts/mbedtls_dev/test_case.py | 38 | def set_description(self, description: str) -> None: | CODE |
| LOW⚡ | …dtls/external/mbedtls/scripts/mbedtls_dev/test_case.py | 41 | def set_dependencies(self, dependencies: List[str]) -> None: | CODE |
| LOW⚡ | …dtls/external/mbedtls/scripts/mbedtls_dev/test_case.py | 44 | def set_function(self, function: str) -> None: | CODE |
| LOW⚡ | …dtls/external/mbedtls/scripts/mbedtls_dev/test_case.py | 47 | def set_arguments(self, arguments: List[str]) -> None: | CODE |
| LOW | …nal/mbedtls/scripts/mbedtls_dev/c_wrapper_generator.py | 364 | def set_stream(self, stream: str) -> None: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …tls/external/mbedtls/tests/scripts/basic-build-test.sh | 64 | # Step 0 - print build environment info | COMMENT |
| LOW⚡ | …tls/external/mbedtls/tests/scripts/basic-build-test.sh | 71 | # Step 1 - Make and instrumented build for code coverage | COMMENT |
| LOW⚡ | …tls/external/mbedtls/tests/scripts/basic-build-test.sh | 80 | # Step 2 - Execute the tests | COMMENT |
| LOW | …tls/external/mbedtls/tests/scripts/basic-build-test.sh | 120 | # Step 3 - Process the coverage report | COMMENT |
| LOW | …tls/external/mbedtls/tests/scripts/basic-build-test.sh | 133 | # Step 4 - Summarise the test report | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …/mbedtls/external/mbedtls/tests/scripts/quiet/quiet.sh | 22 | # be silenced, e.g. " --version | test ". In this example, "make lib test" will | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …dings/mtd/partitions/brcm,bcm947xx-cfe-partitions.yaml | 30 | As mentioned earlier, role of some partitions may depend on extra | CODE |
| LOW | drivers/net/fsl-mc/dpio/qbman_sys.h | 270 | * the power-on state. (Ie. don't forget to reset portals when they are | COMMENT |
| LOW | common/cli_hush_upstream.c | 11409 | * NB: don't forget to (re)run install_special_sighandlers() as needed. | COMMENT |
| LOW | lib/lwip/lwip/src/core/netif.c | 280 | * IPv6: Don't forget to call netif_create_ip6_linklocal_address() after | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/rkmux.py | 5 | # Usage: | COMMENT |
| LOW | test/stdint/test-includes.sh | 8 | # Usage: | COMMENT |
| LOW | scripts/checkstack.pl | 18 | # Usage: | COMMENT |
| LOW | …ternal/mbedtls/docs/architecture/psa-migration/syms.sh | 12 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | test/py/tests/test_eficonfig.py | 110 | CODE | |
| MEDIUM | test/py/tests/test_eficonfig.py | 112 | CODE | |
| MEDIUM | test/py/tests/test_eficonfig.py | 113 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | lib/mbedtls/external/mbedtls/tests/ssl-opt.sh | 6725 | # Tests for event-driven I/O: exercise a variety of handshake flows | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | drivers/spi/spi-aspeed-smc.c | 661 | u8 dummy_data[16] = {0}; | CODE |
| LOW | drivers/spi/spi-aspeed-smc.c | 702 | aspeed_spi_write_to_ahb(flash->ahb_base, dummy_data, op->dummy.nbytes); | CODE |