HexHive / magma

A ground-truth fuzzing benchmark suite based on real programs with real bugs.
https://hexhive.epfl.ch/magma
283 stars 82 forks source link

Empty monitor folder in php target #167

Closed harrison4ride closed 5 months ago

harrison4ride commented 6 months ago

Hi,

I tried to run the experiment of aflplusplus, fairfuzz, moptafl, hongfuzz on PHP, and I found only exif has monitor information while others are empty.

Here is the current log in hongfuzz on PHP json:

Start time:'2024-03-21.18.11.14' bin:'/magma_out/json', input:'/magma/targets/php/corpus/json', output:'/magma_shared/output', persistent:true, stdin:true, mutation_rate:5, timeout:1, max_runs:0, threads:1, minimize:false, git_commit:9f448ea9e8b59960970572e24ba4444b9a4b2fe8
Entering phase 1/3: Dry Run
Launched new fuzzing thread, no. #0
Persistent mode: Launched new persistent pid=741
Sz:4 Tm:19478us (i/b/h/e/p/c) New:0/0/0/452/32/10961, Cur:0/0/0/535/0/854
Sz:8 Tm:298us (i/b/h/e/p/c) New:0/0/0/11/1/621, Cur:0/0/0/507/0/493
Sz:16 Tm:170us (i/b/h/e/p/c) New:0/0/0/0/0/37, Cur:0/0/0/507/0/625
----
similar output here...
-----
Sz:3517 Tm:12545us (i/b/h/e/p/c) New:0/0/0/0/0/3, Cur:0/0/0/515/0/1263
Sz:182 Tm:161us (i/b/h/e/p/c) New:0/0/0/0/0/2, Cur:0/0/0/508/0/436
Sz:3342 Tm:183us (i/b/h/e/p/c) New:0/0/0/0/0/1, Cur:0/0/0/559/0/1094

Do you have any clue why this will happen? I am using your script on magma V1.2.

adrianherrera commented 5 months ago

From the logs it looks like the fuzzer ran correctly. So it could just be the bugs were never reached (and subsequently, never triggered).