mirror of
https://github.com/reactos/syzkaller.git
synced 2024-11-23 19:39:40 +00:00
a7e4a49fae
A bunch of spot optmizations after cpu/memory profiling: 1. Optimize hot-path coverage comparison in fuzzer. 2. Don't allocate and copy serialized program, serialize directly into shmem. 3. Reduce allocations during parsing of output shmem (encoding/binary sucks). 4. Don't allocate and copy coverage arrays, refer directly to the shmem region (we are not going to mutate them). 5. Don't validate programs outside of tests, validation allocates tons of memory. 6. Replace the choose primitive with simpler switches. Choose allocates fullload of memory (for int, func, and everything the func refers). 7. Other minor optimizations. |
||
---|---|---|
.. | ||
analysis.go | ||
clone.go | ||
encoding_test.go | ||
encoding.go | ||
encodingexec_test.go | ||
encodingexec.go | ||
generation.go | ||
mutation_test.go | ||
mutation.go | ||
parse_test.go | ||
parse.go | ||
prio.go | ||
prog_test.go | ||
prog.go | ||
rand.go | ||
size_test.go | ||
validation.go |