Closed CCCCCrash closed 5 years ago
Okay, I fixed the bug that would introduce the indexing error. Now the fuzzer will not bind to any CPUs if the number of available ones is less than the job number.
Please see if this fixes your problem.
@maverick117 Yep, Now angora runs normally, That's great!
Glad to hear it.
When i run angora on a single-core machine, there will be an error
After i review the code, i find the error occurred in the fuzz_main.rs
the free_cpus will be
[]
if i run it on a single-core machine, num_jobs was set 1 in fuzzer.rs default. so, in the line 20,let cid = free_cpus[thread_id];
,free_cpus[thread_id] will produce an error.if i set
-j 0
in the command when run the fuzzer on a single-core machine, it can't run correctly.Thank for your attention.