LLVMFuzzerTestOneInput
LLVMFuzzerTestOneInput is a function that serves as the primary entry point for libFuzzer, a coverage-guided fuzzing engine developed by the LLVM Project. When libFuzzer is used to fuzz a target program, it repeatedly calls this function, providing it with synthesized input data. The purpose of LLVMFuzzerTestOneInput is to consume this input and execute the code being fuzzed.
The signature of the LLVMFuzzerTestOneInput function is typically void LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size). The first
Developers are responsible for implementing LLVMFuzzerTestOneInput within their fuzzing target. Inside this function, they should parse
libFuzzer then monitors the execution of LLVMFuzzerTestOneInput for various outcomes. If a crash occurs, it saves