Closed zhanggenex closed 4 years ago
@zhanggenex Seems like your build was not successfully. The files which are missing are generated during runtime by the fuzzer.
Can you please run below command first and check whether they are giving any error or not ?
@vivek425ster I went through these steps and got no errors.
Here is the error message when running the fuzzer:
[*] finished common BB. TOtal such BB: 0
443676:42:49.635 - Start Program
[] starting taintflow calculation. [] Executing: ['./run_2.sh', '/home/zhanggen/overflow/lava_corpus/LAVA-M/who/coreutils-8.24-lava-safe/build-qsym/bin/who /home/zhanggen/overflow/TIFF/fuzzer-code/datatemp/who/f3.utmp', 'f3.utmp', '0'] [*] Just about to run ['./run_2.sh', '/home/zhanggen/overflow/lava_corpus/LAVA-M/who/coreutils-8.24-lava-safe/build-qsym/bin/who /home/zhanggen/overflow/TIFF/fuzzer-code/datatemp/who/f3.utmp', 'f3.utmp', '0'] /home/zhanggen/overflow/lava_corpus/LAVA-M/who/coreutils-8.24-lava-safe/build-qsym/bin/who /home/zhanggen/overflow/TIFF/fuzzer-code/datatemp/who/f3.utmp f3.utmp /home/zhanggen/overflow/lava_corpus/LAVA-M/who/coreutils-8.24-lava-safe/build-qsym/bin/who /home/zhanggen/overflow/TIFF/fuzzer-code/datatemp/who/f3.utmp E: Unable to load libdft-dta.so Traceback (most recent call last): File "a.py", line 9, in
f = open('file.taint', "r") IOError: [Errno 2] No such file or directory: 'file.taint' cp: cannot stat '../libdft64/tools/cmp.out': No such file or directory cp: cannot stat '../libdft64/tools/lea.out': No such file or directory cp: cannot stat '../libdft64/tools/err_offset.json': No such file or directory cp: cannot stat '../libdft64/tools/err_arr_offset.json': No such file or directory cp: cannot stat '../libdft64/tools/reward.taint': No such file or directory [*] Run complete..
Exception in thread Thread-1: Traceback (most recent call last): File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner self.run() File "/usr/lib/python2.7/threading.py", line 754, in run self.target(*self.args, **self.__kwargs) File "/home/zhanggen/overflow/TIFF/fuzzer-code/runfuzzer.py", line 807, in main get_taint(config.INITIALD, 1) File "/home/zhanggen/overflow/TIFF/fuzzer-code/runfuzzer.py", line 528, in get_taint config.TAINTMAP[fl]=read_taint(pfl) File "/home/zhanggen/overflow/TIFF/fuzzer-code/runfuzzer.py", line 348, in read_taint cmpFD=open("cmp.out","r") IOError: [Errno 2] No such file or directory: 'cmp.out'
======================================== 443676:42:49.704 - End Program Elapsed time: 0:00:00.068
@vivek425ster Finally, I solved this problem by switching to kernel 3.13. It seems that pin2.13 does not support kenerl > 4. You could update the README if you feel necessary.
Hi, Looks like, in your environment, somehow taint engine (libdft-dta.so) is not running. I can suggest following to debug the problem:
I am trying to start this fuzzer, but it seems your code is imcomplete or your instruction is imcomplete.
This is a problem in TIFF/libdft64/tools/a.py
There are some files missing.
Please respond to me if you can recall these files, though it is an ancient project:-)
Thanks!
@tosanjay @vivek425ster