RT-Thread is an open source IoT Real-Time Operating System (RTOS). https://rt-thread.github.io/rt-thread/
This report presents the forensic synthetic code analysis of RT-Thread/rt-thread, a C project with 12,174 GitHub stars. SynthScan v2.0 examined 10,646,074 lines of code across 24696 source files, recording 135864 pattern matches distributed across 20 syntactic categories. The overall adjusted score of 9.5 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).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
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 135864 distinct pattern matches across 20 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 | documentation/3.kernel/thread/thread.md | 141 | Each thread is one execution scenario. Error codes are closely related to the execution environment, so each thread is e | COMMENT |
| LOW | documentation/6.components/device-driver/pin/pin.md | 301 | * The routine exports the pin_beep_sample command to the control terminal | COMMENT |
| LOW | …ntation/6.components/device-driver/framework/device.md | 181 | COMMENT | |
| LOW | documentation/6.components/device-driver/ofw/dtc.md | 61 | #define MMIO_BASE 0x10000 | COMMENT |
| LOW | documentation/6.components/device-driver/uart/uart.md | 181 | COMMENT | |
| LOW | documentation/6.components/device-driver/uart/uart.md | 201 | #define DATA_BITS_7 7 | COMMENT |
| LOW | tools/package.py | 1 | # | COMMENT |
| LOW | tools/options.py | 1 | # | COMMENT |
| LOW | tools/llvm_arm.py | 1 | # | COMMENT |
| LOW | tools/building.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | tools/mkromfs.py | 161 | @property | COMMENT |
| LOW | tools/sconsui.py | 1 | #! /usr/bin/env python | COMMENT |
| LOW | tools/cscope.py | 1 | # | COMMENT |
| LOW | tools/preprocessor.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | tools/mkdist.py | 1 | # | COMMENT |
| LOW | tools/compile_commands.py | 1 | # | COMMENT |
| LOW | tools/win32spawn.py | 1 | # | COMMENT |
| LOW | tools/wizard.py | 1 | #! /usr/bin/env python | COMMENT |
| LOW | tools/utils.py | 1 | # | COMMENT |
| LOW | tools/gcc.py | 1 | # | COMMENT |
| LOW | tools/targets/vs2012.py | 1 | # | COMMENT |
| LOW | tools/targets/vsc.py | 1 | # | COMMENT |
| LOW | tools/targets/codelite.py | 1 | # | COMMENT |
| LOW | tools/targets/__init__.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | tools/targets/eclipse.py | 1 | # | COMMENT |
| LOW | tools/targets/codeblocks.py | 1 | # | COMMENT |
| LOW | tools/targets/cdk.py | 1 | # | COMMENT |
| LOW | tools/targets/vs.py | 1 | # | COMMENT |
| LOW | tools/targets/makefile.py | 1 | # | COMMENT |
| LOW | tools/targets/keil.py | 1 | # | COMMENT |
| LOW | tools/targets/iar.py | 1 | # | COMMENT |
| LOW | tools/targets/ua.py | 1 | # | COMMENT |
| LOW | tools/ci/install.sh | 1 | #!/bin/bash | COMMENT |
| LOW | tools/ci/bsp_detail.py | 1 | # | COMMENT |
| LOW | tools/ci/bsp_detail.py | 181 | except Exception as e: | COMMENT |
| LOW | tools/release/stm32_update.py | 1 | # Copyright (c) 2006-2022, RT-Thread Development Team | COMMENT |
| LOW | tools/docs/构建系统技术原理.md | 241 | #ifndef RT_CONFIG_H__ | COMMENT |
| LOW | tools/testcases/test_preprocessor.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | include/rttypes.h | 21 | #include <sys/errno.h> | COMMENT |
| LOW | include/rttypes.h | 181 | struct rt_spinlock | COMMENT |
| LOW | include/rtdef.h | 101 | #define RT_UINT32_MAX UINT32_MAX /**< Maximum number of UINT32 */ | COMMENT |
| LOW | include/rtdef.h | 201 | /* init after mount fs */ | COMMENT |
| LOW | include/rtdef.h | 221 | #define RT_MM_PAGE_MASK (RT_MM_PAGE_SIZE - 1) | COMMENT |
| LOW | include/rtdef.h | 521 | COMMENT | |
| LOW | include/rtdef.h | 621 | #define RT_SIGNAL_KILL_WAKEUP_MASK 0x01 | COMMENT |
| LOW | include/rtdef.h | 661 | COMMENT | |
| LOW | include/rtdef.h | 1281 | */ | COMMENT |
| LOW | include/rtdef.h | 1301 | #define RT_DEVICE_OFLAG_RDONLY 0x001 /**< read only access */ | COMMENT |
| LOW | include/rtdbg.h | 41 | #define DBG_ENABLE | COMMENT |
| LOW | include/rtdbg.h | 61 | /* DEBUG level */ | COMMENT |
| LOW | include/rtdbg.h | 121 | _DBG_LOG_X_END; \ | COMMENT |
| LOW | include/rtdbg.h | 141 | #define LOG_I(...) | COMMENT |
| LOW | include/rthw.h | 21 | #define __RT_HW_H__ | COMMENT |
| LOW | include/rthw.h | 241 | #ifndef RT_USING_CACHE | COMMENT |
| LOW | include/rtcompiler.h | 21 | #else | COMMENT |
| LOW | include/rtcompiler.h | 41 | #define __RT_STRINGIFY(x...) #x | COMMENT |
| LOW | include/rtcompiler.h | 61 | #define rt_always_inline rt_inline | COMMENT |
| LOW | include/rtcompiler.h | 81 | #else | COMMENT |
| LOW | include/rtcompiler.h | 101 | #define rt_packed(declare) declare __packed__ | COMMENT |
| LOW | include/rtm.h | 41 | COMMENT | |
| 135059 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | bsp/nxp/imx/imx6sx/cortex-a9/board/i2c2_iomux_config.c | 21 | * This code was generated by a tool. | COMMENT |
| HIGH | bsp/nxp/imx/imx6sx/cortex-a9/board/mlb_iomux_config.c | 21 | * This code was generated by a tool. | COMMENT |
| HIGH | bsp/nxp/imx/imx6sx/cortex-a9/board/gpio1_iomux_config.c | 21 | * This code was generated by a tool. | COMMENT |
| HIGH | …nxp/imx/imx6sx/cortex-a9/board/flexcan2_iomux_config.c | 21 | * This code was generated by a tool. | COMMENT |
| HIGH | bsp/nxp/imx/imx6sx/cortex-a9/board/mmdc_iomux_config.c | 21 | * This code was generated by a tool. | COMMENT |
| HIGH | bsp/nxp/imx/imx6sx/cortex-a9/board/gpio6_iomux_config.c | 21 | * This code was generated by a tool. | COMMENT |
| HIGH | bsp/nxp/imx/imx6sx/cortex-a9/board/esai_iomux_config.c | 21 | * This code was generated by a tool. | COMMENT |
| HIGH | bsp/nxp/imx/imx6sx/cortex-a9/board/eim_iomux_config.c | 21 | * This code was generated by a tool. | COMMENT |
| HIGH | bsp/nxp/imx/imx6sx/cortex-a9/board/epit_iomux_config.c | 21 | * This code was generated by a tool. | COMMENT |
| HIGH | bsp/nxp/imx/imx6sx/cortex-a9/board/sjc_iomux_config.c | 21 | * This code was generated by a tool. | COMMENT |
| HIGH | bsp/nxp/imx/imx6sx/cortex-a9/board/ecspi_iomux_config.c | 21 | * This code was generated by a tool. | COMMENT |
| HIGH | bsp/nxp/imx/imx6sx/cortex-a9/board/gpmi_iomux_config.c | 21 | * This code was generated by a tool. | COMMENT |
| HIGH | bsp/nxp/imx/imx6sx/cortex-a9/board/i2c3_iomux_config.c | 21 | * This code was generated by a tool. | COMMENT |
| HIGH | …p/nxp/imx/imx6sx/cortex-a9/board/audmux_iomux_config.c | 21 | * This code was generated by a tool. | COMMENT |
| HIGH | bsp/nxp/imx/imx6sx/cortex-a9/board/gpio2_iomux_config.c | 21 | * This code was generated by a tool. | COMMENT |
| HIGH | bsp/nxp/imx/imx6sx/cortex-a9/board/gpio5_iomux_config.c | 21 | * This code was generated by a tool. | COMMENT |
| HIGH | …nxp/imx/imx6sx/cortex-a9/board/flexcan1_iomux_config.c | 21 | * This code was generated by a tool. | COMMENT |
| HIGH | bsp/nxp/imx/imx6sx/cortex-a9/board/dcic_iomux_config.c | 21 | * This code was generated by a tool. | COMMENT |
| HIGH | bsp/nxp/imx/imx6sx/cortex-a9/board/gpio4_iomux_config.c | 21 | * This code was generated by a tool. | COMMENT |
| HIGH | bsp/nxp/imx/imx6sx/cortex-a9/board/ccm_iomux_config.c | 21 | * This code was generated by a tool. | COMMENT |
| HIGH | bsp/nxp/imx/imx6sx/cortex-a9/board/spdif_iomux_config.c | 21 | * This code was generated by a tool. | COMMENT |
| HIGH | bsp/nxp/imx/imx6sx/cortex-a9/board/usdhc_iomux_config.c | 21 | * This code was generated by a tool. | COMMENT |
| HIGH | bsp/nxp/imx/imx6sx/cortex-a9/board/wdog_iomux_config.c | 21 | * This code was generated by a tool. | COMMENT |
| HIGH | bsp/nxp/imx/imx6sx/cortex-a9/board/gpio_iomux_config.c | 21 | * This code was generated by a tool. | COMMENT |
| HIGH | bsp/nxp/imx/imx6sx/cortex-a9/board/uart_iomux_config.c | 21 | * This code was generated by a tool. | COMMENT |
| HIGH | …/nxp/imx/imx6sx/cortex-a9/board/flexcan_iomux_config.c | 21 | * This code was generated by a tool. | COMMENT |
| HIGH | …p/nxp/imx/imx6sx/cortex-a9/board/usdhc1_iomux_config.c | 21 | * This code was generated by a tool. | COMMENT |
| HIGH | bsp/nxp/imx/imx6sx/cortex-a9/board/wdog1_iomux_config.c | 21 | * This code was generated by a tool. | COMMENT |
| HIGH | bsp/nxp/imx/imx6sx/cortex-a9/board/iomux_config.c | 21 | * This code was generated by a tool. | COMMENT |
| HIGH | bsp/nxp/imx/imx6sx/cortex-a9/board/i2c_iomux_config.c | 21 | * This code was generated by a tool. | COMMENT |
| HIGH | bsp/nxp/imx/imx6sx/cortex-a9/board/ipu_iomux_config.c | 21 | * This code was generated by a tool. | COMMENT |
| HIGH | bsp/nxp/imx/imx6sx/cortex-a9/board/enet_iomux_config.c | 21 | * This code was generated by a tool. | COMMENT |
| HIGH | bsp/nxp/imx/imx6sx/cortex-a9/board/uart2_iomux_config.c | 21 | * This code was generated by a tool. | COMMENT |
| HIGH | bsp/nxp/imx/imx6sx/cortex-a9/board/uart3_iomux_config.c | 21 | * This code was generated by a tool. | COMMENT |
| HIGH | bsp/nxp/imx/imx6sx/cortex-a9/board/pwm4_iomux_config.c | 21 | * This code was generated by a tool. | COMMENT |
| HIGH | bsp/nxp/imx/imx6sx/cortex-a9/board/pwm_iomux_config.c | 21 | * This code was generated by a tool. | COMMENT |
| HIGH | bsp/nxp/imx/imx6sx/cortex-a9/board/ipu1_iomux_config.c | 21 | * This code was generated by a tool. | COMMENT |
| HIGH | bsp/nxp/imx/imx6sx/cortex-a9/board/uart4_iomux_config.c | 21 | * This code was generated by a tool. | COMMENT |
| HIGH | bsp/nxp/imx/imx6sx/cortex-a9/board/pwm3_iomux_config.c | 21 | * This code was generated by a tool. | COMMENT |
| HIGH | …p/nxp/imx/imx6sx/cortex-a9/board/ecspi1_iomux_config.c | 21 | * This code was generated by a tool. | COMMENT |
| HIGH | …p/nxp/imx/imx6sx/cortex-a9/board/usdhc3_iomux_config.c | 21 | * This code was generated by a tool. | COMMENT |
| HIGH | bsp/nxp/imx/imx6ul/drivers/iomux/iomux_config.h | 21 | * This code was generated by a tool. | COMMENT |
| HIGH | bsp/nxp/imx/imx6ul/drivers/iomux/uart_iomux_config.c | 21 | * This code was generated by a tool. | COMMENT |
| HIGH | bsp/nxp/imx/imx6ul/drivers/iomux/iomux_config.c | 21 | * This code was generated by a tool. | COMMENT |
| HIGH | bsp/tm4c129x/libraries/driverlib/comp.c | 179 | // Set the voltage reference voltage as requested. | COMMENT |
| HIGH | bsp/tm4c129x/libraries/driverlib/onewire.c | 597 | // Disable the DMA features as requested. | COMMENT |
| HIGH | bsp/tm4c129x/libraries/driverlib/sysctl.c | 1202 | // Enable peripheral clock gating as requested. | COMMENT |
| HIGH | bsp/tm4c129x/libraries/driverlib/sysctl.c | 1216 | // Enable peripheral clock gating as requested. | COMMENT |
| HIGH | bsp/tm4c129x/libraries/driverlib/gpio.c | 498 | //! pad is configured as requested, but the only real effect on the input | COMMENT |
| HIGH | bsp/tm4c129x/libraries/driverlib/tiva_timer.c | 443 | // Set the output levels as requested. | COMMENT |
| HIGH | bsp/tm4c129x/libraries/driverlib/tiva_timer.c | 506 | // Set the trigger output as requested. | COMMENT |
| HIGH | bsp/tm4c129x/libraries/driverlib/tiva_timer.c | 507 | // Set the ADC trigger output as requested. | COMMENT |
| HIGH | bsp/tm4c129x/libraries/driverlib/uart.c | 1003 | // Set the flow control mode as requested. | COMMENT |
| HIGH | bsp/tm4c129x/libraries/driverlib/uart.c | 1359 | // Set the break condition as requested. | COMMENT |
| HIGH | …432e401y-LaunchPad/libraries/msp432e4/driverlib/comp.c | 176 | // Set the voltage reference voltage as requested. | COMMENT |
| HIGH | …e401y-LaunchPad/libraries/msp432e4/driverlib/onewire.c | 586 | // Disable the DMA features as requested. | COMMENT |
| HIGH | …32e401y-LaunchPad/libraries/msp432e4/driverlib/timer.c | 387 | // Set the output levels as requested. | COMMENT |
| HIGH | …32e401y-LaunchPad/libraries/msp432e4/driverlib/timer.c | 446 | // Set the trigger output as requested. | COMMENT |
| HIGH | …32e401y-LaunchPad/libraries/msp432e4/driverlib/timer.c | 447 | // Set the ADC trigger output as requested. | COMMENT |
| HIGH | …2e401y-LaunchPad/libraries/msp432e4/driverlib/sysctl.c | 1111 | // Enable peripheral clock gating as requested. | COMMENT |
| 49 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tools/package.py | 3 | # This file is part of RT-Thread RTOS | COMMENT |
| MEDIUM | tools/options.py | 3 | # This file is part of RT-Thread RTOS | COMMENT |
| MEDIUM | tools/llvm_arm.py | 3 | # This file is part of RT-Thread RTOS | COMMENT |
| MEDIUM | tools/building.py | 4 | # This file is part of RT-Thread RTOS | COMMENT |
| MEDIUM | tools/sconsui.py | 6 | # This file is part of RT-Thread RTOS | COMMENT |
| MEDIUM | tools/cscope.py | 3 | # This file is part of RT-Thread RTOS | COMMENT |
| MEDIUM | tools/preprocessor.py | 4 | # This file is part of RT-Thread RTOS | COMMENT |
| MEDIUM | tools/mkdist.py | 3 | # This file is part of RT-Thread RTOS | COMMENT |
| MEDIUM | tools/compile_commands.py | 3 | # This file is part of RT-Thread RTOS | COMMENT |
| MEDIUM | tools/win32spawn.py | 3 | # This file is part of RT-Thread RTOS | COMMENT |
| MEDIUM | tools/wizard.py | 6 | # This file is part of RT-Thread RTOS | COMMENT |
| MEDIUM | tools/utils.py | 3 | # This file is part of RT-Thread RTOS | COMMENT |
| MEDIUM | tools/gcc.py | 3 | # This file is part of RT-Thread RTOS | COMMENT |
| MEDIUM | tools/env_package.py | 3 | # This file is part of RT-Thread RTOS | COMMENT |
| MEDIUM | tools/targets/vs2012.py | 3 | # This file is part of RT-Thread RTOS | COMMENT |
| MEDIUM | tools/targets/vsc.py | 3 | # This file is part of RT-Thread RTOS | COMMENT |
| MEDIUM | tools/targets/codelite.py | 3 | # This file is part of RT-Thread RTOS | COMMENT |
| MEDIUM | tools/targets/__init__.py | 4 | # This file is part of RT-Thread RTOS | COMMENT |
| MEDIUM | tools/targets/codeblocks.py | 3 | # This file is part of RT-Thread RTOS | COMMENT |
| MEDIUM | tools/targets/cdk.py | 3 | # This file is part of RT-Thread RTOS | COMMENT |
| MEDIUM | tools/targets/vs.py | 3 | # This file is part of RT-Thread RTOS | COMMENT |
| MEDIUM | tools/targets/makefile.py | 3 | # This file is part of RT-Thread RTOS | COMMENT |
| MEDIUM | tools/targets/keil.py | 3 | # This file is part of RT-Thread RTOS | COMMENT |
| MEDIUM | tools/targets/iar.py | 3 | # This file is part of RT-Thread RTOS | COMMENT |
| MEDIUM | tools/targets/ua.py | 3 | # This file is part of RT-Thread RTOS | COMMENT |
| MEDIUM | tools/testcases/test_preprocessor.py | 5 | # This file is part of RT-Thread RTOS | COMMENT |
| MEDIUM | bsp/mm32/tools/upgrade.py | 3 | # This file is part of RT-Thread RTOS | COMMENT |
| MEDIUM | …samd21/sam_d2x_asflib/common/services/spi/spi_master.h | 180 | * -# Define the SPI device configuration struct to describe which pin the | COMMENT |
| MEDIUM | …samd21/sam_d2x_asflib/common/services/spi/spi_master.h | 222 | * -# Create a buffer for data to be sent/received on the SPI bus, in this case | COMMENT |
| MEDIUM | …samd21/sam_d2x_asflib/common/services/spi/spi_master.h | 228 | * -# Define the SPI device configuration struct to describe which pin the | COMMENT |
| MEDIUM | bsp/samd21/sam_d2x_asflib/common/services/fifo/fifo.h | 568 | * -# Create a FIFO buffer of FIFO_BUFFER_LENGTH elements, capable | COMMENT |
| MEDIUM | bsp/samd21/sam_d2x_asflib/common/services/fifo/fifo.h | 571 | * -# Create a FIFO buffer descriptor that contains information about the | COMMENT |
| MEDIUM | bsp/samd21/sam_d2x_asflib/common/services/fifo/fifo.h | 590 | * -# Create a variable to hold the return status from the FIFO: | COMMENT |
| MEDIUM | bsp/samd21/sam_d2x_asflib/common/services/fifo/fifo.h | 592 | * -# Create a variable to hold the pulled value from the FIFO: | COMMENT |
| MEDIUM | bsp/samd21/sam_d2x_asflib/common/services/fifo/fifo.h | 630 | * -# Create a FIFO buffer of FIFO_BUFFER_LENGTH elements, capable | COMMENT |
| MEDIUM | bsp/samd21/sam_d2x_asflib/common/services/fifo/fifo.h | 633 | * -# Create a FIFO buffer descriptor that containing information about the | COMMENT |
| MEDIUM | bsp/samd21/sam_d2x_asflib/common/services/fifo/fifo.h | 653 | * -# Create a variable to hold the return status from the FIFO: | COMMENT |
| MEDIUM | bsp/samd21/sam_d2x_asflib/common/services/fifo/fifo.h | 655 | * -# Create a variable to hold the pulled value from the FIFO: | COMMENT |
| MEDIUM | …/samd21/sam_d2x_asflib/common/services/ioport/ioport.h | 472 | * -# Define a boolean variable for state storage: | COMMENT |
| MEDIUM | …/samd21/sam_d2x_asflib/common/services/ioport/ioport.h | 536 | * -# Define a variable for port date storage: | COMMENT |
| MEDIUM | bsp/w60x/makeimg.py | 120 | # Create the output directory | COMMENT |
| MEDIUM | bsp/ft32/tools/upgrade.py | 3 | # This file is part of RT-Thread RTOS | COMMENT |
| MEDIUM | …T_CY8CKIT-062S4/config/GeneratedSource/qspi_config.cfg | 5 | # This file contains a SMIF Bank layout for use with OpenOCD. | COMMENT |
| MEDIUM | …KIT-062-WIFI-BT/config/GeneratedSource/qspi_config.cfg | 5 | # This file contains a SMIF Bank layout for use with OpenOCD. | COMMENT |
| MEDIUM | bsp/Infineon/tools/upgrade.py | 3 | # This file is part of RT-Thread RTOS | COMMENT |
| MEDIUM | …KIT-062S2-43012/config/GeneratedSource/qspi_config.cfg | 5 | # This file contains a SMIF Bank layout for use with OpenOCD. | COMMENT |
| MEDIUM | …P_KIT_XMC72_EVK/config/GeneratedSource/qspi_config.cfg | 5 | # This file contains a SMIF Bank layout for use with OpenOCD. | COMMENT |
| MEDIUM | …KIT-062S2-43012/config/GeneratedSource/qspi_config.cfg | 5 | # This file contains a SMIF Bank layout for use with OpenOCD. | COMMENT |
| MEDIUM | …C71_EVK_LITE_V2/config/GeneratedSource/qspi_config.cfg | 5 | # This file contains a SMIF Bank layout for use with OpenOCD. | COMMENT |
| MEDIUM | …ARGET_RTT-062S2/config/GeneratedSource/qspi_config.cfg | 5 | # This file contains a SMIF Bank layout for use with OpenOCD. | COMMENT |
| MEDIUM | …it_modus/libs/psoc6make/make/scripts/genresources.bash | 174 | # Create the resource header | COMMENT |
| MEDIUM | …P_KIT_XMC72_EVK/config/GeneratedSource/qspi_config.cfg | 5 | # This file contains a SMIF Bank layout for use with OpenOCD. | COMMENT |
| MEDIUM | …CY8CKIT-062-BLE/config/GeneratedSource/qspi_config.cfg | 5 | # This file contains a SMIF Bank layout for use with OpenOCD. | COMMENT |
| MEDIUM | …OTO-062S3-4343W/config/GeneratedSource/qspi_config.cfg | 5 | # This file contains a SMIF Bank layout for use with OpenOCD. | COMMENT |
| MEDIUM | bsp/renesas/ra6w1-ek/scripts/gen_rrq61_flash_image.py | 17 | # The following code is taken from mkimage_new_header.py (slightly modified): | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/package.py | 29 | CODE | |
| LOW | tools/options.py | 26 | CODE | |
| LOW | tools/llvm_arm.py | 26 | CODE | |
| LOW | tools/building.py | 33 | CODE | |
| LOW | tools/building.py | 37 | CODE | |
| LOW | tools/building.py | 39 | CODE | |
| LOW | tools/building.py | 40 | CODE | |
| LOW | tools/building.py | 1120 | CODE | |
| LOW | tools/mkromfs.py | 8 | CODE | |
| LOW | tools/dtc.py | 13 | CODE | |
| LOW | tools/preprocessor.py | 25 | CODE | |
| LOW | tools/mkdist.py | 32 | CODE | |
| LOW | tools/compile_commands.py | 26 | CODE | |
| LOW | tools/compile_commands.py | 27 | CODE | |
| LOW | tools/env_utility.py | 361 | CODE | |
| LOW | tools/WCS.py | 5 | CODE | |
| LOW | tools/attachconfig.py | 2 | CODE | |
| LOW | tools/attachconfig.py | 6 | CODE | |
| LOW | tools/ng/adapter.py | 14 | CODE | |
| LOW | tools/ng/__init__.py | 9 | CODE | |
| LOW | tools/ng/__init__.py | 10 | CODE | |
| LOW | tools/ng/__init__.py | 11 | CODE | |
| LOW | tools/ng/__init__.py | 12 | CODE | |
| LOW | tools/ng/__init__.py | 12 | CODE | |
| LOW | tools/ng/__init__.py | 13 | CODE | |
| LOW | tools/ng/__init__.py | 14 | CODE | |
| LOW | tools/ng/generator.py | 11 | CODE | |
| LOW | tools/ng/generator.py | 13 | CODE | |
| LOW | tools/ng/utils.py | 11 | CODE | |
| LOW | tools/ng/environment.py | 10 | CODE | |
| LOW | tools/ng/environment.py | 11 | CODE | |
| LOW | tools/ng/building_ng.py | 15 | CODE | |
| LOW | tools/ng/project.py | 11 | CODE | |
| LOW | tools/targets/vs2012.py | 27 | CODE | |
| LOW | tools/targets/ses.py | 4 | CODE | |
| LOW | tools/targets/codelite.py | 27 | CODE | |
| LOW | tools/targets/codelite.py | 28 | CODE | |
| LOW | tools/targets/cmake.py | 27 | CODE | |
| LOW | tools/targets/zigbuild.py | 7 | CODE | |
| LOW | tools/targets/__init__.py | 26 | CODE | |
| LOW | tools/targets/__init__.py | 27 | CODE | |
| LOW | tools/targets/__init__.py | 28 | CODE | |
| LOW | tools/targets/__init__.py | 29 | CODE | |
| LOW | tools/targets/__init__.py | 30 | CODE | |
| LOW | tools/targets/__init__.py | 31 | CODE | |
| LOW | tools/targets/__init__.py | 32 | CODE | |
| LOW | tools/targets/__init__.py | 33 | CODE | |
| LOW | tools/targets/__init__.py | 34 | CODE | |
| LOW | tools/targets/__init__.py | 35 | CODE | |
| LOW | tools/targets/__init__.py | 36 | CODE | |
| LOW | tools/targets/__init__.py | 37 | CODE | |
| LOW | tools/targets/__init__.py | 38 | CODE | |
| LOW | tools/targets/__init__.py | 39 | CODE | |
| LOW | tools/targets/__init__.py | 40 | CODE | |
| LOW | tools/targets/__init__.py | 41 | CODE | |
| LOW | tools/targets/__init__.py | 42 | CODE | |
| LOW | tools/targets/eclipse.py | 22 | CODE | |
| LOW | tools/targets/eclipse.py | 23 | CODE | |
| LOW | tools/targets/codeblocks.py | 27 | CODE | |
| LOW | tools/targets/codeblocks.py | 28 | CODE | |
| 80 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/building.py | 90 | def _apply_exec_path_override(env, exec_path): | CODE |
| LOW | tools/building.py | 110 | def _normalize_armclang_flags_for_host(env): | CODE |
| LOW | tools/building.py | 138 | def _check_invalid_option_dashes(): | CODE |
| LOW | tools/preprocessor.py | 73 | def create_preprocessor_instance(self): | CODE |
| LOW | tools/preprocessor.py | 85 | def create_preprocessor_instance(): | CODE |
| LOW | tools/mkdist.py | 115 | def bsp_update_kconfig_testcases(dist_dir): | CODE |
| LOW | tools/mkdist.py | 145 | def bsp_update_kconfig_library(dist_dir): | CODE |
| LOW | tools/mkdist.py | 176 | def bsp_copy_hal_sdk_package_libraries(bsp_root, dist_dir): | CODE |
| LOW | tools/compile_commands.py | 72 | def generate_compile_commands(env): | CODE |
| LOW | tools/env_utility.py | 359 | def kconfiglib_check_installed(): | CODE |
| LOW | tools/env_package.py | 176 | def _get_existing_libraries_path(root): | CODE |
| LOW | tools/env_package.py | 201 | def find_libraries_path_upward(bsp_root): | CODE |
| LOW | tools/env_package.py | 219 | def is_hal_sdk_package_bridge(package_path): | CODE |
| LOW | tools/ng/adapter.py | 43 | def inject_environment_methods(env) -> None: | CODE |
| LOW | tools/ng/generator.py | 349 | def _register_default_generators(self) -> None: | CODE |
| LOW | tools/ng/toolchain.py | 345 | def _register_default_toolchains(self) -> None: | CODE |
| LOW | tools/targets/vsc.py | 38 | def find_first_node_with_two_children(tree): | CODE |
| LOW | tools/targets/vsc.py | 137 | def limit_excludes_to_root_dirs(root_path, names): | CODE |
| LOW | tools/targets/vsc.py | 150 | def generate_code_workspace_file(source_dirs,command_json_path,root_path): | CODE |
| LOW | tools/targets/vsc.py | 190 | def command_json_to_workspace(root_path,command_json_path): | CODE |
| LOW⚡ | tools/targets/rt_studio.py | 270 | def gen_org_eclipse_core_runtime_prefs(output_file_path): | CODE |
| LOW | tools/ci/test_issue_claim.py | 94 | def test_assignability_is_checked_for_specific_issue(self): | CODE |
| LOW | tools/ci/test_issue_claim.py | 116 | def test_comment_creation_disables_automatic_retries(self): | CODE |
| LOW | tools/ci/test_issue_claim.py | 129 | def test_comment_pagination_reads_past_five_hundred(self): | CODE |
| LOW | tools/ci/test_issue_claim.py | 147 | def test_accepts_only_standalone_commands(self): | CODE |
| LOW | tools/ci/test_issue_claim.py | 161 | def test_filters_pull_requests_bots_and_other_actions(self): | CODE |
| LOW | tools/ci/test_issue_claim.py | 175 | def test_only_admin_and_maintain_roles_are_maintainers(self): | CODE |
| LOW | tools/ci/test_issue_claim.py | 188 | def test_unclaim_targets_self_or_all_for_maintainer(self): | CODE |
| LOW | tools/ci/test_issue_claim.py | 207 | def test_claim_requires_open_unassigned_issue(self): | CODE |
| LOW | tools/ci/test_issue_claim.py | 220 | def test_duplicate_marker_must_come_from_a_bot(self): | CODE |
| LOW | tools/ci/test_issue_claim.py | 235 | def test_last_bot_state_marker_controls_logical_claim(self): | CODE |
| LOW | tools/ci/test_issue_claim.py | 252 | def test_unclaim_marker_only_clears_the_matching_logical_claim(self): | CODE |
| LOW | tools/ci/test_issue_claim.py | 267 | def test_successful_claim_rechecks_and_confirms_state(self): | CODE |
| LOW | tools/ci/test_issue_claim.py | 294 | def test_unassignable_user_is_tracked_by_comment_and_label(self): | CODE |
| LOW | tools/ci/test_issue_claim.py | 312 | def test_existing_logical_claim_blocks_another_user(self): | CODE |
| LOW | tools/ci/test_issue_claim.py | 328 | def test_concurrent_claim_is_rejected_before_mutation(self): | CODE |
| LOW | tools/ci/test_issue_claim.py | 339 | def test_post_assignment_race_rolls_back_actor(self): | CODE |
| LOW | tools/ci/test_issue_claim.py | 356 | def test_non_assignee_cannot_unclaim(self): | CODE |
| LOW | tools/ci/test_issue_claim.py | 363 | def test_assignee_can_unclaim_and_remove_existing_progress_label(self): | CODE |
| LOW | tools/ci/test_issue_claim.py | 384 | def test_logical_claimant_can_unclaim_without_being_an_assignee(self): | CODE |
| LOW | tools/ci/test_issue_claim.py | 409 | def test_actual_assignee_unclaim_does_not_clear_another_logical_claim(self): | CODE |
| LOW | tools/ci/test_issue_claim.py | 433 | def test_logical_unclaim_preserves_an_unrelated_actual_assignee(self): | CODE |
| LOW | tools/ci/test_issue_claim.py | 460 | def test_duplicate_event_does_not_read_or_mutate_issue(self): | CODE |
| LOW | tools/ci/test_issue_labeler.py | 47 | def test_maps_only_structured_allowlisted_values(self): | CODE |
| LOW | tools/ci/test_issue_labeler.py | 75 | def test_unknown_and_no_response_values_are_ignored(self): | STRING |
| LOW⚡ | tools/ci/test_issue_labeler.py | 90 | def test_headings_and_values_are_case_insensitive(self): | STRING |
| LOW⚡ | tools/ci/test_issue_labeler.py | 99 | def test_accepts_supported_issue_actions(self): | STRING |
| LOW⚡ | tools/ci/test_issue_labeler.py | 103 | def test_rejects_pull_requests_and_other_actions(self): | STRING |
| LOW⚡ | tools/ci/test_issue_labeler.py | 113 | def test_adds_only_existing_labels_and_preserves_current_labels(self): | STRING |
| LOW | tools/ci/test_issue_labeler.py | 135 | def test_replaces_stale_vendor_and_architecture_labels(self): | STRING |
| LOW | tools/ci/test_issue_labeler.py | 175 | def test_dry_run_reports_without_mutating(self): | STRING |
| LOW | tools/ci/similar_issues.py | 444 | def format_claim_hint_comment(): | CODE |
| LOW | tools/ci/issue_claim.py | 356 | def has_maintainer_permission(permission): | CODE |
| LOW | tools/ci/manual_bsp_build_all.py | 202 | def check_command_availability(cmd): | CODE |
| LOW | tools/ci/bsp_buildings.py | 57 | def contains_scons_fatal_error(output): | CODE |
| LOW | tools/ci/bsp_buildings.py | 313 | def get_details_and_dependencies(details, projects, seen=None): | CODE |
| LOW | tools/ci/clang_format_check.py | 96 | def parse_changed_line_ranges(diff_text): | CODE |
| LOW | tools/ci/clang_format_check.py | 151 | def is_ignored_by_clang_format(root, file_path): | CODE |
| LOW | tools/ci/test_similar_issues.py | 64 | def test_ignores_issue_form_metadata(self): | CODE |
| LOW | tools/ci/test_similar_issues.py | 82 | def test_search_terms_prioritize_identifiers(self): | STRING |
| 66 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/building.py | 269 | except Exception as e: | CODE |
| MEDIUM | tools/building.py | 1069 | print ("Error: the toolchain path (" + rtconfig.EXEC_PATH + ") is not exist, please check 'EXEC_PATH' in pat | CODE |
| LOW | tools/compile_commands.py | 109 | except Exception as e: | CODE |
| LOW | tools/compile_commands.py | 167 | except Exception as e: | CODE |
| MEDIUM | tools/compile_commands.py | 168 | print(f"Error parsing compile_commands.json: {str(e)}") | CODE |
| LOW | tools/win32spawn.py | 36 | except Exception as e: | CODE |
| MEDIUM | tools/win32spawn.py | 37 | print('Error removing file: ' + e) | CODE |
| LOW | tools/win32spawn.py | 55 | except Exception as e: | CODE |
| MEDIUM | tools/win32spawn.py | 56 | print('Error in calling command:' + cmdline.split(' ')[0]) | CODE |
| MEDIUM | tools/WCS.py | 212 | print("Error data is missing in fxn dictionary {}".format(d)) | CODE |
| LOW | tools/attachconfig.py | 73 | except Exception as e: | CODE |
| LOW | tools/env_package.py | 238 | except Exception: | CODE |
| MEDIUM | tools/ng/adapter.py | 173 | print("Error: Build context not initialized") | CODE |
| LOW | tools/ng/adapter.py | 193 | except Exception as e: | CODE |
| MEDIUM | tools/ng/adapter.py | 194 | print(f"Error generating {target} project: {e}") | CODE |
| LOW | tools/ng/environment.py | 239 | except Exception as e: | CODE |
| LOW | tools/ng/toolchain.py | 61 | except Exception as e: | CODE |
| LOW | tools/ng/building_ng.py | 106 | except Exception as e: | CODE |
| LOW | tools/targets/vsc.py | 435 | except Exception as e: | CODE |
| MEDIUM | tools/targets/vsc.py | 436 | print('Error reading workspace file, skip generating.') | CODE |
| LOW | tools/targets/zigbuild.py | 23 | except Exception: | CODE |
| MEDIUM | tools/targets/zigbuild.py | 15 | def get_zig_version(): | CODE |
| LOW⚡ | tools/targets/rt_studio.py | 265 | except Exception as e: | CODE |
| LOW⚡ | tools/targets/rt_studio.py | 279 | except Exception as e: | CODE |
| LOW⚡ | tools/targets/rt_studio.py | 289 | except Exception as e: | CODE |
| LOW | tools/targets/rt_studio.py | 327 | except Exception as e: | CODE |
| LOW | tools/targets/rt_studio.py | 340 | except Exception as e: | CODE |
| LOW | tools/targets/rt_studio.py | 356 | except Exception as e: | CODE |
| MEDIUM | tools/targets/rt_studio.py | 256 | def gen_makefile_targets(output_file_path): | CODE |
| MEDIUM | tools/targets/rt_studio.py | 270 | def gen_org_eclipse_core_runtime_prefs(output_file_path): | CODE |
| MEDIUM | tools/targets/rt_studio.py | 331 | def gen_project_file(output_file_path): | CODE |
| MEDIUM | tools/targets/rt_studio.py | 344 | def gen_projcfg_ini_file(chip_name, project_name, output_file_path): | CODE |
| LOW | tools/ci/format_ignore.py | 46 | except Exception as e: | CODE |
| LOW | tools/ci/format_ignore.py | 68 | except Exception as e: | CODE |
| MEDIUM | tools/ci/git_diff_show.py | 59 | print(f"Error executing git diff: {e.output.decode(self.encoding)}") | CODE |
| MEDIUM | tools/ci/git_diff_show.py | 118 | print(f"Error executing git merge-base: {e.output.decode(self.encoding)}") | CODE |
| LOW | tools/ci/manual_bsp_build_all.py | 174 | except Exception as e: | CODE |
| LOW | tools/ci/bsp_buildings.py | 442 | except Exception as e: | CODE |
| LOW | tools/ci/bsp_detail.py | 181 | except Exception as e: | CODE |
| MEDIUM | tools/ci/bsp_detail.py | 174 | def get_git_user_name(): | CODE |
| LOW | …ls/ci/scheduled-ci-trigger/trigger_workflows_direct.py | 44 | except Exception as e: | CODE |
| LOW | tools/ci/scheduled-ci-trigger/monitor_workflows.py | 58 | except Exception as e: | CODE |
| MEDIUM | tools/ci/scheduled-ci-trigger/monitor_workflows.py | 59 | print(f"Error monitoring {workflow_name}: {str(e)}") | CODE |
| MEDIUM | tools/ci/scheduled-ci-trigger/monitor_workflows.py | 115 | print(f"Error getting run status: {response.status_code}") | CODE |
| LOW | tools/ci/scheduled-ci-trigger/monitor_workflows.py | 185 | except Exception as e: | CODE |
| MEDIUM | tools/ci/scheduled-ci-trigger/monitor_workflows.py | 186 | print(f"Error getting failure logs: {e}") | CODE |
| MEDIUM | tools/ci/scheduled-ci-trigger/generate_report.py | 16 | print(f"Error loading monitoring_results.json: {e}") | CODE |
| LOW | tools/ci/scheduled-ci-trigger/generate_report.py | 131 | except Exception as e: | CODE |
| MEDIUM | tools/ci/scheduled-ci-trigger/generate_report.py | 132 | print(f"Error writing report: {e}") | CODE |
| LOW | tools/release/buildbot.py | 53 | except Exception as e: | CODE |
| LOW | tools/release/run-clang-format.py | 129 | except Exception as e: | CODE |
| MEDIUM | tools/release/run-clang-format.py | 123 | def run_clang_format_diff_wrapper(args, file): | CODE |
| MEDIUM | tools/docs/SConscript编写指南.md | 367 | print('Error: RT_SERIAL_USING_DMA requires RT_USING_SERIAL!') | STRING |
| MEDIUM | tools/docs/SConscript编写指南.md | 441 | print('Error: libfoo not found at', lib_path) | STRING |
| MEDIUM | tools/docs/SConscript编写指南.md | 540 | print('Error: %s requires %s' % ('MyComponent', dep)) | STRING |
| MEDIUM | tools/docs/SConscript编写指南.md | 571 | print('Error: Missing required file:', f) | STRING |
| LOW | tools/testcases/test_preprocessor.py | 76 | except Exception as e: | STRING |
| LOW | tools/testcases/test_preprocessor.py | 100 | except Exception as e: | CODE |
| MEDIUM | bsp/cvitek/cv18xx_risc-v/gen_ld.py | 9 | print('Error: file', input, 'not found') | CODE |
| MEDIUM | bsp/qemu-virt64-aarch64/qemu.py | 155 | print("Error: Invalid -el {}".format(q_el)) | STRING |
| 24 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/package.py | 41 | CODE | |
| LOW | tools/llvm_arm.py | 45 | CODE | |
| LOW | tools/vscpyocd.py | 73 | CODE | |
| LOW | tools/building.py | 167 | CODE | |
| LOW | tools/building.py | 562 | CODE | |
| LOW | tools/building.py | 844 | CODE | |
| LOW | tools/building.py | 925 | CODE | |
| LOW | tools/building.py | 1015 | CODE | |
| LOW | tools/building.py | 1075 | CODE | |
| LOW | tools/mkdist.py | 104 | CODE | |
| LOW | tools/mkdist.py | 145 | CODE | |
| LOW | tools/compile_commands.py | 118 | CODE | |
| LOW | tools/env_utility.py | 54 | CODE | |
| LOW | tools/env_utility.py | 261 | CODE | |
| LOW | tools/env_utility.py | 461 | CODE | |
| LOW | tools/WCS.py | 51 | CODE | |
| LOW | tools/WCS.py | 102 | CODE | |
| LOW | tools/utils.py | 173 | CODE | |
| LOW | tools/utils.py | 250 | CODE | |
| LOW | tools/utils.py | 313 | CODE | |
| LOW | tools/gcc.py | 141 | CODE | |
| LOW | tools/attachconfig.py | 9 | CODE | |
| LOW | tools/attachconfig.py | 54 | CODE | |
| LOW | tools/ng/config.py | 42 | CODE | |
| LOW | tools/ng/utils.py | 220 | CODE | |
| LOW | tools/ng/utils.py | 304 | CODE | |
| LOW | tools/ng/toolchain.py | 369 | CODE | |
| LOW | tools/targets/vs2012.py | 178 | CODE | |
| LOW | tools/targets/vsc.py | 85 | CODE | |
| LOW | tools/targets/vsc.py | 234 | CODE | |
| LOW | tools/targets/vsc.py | 321 | CODE | |
| LOW | tools/targets/vsc.py | 367 | CODE | |
| LOW | tools/targets/cmake.py | 33 | CODE | |
| LOW | tools/targets/zigbuild.py | 31 | CODE | |
| LOW | tools/targets/eclipse.py | 178 | CODE | |
| LOW | tools/targets/eclipse.py | 392 | CODE | |
| LOW | tools/targets/eclipse.py | 529 | CODE | |
| LOW | tools/targets/vs.py | 90 | CODE | |
| LOW | tools/targets/esp_idf.py | 6 | CODE | |
| LOW | tools/targets/makefile.py | 48 | CODE | |
| LOW | tools/targets/keil.py | 61 | CODE | |
| LOW | tools/targets/keil.py | 106 | CODE | |
| LOW | tools/targets/keil.py | 147 | CODE | |
| LOW | tools/targets/keil.py | 219 | CODE | |
| LOW | tools/targets/keil.py | 330 | CODE | |
| LOW | tools/targets/iar.py | 80 | CODE | |
| LOW | tools/targets/iar.py | 97 | CODE | |
| LOW | tools/targets/ua.py | 42 | CODE | |
| LOW | tools/ci/format_ignore.py | 28 | CODE | |
| LOW | tools/ci/issue_claim.py | 396 | CODE | |
| LOW | tools/ci/issue_claim.py | 77 | CODE | |
| LOW | tools/ci/git_diff_show.py | 132 | CODE | |
| LOW | tools/ci/git_diff_show.py | 157 | CODE | |
| LOW | tools/ci/git_diff_show.py | 286 | CODE | |
| LOW | tools/ci/git_diff_show.py | 43 | CODE | |
| LOW | tools/ci/manual_bsp_build_all.py | 66 | CODE | |
| LOW | tools/ci/manual_bsp_build_all.py | 156 | CODE | |
| LOW | tools/ci/manual_bsp_build_all.py | 180 | CODE | |
| LOW | tools/ci/manual_bsp_build_all.py | 266 | CODE | |
| LOW | tools/ci/compile_bsp_with_drivers.py | 58 | CODE | |
| 51 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | …mponents/net/lwip/lwip-2.0.3/src/apps/snmp/snmp_core.c | 238 | * device a > 1.3.6.1.4.1.XXX(ent-oid).1(devices).1(device a) | COMMENT |
| CRITICAL | …mponents/net/lwip/lwip-2.0.3/src/apps/snmp/snmp_core.c | 239 | * device b > 1.3.6.1.4.1.XXX(ent-oid).1(devices).2(device b) | COMMENT |
| CRITICAL | …mponents/net/lwip/lwip-2.1.2/src/apps/snmp/snmp_core.c | 255 | * device a > 1.3.6.1.4.1.XXX(ent-oid).1(devices).1(device a) | COMMENT |
| CRITICAL | …mponents/net/lwip/lwip-2.1.2/src/apps/snmp/snmp_core.c | 256 | * device b > 1.3.6.1.4.1.XXX(ent-oid).1(devices).2(device b) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tools/ng/integration_example.py | 8 | # ============================================================================= | COMMENT |
| MEDIUM | tools/ng/integration_example.py | 10 | # ============================================================================= | COMMENT |
| MEDIUM | tools/ng/integration_example.py | 28 | # ============================================================================= | COMMENT |
| MEDIUM | tools/ng/integration_example.py | 30 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | tools/ng/integration_example.py | 47 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | tools/ng/integration_example.py | 49 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | tools/ng/integration_example.py | 59 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | tools/ng/integration_example.py | 61 | # ============================================================================= | COMMENT |
| MEDIUM | tools/ng/integration_example.py | 79 | # ============================================================================= | COMMENT |
| MEDIUM | tools/ng/integration_example.py | 81 | # ============================================================================= | COMMENT |
| MEDIUM | tools/ng/integration_example.py | 97 | # ============================================================================= | COMMENT |
| MEDIUM | tools/ng/integration_example.py | 99 | # ============================================================================= | COMMENT |
| MEDIUM | tools/ng/integration_example.py | 125 | # ============================================================================= | COMMENT |
| MEDIUM | tools/ng/integration_example.py | 127 | # ============================================================================= | COMMENT |
| MEDIUM | tools/ng/integration_example.py | 157 | # ============================================================================= | STRING |
| MEDIUM | tools/ng/integration_example.py | 159 | # ============================================================================= | STRING |
| MEDIUM | …tek/drivers/libraries/cv180x/cv180x_pinlist_swconfig.h | 1 | //##============================================================================== | COMMENT |
| MEDIUM | …tek/drivers/libraries/cv180x/cv180x_pinlist_swconfig.h | 4 | //##============================================================================== | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | bsp/avr32/at32uc3b0256/README.md | 52 | ### Step 1: download the RT-Thread codebase and navigate to bsp/avr32uc3b0. | COMMENT |
| LOW⚡ | bsp/avr32/at32uc3b0256/README.md | 58 | ### Step 2: build | COMMENT |
| LOW⚡ | bsp/avr32/at32uc3b0256/README.md | 65 | ### Step 3: flash | COMMENT |
| LOW⚡ | bsp/avr32/at32uc3a0256/README.md | 116 | ### Step 1: download the RT-Thread codebase and navigate to bsp/avr32uc3a0. | COMMENT |
| LOW⚡ | bsp/avr32/at32uc3a0256/README.md | 122 | ### Step 2: build | COMMENT |
| LOW⚡ | bsp/avr32/at32uc3a0256/README.md | 129 | ### Step 3: flash | COMMENT |
| LOW⚡ | bsp/raspberry-pico/RP2040/README.md | 34 | ### Step 1: download pico sdk | COMMENT |
| LOW⚡ | bsp/raspberry-pico/RP2040/README.md | 40 | ### Step 2: build | COMMENT |
| LOW⚡ | bsp/raspberry-pico/RP2040/README.md | 49 | ### Step 3: flash | COMMENT |
| LOW⚡ | bsp/raspberry-pico/RP2350/README.md | 31 | ### Step 1: 下载sdk | COMMENT |
| LOW⚡ | bsp/raspberry-pico/RP2350/README.md | 38 | ### Step 2: 编译 | COMMENT |
| LOW⚡ | bsp/raspberry-pico/RP2350/README.md | 47 | ### Step 3: 烧写 | COMMENT |
| LOW | .github/copilot-instructions.md | 57 | #### Step 1: PR Title Check / 步骤 1:PR 标题检查 | COMMENT |
| LOW | .github/copilot-instructions.md | 95 | #### Step 2: PR Description Check / 步骤 2:PR 内容检查 | COMMENT |
| LOW | .github/copilot-instructions.md | 125 | #### Step 3: PR File Modification Check / 步骤 3:PR 修改文件检查 | COMMENT |
| LOW | .github/copilot-instructions.md | 150 | #### Step 4: PR Commit Check / 步骤 4:PR Commit 检查 | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …x_asflib/common/services/spi/sam_usart_spi/usart_spi.c | 176 | uint32_t dummy_data; | CODE |
| LOW | …x_asflib/common/services/spi/sam_usart_spi/usart_spi.c | 180 | usart_getchar(p_usart, &dummy_data); | CODE |
| LOW | …raries/VangoV85xx_standard_peripheral/Source/lib_spi.c | 24 | __IO uint32_t dummy_data = 0UL; | CODE |
| LOW | …raries/VangoV85xx_standard_peripheral/Source/lib_spi.c | 35 | dummy_data = SPIx->RXDAT; | CODE |
| LOW | …raries/VangoV85xx_standard_peripheral/Source/lib_spi.c | 36 | dummy_data += 1; | CODE |
| LOW⚡ | …raries/VangoV85xx_standard_peripheral/Source/lib_rtc.c | 176 | __IO uint32_t dummy_data = 0; | CODE |
| LOW⚡ | …raries/VangoV85xx_standard_peripheral/Source/lib_rtc.c | 182 | dummy_data = RTC->LOAD; | CODE |
| LOW⚡ | …raries/VangoV85xx_standard_peripheral/Source/lib_rtc.c | 183 | dummy_data += 1; | CODE |
| LOW⚡ | …aries/VangoV85xx_standard_peripheral/Source/lib_uart.c | 30 | __IO uint32_t dummy_data = 0UL; | CODE |
| LOW⚡ | …aries/VangoV85xx_standard_peripheral/Source/lib_uart.c | 36 | dummy_data = UARTx->DATA; | CODE |
| LOW⚡ | …aries/VangoV85xx_standard_peripheral/Source/lib_uart.c | 37 | dummy_data += 1; | CODE |
| LOW | …aries/VangoV85xxP_standard_peripheral/Source/lib_spi.c | 24 | __IO uint32_t dummy_data = 0UL; | CODE |
| LOW | …aries/VangoV85xxP_standard_peripheral/Source/lib_spi.c | 35 | dummy_data = SPIx->RXDAT; | CODE |
| LOW | …aries/VangoV85xxP_standard_peripheral/Source/lib_spi.c | 36 | dummy_data += 1; | CODE |
| LOW⚡ | …aries/VangoV85xxP_standard_peripheral/Source/lib_rtc.c | 199 | __IO uint32_t dummy_data = 0; | CODE |
| LOW⚡ | …aries/VangoV85xxP_standard_peripheral/Source/lib_rtc.c | 208 | dummy_data = RTC->LOAD; | CODE |
| LOW⚡ | …aries/VangoV85xxP_standard_peripheral/Source/lib_rtc.c | 209 | dummy_data += 1; | CODE |
| LOW⚡ | …ries/VangoV85xxP_standard_peripheral/Source/lib_uart.c | 30 | __IO uint32_t dummy_data = 0UL; | CODE |
| LOW⚡ | …ries/VangoV85xxP_standard_peripheral/Source/lib_uart.c | 36 | dummy_data = UARTx->DATA; | CODE |
| LOW⚡ | …ries/VangoV85xxP_standard_peripheral/Source/lib_uart.c | 37 | dummy_data += 1; | CODE |
| LOW⚡ | …s/ra8p1-titan-board/m85/ra/fsp/src/r_ospi_b/r_ospi_b.c | 1373 | volatile uint64_t dummy_value = 0; | CODE |
| LOW⚡ | …s/ra8p1-titan-board/m85/ra/fsp/src/r_ospi_b/r_ospi_b.c | 1377 | dummy_value = *((volatile uint64_t *) *p_read_address); | CODE |
| LOW⚡ | …s/ra8p1-titan-board/m85/ra/fsp/src/r_ospi_b/r_ospi_b.c | 1381 | FSP_PARAMETER_NOT_USED(dummy_value); | CODE |
| LOW | bsp/renesas/ra6w1-ek/ra/fsp/inc/instances/r_qspi_w.h | 342 | qspi_w_dummy_value_t dummy_value : 1; ///< Define the value that is transferred on the SPI bus during the phase | CODE |
| LOW | bsp/renesas/ra6w1-ek/ra/fsp/src/r_qspi_w/r_qspi_w.c | 850 | p_read_status_instr_cfg->dummy_value); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/env_utility.py | 354 | # Check if LANG is set and its value is not in the supported locales | COMMENT |
| LOW | tools/utils.py | 314 | # Check if the path directly points to an existing file. | COMMENT |
| LOW | tools/ng/generator.py | 317 | # Write file | COMMENT |
| LOW | bsp/nuvoton/tools/sdk_dist.py | 18 | # Write the file out again | COMMENT |
| LOW | bsp/renesas/tools/startup_check.py | 7 | # Check if Git is installed | COMMENT |
| LOW⚡ | bsp/renesas/tools/startup_check.py | 46 | # Check if Git is installed, if not, try to install it | COMMENT |
| LOW⚡ | bsp/renesas/tools/startup_check.py | 51 | # Check if Git is installed after the installation attempt | COMMENT |
| LOW⚡ | bsp/renesas/tools/startup_check.py | 56 | # Check if the file has changes | COMMENT |
| LOW | components/rust/tools/build_usrapp.py | 74 | # Check if there's a specific Kconfig option for this app | COMMENT |
| LOW⚡ | components/rust/tools/build_usrapp.py | 118 | # Check if all required dependencies are present | COMMENT |
| LOW | components/rust/tools/build_usrapp.py | 164 | # Check if this RT-Thread configuration is enabled | COMMENT |
| LOW | components/rust/tools/build_usrapp.py | 426 | # Check if this application should be built based on Kconfig | COMMENT |
| LOW⚡ | components/rust/tools/build_component.py | 149 | # Check if all required dependencies are present | COMMENT |
| LOW | components/rust/tools/build_component.py | 176 | # Check if this RT-Thread configuration is enabled | COMMENT |
| LOW | .github/workflows/auto_assign_reviewers.yml | 92 | # Check if response is valid JSON | COMMENT |
| LOW | .github/workflows/auto_assign_reviewers.yml | 434 | # Check if response is valid JSON | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tools/targets/cmake.py | 207 | # generic macro (commonly a string), ensure robust string conversion | COMMENT |
| MEDIUM | bsp/apollo2/libraries/drivers/hal/am_hal_flash.h | 141 | // Essentially these are recovery options. | COMMENT |
| MEDIUM | bsp/apollo2/libraries/drivers/hal/am_hal_flash.c | 94 | // Essentially these are recovery options. | COMMENT |
| MEDIUM | bsp/tm4c129x/libraries/driverlib/emac.c | 528 | //! - \b EMAC_PHY_INT_ROBUST_MDIX enables robust auto MDI-X resolution (sets the | COMMENT |
| MEDIUM | …432e401y-LaunchPad/libraries/msp432e4/driverlib/emac.c | 524 | //! - \b EMAC_PHY_INT_ROBUST_MDIX enables robust auto MDI-X resolution (sets the | COMMENT |
| MEDIUM | …braries/TivaWare_C_series/tm4c123_driverlib/src/emac.c | 528 | //! - \b EMAC_PHY_INT_ROBUST_MDIX enables robust auto MDI-X resolution (sets the | COMMENT |
| MEDIUM | …s/bl_mcu_sdk/drivers/soc/bl808/std/src/bl808_uhs_phy.c | 1288 | set_uhs_latency_r(uhs_latency); //got a good robust uhs_latency | CODE |
| LOW | components/net/sal/include/sal_socket.h | 66 | #define SO_DONTROUTE 0x0010 /* Unimplemented: just use interface addresses */ | COMMENT |
| LOW | …ponents/net/lwip/lwip-2.0.3/src/include/lwip/sockets.h | 180 | #define SO_DONTROUTE 0x0010 /* Unimplemented: just use interface addresses */ | COMMENT |
| LOW | …ponents/net/lwip/lwip-2.1.2/src/include/lwip/sockets.h | 205 | #define SO_DONTROUTE 0x0010 /* Unimplemented: just use interface addresses */ | COMMENT |
| LOW | …ponents/net/lwip/lwip-1.4.1/src/include/lwip/sockets.h | 83 | #define SO_DONTROUTE 0x0010 /* Unimplemented: just use interface addresses */ | COMMENT |
| LOW | …ponents/net/lwip/lwip-1.4.1/src/include/ipv4/lwip/ip.h | 101 | /*#define SOF_DONTROUTE 0x10U Unimplemented: just use interface addresses */ | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …2/stm32l475-atk-pandora/board/ports/lcd/drv_lcd_font.h | 0 | ,2*/ 0x00,0x00,0x00,0x12,0x12,0x16,0x7f,0x24,0x24,0xfe,0x28,0x48,0x48,0x00,0x00,0x00,/*"#",3*/ 0x00,0x00,0x08,0x08,0x3e, | STRING |
| HIGH | …/stm32/stm32l431-BearPi/board/ports/lcd/drv_lcd_font.h | 0 | ,2*/ 0x00,0x00,0x00,0x12,0x12,0x16,0x7f,0x24,0x24,0xfe,0x28,0x48,0x48,0x00,0x00,0x00,/*"#",3*/ 0x00,0x00,0x08,0x08,0x3e, | STRING |
| HIGH | bsp/stm32/stm32h750-artpi/board/port/drv_lcd_font.h | 0 | ,2*/ 0x00,0x00,0x00,0x12,0x12,0x16,0x7f,0x24,0x24,0xfe,0x28,0x48,0x48,0x00,0x00,0x00,/*"#",3*/ 0x00,0x00,0x08,0x08,0x3e, | STRING |
| HIGH | …tm32/stm32f407-rt-spark/board/ports/lcd/drv_lcd_font.h | 0 | ,2*/ 0x00,0x00,0x00,0x12,0x12,0x16,0x7f,0x24,0x24,0xfe,0x28,0x48,0x48,0x00,0x00,0x00,/*"#",3*/ 0x00,0x00,0x08,0x08,0x3e, | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tools/ng/generator.py | 182 | "command": "scons -c && scons", | CODE |
| HIGH | tools/targets/zigbuild.py | 95 | zig_file.write(" .root_source_file = null,\n") | CODE |
| HIGH⚡ | bsp/qemu-virt64-aarch64/qemu.py | 174 | print("Error: VirtIO Sound is not in this version: {}".format(qemu_version.toString())) | STRING |
| HIGH | bsp/amebaz/gen_bin.py | 100 | exec_cmd4 = exec_checksum + ' image2_all_ota1.bin || true' | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | bsp/nuvoton/numaker-iot-m467/board/board_dev.c | 138 | Don't forget to switch SPIM pins to QSPI0 pins on board. | CODE |
| LOW | bsp/nuvoton/numaker-m467hj/board/board_dev.c | 138 | Don't forget to switch SPIM pins to QSPI0 pins on NuMaker-M467HJ V1.0 board. | CODE |
| MEDIUM | …libraries/HK32F0xx_StdPeriph_Driver/src/hk32f0xx_dma.c | 32 | (#) To control DMA events you can use one of the following two methods: | CODE |
| MEDIUM | …28379d/common/include/F2837xD_SWPrioritizedIsrLevels.h | 71 | // real application. This is for demonstration purposes only!!! | COMMENT |
| MEDIUM | …28379d/common/include/F2837xD_SWPrioritizedIsrLevels.h | 123 | // real application. This is for demonstration purposes only!!! | COMMENT |
| LOW | components/net/lwip/lwip-2.0.3/src/core/netif.c | 241 | * IPv6: Don't forget to call netif_create_ip6_linklocal_address() after | COMMENT |
| LOW | components/net/lwip/lwip-2.1.2/src/core/netif.c | 276 | * IPv6: Don't forget to call netif_create_ip6_linklocal_address() after | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/ng/__init__.py | 17 | __all__ = [ | CODE |
| LOW | tools/ng/core.py | 65 | def set_current(cls, context: Optional['BuildContext']) -> None: | CODE |
| LOW | tools/ng/building_ng.py | 114 | __all__ = ['PrepareBuilding', 'DefineGroup', 'GetDepend', 'DoBuilding'] + \ | CODE |
| LOW | tools/targets/__init__.py | 45 | __all__ = [ | CODE |
| LOW | …nuvoton/numaker-hmi-ma35d1/nuwriter_scripts/xusbcom.py | 41 | def set_media(self, media) -> None: | CODE |
| LOW | …nuvoton/numaker-hmi-ma35d1/nuwriter_scripts/xusbcom.py | 62 | def set_id(self, i) -> None: | CODE |
| LOW | …nuvoton/numaker-hmi-ma35d1/nuwriter_scripts/xusbcom.py | 69 | def set_align(nand, spinand) -> None: | CODE |
| LOW | …nuvoton/numaker-iot-ma35d1/nuwriter_scripts/xusbcom.py | 41 | def set_media(self, media) -> None: | CODE |
| LOW | …nuvoton/numaker-iot-ma35d1/nuwriter_scripts/xusbcom.py | 62 | def set_id(self, i) -> None: | CODE |
| LOW | …nuvoton/numaker-iot-ma35d1/nuwriter_scripts/xusbcom.py | 69 | def set_align(nand, spinand) -> None: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | src/klibc/rt_vsnprintf_std.c | 92 | // possibly hundreds of characters, potentially overflowing your buffers. In this implementation, | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …uvoton/numaker-hmi-ma35d1/nuwriter_scripts/nuwriter.py | 1213 | def do_stuff(cfg_file) -> None: | CODE |
| LOW | …uvoton/numaker-iot-ma35d1/nuwriter_scripts/nuwriter.py | 1213 | def do_stuff(cfg_file) -> None: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/targets/vsc.py | 232 | CODE |