Fuzz introspector: /src/logging-log4cxx/src/cmake/LibFuzzerTest.cpp
For issues and ideas: https://github.com/ossf/fuzz-introspector/issues

Fuzz blockers

The followings are the branches where fuzzer fails to bypass.

Unique non-covered Complexity Unique Reachable Complexities Unique Reachable Functions All non-covered Complexity All Reachable Complexity Function Name Function Callsite Blocked Branch
1630 1632 6 :

['std::__1::shared_ptr ::shared_ptr[abi:ne180100](std::__1::shared_ptr const&)', 'log4cxx::DefaultConfigurator::getConfigurationWatchDelay()', 'log4cxx::File::getPath() const', 'log4cxx::helpers::OptionConverter::selectAndConfigure(log4cxx::File const&, std::__1::basic_string , std::__1::allocator > const&, std::__1::shared_ptr , int)', 'log4cxx::DefaultConfigurator::getConfiguratorClass()', 'std::__1::shared_ptr ::~shared_ptr[abi:ne180100]()']

1630 2674 log4cxx::DefaultConfigurator::configure(std::__1::shared_ptr ) call site: 00000 /src/logging-log4cxx/src/main/cpp/defaultconfigurator.cpp:96
110 160 3 :

['log4cxx::helpers::Class::getRegistry()', 'std::__1::map , std::__1::allocator >, log4cxx::helpers::Class const*, std::__1::less , std::__1::allocator > >, std::__1::allocator , std::__1::allocator > const, log4cxx::helpers::Class const*> > >::operator[](std::__1::basic_string , std::__1::allocator > const&)', 'log4cxx::helpers::Class::registerClasses()']

116 282 log4cxx::helpers::Class::forName(std::__1::basic_string ,std::__1::allocator >const&) call site: 00000 /src/logging-log4cxx/src/main/cpp/class.cpp:147
110 160 3 :

['log4cxx::helpers::Class::getRegistry()', 'std::__1::map , std::__1::allocator >, log4cxx::helpers::Class const*, std::__1::less , std::__1::allocator > >, std::__1::allocator , std::__1::allocator > const, log4cxx::helpers::Class const*> > >::operator[](std::__1::basic_string , std::__1::allocator > const&)', 'log4cxx::helpers::Class::registerClasses()']

116 198 log4cxx::helpers::Class::forName(std::__1::basic_string ,std::__1::allocator >const&) call site: 00000 /src/logging-log4cxx/src/main/cpp/class.cpp:147
77 77 4 :

['__cxa_allocate_exception', 'log4cxx::helpers::IOException::IOException(int)', '__cxa_free_exception', '__cxa_throw']

77 77 log4cxx::helpers::FileInputStream::read(log4cxx::helpers::ByteBuffer&) call site: 00000 /src/logging-log4cxx/src/main/cpp/fileinputstream.cpp:111
77 77 4 :

['__cxa_allocate_exception', 'log4cxx::helpers::PoolException::PoolException(int)', '__cxa_throw', '__cxa_free_exception']

77 77 log4cxx::helpers::Pool::setPool() call site: 00000 /src/logging-log4cxx/src/main/cpp/pool.cpp:54
77 77 4 :

['__cxa_allocate_exception', 'log4cxx::helpers::IOException::IOException(int)', '__cxa_free_exception', '__cxa_throw']

77 77 log4cxx::helpers::FileOutputStream::close(log4cxx::helpers::Pool&) call site: 00000 /src/logging-log4cxx/src/main/cpp/fileoutputstream.cpp:92
77 77 4 :

['__cxa_allocate_exception', 'log4cxx::helpers::IOException::IOException(int)', '__cxa_free_exception', '__cxa_throw']

77 77 log4cxx::rolling::GZCompressAction::execute(log4cxx::helpers::Pool&)const call site: 00000 /src/logging-log4cxx/src/main/cpp/gzcompressaction.cpp:153
77 77 4 :

['__cxa_allocate_exception', 'log4cxx::helpers::IOException::IOException(int)', '__cxa_free_exception', '__cxa_throw']

77 77 log4cxx::rolling::ZipCompressAction::execute(log4cxx::helpers::Pool&)const call site: 00000 /src/logging-log4cxx/src/main/cpp/zipcompressaction.cpp:138
75 77 3 :

['log4cxx::helpers::Exception::what() const', 'log4cxx::helpers::IOException::IOException(int)', 'log4cxx::helpers::IOException::~IOException()']

75 440 log4cxx::xml::DOMConfigurator::doConfigure(log4cxx::Fileconst&,std::__1::shared_ptr ) call site: 00000 /src/logging-log4cxx/src/main/cpp/domconfigurator.cpp:862
30 2130 10 :

['__cxa_begin_catch', '__dynamic_cast', '__clang_call_terminate', 'log4cxx::helpers::Loader::loadClass(std::__1::basic_string , std::__1::allocator > const&)', 'std::__1::basic_string , std::__1::allocator > std::__1::operator+ , std::__1::allocator >(wchar_t const*, std::__1::basic_string , std::__1::allocator > const&)', '__cxa_end_catch', 'log4cxx::helpers::LogLog::warn(std::__1::basic_string , std::__1::allocator > const&, std::exception const&)', 'log4cxx::helpers::LogLog::warn(std::__1::basic_string , std::__1::allocator > const&)', 'std::__1::basic_string , std::__1::allocator >::substr[abi:ne180100](unsigned long, unsigned long) const', '__cxa_bad_cast']

30 3081 log4cxx::helpers::OptionConverter::toLevel(std::__1::basic_string ,std::__1::allocator >const&,std::__1::shared_ptr const&) call site: 00000 /src/logging-log4cxx/src/main/cpp/optionconverter.cpp:323
30 1602 10 :

['__cxa_begin_catch', '__dynamic_cast', '__clang_call_terminate', 'std::__1::basic_string , std::__1::allocator >::substr[abi:ne180100](unsigned long, unsigned long) const', 'std::__1::basic_string , std::__1::allocator > std::__1::operator+ , std::__1::allocator >(char const*, std::__1::basic_string , std::__1::allocator > const&)', '__cxa_end_catch', '__cxa_bad_cast', 'log4cxx::helpers::LogLog::warn(std::__1::basic_string , std::__1::allocator > const&, std::exception const&)', 'log4cxx::helpers::Loader::loadClass(std::__1::basic_string , std::__1::allocator > const&)', 'log4cxx::helpers::LogLog::warn(std::__1::basic_string , std::__1::allocator > const&)']

30 2439 log4cxx::helpers::OptionConverter::toLevel(std::__1::basic_string ,std::__1::allocator >const&,std::__1::shared_ptr const&) call site: 00000 /src/logging-log4cxx/src/main/cpp/optionconverter.cpp:323
26 3205 33 :

['__clang_call_terminate', 'log4cxx::WriterAppender::setWriterInternal(std::__1::shared_ptr const&)', '_ZNSt3__110shared_ptrIN7log4cxx7helpers12OutputStreamEEC2B8ne180100INS2_16FileOutputStreamEvEEONS0_IT_EE', 'std::__1::shared_ptr ::~shared_ptr[abi:ne180100]()', 'log4cxx::FileAppender::setFileInternal(std::__1::basic_string , std::__1::allocator > const&)', 'std::__1::shared_ptr ::operator->[abi:ne180100]() const', 'std::__1::shared_ptr ::operator->[abi:ne180100]() const', 'std::__1::basic_string , std::__1::allocator >::~basic_string()', 'bool std::__1::operator==[abi:ne180100] (std::__1::shared_ptr const&, decltype(nullptr))', 'std::__1::basic_string , std::__1::allocator >::append[abi:ne180100](std::__1::basic_string , std::__1::allocator > const&)', '_ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC2B8ne180100ILi0EEEPKc', '__cxa_begin_catch', 'log4cxx::rolling::RolloverDescription::getAsynchronous() const', 'log4cxx::rolling::RolloverDescription::getAppend() const', 'log4cxx::rolling::RolloverDescription::getSynchronous() const', 'std::__1::shared_ptr ::~shared_ptr[abi:ne180100]()', 'log4cxx::rolling::RolloverDescription::getActiveFileName() const', 'log4cxx::FileAppender::activateOptionsInternal(log4cxx::helpers::Pool&)', 'log4cxx::File::~File()', 'log4cxx::FileAppender::getFile() const', '__cxa_end_catch', 'log4cxx::File::File()', 'std::__1::unique_ptr >::get[abi:ne180100]() const', 'std::__1::shared_ptr ::operator->[abi:ne180100]() const', 'log4cxx::WriterAppender::closeWriter()', 'std::__1::basic_string , std::__1::allocator >::append(char const*)', 'bool std::__1::operator==[abi:ne180100] >(std::__1::basic_string , std::__1::allocator > const&, std::__1::basic_string , std::__1::allocator > const&)', 'log4cxx::FileAppender::setFileInternal(std::__1::basic_string , std::__1::allocator > const&, bool, bool, unsigned long, log4cxx::helpers::Pool&)', 'std::__1::shared_ptr ::~shared_ptr[abi:ne180100]()', 'log4cxx::File::setPath(std::__1::basic_string , std::__1::allocator > const&)', 'std::__1::shared_ptr ::~shared_ptr[abi:ne180100]()', 'log4cxx::File::length(log4cxx::helpers::Pool&) const', 'std::__1::shared_ptr std::__1::make_shared[abi:ne180100] , std::__1::allocator >, bool, void>(std::__1::basic_string , std::__1::allocator >&&, bool&&)']

26 3205 log4cxx::rolling::RollingFileAppender::rolloverInternal(log4cxx::helpers::Pool&) call site: 00000 /src/logging-log4cxx/src/main/cpp/rollingfileappender.cpp:297

Fuzzer calltree

0 LLVMFuzzerTestOneInput [function] [call site] 00000