A secure embedded operating system for microcontrollers
This report presents the forensic synthetic code analysis of tock/tock, a Rust project with 6,375 GitHub stars. SynthScan v2.0 examined 461,427 lines of code across 2146 source files, recording 2514 pattern matches distributed across 17 syntactic categories. The overall adjusted score of 5.9 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 2514 distinct pattern matches across 17 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Cargo.toml | 161 | # 1. The first section are lints we don't want with a comment explaining our use | COMMENT |
| LOW | Cargo.toml | 221 | # Sometimes the borrow checker works better with `match` instead of `.map()`. | COMMENT |
| LOW | rustfmt.toml | 1 | # Licensed under the Apache License, Version 2.0 or the MIT License. | COMMENT |
| LOW | tools/repo-maintenance/update_rust_version.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | tools/repo-maintenance/check-all-links.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | tools/ci/netlify-build.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | tools/ci/toc.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | tools/ci/check_format.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | tools/ci/tockbot/maint_nightly.yaml | 41 | # Any such PRs must not already have a review by a core team | COMMENT |
| LOW | tools/ci/flux-ci-runner/deps.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | tools/ci/license-checker/testdata/no_spdx.rs | 1 | // Licensed under the Apache License, Version 2.0 or the MIT License. | COMMENT |
| LOW | tools/ci/license-checker/testdata/many_errors.rs | 1 | // Licensed under the Apache License, Version 2.0 or the MIT License. [*] | COMMENT |
| LOW | tools/ci/license-checker/testdata/error_missing.rs | 1 | //! This test file should result in a "license missing" error, as the tool sees | COMMENT |
| LOW | tools/ci/license-checker/testdata/no_copyright.rs | 1 | // Licensed under the Apache License, Version 2.0 or the MIT License. | COMMENT |
| LOW | tools/ci/license-checker/testdata/blank_is_comment.rs | 1 | // Licensed under the Apache License, Version 2.0 or the MIT License. | COMMENT |
| LOW | tools/ci/license-checker/src/fallback_syntax.yaml | 1 | # Licensed under the Apache License, Version 2.0 or the MIT License. | COMMENT |
| LOW | tools/ci/license-checker/src/main.rs | 1 | // Licensed under the Apache License, Version 2.0 or the MIT License. | COMMENT |
| LOW | tools/ci/license-checker/src/main.rs | 21 | //! This ignore file handling is modelled after the `ripgrep` tool. Unlike | COMMENT |
| LOW | tools/ci/license-checker/src/main.rs | 41 | //! ``` | COMMENT |
| LOW | tools/ci/license-checker/src/main.rs | 61 | //! // Licensed under the Apache License, Version 2.0 or the MIT License. | COMMENT |
| LOW | tools/ci/license-checker/src/parser.rs | 1 | // Licensed under the Apache License, Version 2.0 or the MIT License. | COMMENT |
| LOW | tools/ci/license-checker/src/parser.rs | 141 | COMMENT | |
| LOW | tools/ci/litex-ci-runner/src/main.rs | 21 | // const LED5: u64 = 5; | COMMENT |
| LOW | tools/ci/litex-ci-runner/src/main.rs | 201 | // This tests two things: | COMMENT |
| LOW | tools/svd2regs/svd2regs.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | tools/svd2regs/svd2regs.py | 21 | # rustfmt: | COMMENT |
| LOW | …s/debugging-and-development/print_tock_memory_usage.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | …s/debugging-and-development/print_tock_memory_usage.py | 41 | # A map of section name -> size | COMMENT |
| LOW | …s/debugging-and-development/print_tock_memory_usage.py | 61 | # the same address). The one with the largest reported size will have | COMMENT |
| LOW | …s/debugging-and-development/print_tock_memory_usage.py | 321 | COMMENT | |
| LOW | tools/debugging-and-development/find_panics.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | tools/debugging-and-development/find_panics.py | 21 | # - finding and removing panics in a Tock kernel binary | COMMENT |
| LOW | tools/debugging-and-development/find_panics.py | 41 | # `no_info_panic_list`. If this list contains some panics, that is a sign that some | COMMENT |
| LOW | tools/debugging-and-development/svd2regs/svd2regs.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | tools/debugging-and-development/svd2regs/svd2regs.py | 21 | # rustfmt: | COMMENT |
| LOW | …debugging-and-development/usb/control-test/src/main.rs | 1 | // Licensed under the Apache License, Version 2.0 or the MIT License. | COMMENT |
| LOW | …ls/debugging-and-development/usb/bulk-echo/src/main.rs | 1 | // Licensed under the Apache License, Version 2.0 or the MIT License. | COMMENT |
| LOW | …ls/debugging-and-development/usb/bulk-echo/src/main.rs | 21 | //! \ / | Tock usbc_client | COMMENT |
| LOW | …ls/debugging-and-development/usb/bulk-test/src/main.rs | 1 | // Licensed under the Apache License, Version 2.0 or the MIT License. | COMMENT |
| LOW | …ls/debugging-and-development/usb/bulk-test/src/main.rs | 21 | //! The expected output of this program (after listing USB devices) is: | COMMENT |
| LOW | chips/stm32f303xc/src/wdt.rs | 41 | /// Timer base | COMMENT |
| LOW | chips/stm32f303xc/src/adc.rs | 721 | } | COMMENT |
| LOW | chips/stm32f303xc/src/gpio.rs | 421 | /// | COMMENT |
| LOW | chips/stm32f303xc/src/gpio.rs | 521 | AlternateFunctionMode = 0b10, | COMMENT |
| LOW | chips/stm32f303xc/src/flash.rs | 1 | // Licensed under the Apache License, Version 2.0 or the MIT License. | COMMENT |
| LOW | chips/stm32f303xc/src/flash.rs | 41 | /// Address offset 0x08 | COMMENT |
| LOW | chips/stm32f303xc/src/flash.rs | 81 | /// Flash or option byte key | COMMENT |
| LOW | chips/stm32f303xc/src/flash.rs | 101 | /// Busy | COMMENT |
| LOW | chips/stm32f303xc/src/flash.rs | 121 | /// When set, the option bytes can be programmed. This bit is set on | COMMENT |
| LOW | chips/stm32f303xc/src/flash.rs | 221 | const KEY1: u32 = 0x45670123; | COMMENT |
| LOW | chips/msp432/src/dma.rs | 421 | /// Peripheral scatter-gather mode, which uses the alternate data-structure | COMMENT |
| LOW | chips/msp432/src/adc.rs | 361 | /// Interrupt enable for the falling short of the lower limit interrupt of the window | COMMENT |
| LOW | chips/msp432/src/adc.rs | 581 | /// | COMMENT |
| LOW | chips/rp2040/src/pio_spi.rs | 21 | // Since auto push / pull is set to 8 for the purposes of writing in bytes | COMMENT |
| LOW | chips/rp2040/src/timer.rs | 21 | /// timeh is the top 32 bits of time & timel is the bottom 32 bits\n | COMMENT |
| LOW | chips/rp2040/src/timer.rs | 41 | /// Arm alarm 0, and configure the time it will fire.\n | COMMENT |
| LOW | chips/rp2040/src/timer.rs | 61 | /// Indicates the armed/disarmed status of each alarm.\n | COMMENT |
| LOW | chips/rp2040/src/i2c.rs | 321 | // TODO: as per the comments in the pico-sdk, this block is not 100% correct | COMMENT |
| LOW | chips/rp2040/src/pwm.rs | 1 | // Licensed under the Apache License, Version 2.0 or the MIT License. | COMMENT |
| LOW | chips/rp2040/src/pwm.rs | 41 | // Invert output B | COMMENT |
| 2260 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | capsules/core/src/process_console.rs | 585 | \r\n ╚{:#010X}═╪══════════════════════════════╝\ | CODE |
| MEDIUM | capsules/core/src/process_console.rs | 604 | \r\n {:#010X} ┼─────────────────────────────── S\ | CODE |
| MEDIUM | capsules/core/src/process_console.rs | 622 | \r\n {:#010X} ┼─────────────────────────────── A\ | CODE |
| MEDIUM | capsules/core/src/process_console.rs | 624 | \r\n {:#010X} ┼───────────────────────────────", | CODE |
| MEDIUM | capsules/core/src/process_console.rs | 642 | \r\n {:#010X} ┼─────────────────────────────── F\ | CODE |
| MEDIUM | capsules/core/src/process_console.rs | 660 | \r\n {:#010X} ┼─────────────────────────────── A\ | CODE |
| MEDIUM | capsules/core/src/process_console.rs | 662 | \r\n {:#010X} ┼─────────────────────────────── H\ | CODE |
| MEDIUM⚡ | capsules/system/src/process_printer.rs | 107 | \r\n ╚{:#010X}═╪══════════════════════════════════════════╝\ | CODE |
| MEDIUM⚡ | capsules/system/src/process_printer.rs | 111 | \r\n {:#010X} ┼───────────────────────────────────────────\ | CODE |
| MEDIUM⚡ | capsules/system/src/process_printer.rs | 113 | \r\n {:#010X} ┼───────────────────────────────────────────\ | CODE |
| MEDIUM⚡ | capsules/system/src/process_printer.rs | 115 | \r\n {:#010X} ┼───────────────────────────────────────────", | CODE |
| MEDIUM | capsules/system/src/process_printer.rs | 139 | \r\n {:#010X} ┼─────────────────────────────────────────── R", | CODE |
| MEDIUM | capsules/system/src/process_printer.rs | 185 | \r\n {:#010X} ┼─────────────────────────────────────────── M\ | CODE |
| MEDIUM⚡ | capsules/system/src/process_printer.rs | 209 | \r\n {:#010X} ┼───────────────────────────────────────────\ | CODE |
| MEDIUM⚡ | capsules/system/src/process_printer.rs | 211 | \r\n {:#010X} ┴───────────────────────────────────────────\ | CODE |
| MEDIUM⚡ | capsules/system/src/process_printer.rs | 213 | \r\n {:#010X} ┬─────────────────────────────────────────── F\ | CODE |
| MEDIUM⚡ | capsules/system/src/process_printer.rs | 215 | \r\n {:#010X} ┼─────────────────────────────────────────── A\ | CODE |
| MEDIUM⚡ | capsules/system/src/process_printer.rs | 217 | \r\n {:#010X} ┴─────────────────────────────────────────── H\ | CODE |
| MEDIUM⚡ | capsules/extra/src/signature_verify_in_memory_keys.rs | 18 | //! ┌───────────────────────────────────────┐ | COMMENT |
| MEDIUM⚡ | capsules/extra/src/signature_verify_in_memory_keys.rs | 23 | //! └───────────────────────────────────────┘ | COMMENT |
| MEDIUM⚡ | capsules/extra/src/signature_verify_in_memory_keys.rs | 25 | //! ┌─────────────────────────────┐ │ | COMMENT |
| MEDIUM⚡ | capsules/extra/src/signature_verify_in_memory_keys.rs | 30 | //! └─────────────────────────────┘ │ | COMMENT |
| MEDIUM⚡ | capsules/extra/src/signature_verify_in_memory_keys.rs | 32 | //! ┌───────────────────────────────────────┐ | COMMENT |
| MEDIUM⚡ | capsules/extra/src/signature_verify_in_memory_keys.rs | 37 | //! └───────────────────────────────────────┘ | COMMENT |
| MEDIUM | capsules/extra/src/nonvolatile_to_pages.rs | 16 | //! ┌─────────────┐ | COMMENT |
| MEDIUM | capsules/extra/src/nonvolatile_to_pages.rs | 20 | //! └─────────────┘ | COMMENT |
| MEDIUM⚡ | …sules/extra/src/isolated_nonvolatile_storage_driver.rs | 20 | //! ╒════════ ← Start of nonvolatile region | COMMENT |
| MEDIUM⚡ | …sules/extra/src/isolated_nonvolatile_storage_driver.rs | 21 | //! ├──────── ← Start of App 1's region header | COMMENT |
| MEDIUM⚡ | …sules/extra/src/isolated_nonvolatile_storage_driver.rs | 25 | //! ├──────── ← Start of App 1's Region ═╗ | COMMENT |
| MEDIUM⚡ | …sules/extra/src/isolated_nonvolatile_storage_driver.rs | 33 | //! ├──────── ← Start of App 2's region header | COMMENT |
| MEDIUM⚡ | …sules/extra/src/isolated_nonvolatile_storage_driver.rs | 37 | //! ├──────── ← Start of App 2's Region ═╗ | COMMENT |
| MEDIUM⚡ | …sules/extra/src/isolated_nonvolatile_storage_driver.rs | 47 | //! ╘════════ ← End of userspace region | COMMENT |
| MEDIUM⚡ | kernel/src/process_standard.rs | 449 | /// ╒════════ ← memory_start + memory_len | COMMENT |
| MEDIUM⚡ | kernel/src/process_standard.rs | 451 | /// ║ │ ────── | COMMENT |
| MEDIUM⚡ | kernel/src/process_standard.rs | 453 | /// ║ │ ────── | COMMENT |
| MEDIUM⚡ | kernel/src/process_standard.rs | 455 | /// D │ ────── | COMMENT |
| MEDIUM⚡ | kernel/src/process_standard.rs | 459 | /// M │ ────── ← kernel_memory_break | COMMENT |
| MEDIUM⚡ | kernel/src/process_standard.rs | 461 | /// C │ ────── ← app_break ═╗ | COMMENT |
| MEDIUM⚡ | kernel/src/process_standard.rs | 465 | /// ╠═ │ ────── ← app_heap_start R C | COMMENT |
| MEDIUM⚡ | kernel/src/process_standard.rs | 467 | /// F │ ────── ← data_start_pointer C S | COMMENT |
| MEDIUM⚡ | kernel/src/process_standard.rs | 471 | /// D │ ────── ← current_stack_pointer L | COMMENT |
| MEDIUM⚡ | kernel/src/process_standard.rs | 473 | /// ╚═ ╘════════ ← memory_start ═╝ | COMMENT |
| MEDIUM⚡ | kernel/src/process_standard.rs | 1973 | // ┌─────────────────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | kernel/src/process_standard.rs | 1975 | // └─────────────────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | kernel/src/process_standard.rs | 1977 | // ┌────────────────────────────────────────────────────────────────────────┬────────────── | COMMENT |
| MEDIUM⚡ | kernel/src/process_standard.rs | 1979 | // └────────────────────────────────────────────────────────────────────────┴────────────── | COMMENT |
| MEDIUM⚡ | kernel/src/process_standard.rs | 1981 | // ┌────────────────────────────────────────────────────────────────────┐ | COMMENT |
| MEDIUM⚡ | kernel/src/process_standard.rs | 1983 | // ↑ └────────────────────────────────────────────────────────────────────┘ | COMMENT |
| MEDIUM⚡ | kernel/src/process_standard.rs | 1985 | // ┌─────────────────────────┬──────────────────────────────────────────┐ | COMMENT |
| MEDIUM⚡ | kernel/src/process_standard.rs | 1987 | // └─────────────────────────┴──────────────────────────────────────────┘ | COMMENT |
| MEDIUM⚡ | kernel/src/process_standard.rs | 1992 | // ┆ ┌───────┬──────────┬──────────────┐ | COMMENT |
| MEDIUM⚡ | kernel/src/process_standard.rs | 1994 | // ┆ └───────┴──────────┴──────────────┘ | COMMENT |
| MEDIUM⚡ | kernel/src/process_standard.rs | 1996 | // possible alignment padding┄┴┄┄┄┄┄┄┄┴┄┄┄┄┄┄┄┄┄┄┴┄┄┄┄┄┄┄┄┄┄┄┄┄┄┘ | COMMENT |
| MEDIUM⚡ | kernel/src/grant.rs | 43 | //! ┌──────────────────┐ | COMMENT |
| MEDIUM⚡ | kernel/src/grant.rs | 47 | //! └─┬────────────────┘ | COMMENT |
| MEDIUM⚡ | kernel/src/grant.rs | 52 | //! ┌──────────────────┐ | COMMENT |
| MEDIUM⚡ | kernel/src/grant.rs | 56 | //! ┌────────────────────────┐ │ grant_num: 1 │ | COMMENT |
| MEDIUM⚡ | kernel/src/grant.rs | 58 | //! │ ... │ └───┬─────────────┬┘ | COMMENT |
| MEDIUM⚡ | kernel/src/grant.rs | 59 | //! ├────────────────────────┤ │Each Grant │ | COMMENT |
| MEDIUM⚡ | kernel/src/grant.rs | 64 | //! ├──────────────────────┼─┤ │ | COMMENT |
| 29 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …s/debugging-and-development/print_tock_memory_usage.py | 173 | # Not a Rust symbol name, just return it unchanged. | COMMENT |
| MEDIUM | chips/virtio/src/queues/mod.rs | 28 | /// Fundamentally, every Virtqueue refers to three distinct regions in memory: | COMMENT |
| MEDIUM | chips/psc3/src/gpio_registers.rs | 98 | /// Indicates presence or absence of VDDIO supplies (i.e. other than VDDD, VDDA) on the device (supplies are numbere | COMMENT |
| MEDIUM | chips/psc3/src/gpio_registers.rs | 113 | /// This bit indicates presence of the VDDD supply. This bit will always read-back 1. The VDDD supply has robust b | COMMENT |
| MEDIUM | chips/psc3/src/srss_registers.rs | 937 | /// Indicates the REGHC circuit is enabled and operating. It does not indicate that the voltage and current are wit | COMMENT |
| MEDIUM | chips/earlgrey/src/epmp.rs | 575 | // `pmpaddr15` region, we first utilize another higher-priority CSR to | COMMENT |
| MEDIUM | chips/earlgrey/src/epmp.rs | 734 | // `pmpaddr15` region, we first utilize another higher-priority CSR to | COMMENT |
| MEDIUM | chips/litex/src/litex_registers.rs | 14 | //! Essentially, the bus data width (default 32 bit), the CSR data | COMMENT |
| MEDIUM | capsules/extra/src/net/thread/driver.rs | 198 | // A parent request can only begin from a detached state. We utilize | COMMENT |
| MEDIUM | capsules/extra/src/screen/screen_on_led.rs | 56 | /// Essentially only [`ScreenOnLed`]. | COMMENT |
| MEDIUM | boards/sma_q3/src/main.rs | 324 | // should use a const reference to rtt_memory and leverage interior mutability instead. | COMMENT |
| MEDIUM | .github/workflows/ci.yml | 77 | # Essentially there's two ways in which the Cargo.lock | COMMENT |
| MEDIUM | kernel/src/process_standard.rs | 550 | /// Essentially a list of upcalls that want to call functions in the | COMMENT |
| MEDIUM | kernel/src/deferred_call.rs | 11 | //! devices that are supposed to work like hardware devices. Essentially, this | COMMENT |
| MEDIUM | kernel/src/utilities/single_thread_value.rs | 50 | /// `usize` types can utilize `bind_to_thread_unsafe` instead: this method | COMMENT |
| MEDIUM | kernel/src/hil/uart.rs | 380 | /// provide useful abstractions that capsules may want to be able to leverage. | COMMENT |
| MEDIUM | kernel/src/hil/uart.rs | 385 | /// leverage that efficiency, and by placing the interfaces here in the HIL they | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | chips/virtio/src/devices/virtio_gpu/mod.rs | 183 | // Step 1: Create host resource | COMMENT |
| LOW | chips/virtio/src/devices/virtio_gpu/mod.rs | 225 | // Step 2: Attach backing memory (our framebuffer) | COMMENT |
| LOW | chips/virtio/src/devices/virtio_gpu/mod.rs | 274 | // Step 3: Set scanout | COMMENT |
| LOW | chips/virtio/src/devices/virtio_gpu/mod.rs | 318 | // Step 4: Detach resource | COMMENT |
| LOW | chips/stm32f4xx/src/flash.rs | 185 | // NOTE: This method is pub(crate) to prevent modifying the flash latency from board files. | COMMENT |
| LOW | capsules/extra/src/net/sixlowpan/sixlowpan_state.rs | 569 | // NOTE: This function will not work for headers that span past the first | COMMENT |
| LOW | .github/CONTRIBUTING.md | 83 | ### Step 1: Fork | COMMENT |
| LOW | .github/CONTRIBUTING.md | 94 | ### Step 2: Branch | COMMENT |
| LOW | .github/CONTRIBUTING.md | 106 | ### Step 3: Commit | COMMENT |
| LOW⚡ | .github/CONTRIBUTING.md | 160 | ### Step 4: Rebase | COMMENT |
| LOW⚡ | .github/CONTRIBUTING.md | 169 | ### Step 5: Push | COMMENT |
| LOW⚡ | .github/CONTRIBUTING.md | 178 | ### Step 6: Discuss and update | COMMENT |
| LOW | .github/CONTRIBUTING.md | 206 | ### Step 7: Style | COMMENT |
| LOW | .github/CONTRIBUTING.md | 218 | ### Step 8: Landing | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/ci/diff_memory_usage.py | 11 | CODE | |
| LOW | tools/ci/check-capsule-readme.py | 28 | CODE | |
| LOW | tools/ci/check-capsule-readme.py | 40 | CODE | |
| LOW | …ls/debugging-and-development/embedded_data_analyzer.py | 86 | CODE | |
| LOW | …ls/debugging-and-development/embedded_data_analyzer.py | 113 | CODE | |
| LOW | …ls/debugging-and-development/embedded_data_analyzer.py | 221 | CODE | |
| LOW | …s/debugging-and-development/print_tock_memory_usage.py | 140 | CODE | |
| LOW | …s/debugging-and-development/print_tock_memory_usage.py | 167 | CODE | |
| LOW | …s/debugging-and-development/print_tock_memory_usage.py | 237 | CODE | |
| LOW | …s/debugging-and-development/print_tock_memory_usage.py | 336 | CODE | |
| LOW | …s/debugging-and-development/print_tock_memory_usage.py | 608 | CODE | |
| LOW | tools/debugging-and-development/find_panics.py | 213 | CODE | |
| LOW | tools/debugging-and-development/find_panics.py | 386 | CODE | |
| LOW | …ols/debugging-and-development/check_process_console.py | 93 | CODE | |
| LOW | boards/apollo3/ambiq/ambiq_bin2board.py | 402 | CODE | |
| LOW | boards/apollo3/ambiq/ambiq_bin2board.py | 496 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/repo-maintenance/update_chip_support.py | 112 | # Check if this chip or if any chip it subsumes implements this HIL. | COMMENT |
| LOW | tools/ci/tockbot/tockbot.py | 81 | # Assign maintainers to stale PRs when they haven't seen any review / | COMMENT |
| LOW | tools/ci/tockbot/tockbot.py | 257 | # Check if we're being passed a GitHub access token in an environment var: | COMMENT |
| LOW | chips/stm32f4xx/src/clocks/hsi.rs | 31 | //! ## Check if the clock is enabled | COMMENT |
| LOW | chips/stm32f4xx/src/clocks/pll.rs | 90 | //! ## Check if the PLL48CLK output is calibrated. | COMMENT |
| LOW | chips/stm32f4xx/src/clocks/hse.rs | 34 | //! ## Check if the clock is enabled | COMMENT |
| LOW | boards/apollo3/ambiq/ambiq_bin2board.py | 87 | # Open the file, and read it into an array of integers. | COMMENT |
| LOW | boards/apollo3/ambiq/ambiq_bin2board.py | 264 | # Open the file, and read it into an array of integers. | COMMENT |
| LOW | boards/apollo3/ambiq/ambiq_bin2board.py | 507 | #Check if response failed | COMMENT |
| LOW | boards/apollo3/ambiq/ambiq_bin2board.py | 666 | #Check if response failed | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | chips/psc3/src/srss_registers.rs | 619 | /// 1: Normal operation. DEEPSLEEP and low power circuits operate as requested in other registers. | COMMENT |
| HIGH | capsules/extra/src/hmac_sha256.rs | 48 | /// The current mode of operation as requested by a call to either | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tools/ci/check-boards-readme.py | 45 | # Create the filepath to the board readme. | COMMENT |
| MEDIUM | boards/apollo3/ambiq/am_defines.py | 3 | # This file is part of the AmbiqSuite SDK, accessible under | COMMENT |
| MEDIUM | boards/apollo3/ambiq/ambiq_bin2board.py | 3 | # This file is part of the AmbiqSuite SDK, accessible under | COMMENT |
| MEDIUM | boards/apollo3/ambiq/keys_info.py | 3 | # This file is part of the AmbiqSuite SDK, accessible under | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/ci/check-capsule-readme.py | 40 | def find_implemented_capsules(root_path, implemented_list): | CODE |
| LOW | …s/debugging-and-development/print_tock_memory_usage.py | 129 | def trim_vendor_suffix_from_symbol(symbol): | CODE |
| LOW | …s/debugging-and-development/print_tock_memory_usage.py | 294 | def print_section_information(): | CODE |
| LOW | …s/debugging-and-development/print_tock_memory_usage.py | 472 | def split_text_into_data_and_functions(): | CODE |
| LOW | …s/debugging-and-development/print_tock_memory_usage.py | 513 | def print_all_symbol_information(): | CODE |
| LOW | …s/debugging-and-development/print_tock_memory_usage.py | 527 | def print_grouped_symbol_information(): | CODE |
| LOW | tools/debugging-and-development/find_panics.py | 126 | def linkage_or_origin_all_parents(elf, addr, linkage=False): | CODE |
| LOW | tools/debugging-and-development/find_panics.py | 146 | def any_origin_matches_panic_func(elf, addr): | CODE |
| LOW | tools/debugging-and-development/find_panics.py | 158 | def any_linkage_matches_panic_func(elf, addr): | CODE |
| LOW | tools/debugging-and-development/find_panics.py | 170 | def check_for_source_in_parent(elf, addr): | CODE |
| LOW | …ols/debugging-and-development/check_process_console.py | 185 | def test_fill_command_history(port: SerialPort): | CODE |
| LOW | …ols/debugging-and-development/check_process_console.py | 483 | def test_command_history_edit(port: SerialPort): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/ci/tockbot/tockbot.py | 16 | CODE | |
| LOW | …s/debugging-and-development/print_tock_memory_usage.py | 31 | CODE | |
| LOW | boards/apollo3/ambiq/am_defines.py | 42 | CODE | |
| LOW | boards/apollo3/ambiq/am_defines.py | 50 | CODE | |
| LOW | boards/apollo3/ambiq/ambiq_bin2board.py | 50 | CODE | |
| LOW | boards/apollo3/ambiq/ambiq_bin2board.py | 51 | CODE | |
| LOW | boards/apollo3/ambiq/ambiq_bin2board.py | 52 | CODE | |
| LOW | boards/apollo3/ambiq/ambiq_bin2board.py | 53 | CODE | |
| LOW | boards/apollo3/ambiq/ambiq_bin2board.py | 54 | CODE | |
| LOW | boards/apollo3/ambiq/ambiq_bin2board.py | 56 | CODE | |
| LOW | boards/apollo3/ambiq/ambiq_bin2board.py | 63 | CODE | |
| LOW | boards/apollo3/ambiq/keys_info.py | 39 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | chips/earlgrey/src/epmp.rs | 601 | // Now, onto `pmpcfg3`. As discussed above, we want to use a temporary | COMMENT |
| MEDIUM | chips/earlgrey/src/epmp.rs | 752 | // Now, onto `pmpcfg3`. As discussed above, we want to use a temporary | COMMENT |
| LOW | capsules/core/src/console.rs | 464 | // Whatever happens, we want to make sure to replace the rx_buffer for future transactions | COMMENT |
| LOW | capsules/core/src/console_ordered.rs | 549 | // Whatever happens, we want to make sure to replace the rx_buffer for future transactions | COMMENT |
| LOW | arch/x86/src/interrupts/poller.rs | 120 | /// Don't forget to call this method after servicing an interrupt. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | chips/virtio/src/devices/virtio_gpu/mod.rs | 183 | // Step 1: Create host resource | COMMENT |
| LOW | chips/virtio/src/devices/virtio_gpu/mod.rs | 225 | // Step 2: Attach backing memory (our framebuffer) | COMMENT |
| LOW | chips/virtio/src/devices/virtio_gpu/mod.rs | 274 | // Step 3: Set scanout | COMMENT |
| LOW | chips/virtio/src/devices/virtio_gpu/mod.rs | 318 | // Step 4: Detach resource | COMMENT |
| LOW | arch/riscv/src/syscall.rs | 543 | // Now we need to check if this was an interrupt, and if it was, | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | chips/stm32f4xx/src/dma.rs | 1528 | /// > We could have these checks at runtime, with the Peripheral reporting which Dma it belongs to and the system panick | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …/debugging-and-development/embedded_data_visualizer.py | 142 | if (getComputedStyle( x, null ).getPropertyValue( 'font-family' ) === "monospace, monospace" | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | chips/stm32wle5xx/src/clocks/phclk.rs | 123 | //TODO: implement clock frequency retrieval for RTC and PWR peripherals | COMMENT |
| LOW | chips/stm32f4xx/src/clocks/phclk.rs | 118 | //TODO: implement clock frequency retrieval for RTC and PWR peripherals | COMMENT |
| LOW | arch/riscv/src/pmp.rs | 1224 | // TODO: implement more test cases, such as: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tools/svd2regs/svd2regs.py | 334 | print('Error: no peripheral found.') | CODE |
| MEDIUM | tools/debugging-and-development/svd2regs/svd2regs.py | 334 | print('Error: no peripheral found.') | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …s/debugging-and-development/print_tock_memory_usage.py | 565 | CODE |