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

Project functions overview

The following table shows data about each function in the project. The functions included in this table correspond to all functions that exist in the executables of the fuzzers. As such, there may be functions that are from third-party libraries.

For further technical details on the meaning of columns in the below table, please see the Glossary .

Func name Functions filename Args Function call depth Reached by Fuzzers Runtime reached by Fuzzers Combined 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

Fuzzer details

Fuzzer: /src/inspector/source-code/src/sample_encode_fuzzer.cc

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 21 26.9%
gold [1:9] 28 35.8%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 29 37.1%
All colors 78 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
97 97 2 :

['google::protobuf::io::EpsCopyOutputStream::WriteStringMaybeAliased(unsigned int, std::__1::basic_string , std::__1::allocator > const&, unsigned char*)', 'sentencepiece::SentencePieceText::_internal_text() const']

312 870 sentencepiece::SentencePieceText::_InternalSerialize(unsignedchar*,google::protobuf::io::EpsCopyOutputStream*)const call site: 00000 /src/sentencepiece/src/builtin_pb/sentencepiece.pb.cc:595
61 61 6 :

['google::protobuf::internal::WireFormatLite::EncodeFloat(float)', 'google::protobuf::internal::WireFormatLite::MakeTag(int, google::protobuf::internal::WireFormatLite::WireType)', 'google::protobuf::io::CodedOutputStream::WriteVarint32ToArray(unsigned int, unsigned char*)', 'google::protobuf::io::EpsCopyOutputStream::EnsureSpace(unsigned char*)', 'sentencepiece::SentencePieceText::_internal_score() const', 'google::protobuf::io::CodedOutputStream::WriteLittleEndian32ToArray(unsigned int, unsigned char*)']

117 364 sentencepiece::SentencePieceText::_InternalSerialize(unsignedchar*,google::protobuf::io::EpsCopyOutputStream*)const call site: 00000 /src/sentencepiece/src/builtin_pb/sentencepiece.pb.cc:609
36 36 7 :

['google::protobuf::internal::LogMessage::operator<<(unsigned long)', 'google::protobuf::internal::LogMessage::~LogMessage()', 'google::protobuf::internal::LogMessage::LogMessage(google::protobuf::LogLevel, char const*, int)', 'google::protobuf::internal::LogMessage::operator<<(std::__1::basic_string , std::__1::allocator > const&)', 'google::protobuf::internal::LogMessage::operator<<(char const*)', 'google::protobuf::internal::LogFinisher::operator=(google::protobuf::internal::LogMessage&)', 'std::__1::basic_string , std::__1::allocator >::~basic_string()']

36 36 google::protobuf::MessageLite::AppendPartialToString(std::__1::basic_string ,std::__1::allocator >*)const call site: 00000 /src/sentencepiece/third_party/protobuf-lite/message_lite.cc:456
14 14 2 :

['sentencepiece::SentencePieceText::_internal_text() const', 'google::protobuf::internal::WireFormatLite::StringSize(std::__1::basic_string , std::__1::allocator > const&)']

16 22 sentencepiece::SentencePieceText::ByteSizeLong()const call site: 00000 /src/sentencepiece/src/builtin_pb/sentencepiece.pb.cc:644
0 0 None 100 100 google::protobuf::internal::VerifyVersion(int,int,charconst*) call site: 00000 /src/sentencepiece/third_party/protobuf-lite/common.cc:74
0 0 None 0 87 sentencepiece::SentencePieceText::IsInitialized()const call site: 00000 /src/sentencepiece/src/builtin_pb/sentencepiece.pb.cc:701
0 0 None 0 0 google::protobuf::internal::(anonymousnamespace)::InitSCC_DFS(google::protobuf::internal::SCCInfoBase*) call site: 00000 /src/sentencepiece/third_party/protobuf-lite/generated_message_util.cc:737

Runtime coverage analysis

Covered functions
129
Functions that are reachable but not covered
37
Reachable functions
104
Percentage of reachable functions covered
64.42%
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/inspector/source-code/src/sample_encode_fuzzer.cc 1
/src/sentencepiece/src/sentencepiece_processor.cc 6
/src/sentencepiece/src/sentencepiece_processor.h 2
/src/sentencepiece/src/builtin_pb/sentencepiece.pb.cc 1
/src/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/generated_message_util.h 3
/src/sentencepiece/third_party/protobuf-lite/generated_message_util.cc 5
/src/sentencepiece/third_party/protobuf-lite/common.cc 8
/src/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/stubs/common.h 1
/usr/local/bin/../include/c++/v1/__exception/exception.h 1
/src/sentencepiece/third_party/protobuf-lite/message_lite.cc 8
/src/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/stubs/mutex.h 5
/src/sentencepiece/src/builtin_pb/sentencepiece.pb.h 1
/src/sentencepiece/src/error.cc 1
/src/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/stubs/stl_util.h 1
/src/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/io/zero_copy_stream_impl_lite.h 1
/src/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/io/coded_stream.h 2

Fuzzer: sample_encode_fuzzer

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 21 26.9%
gold [1:9] 28 35.8%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 29 37.1%
All colors 78 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
97 97 2 :

['google::protobuf::io::EpsCopyOutputStream::WriteStringMaybeAliased(unsigned int, std::__1::basic_string , std::__1::allocator > const&, unsigned char*)', 'sentencepiece::SentencePieceText::_internal_text() const']

312 870 sentencepiece::SentencePieceText::_InternalSerialize(unsignedchar*,google::protobuf::io::EpsCopyOutputStream*)const call site: 00000 /src/sentencepiece/src/builtin_pb/sentencepiece.pb.cc:595
61 61 6 :

['google::protobuf::internal::WireFormatLite::EncodeFloat(float)', 'google::protobuf::internal::WireFormatLite::MakeTag(int, google::protobuf::internal::WireFormatLite::WireType)', 'google::protobuf::io::CodedOutputStream::WriteVarint32ToArray(unsigned int, unsigned char*)', 'google::protobuf::io::EpsCopyOutputStream::EnsureSpace(unsigned char*)', 'sentencepiece::SentencePieceText::_internal_score() const', 'google::protobuf::io::CodedOutputStream::WriteLittleEndian32ToArray(unsigned int, unsigned char*)']

117 364 sentencepiece::SentencePieceText::_InternalSerialize(unsignedchar*,google::protobuf::io::EpsCopyOutputStream*)const call site: 00000 /src/sentencepiece/src/builtin_pb/sentencepiece.pb.cc:609
36 36 7 :

['google::protobuf::internal::LogMessage::operator<<(unsigned long)', 'google::protobuf::internal::LogMessage::~LogMessage()', 'google::protobuf::internal::LogMessage::LogMessage(google::protobuf::LogLevel, char const*, int)', 'google::protobuf::internal::LogMessage::operator<<(std::__1::basic_string , std::__1::allocator > const&)', 'google::protobuf::internal::LogMessage::operator<<(char const*)', 'google::protobuf::internal::LogFinisher::operator=(google::protobuf::internal::LogMessage&)', 'std::__1::basic_string , std::__1::allocator >::~basic_string()']

36 36 google::protobuf::MessageLite::AppendPartialToString(std::__1::basic_string ,std::__1::allocator >*)const call site: 00000 /src/sentencepiece/third_party/protobuf-lite/message_lite.cc:456
14 14 2 :

['sentencepiece::SentencePieceText::_internal_text() const', 'google::protobuf::internal::WireFormatLite::StringSize(std::__1::basic_string , std::__1::allocator > const&)']

16 22 sentencepiece::SentencePieceText::ByteSizeLong()const call site: 00000 /src/sentencepiece/src/builtin_pb/sentencepiece.pb.cc:644
0 0 None 100 100 google::protobuf::internal::VerifyVersion(int,int,charconst*) call site: 00000 /src/sentencepiece/third_party/protobuf-lite/common.cc:74
0 0 None 0 87 sentencepiece::SentencePieceText::IsInitialized()const call site: 00000 /src/sentencepiece/src/builtin_pb/sentencepiece.pb.cc:701
0 0 None 0 0 google::protobuf::internal::(anonymousnamespace)::InitSCC_DFS(google::protobuf::internal::SCCInfoBase*) call site: 00000 /src/sentencepiece/third_party/protobuf-lite/generated_message_util.cc:737

Runtime coverage analysis

Covered functions
129
Functions that are reachable but not covered
37
Reachable functions
104
Percentage of reachable functions covered
64.42%
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/sample_encode_fuzzer.cc 1
/src/sentencepiece/src/sentencepiece_processor.cc 6
/src/sentencepiece/src/sentencepiece_processor.h 2
/src/sentencepiece/src/builtin_pb/sentencepiece.pb.cc 1
/src/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/generated_message_util.h 3
/src/sentencepiece/third_party/protobuf-lite/generated_message_util.cc 5
/src/sentencepiece/third_party/protobuf-lite/common.cc 8
/src/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/stubs/common.h 1
/usr/local/bin/../include/c++/v1/__exception/exception.h 1
/src/sentencepiece/third_party/protobuf-lite/message_lite.cc 8
/src/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/stubs/mutex.h 5
/src/sentencepiece/src/builtin_pb/sentencepiece.pb.h 1
/src/sentencepiece/src/error.cc 1
/src/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/stubs/stl_util.h 1
/src/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/io/zero_copy_stream_impl_lite.h 1
/src/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/io/coded_stream.h 2

Fuzzer: /src/inspector/light/source_files/src/sample_encode_fuzzer.cc

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 21 26.9%
gold [1:9] 28 35.8%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 29 37.1%
All colors 78 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
97 97 2 :

['google::protobuf::io::EpsCopyOutputStream::WriteStringMaybeAliased(unsigned int, std::__1::basic_string , std::__1::allocator > const&, unsigned char*)', 'sentencepiece::SentencePieceText::_internal_text() const']

312 870 sentencepiece::SentencePieceText::_InternalSerialize(unsignedchar*,google::protobuf::io::EpsCopyOutputStream*)const call site: 00000 /src/sentencepiece/src/builtin_pb/sentencepiece.pb.cc:595
61 61 6 :

['google::protobuf::internal::WireFormatLite::EncodeFloat(float)', 'google::protobuf::internal::WireFormatLite::MakeTag(int, google::protobuf::internal::WireFormatLite::WireType)', 'google::protobuf::io::CodedOutputStream::WriteVarint32ToArray(unsigned int, unsigned char*)', 'google::protobuf::io::EpsCopyOutputStream::EnsureSpace(unsigned char*)', 'sentencepiece::SentencePieceText::_internal_score() const', 'google::protobuf::io::CodedOutputStream::WriteLittleEndian32ToArray(unsigned int, unsigned char*)']

117 364 sentencepiece::SentencePieceText::_InternalSerialize(unsignedchar*,google::protobuf::io::EpsCopyOutputStream*)const call site: 00000 /src/sentencepiece/src/builtin_pb/sentencepiece.pb.cc:609
36 36 7 :

['google::protobuf::internal::LogMessage::operator<<(unsigned long)', 'google::protobuf::internal::LogMessage::~LogMessage()', 'google::protobuf::internal::LogMessage::LogMessage(google::protobuf::LogLevel, char const*, int)', 'google::protobuf::internal::LogMessage::operator<<(std::__1::basic_string , std::__1::allocator > const&)', 'google::protobuf::internal::LogMessage::operator<<(char const*)', 'google::protobuf::internal::LogFinisher::operator=(google::protobuf::internal::LogMessage&)', 'std::__1::basic_string , std::__1::allocator >::~basic_string()']

36 36 google::protobuf::MessageLite::AppendPartialToString(std::__1::basic_string ,std::__1::allocator >*)const call site: 00000 /src/sentencepiece/third_party/protobuf-lite/message_lite.cc:456
14 14 2 :

['sentencepiece::SentencePieceText::_internal_text() const', 'google::protobuf::internal::WireFormatLite::StringSize(std::__1::basic_string , std::__1::allocator > const&)']

16 22 sentencepiece::SentencePieceText::ByteSizeLong()const call site: 00000 /src/sentencepiece/src/builtin_pb/sentencepiece.pb.cc:644
0 0 None 100 100 google::protobuf::internal::VerifyVersion(int,int,charconst*) call site: 00000 /src/sentencepiece/third_party/protobuf-lite/common.cc:74
0 0 None 0 87 sentencepiece::SentencePieceText::IsInitialized()const call site: 00000 /src/sentencepiece/src/builtin_pb/sentencepiece.pb.cc:701
0 0 None 0 0 google::protobuf::internal::(anonymousnamespace)::InitSCC_DFS(google::protobuf::internal::SCCInfoBase*) call site: 00000 /src/sentencepiece/third_party/protobuf-lite/generated_message_util.cc:737

Runtime coverage analysis

Covered functions
129
Functions that are reachable but not covered
37
Reachable functions
104
Percentage of reachable functions covered
64.42%
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/inspector/light/source_files/src/sample_encode_fuzzer.cc 1
/src/sentencepiece/src/sentencepiece_processor.cc 6
/src/sentencepiece/src/sentencepiece_processor.h 2
/src/sentencepiece/src/builtin_pb/sentencepiece.pb.cc 1
/src/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/generated_message_util.h 3
/src/sentencepiece/third_party/protobuf-lite/generated_message_util.cc 5
/src/sentencepiece/third_party/protobuf-lite/common.cc 8
/src/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/stubs/common.h 1
/usr/local/bin/../include/c++/v1/__exception/exception.h 1
/src/sentencepiece/third_party/protobuf-lite/message_lite.cc 8
/src/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/stubs/mutex.h 5
/src/sentencepiece/src/builtin_pb/sentencepiece.pb.h 1
/src/sentencepiece/src/error.cc 1
/src/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/stubs/stl_util.h 1
/src/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/io/zero_copy_stream_impl_lite.h 1
/src/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/io/coded_stream.h 2

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
sentencepiece::ModelProto::_InternalParse(charconst*,google::protobuf::internal::ParseContext*) /src/sentencepiece/src/builtin_pb/sentencepiece_model.pb.cc 3 ['N/A', 'N/A', 'N/A'] 23 0 353 66 22 1107 0 2117 2030
sentencepiece::unigram::Model::Model(sentencepiece::ModelProtoconst&) /src/sentencepiece/src/unigram_model.cc 2 ['N/A', 'N/A'] 14 0 216 35 22 506 0 1078 1030
google::protobuf::internal::SerializeInternalToArray(unsignedcharconst*,google::protobuf::internal::FieldMetadataconst*,int,bool,unsignedchar*) /src/sentencepiece/third_party/protobuf-lite/generated_message_util.cc 5 ['N/A', 'N/A', 'int', 'bool', 'N/A'] 13 0 1430 216 51 488 10 691 601
sentencepiece::unigram::Model::SampleEncodeAndScore(std::__1::basic_string_view >,float,int,bool,bool)const /src/sentencepiece/src/unigram_model.cc 8 ['N/A', 'N/A', 'N/A', 'size_t', 'float', 'int', 'bool', 'bool'] 10 0 828 126 109 183 0 645 555
sentencepiece::SentencePieceProcessor::NBestEncode(std::__1::basic_string_view >,int,sentencepiece::NBestSentencePieceText*)const /src/sentencepiece/src/sentencepiece_processor.cc 6 ['N/A', 'N/A', 'N/A', 'size_t', 'int', 'N/A'] 22 0 513 99 70 598 0 1053 532
google::protobuf::internal::ExtensionSet::ParseMessageSet(google::protobuf::io::CodedInputStream*,google::protobuf::MessageLiteconst*,std::__1::basic_string ,std::__1::allocator >*) /src/sentencepiece/third_party/protobuf-lite/extension_set.cc 4 ['N/A', 'N/A', 'N/A', 'N/A'] 23 0 100 15 12 697 0 1330 527
google::protobuf::internal::SerializeInternal(unsignedcharconst*,google::protobuf::internal::FieldMetadataconst*,int,google::protobuf::io::CodedOutputStream*) /src/sentencepiece/third_party/protobuf-lite/generated_message_util.cc 4 ['N/A', 'N/A', 'int', 'N/A'] 16 0 1356 208 56 476 10 684 425

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

Functions statically reachable by fuzzers
42.0%
1435 / 3398
Cyclomatic complexity statically reachable by fuzzers
36.0%
5718 / 15686

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 Runtime reached by Fuzzers Combined 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/inspector/source-code/src/sample_encode_fuzzer.cc

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=['google::protobuf::internal::InitSCCImpl(google::protobuf::internal::SCCInfoBase*)', 'google::protobuf::MessageLite::AppendToString(std::__1::basic_string, std::__1::allocator >*) const', 'google::protobuf::internal::ShutdownData::get()', 'google::protobuf::internal::MutexLock::~MutexLock()', 'google::protobuf::internal::(anonymous namespace)::InitSCC_DFS(google::protobuf::internal::SCCInfoBase*)', 'sentencepiece::SentencePieceProcessor::SampleEncodeAsSerializedProto(std::__1::basic_string_view >, int, float) const', 'google::protobuf::SerializeToArrayImpl(google::protobuf::MessageLite const&, unsigned char*, int)']

/src/sample_encode_fuzzer.cc

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=['google::protobuf::internal::InitSCCImpl(google::protobuf::internal::SCCInfoBase*)', 'google::protobuf::MessageLite::AppendToString(std::__1::basic_string, std::__1::allocator >*) const', 'google::protobuf::internal::ShutdownData::get()', 'google::protobuf::internal::MutexLock::~MutexLock()', 'google::protobuf::internal::(anonymous namespace)::InitSCC_DFS(google::protobuf::internal::SCCInfoBase*)', 'sentencepiece::SentencePieceProcessor::SampleEncodeAsSerializedProto(std::__1::basic_string_view >, int, float) const', 'google::protobuf::SerializeToArrayImpl(google::protobuf::MessageLite const&, unsigned char*, int)']

/src/inspector/light/source_files/src/sample_encode_fuzzer.cc

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=['google::protobuf::internal::InitSCCImpl(google::protobuf::internal::SCCInfoBase*)', 'google::protobuf::MessageLite::AppendToString(std::__1::basic_string, std::__1::allocator >*) const', 'google::protobuf::internal::ShutdownData::get()', 'google::protobuf::internal::MutexLock::~MutexLock()', 'google::protobuf::internal::(anonymous namespace)::InitSCC_DFS(google::protobuf::internal::SCCInfoBase*)', 'sentencepiece::SentencePieceProcessor::SampleEncodeAsSerializedProto(std::__1::basic_string_view >, int, float) const', 'google::protobuf::SerializeToArrayImpl(google::protobuf::MessageLite const&, unsigned char*, int)']

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/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/extension_set_inl.h [] []
/src/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/io/zero_copy_stream_impl.h [] []
/src/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/io/coded_stream.h ['/src/inspector/source-code/src/sample_encode_fuzzer.cc', 'sample_encode_fuzzer', '/src/inspector/light/source_files/src/sample_encode_fuzzer.cc'] []
/src/sentencepiece/third_party/absl/strings/str_replace.h [] []
/src/sentencepiece/third_party/protobuf-lite/structurally_valid.cc [] []
/src/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/stubs/strutil.h [] []
/src/sample_encode_fuzzer.cc ['sample_encode_fuzzer'] ['sample_encode_fuzzer']
/src/sentencepiece/src/unigram_model.h [] []
/src/sentencepiece/third_party/absl/strings/numbers.h [] []
/src/sentencepiece/third_party/protobuf-lite/parse_context.cc [] []
/src/sentencepiece/third_party/protobuf-lite/generated_message_util.cc ['/src/inspector/source-code/src/sample_encode_fuzzer.cc', 'sample_encode_fuzzer', '/src/inspector/light/source_files/src/sample_encode_fuzzer.cc'] ['/src/inspector/source-code/src/sample_encode_fuzzer.cc', 'sample_encode_fuzzer', '/src/inspector/light/source_files/src/sample_encode_fuzzer.cc']
/src/sentencepiece/third_party/protobuf-lite/int128.cc [] []
/src/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/stubs/stl_util.h ['/src/inspector/source-code/src/sample_encode_fuzzer.cc', 'sample_encode_fuzzer', '/src/inspector/light/source_files/src/sample_encode_fuzzer.cc'] []
/src/sentencepiece/third_party/protobuf-lite/zero_copy_stream_impl.cc [] []
/src/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/stubs/port.h [] []
/src/sentencepiece/third_party/absl/strings/match.h [] []
/src/sentencepiece/third_party/protobuf-lite/strutil.cc [] []
/src/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/stubs/status.h [] []
/src/sentencepiece/src/bpe_model.cc [] []
/src/inspector/source-code/src/sample_encode_fuzzer.cc ['/src/inspector/source-code/src/sample_encode_fuzzer.cc'] ['/src/inspector/source-code/src/sample_encode_fuzzer.cc']
/src/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/arena.h [] []
/src/sentencepiece/third_party/absl/strings/strip.h [] []
/src/sentencepiece/src/util.h [] []
/src/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/arena_impl.h [] []
/src/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/stubs/common.h ['/src/inspector/source-code/src/sample_encode_fuzzer.cc', 'sample_encode_fuzzer', '/src/inspector/light/source_files/src/sample_encode_fuzzer.cc'] []
/src/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/repeated_field.h [] []
/src/sentencepiece/third_party/protobuf-lite/generated_enum_util.cc [] []
/src/sentencepiece/src/char_model.cc [] []
/src/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/parse_context.h [] []
/src/sentencepiece/third_party/protobuf-lite/extension_set.cc [] []
/src/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/has_bits.h [] []
/src/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/stubs/callback.h [] []
/usr/include/x86_64-linux-gnu/bits/byteswap.h [] []
/src/sentencepiece/third_party/protobuf-lite/arena.cc [] []
/src/sentencepiece/src/filesystem.h [] []
/usr/local/bin/../include/c++/v1/__exception/exception.h ['/src/inspector/source-code/src/sample_encode_fuzzer.cc', 'sample_encode_fuzzer', '/src/inspector/light/source_files/src/sample_encode_fuzzer.cc'] []
/src/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/implicit_weak_message.h [] []
/src/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/arenastring.h [] []
/src/sentencepiece/third_party/absl/strings/string_view.h [] []
/src/sentencepiece/third_party/protobuf-lite/stringpiece.cc [] []
/src/sentencepiece/src/builtin_pb/sentencepiece.pb.cc ['/src/inspector/source-code/src/sample_encode_fuzzer.cc', 'sample_encode_fuzzer', '/src/inspector/light/source_files/src/sample_encode_fuzzer.cc'] ['/src/inspector/source-code/src/sample_encode_fuzzer.cc', 'sample_encode_fuzzer', '/src/inspector/light/source_files/src/sample_encode_fuzzer.cc']
/src/sentencepiece/third_party/protobuf-lite/zero_copy_stream.cc [] []
/src/sentencepiece/third_party/darts_clone/darts.h [] []
/src/sentencepiece/third_party/absl/strings/str_join.h [] []
/src/sentencepiece/src/model_interface.cc [] []
/src/sentencepiece/third_party/protobuf-lite/coded_stream.cc [] []
/src/sentencepiece/src/normalizer.cc [] []
/src/sentencepiece/third_party/protobuf-lite/status.cc [] []
/src/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/stubs/int128.h [] []
/src/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/wire_format_lite.h [] []
/src/sentencepiece/src/util.cc [] []
/src/sentencepiece/third_party/protobuf-lite/implicit_weak_message.cc [] []
/src/sentencepiece/src/builtin_pb/sentencepiece.pb.h ['/src/inspector/source-code/src/sample_encode_fuzzer.cc', 'sample_encode_fuzzer', '/src/inspector/light/source_files/src/sample_encode_fuzzer.cc'] ['/src/inspector/source-code/src/sample_encode_fuzzer.cc', 'sample_encode_fuzzer', '/src/inspector/light/source_files/src/sample_encode_fuzzer.cc']
/src/sentencepiece/src/error.cc ['/src/inspector/source-code/src/sample_encode_fuzzer.cc', 'sample_encode_fuzzer', '/src/inspector/light/source_files/src/sample_encode_fuzzer.cc'] ['/src/inspector/source-code/src/sample_encode_fuzzer.cc', 'sample_encode_fuzzer', '/src/inspector/light/source_files/src/sample_encode_fuzzer.cc']
/src/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/metadata_lite.h [] []
/src/sentencepiece/third_party/protobuf-lite/zero_copy_stream_impl_lite.cc [] []
/src/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/stubs/map_util.h [] []
/src/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/io/zero_copy_stream_impl_lite.h ['/src/inspector/source-code/src/sample_encode_fuzzer.cc', 'sample_encode_fuzzer', '/src/inspector/light/source_files/src/sample_encode_fuzzer.cc'] []
/src/sentencepiece/src/sentencepiece_processor.h ['/src/inspector/source-code/src/sample_encode_fuzzer.cc', 'sample_encode_fuzzer', '/src/inspector/light/source_files/src/sample_encode_fuzzer.cc'] ['/src/inspector/source-code/src/sample_encode_fuzzer.cc', 'sample_encode_fuzzer', '/src/inspector/light/source_files/src/sample_encode_fuzzer.cc']
/src/sentencepiece/src/builtin_pb/sentencepiece_model.pb.h [] []
/src/sentencepiece/third_party/protobuf-lite/message_lite.cc ['/src/inspector/source-code/src/sample_encode_fuzzer.cc', 'sample_encode_fuzzer', '/src/inspector/light/source_files/src/sample_encode_fuzzer.cc'] ['/src/inspector/source-code/src/sample_encode_fuzzer.cc', 'sample_encode_fuzzer', '/src/inspector/light/source_files/src/sample_encode_fuzzer.cc']
/src/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/stubs/mutex.h ['/src/inspector/source-code/src/sample_encode_fuzzer.cc', 'sample_encode_fuzzer', '/src/inspector/light/source_files/src/sample_encode_fuzzer.cc'] []
/src/sentencepiece/src/sentencepiece_processor.cc ['/src/inspector/source-code/src/sample_encode_fuzzer.cc', 'sample_encode_fuzzer', '/src/inspector/light/source_files/src/sample_encode_fuzzer.cc'] ['/src/inspector/source-code/src/sample_encode_fuzzer.cc', 'sample_encode_fuzzer', '/src/inspector/light/source_files/src/sample_encode_fuzzer.cc']
/src/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/io/zero_copy_stream.h [] []
/src/sentencepiece/third_party/protobuf-lite/arenastring.cc [] []
/src/sentencepiece/src/filesystem.cc [] []
/usr/local/bin/../include/c++/v1/stdexcept [] []
/src/sentencepiece/src/freelist.h [] []
/src/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/extension_set.h [] []
/src/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/stubs/casts.h [] []
/src/sentencepiece/src/word_model.cc [] []
/src/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/generated_message_util.h ['/src/inspector/source-code/src/sample_encode_fuzzer.cc', 'sample_encode_fuzzer', '/src/inspector/light/source_files/src/sample_encode_fuzzer.cc'] []
/src/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/stubs/stringpiece.h [] []
/src/sentencepiece/third_party/protobuf-lite/common.cc ['/src/inspector/source-code/src/sample_encode_fuzzer.cc', 'sample_encode_fuzzer', '/src/inspector/light/source_files/src/sample_encode_fuzzer.cc'] ['/src/inspector/source-code/src/sample_encode_fuzzer.cc', 'sample_encode_fuzzer', '/src/inspector/light/source_files/src/sample_encode_fuzzer.cc']
/src/sentencepiece/third_party/protobuf-lite/wire_format_lite.cc [] []
/src/sentencepiece/src/common.h [] []
/src/sentencepiece/src/bpe_model.h [] []
/usr/local/bin/../include/c++/v1/stdlib.h [] []
/src/sentencepiece/src/model_interface.h [] []
/src/sentencepiece/src/init.h [] []
/src/sentencepiece/third_party/absl/flags/flag.h [] []
/src/sentencepiece/third_party/protobuf-lite/stringprintf.cc [] []
/src/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/message_lite.h [] []
/src/sentencepiece/third_party/protobuf-lite/repeated_field.cc [] []
/src/sentencepiece/src/model_factory.cc [] []
/src/inspector/light/source_files/src/sample_encode_fuzzer.cc ['/src/inspector/light/source_files/src/sample_encode_fuzzer.cc'] ['/src/inspector/light/source_files/src/sample_encode_fuzzer.cc']
/src/sentencepiece/third_party/absl/strings/str_format.h [] []
/src/sentencepiece/src/unigram_model.cc [] []
/src/sentencepiece/third_party/absl/strings/str_split.h [] []
/src/sentencepiece/third_party/absl/flags/flag.cc [] []
/src/sentencepiece/third_party/absl/strings/str_cat.h [] []
/src/sentencepiece/src/normalizer.h [] []
/usr/local/bin/../include/c++/v1/string [] []
/usr/local/bin/../include/c++/v1/sstream [] []
/src/sentencepiece/src/builtin_pb/sentencepiece_model.pb.cc [] []
/src/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/stubs/once.h [] []

Directories in report

Directory
/src/sentencepiece/src/
/usr/local/bin/../include/c++/v1/__exception/
/src/sentencepiece/third_party/darts_clone/
/src/
/src/sentencepiece/third_party/absl/strings/
/src/inspector/light/source_files/src/
/src/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/stubs/
/src/sentencepiece/src/builtin_pb/
/src/sentencepiece/third_party/absl/flags/
/src/inspector/source-code/src/
/src/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/io/
/src/sentencepiece/src/../third_party/protobuf-lite/google/protobuf/
/usr/include/x86_64-linux-gnu/bits/
/usr/local/bin/../include/c++/v1/
/src/sentencepiece/third_party/protobuf-lite/