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

ConcolicFuzzer gives model is not available error #123

Open
kahveciderin opened this issue Feb 5, 2022 · 0 comments
Open

ConcolicFuzzer gives model is not available error #123

kahveciderin opened this issue Feb 5, 2022 · 0 comments

Comments

@kahveciderin
Copy link

Describe the bug
Getting a model is not available error when using the ConcolicFuzzer

To Reproduce
Steps to reproduce the behavior:

  1. Initialize the concolic fuzzer
  2. Write a simple program
  3. Fuzz that simple program with the concolic fuzzer
  4. You will get a model is not available error from z3

Expected behavior
It should just work

Desktop (please complete the following information):

  • OS: Archcraft (Arch Linux)
  • Python version: 3.10.2

Additional context
Line 961 changing output = subprocess.getoutput("z3 -t:60 " + f.name) to output = subprocess.getoutput("z3 " + f.name), line 977 deleting assert o[1][0] == 'model' and line 978 replacing return 'sat', {i[1]: (i[-1], i[-2]) for i in o[1][1:]} with return 'sat', {i[1]: (i[-1], i[-2]) for i in o[1][0:]} results in the ConcolicFuzzer working as expected.

@kahveciderin kahveciderin changed the title ConcolicFuzzer gives error ConcolicFuzzer gives model is not available error Feb 5, 2022
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

1 participant