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
1169 1171 5 :

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

1169 2357 log4cxx::DefaultConfigurator::configure(std::__1::shared_ptr ) call site: 00000 /src/logging-log4cxx/src/main/cpp/defaultconfigurator.cpp:93
110 160 3 :

['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()', 'log4cxx::helpers::Class::getRegistry()']

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::registerClasses()', '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&)']

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 :

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

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

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

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

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

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

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

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 :

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

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::IOException::IOException(int)', 'log4cxx::helpers::Exception::what() const', 'log4cxx::helpers::IOException::~IOException()']

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

['__cxa_end_catch', 'log4cxx::helpers::LogLog::warn(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_begin_catch', '__dynamic_cast', 'std::__1::basic_string , std::__1::allocator >::substr[abi:ne180100](unsigned long, unsigned long) const', '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&)', '__clang_call_terminate', '__cxa_bad_cast']

30 3297 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:308
30 1746 10 :

['__cxa_end_catch', 'std::__1::basic_string , std::__1::allocator > std::__1::operator+ , std::__1::allocator >(char const*, std::__1::basic_string , std::__1::allocator > const&)', 'std::__1::basic_string , std::__1::allocator >::substr[abi:ne180100](unsigned long, unsigned long) 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&)', '__cxa_begin_catch', '__dynamic_cast', 'log4cxx::helpers::LogLog::warn(std::__1::basic_string , std::__1::allocator > const&, std::exception const&)', '__clang_call_terminate', '__cxa_bad_cast']

30 2655 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:308
8 595 12 :

['std::__1::shared_ptr ::~shared_ptr[abi:ne180100]()', '__cxa_end_catch', 'std::__1::basic_string , std::__1::allocator > std::__1::operator+ , std::__1::allocator >(char const*, std::__1::basic_string , std::__1::allocator > const&)', 'std::__1::shared_ptr ::operator->[abi:ne180100]() const', '__cxa_begin_catch', 'std::__1::shared_ptr ::operator bool[abi:ne180100]() const', 'std::__1::shared_ptr ::operator=[abi:ne180100](std::__1::shared_ptr const&)', 'log4cxx::helpers::LogLog::warn(std::__1::basic_string , std::__1::allocator > const&, std::exception const&)', 'std::__1::shared_ptr ::shared_ptr[abi:ne180100]()', 'std::__1::vector , std::__1::allocator >, std::__1::allocator , std::__1::allocator > > >::operator[][abi:ne180100](unsigned long) const', 'log4cxx::helpers::TimeZone::getTimeZone(std::__1::basic_string , std::__1::allocator > const&)', '__clang_call_terminate']

8 595 log4cxx::pattern::DatePatternConverter::getDateFormat(std::__1::vector ,std::__1::allocator >,std::__1::allocator ,std::__1::allocator >>>const&) call site: 00000 /src/logging-log4cxx/src/main/cpp/datepatternconverter.cpp:114

Fuzzer calltree

0 LLVMFuzzerTestOneInput [function] [call site] 00000