Skip to content
This repository has been archived by the owner on May 9, 2019. It is now read-only.

Internals Walkthrough

Theofilos Petsios edited this page May 23, 2017 · 1 revision

Passing values between NEZHA core engine and NEZHA runtime

After each execution of LLVMFuzzerTestOneInput, the information required for NEZHA's delta-diversity guidance is passed between the NEZHA runtime and NEZHA core components using the following functions:

LLVMFuzzerNezhaOutputs
LLVMFuzzerBitcounts
LLVMFuzzerEdgecounts
LLVMFuzzerCovBuffers

Each function returns a container (e.g., ValContainerInt or ValContainerU64) with the required information for all the tested applications or libraries. For each container, @vals represents the value of interest and @size the total number of elements contained in the container.