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

Fuzzing with AFL and Symcc does not work #152

Open
jiliguluss opened this issue Nov 30, 2023 · 2 comments
Open

Fuzzing with AFL and Symcc does not work #152

jiliguluss opened this issue Nov 30, 2023 · 2 comments

Comments

@jiliguluss
Copy link

jiliguluss commented Nov 30, 2023

The source code file is int_check.c.
I build the afl target and symcc target with commands:

afl-clang -O0 int_check.c -o afl-target
symcc -O0 int_check.c -o symcc-target

First I run afl process, and then I run symcc process:

afl-fuzz -S fuzz2 -i corpus/ -o out -m none -- ./afl-target @@
~/.cargo/bin/symcc_fuzzing_helper -o out -a fuzz2 -n symcc -- ./symcc-target @@

However, symcc can't generate any test case:
Snipaste_2023-11-30_13-48-22
Snipaste_2023-11-30_13-49-49

@jiliguluss jiliguluss changed the title Fuzzing with AFL Fuzzing with AFL and Symcc does not work Nov 30, 2023
@iamsh4shank
Copy link

Hey @jiliguluss could you tell me how did you build SymCC, did you get some error related to Z3?

@sebastianpoeplau
Copy link
Collaborator

In addition to what @iamsh4shank said, it would also be good to see the output of symcc-target outside the afl run, i.e., just ./symcc-target some-dummy-input.

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