0

I have a couple questions about QSYM and master-slave in AFL.

  1. export AFL_ROOT="/workdir/afl-2.52b" export INPUT="/workdir/example/input" export OUTPUT="/workdir/example/output" export AFL_CMDLINE="/workdir/example/test.bin @@" $AFL_ROOT/afl-fuzz -S afl-slave -i $INPUT -o $OUTPUT -- $AFL_CMDLINE

When I put in $AFL_ROOT/afl-fuzz -S afl-slave -i $INPUT -o $OUTPUT -- $AFL_CMDLINE, an error "-S is undefined" appeared.

How do I fix this? According to the ReadMe file in AFL, I am certain that "-S" is a legit command.

  1. QSYM uses an old version of Python (Python2), while to compile the Python files for QSYM I am asked to use the latest version of Pytest (Pytest6), which requires Python3. Even I tried to upgrade my pytest by using Python3 on my PC doesn't work, as long as it detects Python2, it doesn't let me upgrade pytest to version 6. An Error: Python 2.7 reached the end of its life on January,2020 please upgrade pytest to its latest version has appeared.

What should I do?

To know more about QSYM, please goto this GitHub link: https://github.com/sslab-gatech/qsym

Thank you.

1 Answers1

1

pytest 5+ does not support python2

the last version which supported python 2.7 was 4.6.x

disclaimer: I am a pytest core dev

anthony sottile
  • 61,815
  • 15
  • 148
  • 207
  • Hi, I understand that, and I would like to know if there's any way I can fix this issue? As I tried to use Python3 to upgrade Pytest, but it doesn't work. – user13610933 Sep 15 '20 at 04:06
  • your options are: (1) upgrade your application to python3 (python2 is end-of-lifed after all) or (2) downgrade pytest to 4.6.x – anthony sottile Sep 15 '20 at 04:19