-
Notifications
You must be signed in to change notification settings - Fork 49
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
hevm equivalence
fails due to dynamic jumptable and hence symbolic JUMP
#581
Comments
hevm equivalence
fails to parse bytecode
So this is a bug only insofar as we: (1) were printing an incorrect error message, and (2) we should give examples how to do this correctly. Latest hevm runs perfectly fine with:
Notice that i changed the way you "paste in" the files a.txt and b.txt. It then gives the output:
Notice: the VERY MUCH IS the possibility of a discrepancy, but because of the symbolic jump, hevm couldn't fully verify the contract. That's the first thing it prints, with all-caps "WARNING". I am keeping this open until I fix the error printed and give an example in hevm.dev about how to call this correctly, so others don't make the same mistake. |
Better documentation, better error printing Related to #581
Let me know what you think about the changes proposed here: https://github.com/ethereum/hevm/pull/583/files I hope it will help you and others not make the same small mistake! Mate |
thanks, commented on the PR. any possibility to fix the symbolic jump? that would probably be this vyperlang/vyper#3496 -- it codecopies a set of possible jump destinations into memory, and then jumps to one of them. |
Oh wow. Yeah, dynamic jumptables can be an issue. I'm trying to see what I can do. |
even without the jumptables, i am running into other issues with memory now. is there a good place to discuss these without clogging up the issue tracker? |
Sure, please come to https://matrix.to/#/%23hevm%3Amatrix.org that's our public Matrix room |
So I think this dynamic jump creates a bit of a conundrum. What I think is possible to do here is:
This is quite possible to do. Would take about 1 week to do I think. But it's like, real work :D [1]
|
hevm equivalence
fails to parse bytecodehevm equivalence
fails due to dynamic jumptable and hence symbolic JUMP
Better documentation, better error printing Related to #581
a.txt
b.txt
fails with:
The text was updated successfully, but these errors were encountered: