Display and control your Android device
This report summarizes scanner evidence for Genymobile/scrcpy, a C project with 153,620 GitHub stars. SynthScan examined 54,298 lines of code across 348 source files, recording 68 pattern matches distributed across 3 syntactic categories. The legacy adjusted pattern signal is 2.0 (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? 64 finding(s).
Are imports declared and package/API names verified? 4 finding(s).
Are wrappers, guards, and repeated structures necessary? 0 finding(s).
Which changes need focused human review? 68 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 68 distinct pattern matches across 3 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 | app/src/audio_regulator.h | 1 | #ifndef SC_AUDIO_REGULATOR_H | COMMENT |
| LOW | app/src/egl.h | 1 | #ifndef SC_EGL_H | COMMENT |
| LOW | app/src/recorder.c | 1 | #include "recorder.h" | COMMENT |
| LOW | app/src/demuxer.c | 1 | #include "demuxer.h" | COMMENT |
| LOW | app/src/demuxer.c | 61 | } | COMMENT |
| LOW | app/src/demuxer.c | 81 | // ^<------------------------------->^ | COMMENT |
| LOW | app/src/demuxer.c | 101 | // The most significant bits of the PTS are used for packet flags: | COMMENT |
| LOW | app/src/cli.c | 1 | #include "cli.h" | COMMENT |
| LOW | app/src/compat.c | 1 | #include "compat.h" | COMMENT |
| LOW | app/src/scrcpy.c | 1 | #include "scrcpy.h" | COMMENT |
| LOW | app/src/scrcpy.c | 21 | #include "events.h" | COMMENT |
| LOW | app/src/scrcpy.c | 41 | #include "util/log.h" | COMMENT |
| LOW | app/src/input_manager.h | 1 | #ifndef SC_INPUTMANAGER_H | COMMENT |
| LOW | app/src/screen.c | 1 | #include "screen.h" | COMMENT |
| LOW | app/src/video_regulator.h | 1 | #ifndef SC_VIDEO_REGULATOR_H | COMMENT |
| LOW | app/src/audio_player.h | 1 | #ifndef SC_AUDIO_PLAYER_H | COMMENT |
| LOW | app/src/server.c | 1 | #include "server.h" | COMMENT |
| LOW | app/src/server.c | 461 | cmd[count++] = NULL; | COMMENT |
| LOW | app/src/recorder.h | 1 | #ifndef SC_RECORDER_H | COMMENT |
| LOW | app/src/shortcut_mod.h | 1 | #ifndef SC_SHORTCUT_MOD_H | COMMENT |
| LOW | app/src/common.h | 1 | #ifndef SC_COMMON_H | COMMENT |
| LOW | app/src/main.c | 1 | #include "common.h" | COMMENT |
| LOW | app/src/control_msg.h | 1 | #ifndef SC_CONTROLMSG_H | COMMENT |
| LOW | app/src/compat.h | 1 | #ifndef SC_COMPAT_H | COMMENT |
| LOW | app/src/compat.h | 21 | // Deprecate AVFormatContext.{nb_,}side_data, av_stream_add_side_data(), | COMMENT |
| LOW | app/src/vaapi_shim.c | 1 | // Load libva and libdrm at runtime (static builds only) | COMMENT |
| LOW | app/src/version.c | 1 | #include "version.h" | COMMENT |
| LOW | app/src/hwdec.c | 1 | #include "hwdec.h" | COMMENT |
| LOW | app/src/texture.h | 1 | #ifndef SC_TEXTURE_H | COMMENT |
| LOW | app/src/screen.h | 1 | #ifndef SC_SCREEN_H | COMMENT |
| LOW | app/src/input_manager.c | 1 | #include "input_manager.h" | COMMENT |
| LOW | app/src/input_manager.c | 961 | COMMENT | |
| LOW | app/src/icon.c | 1 | #include "icon.h" | COMMENT |
| LOW | app/src/server.h | 1 | #ifndef SC_SERVER_H | COMMENT |
| LOW | app/src/options.c | 141 | // transformation requires an additional 180 degrees rotation to | COMMENT |
| LOW | app/src/keyboard_sdk.c | 1 | #include "keyboard_sdk.h" | COMMENT |
| LOW | app/src/uhid/gamepad_uhid.c | 1 | #include "gamepad_uhid.h" | COMMENT |
| LOW | app/src/util/env.h | 1 | #ifndef SC_ENV_H | COMMENT |
| LOW | app/src/util/term.c | 1 | #include "term.h" | COMMENT |
| LOW | app/src/util/net.h | 1 | #ifndef SC_NET_H | COMMENT |
| LOW | app/src/util/net.h | 21 | // On Windows and macOS, shutdown() does not interrupt accept() or read() | COMMENT |
| LOW | app/src/util/tick.h | 1 | #ifndef SC_TICK_H | COMMENT |
| LOW | app/src/util/command.c | 21 | goto end; \ | COMMENT |
| LOW | app/src/util/str.c | 1 | #include "str.h" | COMMENT |
| LOW | app/src/util/vecdeque.h | 141 | size_t oldcap = *pcap; | COMMENT |
| LOW | app/src/util/log.h | 1 | #ifndef SC_LOG_H | COMMENT |
| LOW | app/src/util/net.c | 1 | #include "net.h" | COMMENT |
| LOW | app/src/util/process.h | 1 | #ifndef SC_PROCESS_H | COMMENT |
| LOW | app/src/interop/interop.h | 1 | #ifndef SC_INTEROP_H | COMMENT |
| LOW | app/src/interop/interop_vaapi.c | 1 | #include "interop_vaapi.h" | COMMENT |
| LOW | app/src/interop/interop.c | 1 | #include "interop.h" | COMMENT |
| LOW | app/src/usb/aoa_hid.c | 1 | #include "aoa_hid.h" | COMMENT |
| LOW | app/src/usb/scrcpy_otg.c | 1 | #include "scrcpy_otg.h" | COMMENT |
| LOW | app/src/adb/adb.c | 1 | #include "adb.h" | COMMENT |
| LOW | app/src/adb/adb.h | 1 | #ifndef SC_ADB_H | COMMENT |
| LOW | app/src/sys/unix/process.c | 1 | #include "util/process.h" | COMMENT |
| LOW | app/src/sys/unix/file.c | 1 | #include "util/file.h" | COMMENT |
| LOW | app/src/hid/hid_keyboard.h | 1 | #ifndef SC_HID_KEYBOARD_H | COMMENT |
| LOW | app/src/hid/hid_gamepad.c | 1 | #include "hid_gamepad.h" | COMMENT |
| LOW | app/src/hid/hid_keyboard.c | 1 | #include "hid_keyboard.h" | COMMENT |
| 3 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | …ava/com/genymobile/scrcpy/wrappers/DisplayManager.java | 177 | Constructor<android.hardware.display.DisplayManager> ctor = android.hardware.display.DisplayManager.class.getDec | CODE |
| CRITICAL | …/java/com/genymobile/scrcpy/wrappers/InputManager.java | 43 | injectInputEventMethod = android.hardware.input.InputManager.class.getMethod("injectInputEvent", InputEvent. | CODE |
| CRITICAL | …/java/com/genymobile/scrcpy/wrappers/InputManager.java | 113 | addUniqueIdAssociationByPortMethod = android.hardware.input.InputManager.class.getMethod( | CODE |
| CRITICAL | …/java/com/genymobile/scrcpy/wrappers/InputManager.java | 131 | removeUniqueIdAssociationByPortMethod = android.hardware.input.InputManager.class.getMethod( | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | app/src/input_manager.c | 694 | // sending Ctrl+v, to allow seamless copy-paste. | COMMENT |