vusec / vuzzer64

This implements a 64-bit version of vusec/vuzzer fuzzing tool.
Apache License 2.0
175 stars 51 forks source link

OSError: [Errno 8] Exec format error #30

Open marvi3 opened 11 months ago

marvi3 commented 11 months ago

Hello, I am trying to use VUzzer and ran into an error, that I don't know how to fix myself. I also did not find an issue addressing the same issue:

I start VUzzer with this command: python2 runfuzzer.py -s '/home/kali/SUT/mjs/build/mjs %s' -i 'tests/01/seeds/' -w 'tests/01/mjs.pkl' -n 'tests/01/mjs.names' -o '0x00000000'

Then I get the following error:

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 "runfuzzer.py", line 721, in main
(ibbs,iretc)=execute(tfl)
File "runfuzzer.py", line 176, in execute
retc = run(runcmd)
File "runfuzzer.py", line 74, in run
proc = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=False)
File "/usr/lib/python2.7/subprocess.py", line 394, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1047, in _execute_child
raise child_exception
OSError: [Errno 8] Exec format error

I then printed out, what the variable cmd in line 74 contains and it is the following: ['/home/kali/tools/vuzzer/pin/pin', '-t', '/home/kali/tools/vuzzer/vuzzer64/fuzzer-code/obj-intel64/bbcounts2.so', '-o', '/home/kali/tools/vuzzer/vuzzer64/fuzzer-code/vutemp/bbc.out', '-x', '0', '-libc', '0', '-l', '', '--', '/home/kali/SUT/mjs/build/mjs', '/home/kali/tools/vuzzer/vuzzer64/fuzzer-code/tests/01/seeds/test_1.js']

I am really not sure how to continue from this and would appreciate help a lot.