Fuzz introspector
For issues and ideas: https://github.com/ossf/fuzz-introspector/issues

Fuzzer details

Fuzzer: QueryParser

Call tree

The calltree shows the control flow of the fuzzer. This is overlaid with coverage information to display how much of the potential code a fuzzer can reach is in fact covered at runtime. In the following there is a link to a detailed calltree visualisation as well as a bitmap showing a high-level view of the calltree. For further information about these topics please see the glossary for full calltree and calltree overview

Call tree overview bitmap:

The distribution of callsites in terms of coloring is
Color Runtime hitcount Callsite count Percentage
red 0 0 0.0%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 3 100.%
All colors 3 100

Runtime coverage analysis

Covered functions
2
Functions that are reachable but not covered
0
Reachable functions
3
Percentage of reachable functions covered
100.0%
NB: The sum of covered functions and functions that are reachable but not covered need not be equal to Reachable functions . This is because the reachability analysis is an approximation and thus at runtime some functions may be covered that are not included in the reachability analysis. This is a limitation of our static analysis capabilities.
Function name source code lines source lines hit percentage hit

Files reached

filename functions hit
/src/uWebSockets/fuzzing/QueryParser.cpp 1
/src/uWebSockets/fuzzing/./../src/QueryParser.h 1

Fuzzer: PerMessageDeflate

Call tree

The calltree shows the control flow of the fuzzer. This is overlaid with coverage information to display how much of the potential code a fuzzer can reach is in fact covered at runtime. In the following there is a link to a detailed calltree visualisation as well as a bitmap showing a high-level view of the calltree. For further information about these topics please see the glossary for full calltree and calltree overview

Call tree overview bitmap:

The distribution of callsites in terms of coloring is
Color Runtime hitcount Callsite count Percentage
red 0 0 0.0%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 10 100.%
All colors 10 100

Runtime coverage analysis

Covered functions
9
Functions that are reachable but not covered
3
Reachable functions
12
Percentage of reachable functions covered
75.0%
NB: The sum of covered functions and functions that are reachable but not covered need not be equal to Reachable functions . This is because the reachability analysis is an approximation and thus at runtime some functions may be covered that are not included in the reachability analysis. This is a limitation of our static analysis capabilities.
Function name source code lines source lines hit percentage hit

Files reached

filename functions hit
/src/uWebSockets/fuzzing/PerMessageDeflate.cpp 1
/src/uWebSockets/fuzzing/./../src/PerMessageDeflate.h 2
/src/uWebSockets/fuzzing/./helpers.h 2

Fuzzer: TopicTree

Call tree

The calltree shows the control flow of the fuzzer. This is overlaid with coverage information to display how much of the potential code a fuzzer can reach is in fact covered at runtime. In the following there is a link to a detailed calltree visualisation as well as a bitmap showing a high-level view of the calltree. For further information about these topics please see the glossary for full calltree and calltree overview

Call tree overview bitmap:

The distribution of callsites in terms of coloring is
Color Runtime hitcount Callsite count Percentage
red 0 0 0.0%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 12 100.%
All colors 12 100

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
0 0 3 :

['std::terminate()', 'std::__1::basic_ostream >& std::__1::operator<<[abi:ne180100] >(std::__1::basic_ostream >&, char const*)', 'std::__1::basic_ostream >::operator<<[abi:ne180100](std::__1::basic_ostream >& (*)(std::__1::basic_ostream >&))']

0 0 uWS::TopicTree ,std::__1::allocator >,std::__1::basic_string_view >>::checkIteratingSubscriber(uWS::Subscriber*) call site: 00000 /src/uWebSockets/fuzzing/./../src/TopicTree.h:107

Runtime coverage analysis

Covered functions
20
Functions that are reachable but not covered
7
Reachable functions
20
Percentage of reachable functions covered
65.0%
NB: The sum of covered functions and functions that are reachable but not covered need not be equal to Reachable functions . This is because the reachability analysis is an approximation and thus at runtime some functions may be covered that are not included in the reachability analysis. This is a limitation of our static analysis capabilities.
Function name source code lines source lines hit percentage hit

Files reached

filename functions hit
/src/uWebSockets/fuzzing/TopicTree.cpp 1
/src/uWebSockets/fuzzing/./../src/TopicTree.h 6
/src/uWebSockets/fuzzing/./helpers.h 2

Fuzzer: MultipartParser

Call tree

The calltree shows the control flow of the fuzzer. This is overlaid with coverage information to display how much of the potential code a fuzzer can reach is in fact covered at runtime. In the following there is a link to a detailed calltree visualisation as well as a bitmap showing a high-level view of the calltree. For further information about these topics please see the glossary for full calltree and calltree overview

Call tree overview bitmap:

The distribution of callsites in terms of coloring is
Color Runtime hitcount Callsite count Percentage
red 0 2 11.1%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 16 88.8%
All colors 18 100

Fuzz blockers

The following nodes represent call sites where fuzz blockers occur.

Amount of callsites blocked Calltree index Parent function Callsite Largest blocked function
1 7 LLVMFuzzerTestOneInput call site: 00007
1 12 uWS::ParameterParser::getToken() call site: 00012 __ctype_b_loc

Runtime coverage analysis

Covered functions
9
Functions that are reachable but not covered
7
Reachable functions
24
Percentage of reachable functions covered
70.83%
NB: The sum of covered functions and functions that are reachable but not covered need not be equal to Reachable functions . This is because the reachability analysis is an approximation and thus at runtime some functions may be covered that are not included in the reachability analysis. This is a limitation of our static analysis capabilities.
Function name source code lines source lines hit percentage hit

Files reached

filename functions hit
/src/uWebSockets/fuzzing/MultipartParser.cpp 1
/src/uWebSockets/fuzzing/./../src/Multipart.h 7
/src/uWebSockets/fuzzing/./../src/MessageParser.h 1
/usr/local/bin/../include/c++/v1/optional 2
/usr/include/ctype.h 1

Fuzzer: Extensions

Call tree

The calltree shows the control flow of the fuzzer. This is overlaid with coverage information to display how much of the potential code a fuzzer can reach is in fact covered at runtime. In the following there is a link to a detailed calltree visualisation as well as a bitmap showing a high-level view of the calltree. For further information about these topics please see the glossary for full calltree and calltree overview

Call tree overview bitmap:

The distribution of callsites in terms of coloring is
Color Runtime hitcount Callsite count Percentage
red 0 1 9.09%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 10 90.9%
All colors 11 100

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
0 0 4 :

['std::__1::basic_string , std::__1::allocator >::operator+=[abi:ne180100](std::__1::basic_string , std::__1::allocator > const&)', 'std::__1::basic_string , std::__1::allocator >::~basic_string()', '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::to_string(int)']

0 0 uWS::negotiateCompression(bool,int,int,std::__1::basic_string_view >) call site: 00000 /src/uWebSockets/fuzzing/./../src/WebSocketExtensions.h:192
0 0 None 0 0 uWS::negotiateCompression(bool,int,int,std::__1::basic_string_view >) call site: 00000 /src/uWebSockets/fuzzing/./../src/WebSocketExtensions.h:211

Runtime coverage analysis

Covered functions
4
Functions that are reachable but not covered
3
Reachable functions
10
Percentage of reachable functions covered
70.0%
NB: The sum of covered functions and functions that are reachable but not covered need not be equal to Reachable functions . This is because the reachability analysis is an approximation and thus at runtime some functions may be covered that are not included in the reachability analysis. This is a limitation of our static analysis capabilities.
Function name source code lines source lines hit percentage hit

Files reached

filename functions hit
/src/uWebSockets/fuzzing/Extensions.cpp 1
/src/uWebSockets/fuzzing/./../src/WebSocketExtensions.h 3
/usr/include/ctype.h 1

Fuzzer: WebSocket

Call tree

The calltree shows the control flow of the fuzzer. This is overlaid with coverage information to display how much of the potential code a fuzzer can reach is in fact covered at runtime. In the following there is a link to a detailed calltree visualisation as well as a bitmap showing a high-level view of the calltree. For further information about these topics please see the glossary for full calltree and calltree overview

Call tree overview bitmap:

The distribution of callsites in terms of coloring is
Color Runtime hitcount Callsite count Percentage
red 0 1 12.5%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 7 87.5%
All colors 8 100

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
35 35 1 :

['uWS::WebSocketProtocol ::unmaskAll(char*, char*)']

35 83 uWS::WebSocketProtocol ::consumeContinuation(char*&,unsignedint&,uWS::WebSocketState *,void*) call site: 00000 /src/uWebSockets/fuzzing/./../src/WebSocketProtocol.h:435
0 2 1 :

['Impl::forceClose(uWS::WebSocketState *, void*, std::__1::basic_string_view >)']

0 2 booluWS::WebSocketProtocol ::consumeMessage<6u,unsignedchar>(unsignedchar,char*&,unsignedint&,uWS::WebSocketState *,void*) call site: 00000 /src/uWebSockets/fuzzing/./../src/WebSocketProtocol.h:356

Runtime coverage analysis

Covered functions
34
Functions that are reachable but not covered
5
Reachable functions
12
Percentage of reachable functions covered
58.33%
NB: The sum of covered functions and functions that are reachable but not covered need not be equal to Reachable functions . This is because the reachability analysis is an approximation and thus at runtime some functions may be covered that are not included in the reachability analysis. This is a limitation of our static analysis capabilities.
Warning: The number of covered functions are larger than the number of reachable functions. This means that there are more functions covered at runtime than are extracted using static analysis. This is likely a result of the static analysis component failing to extract the right call graph or the coverage runtime being compiled with sanitizers in code that the static analysis has not analysed. This can happen if lto/gold is not used in all places that coverage instrumentation is used.
Function name source code lines source lines hit percentage hit

Files reached

filename functions hit
/src/uWebSockets/fuzzing/WebSocket.cpp 1
/src/uWebSockets/fuzzing/./../src/WebSocketProtocol.h 2
/src/uWebSockets/fuzzing/./helpers.h 2

Fuzzer: Http

Call tree

The calltree shows the control flow of the fuzzer. This is overlaid with coverage information to display how much of the potential code a fuzzer can reach is in fact covered at runtime. In the following there is a link to a detailed calltree visualisation as well as a bitmap showing a high-level view of the calltree. For further information about these topics please see the glossary for full calltree and calltree overview

Call tree overview bitmap:

The distribution of callsites in terms of coloring is
Color Runtime hitcount Callsite count Percentage
red 0 0 0.0%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 8 100.%
All colors 8 100

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
24 24 5 :

['_ZNSt3__111__wrap_iterIPKN5ofats13any_invocableIFbPN3uWS10HttpRouterIN10StaticData10RouterDataEEEEEEEC2B8ne180100IPSA_TnNS_9enable_ifIXsr14is_convertibleIT_SC_EE5valueEiE4typeELi0EEERKNS0_ISH_EE', 'std::__1::__wrap_iter *)>*>::operator+[abi:ne180100](long) const', 'std::__1::vector *)>, std::__1::allocator *)> > >::begin[abi:ne180100]()', 'uWS::HttpRouter ::cullNode(uWS::HttpRouter ::Node*, uWS::HttpRouter ::Node*, unsigned int)', 'std::__1::vector *)>, std::__1::allocator *)> > >::erase[abi:ne180100](std::__1::__wrap_iter *)> const*>)']

24 24 uWS::HttpRouter ::remove(std::__1::basic_string ,std::__1::allocator >,std::__1::basic_string ,std::__1::allocator >,unsignedint) call site: 00000 /src/uWebSockets/fuzzing/./../src/HttpRouter.h:362
2 2 1 :

['exit']

2 2 autoStaticData::StaticData()::{lambda(auto:1*)#1}::operator() >(uWS::HttpRouter *) call site: 00000 /src/uWebSockets/fuzzing/Http.cpp:30
2 2 1 :

['exit']

2 2 autoStaticData::StaticData()::{lambda(auto:1*)#2}::operator() >(uWS::HttpRouter *) call site: 00000 /src/uWebSockets/fuzzing/Http.cpp:42
0 12 12 :

['std::__1::vector ::Node, std::__1::default_delete ::Node> >, std::__1::allocator ::Node, std::__1::default_delete ::Node> > > >::end[abi:ne180100]()', 'std::__1::unique_ptr ::Node, std::__1::default_delete ::Node> >::get[abi:ne180100]() const', 'std::__1::vector >::operator[][abi:ne180100](unsigned long)', 'std::__1::__wrap_iter ::Node, std::__1::default_delete ::Node> >*>::operator++[abi:ne180100]()', 'std::__1::vector >::size[abi:ne180100]() const', 'bool std::__1::operator!=[abi:ne180100] ::Node, std::__1::default_delete ::Node> >*>(std::__1::__wrap_iter ::Node, std::__1::default_delete ::Node> >*> const&, std::__1::__wrap_iter ::Node, std::__1::default_delete ::Node> >*> const&)', 'std::__1::unique_ptr ::Node, std::__1::default_delete ::Node> >::operator->[abi:ne180100]() const', 'bool std::__1::operator==[abi:ne180100] >(std::__1::basic_string , std::__1::allocator > const&, std::__1::basic_string , std::__1::allocator > const&)', 'std::__1::__wrap_iter ::Node, std::__1::default_delete ::Node> >*>::operator*[abi:ne180100]() const', 'std::__1::vector ::Node, std::__1::default_delete ::Node> >, std::__1::allocator ::Node, std::__1::default_delete ::Node> > > >::begin[abi:ne180100]()', 'uWS::HttpRouter ::getUrlSegment(int)', '_ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC2INS_17basic_string_viewIcS2_EETnNS_9enable_ifIXaasr33__can_be_converted_to_string_viewIcS2_T_EE5valuentsr17__is_same_uncvrefISA_S5_EE5valueEiE4typeELi0EEERKSA_']

0 12 uWS::HttpRouter ::findHandler(std::__1::basic_string ,std::__1::allocator >,std::__1::basic_string ,std::__1::allocator >,unsignedint) call site: 00000 /src/uWebSockets/fuzzing/./../src/HttpRouter.h:225
0 0 None 4 4 uWS::ChunkIterator::operator*() call site: 00000 /src/uWebSockets/fuzzing/./../src/ChunkedEncoding.h:218
0 0 None 0 10 autouWS::HttpRouter ::getNode(uWS::HttpRouter ::Node*,std::__1::basic_string ,std::__1::allocator >,bool)::{lambda(auto:1&,auto:2&)#1}::operator() ::Node,std::__1::default_delete ::Node>>const,std::__1::default_delete ::Node>>(std::__1::unique_ptr ::Node,std::__1::default_delete ::Node>>const&,std::__1::default_delete ::Node>&)const call site: 00000 /src/uWebSockets/fuzzing/./../src/HttpRouter.h:93
0 0 None 0 0 autoStaticData::StaticData()::{lambda(auto:1*)#3}::operator() >(uWS::HttpRouter *) call site: 00000 /src/uWebSockets/fuzzing/Http.cpp:54
0 0 None 0 0 autoStaticData::StaticData()::{lambda(auto:1*)#4}::operator() >(uWS::HttpRouter *) call site: 00000 /src/uWebSockets/fuzzing/Http.cpp:66
0 0 None 0 0 std::__1::pair uWS::HttpParser::fenceAndConsumePostPadded<1>(char*,unsignedint,void*,void*,uWS::HttpRequest*,ofats::any_invocable &,ofats::any_invocable >,bool)>&) call site: 00000 /src/uWebSockets/fuzzing/./../src/HttpParser.h:494

Runtime coverage analysis

Covered functions
128
Functions that are reachable but not covered
7
Reachable functions
12
Percentage of reachable functions covered
41.67%
NB: The sum of covered functions and functions that are reachable but not covered need not be equal to Reachable functions . This is because the reachability analysis is an approximation and thus at runtime some functions may be covered that are not included in the reachability analysis. This is a limitation of our static analysis capabilities.
Warning: The number of covered functions are larger than the number of reachable functions. This means that there are more functions covered at runtime than are extracted using static analysis. This is likely a result of the static analysis component failing to extract the right call graph or the coverage runtime being compiled with sanitizers in code that the static analysis has not analysed. This can happen if lto/gold is not used in all places that coverage instrumentation is used.
Function name source code lines source lines hit percentage hit

Files reached

filename functions hit
/src/uWebSockets/fuzzing/Http.cpp 1
/src/uWebSockets/fuzzing/./../src/HttpParser.h 2
/src/uWebSockets/fuzzing/./helpers.h 2

Fuzzer: HttpWithProxy

Call tree

The calltree shows the control flow of the fuzzer. This is overlaid with coverage information to display how much of the potential code a fuzzer can reach is in fact covered at runtime. In the following there is a link to a detailed calltree visualisation as well as a bitmap showing a high-level view of the calltree. For further information about these topics please see the glossary for full calltree and calltree overview

Call tree overview bitmap:

The distribution of callsites in terms of coloring is
Color Runtime hitcount Callsite count Percentage
red 0 0 0.0%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 9 100.%
All colors 9 100

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
24 24 5 :

['_ZNSt3__111__wrap_iterIPKN5ofats13any_invocableIFbPN3uWS10HttpRouterIN10StaticData10RouterDataEEEEEEEC2B8ne180100IPSA_TnNS_9enable_ifIXsr14is_convertibleIT_SC_EE5valueEiE4typeELi0EEERKNS0_ISH_EE', 'std::__1::__wrap_iter *)>*>::operator+[abi:ne180100](long) const', 'std::__1::vector *)>, std::__1::allocator *)> > >::begin[abi:ne180100]()', 'uWS::HttpRouter ::cullNode(uWS::HttpRouter ::Node*, uWS::HttpRouter ::Node*, unsigned int)', 'std::__1::vector *)>, std::__1::allocator *)> > >::erase[abi:ne180100](std::__1::__wrap_iter *)> const*>)']

24 24 uWS::HttpRouter ::remove(std::__1::basic_string ,std::__1::allocator >,std::__1::basic_string ,std::__1::allocator >,unsignedint) call site: 00000 /src/uWebSockets/fuzzing/./../src/HttpRouter.h:362
2 2 1 :

['exit']

2 2 autoStaticData::StaticData()::{lambda(auto:1*)#1}::operator() >(uWS::HttpRouter *) call site: 00000 /src/uWebSockets/fuzzing/Http.cpp:30
2 2 1 :

['exit']

2 2 autoStaticData::StaticData()::{lambda(auto:1*)#2}::operator() >(uWS::HttpRouter *) call site: 00000 /src/uWebSockets/fuzzing/Http.cpp:42
0 12 12 :

['std::__1::vector ::Node, std::__1::default_delete ::Node> >, std::__1::allocator ::Node, std::__1::default_delete ::Node> > > >::end[abi:ne180100]()', 'std::__1::unique_ptr ::Node, std::__1::default_delete ::Node> >::get[abi:ne180100]() const', 'std::__1::vector >::operator[][abi:ne180100](unsigned long)', 'std::__1::__wrap_iter ::Node, std::__1::default_delete ::Node> >*>::operator++[abi:ne180100]()', 'std::__1::vector >::size[abi:ne180100]() const', 'bool std::__1::operator!=[abi:ne180100] ::Node, std::__1::default_delete ::Node> >*>(std::__1::__wrap_iter ::Node, std::__1::default_delete ::Node> >*> const&, std::__1::__wrap_iter ::Node, std::__1::default_delete ::Node> >*> const&)', 'std::__1::unique_ptr ::Node, std::__1::default_delete ::Node> >::operator->[abi:ne180100]() const', 'bool std::__1::operator==[abi:ne180100] >(std::__1::basic_string , std::__1::allocator > const&, std::__1::basic_string , std::__1::allocator > const&)', 'std::__1::__wrap_iter ::Node, std::__1::default_delete ::Node> >*>::operator*[abi:ne180100]() const', 'std::__1::vector ::Node, std::__1::default_delete ::Node> >, std::__1::allocator ::Node, std::__1::default_delete ::Node> > > >::begin[abi:ne180100]()', 'uWS::HttpRouter ::getUrlSegment(int)', '_ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC2INS_17basic_string_viewIcS2_EETnNS_9enable_ifIXaasr33__can_be_converted_to_string_viewIcS2_T_EE5valuentsr17__is_same_uncvrefISA_S5_EE5valueEiE4typeELi0EEERKSA_']

0 12 uWS::HttpRouter ::findHandler(std::__1::basic_string ,std::__1::allocator >,std::__1::basic_string ,std::__1::allocator >,unsignedint) call site: 00000 /src/uWebSockets/fuzzing/./../src/HttpRouter.h:225
0 0 None 4 4 uWS::ChunkIterator::operator*() call site: 00000 /src/uWebSockets/fuzzing/./../src/ChunkedEncoding.h:218
0 0 None 0 10 autouWS::HttpRouter ::getNode(uWS::HttpRouter ::Node*,std::__1::basic_string ,std::__1::allocator >,bool)::{lambda(auto:1&,auto:2&)#1}::operator() ::Node,std::__1::default_delete ::Node>>const,std::__1::default_delete ::Node>>(std::__1::unique_ptr ::Node,std::__1::default_delete ::Node>>const&,std::__1::default_delete ::Node>&)const call site: 00000 /src/uWebSockets/fuzzing/./../src/HttpRouter.h:93
0 0 None 0 0 autoStaticData::StaticData()::{lambda(auto:1*)#3}::operator() >(uWS::HttpRouter *) call site: 00000 /src/uWebSockets/fuzzing/Http.cpp:54
0 0 None 0 0 autoStaticData::StaticData()::{lambda(auto:1*)#4}::operator() >(uWS::HttpRouter *) call site: 00000 /src/uWebSockets/fuzzing/Http.cpp:66
0 0 None 0 0 std::__1::pair uWS::HttpParser::fenceAndConsumePostPadded<1>(char*,unsignedint,void*,void*,uWS::HttpRequest*,ofats::any_invocable &,ofats::any_invocable >,bool)>&) call site: 00000 /src/uWebSockets/fuzzing/./../src/HttpParser.h:494

Runtime coverage analysis

Covered functions
131
Functions that are reachable but not covered
9
Reachable functions
14
Percentage of reachable functions covered
35.71%
NB: The sum of covered functions and functions that are reachable but not covered need not be equal to Reachable functions . This is because the reachability analysis is an approximation and thus at runtime some functions may be covered that are not included in the reachability analysis. This is a limitation of our static analysis capabilities.
Warning: The number of covered functions are larger than the number of reachable functions. This means that there are more functions covered at runtime than are extracted using static analysis. This is likely a result of the static analysis component failing to extract the right call graph or the coverage runtime being compiled with sanitizers in code that the static analysis has not analysed. This can happen if lto/gold is not used in all places that coverage instrumentation is used.
Function name source code lines source lines hit percentage hit

Files reached

filename functions hit
/src/uWebSockets/fuzzing/Http.cpp 1
/src/uWebSockets/fuzzing/./../src/HttpParser.h 2
/src/uWebSockets/fuzzing/./../src/ProxyParser.h 1
/src/uWebSockets/fuzzing/./helpers.h 2

Fuzzer: AsyncEpollHelloWorld

Call tree

The calltree shows the control flow of the fuzzer. This is overlaid with coverage information to display how much of the potential code a fuzzer can reach is in fact covered at runtime. In the following there is a link to a detailed calltree visualisation as well as a bitmap showing a high-level view of the calltree. For further information about these topics please see the glossary for full calltree and calltree overview

Call tree overview bitmap:

The distribution of callsites in terms of coloring is
Color Runtime hitcount Callsite count Percentage
red 0 63 20.7%
gold [1:9] 1 0.33%
yellow [10:29] 1 0.33%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 238 78.5%
All colors 303 100

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
78 80 2 :

['uWS::HttpResponseData ::callOnWritable(unsigned long)', 'us_socket_timeout']

78 80 uWS::HttpContext ::init()::{lambda(us_socket_t*)#1}::operator()(us_socket_t*)const call site: 00000 /src/uWebSockets/fuzzing/../src/HttpContext.h:333
24 41 5 :

['bsd_socket_nodelay', 'us_poll_change', 'us_socket_timeout', 'us_internal_poll_set_type', 'us_socket_close_connecting']

24 43 us_internal_dispatch_ready_poll call site: 00236 /src/uWebSockets/fuzzing/../uSockets/src/loop.c:242
24 24 5 :

['uWS::HttpRouter ::RouterData>::cullNode(uWS::HttpRouter ::RouterData>::Node*, uWS::HttpRouter ::RouterData>::Node*, unsigned int)', 'std::__1::vector ::RouterData>*)>, std::__1::allocator ::RouterData>*)> > >::begin[abi:ne180100]()', 'std::__1::vector ::RouterData>*)>, std::__1::allocator ::RouterData>*)> > >::erase[abi:ne180100](std::__1::__wrap_iter ::RouterData>*)> const*>)', 'std::__1::__wrap_iter ::RouterData>*)>*>::operator+[abi:ne180100](long) const', '_ZNSt3__111__wrap_iterIPKN5ofats13any_invocableIFbPN3uWS10HttpRouterINS3_15HttpContextDataILb0EE10RouterDataEEEEEEEC2B8ne180100IPSB_TnNS_9enable_ifIXsr14is_convertibleIT_SD_EE5valueEiE4typeELi0EEERKNS0_ISI_EE']

24 24 uWS::HttpRouter ::RouterData>::remove(std::__1::basic_string ,std::__1::allocator >,std::__1::basic_string ,std::__1::allocator >,unsignedint) call site: 00000 /src/uWebSockets/fuzzing/../src/HttpRouter.h:362
2 4 2 :

['uWS::BackPressure::reserve(unsigned long)', 'uWS::BackPressure::length()']

2 6 uWS::AsyncSocket ::write(charconst*,int,bool,int) call site: 00000 /src/uWebSockets/fuzzing/../src/AsyncSocket.h:307
2 2 1 :

['exit']

2 2 teardown() call site: 00000 /src/uWebSockets/fuzzing/AsyncEpollHelloWorld.cpp:49
2 2 1 :

['__real_read']

2 2 __wrap_read call site: 00000 /src/uWebSockets/fuzzing/./libEpollFuzzer/epoll_fuzzer.h:334
2 2 1 :

['__real_close']

2 2 __wrap_close call site: 00000 /src/uWebSockets/fuzzing/./libEpollFuzzer/epoll_fuzzer.h:680
0 12 12 :

['std::__1::vector >::operator[][abi:ne180100](unsigned long)', 'std::__1::vector ::RouterData>::Node, std::__1::default_delete ::RouterData>::Node> >, std::__1::allocator ::RouterData>::Node, std::__1::default_delete ::RouterData>::Node> > > >::begin[abi:ne180100]()', 'std::__1::vector ::RouterData>::Node, std::__1::default_delete ::RouterData>::Node> >, std::__1::allocator ::RouterData>::Node, std::__1::default_delete ::RouterData>::Node> > > >::end[abi:ne180100]()', 'std::__1::vector >::size[abi:ne180100]() const', 'std::__1::unique_ptr ::RouterData>::Node, std::__1::default_delete ::RouterData>::Node> >::operator->[abi:ne180100]() const', 'uWS::HttpRouter ::RouterData>::getUrlSegment(int)', 'bool std::__1::operator==[abi:ne180100] >(std::__1::basic_string , std::__1::allocator > const&, std::__1::basic_string , std::__1::allocator > const&)', 'std::__1::unique_ptr ::RouterData>::Node, std::__1::default_delete ::RouterData>::Node> >::get[abi:ne180100]() const', 'std::__1::__wrap_iter ::RouterData>::Node, std::__1::default_delete ::RouterData>::Node> >*>::operator++[abi:ne180100]()', 'bool std::__1::operator!=[abi:ne180100] ::RouterData>::Node, std::__1::default_delete ::RouterData>::Node> >*>(std::__1::__wrap_iter ::RouterData>::Node, std::__1::default_delete ::RouterData>::Node> >*> const&, std::__1::__wrap_iter ::RouterData>::Node, std::__1::default_delete ::RouterData>::Node> >*> const&)', 'std::__1::__wrap_iter ::RouterData>::Node, std::__1::default_delete ::RouterData>::Node> >*>::operator*[abi:ne180100]() const', '_ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC2INS_17basic_string_viewIcS2_EETnNS_9enable_ifIXaasr33__can_be_converted_to_string_viewIcS2_T_EE5valuentsr17__is_same_uncvrefISA_S5_EE5valueEiE4typeELi0EEERKSA_']

0 12 uWS::HttpRouter ::RouterData>::findHandler(std::__1::basic_string ,std::__1::allocator >,std::__1::basic_string ,std::__1::allocator >,unsignedint) call site: 00000 /src/uWebSockets/fuzzing/../src/HttpRouter.h:225
0 0 None 83 1259 uWS::HttpResponse ::internalEnd(std::__1::basic_string_view >,unsignedlong,bool,bool,bool) call site: 00000 /src/uWebSockets/fuzzing/../src/HttpResponse.h:97
0 0 None 51 234 uWS::HttpContext ::onHttp(std::__1::basic_string ,std::__1::allocator >,std::__1::basic_string ,std::__1::allocator >,ofats::any_invocable *,uWS::HttpRequest*)>&&,bool) call site: 00000 /src/uWebSockets/fuzzing/../src/HttpContext.h:439
0 0 None 10 10 autouWS::HttpRouter ::RouterData>::getNode(uWS::HttpRouter ::RouterData>::Node*,std::__1::basic_string ,std::__1::allocator >,bool)::{lambda(auto:1&,auto:2&)#1}::operator() ::RouterData>::Node,std::__1::default_delete ::RouterData>::Node>>const,std::__1::default_delete ::RouterData>::Node>>(std::__1::unique_ptr ::RouterData>::Node,std::__1::default_delete ::RouterData>::Node>>const&,std::__1::default_delete ::RouterData>::Node>&)const call site: 00000 /src/uWebSockets/fuzzing/../src/HttpRouter.h:93
0 0 None 4 112 uWS::HttpRouter ::RouterData>::executeHandlers(uWS::HttpRouter ::RouterData>::Node*,int,uWS::HttpContextData ::RouterData&) call site: 00000 /src/uWebSockets/fuzzing/../src/HttpRouter.h:173

Runtime coverage analysis

Covered functions
351
Functions that are reachable but not covered
73
Reachable functions
272
Percentage of reachable functions covered
73.16%
NB: The sum of covered functions and functions that are reachable but not covered need not be equal to Reachable functions . This is because the reachability analysis is an approximation and thus at runtime some functions may be covered that are not included in the reachability analysis. This is a limitation of our static analysis capabilities.
Warning: The number of covered functions are larger than the number of reachable functions. This means that there are more functions covered at runtime than are extracted using static analysis. This is likely a result of the static analysis component failing to extract the right call graph or the coverage runtime being compiled with sanitizers in code that the static analysis has not analysed. This can happen if lto/gold is not used in all places that coverage instrumentation is used.
Function name source code lines source lines hit percentage hit

Files reached

filename functions hit
/src/uWebSockets/fuzzing/./libEpollFuzzer/epoll_fuzzer.h 2
/src/uWebSockets/fuzzing/AsyncEpollHelloWorld.cpp 1
/src/uWebSockets/fuzzing/../src/App.h 8
/src/uWebSockets/fuzzing/../src/Loop.h 14
/src/uWebSockets/fuzzing/../uSockets/src/loop.c 14
/src/uWebSockets/fuzzing/../uSockets/src/eventing/epoll_kqueue.c 22
/src/uWebSockets/fuzzing/../src/LoopData.h 3
/src/uWebSockets/fuzzing/../src/MoveOnlyFunction.h 33
/src/uWebSockets/fuzzing/../src/HttpContext.h 15
/src/uWebSockets/fuzzing/../uSockets/src/context.c 13
/src/uWebSockets/fuzzing/../src/HttpContextData.h 2
/src/uWebSockets/fuzzing/../src/HttpRouter.h 12
/src/uWebSockets/fuzzing/../uSockets/src/bsd.c 11
/src/uWebSockets/fuzzing/../src/TopicTree.h 1
/src/uWebSockets/fuzzing/../uSockets/src/socket.c 6
/usr/include/x86_64-linux-gnu/bits/byteswap.h 1

Fuzzer: EpollEchoServerPubSub

Call tree

The calltree shows the control flow of the fuzzer. This is overlaid with coverage information to display how much of the potential code a fuzzer can reach is in fact covered at runtime. In the following there is a link to a detailed calltree visualisation as well as a bitmap showing a high-level view of the calltree. For further information about these topics please see the glossary for full calltree and calltree overview

Call tree overview bitmap:

The distribution of callsites in terms of coloring is
Color Runtime hitcount Callsite count Percentage
red 0 171 23.7%
gold [1:9] 1 0.13%
yellow [10:29] 1 0.13%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 548 76.0%
All colors 721 100

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
163 163 1 :

['bool uWS::TopicTree ::publishBig ::publish(std::__1::basic_string_view >, std::__1::basic_string_view >, uWS::OpCode, bool)::{lambda(uWS::Subscriber*, uWS::TopicTreeBigMessage&)#1}>(uWS::Subscriber*, std::__1::basic_string_view >, uWS::TopicTreeBigMessage&&, uWS::TemplatedApp ::publish(std::__1::basic_string_view >, std::__1::basic_string_view >, uWS::OpCode, bool)::{lambda(uWS::Subscriber*, uWS::TopicTreeBigMessage&)#1})']

163 163 uWS::TemplatedApp ::publish(std::__1::basic_string_view >,std::__1::basic_string_view >,uWS::OpCode,bool) call site: 00000 /src/uWebSockets/fuzzing/../src/App.h:155
78 80 2 :

['uWS::HttpResponseData ::callOnWritable(unsigned long)', 'us_socket_timeout']

78 80 uWS::HttpContext ::init()::{lambda(us_socket_t*)#1}::operator()(us_socket_t*)const call site: 00000 /src/uWebSockets/fuzzing/../src/HttpContext.h:333
35 35 1 :

['uWS::WebSocketProtocol >::unmaskAll(char*, char*)']

35 358 uWS::WebSocketProtocol >::consumeContinuation(char*&,unsignedint&,uWS::WebSocketState *,void*) call site: 00000 /src/uWebSockets/fuzzing/../src/WebSocketProtocol.h:435
24 41 5 :

['bsd_socket_nodelay', 'us_poll_change', 'us_socket_timeout', 'us_internal_poll_set_type', 'us_socket_close_connecting']

24 43 us_internal_dispatch_ready_poll call site: 00643 /src/uWebSockets/fuzzing/../uSockets/src/loop.c:242
24 24 5 :

['std::__1::vector ::RouterData>*)>, std::__1::allocator ::RouterData>*)> > >::erase[abi:ne180100](std::__1::__wrap_iter ::RouterData>*)> const*>)', 'uWS::HttpRouter ::RouterData>::cullNode(uWS::HttpRouter ::RouterData>::Node*, uWS::HttpRouter ::RouterData>::Node*, unsigned int)', 'std::__1::__wrap_iter ::RouterData>*)>*>::operator+[abi:ne180100](long) const', 'std::__1::vector ::RouterData>*)>, std::__1::allocator ::RouterData>*)> > >::begin[abi:ne180100]()', '_ZNSt3__111__wrap_iterIPKN5ofats13any_invocableIFbPN3uWS10HttpRouterINS3_15HttpContextDataILb1EE10RouterDataEEEEEEEC2B8ne180100IPSB_TnNS_9enable_ifIXsr14is_convertibleIT_SD_EE5valueEiE4typeELi0EEERKNS0_ISI_EE']

24 24 uWS::HttpRouter ::RouterData>::remove(std::__1::basic_string ,std::__1::allocator >,std::__1::basic_string ,std::__1::allocator >,unsignedint) call site: 00000 /src/uWebSockets/fuzzing/../src/HttpRouter.h:362
4 12 2 :

['uWS::DeflationStream::deflate(uWS::ZlibContext*, std::__1::basic_string_view >, bool)', 'uWS::AsyncSocket ::getLoopData()']

4 221 uWS::WebSocket ::send(std::__1::basic_string_view >,uWS::OpCode,bool,bool) call site: 00000 /src/uWebSockets/fuzzing/../src/WebSocket.h:143
4 10 9 :

['std::__1::optional > >::operator->[abi:ne180100]()', 'std::__1::basic_string_view >::length[abi:ne180100]() const', 'std::__1::basic_string_view >::data[abi:ne180100]() const', 'std::__1::__optional_storage_base >, false>::has_value[abi:ne180100]() const', 'us_socket_context', 'us_socket_context_loop', 'us_loop_ext', 'uWS::InflationStream::inflate(uWS::ZlibContext*, std::__1::basic_string_view >, unsigned long, bool)', 'std::__1::optional > >::optional[abi:ne180100]()']

4 105 uWS::WebSocketContext ::handleFragment(char*,unsignedlong,unsignedint,int,bool,uWS::WebSocketState *,void*) call site: 00000 /src/uWebSockets/fuzzing/../src/WebSocketContext.h:71
4 10 10 :

['std::__1::optional > >::operator->[abi:ne180100]()', 'std::__1::basic_string_view >::length[abi:ne180100]() const', 'std::__1::basic_string_view >::data[abi:ne180100]() const', 'std::__1::__optional_storage_base >, false>::has_value[abi:ne180100]() const', 'std::__1::basic_string , std::__1::allocator >::append(char const*)', 'us_socket_context', 'us_socket_context_loop', 'us_loop_ext', 'uWS::InflationStream::inflate(uWS::ZlibContext*, std::__1::basic_string_view >, unsigned long, bool)', 'std::__1::optional > >::optional[abi:ne180100]()']

4 105 uWS::WebSocketContext ::handleFragment(char*,unsignedlong,unsignedint,int,bool,uWS::WebSocketState *,void*) call site: 00000 /src/uWebSockets/fuzzing/../src/WebSocketContext.h:122
4 4 3 :

['std::__1::basic_string_view >::length[abi:ne180100]() const', 'ofats::any_invocable *, uWS::HttpRequest*, us_socket_context_t*)>::operator()(uWS::HttpResponse *, uWS::HttpRequest*, us_socket_context_t*)', 'std::__1::basic_string_view >::data[abi:ne180100]() const']

4 50 autouWS::TemplatedApp ::ws (std::__1::basic_string ,std::__1::allocator >,uWS::TemplatedApp ::WebSocketBehavior &&)::{lambda(auto:1*,auto:2*)#1}::operator() ,uWS::HttpRequest>(uWS::HttpResponse *,uWS::HttpRequest*) call site: 00000 /src/uWebSockets/fuzzing/../src/App.h:410
2 4 2 :

['uWS::BackPressure::reserve(unsigned long)', 'uWS::BackPressure::length()']

2 6 uWS::AsyncSocket ::write(charconst*,int,bool,int) call site: 00000 /src/uWebSockets/fuzzing/../src/AsyncSocket.h:307
2 2 1 :

['__real_read']

2 2 __wrap_read call site: 00000 /src/uWebSockets/fuzzing/./libEpollFuzzer/epoll_fuzzer.h:334
2 2 1 :

['__real_close']

2 2 __wrap_close call site: 00000 /src/uWebSockets/fuzzing/./libEpollFuzzer/epoll_fuzzer.h:680

Runtime coverage analysis

Covered functions
720
Functions that are reachable but not covered
180
Reachable functions
697
Percentage of reachable functions covered
74.18%
NB: The sum of covered functions and functions that are reachable but not covered need not be equal to Reachable functions . This is because the reachability analysis is an approximation and thus at runtime some functions may be covered that are not included in the reachability analysis. This is a limitation of our static analysis capabilities.
Warning: The number of covered functions are larger than the number of reachable functions. This means that there are more functions covered at runtime than are extracted using static analysis. This is likely a result of the static analysis component failing to extract the right call graph or the coverage runtime being compiled with sanitizers in code that the static analysis has not analysed. This can happen if lto/gold is not used in all places that coverage instrumentation is used.
Function name source code lines source lines hit percentage hit

Files reached

filename functions hit
/src/uWebSockets/fuzzing/./libEpollFuzzer/epoll_fuzzer.h 2
/src/uWebSockets/fuzzing/EpollEchoServerPubSub.cpp 2
/src/uWebSockets/fuzzing/../src/App.h 11
/src/uWebSockets/fuzzing/../src/Loop.h 16
/src/uWebSockets/fuzzing/../uSockets/src/loop.c 14
/src/uWebSockets/fuzzing/../uSockets/src/eventing/epoll_kqueue.c 22
/src/uWebSockets/fuzzing/../src/LoopData.h 3
/src/uWebSockets/fuzzing/../src/MoveOnlyFunction.h 132
/src/uWebSockets/fuzzing/../src/HttpContext.h 15
/src/uWebSockets/fuzzing/../uSockets/src/context.c 16
/src/uWebSockets/fuzzing/../src/HttpContextData.h 2
/src/uWebSockets/fuzzing/../src/HttpRouter.h 12
/src/uWebSockets/fuzzing/../src/TopicTree.h 8
/src/uWebSockets/fuzzing/../src/WebSocketContext.h 19
/src/uWebSockets/fuzzing/../src/WebSocketContextData.h 2
/src/uWebSockets/fuzzing/../uSockets/src/socket.c 10
/src/uWebSockets/fuzzing/../src/WebSocket.h 3
/src/uWebSockets/fuzzing/../src/WebSocketData.h 1
/src/uWebSockets/fuzzing/../src/AsyncSocketData.h 10
/src/uWebSockets/fuzzing/../src/AsyncSocket.h 11
/src/uWebSockets/fuzzing/../src/WebSocketProtocol.h 45
/src/uWebSockets/fuzzing/../uSockets/src/bsd.c 14
/src/uWebSockets/fuzzing/../src/PerMessageDeflate.h 3
/usr/include/x86_64-linux-gnu/bits/byteswap.h 1

Fuzzer: EpollHelloWorld

Call tree

The calltree shows the control flow of the fuzzer. This is overlaid with coverage information to display how much of the potential code a fuzzer can reach is in fact covered at runtime. In the following there is a link to a detailed calltree visualisation as well as a bitmap showing a high-level view of the calltree. For further information about these topics please see the glossary for full calltree and calltree overview

Call tree overview bitmap:

The distribution of callsites in terms of coloring is
Color Runtime hitcount Callsite count Percentage
red 0 187 22.8%
gold [1:9] 0 0.0%
yellow [10:29] 1 0.12%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 630 77.0%
All colors 818 100

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
78 80 2 :

['uWS::HttpResponseData ::callOnWritable(unsigned long)', 'us_socket_timeout']

78 80 uWS::HttpContext ::init()::{lambda(us_socket_t*)#1}::operator()(us_socket_t*)const call site: 00000 /src/uWebSockets/fuzzing/../src/HttpContext.h:333
35 35 1 :

['uWS::WebSocketProtocol >::unmaskAll(char*, char*)']

35 383 uWS::WebSocketProtocol >::consumeContinuation(char*&,unsignedint&,uWS::WebSocketState *,void*) call site: 00000 /src/uWebSockets/fuzzing/../src/WebSocketProtocol.h:435
24 24 5 :

['uWS::HttpRouter ::RouterData>::cullNode(uWS::HttpRouter ::RouterData>::Node*, uWS::HttpRouter ::RouterData>::Node*, unsigned int)', 'std::__1::vector ::RouterData>*)>, std::__1::allocator ::RouterData>*)> > >::begin[abi:ne180100]()', 'std::__1::vector ::RouterData>*)>, std::__1::allocator ::RouterData>*)> > >::erase[abi:ne180100](std::__1::__wrap_iter ::RouterData>*)> const*>)', 'std::__1::__wrap_iter ::RouterData>*)>*>::operator+[abi:ne180100](long) const', '_ZNSt3__111__wrap_iterIPKN5ofats13any_invocableIFbPN3uWS10HttpRouterINS3_15HttpContextDataILb0EE10RouterDataEEEEEEEC2B8ne180100IPSB_TnNS_9enable_ifIXsr14is_convertibleIT_SD_EE5valueEiE4typeELi0EEERKNS0_ISI_EE']

24 24 uWS::HttpRouter ::RouterData>::remove(std::__1::basic_string ,std::__1::allocator >,std::__1::basic_string ,std::__1::allocator >,unsignedint) call site: 00000 /src/uWebSockets/fuzzing/../src/HttpRouter.h:362
8 8 13 :

['uWS::TopicTree ::unlinkDrainableSubscriber(uWS::Subscriber*)', 'std::__1::unordered_set , std::__1::equal_to , std::__1::allocator >::size[abi:ne180100]() const', 'std::__1::unordered_map >, std::__1::unique_ptr >, std::__1::hash > >, std::__1::equal_to > >, std::__1::allocator > const, std::__1::unique_ptr > > > >::erase[abi:ne180100](std::__1::basic_string_view > const&)', 'uWS::Subscriber::~Subscriber()', 'std::__1::set , std::__1::allocator >::end[abi:ne180100]()', 'uWS::Subscriber::needsDrainage()', 'std::__1::unordered_set , std::__1::equal_to , std::__1::allocator >::erase[abi:ne180100](uWS::Subscriber* const&)', 'std::__1::__tree_const_iterator *, long>::operator++[abi:ne180100]()', 'std::__1::operator!=[abi:ne180100](std::__1::__tree_const_iterator *, long> const&, std::__1::__tree_const_iterator *, long> const&)', 'std::__1::__tree_const_iterator *, long>::operator*[abi:ne180100]() const', 'std::__1::basic_string , std::__1::allocator >::operator std::__1::basic_string_view >[abi:ne180100]() const', 'operator delete(void*)', 'std::__1::set , std::__1::allocator >::begin[abi:ne180100]()']

8 8 uWS::TopicTree ::freeSubscriber(uWS::Subscriber*) call site: 00000 /src/uWebSockets/fuzzing/../src/TopicTree.h:226
4 4 3 :

['std::__1::basic_string_view >::length[abi:ne180100]() const', 'ofats::any_invocable *, uWS::HttpRequest*, us_socket_context_t*)>::operator()(uWS::HttpResponse *, uWS::HttpRequest*, us_socket_context_t*)', 'std::__1::basic_string_view >::data[abi:ne180100]() const']

4 50 autouWS::TemplatedApp ::ws (std::__1::basic_string ,std::__1::allocator >,uWS::TemplatedApp ::WebSocketBehavior &&)::{lambda(auto:1*,auto:2*)#1}::operator() ,uWS::HttpRequest>(uWS::HttpResponse *,uWS::HttpRequest*) call site: 00000 /src/uWebSockets/fuzzing/../src/App.h:410
4 4 8 :

['std::__1::unordered_set , std::__1::equal_to , std::__1::allocator >::size[abi:ne180100]() const', 'std::__1::set , std::__1::allocator >::end[abi:ne180100]()', 'ofats::any_invocable *, std::__1::basic_string_view >, int, int)>::operator()(uWS::WebSocket *, std::__1::basic_string_view >, int, int)', 'std::__1::__tree_const_iterator *, long>::operator++[abi:ne180100]()', 'std::__1::operator!=[abi:ne180100](std::__1::__tree_const_iterator *, long> const&, std::__1::__tree_const_iterator *, long> const&)', 'std::__1::__tree_const_iterator *, long>::operator*[abi:ne180100]() const', 'std::__1::basic_string , std::__1::allocator >::operator std::__1::basic_string_view >[abi:ne180100]() const', 'std::__1::set , std::__1::allocator >::begin[abi:ne180100]()']

4 41 autouWS::WebSocketContext ::init()::{lambda(auto:1*,int,void*)#1}::operator() (us_socket_t*,int,void*)const call site: 00000 /src/uWebSockets/fuzzing/../src/WebSocketContext.h:262
4 4 8 :

['std::__1::unordered_set , std::__1::equal_to , std::__1::allocator >::size[abi:ne180100]() const', 'std::__1::set , std::__1::allocator >::end[abi:ne180100]()', 'ofats::any_invocable *, std::__1::basic_string_view >, int, int)>::operator()(uWS::WebSocket *, std::__1::basic_string_view >, int, int)', 'std::__1::__tree_const_iterator *, long>::operator++[abi:ne180100]()', 'std::__1::operator!=[abi:ne180100](std::__1::__tree_const_iterator *, long> const&, std::__1::__tree_const_iterator *, long> const&)', 'std::__1::__tree_const_iterator *, long>::operator*[abi:ne180100]() const', 'std::__1::basic_string , std::__1::allocator >::operator std::__1::basic_string_view >[abi:ne180100]() const', 'std::__1::set , std::__1::allocator >::begin[abi:ne180100]()']

4 30 uWS::WebSocket ::end(int,std::__1::basic_string_view >) call site: 00000 /src/uWebSockets/fuzzing/../src/WebSocket.h:230
2 4 2 :

['uWS::BackPressure::reserve(unsigned long)', 'uWS::BackPressure::length()']

2 6 uWS::AsyncSocket ::write(charconst*,int,bool,int) call site: 00000 /src/uWebSockets/fuzzing/../src/AsyncSocket.h:307
2 2 1 :

['__real_read']

2 2 __wrap_read call site: 00000 /src/uWebSockets/fuzzing/./libEpollFuzzer/epoll_fuzzer.h:334
2 2 1 :

['__real_close']

2 2 __wrap_close call site: 00000 /src/uWebSockets/fuzzing/./libEpollFuzzer/epoll_fuzzer.h:680
0 165 10 :

['uWS::AsyncSocket ::cork()', 'uWS::AsyncSocket ::timeout(unsigned int)', 'uWS::AsyncSocket ::close()', 'std::__1::tuple_element<1ul, std::__1::pair >::type&& std::__1::get[abi:ne180100]<1ul, int, bool>(std::__1::pair &&)', 'uWS::HttpResponse ::getHttpResponseData()', 'uWS::AsyncSocket ::shutdown()', 'std::__1::tuple_element<0ul, std::__1::pair >::type&& std::__1::get[abi:ne180100]<0ul, int, bool>(std::__1::pair &&)', 'uWS::AsyncSocket ::getBufferedAmount()', 'uWS::AsyncSocket ::getLoopData()', 'uWS::AsyncSocket ::uncork(char const*, int, bool)']

0 169 uWS::HttpResponse ::cork(ofats::any_invocable &&) call site: 00000 /src/uWebSockets/fuzzing/../src/HttpResponse.h:498
0 29 1 :

['uWS::WebSocketContext ::forceClose(uWS::WebSocketState *, void*, std::__1::basic_string_view >)']

0 29 booluWS::WebSocketProtocol >::consumeMessage<6u,unsignedchar>(unsignedchar,char*&,unsignedint&,uWS::WebSocketState *,void*) call site: 00000 /src/uWebSockets/fuzzing/../src/WebSocketProtocol.h:356

Runtime coverage analysis

Covered functions
840
Functions that are reachable but not covered
195
Reachable functions
759
Percentage of reachable functions covered
74.31%
NB: The sum of covered functions and functions that are reachable but not covered need not be equal to Reachable functions . This is because the reachability analysis is an approximation and thus at runtime some functions may be covered that are not included in the reachability analysis. This is a limitation of our static analysis capabilities.
Warning: The number of covered functions are larger than the number of reachable functions. This means that there are more functions covered at runtime than are extracted using static analysis. This is likely a result of the static analysis component failing to extract the right call graph or the coverage runtime being compiled with sanitizers in code that the static analysis has not analysed. This can happen if lto/gold is not used in all places that coverage instrumentation is used.
Function name source code lines source lines hit percentage hit

Files reached

filename functions hit
/src/uWebSockets/fuzzing/./libEpollFuzzer/epoll_fuzzer.h 2
/src/uWebSockets/fuzzing/EpollHelloWorld.cpp 1
/src/uWebSockets/fuzzing/../src/App.h 20
/src/uWebSockets/fuzzing/../src/Loop.h 17
/src/uWebSockets/fuzzing/../uSockets/src/loop.c 15
/src/uWebSockets/fuzzing/../uSockets/src/eventing/epoll_kqueue.c 22
/src/uWebSockets/fuzzing/../src/LoopData.h 3
/src/uWebSockets/fuzzing/../src/MoveOnlyFunction.h 143
/src/uWebSockets/fuzzing/../src/HttpContext.h 15
/src/uWebSockets/fuzzing/../uSockets/src/context.c 23
/src/uWebSockets/fuzzing/../src/HttpContextData.h 2
/src/uWebSockets/fuzzing/../src/HttpRouter.h 12
/src/uWebSockets/fuzzing/../src/TopicTree.h 8
/src/uWebSockets/fuzzing/../src/WebSocketContext.h 19
/src/uWebSockets/fuzzing/../src/WebSocketContextData.h 2
/src/uWebSockets/fuzzing/../uSockets/src/socket.c 13
/src/uWebSockets/fuzzing/../src/WebSocket.h 3
/src/uWebSockets/fuzzing/../src/WebSocketData.h 1
/src/uWebSockets/fuzzing/../src/AsyncSocketData.h 10
/src/uWebSockets/fuzzing/../src/AsyncSocket.h 12
/src/uWebSockets/fuzzing/../src/WebSocketProtocol.h 45
/src/uWebSockets/fuzzing/../uSockets/src/bsd.c 18
/src/uWebSockets/fuzzing/../src/PerMessageDeflate.h 4
/usr/include/x86_64-linux-gnu/bits/byteswap.h 1

Fuzzer: EpollEchoServer

Call tree

The calltree shows the control flow of the fuzzer. This is overlaid with coverage information to display how much of the potential code a fuzzer can reach is in fact covered at runtime. In the following there is a link to a detailed calltree visualisation as well as a bitmap showing a high-level view of the calltree. For further information about these topics please see the glossary for full calltree and calltree overview

Call tree overview bitmap:

The distribution of callsites in terms of coloring is
Color Runtime hitcount Callsite count Percentage
red 0 180 23.8%
gold [1:9] 1 0.13%
yellow [10:29] 1 0.13%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 574 75.9%
All colors 756 100

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
183 183 1 :

['bool uWS::TopicTree ::publishBig ::publish(std::__1::basic_string_view >, std::__1::basic_string_view >, uWS::OpCode, bool)::{lambda(uWS::Subscriber*, uWS::TopicTreeBigMessage&)#1}>(uWS::Subscriber*, std::__1::basic_string_view >, uWS::TopicTreeBigMessage&&, uWS::WebSocket ::publish(std::__1::basic_string_view >, std::__1::basic_string_view >, uWS::OpCode, bool)::{lambda(uWS::Subscriber*, uWS::TopicTreeBigMessage&)#1})']

183 183 uWS::WebSocket ::publish(std::__1::basic_string_view >,std::__1::basic_string_view >,uWS::OpCode,bool) call site: 00000 /src/uWebSockets/fuzzing/../src/WebSocket.h:368
78 80 2 :

['uWS::HttpResponseData ::callOnWritable(unsigned long)', 'us_socket_timeout']

78 80 uWS::HttpContext ::init()::{lambda(us_socket_t*)#1}::operator()(us_socket_t*)const call site: 00000 /src/uWebSockets/fuzzing/../src/HttpContext.h:333
38 44 3 :

['uWS::BackPressure::append(char const*, unsigned long)', 'uWS::AsyncSocket ::uncorkWithoutSending()', 'us_socket_write2']

38 61 uWS::WebSocket ::send(std::__1::basic_string_view >,uWS::OpCode,bool,bool) call site: 00000 /src/uWebSockets/fuzzing/../src/WebSocket.h:116
38 44 3 :

['uWS::BackPressure::append(char const*, unsigned long)', 'uWS::AsyncSocket ::uncorkWithoutSending()', 'us_socket_write2']

38 61 uWS::WebSocket ::send(std::__1::basic_string_view >,uWS::OpCode,bool,bool) call site: 00000 /src/uWebSockets/fuzzing/../src/WebSocket.h:116
35 35 1 :

['uWS::WebSocketProtocol >::unmaskAll(char*, char*)']

35 383 uWS::WebSocketProtocol >::consumeContinuation(char*&,unsignedint&,uWS::WebSocketState *,void*) call site: 00000 /src/uWebSockets/fuzzing/../src/WebSocketProtocol.h:435
24 41 5 :

['bsd_socket_nodelay', 'us_poll_change', 'us_socket_timeout', 'us_internal_poll_set_type', 'us_socket_close_connecting']

24 43 us_internal_dispatch_ready_poll call site: 00695 /src/uWebSockets/fuzzing/../uSockets/src/loop.c:242
24 24 5 :

['uWS::HttpRouter ::RouterData>::cullNode(uWS::HttpRouter ::RouterData>::Node*, uWS::HttpRouter ::RouterData>::Node*, unsigned int)', 'std::__1::vector ::RouterData>*)>, std::__1::allocator ::RouterData>*)> > >::begin[abi:ne180100]()', 'std::__1::vector ::RouterData>*)>, std::__1::allocator ::RouterData>*)> > >::erase[abi:ne180100](std::__1::__wrap_iter ::RouterData>*)> const*>)', 'std::__1::__wrap_iter ::RouterData>*)>*>::operator+[abi:ne180100](long) const', '_ZNSt3__111__wrap_iterIPKN5ofats13any_invocableIFbPN3uWS10HttpRouterINS3_15HttpContextDataILb0EE10RouterDataEEEEEEEC2B8ne180100IPSB_TnNS_9enable_ifIXsr14is_convertibleIT_SD_EE5valueEiE4typeELi0EEERKNS0_ISI_EE']

24 24 uWS::HttpRouter ::RouterData>::remove(std::__1::basic_string ,std::__1::allocator >,std::__1::basic_string ,std::__1::allocator >,unsignedint) call site: 00000 /src/uWebSockets/fuzzing/../src/HttpRouter.h:362
4 4 3 :

['std::__1::basic_string_view >::length[abi:ne180100]() const', 'ofats::any_invocable *, uWS::HttpRequest*, us_socket_context_t*)>::operator()(uWS::HttpResponse *, uWS::HttpRequest*, us_socket_context_t*)', 'std::__1::basic_string_view >::data[abi:ne180100]() const']

4 50 autouWS::TemplatedApp ::ws (std::__1::basic_string ,std::__1::allocator >,uWS::TemplatedApp ::WebSocketBehavior &&)::{lambda(auto:1*,auto:2*)#1}::operator() ,uWS::HttpRequest>(uWS::HttpResponse *,uWS::HttpRequest*) call site: 00000 /src/uWebSockets/fuzzing/../src/App.h:410
2 4 2 :

['uWS::BackPressure::reserve(unsigned long)', 'uWS::BackPressure::length()']

2 6 uWS::AsyncSocket ::write(charconst*,int,bool,int) call site: 00000 /src/uWebSockets/fuzzing/../src/AsyncSocket.h:307
2 2 2 :

['free', 'fwrite']

2 437 autotest()::$_7::operator() >(uWS::WebSocket *,std::__1::basic_string_view >,uWS::OpCode)const call site: 00000 /src/uWebSockets/fuzzing/EpollEchoServer.cpp:96
2 2 1 :

['__real_read']

2 2 __wrap_read call site: 00000 /src/uWebSockets/fuzzing/./libEpollFuzzer/epoll_fuzzer.h:334
2 2 1 :

['__real_close']

2 2 __wrap_close call site: 00000 /src/uWebSockets/fuzzing/./libEpollFuzzer/epoll_fuzzer.h:680

Runtime coverage analysis

Covered functions
789
Functions that are reachable but not covered
179
Reachable functions
729
Percentage of reachable functions covered
75.45%
NB: The sum of covered functions and functions that are reachable but not covered need not be equal to Reachable functions . This is because the reachability analysis is an approximation and thus at runtime some functions may be covered that are not included in the reachability analysis. This is a limitation of our static analysis capabilities.
Warning: The number of covered functions are larger than the number of reachable functions. This means that there are more functions covered at runtime than are extracted using static analysis. This is likely a result of the static analysis component failing to extract the right call graph or the coverage runtime being compiled with sanitizers in code that the static analysis has not analysed. This can happen if lto/gold is not used in all places that coverage instrumentation is used.
Function name source code lines source lines hit percentage hit

Files reached

filename functions hit
/src/uWebSockets/fuzzing/./libEpollFuzzer/epoll_fuzzer.h 3
/src/uWebSockets/fuzzing/EpollEchoServer.cpp 2
/src/uWebSockets/fuzzing/../src/App.h 12
/src/uWebSockets/fuzzing/../src/Loop.h 16
/src/uWebSockets/fuzzing/../uSockets/src/loop.c 14
/src/uWebSockets/fuzzing/../uSockets/src/eventing/epoll_kqueue.c 22
/src/uWebSockets/fuzzing/../src/LoopData.h 3
/src/uWebSockets/fuzzing/../src/MoveOnlyFunction.h 143
/src/uWebSockets/fuzzing/../src/HttpContext.h 15
/src/uWebSockets/fuzzing/../uSockets/src/context.c 16
/src/uWebSockets/fuzzing/../src/HttpContextData.h 2
/src/uWebSockets/fuzzing/../src/HttpRouter.h 12
/src/uWebSockets/fuzzing/../src/TopicTree.h 8
/src/uWebSockets/fuzzing/../src/WebSocketContext.h 19
/src/uWebSockets/fuzzing/../src/WebSocketContextData.h 2
/src/uWebSockets/fuzzing/../uSockets/src/socket.c 11
/src/uWebSockets/fuzzing/../src/WebSocket.h 3
/src/uWebSockets/fuzzing/../src/WebSocketData.h 1
/src/uWebSockets/fuzzing/../src/AsyncSocketData.h 10
/src/uWebSockets/fuzzing/../src/AsyncSocket.h 12
/src/uWebSockets/fuzzing/../src/WebSocketProtocol.h 45
/src/uWebSockets/fuzzing/../uSockets/src/bsd.c 15
/src/uWebSockets/fuzzing/../src/PerMessageDeflate.h 4
/usr/include/x86_64-linux-gnu/bits/byteswap.h 1

Analyses and suggestions

Optimal target analysis

Remaining optimal interesting functions

The following table shows a list of functions that are optimal targets. Optimal targets are identified by finding the functions that in combination, yield a high code coverage.

Func name Functions filename Arg count Args Function depth hitcount instr count bb count cyclomatic complexity Reachable functions Incoming references total cyclomatic complexity Unreached complexity
autouWS::TemplatedApp ::ws (std::__1::basic_string ,std::__1::allocator >,uWS::TemplatedApp ::WebSocketBehavior &&)::{lambda(auto:1*,auto:2*)#1}::operator() ,uWS::HttpRequest>(uWS::HttpResponse *,uWS::HttpRequest*) /src/uWebSockets/fuzzing/../src/App.h 3 ['N/A', 'N/A', 'N/A'] 26 0 158 16 4 549 0 790 586
uWS::HttpContext ::init()::{lambda(us_socket_t*,char*,int)#1}::__invoke(us_socket_t*,char*,int) /src/uWebSockets/fuzzing/../src/HttpContext.h 3 ['N/A', 'N/A', 'int'] 7 0 16 3 2 176 0 414 268
StaticData::StaticData() /src/uWebSockets/fuzzing/Http.cpp 1 ['N/A'] 5 0 259 60 41 58 2 229 223
uWS::WebSocketProtocol ::consume(char*,unsignedint,uWS::WebSocketState *,void*) /src/uWebSockets/fuzzing/./../src/WebSocketProtocol.h 4 ['N/A', 'int', 'N/A', 'N/A'] 18 0 292 57 24 91 0 205 156
autotest()::$_1::operator() >(uWS::WebSocket *,std::__1::basic_string_view >,uWS::OpCode)const /src/uWebSockets/fuzzing/EpollEchoServer.cpp 4 ['N/A', 'N/A', 'size_t', 'char'] 10 0 95 18 8 151 0 332 84
autotest()::$_1::operator() ,uWS::HttpRequest>(uWS::HttpResponse *,uWS::HttpRequest*)const /src/uWebSockets/fuzzing/EpollHelloWorld.cpp 1 ['N/A'] 7 0 50 8 7 51 0 117 67
uWS::HttpContext ::init()::{lambda(us_socket_t*,char*,int)#1}::operator()(us_socket_t*,char*,int)const::{lambda(void*,uWS::HttpRequest*)#1}::operator()({lambda(us_socket_t*,char*,int)#1},uWS::HttpRequest)const /src/uWebSockets/fuzzing/../src/HttpContext.h 3 ['N/A', 'N/A', 'N/A'] 4 0 167 32 13 59 0 130 64
autouWS::TemplatedApp ::ws (std::__1::basic_string ,std::__1::allocator >,uWS::TemplatedApp ::WebSocketBehavior &&)::{lambda(auto:1*,auto:2*)#1}::operator() ,uWS::HttpRequest>(uWS::HttpResponse *,uWS::HttpRequest*) /src/uWebSockets/fuzzing/../src/App.h 3 ['N/A', 'N/A', 'N/A'] 26 0 140 14 6 543 0 786 58
uWS::HttpContext ::init()::{lambda(us_socket_t*)#1}::__invoke(us_socket_t*) /src/uWebSockets/fuzzing/../src/HttpContext.h 1 ['N/A'] 8 0 14 3 2 92 0 196 53
uWS::HttpContext ::init()::{lambda(us_socket_t*,char*,int)#1}::operator()(us_socket_t*,char*,int)const::{lambda(void*,uWS::HttpRequest*)#1}::operator()({lambda(us_socket_t*,char*,int)#1},uWS::HttpRequest)const /src/uWebSockets/fuzzing/../src/HttpContext.h 3 ['N/A', 'N/A', 'N/A'] 4 0 152 29 12 58 0 127 51

Implementing fuzzers that target the above functions will improve reachability such that it becomes:

Functions statically reachable by fuzzers
69.0%
1123 / 1629
Cyclomatic complexity statically reachable by fuzzers
73.0%
4589 / 6264

All functions overview

If you implement fuzzers for these functions, the status of all functions in the project will be:

Func name Functions filename Args Function call depth Reached by Fuzzers Fuzzers runtime hit Func lines hit % I Count BB Count Cyclomatic complexity Functions reached Reached by functions Accumulated cyclomatic complexity Undiscovered complexity

Fuzz engine guidance

This sections provides heuristics that can be used as input to a fuzz engine when running a given fuzz target. The current focus is on providing input that is usable by libFuzzer.

/src/uWebSockets/fuzzing/QueryParser.cpp

Dictionary

Use this with the libFuzzer -dict=DICT.file flag


/src/uWebSockets/fuzzing/PerMessageDeflate.cpp

Dictionary

Use this with the libFuzzer -dict=DICT.file flag


/src/uWebSockets/fuzzing/TopicTree.cpp

Dictionary

Use this with the libFuzzer -dict=DICT.file flag


/src/uWebSockets/fuzzing/MultipartParser.cpp

Dictionary

Use this with the libFuzzer -dict=DICT.file flag


Fuzzer function priority

Use one of these functions as input to libfuzzer with flag: -focus_function name

-focus_function=['LLVMFuzzerTestOneInput', 'uWS::ParameterParser::getToken()']

/src/uWebSockets/fuzzing/Extensions.cpp

Dictionary

Use this with the libFuzzer -dict=DICT.file flag


Fuzzer function priority

Use one of these functions as input to libfuzzer with flag: -focus_function name

-focus_function=['uWS::ExtensionsParser::getToken(char const*&, char const*)']

/src/uWebSockets/fuzzing/WebSocket.cpp

Dictionary

Use this with the libFuzzer -dict=DICT.file flag


Fuzzer function priority

Use one of these functions as input to libfuzzer with flag: -focus_function name

-focus_function=['LLVMFuzzerTestOneInput']

/src/uWebSockets/fuzzing/Http.cpp

Dictionary

Use this with the libFuzzer -dict=DICT.file flag


/src/uWebSockets/fuzzing/Http.cpp

Dictionary

Use this with the libFuzzer -dict=DICT.file flag


/src/uWebSockets/fuzzing/./libEpollFuzzer/epoll_fuzzer.h

Dictionary

Use this with the libFuzzer -dict=DICT.file flag


Fuzzer function priority

Use one of these functions as input to libfuzzer with flag: -focus_function name

-focus_function=['us_internal_dispatch_ready_poll', 'us_socket_context_free', 'us_internal_loop_pre', 'uWS::Loop::free()', 'uWS::Loop::preCb(us_loop_t*)', 'uWS::HttpContext::create(uWS::Loop*, us_socket_context_options_t)', 'ofats::any_detail::any_invocable_impl::any_invocable_impl()', 'uWS::TemplatedApp::TemplatedApp(uWS::SocketContextOptions)', 'uWS::HttpRouter::RouterData>::findHandler(std::__1::basic_string, std::__1::allocator >, std::__1::basic_string, std::__1::allocator >, unsigned int)']

/src/uWebSockets/fuzzing/./libEpollFuzzer/epoll_fuzzer.h

Dictionary

Use this with the libFuzzer -dict=DICT.file flag


Fuzzer function priority

Use one of these functions as input to libfuzzer with flag: -focus_function name

-focus_function=['uWS::WebSocketProtocol >::consumeContinuation(char*&, unsigned int&, uWS::WebSocketState*, void*)', 'uWS::TemplatedApp&& uWS::TemplatedApp::ws(std::__1::basic_string, std::__1::allocator >, uWS::TemplatedApp::WebSocketBehavior&&)', 'uWS::WebSocketContext::create(uWS::Loop*, us_socket_context_t*, uWS::TopicTree*)', 'us_internal_dispatch_ready_poll', 'uWS::TemplatedApp&& uWS::TemplatedApp::ws(std::__1::basic_string, std::__1::allocator >, uWS::TemplatedApp::WebSocketBehavior&&)', 'uWS::WebSocketContext::handleFragment(char*, unsigned long, unsigned int, int, bool, uWS::WebSocketState*, void*)', 'uWS::WebSocketContext::handleFragment(char*, unsigned long, unsigned int, int, bool, uWS::WebSocketState*, void*)', 'uWS::AsyncSocket::getBufferedAmount()', 'ofats::any_detail::any_invocable_impl::~any_invocable_impl()', 'us_internal_loop_pre']

/src/uWebSockets/fuzzing/./libEpollFuzzer/epoll_fuzzer.h

Dictionary

Use this with the libFuzzer -dict=DICT.file flag


Fuzzer function priority

Use one of these functions as input to libfuzzer with flag: -focus_function name

-focus_function=['uWS::WebSocketProtocol >::consumeContinuation(char*&, unsigned int&, uWS::WebSocketState*, void*)', 'ofats::any_detail::any_invocable_impl*, uWS::HttpRequest*, us_socket_context_t*>::any_invocable_impl(decltype(nullptr))', 'uWS::TemplatedApp&& uWS::TemplatedApp::ws(std::__1::basic_string, std::__1::allocator >, uWS::TemplatedApp::WebSocketBehavior&&)', 'uWS::WebSocketContext::create(uWS::Loop*, us_socket_context_t*, uWS::TopicTree*)', 'uWS::TemplatedApp&& uWS::TemplatedApp::ws(std::__1::basic_string, std::__1::allocator >, uWS::TemplatedApp::WebSocketBehavior&&)', 'us_poll_change', 'uWS::AsyncSocket::isCorked()', 'unsigned long uWS::protocol::formatMessage(char*, char const*, unsigned long, uWS::OpCode, unsigned long, bool, bool)', 'us_socket_is_shut_down', 'us_internal_loop_pre']

/src/uWebSockets/fuzzing/./libEpollFuzzer/epoll_fuzzer.h

Dictionary

Use this with the libFuzzer -dict=DICT.file flag


Fuzzer function priority

Use one of these functions as input to libfuzzer with flag: -focus_function name

-focus_function=['uWS::WebSocketProtocol >::consumeContinuation(char*&, unsigned int&, uWS::WebSocketState*, void*)', 'uWS::TemplatedApp&& uWS::TemplatedApp::ws(std::__1::basic_string, std::__1::allocator >, uWS::TemplatedApp::WebSocketBehavior&&)', 'uWS::WebSocketContext::create(uWS::Loop*, us_socket_context_t*, uWS::TopicTree*)', 'us_internal_dispatch_ready_poll', 'uWS::TemplatedApp&& uWS::TemplatedApp::ws(std::__1::basic_string, std::__1::allocator >, uWS::TemplatedApp::WebSocketBehavior&&)', 'uWS::AsyncSocket::getBufferedAmount()', 'us_poll_change', 'test()', 'unsigned long uWS::protocol::formatMessage(char*, char const*, unsigned long, uWS::OpCode, unsigned long, bool, bool)', 'us_socket_is_shut_down']

Files and Directories in report

This section shows which files and directories are considered in this report. The main reason for showing this is fuzz introspector may include more code in the reasoning than is desired. This section helps identify if too many files/directories are included, e.g. third party code, which may be irrelevant for the threat model. In the event too much is included, fuzz introspector supports a configuration file that can exclude data from the report. See the following link for more information on how to create a config file: link

Files in report

Source file Reached by Covered by
[] []
/src/uWebSockets/fuzzing/./../src/ChunkedEncoding.h [] []
/src/uWebSockets/fuzzing/../uSockets/src/context.c ['AsyncEpollHelloWorld', 'EpollEchoServerPubSub', 'EpollHelloWorld', 'EpollEchoServer'] []
/usr/local/bin/../include/c++/v1/optional ['MultipartParser'] []
/src/uWebSockets/fuzzing/../src/WebSocketProtocol.h ['EpollEchoServerPubSub', 'EpollHelloWorld', 'EpollEchoServer'] []
/usr/include/x86_64-linux-gnu/bits/socket.h [] []
/usr/local/bin/../include/c++/v1/__charconv/from_chars_integral.h [] []
/src/uWebSockets/fuzzing/MultipartParser.cpp ['MultipartParser'] ['MultipartParser']
/src/uWebSockets/fuzzing/../src/AsyncSocketData.h ['EpollEchoServerPubSub', 'EpollHelloWorld', 'EpollEchoServer'] []
/src/uWebSockets/fuzzing/EpollEchoServerPubSub.cpp ['EpollEchoServerPubSub'] ['EpollEchoServerPubSub']
/src/uWebSockets/fuzzing/./../src/QueryParser.h ['QueryParser'] []
/src/uWebSockets/fuzzing/../src/HttpContext.h ['AsyncEpollHelloWorld', 'EpollEchoServerPubSub', 'EpollHelloWorld', 'EpollEchoServer'] []
/src/uWebSockets/fuzzing/../src/BloomFilter.h [] []
/src/uWebSockets/fuzzing/../uSockets/src/loop.c ['AsyncEpollHelloWorld', 'EpollEchoServerPubSub', 'EpollHelloWorld', 'EpollEchoServer'] []
/src/uWebSockets/fuzzing/./../src/Multipart.h ['MultipartParser'] []
/src/uWebSockets/fuzzing/../uSockets/src/udp.c [] []
/src/uWebSockets/fuzzing/../src/ChunkedEncoding.h [] []
/src/uWebSockets/fuzzing/../uSockets/src/bsd.c ['AsyncEpollHelloWorld', 'EpollEchoServerPubSub', 'EpollHelloWorld', 'EpollEchoServer'] []
/src/uWebSockets/fuzzing/../uSockets/src/socket.c ['AsyncEpollHelloWorld', 'EpollEchoServerPubSub', 'EpollHelloWorld', 'EpollEchoServer'] []
/src/uWebSockets/fuzzing/QueryParser.cpp ['QueryParser'] ['QueryParser']
/src/uWebSockets/fuzzing/Http.cpp ['Http', 'HttpWithProxy'] ['Http', 'HttpWithProxy']
/src/uWebSockets/fuzzing/./../src/TopicTree.h ['TopicTree'] []
/src/uWebSockets/fuzzing/./../src/HttpRouter.h [] []
/src/uWebSockets/fuzzing/Extensions.cpp ['Extensions'] ['Extensions']
/src/uWebSockets/fuzzing/./../src/MoveOnlyFunction.h [] []
/src/uWebSockets/fuzzing/./../src/HttpParser.h ['Http', 'HttpWithProxy'] []
/usr/local/bin/../include/c++/v1/__exception/exception.h [] []
/usr/local/bin/../include/c++/v1/string [] []
/src/uWebSockets/fuzzing/../src/PerMessageDeflate.h ['EpollEchoServerPubSub', 'EpollHelloWorld', 'EpollEchoServer'] []
/usr/include/x86_64-linux-gnu/bits/byteswap.h ['AsyncEpollHelloWorld', 'EpollEchoServerPubSub', 'EpollHelloWorld', 'EpollEchoServer'] []
/src/uWebSockets/fuzzing/AsyncEpollHelloWorld.cpp ['AsyncEpollHelloWorld'] ['AsyncEpollHelloWorld']
/src/uWebSockets/fuzzing/../src/HttpResponse.h [] []
/src/uWebSockets/fuzzing/../src/WebSocketContextData.h ['EpollEchoServerPubSub', 'EpollHelloWorld', 'EpollEchoServer'] []
/src/uWebSockets/fuzzing/EpollEchoServer.cpp ['EpollEchoServer'] ['EpollEchoServer']
/src/uWebSockets/fuzzing/./../src/ProxyParser.h ['HttpWithProxy'] []
/src/uWebSockets/fuzzing/../src/HttpParser.h [] []
/src/uWebSockets/fuzzing/./../src/WebSocketProtocol.h ['WebSocket'] []
/src/uWebSockets/fuzzing/../src/Loop.h ['AsyncEpollHelloWorld', 'EpollEchoServerPubSub', 'EpollHelloWorld', 'EpollEchoServer'] []
/src/uWebSockets/fuzzing/../src/WebSocket.h ['EpollEchoServerPubSub', 'EpollHelloWorld', 'EpollEchoServer'] []
/src/uWebSockets/fuzzing/../src/LoopData.h ['AsyncEpollHelloWorld', 'EpollEchoServerPubSub', 'EpollHelloWorld', 'EpollEchoServer'] []
/src/uWebSockets/fuzzing/../src/QueryParser.h [] []
/src/uWebSockets/fuzzing/../src/WebSocketHandshake.h [] []
/src/uWebSockets/fuzzing/../src/HttpContextData.h ['AsyncEpollHelloWorld', 'EpollEchoServerPubSub', 'EpollHelloWorld', 'EpollEchoServer'] []
/usr/include/ctype.h ['MultipartParser', 'Extensions'] []
/src/uWebSockets/fuzzing/../src/Utilities.h [] []
/src/uWebSockets/fuzzing/../uSockets/src/eventing/epoll_kqueue.c ['AsyncEpollHelloWorld', 'EpollEchoServerPubSub', 'EpollHelloWorld', 'EpollEchoServer'] []
/src/uWebSockets/fuzzing/../src/WebSocketExtensions.h [] []
/usr/local/bin/../include/c++/v1/stdexcept [] []
/src/uWebSockets/fuzzing/./../src/MessageParser.h ['MultipartParser'] []
/src/uWebSockets/fuzzing/../src/App.h ['AsyncEpollHelloWorld', 'EpollEchoServerPubSub', 'EpollHelloWorld', 'EpollEchoServer'] []
/src/uWebSockets/fuzzing/./../src/WebSocketExtensions.h ['Extensions'] []
/src/uWebSockets/fuzzing/./../src/PerMessageDeflate.h ['PerMessageDeflate'] []
/src/uWebSockets/fuzzing/../src/HttpResponseData.h [] []
/src/uWebSockets/fuzzing/../src/AsyncSocket.h ['EpollEchoServerPubSub', 'EpollHelloWorld', 'EpollEchoServer'] []
/src/uWebSockets/fuzzing/./helpers.h ['PerMessageDeflate', 'TopicTree', 'WebSocket', 'Http', 'HttpWithProxy'] []
/src/uWebSockets/fuzzing/TopicTree.cpp ['TopicTree'] ['TopicTree']
/src/uWebSockets/fuzzing/../src/MoveOnlyFunction.h ['AsyncEpollHelloWorld', 'EpollEchoServerPubSub', 'EpollHelloWorld', 'EpollEchoServer'] []
/src/uWebSockets/fuzzing/./libEpollFuzzer/epoll_fuzzer.h ['AsyncEpollHelloWorld', 'EpollEchoServerPubSub', 'EpollHelloWorld', 'EpollEchoServer'] []
/src/uWebSockets/fuzzing/WebSocket.cpp ['WebSocket'] ['WebSocket']
/usr/include/stdlib.h [] []
/src/uWebSockets/fuzzing/./../src/BloomFilter.h [] []
/src/uWebSockets/fuzzing/../src/HttpRouter.h ['AsyncEpollHelloWorld', 'EpollEchoServerPubSub', 'EpollHelloWorld', 'EpollEchoServer'] []
/src/uWebSockets/fuzzing/../src/WebSocketData.h ['EpollEchoServerPubSub', 'EpollHelloWorld', 'EpollEchoServer'] []
/src/uWebSockets/fuzzing/../src/WebSocketContext.h ['EpollEchoServerPubSub', 'EpollHelloWorld', 'EpollEchoServer'] []
/src/uWebSockets/fuzzing/EpollHelloWorld.cpp ['EpollHelloWorld'] ['EpollHelloWorld']
/src/uWebSockets/fuzzing/../src/TopicTree.h ['AsyncEpollHelloWorld', 'EpollEchoServerPubSub', 'EpollHelloWorld', 'EpollEchoServer'] []
/src/uWebSockets/fuzzing/PerMessageDeflate.cpp ['PerMessageDeflate'] ['PerMessageDeflate']

Directories in report

Directory
/usr/include/
/src/uWebSockets/fuzzing/../uSockets/src/eventing/
/usr/local/bin/../include/c++/v1/
/src/uWebSockets/fuzzing/
/usr/local/bin/../include/c++/v1/__exception/
/usr/local/bin/../include/c++/v1/__charconv/
/usr/include/x86_64-linux-gnu/bits/
/src/uWebSockets/fuzzing/./
/src/uWebSockets/fuzzing/../src/
/src/uWebSockets/fuzzing/./../src/
/src/uWebSockets/fuzzing/../uSockets/src/
/src/uWebSockets/fuzzing/./libEpollFuzzer/