# lensm

> A tool for viewing assembly and source side by side

Source: https://talira.ai/catalog/lensm-ze3ev0s8
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Desktop app
- Categories: [developer tools / performance / assembly viewers](https://talira.ai/categories/developer-tools/performance/assembly-viewers), [languages / go](https://talira.ai/categories/languages/go)
- Platforms: macos, linux[^1]
- Licence: MIT[^2]
- Pricing: Free and open source[^2]
- Free tier: yes[^2]
- Self-hostable: yes[^1]
- Backed by: [Egon Elbre](https://talira.ai/orgs/egon-elbre.md)
- Creator: Egon Elbre

lensm is a desktop app for reading the machine code a Go binary was compiled to next to the source lines it came from, for performance work where `go tool objdump` makes the link hard to see. It opens a binary built on your machine, lists its functions, shows assembly and source in two columns with matching lines linked, follows jumps and calls, can watch the binary and reload it when it's rebuilt, and can overlay a pprof profile. Built with Gio by Egon Elbre, MIT licensed.

## Links

- GitHub: https://github.com/loov/lensm

## Problems it solves

- see which Go source lines produced which assembly instructions while optimising a hot function
- go tool objdump output is hard to match back to my source code
- check whether the Go compiler inlined or bounds-checked a function without reading raw disassembly
- a Compiler Explorer style view for my local Go binary instead of a snippet on a website
- reload the disassembly automatically every time I rebuild while tuning code
- see a pprof CPU profile next to the assembly to find where time goes

## Features

- assembly and source side by side with linked lines
- follow jumps and calls and come back
- go to a function by name or address
- watch mode reloads the binary when it changes
- show a pprof profile next to the code
- comments on lines saved to a file
- macOS disk images built by CI

## Limitations

- Can't show source for binaries built on another machine: it reads source files from the paths in the binary[^1]

## Trust

Overall: 0.35 out of 1.
Signals: backing 0.50, extensibility 0.00.

- backed by Egon Elbre
- created by Egon Elbre

Warnings:

- GitHub activity not fetched yet

## Sources

[^1]: https://github.com/loov/lensm (checked 22 Nov 2026)
[^2]: https://github.com/loov/lensm/blob/main/LICENSE (checked 22 Nov 2026)
