seclab-yonsei / intriguer

Intriguer: Field-Level Constraint Solving for Hybrid Fuzzing
GNU General Public License v2.0
35 stars 11 forks source link

how to run intriguer ? It is not functionioning as it should be #2

Open cryptomadco opened 3 years ago

cryptomadco commented 3 years ago

Hi . I am testing the intriguer but unfortunately it throws error on AFL side .

Would you please help running the intriguer ?

Also, from the documentation I just didn't understand about the non-instrumented binary. because the afl inside intriguer directory also needs instrumented binary . What's the point here ?

Thanks!

cryptomadco commented 3 years ago

The error is as :

cp: cannot stat '/tmp/tmpdir.0UmcRU/field.out': No such file or directory

How to solve this ?

SpYHero33 commented 1 month ago

Same question,can you solve it now?

SpYHero33 commented 1 month ago

I have solved this problem. This is due to an error executing run_intriguer.py, which resulted in no temporary file being generated. File "/home/admin1/Desktop/intriguer/bin/run_intriguer.py", line 168, in <module> main() File "/home/admin1/Desktop/intriguer/bin/run_intriguer.py", line 102, in main TARGET_ARCH = check_binary(args.cmd[0]) File "/home/admin1/Desktop/intriguer/bin/run_intriguer.py", line 30, in check_binary if arch.find('elf32') >= 0: TypeError: argument should be integer or bytes-like object, not 'str' Need to modify the code of run_intriguer.py line30 if arch.find(b'elf32') >= 0: line32 elif arch.find(b'elf64-x86-64') >= 0: