A secure embedded operating system for microcontrollers
This report summarizes scanner evidence for tock/tock, a Rust project with 6,464 GitHub stars. SynthScan examined 494,245 lines of code across 2305 source files, recording 2681 pattern matches distributed across 17 syntactic categories. The legacy adjusted pattern signal is 5.9 (Moderate pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 2570 finding(s).
Are imports declared and package/API names verified? 13 finding(s).
Are wrappers, guards, and repeated structures necessary? 111 finding(s).
Which changes need focused human review? 2681 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 2681 distinct pattern matches across 17 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. 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 configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Cargo.toml | 161 | COMMENT | |
| LOW | Cargo.toml | 221 | # Sometimes if statements are easier to read than match statements. | COMMENT |
| LOW | rustfmt.toml | 1 | # Licensed under the Apache License, Version 2.0 or the MIT License. | COMMENT |
| LOW | clippy.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/update_rust_version.sh | 41 | COMMENT | |
| LOW | tools/repo-maintenance/check-all-links.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/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 | pub okr: WriteOnly<u32, Key::Register>, | COMMENT |
| LOW | chips/stm32f303xc/src/flash.rs | 81 | /// Represents the keys to unlock the flash or the option | COMMENT |
| LOW | chips/stm32f303xc/src/flash.rs | 101 | /// Indicates that a flash operation is in progress. This is set on | COMMENT |
| LOW | chips/stm32f303xc/src/flash.rs | 181 | /// Chooses watchdog type | COMMENT |
| LOW | chips/stm32f303xc/src/flash.rs | 221 | const KEY2: u32 = 0xCDEF89AB; | COMMENT |
| LOW | chips/msp432/src/dma.rs | 421 | /// Peripheral scatter-gather mode, which uses the primary 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/rp2xxx/src/lib.rs | 1 | // Licensed under the Apache License, Version 2.0 or the MIT License. | COMMENT |
| LOW | chips/rp2xxx/src/lib.rs | 21 | /// | COMMENT |
| LOW | chips/qemu_rv64_virt_chip/src/chip.rs | 281 | } | 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 |
| 2419 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/core/src/driver.rs | 22 | /// ┌──────────┬──────────┬────────────────────────────────────────┐ | COMMENT |
| MEDIUM | capsules/core/src/driver.rs | 25 | /// └──────────┴──────────┴────────────────────────────────────────┘ | COMMENT |
| 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⚡ | .github/workflows/docs.yml | 28 | # ┌────────────────┬──────────────────────────────────────────────────┬─────────────────────────────┐ | COMMENT |
| MEDIUM⚡ | .github/workflows/docs.yml | 30 | # ├────────────────┼──────────────────────────────────────────────────┼─────────────────────────────┤ | COMMENT |
| MEDIUM⚡ | .github/workflows/docs.yml | 32 | # ├────────────────┼──────────────────────────────────────────────────┼─────────────────────────────┤ | COMMENT |
| MEDIUM⚡ | .github/workflows/docs.yml | 34 | # ├────────────────┼──────────────────────────────────────────────────┼─────────────────────────────┤ | COMMENT |
| MEDIUM⚡ | .github/workflows/docs.yml | 36 | # └────────────────┴──────────────────────────────────────────────────┴─────────────────────────────┘ | 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 | 2010 | // ┌─────────────────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | kernel/src/process_standard.rs | 2012 | // └─────────────────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | kernel/src/process_standard.rs | 2014 | // ┌────────────────────────────────────────────────────────────────────────┬────────────── | COMMENT |
| MEDIUM⚡ | kernel/src/process_standard.rs | 2016 | // └────────────────────────────────────────────────────────────────────────┴────────────── | COMMENT |
| MEDIUM⚡ | kernel/src/process_standard.rs | 2018 | // ┌────────────────────────────────────────────────────────────────────┐ | COMMENT |
| MEDIUM⚡ | kernel/src/process_standard.rs | 2020 | // ↑ └────────────────────────────────────────────────────────────────────┘ | COMMENT |
| MEDIUM⚡ | kernel/src/process_standard.rs | 2022 | // ┌─────────────────────────┬──────────────────────────────────────────┐ | COMMENT |
| MEDIUM⚡ | kernel/src/process_standard.rs | 2024 | // └─────────────────────────┴──────────────────────────────────────────┘ | COMMENT |
| MEDIUM⚡ | kernel/src/process_standard.rs | 2029 | // ┆ ┌───────┬──────────┬──────────────┐ | COMMENT |
| MEDIUM⚡ | kernel/src/process_standard.rs | 2031 | // ┆ └───────┴──────────┴──────────────┘ | COMMENT |
| MEDIUM⚡ | kernel/src/process_standard.rs | 2033 | // possible alignment padding┄┴┄┄┄┄┄┄┄┴┄┄┄┄┄┄┄┄┄┄┴┄┄┄┄┄┄┄┄┄┄┄┄┄┄┘ | COMMENT |
| 36 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 | 333 | // 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 | 46 | # 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 | 548 | // 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 | chips/stm32u5xx/src/i2c.rs | 709 | // In this case, we need to check if we should issue: | COMMENT |
| LOW | arch/riscv/src/syscall.rs | 669 | // 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 | 1389 | // 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 |