DSi Menu replacement for DS/DSi/3DS/2DS
This report summarizes scanner evidence for DS-Homebrew/TWiLightMenu, a C++ project with 4,136 GitHub stars. SynthScan examined 244,627 lines of code across 1364 source files, recording 458 pattern matches distributed across 6 syntactic categories. The legacy adjusted pattern signal is 1.9 (Low 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.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 447 finding(s).
Are imports declared and package/API names verified? 1 finding(s).
Are wrappers, guards, and repeated structures necessary? 10 finding(s).
Which changes need focused human review? 458 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 458 distinct pattern matches across 6 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 | patch_ndsheader_dsiware.py | 1 | # -*- coding: utf8 -*- | COMMENT |
| LOW | settings/bootloader/source/arm9clear.arm.c | 1 | #define ARM9 | COMMENT |
| LOW | settings/bootloader/source/disc_io.h | 41 | COMMENT | |
| LOW | settings/bootloader/source/sdmmc.h | 1 | #ifndef __SDMMC_H__ | COMMENT |
| LOW | settings/bootloader/source/sdmmc.h | 21 | #define REG_SDRESP1 0x0e | COMMENT |
| LOW | settings/bootloader/source/sdmmc.h | 41 | #define REG_SDRESET 0xe0 | COMMENT |
| LOW | settings/bootloader/source/sdmmc.h | 61 | #define TMIO_STAT0_SIGSTATE_A 0x0400 | COMMENT |
| LOW | settings/bootloader/source/sdmmc.h | 81 | #define SDMC_ERR_FIFO_OVF 0x00000010 | COMMENT |
| LOW | settings/bootloader/source/dmaTwl.h | 21 | #define NDMAGCNT_YIELD_CYCLES_16 (5 << 16) | COMMENT |
| LOW | settings/bootloader/source/dmaTwl.h | 41 | #define REG_NDMA0FDATA (*(vu32*)0x04004118) | COMMENT |
| LOW | settings/bootloader/source/dmaTwl.h | 61 | #define REG_NDMA3DAD (*(vu32*)0x0400415C) | COMMENT |
| LOW | settings/bootloader/source/dmaTwl.h | 81 | #define NDMACNT_SRC_MODE_DECREMENT (1 << 13) | COMMENT |
| LOW | settings/bootloader/source/dmaTwl.h | 101 | #define NDMACNT_PHYSICAL_COUNT_16384 (14 << 16) | COMMENT |
| LOW | settings/bootloader/source/dmaTwl.h | 121 | COMMENT | |
| LOW | settings/bootloader/source/dmaTwl.h | 141 | COMMENT | |
| LOW | settings/bootloader/source/fat.c | 41 | COMMENT | |
| LOW | settings/bootloader/source/fat.c | 61 | //----------------------------------------------------------------- | COMMENT |
| LOW | settings/bootloader/source/boot.c | 41 | #include <nds/timers.h> | COMMENT |
| LOW | settings/arm9/include/userpal.h | 1 | COMMENT | |
| LOW | settings/arm9/source/language.cpp | 1 | #include <nds.h> | COMMENT |
| LOW | settings/arm9/source/twlFlashcard.cpp | 1 | #include <nds.h> | COMMENT |
| LOW | settings/arm9/source/settingspage.h | 1 | #include <variant> | COMMENT |
| LOW | settings/arm9/source/main.cpp | 1 | #include <nds.h> | COMMENT |
| LOW | settings/arm9/source/main.cpp | 21 | #include "common/fileCopy.h" | COMMENT |
| LOW | settings/arm9/source/settingsgui.cpp | 1 | #include "settingsgui.h" | COMMENT |
| LOW | settings/arm9/source/graphics/fontHandler.cpp | 1 | #include "fontHandler.h" | COMMENT |
| LOW | settings/arm9/source/graphics/graphics.cpp | 1 | #include "graphics.h" | COMMENT |
| LOW | slot1launch/bootloaderAlt/source/card.h | 41 | #define REG_CARD_COMMAND ((vu8*)0x040001A8) | COMMENT |
| LOW | slot1launch/bootloaderAlt/source/card.h | 61 | #define SPI_EEPROM_RDP 0xab // Release from deep power down | COMMENT |
| LOW | slot1launch/bootloaderAlt/source/card.h | 81 | COMMENT | |
| LOW | slot1launch/bootloaderAlt/source/main.arm7.c | 21 | but WITHOUT ANY WARRANTY; without even the implied warranty of | COMMENT |
| LOW | slot1launch/bootloaderAlt/source/main.arm7.c | 41 | #include <string.h> | COMMENT |
| LOW | slot1launch/bootloaderAlt/source/main.arm9.c | 21 | but WITHOUT ANY WARRANTY; without even the implied warranty of | COMMENT |
| LOW | slot1launch/bootloaderAlt/source/blocks_codec.h | 1 | // SPDX-License-Identifier: Zlib | COMMENT |
| LOW | slot1launch/bootloaderAlt/source/blocks_codec.h | 81 | #define CDC_CONTROL_CLOCK_PLL_IN_BCLK (1 << 2) | COMMENT |
| LOW | slot1launch/bootloaderAlt/source/blocks_codec.h | 101 | #define CDC_TOUCHCNT_SAR_ADC_CLOCK_DIV_MASK (3 << 3) | COMMENT |
| LOW | slot1launch/bootloaderAlt/source/blocks_codec.h | 121 | #define CDC_TOUCHCNT_SAR_ADC_SCAN_PORT (11 << 2) | COMMENT |
| LOW | slot1launch/bootloaderAlt/source/blocks_codec.h | 141 | #define CDC_TOUCHCNT_SENSE_TIME_3US (2) | COMMENT |
| LOW | slot1launch/bootloaderAlt/source/blocks_codec.h | 161 | #define CDC_TOUCHCNT_PANEL_VOLTAGE_STABILIZATION_TIME_100US (5) | COMMENT |
| LOW | slot1launch/bootloaderAlt/source/blocks_codec.h | 181 | #define CDC_TOUCHCNT_DEBOUNCE_TIME_0US (0) | COMMENT |
| LOW | slot1launch/bootloaderAlt/source/common.h | 21 | COMMENT | |
| LOW | slot1launch/bootloaderAlt/source/common.h | 41 | #define ERR_HEAD_CRC 0x16 | COMMENT |
| LOW | slot1launch/bootloader/source/card.h | 41 | #define REG_CARD_COMMAND ((vu8*)0x040001A8) | COMMENT |
| LOW | slot1launch/bootloader/source/card.h | 61 | #define SPI_EEPROM_RDP 0xab // Release from deep power down | COMMENT |
| LOW | slot1launch/bootloader/source/card.h | 81 | COMMENT | |
| LOW | slot1launch/bootloader/source/dmaTwl.h | 21 | #define NDMAGCNT_YIELD_CYCLES_16 (5 << 16) | COMMENT |
| LOW | slot1launch/bootloader/source/dmaTwl.h | 41 | #define REG_NDMA0FDATA (*(vu32*)0x04004118) | COMMENT |
| LOW | slot1launch/bootloader/source/dmaTwl.h | 61 | #define REG_NDMA3DAD (*(vu32*)0x0400415C) | COMMENT |
| LOW | slot1launch/bootloader/source/dmaTwl.h | 81 | #define NDMACNT_SRC_MODE_DECREMENT (1 << 13) | COMMENT |
| LOW | slot1launch/bootloader/source/dmaTwl.h | 101 | #define NDMACNT_PHYSICAL_COUNT_16384 (14 << 16) | COMMENT |
| LOW | slot1launch/bootloader/source/dmaTwl.h | 121 | COMMENT | |
| LOW | slot1launch/bootloader/source/dmaTwl.h | 141 | COMMENT | |
| LOW | slot1launch/bootloader/source/main.arm7.c | 21 | but WITHOUT ANY WARRANTY; without even the implied warranty of | COMMENT |
| LOW | slot1launch/bootloader/source/main.arm7.c | 41 | COMMENT | |
| LOW | slot1launch/bootloader/source/main.arm9.c | 21 | but WITHOUT ANY WARRANTY; without even the implied warranty of | COMMENT |
| LOW | slot1launch/bootloader/source/blocks_codec.h | 1 | // SPDX-License-Identifier: Zlib | COMMENT |
| LOW | slot1launch/bootloader/source/blocks_codec.h | 81 | #define CDC_CONTROL_CLOCK_PLL_IN_BCLK (1 << 2) | COMMENT |
| LOW | slot1launch/bootloader/source/blocks_codec.h | 101 | #define CDC_TOUCHCNT_SAR_ADC_CLOCK_DIV_MASK (3 << 3) | COMMENT |
| LOW | slot1launch/bootloader/source/blocks_codec.h | 121 | #define CDC_TOUCHCNT_SAR_ADC_SCAN_PORT (11 << 2) | COMMENT |
| LOW | slot1launch/bootloader/source/blocks_codec.h | 141 | #define CDC_TOUCHCNT_SENSE_TIME_3US (2) | COMMENT |
| 384 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | 7zfile/Virtual Console (3DS, Full)/snemul.cfg | 190 | # -------------------------------------- | COMMENT |
| MEDIUM | 7zfile/Virtual Console (3DS, Full)/snemul.cfg | 192 | # -------------------------------------- | COMMENT |
| MEDIUM | 7zfile/Virtual Console (DSi or Flashcard)/snemul.cfg | 190 | # -------------------------------------- | COMMENT |
| MEDIUM | 7zfile/Virtual Console (DSi or Flashcard)/snemul.cfg | 192 | # -------------------------------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | patch_ndsheader_dsiware.py | 83 | except Exception as e: | CODE |
| MEDIUM | patch_ndsheader_dsiware.py | 65 | def calculate(self, input_data=None): | CODE |
| LOW | booter_fc/flashcart_specifics/dldinoap/dldinoap.py | 26 | except Exception: | CODE |
| LOW | booter_fc/flashcart_specifics/dldinoap/dldinoap.py | 49 | except Exception: | CODE |
| LOW | booter_fc/flashcart_specifics/r4isdhc/r4isdhc.py | 43 | except Exception: | CODE |
| LOW | booter_fc/flashcart_specifics/r4isdhc/r4isdhc.py | 54 | except Exception: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | resources/pack.py | 30 | # Write file | COMMENT |
| LOW | resources/pack.py | 39 | # Write file list | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | patch_ndsheader_dsiware.py | 13 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | universal/source/lodepng/lodepng.cpp | 72 | lodepng source code. Don't forget to remove "static" if you copypaste them | CODE |