Open gdsjdunlap opened 8 years ago
The README.TXT parser expects afl commands to have been launched with a separator --
before the target program and arguments. This is documented in the BUGS section of the crashwalk readme. It's not ideal, I know. See if that's the problem you're having (and close if it is, thanks)
Due to the OSX issue I mentioned in my other bug, I can't test if this is the issue. I'll close this once I can confirm one way or the other.
Best I can say at the moment is that if I put the -- in the readme, instead of complaining about the README being unparseable I get a golang crash. Seems to suggest it's at least trying to work.
From the /sync directory
With a readme file like:
Which is what AFL produces naturally. Perhaps I need to pare it down and remove the suggestions about coredump from the file to be able to use -afl?
Now, I suspected that the cause of the problem may be that I am not in the right directory, so I went to the directory where the fuzzed program lives and:
cwtriage -afl -engine lldb -root ~/fuzzdir/sync/ -workers 16
produces no output whatsoever.
as well as
cwtriage -afl -engine lldb -root ~/fuzzdir/sync/ -workers 16 -- ./program.o -tv @@
I may very well be putting the wrong cmdline arguments, but the program seems to be doing nothing at all.