Closed thetheodor closed 4 years ago
Hey @ttheodor,
Have you set SYMCC_INPUT_FILE
to file1.jp2
? Otherwise the program will expect symbolic input on stdin.
Also, to reproduce the experiments we did for the paper you'll want to run SymCC together with AFL. There's documentation here - the gist is that we run AFL in distributed mode and make it exchange test cases with SymCC. There is a helper that repeatedly pulls interesting inputs from AFL and runs SymCC on them, feeding new test cases back to the fuzzer.
Let me know if you run into problems!
Cheers, Seb
I'm closing the issue, hoping that the docs have solved your problem. Feel free to reopen it if necessary!
Hello again, I am trying to reproduce the OpenJpeg example.
I followed the instructions on http://www.s3.eurecom.fr/tools/symbolic_execution/symcc.html:
1f1e9682
) withcmake -G Ninja .. -DBUILD_THIRDPARTY=ON
andCC/CXX/SYMCC_NO_SYMBOLIC_INPUT
appropriately set.symbolized XXX
(I saw this when building the test.c example).SYMCC_NO_SYMBOLIC_INPUT
, exportedSYMCC_OUTPUT_DIR
and runbin/opj_decompress -i file1.jp2 -o /tmp/image.pgm
, however I didn't see any output produced by SymCC's runtime.Did I miss some step?
Thanks