# loov/lensm

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/loov-lensm).**

_How this analysis was created: the description and tags below were written by an AI model that read this project's README and public documentation pages; stars, license and language come straight from the GitHub API. The model does not read the source code._

3,697 stars · 132 forks · Go · MIT

## Links

- GitHub: https://github.com/loov/lensm
- awesome-repositories: https://awesome-repositories.com/repository/loov-lensm.md

## Description

lensm is a binary analysis tool and Go disassembler interface designed for navigating disassembled machine code, tracking function calls, and inspecting executable metadata. It specifically functions as a Go assembly viewer that visualizes compiled binary instructions alongside their original source code.

The project implements the Model Context Protocol to expose internal functions and source code as tools for external AI systems. This protocol-based analysis server enables the streaming of binary data and the management of server lifecycles to allow external tools to analyze logic.

The system includes capabilities for binary visualization, including side-by-side views of assembly and source code, instruction-level explanations, and symbol filtering via regular expressions. It features a binary code annotator that persists user comments in sidecar files and an executable file monitor that automatically reloads disassembly when files are modified on disk.

The interface supports multi-window management, session persistence for restoring workspaces, and custom OpenType font loading for specialized typography.

## Tags

### Operating Systems & Systems Programming

- [Binary Analysis Tools](https://awesome-repositories.com/f/operating-systems-systems-programming/binary-analysis-capabilities/binary-analysis-tools.md) — Provides a comprehensive utility for navigating disassembled machine code, tracking calls, and inspecting binary metadata.
- [Disassembly Browsers](https://awesome-repositories.com/f/operating-systems-systems-programming/disassembly-browsers.md) — Provides a tabbed interface for browsing disassembled functions with permanent and preview views. ([source](https://github.com/loov/lensm/blob/main/fileui_tabs.go))
- [Assembly Instruction References](https://awesome-repositories.com/f/operating-systems-systems-programming/assembly-instruction-references.md) — Provides simplified explanations and references for assembly instructions via hover actions. ([source](https://github.com/loov/lensm#readme))
- [Binary Disassemblers](https://awesome-repositories.com/f/operating-systems-systems-programming/binary-disassemblers.md) — Provides a visual interface that translates binary machine code into human-readable Go assembly.
- [Binary Logic Visualizations](https://awesome-repositories.com/f/operating-systems-systems-programming/binary-logic-visualizations.md) — Provides visual representations of disassembled machine code and executable logic to simplify analysis. ([source](https://github.com/loov/lensm/blob/main/README.md))

### Programming Languages & Runtimes

- [Go Assembly Visualizers](https://awesome-repositories.com/f/programming-languages-runtimes/go-assembly-visualizers.md) — Visualizes Go assembly instructions side-by-side with original source code for binary analysis.
- [Source Coordinate Mapping](https://awesome-repositories.com/f/programming-languages-runtimes/programming-utilities/data-structure-type-helpers/data-structures/hierarchical-tree-structures/source-code-abstract-syntax-trees/source-coordinate-mapping.md) — Links disassembled machine instructions to their original source code coordinates for synchronized visualization.

### System Administration & Monitoring

- [Function Call Mapping](https://awesome-repositories.com/f/system-administration-monitoring/function-monitoring/call-graph-visualizers/function-call-mapping.md) — Enables following call targets and jumping between function definitions to trace execution flow. ([source](https://github.com/loov/lensm#readme))

### User Interface & Experience

- [Side-By-Side Code Visualizations](https://awesome-repositories.com/f/user-interface-experience/side-by-side-code-visualizations.md) — Displays compiled binary instructions side-by-side with original source code for simplified analysis. ([source](https://github.com/loov/lensm#readme))
- [Code Syntax Highlighting](https://awesome-repositories.com/f/user-interface-experience/code-syntax-highlighting.md) — Renders disassembled code and source with syntax highlighting and custom styles to improve readability. ([source](https://github.com/loov/lensm/blob/main/widgets.go))

### Artificial Intelligence & ML

- [MCP Server Management](https://awesome-repositories.com/f/artificial-intelligence-ml/agentic-systems-frameworks/model-integration-serving/model-integration-interfaces/model-context-protocol/mcp-server-management.md) — Provides controls to start, stop, and monitor the lifecycle of the Model Context Protocol server. ([source](https://github.com/loov/lensm/blob/main/fileui_settings.go))
- [Model Context Protocol Integrations](https://awesome-repositories.com/f/artificial-intelligence-ml/ai-assistant-integrations/model-context-protocol-integrations.md) — Exposes internal functions and source code via the Model Context Protocol for analysis by AI models. ([source](https://github.com/loov/lensm#readme))
- [MCP Protocol Integrations](https://awesome-repositories.com/f/artificial-intelligence-ml/external-tool-integrations/mcp-protocol-integrations.md) — Implements the Model Context Protocol to stream binary data and assembly code to external AI tools. ([source](https://github.com/loov/lensm/blob/main/README.md))

### Data & Databases

- [Sidecar File Persistence](https://awesome-repositories.com/f/data-databases/file-storage-and-metadata-management/sidecar-file-persistence.md) — Persists user comments and metadata in separate sidecar files to avoid modifying original binaries.

### Development Tools & Productivity

- [Binary Analysis Servers](https://awesome-repositories.com/f/development-tools-productivity/agent-communication-protocol-servers/binary-analysis-servers.md) — Operates a standardized server that exposes binary data and internal logic via a communication protocol.
- [Binary Hot-Reloading](https://awesome-repositories.com/f/development-tools-productivity/binary-hot-reloading.md) — Automatically reloads the disassembled executable and metadata when the binary file is modified on disk. ([source](https://github.com/loov/lensm#readme))
- [Code Annotations](https://awesome-repositories.com/f/development-tools-productivity/code-annotations.md) — Allows adding and managing comments associated with binary functions, synced via sidecar files. ([source](https://github.com/loov/lensm/blob/main/README.md))
- [Binary Coordinate Annotations](https://awesome-repositories.com/f/development-tools-productivity/code-annotations/binary-coordinate-annotations.md) — Implements a system for adding and persisting text comments to specific binary coordinates using sidecar files.
- [File System Watchers](https://awesome-repositories.com/f/development-tools-productivity/file-system-watchers.md) — Monitors executable files on disk to trigger automatic reloading of disassembly and metadata.
- [File Watchers](https://awesome-repositories.com/f/development-tools-productivity/file-watchers.md) — Automatically reloads disassembly and metadata when the target binary file is modified on disk.

### Part of an Awesome List

- [Binary Analysis](https://awesome-repositories.com/f/awesome-lists/devtools/binary-analysis.md) — Views Go assembly and source code side-by-side.
- [Debugging And Profiling](https://awesome-repositories.com/f/awesome-lists/devtools/debugging-and-profiling.md) — Compares assembly with source code.
