Home
last modified time | relevance | path

Searched refs:ctxt (Results 1 – 2 of 2) sorted by relevance

/tools/security/fuzzing/llm/xmlreader_fuzzer/
DXmlRead_Fd_Fuzzer.cpp14 xmlParserCtxtPtr ctxt = xmlNewParserCtxt(); in LLVMFuzzerTestOneInput() local
15 if (ctxt == nullptr) { in LLVMFuzzerTestOneInput()
22 xmlFreeParserCtxt(ctxt); in LLVMFuzzerTestOneInput()
40 xmlDocPtr doc = xmlCtxtReadFd(ctxt, fd, URL.c_str(), encoding.c_str(), options); in LLVMFuzzerTestOneInput()
46 xmlFreeParserCtxt(ctxt); in LLVMFuzzerTestOneInput()
DXmlRead_Memory_Fuzzer.cpp40 xmlParserCtxtPtr ctxt = xmlNewParserCtxt(); in LLVMFuzzerTestOneInput() local
41 if (ctxt == nullptr) { in LLVMFuzzerTestOneInput()
54 …xmlDocPtr doc = xmlCtxtReadMemory(ctxt, buffer.data(), bufferSize, URL.c_str(), encoding.c_str(), … in LLVMFuzzerTestOneInput()
60 xmlFreeParserCtxt(ctxt); in LLVMFuzzerTestOneInput()