Project: brpc

Language c++
OSS-Fuzz project link
Project repository link
Build status: Fuzzers succeeding: Build log
Build status: Code coverage succeeding: Build log
Build status: Fuzz Introspector succeeding: Build log
Fuzzer count 10
Lines of code 146188
Lines covered 12010
Code coverage 8.22%
Code coverage report Report link
Static reachability 7.12%
Fuzz Introspector report Report link (from 2025-03-27)
Fuzzer Code coverage (lines) Latest Report Comments
fuzz_butil 5.47% (avg: 5.47%, max: 5.47%) 2025-03-27
fuzz_esp 3.93% (avg: 3.93%, max: 3.94%) 2025-03-27
fuzz_hpack 8.5% (avg: 8.49%, max: 8.51%) 2025-03-27
fuzz_http 5.42% (avg: 5.36%, max: 5.42%) 2025-03-27
fuzz_hulu 4.27% (avg: 4.27%, max: 4.27%) 2025-03-27
fuzz_json 7.05% (avg: 7.05%, max: 7.06%) 2025-03-27
fuzz_redis 8.24% (avg: 8.23%, max: 8.24%) 2025-03-27
fuzz_shead 4.0% (avg: 4.0%, max: 4.01%) 2025-03-27
fuzz_sofa 4.27% (avg: 4.26%, max: 4.27%) 2025-03-27
fuzz_uri 3.96% (avg: 3.96%, max: 3.97%) 2025-03-27

Historical Progression

Per Fuzzer 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
brpc::policy::DiscoveryNamingService::GetServers(charconst*,std::vector<brpc::ServerNode,std::allocator<brpc::ServerNode>>*) /src/brpc/src/brpc/policy/discovery_naming_service.cpp 26345 0.0%
brpc::policy::ConsulNamingService::RunNamingService(charconst*,brpc::NamingServiceActions*) /src/brpc/src/brpc/policy/consul_naming_service.cpp 26315 0.0%
brpc::policy::DiscoveryClient::Register(brpc::policy::DiscoveryRegisterParamconst&) /src/brpc/src/brpc/policy/discovery_naming_service.cpp 26244 0.0%
brpc::policy::ConsulNamingService::GetServers(charconst*,std::vector<brpc::ServerNode,std::allocator<brpc::ServerNode>>*) /src/brpc/src/brpc/policy/consul_naming_service.cpp 26233 0.0%
brpc::policy::DiscoveryClient::PeriodicRenew(void*) /src/brpc/src/brpc/policy/discovery_naming_service.cpp 26229 0.0%
brpc::GlobalUpdate(void*) /src/brpc/src/brpc/global.cpp 26195 0.0%
brpc::policy::DiscoveryClient::DoRegister() /src/brpc/src/brpc/policy/discovery_naming_service.cpp 26149 0.0%
brpc::policy::NacosNamingService::GetServers(charconst*,std::vector<brpc::ServerNode,std::allocator<brpc::ServerNode>>*) /src/brpc/src/brpc/policy/nacos_naming_service.cpp 25921 0.0%
brpc::policy::GetOrNewDiscoveryChannel() /src/brpc/src/brpc/policy/discovery_naming_service.cpp 25828 0.0%
brpc::policy::NewDiscoveryChannel() /src/brpc/src/brpc/policy/discovery_naming_service.cpp 25826 0.0%