An open-source 3DS emulator project based on Citra.
This report summarizes scanner evidence for azahar-emu/azahar, a C++ project with 8,517 GitHub stars. SynthScan examined 387,011 lines of code across 1633 source files, recording 936 pattern matches distributed across 11 syntactic categories. The legacy adjusted pattern signal is 2.6 (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? 909 finding(s).
Are imports declared and package/API names verified? 15 finding(s).
Are wrappers, guards, and repeated structures necessary? 22 finding(s).
Which changes need focused human review? 936 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 936 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 | tools/verify-release.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | externals/getopt/getopt.h | 41 | #ifdef _GETOPT_API | COMMENT |
| LOW | externals/getopt/getopt.h | 61 | #define _END_EXTERN_C } | COMMENT |
| LOW | externals/getopt/getopt.h | 121 | #undef _GETOPT_API | COMMENT |
| LOW | externals/httplib/httplib.h | 1 | // | COMMENT |
| LOW | externals/httplib/httplib.h | 21 | #ifndef CPPHTTPLIB_KEEPALIVE_MAX_COUNT | COMMENT |
| LOW | externals/httplib/httplib.h | 41 | #ifndef CPPHTTPLIB_WRITE_TIMEOUT_SECOND | COMMENT |
| LOW | externals/httplib/httplib.h | 61 | #ifndef CPPHTTPLIB_REQUEST_URI_MAX_LENGTH | COMMENT |
| LOW | externals/httplib/httplib.h | 81 | #ifndef CPPHTTPLIB_FORM_URL_ENCODED_PAYLOAD_MAX_LENGTH | COMMENT |
| LOW | externals/httplib/httplib.h | 101 | : 0)) | COMMENT |
| LOW | externals/httplib/httplib.h | 121 | #ifndef _CRT_SECURE_NO_WARNINGS | COMMENT |
| LOW | externals/httplib/httplib.h | 141 | #endif // _MSC_VER | COMMENT |
| LOW | externals/httplib/httplib.h | 161 | #endif | COMMENT |
| LOW | externals/httplib/httplib.h | 181 | #define NI_MAXHOST 1025 | COMMENT |
| LOW | externals/httplib/httplib.h | 201 | COMMENT | |
| LOW | externals/httplib/httplib.h | 221 | #include <iostream> | COMMENT |
| LOW | externals/httplib/httplib.h | 241 | // these are defined in wincrypt.h and it breaks compilation if BoringSSL is | COMMENT |
| LOW | externals/httplib/httplib.h | 261 | #include <CoreFoundation/CoreFoundation.h> | COMMENT |
| LOW | externals/json/json.hpp | 21 | #include <algorithm> // all_of, find, for_each | COMMENT |
| LOW | externals/json/json.hpp | 41 | // SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me> | COMMENT |
| LOW | externals/json/json.hpp | 61 | #ifndef JSON_SKIP_LIBRARY_VERSION_CHECK | COMMENT |
| LOW | externals/json/json.hpp | 81 | #if JSON_DIAGNOSTICS | COMMENT |
| LOW | externals/json/json.hpp | 141 | { | COMMENT |
| LOW | externals/json/json.hpp | 161 | #include <algorithm> // transform | COMMENT |
| LOW | externals/json/json.hpp | 181 | COMMENT | |
| LOW | externals/json/json.hpp | 201 | #include <array> // array | COMMENT |
| LOW | externals/json/json.hpp | 221 | // | | |__ | | | | | | version 3.11.2 | COMMENT |
| LOW | externals/json/json.hpp | 321 | // | | |__ | | | | | | version 3.11.2 | COMMENT |
| LOW | externals/json/json.hpp | 341 | #define JSON_HEDLEY_STRINGIFY_EX(x) #x | COMMENT |
| LOW | externals/json/json.hpp | 361 | #define JSON_HEDLEY_CONCAT3_EX(a,b,c) a##b##c | COMMENT |
| LOW | externals/json/json.hpp | 381 | #define JSON_HEDLEY_VERSION_DECODE_MINOR(version) (((version) % 1000000) / 1000) | COMMENT |
| LOW | externals/json/json.hpp | 401 | #define JSON_HEDLEY_GNUC_VERSION_CHECK(major,minor,patch) (JSON_HEDLEY_GNUC_VERSION >= JSON_HEDLEY_VERSION_ENCODE(ma | COMMENT |
| LOW | externals/json/json.hpp | 421 | #define JSON_HEDLEY_MSVC_VERSION_CHECK(major,minor,patch) (0) | COMMENT |
| LOW | externals/json/json.hpp | 441 | #endif | COMMENT |
| LOW | externals/json/json.hpp | 461 | #define JSON_HEDLEY_INTEL_CL_VERSION_CHECK(major,minor,patch) (0) | COMMENT |
| LOW | externals/json/json.hpp | 481 | #undef JSON_HEDLEY_SUNPRO_VERSION | COMMENT |
| LOW | externals/json/json.hpp | 501 | COMMENT | |
| LOW | externals/json/json.hpp | 521 | #if defined(__CC_ARM) && defined(__ARMCOMPILER_VERSION) | COMMENT |
| LOW | externals/json/json.hpp | 541 | #elif defined(__xlC__) && defined(__xlC_ver__) | COMMENT |
| LOW | externals/json/json.hpp | 561 | ( \ | COMMENT |
| LOW | externals/json/json.hpp | 581 | #undef JSON_HEDLEY_TI_CL2000_VERSION | COMMENT |
| LOW | externals/json/json.hpp | 601 | #endif | COMMENT |
| LOW | externals/json/json.hpp | 621 | #endif | COMMENT |
| LOW | externals/json/json.hpp | 641 | #define JSON_HEDLEY_TI_CL6X_VERSION_CHECK(major,minor,patch) (0) | COMMENT |
| LOW | externals/json/json.hpp | 661 | #undef JSON_HEDLEY_TI_CLPRU_VERSION | COMMENT |
| LOW | externals/json/json.hpp | 681 | #define JSON_HEDLEY_CRAY_VERSION JSON_HEDLEY_VERSION_ENCODE(_RELEASE_MAJOR, _RELEASE_MINOR, _RELEASE_PATCHLEVEL) | COMMENT |
| LOW | externals/json/json.hpp | 701 | #define JSON_HEDLEY_IAR_VERSION JSON_HEDLEY_VERSION_ENCODE((__VER__ / 1000000), ((__VER__ / 1000) % 1000), (__VE | COMMENT |
| LOW | externals/json/json.hpp | 721 | #endif | COMMENT |
| LOW | externals/json/json.hpp | 741 | #endif | COMMENT |
| LOW | externals/json/json.hpp | 761 | #define JSON_HEDLEY_COMPCERT_VERSION_CHECK(major,minor,patch) (0) | COMMENT |
| LOW | externals/json/json.hpp | 781 | #undef JSON_HEDLEY_MCST_LCC_VERSION | COMMENT |
| LOW | externals/json/json.hpp | 821 | #if defined(JSON_HEDLEY_GCC_VERSION) | COMMENT |
| LOW | externals/json/json.hpp | 841 | #undef JSON_HEDLEY_GNUC_HAS_ATTRIBUTE | COMMENT |
| LOW | externals/json/json.hpp | 861 | #if \ | COMMENT |
| LOW | externals/json/json.hpp | 881 | #else | COMMENT |
| LOW | externals/json/json.hpp | 901 | #endif | COMMENT |
| LOW | externals/json/json.hpp | 921 | #if defined(JSON_HEDLEY_GCC_HAS_BUILTIN) | COMMENT |
| LOW | externals/json/json.hpp | 941 | #endif | COMMENT |
| LOW | externals/json/json.hpp | 961 | #define JSON_HEDLEY_HAS_EXTENSION(extension) __has_extension(extension) | COMMENT |
| LOW | externals/json/json.hpp | 981 | #define JSON_HEDLEY_GCC_HAS_EXTENSION(extension,major,minor,patch) JSON_HEDLEY_GCC_VERSION_CHECK(major,minor,patch) | COMMENT |
| 822 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | src/core/hle/service/nfc/nfc_device.cpp | 642 | tag.file.settings.settings.font_region.Assign(0); | CODE |
| CRITICAL | src/core/hle/service/nfc/nfc_device.cpp | 643 | tag.file.settings.settings.amiibo_initialized.Assign(0); | CODE |
| CRITICAL | src/core/hle/service/nfc/nfc_device.cpp | 721 | if (tag.file.settings.settings.appdata_initialized.Value() == 0) { | CODE |
| CRITICAL | src/core/hle/service/nfc/nfc_device.cpp | 748 | if (tag.file.settings.settings.appdata_initialized.Value() == 0) { | CODE |
| CRITICAL | src/core/hle/service/nfc/nfc_device.cpp | 773 | if (tag.file.settings.settings.appdata_initialized.Value() == 0) { | CODE |
| CRITICAL | src/core/hle/service/nfc/nfc_device.cpp | 812 | if (tag.file.settings.settings.appdata_initialized.Value() == 0) { | CODE |
| CRITICAL | src/core/hle/service/nfc/nfc_device.cpp | 845 | if (tag.file.settings.settings.appdata_initialized.Value() != 0) { | CODE |
| CRITICAL | src/core/hle/service/nfc/nfc_device.cpp | 894 | tag.file.settings.settings.appdata_initialized.Assign(1); | CODE |
| CRITICAL | src/core/hle/service/nfc/nfc_device.cpp | 937 | tag.file.settings.settings.appdata_initialized.Assign(0); | CODE |
| CRITICAL | src/core/hle/service/nfc/nfc_device.cpp | 957 | has_application_area = tag.file.settings.settings.appdata_initialized.Value() != 0; | CODE |
| CRITICAL | src/video_core/pica/pica_core.cpp | 540 | const auto lut_table = regs.internal.texturing.proctex_lut_config.ref_table.Value(); | CODE |
| CRITICAL | src/video_core/pica/pica_core.cpp | 822 | const auto lut_table = regs.internal.texturing.proctex_lut_config.ref_table.Value(); | CODE |
| CRITICAL | src/video_core/pica/pica_core.cpp | 1190 | find_info.paddr = regs.internal.framebuffer.framebuffer.color_buffer_address.Value() * 8; | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | CMakeLists.txt | 248 | # ======================================================================= | COMMENT |
| MEDIUM | CMakeLists.txt | 264 | # ======================================================================= | COMMENT |
| MEDIUM | CMakeLists.txt | 280 | # ======================================================================= | COMMENT |
| MEDIUM | CMakeLists.txt | 291 | # ======================================================================= | COMMENT |
| MEDIUM | CMakeLists.txt | 307 | # ======================================================================= | COMMENT |
| MEDIUM | CMakeLists.txt | 337 | # ======================================================================= | COMMENT |
| MEDIUM | CMakeLists.txt | 376 | # =========================== | COMMENT |
| MEDIUM | CMakeLists.txt | 397 | # ====================== | COMMENT |
| MEDIUM | CMakeLists.txt | 450 | # ====================================== | COMMENT |
| MEDIUM | CMakeLists.txt | 489 | # ======================================================================= | COMMENT |
| MEDIUM | CMakeLists.txt | 538 | # =================== | COMMENT |
| MEDIUM | CMakeLists.txt | 640 | # ========================= | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | src/common/android_utils.cpp | 292 | // Step 1: Create directory named after UUID inside /tmp to house the moved file. | COMMENT |
| LOW⚡ | src/common/android_utils.cpp | 298 | // Step 2: Attempt to move to allocated temporary directory. | COMMENT |
| LOW⚡ | src/common/android_utils.cpp | 302 | // Step 3: Rename to desired file name. | COMMENT |
| LOW⚡ | src/common/android_utils.cpp | 305 | // Step 4: If a file with the desired name in the destination exists, remove it. | COMMENT |
| LOW⚡ | src/common/android_utils.cpp | 308 | // Step 5: Attempt to move file to desired location. | COMMENT |
| LOW⚡ | src/common/android_utils.cpp | 316 | // Step 6: Clean up the allocated temp directory. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | src/common/android_utils.cpp | 292 | // Step 1: Create directory named after UUID inside /tmp to house the moved file. | COMMENT |
| LOW⚡ | src/common/android_utils.cpp | 298 | // Step 2: Attempt to move to allocated temporary directory. | COMMENT |
| LOW⚡ | src/common/android_utils.cpp | 302 | // Step 3: Rename to desired file name. | COMMENT |
| LOW⚡ | src/common/android_utils.cpp | 305 | // Step 4: If a file with the desired name in the destination exists, remove it. | COMMENT |
| LOW⚡ | src/common/android_utils.cpp | 308 | // Step 5: Attempt to move file to desired location. | COMMENT |
| LOW⚡ | src/common/android_utils.cpp | 316 | // Step 6: Clean up the allocated temp directory. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | externals/microprofile/microprofile_html.h | 1155 | "function PreprocessCalculateAllTimers()\n" | CODE |
| LOW | externals/microprofile/microprofile_html.h | 2084 | "function PreprocessContextSwitchCacheItem(ThreadId)\n" | CODE |
| LOW | externals/microprofile/microprofile_html.h | 2130 | "function PreprocessContextSwitchCache()\n" | CODE |
| LOW | externals/microprofile/microprofile_html.h | 3429 | "function PreprocessBuildSplitArray()\n" | CODE |
| LOW | externals/microprofile/microprofile_html.h | 3519 | "function PreprocessBuildDurationArray()\n" | CODE |
| LOW | externals/microprofile/microprofile_html.h | 3722 | "function PreprocessFindFirstFrames()\n" | CODE |
| LOW | src/core/hle/service/sm/sm.h | 27 | class SessionRequestHandler; | CODE |
| LOW | src/core/hle/kernel/hle_ipc.h | 47 | class SessionRequestHandler : public std::enable_shared_from_this<SessionRequestHandler> { | CODE |
| LOW | src/core/hle/kernel/server_port.h | 21 | class SessionRequestHandler; | CODE |
| LOW | src/core/hle/kernel/server_session.h | 25 | class SessionRequestHandler; | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/core/hle/service/apt/applet_manager.cpp | 1263 | // TODO: Add error description name when the parameter is known. | COMMENT |
| LOW | src/tests/core/core_timing.cpp | 199 | // TODO: Add tests for multiple timers | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | src/core/hle/service/fs/file.h | 38 | // TODO: File is not a real service, but it can still utilize ServiceFramework::RegisterHandlers. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/core/hle/service/nwm/uds_beacon.cpp | 103 | constexpr std::array<u8, 3> dummy_data = {0x0A, 0x00, 0x00}; | CODE |
| LOW | src/core/hle/service/nwm/uds_beacon.cpp | 110 | tag.data = dummy_data; | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/verify-release.sh | 9 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/fix-license-headers.py | 116 | CODE |