diff options
author | hexcoder- <heiko@hexco.de> | 2019-10-12 01:58:45 +0200 |
---|---|---|
committer | hexcoder- <heiko@hexco.de> | 2019-10-12 01:58:45 +0200 |
commit | 99f2abfd711f0cdfe56f08b63b8ee2effe58cbed (patch) | |
tree | b2137302099f571cfcbee4d7e12b3fdee8ccd307 /src/afl-fuzz-init.c | |
parent | 132ecc0580e35a629ce7b6c0d9441ac63262318d (diff) | |
download | afl++-99f2abfd711f0cdfe56f08b63b8ee2effe58cbed.tar.gz |
fine tuning cpu percentage limit to be detected as bound cpu on FreeBSD
Diffstat (limited to 'src/afl-fuzz-init.c')
-rw-r--r-- | src/afl-fuzz-init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/afl-fuzz-init.c b/src/afl-fuzz-init.c index 18ce0a2f..a54c53d8 100644 --- a/src/afl-fuzz-init.c +++ b/src/afl-fuzz-init.c @@ -138,7 +138,7 @@ void bind_to_free_cpu(void) { for (i = 0; i < proccount; i++) { - if (procs[i].ki_oncpu < sizeof(cpu_used) && procs[i].ki_pctcpu > 0) cpu_used[procs[i].ki_oncpu] = 1; + if (procs[i].ki_oncpu < sizeof(cpu_used) && procs[i].ki_pctcpu > 2) cpu_used[procs[i].ki_oncpu] = 1; } |