-
Notifications
You must be signed in to change notification settings - Fork 42
Issue with populate script and custom corpus generation #7
Comments
I just retried it and now I have the same issue as #2. The program reports |
This problem was firstly addressed by add -C to perform crash mode while initializing the corpus(instrument by original AFL). |
Thanks @zr950624 for your quick response! I try to add the -C flag if that helps in the population phase. |
I suggest compiling JS engines with the provided scripts in |
Hi @thdusdl1219 thank you for your response! I was able to follow your steps and my
(I didn't use the
Statistics output:
|
Yes. It looks working. |
Thank you for your response and work @thdusdl1219. I just was confused since the the newPathsQueue and pathBitmap keys haven't been in the database after initialization. The issue can be closed now. |
Hi all, got a similar issue, I'm missing "newPathsQueue". all the other keys seem to be there. I've also added -C to afl-fuzz as was suggested here. these are my redis keys: 127.0.0.1:6379> keys crash*
Any tips? cc: @thdusdl1219 thank you. |
I suspect it might have to do something with my instrumentation, I realized I didn't used the proxy.py file. So, I change the build-jsc.sh to contain the following vars: export CC=" where clang and clang++ are the symlinks that point to the proxy.py file. Now I get "No instrumentation detected"... |
|
yes, it works again using this script. I get this output in tmux but I still don't have the newPathsQueue in redis: [] Checking corpus: ./corpus/output-9/001480-corpus.js |
it seems that after calling "/redis_ctrl.js reportStatus fuzzer-$(hostname)-$(cat /etc/machine-id|cut -c 1-16)-14780 /home/adrian/Downloads/DIE/output-1/fuzzer_stats" the system command doesn't return for some reason and I get this error message : "+++ Testing aborted by user +++" . Placed breakpoints everywhere, I placed breakpoints on signal handlers, because I though maybe there's a signal raised that causes my program to get stopped, nothing happens.....the bps don't get hit, after that system call the program dies. [] Command: node /home/adrian/Downloads/DIE/fuzz/afl/../TS/redis_ctrl.js reportStatus fuzzer-$(hostname)-$(cat /etc/machine-id|cut -c 1-16)-14780 /home/adrian/Downloads/DIE/output-1/fuzzer_stats +++ Testing aborted by user +++ |
+++ Testing aborted by user +++ is the correct message if every population is finished. Could you provide more details of the execution? Did you run |
Hi @thdusdl1219 thank you for open sourcing this fuzzer! I'm running "populate.sh", but how can I get [target binary path]? Looking forward to your reppy. Thank you. |
hi, I also met a similar problem with "newPathsQueue" and "pathBitmap" in redis missing. |
Hi, @thdusdl1219 When running the tool, I encountered two problems. |
Hi @turbolizer, I wonder how you compiled the target and fix things because seems like I am facing the same issue. Thank you! |
I make it. And here is a brief intro of my solution. Hope it may help you. |
@StitchWuhula Thank you for your summary, that helps a lot. I am still trying but by any chance you've had it working with the latest v8? AFAIK latest v8 is using clang 13 so I've encountered a lot of issue when building. |
Not really.. By the time I have only tested it with Chakracore. You may apply similar methods on V8. As for clang, I strongly recommend using lower versions such as clang-6 for convenience.
…------------------ 原始邮件 ------------------
发件人: "sslab-gatech/DIE" ***@***.***>;
发送时间: 2021年4月19日(星期一) 晚上8:44
***@***.***>;
***@***.******@***.***>;
主题: Re: [sslab-gatech/DIE] Issue with populate script and custom corpus generation (#7)
@StitchWuhula Thank you for your summary, that helps a lot. I am still trying but by any chance you've had it working with the latest v8? AFAIK latest v8 is using clang 13 so I've encountered a lot of issue when building.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Hi @thdusdl1219 thank you for open sourcing this fuzzer. I just was reading your published paper and wanted to run it on my local machine. I would have two questions:
tmux attach -t corpus
I see that I receive a long list ofWhen taking a look at the output directory I don't see that a
.cur_input
file was created for each directory. As far I understood this is done by the afl-fuzz program. When connecting to the redis database I only see the following keys:I don't see the mentioned keys like "crashBitmap", "crashQueue", "pathBitmap", newPathsQueue". What might cause that those keys are not generated? I already was reading the following issue but the comments also didn't help:
#2
@zr950624 was your issue solved?
Please let me know if you have any ideas for either or question. I would like to get the fuzzer running and create a pull request for potential required changes.
The text was updated successfully, but these errors were encountered: