Fuzzer friendly interface for the llvm bitcode parser.
Declared in <llvm/FuzzMutate/IRMutator.h>
std::unique_ptr<Module>
parseModule(
uint8_t const* Data,
size_t Size,
LLVMContext& Context);
New module or nullptr in case of error
| Name | Description |
|---|---|
| Data | Bitcode we are going to parse |
| Size | Size of the 'Data' in bytes |
| Context | LLVM context used to own the parsed module |