Godot reverse engineering tools
This report summarizes scanner evidence for GDRETools/gdsdecomp, a C++ project with 4,409 GitHub stars. SynthScan examined 231,612 lines of code across 535 source files, recording 497 pattern matches distributed across 9 syntactic categories. The legacy adjusted pattern signal is 1.8 (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? 485 finding(s).
Are imports declared and package/API names verified? 11 finding(s).
Are wrappers, guards, and repeated structures necessary? 7 finding(s).
Which changes need focused human review? 497 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 497 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | register_types.cpp | 1 | /*************************************************************************/ | COMMENT |
| LOW | register_types.cpp | 21 | #include "utility/app_version_getter.h" | COMMENT |
| LOW | register_types.cpp | 41 | #include "compat/resource_compat_binary.h" | COMMENT |
| LOW | register_types.cpp | 61 | #include "exporters/obj_exporter.h" | COMMENT |
| LOW | register_types.cpp | 81 | #include "plugin_manager/plugin_manager.h" | COMMENT |
| LOW | config.py | 21 | # A terrible hack to force-enable our dependent modules being included on non-editor builds. | COMMENT |
| LOW | bytecode_generator.py | 161 | line = line.strip() | COMMENT |
| LOW | bytecode_generator.py | 181 | # { "sinh", Pair<int, int>(1, 1) }, | COMMENT |
| LOW | bytecode_generator.py | 201 | # ```cpp | COMMENT |
| LOW | bytecode_generator.py | 221 | # ``` | COMMENT |
| LOW | bytecode_generator.py | 241 | # switch(p_token) { | COMMENT |
| LOW | bytecode_generator.py | 521 | template_content = template_content.replace(placeholder, value) | COMMENT |
| LOW | bytecode_generator.py | 661 | # | COMMENT |
| LOW | misc/gltf_tester.py | 21 | COMMENT | |
| LOW | misc/gltf_tester.py | 41 | # project_path, | COMMENT |
| LOW | compat/variant_decoder_compat.cpp | 1 | #include "variant_decoder_compat.h" | COMMENT |
| LOW | compat/resource_compat_obdb.cpp | 1 | #include "resource_compat_obdb.h" | COMMENT |
| LOW | compat/resource_loader_compat.cpp | 1 | #include "resource_loader_compat.h" | COMMENT |
| LOW | compat/fake_script.cpp | 1 | #include "fake_script.h" | COMMENT |
| LOW | compat/resource_format_xml.cpp | 2501 | } break; | COMMENT |
| LOW | compat/fake_mesh.cpp | 781 | surface_materials.push_back(material); | COMMENT |
| LOW | compat/fake_mesh.cpp | 1221 | // if (surfaces.is_empty()) { | COMMENT |
| LOW | compat/texture_loader_compat.cpp | 1 | #include "compat/texture_loader_compat.h" | COMMENT |
| LOW | compat/texture_loader_compat.cpp | 1741 | case Image::CompressMode::COMPRESS_ETC: | COMMENT |
| LOW | compat/fake_gdscript.cpp | 1 | #include "fake_gdscript.h" | COMMENT |
| LOW | compat/fake_csharp_script.cpp | 1 | #include "fake_csharp_script.h" | COMMENT |
| LOW | compat/resource_compat_binary.cpp | 41 | #include "core/version.h" | COMMENT |
| LOW | plugin_manager/plugin_manager.cpp | 1 | #include "plugin_manager.h" | COMMENT |
| LOW | exporters/gdscript_exporter.cpp | 1 | #include "gdscript_exporter.h" | COMMENT |
| LOW | exporters/scene_exporter.cpp | 1 | #include "scene_exporter.h" | COMMENT |
| LOW | exporters/scene_exporter.cpp | 21 | #include "scene/3d/physics/collision_shape_3d.h" | COMMENT |
| LOW | exporters/scene_exporter.cpp | 41 | #include "core/error/error_macros.h" | COMMENT |
| LOW | exporters/scene_exporter.cpp | 1021 | // ResourceFormatLoader::CACHE_MODE_IGNORE); // not ignore deep, we want to reuse dependencies if they exist | COMMENT |
| LOW | exporters/scene_exporter.cpp | 2601 | // } break; | COMMENT |
| LOW | exporters/fontfile_exporter.cpp | 841 | return vformat("%d %d %d %d", glyph_index, advance_value, offset_value.x, offset_value.y); | COMMENT |
| LOW | exporters/fontfile_exporter.cpp | 861 | // cache/0/16/0/textures/0/image = SubResource("Image_uer0y") | COMMENT |
| LOW | exporters/fontfile_exporter.cpp | 1021 | if (property.name.ends_with("/ascent")) { | COMMENT |
| LOW | exporters/texture_exporter.cpp | 1 | #include "texture_exporter.h" | COMMENT |
| LOW | exporters/texture_exporter.cpp | 121 | // Import options reference: | COMMENT |
| LOW | exporters/texture_exporter.cpp | 141 | // 3: Slower | COMMENT |
| LOW | exporters/texture_exporter.cpp | 161 | // mipmaps/generate (bool): Whether to generate mipmaps | COMMENT |
| LOW | exporters/texture_exporter.cpp | 181 | // | COMMENT |
| LOW | exporters/oggstr_exporter.cpp | 1 | #include "oggstr_exporter.h" | COMMENT |
| LOW | exporters/gdextension_exporter.cpp | 1 | #include "gdextension_exporter.h" | COMMENT |
| LOW | exporters/obj_exporter.cpp | 1 | #include "obj_exporter.h" | COMMENT |
| LOW | exporters/translation_exporter.cpp | 1 | #include "translation_exporter.h" | COMMENT |
| LOW | exporters/sample_exporter.cpp | 241 | if (err == OK || err == ERR_PRINTER_ON_FIRE) { | COMMENT |
| LOW | tests/test_resource_loading.cpp | 1 | COMMENT | |
| LOW | tests/test_project_export.cpp | 1 | #include "tests/test_macros.h" | COMMENT |
| LOW | tests/test_common.cpp | 61 | #include "platform/windows/os_windows.h" | COMMENT |
| LOW | tests/test_gdre_project_loading.cpp | 1 | #include "test_common.h" | COMMENT |
| LOW | tests/test_bytecode.cpp | 1 | #include "core/io/marshalls.h" | COMMENT |
| LOW | tests/test_resource_export.cpp | 1 | #include "tests/test_macros.h" | COMMENT |
| LOW | tests/test_variant_compat.cpp | 1 | #include "compat/image_enum_compat.h" | COMMENT |
| LOW | tests/gdre_test_include.h | 1 | #pragma once | COMMENT |
| LOW | …mono-decomp/GodotMonoDecomp/GodotMonoDecompSettings.cs | 21 | /// <summary> | COMMENT |
| LOW | …mono-decomp/GodotMonoDecomp/GodotMonoDecompSettings.cs | 41 | COMMENT | |
| LOW | …dot-mono-decomp/GodotMonoDecomp/GodotScriptMetadata.cs | 1 | namespace GodotMonoDecomp; | COMMENT |
| LOW | …dot-mono-decomp/GodotMonoDecomp/GodotScriptMetadata.cs | 21 | // "class": { | COMMENT |
| LOW | …o-decomp/GodotMonoDecomp/GodotExpressionTokenWriter.cs | 1 | // Copyright (c) 2010-2013 AlphaSierraPapa for the SharpDevelop Team | COMMENT |
| 409 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | config.py | 6 | CODE | |
| LOW | config.py | 7 | CODE | |
| LOW | prepop_cache.py | 4 | CODE | |
| LOW | misc/gltf_tester.py | 1 | CODE | |
| LOW | misc/gltf_tester.py | 6 | CODE | |
| LOW | external/vtracer/vtracer/__init__.py | 1 | CODE | |
| LOW | external/vtracer/vtracer/__init__.py | 1 | CODE | |
| LOW | external/vtracer/vtracer/__init__.py | 1 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | bytecode_generator.py | 338 | f.write("\tif (p_func < 0 || p_func >= num_funcs) {\n") | STRING |
| HIGH | bytecode_generator.py | 352 | f.write("\tif (p_func < 0 || p_func >= num_funcs) {\n") | STRING |
| HIGH | bytecode_generator.py | 374 | f.write("\tif (p_token < 0 || p_token >= TK_MAX) {\n") | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | godot-mono-decomp/godot-mono-decomp-aot-test/build.sh | 10 | # Check if we're in the right directory | COMMENT |
| LOW⚡ | godot-mono-decomp/godot-mono-decomp-aot-test/build.sh | 16 | # Check if the header file exists | COMMENT |
| LOW⚡ | godot-mono-decomp/godot-mono-decomp-aot-test/build.sh | 22 | # Check if the AOT library exists | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | compat/resource_compat_binary.cpp | 3240 | // we need to check if any of the options are nodepaths (requires rewriting string map) or resources (requires rewritin | COMMENT |
| LOW | external/tinygltf/tiny_gltf.h | 7484 | // TODO(syoyo): Do we need to check if `version` is greater or equal to 2.0? | COMMENT |
| LOW | utility/gdre_settings.cpp | 390 | // We need to check if the project config is encrypted, if so, we need to load it. | COMMENT |
| LOW | utility/gdre_settings.cpp | 511 | // This may be a ".app" bundle, so we need to check if it's a valid Godot app | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | external/parallel_hashmap/phmap_config.h | 354 | // are not defined as such in any file). To utilize the following | COMMENT |
| MEDIUM | editor/gdre_editor.cpp | 500 | // TODO: More robust logging | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | config.py | 33 | def monkey_patch_sort_module_list(): | CODE |
| LOW | prepop_cache.py | 90 | def get_plugin_name_from_file(file_path: str) -> str: | CODE |
| LOW | prepop_cache.py | 94 | def get_asset_lib_plugin_name(plugin_name: str) -> str: | CODE |
| LOW | bytecode_generator.py | 598 | def generate_bytecode_description_string(bytecode_class: BytecodeClass) -> str: | STRING |
| LOW | bytecode_generator.py | 692 | def update_bytecode_version_header(dir: Path, bytecode_classes: list[BytecodeClass]) -> None: | STRING |
| LOW | bytecode_generator.py | 708 | def generate_bytecode_versions_cpp(dir: Path, bytecode_classes: list[BytecodeClass]) -> None: | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | bytecode_generator.py | 271 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | bytecode_generator.py | 692 | def update_bytecode_version_header(dir: Path, bytecode_classes: list[BytecodeClass]) -> None: | STRING |