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

Problem about scanning bin.hex file #108

Closed
Mitsuhamizu opened this issue Jul 18, 2019 · 2 comments
Closed

Problem about scanning bin.hex file #108

Mitsuhamizu opened this issue Jul 18, 2019 · 2 comments
Assignees

Comments

@Mitsuhamizu
Copy link

Hi, I just want to use securify to scan some binary file, but when I find it produce no result.

alex@ubuntu:~/Downloads/securify-master$ java -jar build/libs/securify.jar -fh ./src/test/resources/solidity/UnrestrictedEtherFlow2.bin.hex
  Attempt to decompile the contract with methods...
  Success. Inlining methods...
  Propagating constants...
  Verifying patterns...

just like above.
Is securify can not scan binary file or I did something wrong?
I will be appreciate if you can solve my problem!

@ritzdorf
Copy link
Collaborator

Hi @unlocku,

thank you for contacting us.
This part is not well documented.

Currently you can run:

java -jar build/libs/securify.jar --livestatusfile /tmp/out.json  -fh ./src/test/resources/solidity/UnrestrictedEtherFlow2.bin.hex

to write the results to /tmp/out.json but we will improve this.

@ritzdorf ritzdorf self-assigned this Jul 24, 2019
@Mitsuhamizu
Copy link
Author

Hi @unlocku,

thank you for contacting us.
This part is not well documented.

Currently you can run:

java -jar build/libs/securify.jar --livestatusfile /tmp/out.json  -fh ./src/test/resources/solidity/UnrestrictedEtherFlow2.bin.hex

to write the results to /tmp/out.json but we will improve this.

thanks!

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

2 participants