Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add usage instructions to README and help. #15

Open
MicahZoltu opened this issue Jul 23, 2017 · 2 comments
Open

Add usage instructions to README and help. #15

MicahZoltu opened this issue Jul 23, 2017 · 2 comments

Comments

@MicahZoltu
Copy link

I build/installed evmdis and ran evmdis -h. It shows me flags I can pass but doesn't actually tell me how to use it. I took a guess and did:
echo <some evm bytecode> | evmdis but that resulted in:

# Stack: []
0x0     STOP()

Which doesn't seem correct. Readme should have usage instructions, and the CLI help should as well.

@Arachnid
Copy link
Owner

Yes, usability needs big improvements. For reference, try echo -n; one of the many current shortcomings is very picky hex parsing.

@bohendo
Copy link

bohendo commented Jan 3, 2018

If anyone is analyzing an output file that might contain a newline, you can also do the following:

cat file.bytecode | tr -d '\n' | evmdis

(tr is a unix command line tool, tr for translate, -d for delete aka translate all '\n' chars into nothing)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants