ConAFL icon indicating copy to clipboard operation
ConAFL copied to clipboard

AssertionError when I compile the tool

Open fatimahkj opened this issue 4 years ago • 1 comments

Hi,

I was trying to compile the tool using the following commands

python ./compile-run.py bigshot_p.c

Unfortunately, I had the error below:

Screenshot from 2020-09-15 16-24-15

Can you please tell me what I did wrong to fail the assertion and how to solve the problem.

Looking forward to hearing from you soon.

Thanks

fatimahkj avatar Sep 15 '20 13:09 fatimahkj

Hi fatimahkj, thanks for your interest in this project, the error shown in your is because the "in" directory for the tested program is missing. As you know, 'in' is just a folder that stores the mutated inputs. And this directory can be left empty at first, so I just change it to

  if not os.path.exists(os.path.join(dirname,'in')):
    os.mkdir(os.path.join(dirname,'in'))

to make the fuzzer get started.

I also submitted a new patch fixing this issue. Let me know if you have any questions.

Lawliar avatar Sep 18 '20 00:09 Lawliar