It wraps EVMDIS created by Nick Johnson in a MacOS service, so it's readily accessible across the OS.
Copied from EVMDIS - Building
Retrieve the evmdis source. For example:
go get github.com/Arachnid/evmdis
Build and install evmdis to $GOPATH/bin:
go install github.com/Arachnid/evmdis/evmdis
Sanity check, assuming $GOPATH/bin is in your $PATH:
evmdis -h
Place the EVM Disassembler
file inside ~/Library/Services/
.
Open it with Automator, look for the "Run Shell Script" block and change the EVMDIS path to the full path of evmdis
binary.
Save it and close Automator.
I recommended having a global shortcut for it. Needless to say, beware of conflicts. This is how you should set it up:
It should be available for apps that preserve the list of services in their context menu:
Other option is under each app's Service submenu: