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 :

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

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

['__cxa_free_exception', '__cxa_allocate_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 :

['__cxa_free_exception', 'log4cxx::helpers::PoolException::PoolException(int)', '__cxa_allocate_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_free_exception', '__cxa_allocate_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_free_exception', '__cxa_allocate_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
77 77 4 :

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

['std::__1::basic_string , std::__1::allocator > std::__1::operator+[abi:ne180100] , std::__1::allocator >(std::__1::basic_string , std::__1::allocator >&&, char const*)', 'std::__1::basic_string , std::__1::allocator >::~basic_string()', '__cxa_end_catch', '__cxa_bad_cast', 'log4cxx::helpers::Loader::loadClass(std::__1::basic_string , std::__1::allocator > const&)', 'std::__1::basic_string , std::__1::allocator > std::__1::operator+[abi:ne180100] , std::__1::allocator >(std::__1::basic_string , std::__1::allocator >&&, 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::__1::basic_string , std::__1::allocator > std::__1::operator+ , std::__1::allocator >(char const*, std::__1::basic_string , std::__1::allocator > const&)', 'log4cxx::Level::getStaticClass()', 'log4cxx::helpers::LogLog::isDebugEnabled()', '__clang_call_terminate', 'log4cxx::helpers::LogLog::error(std::__1::basic_string , std::__1::allocator > const&, std::exception const&)', 'log4cxx::helpers::LogLog::debug(std::__1::basic_string , std::__1::allocator > const&)', 'std::__1::basic_string , std::__1::allocator > std::__1::operator+[abi:ne180100] , std::__1::allocator >(char const*, std::__1::basic_string , std::__1::allocator >&&)', 'std::__1::basic_string , std::__1::allocator >::substr[abi:ne180100](unsigned long, unsigned long) const']

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

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

14 357 log4cxx::rolling::TimeBasedRollingPolicy::activateOptions(log4cxx::helpers::Pool&) call site: 00000 /src/logging-log4cxx/src/main/cpp/timebasedrollingpolicy.cpp:273
8 14 7 :

['__cxa_guard_release', '__cxa_guard_acquire', 'log4cxx::helpers::WideLife >::operator std::__1::shared_ptr &()', '_ZN7log4cxx7helpers8WideLifeINSt3__110shared_ptrINS_7pattern16PatternConverterEEEEC2INS3_INS4_23LiteralPatternConverterEEEJEQntsr3stdE7same_asINS1_IT_EETL0__EEEOSB_DpOT0_', 'std::__1::shared_ptr ::shared_ptr[abi:ne180100](std::__1::shared_ptr const&)', '__cxa_atexit', '__cxa_guard_abort']

8 14 log4cxx::pattern::LiteralPatternConverter::newInstance(std::__1::basic_string ,std::__1::allocator >const&) call site: 00000 /src/logging-log4cxx/src/main/cpp/literalpatternconverter.cpp:54
8 14 7 :

['__cxa_guard_release', '_ZN7log4cxx7helpers8WideLifeINSt3__110shared_ptrINS_7pattern16PatternConverterEEEEC2INS3_INS4_22LoggerPatternConverterEEEJEQntsr3stdE7same_asINS1_IT_EETL0__EEEOSB_DpOT0_', '__cxa_guard_acquire', 'log4cxx::helpers::WideLife >::operator std::__1::shared_ptr &()', 'std::__1::shared_ptr ::shared_ptr[abi:ne180100](std::__1::shared_ptr const&)', '__cxa_atexit', '__cxa_guard_abort']

8 14 log4cxx::pattern::LoggerPatternConverter::newInstance(std::__1::vector ,std::__1::allocator >,std::__1::allocator ,std::__1::allocator >>>const&) call site: 00000 /src/logging-log4cxx/src/main/cpp/loggerpatternconverter.cpp:40

Fuzzer calltree

0 LLVMFuzzerTestOneInput [function] [call site] 00000