-
Notifications
You must be signed in to change notification settings - Fork 19
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
Symbolic fuzzing #189
Symbolic fuzzing #189
Conversation
IIUC, all the complexity with the new weird operators is here to allow ignoring some instructions in the symbolic case ? I guess it is because they have not been implemented yet ? If that is the case, I'd prefer them to be actually implemented (even in an inefficient way) rather than adding all this complex machinery.. |
OK so, before merging, I'd like some things to be fixed:
|
|
There may even be clever tricks where we make a decision tree based on |
Yes, this can be an efficient way to solve this. I'm worried it could cause too much branching? I can think of one unclever way to implement it without branching; we'd create massive if-then-else expressions: ; ctz summary for I32
(ite (n = 0)
32
(ite (not (n & 1 = 0))
31
(ite (not (n & 2 = 0))
30
...
0)))) But this would probably grind z3 to a halt 😅 |
Before merging, could you rebase it as one single commit ? |
16b197b
to
91e2692
Compare
Thanks! |
Symbolic execution fuzzing first step : concrete context
Wasm modules have only concrete values and fuzzing checks that symbolic execution has the same behavior as concrete execution