Closed DirectedAFL closed 2 years ago
The feature is implemented. I just cloned the most up-to-date code and compiled it, but the issue didn't show.
ERROR angora::track::fparser > parse track file error!! Os { code: 2, kind: NotFound, message: "No such file or directory" }
It seems you don't have a working tracking binary. Can you verify it is correctly compiled?
Yes, I do have all the binaries that are needed.
This is the stdin
directory after running test.sh stdin
root@875a4d3b408c:/fuzzer/Angora/tests# ls stdin
args stdin.c stdin.fast stdin.taint
Both binaries exist and are actually executable.
However, I am seeing this error message when I execute stdin.taint
==73657==WARNING: DataFlowSanitizer: call to uninstrumented function getc
Since the error message says that it cannot find the binary at the first place, this doesn't seem like the main cause of the problem. But, I just want to be sure if this is okay.
It seems we ignore getc's model in dfsan since in our testing OS it will optimized to _IO_getc. I will add it later.
Could you provide your OS\LLVM\LIBC version?
Thank you for your reply.
It is as follows
OS: Ubuntu 20.04.3 LTS
LLVM: 11.0.0
LIBC: 2.3.1
Then, is the followning error caused by ignoring the getc model?
ERROR angora::track::fparser > parse track file error!! Os { code: 2, kind: NotFound, message: "No such file or directory" }
If there is anything that I can try for myself, could you let me know? I would like to try it.
Thank you for your reply.
It is as follows
OS: Ubuntu 20.04.3 LTS LLVM: 11.0.0 LIBC: 2.3.1
Then, is the followning error caused by ignoring the getc model?
ERROR angora::track::fparser > parse track file error!! Os { code: 2, kind: NotFound, message: "No such file or directory" }
If there is anything that I can try for myself, could you let me know? I would like to try it.
I pushed the code at https://github.com/AngoraFuzzer/Angora/tree/fix_getc Can you try it ?
Also you can add the dfsan's custom function models if you found some inputs is ignored. e.g. https://github.com/AngoraFuzzer/Angora/blob/master/docs/build_target.md#build-external-libraries https://github.com/AngoraFuzzer/Angora/commit/383edbdd6edcc5232aa2d44f8465a199a26d29fb
Oh, it works. Thank you so much.
Also you can add the dfsan's custom function models if you found some inputs is ignored. e.g. https://github.com/AngoraFuzzer/Angora/blob/master/docs/build_target.md#build-external-libraries 383edbd
I just created a Ubuntu 20:04 image using docker and it seems Angora failed this case.
It most certainly had something to do with the environment/system/GLIBC. Do we want to merge this change into the mainstream?
Hi, I tried to run the test on standard inputs with the provided test script. I used the following command.
test.sh stdin
However, Fuzzing stopped after executing only one execution of the target binary. Here is the complete log.
This happened not only with this test program, but with other program that takes input from standard input ( such as cxxfilt in binutils). Is this some feature that is not yet implemented?
Thanks.