AI Slop Code RIsk Monitor

willfaust/Madeira

Run x86-64 Windows PC games on jailed iOS via FEX-Emu + Wine + DXMT

23.8 Elevated pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for willfaust/Madeira, a C project with 2,108 GitHub stars. SynthScan examined 134,223 lines of code across 334 source files, recording 832 pattern matches distributed across 9 syntactic categories. The legacy adjusted pattern signal is 23.8 (Elevated 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.

23.8
Adjusted Signal
23.8
Raw Pattern Score
100%
Time Factor
2026-10-06
Last Push
2.1K
Stars
C
Language
134.2K
Lines of Code
334
Files
832
Pattern Hits
2026-10-12
Scan Date
1.46
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 13.4/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 337 finding(s).

Hallucinated Dependency & Supply Chain Risk 64.8/100 · HIGH

Are imports declared and package/API names verified? 494 finding(s).

Agent Over-Engineering Ratio 0.5/100 · LOW

Are wrappers, guards, and repeated structures necessary? 8 finding(s).

PR Review Velocity Impact 70.5/100 · HIGH

Which changes need focused human review? 832 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

Run additional scans to build a history of the legacy pattern signal. Score changes are not a measure of AI adoption or code quality.

No multi-scan history yet — run the scanner again to build trend data.

Severity Breakdown

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.

CRITICAL 0HIGH 487MEDIUM 4LOW 341

Directory Score Breakdown

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.

Pattern Findings

The scanner identified 832 distinct pattern matches across 9 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.

Cross-Language Confusion486 hits · 2796 pts
SeverityFileLineSnippetContext
HIGHtests/host/check-onboarding.py220 expect(R.revision == 3 && R.Step.wineMono.rawValue == "wine-mono" && R.Step.wineMono.introduced == 3CODE
HIGHtests/host/check-onboarding.py221 && R.Step.localDevVPN.introduced == 2 && R.Step.jit.introduced == 1, "revision 3 adds Wine Mono")CODE
HIGHtests/host/check-onboarding.py272 expect(R.position(of: .welcome, in: full) == nil && R.position(of: .done, in: full) == nil, "no counter on welcoCODE
HIGHtests/host/check-dock-contract.py77 'if dockLaunch.dock && SteamSignIn.flag("MADEIRA_DOCK_CLEAR_STEAM_ID", default: true) {' in content andCODE
HIGHtests/host/check-dock-contract.py151 require(game.id == 4000 && game.name == "Fixture" && game.installed && game.customExecutables, "installed manifeCODE
HIGHtests/host/check-dock-contract.py154 require(updating.installed && !updating.customExecutables && updating.name == "App 4001", "installed plus updateCODE
HIGHtests/host/check-dock-contract.py165 require(MadeiraDock.libraryRelative("D:\\Games") == nil && MadeiraDock.libraryRelative("C:\\..\\x") == nil &&CODE
HIGHtests/host/check-dock-contract.py224 env("MADEIRA_STEAM_HOST_EXPECTED_INSTALL") == game.windowsInstallPath && env("MADEIRA_STEAM_HOST_LOG") =CODE
HIGHtests/host/check-dock-contract.py225 require(env("MADEIRA_STEAM_HOST_ACCOUNT") == nil && env("MADEIRA_STEAM_HOST_STEAMID") == nil, "the cached-accounCODE
HIGHtests/host/check-child-desktop.py98 if (!d || server_refuses) return 0xc0000008; /* no desktop: STATUS_INVALID_HANDLE */CODE
HIGH⚡tests/host/check-child-desktop.py137 assert( !h && requests == 1 && !registrations && !winstation_inits );CODE
HIGH⚡tests/host/check-child-desktop.py141 assert( h == (HWND)0x10020 && thread_infos[1].msg_window == 0x10022 );CODE
HIGH⚡tests/host/check-child-desktop.py142 assert( requests == 2 && registrations == 1 && !winstation_inits && set_desktop_calls == 1 );CODE
HIGH⚡tests/host/check-child-desktop.py146 assert( get_desktop_window() == (HWND)0x10020 && requests == 1 && registrations == 1 );CODE
HIGH⚡tests/host/check-child-desktop.py150 assert( get_desktop_window() == (HWND)0x10020 && requests == 1 && registrations == 1 );CODE
HIGH⚡tests/host/check-child-desktop.py155 assert( get_desktop_window() == (HWND)0x10020 && winstation_inits == 1 && registrations == 2 && requests == 3 );CODE
HIGH⚡tests/host/check-child-desktop.py160 assert( !get_desktop_window() && requests == 1 && registrations == 2 && winstation_inits == 1 );CODE
HIGH⚡tests/host/check-child-desktop.py164 assert( !get_desktop_window() && requests == 2 && registrations == 3 );CODE
HIGH⚡tests/host/check-child-desktop.py166 assert( !get_desktop_window() && requests == 1 && registrations == 3 && winstation_inits == 1 );CODE
HIGH⚡tests/host/check-wma-decoder.py39head = '} else if (match && strstr(match, "winegstreamer") && (wow || ios_wg_64bit_opted_in())) {'CODE
HIGH⚡tests/host/check-wma-decoder.py39head = '} else if (match && strstr(match, "winegstreamer") && (wow || ios_wg_64bit_opted_in())) {'CODE
HIGH⚡tests/host/check-wma-decoder.py41assert head in virtual, "the winegstreamer branch must be gated on wow || MADEIRA_WG_64BIT"CODE
HIGHtests/host/check-wma-decoder.py254 CHECK( read.result == S_OK && sample.size, "read result %#x size %u", (unsigned)read.result, sample.size );CODE
HIGH⚡tests/host/check-wg-parser.py535 CHECK( mav_stream_count( p ) == 1 && mav_stream_info( p, 0, &info ) == MAV_OK, "one stream" );CODE
HIGH⚡tests/host/check-wg-parser.py537 CHECK( mav_stream_info( p, 0, &info ) == MAV_OK && info.type == MAV_STREAM_AUDIO, "audio" );CODE
HIGH⚡tests/host/check-wg-parser.py538 CHECK( !strcmp( info.container, "wav" ) && info.kind == MAV_CODEC_PCM && info.native.fmt == MAV_FMT_S16CODE
HIGH⚡tests/host/check-wg-parser.py539 && info.native.rate == 22050 && info.native.channels == 2 && info.native.channel_mask == 3,CODE
HIGH⚡tests/host/check-wg-parser.py548 CHECK( d.first_pts == 0 && d.gaps == 0 && d.end_pts == 10000000 && d.discont == 1, "timeline %llu..%llu gaps %d discCODE
HIGH⚡tests/host/check-wg-parser.py557 CHECK( d.size / 4 >= 5512 && d.size / 4 <= 5513, "stop trimmed to %zu frames", d.size / 4 );CODE
HIGH⚡tests/host/check-wg-parser.py630 CHECK( mav_stream_info( p, 0, &info ) == MAV_OK && info.kind == MAV_CODEC_MPEG_AUDIO && (int)info.layer == expect_laCODE
HIGH⚡tests/host/check-wg-parser.py631 && info.native.fmt == MAV_FMT_S16 && info.native.rate && info.native.channels, "%s: info layer %u", what, infCODE
HIGH⚡tests/host/check-wg-parser.py632 CHECK( mav_enable( p, 0, &info.native ) == MAV_OK && mav_seek( p, 0, 1, 0, 1, info.duration ) == MAV_OK, "%s: start"CODE
HIGH⚡tests/host/check-wg-parser.py640 CHECK( d.gaps == 0 && d.first_pts < 1000000, "%s: continuous timeline (gaps %d, first %llu)", what, d.gaps, (unsigneCODE
HIGH⚡tests/host/check-wg-parser.py646 CHECK( d.first_pts == target && d.discont == 1, "%s: first pts %llu after seek to %llu", what,CODE
HIGH⚡tests/host/check-wg-parser.py651 CHECK( s.oversize == 0 && s.out_of_range == 0, "%s: requests within bounds", what );CODE
HIGH⚡tests/host/check-wg-parser.py777 CHECK( mav_stream_info( p, 0, &vi ) == MAV_OK && vi.type == MAV_STREAM_VIDEO && vi.kind == MAV_CODEC_H264CODE
HIGH⚡tests/host/check-wg-parser.py779 CHECK( vi.vnative.fmt == MAV_PIX_NV12 && vi.vnative.width == W && vi.vnative.height == HCODE
HIGH⚡tests/host/check-wg-parser.py780 && vi.vnative.fps_n == FPS && vi.vnative.fps_d == 1, "native %s %dx%d %u/%u", mav_pix_name( vi.vnative.fmt ),CODE
HIGH⚡tests/host/check-wg-parser.py784 CHECK( mav_stream_info( p, 1, &ai ) == MAV_OK && ai.type == MAV_STREAM_AUDIO && ai.kind == MAV_CODEC_AACCODE
HIGH⚡tests/host/check-wg-parser.py785 && ai.native.fmt == MAV_FMT_F32 && ai.native.rate == 44100 && ai.native.channels == 2CODE
HIGH⚡tests/host/check-wg-parser.py791 CHECK( mav_enable_video( p, 0, &vi.vnative ) == MAV_OK && mav_enable( p, 1, &ai.native ) == MAV_OK, "enable" );CODE
HIGH⚡tests/host/check-wg-parser.py823 CHECK( dv.buffers == frames && dv.discont == 1, "%d pictures (discont %d)", dv.buffers, dv.discont );CODE
HIGH⚡tests/host/check-wg-parser.py824 CHECK( stub_vmapped == 0 && stub_vlive == 0, "every picture unmapped (%d) and released (%d)", stub_vmapped, stub_vliCODE
HIGH⚡tests/host/check-wg-parser.py827 CHECK( da.first_pts == 0 && da.gaps == 0, "audio timeline first %llu gaps %d", (unsigned long long)da.first_pts, da.CODE
HIGH⚡tests/host/check-wg-parser.py829 CHECK( rms > 0.2 && peak < 0.5, "audio rms %.3f peak %.3f (a 0.35 tone)", rms, peak );CODE
HIGH⚡tests/host/check-wg-parser.py836 CHECK( dv.buffers == frames && dv.gaps == 0 && dv.first_pts == 0, "video-first pass: %d pictures gaps %d", dv.bufferCODE
HIGH⚡tests/host/check-wg-parser.py839 CHECK( da.first_pts == 0 && da.gaps == 0 && fabs( da.size / 8.0 / 44100 - seconds ) < 1024.0 / 44100 + 0.001,CODE
HIGH⚡tests/host/check-wg-parser.py849 CHECK( mav_get_buffer( p, 0, &b ) == MAV_OK && b.discontinuity, "picture after seek" );CODE
HIGH⚡tests/host/check-wg-parser.py851 CHECK( llabs( (long long)b.pts - 16000000 ) <= 1 && picture_index( pic, 0, MAV_PIX_NV12 ) == 48,CODE
HIGH⚡tests/host/check-wg-parser.py856 CHECK( da.first_pts == 16000000 && da.discont == 1 && fabs( da.size / 8.0 / 44100 - (seconds - 1.6) ) < 1024.0 / 441CODE
HIGH⚡tests/host/check-wg-parser.py867 CHECK( dv.buffers == 30 && dv.end_pts <= 10000001, "stop: %d pictures to %llu", dv.buffers, (unsigned long long)dv.eCODE
HIGH⚡tests/host/check-wg-parser.py868 CHECK( llabs( (long long)da.end_pts - 10000000 ) <= 1 && da.first_pts == 0, "stop: audio to %llu", (unsigned long loCODE
HIGH⚡tests/host/check-wg-parser.py877 CHECK( b.stream < 2 && b.pts + 1 >= last, "earliest: stream %u pts %llu after %llu", b.stream, (unsigned lonCODE
HIGH⚡tests/host/check-wg-parser.py881 CHECK( r == MAV_NO_BUFFER && count[0] == frames && count[1] > 100, "earliest: %d pictures %d audio buffers", couCODE
HIGH⚡tests/host/check-wg-parser.py888 CHECK( dv.buffers == frames && mav_get_buffer( p, 1, &(struct mav_buffer){0} ) == MAV_NO_BUFFER, "video alone" );CODE
HIGH⚡tests/host/check-wg-parser.py890 CHECK( s.oversize == 0 && s.out_of_range == 0, "requests within bounds" );CODE
HIGH⚡tests/host/check-wg-parser.py987 CHECK( mav_connect( p, size ) == MAV_OK && mav_stream_count( p ) == 1, "pcm_s16be not exposed, video is" );CODE
HIGH⚡tests/host/check-wg-parser.py988 CHECK( mav_stream_info( p, 0, &info ) == MAV_OK && info.type == MAV_STREAM_VIDEO, "stream 0 is the video" );CODE
HIGH⚡tests/host/check-wg-parser.py994 CHECK( mav_connect( p, size ) == MAV_OK && mav_stream_count( p ) == 1, "m4a" );CODE
HIGH⚡tests/host/check-wg-parser.py995 CHECK( mav_stream_info( p, 0, &info ) == MAV_OK && info.kind == MAV_CODEC_AAC, "m4a is aac" );CODE
426 more matches not shown…
Over-Commented Block250 hits · 228 pts
SeverityFileLineSnippetContext
LOWresearch/remote-metal/run-host.sh1#!/bin/shCOMMENT
LOWresearch/remote-metal/host/rmetald.m1/* Remote Metal host daemon -- runs on macOS, owns the real MTLDevice.COMMENT
LOWresearch/remote-metal/guest/rmtest.c1/* Remote Metal guest spike -- runs natively on the iOS guest, no FEX involved.COMMENT
LOWtools/check-prefix-template.sh1#!/bin/shCOMMENT
LOWtools/deploy-vm.sh1#!/bin/bashCOMMENT
LOWtools/deploy-vm.sh101# it hands the next launch a fresh log written by the OLD binary, which readsCOMMENT
LOW…rk/ios-arm64/StikJIT.framework/Headers/StikJIT-Swift.h1#if 0COMMENT
LOW…rk/ios-arm64/StikJIT.framework/Headers/StikJIT-Swift.h21COMMENT
LOW…rk/ios-arm64/StikJIT.framework/Headers/StikJIT-Swift.h41#include <string.h>COMMENT
LOW…rk/ios-arm64/StikJIT.framework/Headers/StikJIT-Swift.h81typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3)));COMMENT
LOW…rk/ios-arm64/StikJIT.framework/Headers/StikJIT-Swift.h101# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X)))COMMENT
LOW…rk/ios-arm64/StikJIT.framework/Headers/StikJIT-Swift.h121# if __has_attribute(noescape)COMMENT
LOW…rk/ios-arm64/StikJIT.framework/Headers/StikJIT-Swift.h141#if !defined(SWIFT_NORETURN)COMMENT
LOW…rk/ios-arm64/StikJIT.framework/Headers/StikJIT-Swift.h161# elseCOMMENT
LOW…rk/ios-arm64/StikJIT.framework/Headers/StikJIT-Swift.h181#endifCOMMENT
LOW…rk/ios-arm64/StikJIT.framework/Headers/StikJIT-Swift.h201# elseCOMMENT
LOW…rk/ios-arm64/StikJIT.framework/Headers/StikJIT-Swift.h221# endifCOMMENT
LOW…rk/ios-arm64/StikJIT.framework/Headers/StikJIT-Swift.h241#if !defined(SWIFT_DEPRECATED_MSG)COMMENT
LOW…rk/ios-arm64/StikJIT.framework/Headers/StikJIT-Swift.h261# endifCOMMENT
LOW…rk/ios-arm64/StikJIT.framework/Headers/StikJIT-Swift.h281# if __has_attribute(always_inline)COMMENT
LOW…rk/ios-arm64/StikJIT.framework/Headers/StikJIT-Swift.h301# define _NonnullCOMMENT
LOW…rk/ios-arm64/StikJIT.framework/Headers/StikJIT-Swift.h321#pragma clang diagnostic ignored "-Wunknown-pragmas"COMMENT
LOW…rk/ios-arm64/StikJIT.framework/Headers/StikJIT-Swift.h341#if __has_attribute(external_source_symbol)COMMENT
LOW…rk/ios-arm64/StikJIT.framework/Headers/StikJIT-Swift.h361#pragma clang diagnostic ignored "-Wunsafe-buffer-usage"COMMENT
LOW…rk/ios-arm64/StikJIT.framework/Headers/StikJIT-Swift.h381#elseCOMMENT
LOWapp/Madeira/PrefixExtractor.c1// Minimal gzip + ustar extractor. Handles the subset of tar produced byCOMMENT
LOWapp/Madeira/JITNetwork.swift1// SPDX-License-Identifier: GPL-3.0-or-laterCOMMENT
LOWapp/Madeira/JITNetwork.swift21/// (the address StikDebug uses). Two steps, neither depending on what lockdownd saysCOMMENT
LOWapp/Madeira/JITNetwork.swift161/// The Madeira JIT shortcut, two ways to add it. `iCloudLink` opens Shortcuts straight atCOMMENT
LOWapp/Madeira/JITNetwork.swift181}COMMENT
LOWapp/Madeira/LogPattern.swift1import FoundationCOMMENT
LOWapp/Madeira/WineMono.swift1// SPDX-License-Identifier: GPL-3.0-or-laterCOMMENT
LOWapp/Madeira/Library.swift1import SwiftUICOMMENT
LOWapp/Madeira/Library.swift161 /// A user-chosen cover in Documents/madeira-art/.COMMENT
LOWapp/Madeira/Library.swift201 // ml1163: how a game starts. All optional, so older library files decode andCOMMENT
LOWapp/Madeira/Library.swift221 /// without controller support. Optional, so older files decode.COMMENT
LOWapp/Madeira/Library.swift241 var reportNVIDIA: Bool?COMMENT
LOWapp/Madeira/Library.swift261 /// cached (LibraryModel.refreshSteamMetadata); any change reads them again.COMMENT
LOWapp/Madeira/Library.swift301 /// game started as its own program) the target is that program.COMMENT
LOWapp/Madeira/Library.swift501 // "dinput": the host pad also as a DirectInput joystick (wine/dlls/dinput/joystick_ios.c,COMMENT
LOWapp/Madeira/Library.swift3561/// budget (vram-mb), the file-backed swap tier (swap-mb, off by default, andCOMMENT
LOWapp/Madeira/FPSOverlay.swift1import SwiftUICOMMENT
LOWapp/Madeira/FPSOverlay.swift101/// Small overlay shown over the Metal render view. Reads DXMT's presentCOMMENT
LOWapp/Madeira/FPSOverlay.swift121 /// Mirrors DXMT's g_madeira_vsync_mode (read per present, live-safe).COMMENT
LOWapp/Madeira/FPSOverlay.swift221 /// Pacing pill, cycles 60 → MAX(n) → RAW → 30 → 40 → 60. Shared by the wideCOMMENT
LOWapp/Madeira/SavesAndShortcuts.swift1// SPDX-License-Identifier: GPL-3.0-or-laterCOMMENT
LOWapp/Madeira/LogStore.swift121COMMENT
LOWapp/Madeira/PadOutput.m1// ml2106: a game's controller output applied to the physical pad.COMMENT
LOWapp/Madeira/PadOutput.m21// the large, low-frequency motor; right = the small, high-frequency one)COMMENT
LOWapp/Madeira/JITPairing.swift1// SPDX-License-Identifier: GPL-3.0-or-laterCOMMENT
LOWapp/Madeira/JITPairing.swift21// Built-in StikJIT reads it.COMMENT
LOWapp/Madeira/Madeira-Bridging-Header.h1#import "JITAllocator.h"COMMENT
LOWapp/Madeira/Madeira-Bridging-Header.h41// via afterMinimumDuration, 0 = free-run to display max (120 ProMotion,COMMENT
LOWapp/Madeira/DockStartScreen.swift1// SPDX-License-Identifier: GPL-3.0-or-laterCOMMENT
LOWapp/Madeira/DockStartScreen.swift181 revealed = trueCOMMENT
LOWapp/Madeira/GuestDisplay.swift1import FoundationCOMMENT
LOWapp/Madeira/MadeiraConfig.swift1import FoundationCOMMENT
LOWapp/Madeira/PadKeyboardMouse.swift1import FoundationCOMMENT
LOWapp/Madeira/PadKeyboardMouse.swift21/// - Inputs neither of those bind take the built-in template below: WASD onCOMMENT
LOWapp/Madeira/FEXBridge.mm1// FEXBridge.mm - Bridge between iOS app and FEXCoreCOMMENT
190 more matches not shown…
Verbosity Indicators34 hits · 65 pts
SeverityFileLineSnippetContext
LOW⚡app/Madeira/FEXBridge.mm125 // Step 1: Ask debugger to allocate RX pagesCOMMENT
LOW⚡app/Madeira/FEXBridge.mm134 // Step 2: vm_remap to create RW view of the same pagesCOMMENT
LOW⚡app/Madeira/FEXBridge.mm372 // Step 1: Initialize JIT poolCOMMENT
LOW⚡app/Madeira/FEXBridge.mm378 // Step 2: Install mmap hooks BEFORE FEXCore does any allocationsCOMMENT
LOW⚡app/Madeira/FEXBridge.mm383 // Step 3: Install FEX log handlersCOMMENT
LOW⚡app/Madeira/FEXBridge.mm469 // Step 7: Set handlersCOMMENT
LOW⚡app/Madeira/FEXBridge.mm473 // Step 8: Enable hardware TSO (Apple Silicon supports TSO mode)COMMENT
LOW⚡app/Madeira/FEXBridge.mm476 // Step 9: Initialize core (creates Dispatcher)COMMENT
LOWapp/Madeira/FEXBridge.mm148 // Step 3: Set the remapped view to RWCOMMENT
LOWapp/Madeira/FEXBridge.mm412 // Step 4: Initialize FEXCore configCOMMENT
LOWapp/Madeira/FEXBridge.mm430 // Step 5: Create HostFeatures for Apple A15 (iPhone 13 Pro)COMMENT
LOWapp/Madeira/FEXBridge.mm454 // Step 6: Create contextCOMMENT
LOW⚡app/Madeira/ContentView.swift3143 // Step 2: Start wineserverCOMMENT
LOW⚡app/Madeira/ContentView.swift3147 // Step 3: Start Wine.COMMENT
LOW⚡app/Madeira/ContentView.swift3232 // Step 5: Resume UI + os_log, give main thread time to recover before detachCOMMENT
LOW⚡app/Madeira/ContentView.swift3239 // Step 6: Detach debugger — main thread should have zero accumulated hang timeCOMMENT
LOWapp/Madeira/ContentView.swift2618 // Step 1: Allocate JIT pool (BRK suspends entire process)COMMENT
LOWapp/Madeira/ContentView.swift3164 // Step 4: Wait for Wine to finish instead of fixed timerCOMMENT
LOWapp/Madeira/JITAllocator.c114 // Step 1: Create a named memory entryCOMMENT
LOWapp/Madeira/JITAllocator.c136 // Step 2: Mark as no-footprint (MeloNX trick)COMMENT
LOWapp/Madeira/JITAllocator.c668 // Step 1: Let StikDebug allocate RX pages via _M command (x0=0)COMMENT
LOWapp/Madeira/JITAllocator.c680 // Step 2: Use vm_remap to create a second view of the same pages (MeloNX approach)COMMENT
LOWapp/Madeira/JITAllocator.c707 // Step 3: Set the remapped view to RW (MeloNX does this)COMMENT
LOW⚡app/Madeira/JITAllocator.c719 // Step 4: Write code to RW viewCOMMENT
LOW⚡app/Madeira/JITAllocator.c729 // Step 5: Execute from debugger-allocated RXCOMMENT
LOWapp/Madeira/SwiftSteam/Auth/SteamCredentialAuth.swift50 // Step 1: Get RSA public key for password encryptionCOMMENT
LOW⚡app/Madeira/SwiftSteam/Auth/SteamCredentialAuth.swift62 // Step 2: Encrypt password with Steam's RSA public keyCOMMENT
LOW⚡app/Madeira/SwiftSteam/Auth/SteamCredentialAuth.swift69 // Step 3: Begin auth sessionCOMMENT
LOWapp/Madeira/SwiftSteam/Auth/SteamCredentialAuth.swift87 // Step 4: Steam Guard. k_EAuthSessionGuardType: 1 none, 2 email code,COMMENT
LOW⚡…p/Madeira/SwiftSteam/Library/SteamLibraryFetcher.swift27 // Step 1: the license list (owned packages).COMMENT
LOW⚡…p/Madeira/SwiftSteam/Library/SteamLibraryFetcher.swift32 // Step 2: PICS access tokens for the packages.COMMENT
LOW⚡…p/Madeira/SwiftSteam/Library/SteamLibraryFetcher.swift35 // Step 3: package info, to extract the app IDs.COMMENT
LOW⚡…p/Madeira/SwiftSteam/Library/SteamLibraryFetcher.swift39 // Step 4: PICS access tokens for the apps.COMMENT
LOW⚡…p/Madeira/SwiftSteam/Library/SteamLibraryFetcher.swift42 // Step 5: app info (name, depots, platform support, ...).COMMENT
Structural Annotation Overuse34 hits · 65 pts
SeverityFileLineSnippetContext
LOW⚡app/Madeira/FEXBridge.mm125 // Step 1: Ask debugger to allocate RX pagesCOMMENT
LOW⚡app/Madeira/FEXBridge.mm134 // Step 2: vm_remap to create RW view of the same pagesCOMMENT
LOW⚡app/Madeira/FEXBridge.mm372 // Step 1: Initialize JIT poolCOMMENT
LOW⚡app/Madeira/FEXBridge.mm378 // Step 2: Install mmap hooks BEFORE FEXCore does any allocationsCOMMENT
LOW⚡app/Madeira/FEXBridge.mm383 // Step 3: Install FEX log handlersCOMMENT
LOW⚡app/Madeira/FEXBridge.mm469 // Step 7: Set handlersCOMMENT
LOW⚡app/Madeira/FEXBridge.mm473 // Step 8: Enable hardware TSO (Apple Silicon supports TSO mode)COMMENT
LOW⚡app/Madeira/FEXBridge.mm476 // Step 9: Initialize core (creates Dispatcher)COMMENT
LOWapp/Madeira/FEXBridge.mm148 // Step 3: Set the remapped view to RWCOMMENT
LOWapp/Madeira/FEXBridge.mm412 // Step 4: Initialize FEXCore configCOMMENT
LOWapp/Madeira/FEXBridge.mm430 // Step 5: Create HostFeatures for Apple A15 (iPhone 13 Pro)COMMENT
LOWapp/Madeira/FEXBridge.mm454 // Step 6: Create contextCOMMENT
LOW⚡app/Madeira/ContentView.swift3143 // Step 2: Start wineserverCOMMENT
LOW⚡app/Madeira/ContentView.swift3147 // Step 3: Start Wine.COMMENT
LOW⚡app/Madeira/ContentView.swift3232 // Step 5: Resume UI + os_log, give main thread time to recover before detachCOMMENT
LOW⚡app/Madeira/ContentView.swift3239 // Step 6: Detach debugger — main thread should have zero accumulated hang timeCOMMENT
LOWapp/Madeira/ContentView.swift2618 // Step 1: Allocate JIT pool (BRK suspends entire process)COMMENT
LOWapp/Madeira/ContentView.swift3164 // Step 4: Wait for Wine to finish instead of fixed timerCOMMENT
LOWapp/Madeira/JITAllocator.c114 // Step 1: Create a named memory entryCOMMENT
LOWapp/Madeira/JITAllocator.c136 // Step 2: Mark as no-footprint (MeloNX trick)COMMENT
LOWapp/Madeira/JITAllocator.c668 // Step 1: Let StikDebug allocate RX pages via _M command (x0=0)COMMENT
LOWapp/Madeira/JITAllocator.c680 // Step 2: Use vm_remap to create a second view of the same pages (MeloNX approach)COMMENT
LOWapp/Madeira/JITAllocator.c707 // Step 3: Set the remapped view to RW (MeloNX does this)COMMENT
LOW⚡app/Madeira/JITAllocator.c719 // Step 4: Write code to RW viewCOMMENT
LOW⚡app/Madeira/JITAllocator.c729 // Step 5: Execute from debugger-allocated RXCOMMENT
LOWapp/Madeira/SwiftSteam/Auth/SteamCredentialAuth.swift50 // Step 1: Get RSA public key for password encryptionCOMMENT
LOW⚡app/Madeira/SwiftSteam/Auth/SteamCredentialAuth.swift62 // Step 2: Encrypt password with Steam's RSA public keyCOMMENT
LOW⚡app/Madeira/SwiftSteam/Auth/SteamCredentialAuth.swift69 // Step 3: Begin auth sessionCOMMENT
LOWapp/Madeira/SwiftSteam/Auth/SteamCredentialAuth.swift87 // Step 4: Steam Guard. k_EAuthSessionGuardType: 1 none, 2 email code,COMMENT
LOW⚡…p/Madeira/SwiftSteam/Library/SteamLibraryFetcher.swift27 // Step 1: the license list (owned packages).COMMENT
LOW⚡…p/Madeira/SwiftSteam/Library/SteamLibraryFetcher.swift32 // Step 2: PICS access tokens for the packages.COMMENT
LOW⚡…p/Madeira/SwiftSteam/Library/SteamLibraryFetcher.swift35 // Step 3: package info, to extract the app IDs.COMMENT
LOW⚡…p/Madeira/SwiftSteam/Library/SteamLibraryFetcher.swift39 // Step 4: PICS access tokens for the apps.COMMENT
LOW⚡…p/Madeira/SwiftSteam/Library/SteamLibraryFetcher.swift42 // Step 5: app info (name, depots, platform support, ...).COMMENT
AI Slop Vocabulary4 hits · 12 pts
SeverityFileLineSnippetContext
MEDIUMapp/Madeira/ContentView.swift156 // robust correlate is present cadence: 60 FPS content always displays,COMMENT
MEDIUMapp/Madeira/ContentView.swift853 // it seamless: the diameter and the knob offset are plain animatedCOMMENT
MEDIUMtests/host/check-wma-decoder.py89# ------------------------------------------------------------------ harnessCOMMENT
MEDIUMtests/host/check-steam-library.py452# ---------------------------------------------------------------- Swift harnessCOMMENT
Unused Imports8 hits · 8 pts
SeverityFileLineSnippetContext
LOWresearch/remote-metal/schema/wire_schema.py181CODE
LOWtests/host/check-wg-parser.py33CODE
LOWtests/host/check-wow-cpu-area.py15CODE
LOWtests/host/check-jit-pairing.py17CODE
LOWtests/host/check-wine-mono.py21CODE
LOWtests/host/check-scene-batching.py2CODE
LOWtests/host/check-d9-upload-commit.py13CODE
LOWtests/x64/gen_asmconf.py37CODE
Hyper-Verbose Identifiers7 hits · 8 pts
SeverityFileLineSnippetContext
LOW…kJIT.xcframework/ios-arm64/StikJIT.framework/legacy.js1function littleEndianHexStringToNumber(hexStr) {CODE
LOW…kJIT.xcframework/ios-arm64/StikJIT.framework/legacy.js13function numberToLittleEndianHexString(num) {CODE
LOW…T.xcframework/ios-arm64/StikJIT.framework/universal.js210function littleEndianHexStringToNumber(hexStr) {CODE
LOW…T.xcframework/ios-arm64/StikJIT.framework/universal.js222function numberToLittleEndianHexString(num) {CODE
LOWapp/Madeira/madeira-jit.js18function littleEndianHexStringToNumber(hexStr) {CODE
LOWapp/Madeira/madeira-jit.js30function numberToLittleEndianHexString(num) {CODE
LOW…/metal_irconverter_runtime/metal_irconverter_runtime.h308 * Use function IRDescriptorTableSetBufferView() to bind an append/consume buffer to a descriptor table.COMMENT
Deep Nesting8 hits · 8 pts
SeverityFileLineSnippetContext
LOWtests/host/check-swap-coverage.py48CODE
LOWtests/host/check-steam-signin-native.py40CODE
LOWtests/host/check-steam-library.py70CODE
LOWtests/host/check-steam-library.py409CODE
LOWtests/host/check-d3d12-tiled.py36CODE
LOWtests/host/check-dock-components.py94CODE
LOWtests/x64/gen_asmconf.py87CODE
LOWmadeira-d3d12/src/pe/gen_vtables.py74CODE
Empty Error Handlers1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHtests/host/check-steam-library.py441except (ValueError, IndexError, KeyError):CODE