Problem running Honggfuzz on simple fauxware.c program

92 views
Skip to first unread message

Theodore Riera

unread,
Mar 2, 2018, 5:10:52 PM3/2/18
to honggfuzz
Hello, I'm trying to run honggfuzz with the following on the simple fauxware.c program in linked in the attachments.

I tried this using different compilers: clang-5.0 and the honggfuzz clang compiler with the following flags: 

    clang-5.0 -fsanitize=address  -fsanitize-coverage=bb fauxware.c -o fauxwareinstru

I ran honggfuzz with the following commands:

../honggfuzz/honggfuzz --input input --workspace output --sancov --sanitizers --stdin_input -- binary/fauxwareinstru

However honggfuzz stops after the first itteration with the following output:

------------------------------[ honggfuzz v1.2 ]-------------------------------
  Iterations : 0
       Phase : Dynamic Dry Run (1/2)
    Run Time : 0 hrs 0 min 0 sec
   Input Dir : [2] 'input'
  Fuzzed Cmd : 'binary/fauxwareinstru'
     Threads : 2, CPUs: 4, CPU%: 0% (0%/CPU)
       Speed : 0/sec (avg: 0)
     Crashes : 0 (unique: 0, blacklist: 0, verified: 0)
    Timeouts : 0 [10 sec.]
 Corpus Size : 0, max file size: 8 192
    Coverage : edge: 0 pc: 0 cmp: 0 #sancov_bb: 0 (cov: 0,

Launched new fuzzing thread, no. #0
Launched new fuzzing thread, no. #1
Ok, that's interesting, saved 'output/honggfuzz.input.0.fauxwareinstru.fuzz' as 'output/SIGABRT.PC.7ffff6efa428.STACK.149b703183.CODE.-6.ADDR.(nil).INSTR.cmp____$0xfffffffffffff000,%rax.fuzz'
It seems that 'output/SIGABRT.PC.7ffff6efa428.STACK.149b703183.CODE.-6.ADDR.(nil).INSTR.cmp____$0xfffffffffffff000,%rax.fuzz' already exists, skipping
[2018-03-02T23:05:49+0100][F][29308] fuzz_notifySocketFuzzerCrash():255 fuzz_notifySocketFuzzer: sent: -1

I also have a log file that I left in attached files. This might be related to clang and be a very newbie question sorry in advance if that's the case. I was hoping for some advice and a way to move forward with this .

Thanks in advance!

Theodore .R

fauxware.c
HF.sanitizer.log.29311
Reply all
Reply to author
Forward
0 new messages