26 个仓库
Linking log entries to their origin in source code to facilitate better data extraction and debugging.
Distinguishing note: None of the candidates cover mapping logs to source code; they focus on code generation, rewriting, or protection.
Explore 26 awesome GitHub repositories matching development tools & productivity · Source Code Mapping. Refine with filters or upvote what's useful.
Picturefill is a responsive image polyfill that adds support for the picture element, srcset, and sizes attributes in browsers that lack native implementation. It emulates the picture element with source media queries and format fallbacks, providing responsive image selection based on viewport size and device pixel ratio. The polyfill reevaluates responsive image sources after dynamic DOM changes to keep displayed images correct, and delivers alternative image formats like WebP with automatic fallback to standard formats in unsupported browsers. It also conserves bandwidth by selecting smalle
Parses srcset and sizes attributes to compute effective widths and densities, then picks the optimal source using a greedy selection strategy.
lnav is a terminal-based log viewer and analyzer designed for aggregating, filtering, and analyzing multiple log files in a single chronological view. It functions as a console application that can replace the system pager, providing syntax highlighting and document navigation for system or application logs. The project distinguishes itself by mapping unstructured log data to virtual SQLite tables, enabling the use of SQL and PRQL for structured data analysis, aggregations, and relational queries. It further differentiates its capability set through native integration for retrieving and taili
Adds source code paths to log messages to improve the accuracy of value extraction.
Highlight 是一个全栈可观测性平台和监控系统,聚合日志、错误和分布式追踪,以提供应用程序健康状况的统一视图。它充当分布式追踪系统、错误监控服务和会话回放工具。 该平台作为 Docker 化的监控栈提供,用于 Linux 上的自托管部署。它的独特之处在于将后端可观测性与视觉记录系统相结合,该系统捕获文档对象模型变更和网络请求,以回放用户交互。 该系统涵盖了几个核心功能领域,包括具有可搜索属性的集中式日志管理、带有用于堆栈跟踪去混淆的源映射集成的应用程序错误追踪,以及跨微服务的分布式请求追踪。它还包括通过命名查询执行进行的数据库监控,以及用于检索性能指标的搜索查询解析。 安装可以通过使用 Docker 的自托管监控部署或通过云基础设施配置来执行。
Implements a build-pipeline mechanism to upload mapping files for translating minified stack traces into readable source code.
Checkov is a static analysis tool and security scanner designed to identify misconfigurations in infrastructure as code, container images, and Kubernetes configurations. It functions as a cloud security posture tool, an SCA vulnerability scanner, and a secret scanning utility to prevent security breaches and version control leaks. The project distinguishes itself through deep graph analysis and variable resolution, allowing it to map relationships between interconnected resources and evaluate the final state of infrastructure attributes. It provides extensibility for defining custom security
Combines plan file analysis with original source files to map security findings to specific code blocks.
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.
js-code-to-svg-flowchart is a JavaScript source code visualizer and static code analysis tool that converts programming blocks and iterators into scalable vector graphics flowcharts. It functions as a code-to-diagram converter that maps the structural logic and sequence of operations from source files into visual representations. The system includes a command line interface for generating SVG flowcharts directly from local source code. It features a transformation engine that maps code nodes to schematic shapes and supports a sequence of images at varying abstraction levels to explain logic s
Maps JavaScript source code to visual SVG flowcharts to represent program execution flow.
Goja is a JavaScript engine and ECMAScript compliant interpreter implemented entirely in Go. It serves as an embedded scripting engine that allows Go applications to execute JavaScript code and integrate a programmable scripting layer without relying on Cgo or external native dependencies. The project functions as a bridge between Go and JavaScript, enabling bidirectional data exchange and function invocation. It allows Go hosts to expose native structs, slices, and maps as JavaScript objects and arrays, while providing mechanisms to export script values and functions back into native Go type
Associates executed JavaScript code with original source files using sourcemaps for debugging.
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.
nyc is a JavaScript code coverage tool and command-line interface that instruments source files to track the execution of lines, branches, and functions during test runs. It acts as a wrapper for Node.js test runners, intercepting the module loading process to collect coverage data. The tool functions as a coverage data merger and build gating tool, allowing users to combine results from multiple independent test runs or child processes into a single unified report. It can automatically fail the build process if code coverage percentages fall below defined minimum thresholds. The project sup
Preserves source maps during code rewriting to map coverage data from transpiled TypeScript or ES2015+ back to original lines.
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.
Recast 是一个 JavaScript AST 解析器和打印机,专为自动化代码重构而设计。它将源代码转换为抽象语法树,这些树可以被修改,然后打印回源代码。 该项目专注于保持格式的转换,在语法树节点中存储原始空格和缩进元数据,以在不丢失原始布局的情况下重构代码。它还生成字符级源映射,以保持原始输入和转换输出之间的精确对应关系。 该工具包包括使用访问者模式(visitor pattern)进行语法树操作的实用程序,以及用于通用样式美化打印的选项。它提供了一个命令行界面,用于在目标文件上执行这些转换函数并将结果写入磁盘。
Generates precise character-level source maps specifically for transformed JavaScript files.
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.
vue-loader 是一个 Webpack 加载器,用于将单文件 Vue 组件编译为可执行的 JavaScript 模块供浏览器使用。它充当编译器,将单个文件中的模板、样式和脚本拆分为打包模块,并将模板转换为适用于客户端和服务器环境的优化 JavaScript 渲染函数。 该项目提供了一个通过专用 CSS 加载器路由样式块的系统,以实现作用域化和隔离的组件样式。它还包括一个用于热模块替换(HMR)的开发工具,该工具可在不重置应用程序状态的情况下实时更新浏览器中的组件。 该工具管理组件源文件的转换,并将模板或样式中引用的静态资源作为模块依赖项进行处理。它通过处理模板中的 TypeScript 表达式来支持类型安全的开发,并提供源映射以将编译后的代码链接回原始源位置。
Links compiled code back to the original source using source maps and line offsets for debugging.
本项目是一个浏览器开发者工具,旨在检查 JavaScript 执行、网络流量和页面布局。它作为一个 JavaScript 调试器和 Chrome DevTools 协议调试器,用于管理 Web 引擎的状态并识别 Web 应用中的逻辑错误。 该套件提供专门的 Web 性能分析工具,包括内存泄漏检测和处理瓶颈分析。它还包含一个网络流量分析器,用于排查 API 调用,以及一个浏览器存储管理器,用于修改 Cookie、缓存和本地数据库条目。 其他功能涵盖 Web 页面布局分析、用于验证响应式显示的移动设备模拟,以及应用日志监控。该工具集支持源映射(Source Map)解析,将编译后的代码链接回原始文件,并允许连接外部编辑器。
Maps minified or compiled JavaScript back to original source files for accurate line-by-line 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.
This project is an edge computing development toolkit and serverless command line interface used to develop, test, and deploy serverless functions to a global edge network. It serves as an edge runtime bundler and resource orchestrator, managing the entire lifecycle of edge projects from local development to worldwide distribution. The toolkit distinguishes itself through distributed workflow management, coordinating stateful instances and the durable execution of long-running processes across the edge. It also provides specialized integrations for edge AI, including the management of vector
Provides mechanisms to upload source maps to translate minified production stack traces back to original code.
Uptrace is an OpenTelemetry-based observability platform designed to collect, store, and analyze distributed traces, metrics, and logs. It functions as a centralized logging backend, a distributed tracing system, and a metrics engine to monitor application performance and system health. The platform is distinguished by AI-powered operational capabilities, allowing users to query telemetry data and manage monitoring dashboards using natural language. It specifically includes specialized monitoring for generative AI pipelines, tracking token usage and response quality for LLM interactions and r
Provides API and bundler plugin support to store source maps for accurate stack trace resolution.