Emulator of x86-based machines.
This report summarizes scanner evidence for 86Box/86Box, a C project with 4,966 GitHub stars. SynthScan examined 1,302,593 lines of code across 2000 source files, recording 2508 pattern matches distributed across 11 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? 2492 finding(s).
Are imports declared and package/API names verified? 10 finding(s).
Are wrappers, guards, and repeated structures necessary? 10 finding(s).
Which changes need focused human review? 2508 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 2508 distinct pattern matches across 11 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 | CMakeLists.txt | 1 | # | COMMENT |
| LOW | bumpversion.sh | 1 | #!/bin/sh | COMMENT |
| LOW | .ci/build.sh | 1 | #!/bin/sh | COMMENT |
| LOW | .ci/build.sh | 21 | # | COMMENT |
| LOW | .ci/build.sh | 41 | # configured as NOPASSWD in /etc/sudoers if you're doing unattended builds | COMMENT |
| LOW | .ci/AppImageBuilder.yml | 1 | # | COMMENT |
| LOW | tests/video/wd90c31_test.cpp | 1 | #include <array> | COMMENT |
| LOW | tests/video/rage128/shard.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | tests/video/rage128/CMakeLists.txt | 1 | # The ATI Rage 128 tests compile the device sources themselves, with host | COMMENT |
| LOW | tests/video/rage128/CMakeLists.txt | 181 | # The timeout is sized for the first run on a host whose Vulkan driver | COMMENT |
| LOW | tests/video/rage128/jit-harness/shard.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | tests/video/rage128/jit-harness/build.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | tests/video/rage128/jit-harness/jit_host_test.c | 41 | #include <stdio.h> | COMMENT |
| LOW | tests/video/rage128/replay-harness/replay.c | 41 | * The queue's entry count and the heap bytes its payloads hold | COMMENT |
| LOW | tests/video/rage128/replay-harness/build.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | …ts/video/rage128/replay-harness/synth/sample_agptex.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | tests/video/rage128/replay-harness/synth/gen_agptex.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | tests/video/rage128/replay-harness/synth/selftest.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | tests/video/rage128/replay-harness/synth/gen_ckfn.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | tests/video/rage128/replay-harness/synth/sample_ckfn.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | tests/video/rage128/gpu/build.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | tests/video/rage128/gpu/gputri.c | 61 | #include <limits.h> | COMMENT |
| LOW | tests/video/rage128/gpu/gputri.c | 141 | tested, which is not a failure. CTest reports it as a skip. */ | COMMENT |
| LOW | tests/video/rage128/reg-harness/shard.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | tests/video/rage128/reg-harness/host_stubs.c | 21 | * - Bus-master reads and writes resolve against a declared fake | COMMENT |
| LOW | tests/video/rage128/reg-harness/host_stubs.c | 41 | #define HAVE_STDARG_H | COMMENT |
| LOW | tests/video/rage128/reg-harness/gpu_probe.c | 21 | * Authors: skiretic. | COMMENT |
| LOW | tests/video/rage128/reg-harness/build.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | tests/video/rage128/reg-harness/build.sh | 21 | # services the device calls (mem/io/pci/timer/rom/video plumbing). Real | COMMENT |
| LOW | tests/video/rage128/reg-harness/include/86box/version.h | 21 | */ | COMMENT |
| LOW | tests/cdrom/cdrom_sony_test.cpp | 1 | #include <gtest/gtest.h> | COMMENT |
| LOW | tests/cdrom/cdrom_mitsumi_test.cpp | 1 | #include <gtest/gtest.h> | COMMENT |
| LOW | tests/cdrom/cdrom_mcn_test.cpp | 1 | #include <gtest/gtest.h> | COMMENT |
| LOW | tests/cdrom/cdrom_mke_test.cpp | 1 | #include <gtest/gtest.h> | COMMENT |
| LOW | tests/cpu/x87_fistp_test.cpp | 1 | // SPDX-License-Identifier: GPL-2.0-or-later | COMMENT |
| LOW | tests/cpu/x87_fistp_test.cpp | 21 | static bool memory_fault; | COMMENT |
| LOW | tests/cpu/cpu_cache_test.cpp | 1 | // SPDX-License-Identifier: GPL-2.0-or-later | COMMENT |
| LOW | tests/cpu/codegen_shift_cl_test.cpp | 1 | // SPDX-License-Identifier: GPL-2.0-or-later | COMMENT |
| LOW | tests/scsi/aic6360_test.cpp | 1 | /* Register-level tests using the same I/O handlers registered by the adapters. */ | COMMENT |
| LOW | tests/utils/ini_test.cpp | 1 | #include <gtest/gtest.h> | COMMENT |
| LOW | tests/machine/pcjx_test.cpp | 1 | #include <gtest/gtest.h> | COMMENT |
| LOW | tests/disk/hdd_image_test.cpp | 1 | #include <gtest/gtest.h> | COMMENT |
| LOW | tests/device/cartridge_test.cpp | 1 | #include <gtest/gtest.h> | COMMENT |
| LOW | tests/device/mouse_microtouch_test.cpp | 1 | #include <gtest/gtest.h> | COMMENT |
| LOW | tests/floppy/fdc_read_id_test.cpp | 1 | #include <gtest/gtest.h> | COMMENT |
| LOW | tests/floppy/img_track_test.cpp | 1 | #include <gtest/gtest.h> | COMMENT |
| LOW | tests/floppy/pcjx_floppy_test.cpp | 1 | #include <gtest/gtest.h> | COMMENT |
| LOW | tests/floppy/pcjx_floppy_test.cpp | 21 | #define timer_add pcjx_floppy_timer_add | COMMENT |
| LOW | tests/floppy/pcjx_floppy_test.cpp | 41 | #define fdd_tape_step pcjx_floppy_fdd_tape_step | COMMENT |
| LOW | scripts/regen-r128-gpu-spv.sh | 1 | #!/bin/sh | COMMENT |
| LOW | scripts/regen-r128-gpu-spv.sh | 101 | # (verified in the spike and by the gputri fuzz gate). | COMMENT |
| LOW | .github/workflows/pr_builds.yml | 1 | name: Pull request builds | COMMENT |
| LOW | src/ioapic.c | 21 | #define HAVE_STDARG_H | COMMENT |
| LOW | src/ioapic.c | 101 | uint8_t ioapic_mmio_read_log_count[0x40]; | COMMENT |
| LOW | src/pic.c | 21 | #include <stdio.h> | COMMENT |
| LOW | src/mca.c | 1 | /* | COMMENT |
| LOW | src/port_6x.c | 21 | #include <86box/86box.h> | COMMENT |
| LOW | src/CMakeLists.txt | 1 | # | COMMENT |
| LOW | src/usb.c | 41 | #include <stdlib.h> | COMMENT |
| LOW | src/usb.c | 61 | #define UHCI_USBSTS 0x02 | COMMENT |
| 2356 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | tests/video/rage128/shard.sh | 10 | # ATI Rage 128 Pro -- runs one test harness as parallel child | COMMENT |
| MEDIUM⚡ | tests/video/rage128/shard.sh | 11 | # processes and sums their results. The shard.sh in reg-harness | COMMENT |
| MEDIUM⚡ | tests/video/rage128/shard.sh | 12 | # and in jit-harness call it with the mode (reg or jit), the | COMMENT |
| MEDIUM⚡ | tests/video/rage128/shard.sh | 13 | # harness directory, the process count and the harness's own | COMMENT |
| MEDIUM | tests/video/rage128/jit-harness/shard.sh | 10 | # ATI Rage 128 Pro -- runs the span JIT host harness's fuzz gate | COMMENT |
| MEDIUM⚡ | tests/video/rage128/jit-harness/build.sh | 11 | # harness. | COMMENT |
| MEDIUM⚡ | tests/video/rage128/jit-harness/build.sh | 18 | # Build the Rage 128 ARM64 and x86-64 span-JIT host harness against the | COMMENT |
| MEDIUM⚡ | tests/video/rage128/replay-harness/build.sh | 11 | # harness. | COMMENT |
| MEDIUM⚡ | tests/video/rage128/replay-harness/build.sh | 18 | # Build the Rage 128 offline capture replay harness. | COMMENT |
| MEDIUM⚡ | tests/video/rage128/replay-harness/build.sh | 21 | # and include/ with ../reg-harness, so both use the same host services. | COMMENT |
| MEDIUM⚡ | tests/video/rage128/replay-harness/build.sh | 26 | # -O2 rather than the register harness's -O1: a replay processes tens of | COMMENT |
| MEDIUM | …ts/video/rage128/replay-harness/synth/sample_agptex.py | 10 | # ATI Rage 128 Pro -- checks the pixels the replay harness drew | COMMENT |
| MEDIUM | tests/video/rage128/replay-harness/synth/selftest.py | 10 | # ATI Rage 128 Pro -- self-test of the capture replay harness on | COMMENT |
| MEDIUM | tests/video/rage128/replay-harness/synth/sample_ckfn.py | 11 | # harness drew from the gen_ckfn.py capture. | COMMENT |
| MEDIUM | tests/video/rage128/reg-harness/shard.sh | 10 | # ATI Rage 128 Pro -- runs the register harness's vector groups | COMMENT |
| MEDIUM⚡ | tests/video/rage128/reg-harness/build.sh | 10 | # ATI Rage 128 Pro -- build script for the register harness. | COMMENT |
| MEDIUM⚡ | tests/video/rage128/reg-harness/build.sh | 17 | # Build the Rage 128 host-side register harness. | COMMENT |
| MEDIUM | tests/video/rage128/reg-harness/build.sh | 28 | # so the harness exercises the configuration users actually run (backend | COMMENT |
| MEDIUM | tests/video/rage128/reg-harness/include/86box/version.h | 25 | #define EMU_VERSION "harness" | COMMENT |
| MEDIUM | tests/video/rage128/reg-harness/include/86box/version.h | 26 | #define EMU_VERSION_FULL "harness" | COMMENT |
| MEDIUM | src/osd/imgui/imgui.cpp | 6713 | // FIXME: Essentially we want to restrict manual resizing to WindowMinSize+Decoration, and allow api resizing to be | COMMENT |
| MEDIUM | src/osd/imgui/imgui.cpp | 9085 | // FIXME-NEWATLAS-V2: perhaps we can now leverage ImFontAtlasUpdateDrawListsTextures() ? | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | bumpversion.sh | 8 | # This file is part of the 86Box distribution. | COMMENT |
| MEDIUM | .ci/build.sh | 8 | # This file is part of the 86Box distribution. | COMMENT |
| MEDIUM | .ci/build.sh | 1242 | # This file is automatically generated by .ci/build.sh and will be | COMMENT |
| MEDIUM | .ci/AppImageBuilder.yml | 7 | # This file is part of the 86Box distribution. | COMMENT |
| MEDIUM⚡ | tests/video/rage128/shard.sh | 8 | # This file is part of the 86Box distribution. | COMMENT |
| MEDIUM | tests/video/rage128/jit-harness/shard.sh | 8 | # This file is part of the 86Box distribution. | COMMENT |
| MEDIUM⚡ | tests/video/rage128/jit-harness/build.sh | 8 | # This file is part of the 86Box distribution. | COMMENT |
| MEDIUM⚡ | tests/video/rage128/replay-harness/build.sh | 8 | # This file is part of the 86Box distribution. | COMMENT |
| MEDIUM | …ts/video/rage128/replay-harness/synth/sample_agptex.py | 8 | # This file is part of the 86Box distribution. | COMMENT |
| MEDIUM | tests/video/rage128/replay-harness/synth/gen_agptex.py | 8 | # This file is part of the 86Box distribution. | COMMENT |
| MEDIUM | tests/video/rage128/replay-harness/synth/selftest.py | 8 | # This file is part of the 86Box distribution. | COMMENT |
| MEDIUM | tests/video/rage128/replay-harness/synth/gen_ckfn.py | 8 | # This file is part of the 86Box distribution. | COMMENT |
| MEDIUM | tests/video/rage128/replay-harness/synth/sample_ckfn.py | 8 | # This file is part of the 86Box distribution. | COMMENT |
| MEDIUM | tests/video/rage128/gpu/build.sh | 8 | # This file is part of the 86Box distribution. | COMMENT |
| MEDIUM | tests/video/rage128/reg-harness/shard.sh | 8 | # This file is part of the 86Box distribution. | COMMENT |
| MEDIUM⚡ | tests/video/rage128/reg-harness/build.sh | 8 | # This file is part of the 86Box distribution. | COMMENT |
| MEDIUM | src/qt/vk_mem_alloc.h | 1726 | -# Create an instance of the #VmaVulkanFunctions structure. | CODE |
| MEDIUM | src/device/vfio-setup.sh | 8 | # This file is part of the 86Box distribution. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | src/cdrom/libchdr/CMakeLists.txt | 38 | #-------------------------------------------------- | COMMENT |
| MEDIUM | src/cdrom/libchdr/CMakeLists.txt | 40 | #-------------------------------------------------- | COMMENT |
| MEDIUM | src/cdrom/libchdr/CMakeLists.txt | 72 | #-------------------------------------------------- | COMMENT |
| MEDIUM | src/cdrom/libchdr/CMakeLists.txt | 74 | #-------------------------------------------------- | COMMENT |
| MEDIUM | src/cdrom/libchdr/CMakeLists.txt | 94 | #-------------------------------------------------- | COMMENT |
| MEDIUM | src/cdrom/libchdr/CMakeLists.txt | 96 | #-------------------------------------------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | src/osd/imgui/imgui_widgets.cpp | 7349 | // Tip: pass a non-visible label (e.g. "##hello") then you can use the space to draw other text or image. | COMMENT |
| LOW | src/osd/imgui/imgui.cpp | 1020 | - 2017/08/25 (1.52) - io.MousePos needs to be set to ImVec2(-FLT_MAX,-FLT_MAX) when mouse is unavailable/missing. Previ | CODE |
| LOW | src/qt/vk_mem_alloc.h | 17677 | // At the end, don't forget to: | COMMENT |
| LOW | src/qt/vk_mem_alloc.h | 19130 | // At the end, don't forget to destroy it! | COMMENT |
| LOW | src/qt/vk_mem_alloc.h | 19173 | // At the end, don't forget to destroy it! | COMMENT |
| LOW | src/qt/vk_mem_alloc.h | 693 | To prepare for this possibility, don't forget to add appropriate flags like | CODE |
| LOW | src/qt/vk_mem_alloc.h | 2906 | don't forget to free them. | CODE |
| LOW | src/qt/vk_mem_alloc.h | 2953 | don't forget to free it as well. | CODE |
| LOW | src/qt/vk_mem_alloc.h | 17714 | Don't forget to destroy your buffer and allocation objects when no longer needed: | CODE |
| LOW | src/qt/vk_mem_alloc.h | 18876 | If you allocated a new object to be used as the custom pointer, don't forget to delete that object before freeing the al | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | src/osd/imgui/imgui_demo.cpp | 7648 | ImGui::TextWrapped("Lorem ipsum dolor sit amet"); | CODE |
| LOW⚡ | src/osd/imgui/imgui_demo.cpp | 7648 | ImGui::TextWrapped("Lorem ipsum dolor sit amet"); | CODE |
| LOW⚡ | src/osd/imgui/imgui_demo.cpp | 7650 | ImGui::Text("Lorem ipsum dolor sit amet"); | CODE |
| LOW⚡ | src/osd/imgui/imgui_demo.cpp | 7650 | ImGui::Text("Lorem ipsum dolor sit amet"); | CODE |
| LOW | src/osd/imgui/imgui_demo.cpp | 9548 | ImGui::TextWrapped("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor i | CODE |
| LOW | src/osd/imgui/imgui_demo.cpp | 9548 | ImGui::TextWrapped("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor i | CODE |
| LOW | src/osd/imgui/imgui_demo.cpp | 10509 | ImGui::TextWrapped("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut | CODE |
| LOW | src/osd/imgui/imgui_demo.cpp | 10509 | ImGui::TextWrapped("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut | CODE |
| LOW | src/crcspeed/crc64speed.c | 252 | char li[] = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed " | CODE |
| LOW | src/crcspeed/crc64speed.c | 252 | char li[] = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed " | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/cdrom/cdrom_image.c | 2044 | // Step 1: Insert all CloneCD tracks. | COMMENT |
| LOW | src/cdrom/cdrom_image.c | 2099 | // Step 2: Calculate track lengths. | COMMENT |
| LOW | src/cdrom/cdrom_image.c | 2119 | // Step 3: Generate pregap indices. | COMMENT |
| LOW | src/cdrom/libchdr/include/dr_libs/dr_flac.h | 5954 | /* We found a FLAC frame. We need to check if it contains the sample we're looking for. */ | COMMENT |
| LOW | src/osd/imgui/imgui.cpp | 3395 | // Step 0: Let you process the first element (regardless of it being visible or not, so we can measure the element h | COMMENT |
| LOW | src/osd/imgui/imgui.cpp | 3412 | // Step 1: Let the clipper infer height from first range | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .ci/build.sh | 297 | # Check if mandatory arguments were specified. | COMMENT |
| LOW | .ci/build.sh | 330 | # Check if the archival succeeded. | COMMENT |
| LOW | .ci/build.sh | 589 | # Check if the archival succeeded. | COMMENT |
| LOW | .ci/build.sh | 1198 | # Check if the executable strip/move succeeded. | COMMENT |
| LOW | .ci/build.sh | 1296 | # Check if the archival succeeded. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/cdrom/cdrom_image.c | 2044 | // Step 1: Insert all CloneCD tracks. | COMMENT |
| LOW | src/cdrom/cdrom_image.c | 2099 | // Step 2: Calculate track lengths. | COMMENT |
| LOW | src/cdrom/cdrom_image.c | 2119 | // Step 3: Generate pregap indices. | COMMENT |
| LOW | src/osd/imgui/imgui.cpp | 3395 | // Step 0: Let you process the first element (regardless of it being visible or not, so we can measure the element h | COMMENT |
| LOW | src/osd/imgui/imgui.cpp | 3412 | // Step 1: Let the clipper infer height from first range | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/video/wd90c31_bios_smoke.py | 11 | CODE | |
| LOW | tests/video/rage128/replay-harness/synth/selftest.py | 99 | CODE | |
| LOW | tests/cdrom/teac_cda_smoke.py | 34 | CODE | |
| LOW | tests/cdrom/sony_slcd_smoke.py | 106 | CODE | |
| LOW | tests/cdrom/sony_audio_smoke.py | 157 | CODE | |
| LOW | scripts/nocon-min.py | 74 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/qt/vk_mem_alloc.h | 1581 | To be used with function vmaBeginDefragmentationPass(). | CODE |
| LOW | src/qt/vk_mem_alloc.h | 17629 | - Use function vmaImportVulkanFunctionsFromVolk() to fill in the structure #VmaVulkanFunctions. | CODE |
| LOW | src/qt/vk_mem_alloc.h | 17950 | The easiest way to copy data from a host pointer to an allocation is to use convenience function vmaCopyMemoryToAllocati | CODE |
| LOW | src/qt/vk_mem_alloc.h | 17979 | Copy in the other direction - from an allocation to a host pointer can be performed the same way using function vmaCopyA | CODE |