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
1122 1124 5 :

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

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

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

['__cxa_allocate_exception', '__cxa_free_exception', 'log4cxx::helpers::IOException::IOException(int)', '__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 :

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

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

['__cxa_allocate_exception', '__cxa_free_exception', 'log4cxx::helpers::IOException::IOException(int)', '__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', '__cxa_free_exception', 'log4cxx::helpers::IOException::IOException(int)', '__cxa_throw']

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

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

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

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

['log4cxx::helpers::TimeZone::getTimeZone(std::__1::basic_string , std::__1::allocator > const&)', 'log4cxx::helpers::LogLog::warn(std::__1::basic_string , std::__1::allocator > const&, std::exception const&)', '__cxa_end_catch', 'std::__1::vector , std::__1::allocator >, std::__1::allocator , std::__1::allocator > > >::operator[][abi:ne180100](unsigned long) const', 'std::__1::shared_ptr ::~shared_ptr[abi:ne180100]()', 'std::__1::shared_ptr ::operator bool[abi:ne180100]() const', 'std::__1::shared_ptr ::operator->[abi:ne180100]() const', '__clang_call_terminate', '__cxa_begin_catch', 'std::__1::shared_ptr ::shared_ptr[abi:ne180100]()', '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](std::__1::shared_ptr const&)']

8 559 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
8 469 9 :

['log4cxx::helpers::WideLife , std::__1::allocator > >::value() const', 'log4cxx::helpers::LogLog::warn(std::__1::basic_string , std::__1::allocator > const&)', '__cxa_guard_abort', 'std::__1::shared_ptr ::shared_ptr[abi:ne180100](decltype(nullptr))', '__cxa_guard_acquire', '__cxa_atexit', 'bool std::__1::operator==[abi:ne180100] , std::__1::allocator >(std::__1::basic_string , std::__1::allocator > const&, std::__1::basic_string , std::__1::allocator > const&)', '__cxa_guard_release', '_ZN7log4cxx7helpers8WideLifeINSt3__112basic_stringIwNS2_11char_traitsIwEENS2_9allocatorIwEEEEEC2IRA5_KwJEQntsr3stdE7same_asINS1_IT_EETL0__EEEOSE_DpOT0_']

8 3228 log4cxx::PropertyConfigurator::parseLogger(log4cxx::helpers::Properties&,std::__1::shared_ptr &,std::__1::basic_string ,std::__1::allocator >const&,std::__1::basic_string ,std::__1::allocator >const&,std::__1::basic_string ,std::__1::allocator >const&,bool) call site: 00000 /src/logging-log4cxx/src/main/cpp/propertyconfigurator.cpp:393

Fuzzer calltree

0 LLVMFuzzerTestOneInput [function] [call site] 00000