Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/loov/lensm
Go assembly and source viewer
https://github.com/loov/lensm
Last synced: 3 days 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 (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-11-08T06:35:05.000Z (2 months ago)
- Last Synced: 2025-01-01T18:04:12.565Z (10 days ago)
- Language: Go
- Size: 550 KB
- Stars: 3,513
- Watchers: 21
- Forks: 126
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- my-awesome - loov/lensm - 11 star:3.5k fork:0.1k Go assembly and source viewer (Go)
- go-awesome - lensm - Go assembly and source code comparison display tool (Open source library / Debugging)
README
# lensm
A tool for viewing assembly and source.
![Screenshot](./screenshot.gif)
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.