Hi. I am getting a Segmentation Fault when trying to generate a fuzzer. I got the preprocessor working, and made some fixes to fuzzgen as well, but it has a few problems. Initially it shows all the structs as not being part of the metadata file. [ERROR] 'struct.png_color_16_struct' is not in the metadata file. In fact they are, but I think they are in the globals field or some other field.
I don't know if that is a blocking issue, but my main problem is that when creating the AADG, I get the following warning many times: [WARNING] Recursive function found in AADG construction. Ignore it... and then I get a segmentation fault. Debugging pointed me to the calls of remove_vertex() (particularly layout.cpp:341 and layout.cpp:437) and the program crashes in some boostlib calls. It does not crash on the first call of remove_vertex() but later on, probably when it tries to remove something that is actually a null pointer. I tried both boost 1.71 from the community package, and also manually installed the latest 1.80, but the error is present in both.
I have been debugging this code for a while but I'm not sure how to fix this. did anyone else run into this problem, or has some insight into fixing this? Thank you very much.
Kernel: Linux pop-os 5.17.5-76051705-generic
LLVM & Clang version: 6.x
EDIT: I am trying to create a libpng fuzzer using jwm as a consumer (just to sanity check that everything is working before creating a more comprehensive fuzzer.
Hi. I am getting a Segmentation Fault when trying to generate a fuzzer. I got the preprocessor working, and made some fixes to fuzzgen as well, but it has a few problems. Initially it shows all the structs as not being part of the metadata file.
[ERROR] 'struct.png_color_16_struct' is not in the metadata file.In fact they are, but I think they are in the globals field or some other field.I don't know if that is a blocking issue, but my main problem is that when creating the AADG, I get the following warning many times:
[WARNING] Recursive function found in AADG construction. Ignore it...and then I get a segmentation fault. Debugging pointed me to the calls of remove_vertex() (particularlylayout.cpp:341andlayout.cpp:437) and the program crashes in some boostlib calls. It does not crash on the first call of remove_vertex() but later on, probably when it tries to remove something that is actually a null pointer. I tried both boost 1.71 from the community package, and also manually installed the latest 1.80, but the error is present in both.I have been debugging this code for a while but I'm not sure how to fix this. did anyone else run into this problem, or has some insight into fixing this? Thank you very much.
Kernel: Linux pop-os 5.17.5-76051705-generic
LLVM & Clang version: 6.x
EDIT: I am trying to create a libpng fuzzer using jwm as a consumer (just to sanity check that everything is working before creating a more comprehensive fuzzer.