An extremely low latency KVMFR (KVM FrameRelay) implementation for guests with VGA PCI Passthrough.
This report summarizes scanner evidence for gnif/LookingGlass, a C project with 5,751 GitHub stars. SynthScan examined 197,170 lines of code across 590 source files, recording 263 pattern matches distributed across 4 syntactic categories. The legacy adjusted pattern signal is 1.2 (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? 261 finding(s).
Are imports declared and package/API names verified? 1 finding(s).
Are wrappers, guards, and repeated structures necessary? 1 finding(s).
Which changes need focused human review? 263 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 263 distinct pattern matches across 4 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 | idd/LGCommon/CDebug.h | 81 | #define DEBUG_ERROR(fmt, ...) g_debug.Log(CDebug::LEVEL_ERROR, __FUNCTION__, __LINE__, fmt, ##__VA_ARGS__) | COMMENT |
| LOW | idd/LGIddInstall/LGIddInstall.c | 21 | #define WIN32_LEAN_AND_MEAN | COMMENT |
| LOW | idd/LGIddInstall/LGIddInstall.c | 41 | #define LGIDD_CLASS_NAME L"Display" | COMMENT |
| LOW | idd/LGIdd/Device.cpp | 21 | #include "driver.h" | COMMENT |
| LOW | idd/LGIdd/Trace.h | 41 | (WPP_LEVEL_ENABLED(flags) && WPP_CONTROL(WPP_BIT_ ## flags).Level >= lvl) | COMMENT |
| LOW | idd/LGIdd/capture/CSwapChainProcessor.cpp | 21 | #include "capture/CSwapChainProcessor.h" | COMMENT |
| LOW | idd/LGIdd/capture/CFrameExec.cpp | 21 | #include "capture/CFrameExec.h" | COMMENT |
| LOW | idd/LGIdd/capture/CSwapChainProcessor.h | 21 | #pragma once | COMMENT |
| LOW | idd/LGIdd/transport/CTransportManager.h | 21 | #pragma once | COMMENT |
| LOW | idd/LGIdd/transport/IClipboardSource.h | 21 | #pragma once | COMMENT |
| LOW | idd/LGIdd/transport/IClipboardSource.h | 61 | COMMENT | |
| LOW | idd/LGIdd/transport/CTransportManager.cpp | 21 | #include "transport/CTransportManager.h" | COMMENT |
| LOW | idd/LGIdd/transport/lgmp/CLGMPTransport.h | 21 | #pragma once | COMMENT |
| LOW | idd/LGIdd/transport/lgmp/CRecovery.cpp | 21 | #include "transport/lgmp/CRecovery.h" | COMMENT |
| LOW | idd/LGIdd/transport/lgmp/CLGMPInputTransport.cpp | 21 | #include <ntstatus.h> | COMMENT |
| LOW | idd/LGIdd/transport/lgmp/CLGMPFrameTransport.cpp | 21 | #include "transport/lgmp/CLGMPFrameTransport.h" | COMMENT |
| LOW | idd/LGIdd/transport/lgmp/CLGMPClipboardTransport.cpp | 21 | #include <ntstatus.h> | COMMENT |
| LOW | idd/LGIdd/transport/lgmp/CLGMPFrameTransport.h | 21 | #pragma once | COMMENT |
| LOW | idd/LGIdd/display/CDeviceContext.cpp | 21 | #include "display/CDeviceContext.h" | COMMENT |
| LOW | idd/LGIdd/display/IddCxCompat.h | 21 | #pragma once | COMMENT |
| LOW | idd/LGIdd/display/CDeviceContext.h | 21 | #pragma once | COMMENT |
| LOW | idd/LGIddHelper/CClipboardManager.cpp | 21 | #include "CClipboardManager.h" | COMMENT |
| LOW | idd/LGIddHelper/Resources.h | 21 | #pragma once | COMMENT |
| LOW | idd/LGIddHelper/CNotifyWindow.cpp | 21 | #include "CNotifyWindow.h" | COMMENT |
| LOW | idd/LGIddHelper/CClipboardManager.h | 21 | #pragma once | COMMENT |
| LOW | idd/LGIddHelper/CClipboardFiles.cpp | 21 | #include "CClipboardFiles.h" | COMMENT |
| LOW | idd/LGIddHelper/CClipboardFiles.h | 21 | #pragma once | COMMENT |
| LOW | idd/LGIddHelper/CConfigWindow.cpp | 21 | #include "CConfigWindow.h" | COMMENT |
| LOW | idd/LGIddHelper/main.cpp | 21 | #include <Windows.h> | COMMENT |
| LOW | idd/LGInput/Trace.h | 41 | (WPP_LEVEL_ENABLED(flags) && WPP_CONTROL(WPP_BIT_ ## flags).Level >= lvl) | COMMENT |
| LOW | host/include/interface/platform.h | 21 | #pragma once | COMMENT |
| LOW | host/platform/Linux/capture/XCB/src/xcb.c | 21 | #include "interface/capture.h" | COMMENT |
| LOW | host/platform/Linux/capture/pipewire/src/pipewire.c | 21 | #include "portal.h" | COMMENT |
| LOW | host/platform/Linux/src/platform.c | 21 | #include "interface/platform.h" | COMMENT |
| LOW | host/platform/Windows/capture/D12/d12.h | 81 | #ifdef ID3D12Resource_GetDesc | COMMENT |
| LOW | host/platform/Windows/capture/D12/d12.c | 21 | #include "d12.h" | COMMENT |
| LOW | host/platform/Windows/capture/D12/effect/downsample.c | 21 | #include "effect.h" | COMMENT |
| LOW | host/platform/Windows/capture/D12/backend/dd.c | 21 | #include "backend.h" | COMMENT |
| LOW | host/platform/Windows/capture/NVFBC/src/nvfbc.c | 21 | #include "interface/capture.h" | COMMENT |
| LOW | host/platform/Windows/capture/DXGI/src/dxgi.c | 21 | #include "interface/capture.h" | COMMENT |
| LOW | host/platform/Windows/capture/DXGI/src/dxgi.c | 41 | #include <dxgi1_3.h> | COMMENT |
| LOW | host/platform/Windows/src/platform.c | 21 | #include "platform.h" | COMMENT |
| LOW | host/platform/Windows/src/service.c | 21 | #include "interface/platform.h" | COMMENT |
| LOW | host/src/app.c | 21 | #include "interface/platform.h" | COMMENT |
| LOW | module/kvmfr.c | 21 | #define PCI_KVMFR_VENDOR_ID 0x1af4 //Red Hat Inc, | COMMENT |
| LOW | module/test.c | 21 | #include <stdio.h> | COMMENT |
| LOW | obs/frame_scheduler.c | 21 | #include "frame_scheduler.h" | COMMENT |
| LOW | obs/lg.c | 21 | #define _GNU_SOURCE //needed for pthread_setname_np | COMMENT |
| LOW | common/include/common/debug.h | 121 | debug_levelML(level, STRIPPATH(__FILE__), __LINE__, __FUNCTION__, \ | COMMENT |
| LOW | common/include/common/debug.h | 161 | } while (0) | COMMENT |
| LOW | common/include/common/display.h | 21 | #ifndef _H_COMMON_DISPLAY_ | COMMENT |
| LOW | common/include/common/array.h | 21 | #ifndef _LG_ARRAY_H_ | COMMENT |
| LOW | common/include/common/windebug.h | 21 | #ifndef _H_LG_COMMON_WINDEBUG_ | COMMENT |
| LOW | common/include/common/util.h | 21 | #ifndef _H_LG_COMMON_UTIL_ | COMMENT |
| LOW | common/src/framebuffer.c | 21 | #include "common/framebuffer.h" | COMMENT |
| LOW | common/src/platform/linux/crash.c | 21 | #include "common/crash.h" | COMMENT |
| LOW | common/src/platform/linux/ivshmem.c | 21 | #include "common/ivshmem.h" | COMMENT |
| LOW | profile/client/src/main.c | 21 | #include "common/debug.h" | COMMENT |
| LOW | doc/conf.py | 1 | # Configuration file for the Sphinx documentation builder. | COMMENT |
| LOW | doc/conf.py | 61 | # directories to ignore when looking for source files. | COMMENT |
| 200 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | doc/conf.py | 45 | except ImportError: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | host/platform/Linux/capture/pipewire/src/pipewire.c | 459 | // TODO: implement damage. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | doc/conf.py | 12 | CODE |