https://github.com/loov/lensm
Go assembly and source viewer
https://github.com/loov/lensm
Last synced: 2 months ago
JSON representation
Go assembly and source viewer
- Host: GitHub
- URL: https://github.com/loov/lensm
- Owner: loov
- License: mit
- Created: 2022-07-03T10:13:16.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2025-03-13T10:42:20.000Z (4 months ago)
- Last Synced: 2025-04-03T06:40:02.348Z (3 months ago)
- Language: Go
- Size: 570 KB
- Stars: 3,602
- Watchers: 21
- Forks: 127
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- go-awesome - lensm - Go assembly and source code comparison display tool (Open source library / Debugging)
- my-awesome - loov/lensm - 03 star:3.6k fork:0.1k Go assembly and source viewer (Go)
README
# lensm
A tool for viewing assembly and source.

Install with the usual Go commands:
```
go install loov.dev/lensm@main
```_For Linux you may need to add some [additional dependencies](https://gioui.org/doc/install/linux). You can use `go install --tags nowayland loov.dev/lensm@main` or `go install --tags nox11 loov.dev/lensm@main` respectively to skip building Wayland or X11 version._
To run the program provide a regular expression filter for the
function you want to inspect. `-watch` allows to automatically
reload the executable and information when it changes.```
lensm -watch -filter Fibonacci lensm
```Note: The program requires a binary that is built on your computer, otherwise the source code for the functions cannot be loaded.
## Why?
I wrote a blog post at https://www.storj.io/blog/lensm on why and how the core functionality works.