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
1394 1396 5 :

['log4cxx::DefaultConfigurator::getConfigurationWatchDelay()', 'std::__1::shared_ptr ::shared_ptr[abi:ne180100](std::__1::shared_ptr const&)', 'log4cxx::File::getPath() const', '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]()']

1394 3005 log4cxx::DefaultConfigurator::configure(std::__1::shared_ptr ) call site: 00000 /src/logging-log4cxx/src/main/cpp/defaultconfigurator.cpp:93
222 222 4 :

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

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

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

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

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

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

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

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

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

220 782 log4cxx::xml::DOMConfigurator::doConfigure(log4cxx::Fileconst&,std::__1::shared_ptr ) call site: 00000 /src/logging-log4cxx/src/main/cpp/domconfigurator.cpp:862
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()', '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 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
106 563 2 :

['log4cxx::helpers::LogLog::warn(std::__1::basic_string , std::__1::allocator > const&)', 'log4cxx::helpers::IllegalStateException::IllegalStateException()']

112 569 log4cxx::rolling::TimeBasedRollingPolicy::activateOptions(log4cxx::helpers::Pool&) call site: 00000 /src/logging-log4cxx/src/main/cpp/timebasedrollingpolicy.cpp:273
30 2130 10 :

['log4cxx::helpers::LogLog::warn(std::__1::basic_string , std::__1::allocator > const&)', '__cxa_bad_cast', '__cxa_end_catch', 'log4cxx::helpers::LogLog::warn(std::__1::basic_string , std::__1::allocator > const&, std::exception 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&)', '__clang_call_terminate', '__cxa_begin_catch', '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&)', '__dynamic_cast']

30 3218 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', '__cxa_end_catch', '__clang_call_terminate', '__cxa_begin_catch', 'log4cxx::helpers::LogLog::warn(std::__1::basic_string , std::__1::allocator > const&, std::exception const&)', '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::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', 'log4cxx::helpers::Loader::loadClass(std::__1::basic_string , std::__1::allocator > const&)', '__dynamic_cast']

30 2576 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 :

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

Fuzzer calltree

0 LLVMFuzzerTestOneInput [function] [call site] 00000