Fuzz introspector: FuzzTarget
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
15 15 2 :

['pcap_fmt_errmsg_for_errno', '__errno_location']

15 15 pcap_alloc_pcap_t call site: 00000 /src/libpcap/./pcap.c:2454
15 15 2 :

['pcap_fmt_errmsg_for_errno', '__errno_location']

15 15 pcap_fopen_offline_with_tstamp_precision call site: 00035 /src/libpcap/./savefile.c:513
15 15 2 :

['pcap_fmt_errmsg_for_errno', '__errno_location']

15 15 pcap_check_header call site: 00000 /src/libpcap/./sf-pcap.c:191
15 15 2 :

['pcap_fmt_errmsg_for_errno', '__errno_location']

15 15 pcap_next_packet call site: 00000 /src/libpcap/./sf-pcap.c:467
15 15 2 :

['pcap_fmt_errmsg_for_errno', '__errno_location']

15 15 pcap_next_packet call site: 00000 /src/libpcap/./sf-pcap.c:621
15 15 2 :

['pcap_fmt_errmsg_for_errno', '__errno_location']

15 15 pcap_next_packet call site: 00000 /src/libpcap/./sf-pcap.c:652
15 15 2 :

['pcap_fmt_errmsg_for_errno', '__errno_location']

15 15 pcap_next_packet call site: 00000 /src/libpcap/./sf-pcap.c:704
15 15 2 :

['pcap_fmt_errmsg_for_errno', '__errno_location']

15 15 pcap_ng_check_header call site: 00000 /src/libpcap/./sf-pcapng.c:822
15 15 2 :

['pcap_fmt_errmsg_for_errno', '__errno_location']

15 15 pcap_ng_check_header call site: 00000 /src/libpcap/./sf-pcapng.c:837
15 15 2 :

['pcap_fmt_errmsg_for_errno', '__errno_location']

15 15 read_bytes call site: 00000 /src/libpcap/./sf-pcapng.c:265
2 2 1 :

['pcpp::Layer::getPrevLayer() const']

2 24 pcpp::Packet::setRawPacket(pcpp::RawPacket*,bool,unsignedlong,pcpp::OsiModelLayer) call site: 00000 /src/PcapPlusPlus/Packet++/src/Packet.cpp:93
0 98 4 :

['std::__1::basic_ostream >& std::__1::operator<< >(std::__1::basic_ostream >&, char const*)', 'pcpp::Logger::internalCreateLogStream()', 'pcpp::Logger::internalPrintLogMessage(std::__1::basic_ostringstream , std::__1::allocator >*, pcpp::Logger::LogLevel, char const*, char const*, int)', 'pcpp::Logger::getInstance()']

0 98 pcpp::PPPoESessionLayer::getPPPNextProtocol()const call site: 00000 /src/PcapPlusPlus/Packet++/src/PPPoELayer.cpp:75

Fuzzer calltree

0 LLVMFuzzerTestOneInput [function] [call site] 00000
1 dumpDataToPcapFile(unsigned char const*, unsigned long) [function] [call site] 00001
2 fopen [call site] 00002
2 fwrite [call site] 00003
2 fclose [call site] 00004
2 fclose [call site] 00005
1 pcpp::PcapFileReaderDevice::PcapFileReaderDevice(std::__1::basic_string , std::__1::allocator > const&) [function] [call site] 00006
2 pcpp::IFileReaderDevice::IFileReaderDevice(std::__1::basic_string , std::__1::allocator > const&) [function] [call site] 00007
3 pcpp::IFileDevice::IFileDevice(std::__1::basic_string , std::__1::allocator > const&) [function] [call site] 00008
4 pcpp::IPcapDevice::IPcapDevice() [function] [call site] 00009
5 pcpp::IDevice::IDevice() [function] [call site] 00010
4 pcpp::IPcapDevice::~IPcapDevice() [function] [call site] 00011
5 pcpp::IFilterableDevice::~IFilterableDevice() [function] [call site] 00012
1 pcpp::PcapFileReaderDevice::open() [function] [call site] 00013
2 pcpp::Logger::getInstance() [function] [call site] 00014
3 __cxa_guard_acquire [call site] 00015
3 pcpp::Logger::Logger() [function] [call site] 00016
4 pcpp::Logger::defaultLogPrinter(pcpp::Logger::LogLevel, std::__1::basic_string , std::__1::allocator > const&, std::__1::basic_string , std::__1::allocator > const&, std::__1::basic_string , std::__1::allocator > const&, int) [function] [call site] 00017
5 pcpp::Logger::logLevelAsString(pcpp::Logger::LogLevel) [function] [call site] 00018
3 pcpp::Logger::~Logger() [function] [call site] 00019
2 pcpp::Logger::internalCreateLogStream() [function] [call site] 00020
2 pcap_open_offline_with_tstamp_precision [function] [call site] 00021
3 snprintf [call site] 00022
3 snprintf [call site] 00023
3 fopen [call site] 00024
3 __errno_location [call site] 00025
3 pcap_fmt_errmsg_for_errno [function] [call site] 00026
4 pcap_vfmt_errmsg_for_errno [function] [call site] 00027
5 vsnprintf [call site] 00028
5 strlen [call site] 00029
5 strerror_r [call site] 00030
5 snprintf [call site] 00031
3 pcap_fopen_offline_with_tstamp_precision [function] [call site] 00032
4 snprintf [call site] 00033
4 fread [call site] 00034
4 ferror [call site] 00035
4 __errno_location [call site] 00036
4 pcap_fmt_errmsg_for_errno [function] [call site] 00037
4 snprintf [call site] 00038
4 snprintf [call site] 00039
4 fileno [call site] 00040
4 sf_cant_set_rfmon [function] [call site] 00041
4 pcap_offline_read [function] [call site] 00042
5 pcap_filter [function] [call site] 00043
6 pcap_filter_with_aux_data [function] [call site] 00044
7 abort [call site] 00045
7 EXTRACT_BE_U_4 [function] [call site] 00046
8 ntohl [call site] 00047
7 EXTRACT_BE_U_2 [function] [call site] 00048
8 ntohs [call site] 00049
7 EXTRACT_BE_U_4 [function] [call site] 00050
7 EXTRACT_BE_U_2 [function] [call site] 00051
4 sf_inject [function] [call site] 00052
5 pcap_strlcpy [function] [call site] 00053
4 sf_setdirection [function] [call site] 00054
5 snprintf [call site] 00055
4 sf_getnonblock [function] [call site] 00056
4 sf_setnonblock [function] [call site] 00057
5 snprintf [call site] 00058
4 sf_stats [function] [call site] 00059
5 snprintf [call site] 00060
4 pcap_oneshot [function] [call site] 00061
3 fclose [call site] 00062
2 pcpp::Logger::getInstance() [function] [call site] 00063
2 pcpp::Logger::internalCreateLogStream() [function] [call site] 00064
2 pcap_datalink [function] [call site] 00065
2 pcpp::RawPacket::isLinkTypeValid(int) [function] [call site] 00066
2 pcpp::Logger::getInstance() [function] [call site] 00067
2 pcpp::Logger::internalCreateLogStream() [function] [call site] 00068
2 pcap_close [function] [call site] 00069
2 pcpp::Logger::getInstance() [function] [call site] 00070
2 pcpp::Logger::internalCreateLogStream() [function] [call site] 00071
1 pcpp::RawPacket::RawPacket() [function] [call site] 00072
2 pcpp::RawPacket::init(bool) [function] [call site] 00073
1 pcpp::PcapFileReaderDevice::getNextPacket(pcpp::RawPacket&) [function] [call site] 00074
2 pcpp::Logger::getInstance() [function] [call site] 00075
2 pcpp::Logger::internalCreateLogStream() [function] [call site] 00076
2 pcap_next [function] [call site] 00077
2 pcpp::Logger::getInstance() [function] [call site] 00078
2 pcpp::Logger::internalCreateLogStream() [function] [call site] 00079
2 pcpp::Logger::getInstance() [function] [call site] 00080
2 pcpp::Logger::internalCreateLogStream() [function] [call site] 00081
1 pcpp::Packet::Packet(pcpp::RawPacket*, bool, unsigned long, pcpp::OsiModelLayer) [function] [call site] 00082
2 pcpp::Packet::setRawPacket(pcpp::RawPacket*, bool, unsigned long, pcpp::OsiModelLayer) [function] [call site] 00083
3 pcpp::Packet::destructPacketData() [function] [call site] 00084
4 pcpp::Layer::getNextLayer() const [function] [call site] 00085
3 pcpp::RawPacket::getRawDataLen() const [function] [call site] 00086
3 pcpp::RawPacket::getLinkLayerType() const [function] [call site] 00087
3 pcpp::Packet::createFirstLayer(pcpp::LinkLayerType) [function] [call site] 00088
4 pcpp::RawPacket::getRawDataLen() const [function] [call site] 00089
4 pcpp::RawPacket::getRawData() const [function] [call site] 00090
4 pcpp::EthLayer::isDataValid(unsigned char const*, unsigned long) [function] [call site] 00091
5 __bswap_16(unsigned short) [function] [call site] 00092
4 pcpp::EthLayer::EthLayer(unsigned char*, unsigned long, pcpp::Packet*) [function] [call site] 00093
5 pcpp::Layer::Layer(unsigned char*, unsigned long, pcpp::Layer*, pcpp::Packet*) [function] [call site] 00094
6 pcpp::IDataContainer::IDataContainer() [function] [call site] 00095
4 pcpp::EthDot3Layer::isDataValid(unsigned char const*, unsigned long) [function] [call site] 00096
5 __bswap_16(unsigned short) [function] [call site] 00097
4 pcpp::EthDot3Layer::EthDot3Layer(unsigned char*, unsigned long, pcpp::Packet*) [function] [call site] 00098
5 pcpp::Layer::Layer(unsigned char*, unsigned long, pcpp::Layer*, pcpp::Packet*) [function] [call site] 00099
4 pcpp::PayloadLayer::PayloadLayer(unsigned char*, unsigned long, pcpp::Layer*, pcpp::Packet*) [function] [call site] 00100
5 pcpp::Layer::Layer(unsigned char*, unsigned long, pcpp::Layer*, pcpp::Packet*) [function] [call site] 00101
4 pcpp::SllLayer::SllLayer(unsigned char*, unsigned long, pcpp::Packet*) [function] [call site] 00102
5 pcpp::Layer::Layer(unsigned char*, unsigned long, pcpp::Layer*, pcpp::Packet*) [function] [call site] 00103
4 pcpp::NullLoopbackLayer::NullLoopbackLayer(unsigned char*, unsigned long, pcpp::Packet*) [function] [call site] 00104
5 pcpp::Layer::Layer(unsigned char*, unsigned long, pcpp::Layer*, pcpp::Packet*) [function] [call site] 00105
4 pcpp::PayloadLayer::PayloadLayer(unsigned char*, unsigned long, pcpp::Layer*, pcpp::Packet*) [function] [call site] 00106
4 pcpp::IPv4Layer::isDataValid(unsigned char const*, unsigned long) [function] [call site] 00107
4 pcpp::IPv4Layer::IPv4Layer(unsigned char*, unsigned long, pcpp::Layer*, pcpp::Packet*) [function] [call site] 00108
5 pcpp::Layer::Layer(unsigned char*, unsigned long, pcpp::Layer*, pcpp::Packet*) [function] [call site] 00109
5 pcpp::IPLayer::IPLayer() [function] [call site] 00110
5 pcpp::TLVRecordReader ::TLVRecordReader() [function] [call site] 00111
5 pcpp::IPv4Layer::initLayerInPacket(unsigned char*, unsigned long, pcpp::Layer*, pcpp::Packet*, bool) [function] [call site] 00112
6 pcpp::IPv4Layer::getIPv4Header() const [function] [call site] 00113
6 __bswap_16(unsigned short) [function] [call site] 00114
5 pcpp::TLVRecordReader ::~TLVRecordReader() [function] [call site] 00115
5 pcpp::IPLayer::~IPLayer() [function] [call site] 00116
5 pcpp::Layer::~Layer() [function] [call site] 00117
6 pcpp::Layer::isAllocatedToPacket() const [function] [call site] 00118
6 pcpp::IDataContainer::~IDataContainer() [function] [call site] 00119
4 pcpp::PayloadLayer::PayloadLayer(unsigned char*, unsigned long, pcpp::Layer*, pcpp::Packet*) [function] [call site] 00120
4 pcpp::IPv6Layer::isDataValid(unsigned char const*, unsigned long) [function] [call site] 00121
4 pcpp::IPv6Layer::IPv6Layer(unsigned char*, unsigned long, pcpp::Layer*, pcpp::Packet*) [function] [call site] 00122
5 pcpp::Layer::Layer(unsigned char*, unsigned long, pcpp::Layer*, pcpp::Packet*) [function] [call site] 00123
5 pcpp::IPLayer::IPLayer() [function] [call site] 00124
5 pcpp::IPv6Layer::parseExtensions() [function] [call site] 00125
6 pcpp::IPv6Layer::getIPv6Header() const [function] [call site] 00126
6 pcpp::IPv6FragmentationHeader::IPv6FragmentationHeader(pcpp::IDataContainer*, unsigned long) [function] [call site] 00127
7 pcpp::IPv6Extension::IPv6Extension(pcpp::IDataContainer*, unsigned long) [function] [call site] 00128
6 pcpp::IPv6HopByHopHeader::IPv6HopByHopHeader(pcpp::IDataContainer*, unsigned long) [function] [call site] 00129
7 pcpp::IPv6TLVOptionHeader::IPv6TLVOptionHeader(pcpp::IDataContainer*, unsigned long) [function] [call site] 00130
8 pcpp::IPv6Extension::IPv6Extension(pcpp::IDataContainer*, unsigned long) [function] [call site] 00131
8 pcpp::TLVRecordReader ::TLVRecordReader() [function] [call site] 00132
8 pcpp::IPv6Extension::~IPv6Extension() [function] [call site] 00133
6 pcpp::IPv6DestinationHeader::IPv6DestinationHeader(pcpp::IDataContainer*, unsigned long) [function] [call site] 00134
7 pcpp::IPv6TLVOptionHeader::IPv6TLVOptionHeader(pcpp::IDataContainer*, unsigned long) [function] [call site] 00135
6 pcpp::IPv6RoutingHeader::IPv6RoutingHeader(pcpp::IDataContainer*, unsigned long) [function] [call site] 00136
7 pcpp::IPv6Extension::IPv6Extension(pcpp::IDataContainer*, unsigned long) [function] [call site] 00137
6 pcpp::IPv6AuthenticationHeader::IPv6AuthenticationHeader(pcpp::IDataContainer*, unsigned long) [function] [call site] 00138
7 pcpp::IPv6Extension::IPv6Extension(pcpp::IDataContainer*, unsigned long) [function] [call site] 00139
6 pcpp::IPv6Extension::setNextHeader(pcpp::IPv6Extension*) [function] [call site] 00140
6 pcpp::IPv6Extension::getNextHeader() const [function] [call site] 00141
6 pcpp::IPv6Extension::getBaseHeader() const [function] [call site] 00142
7 pcpp::IPv6Extension::getDataPtr() const [function] [call site] 00143
5 pcpp::IPv6Layer::getIPv6Header() const [function] [call site] 00144
5 __bswap_16(unsigned short) [function] [call site] 00145
5 pcpp::IPLayer::~IPLayer() [function] [call site] 00146
5 pcpp::Layer::~Layer() [function] [call site] 00147
4 pcpp::PayloadLayer::PayloadLayer(unsigned char*, unsigned long, pcpp::Layer*, pcpp::Packet*) [function] [call site] 00148
4 pcpp::PayloadLayer::PayloadLayer(unsigned char*, unsigned long, pcpp::Layer*, pcpp::Packet*) [function] [call site] 00149
4 pcpp::IPv4Layer::isDataValid(unsigned char const*, unsigned long) [function] [call site] 00150
4 pcpp::IPv4Layer::IPv4Layer(unsigned char*, unsigned long, pcpp::Layer*, pcpp::Packet*) [function] [call site] 00151
4 pcpp::PayloadLayer::PayloadLayer(unsigned char*, unsigned long, pcpp::Layer*, pcpp::Packet*) [function] [call site] 00152
4 pcpp::IPv6Layer::isDataValid(unsigned char const*, unsigned long) [function] [call site] 00153
4 pcpp::IPv6Layer::IPv6Layer(unsigned char*, unsigned long, pcpp::Layer*, pcpp::Packet*) [function] [call site] 00154
4 pcpp::PayloadLayer::PayloadLayer(unsigned char*, unsigned long, pcpp::Layer*, pcpp::Packet*) [function] [call site] 00155
4 pcpp::PayloadLayer::PayloadLayer(unsigned char*, unsigned long, pcpp::Layer*, pcpp::Packet*) [function] [call site] 00156
3 pcpp::Layer::getProtocol() const [function] [call site] 00157
3 pcpp::Layer::getProtocol() const [function] [call site] 00158
3 pcpp::Layer::getNextLayer() const [function] [call site] 00159
3 pcpp::Layer::getProtocol() const [function] [call site] 00160
3 pcpp::Layer::getProtocol() const [function] [call site] 00161
3 pcpp::Layer::getPrevLayer() const [function] [call site] 00162
3 pcpp::RawPacket::getRawData() const [function] [call site] 00163
3 pcpp::Layer::getData() const [function] [call site] 00164
3 pcpp::Layer::getData() const [function] [call site] 00165
3 pcpp::PacketTrailerLayer::PacketTrailerLayer(unsigned char*, unsigned long, pcpp::Layer*, pcpp::Packet*) [function] [call site] 00166
4 pcpp::Layer::Layer(unsigned char*, unsigned long, pcpp::Layer*, pcpp::Packet*) [function] [call site] 00167
3 pcpp::Layer::setNextLayer(pcpp::Layer*) [function] [call site] 00168
3 pcpp::Layer::getProtocol() const [function] [call site] 00169
1 pcpp::Packet::isPacketOfType(unsigned long) const [function] [call site] 00170
1 pcpp::IPv4Layer* pcpp::Packet::getLayerOfType (bool) const [function] [call site] 00171
2 pcpp::Packet::getFirstLayer() const [function] [call site] 00172
2 __dynamic_cast [call site] 00173
2 pcpp::Packet::getFirstLayer() const [function] [call site] 00174
2 __dynamic_cast [call site] 00175
2 pcpp::Packet::getFirstLayer() const [function] [call site] 00176
2 pcpp::Packet::getLastLayer() const [function] [call site] 00177
2 pcpp::Packet::getLastLayer() const [function] [call site] 00178
2 __dynamic_cast [call site] 00179
2 pcpp::Packet::getLastLayer() const [function] [call site] 00180
1 pcpp::IPv4Layer::getSrcIPv4Address() const [function] [call site] 00181
2 pcpp::IPv4Layer::getIPv4Header() const [function] [call site] 00182
2 pcpp::IPv4Address::IPv4Address(unsigned int) [function] [call site] 00183
1 pcpp::IPv4Layer* pcpp::Packet::getLayerOfType (bool) const [function] [call site] 00184
1 pcpp::IPv4Layer::getDstIPv4Address() const [function] [call site] 00185
2 pcpp::IPv4Layer::getIPv4Header() const [function] [call site] 00186
2 pcpp::IPv4Address::IPv4Address(unsigned int) [function] [call site] 00187
1 pcpp::IPv4Address::toString() const [function] [call site] 00188
2 pcpp::IPv4Address::toBytes() const [function] [call site] 00189
2 inet_ntop [call site] 00190
1 pcpp::Packet::~Packet() [function] [call site] 00191
2 pcpp::Packet::destructPacketData() [function] [call site] 00192
2 __clang_call_terminate [call site] 00193
3 __cxa_begin_catch [call site] 00194
1 pcpp::PcapFileReaderDevice::getNextPacket(pcpp::RawPacket&) [function] [call site] 00195
1 pcpp::IFileDevice::close() [function] [call site] 00196
2 pcap_close [function] [call site] 00197
2 pcpp::Logger::getInstance() [function] [call site] 00198
2 pcpp::Logger::internalCreateLogStream() [function] [call site] 00199
1 pcpp::RawPacket::~RawPacket() [function] [call site] 00200
1 pcpp::PcapFileReaderDevice::~PcapFileReaderDevice() [function] [call site] 00201
2 pcpp::IFileReaderDevice::~IFileReaderDevice() [function] [call site] 00202