9 个仓库
Mapping binary instructions or expressions back to their original source code locations for debugging.
Distinct from Source Code Mapping: Distinct from generic Source Code Mapping by specifically addressing binary-to-text mapping in the context of WebAssembly.
Explore 9 awesome GitHub repositories matching development tools & productivity · Binary-to-Source Mapping. Refine with filters or upvote what's useful.
Binaryen is a WebAssembly compiler toolchain and optimizer designed to transform, validate, and shrink binary modules. It provides a comprehensive intermediate representation framework that converts binary code into a single-assignment form to enable advanced program analysis and code transformation. The project includes a specialized transformation engine that applies iterative optimization passes to increase execution speed and reduce binary size. Additionally, it functions as a transpiler that translates WebAssembly binary modules into executable JavaScript for environments that lack nativ
Provides source map management to link compiled expressions back to original source code locations.
LLM4Decompile 是一个用于二进制到源代码翻译的工具集和框架。它利用大语言模型将机器代码转换为可读的源代码,并恢复编译后可执行文件的原始逻辑。 该项目包含一个专门的流水线,通过将源代码转换为汇编对来生成合成训练数据集。它提供了一个微调框架,用于在这些二进制到源代码数据集上优化深度学习模型,从而提高代码恢复的准确性。 该系统还具有细化反编译伪代码的功能。此过程侧重于恢复二进制文件的结构骨架和变量名,以提高反汇编逻辑的可读性。
Reconstructs high-level source code logic by translating compiled binary instructions.
Defold is a cross-platform game engine and integrated development environment used to create 2D and 3D games for desktop, mobile, and web targets. It combines a game development IDE for asset and scene management with a multi-platform build system and a scripting environment based on Lua. The engine includes a specialized headless runtime for hosting game servers and performing automated testing without a graphical interface. It supports native engine extensions, allowing custom low-level code to be integrated into the core to expand functionality beyond the standard scripting interface. The
Maps compiled machine code back to source files using symbol maps to analyze binary size and bloat.
Bloaty 是一个二进制大小分析器和可执行格式分析器,将二进制文件的每个字节归因于特定的符号或编译单元。它作为一个编译单元分析器和 C++ 符号反混淆器,将二进制大小映射回源文件,并将混淆后的名称转换为人类可读的格式。 该项目作为二进制差异工具脱颖而出,能够比较二进制文件的两个版本,以隔离导致大小回归的特定符号或部分。它提供专门的支持,通过使用构建标识符将符号与外部调试文件关联,从而恢复剥离二进制文件中的符号。 该工具为 ELF、Mach-O、PE/COFF 和 WebAssembly 格式提供全面的二进制分析。其功能包括分析链接器部分、内存段和静态库归档,以及识别内联函数消耗的空间。用户可以进一步使用正则表达式过滤隔离数据,并以 CSV 或 TSV 格式导出分析结果。
Associates binaries with source map files to enable compile unit and inline profiling.
该项目是一个游戏反编译项目,由重构的 C 源代码库和用于二进制重构的系统组成。它提供了一个通过静态和动态分析创建的商业游戏标题的人类可读版本,以促进技术研究和修改。 该项目利用容器化构建环境来确保跨不同宿主操作系统的可复现编译和一致的工具链版本。它包括一个游戏二进制重构器,将原始机器码转换为源代码,以及一个将代码库编译为多个区域和平台特定二进制文件的系统。 该工具链涵盖了交叉编译流水线和构建变体管理,使用特定的 GCC 工具链来针对与宿主不同的硬件架构。其他功能包括元数据驱动的技术文档生成以及用于手动分析和调试的交互式容器 Shell。
Implements a system to translate original machine code binaries back into readable C source code.
Hotspot 是一个用于分析和可视化 Linux perf 工具捕获的性能数据的图形用户界面。它作为一个性能分析可视化工具和汇编级分析器,将性能成本映射到与原始源代码同步的特定指令上。 该项目以其远程符号解析器而著称,该解析器将来自嵌入式目标的性能数据映射到本地主机调试符号和 sysroot。它还包括一个专门的离 CPU(off-CPU)分析工具,旨在利用内核调度程序跟踪点识别线程等待时间和 I/O 阻塞。 该工具涵盖了广泛的性能分析能力,包括 CPU 分析、底层代码检查和基于时间轴的数据过滤。它提供火焰图和调用图等可视化方法,以识别系统瓶颈和内联函数。 该系统支持通过为新应用程序启动分析工具或附加到现有进程来记录数据,并允许将分析后的性能配置文件导出为便携式格式,以便跨机器共享。
Links disassembled machine instructions back to their original source code locations for detailed performance debugging.
wxappUnpacker 是一款小程序源码恢复工具和反编译程序,旨在从编译后的微信小程序包中提取和还原源码。它作为一种专门用于解包和解码压缩 WXML 文件的工具,用于检索原始应用程序逻辑。 该工具专注于前端源码恢复和逆向工程。它从编译后的资产中还原人类可读的 WXML 和 JavaScript 文件,以便分析内部应用程序结构和功能。 恢复过程涉及静态分析解析、递归资产提取和基于模板的代码重构。它采用字节码到源码的映射和基于模式的解压,将编译后的二进制指令翻译回可读的源码。
Implements the full reconstruction of high-level source code logic from compiled binary instructions.
SpaceCadetPinball is a reverse-engineered, cross-platform port of the classic 3D Pinball - Space Cadet game, rebuilt from the original binary without access to its source code. It functions as an asset-driven pinball emulator that loads the original game data files to recreate the authentic visual and audio experience on modern hardware, preserving the legacy title through binary-to-source porting and reverse engineering. The project distinguishes itself by reconstructing the game's logic through runtime analysis of the original compiled instructions, translating them back into readable C++ c
Reconstructs game logic by translating compiled binary instructions back into readable C++ source code.
Apkstudio is a reverse engineering integrated development environment designed for decompiling, modifying, and recompiling Android application packages. It provides a specialized suite for transforming binary files into readable source code and bundling them back into installable application archives. The project features a framework integration system that imports manufacturer-specific files to ensure accurate decompilation of vendor-modified applications. It includes a dedicated editor for Smali, Java, and XML files with syntax highlighting, as well as a hex editor for the direct modificati
Provides the full reconstruction of Android binary instructions back into readable Smali and Java source code.