Skip to content

evertonfraga/evmdis-macos-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

EVMDIS MacOS Service Integration

It wraps EVMDIS created by Nick Johnson in a MacOS service, so it's readily accessible across the OS.

Installation

1. Download EVMDIS

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

2. Automator file

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.

How to trigger it?

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:

Example data

https://github.com/ethereum/tests/blob/develop/GeneralStateTests/stRevertTest/RevertPrecompiledTouch.json#L118

About

System-wide EVMDIS integration for MacOSX

Resources

Stars

Watchers

Forks

Packages

No packages published