GitHub - loov/lensm: Go assembly and source viewer
source link: https://github.com/loov/lensm
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
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. 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
symbol 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.
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK