Project: hermes

Language c++
OSS-Fuzz project link
Build status: Fuzzers failing: Build log
Build status: Code coverage failing: Build log
Build status: Fuzz Introspector succeeding: Build log
Fuzzer count 1
Lines of code 259993
Lines covered 40261
Code coverage 15.49%
Code coverage report Report link
Static reachability 0.13%
Fuzz Introspector report Report link (from 2024-10-16)

Historical progression

Functions of interest to fuzz

This section outlines functions that may be of interest to fuzz. They are based on ranking functions that have a lot of complexity but currently exhibit low code coverage. The complexity is calculated based on the function itself as well as the functions called by the given function, i.e. the tree of code that the function triggers.


This is only a minor amount of introspection information available for this project. Please consult the Fuzz Introspector report for more information, e.g. the introspection table of all functions in the target project available here.

Function name Function source file Accumulated cyclomatic complexity Code coverage
facebook::jsi::detail::ThreadSafeRuntimeImpl<facebook::hermes::HermesRuntimeImpl,facebook::hermes::(anonymousnamespace)::HermesMutex>::ThreadSafeRuntimeImpl<hermes::vm::RuntimeConfigconst&>(hermes::vm::RuntimeConfigconst&) /src/hermes/API/jsi/jsi/threadsafe.h 80570 0.0%
hermes::vm::asyncFunctionConstructor(void*,hermes::vm::Runtime&,hermes::vm::NativeArgs) /src/hermes/lib/VM/JSLib/AsyncFunction.cpp 61272 0.0%
hermes::vm::generatorFunctionConstructor(void*,hermes::vm::Runtime&,hermes::vm::NativeArgs) /src/hermes/lib/VM/JSLib/GeneratorFunction.cpp 61272 0.0%
hermes::vm::CallResult<hermes::vm::HermesValue,(hermes::vm::detail::CallResultSpecialize)2>hermes::vm::Interpreter::interpretFunction<true,false>(hermes::vm::Runtime&,hermes::vm::InterpreterState&) /src/hermes/lib/VM/Interpreter.cpp 61145 0.0%
facebook::jsi::WithRuntimeDecorator<facebook::jsi::detail::WithLock<facebook::hermes::HermesRuntimeImpl,facebook::hermes::(anonymousnamespace)::HermesMutex>,facebook::hermes::HermesRuntimeImpl,facebook::jsi::ThreadSafeRuntime>::evaluatePreparedJavaScript(std::__1::shared_ptr<facebook::jsi::PreparedJavaScriptconst>const&) /src/hermes/API/jsi/jsi/decorator.h 60451 0.0%
facebook::jsi::RuntimeDecorator<facebook::hermes::HermesRuntimeImpl,facebook::jsi::ThreadSafeRuntime>::evaluatePreparedJavaScript(std::__1::shared_ptr<facebook::jsi::PreparedJavaScriptconst>const&) /src/hermes/API/jsi/jsi/decorator.h 60430 0.0%
hermes::vm::generatorPrototypeReturnOrThrow(void*,hermes::vm::Runtime&,hermes::vm::NativeArgs) /src/hermes/lib/VM/JSLib/GeneratorPrototype.cpp 60235 0.0%
hermes::vm::generatorPrototypeNext(void*,hermes::vm::Runtime&,hermes::vm::NativeArgs) /src/hermes/lib/VM/JSLib/GeneratorPrototype.cpp 60233 0.0%
hermes::vm::generatorResumeAbrupt(hermes::vm::Runtime&,hermes::vm::Handle<hermes::vm::GeneratorInnerFunction>,hermes::vm::Handle<hermes::vm::HermesValue>,bool) /src/hermes/lib/VM/JSLib/GeneratorPrototype.cpp 60128 0.0%
facebook::hermes::HermesRuntime::debugJavaScript(std::__1::basic_string<char,std::__1::char_traits<char>,std::__1::allocator<char>>const&,std::__1::basic_string<char,std::__1::char_traits<char>,std::__1::allocator<char>>const&,facebook::hermes::HermesRuntime::DebugFlagsconst&) /src/hermes/API/hermes/hermes.cpp 60127 0.0%