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

Fuzzer details

Fuzzer: BitShuffleFuzzer

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] 1 100.%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 0 0.0%
All colors 1 100

Runtime coverage analysis

Covered functions
69
Functions that are reachable but not covered
26
Reachable functions
42
Percentage of reachable functions covered
38.1%
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
BitShuffleFuzzer 1

Fuzzer: SnappyStreamFuzzer

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 408 72.9%
gold [1:9] 107 19.1%
yellow [10:29] 43 7.69%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 1 0.17%
All colors 559 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
149 261 [org.xerial.snappy.SnappyInputStream].readNext(byte[],int,int) call site: 00261
77 150 [org.xerial.snappy.SnappyOutputStream].close() call site: 00150
35 40 [SnappyStreamFuzzer].fuzzerTestOneInput(com.code_intelligence.jazzer.api.FuzzedDataProvider) call site: 00040
23 510 [org.xerial.snappy.SnappyCodec].hasMagicHeaderPrefix(byte[]) call site: 00510
17 456 [org.xerial.snappy.SnappyCodec]. (byte[],int,int) call site: 00456
17 536 [SnappyStreamFuzzer].fuzzerTestOneInput(com.code_intelligence.jazzer.api.FuzzedDataProvider) call site: 00536
14 416 [org.xerial.snappy.SnappyInputStream].readNext(byte[],int,int) call site: 00416
13 434 [org.xerial.snappy.SnappyInputStream].hasNextChunk() call site: 00434
12 89 [org.xerial.snappy.SnappyOutputStream].dumpOutput() call site: 00089
11 122 [org.xerial.snappy.SnappyOutputStream].compressInput() call site: 00122
10 7 [org.xerial.snappy.SnappyOutputStream]. (java.io.OutputStream,int,org.xerial.snappy.buffer.BufferAllocatorFactory) call site: 00007
6 115 [org.xerial.snappy.SnappyOutputStream].compressInput() call site: 00115

Runtime coverage analysis

Covered functions
69
Functions that are reachable but not covered
117
Reachable functions
132
Percentage of reachable functions covered
11.36%
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
SnappyStreamFuzzer 1
java.io.ByteArrayOutputStream 6
org.xerial.snappy.SnappyOutputStream 15
java.io.OutputStream 5
java.lang.Object 2
java.lang.Math:org.xerial.snappy.buffer.DefaultBufferAllocator:org.xerial.snappy.buffer.DefaultBufferAllocator$1 1
java.lang.IllegalArgumentException 1
java.lang.String 2
java.util.Formatter 3
java.lang.Integer 7
java.lang.Number 1
org.xerial.snappy.Snappy 9
org.xerial.snappy.SnappyNative 7
org.xerial.snappy.buffer.CachedBufferAllocator$1 1
org.xerial.snappy.buffer.CachedBufferAllocator 5
java.util.TreeMap 1
jdk.internal.ref.CleanerImpl$SoftCleanableRef 1
java.lang.UnsupportedOperationException 1
java.lang.ref.SoftReference 2
java.util.ArrayDeque 1
java.security.Provider:java.util.AbstractMap:java.util.HashMap:java.util.Hashtable:java.util.IdentityHashMap:java.util.Properties:java.util.TreeMap:java.util.WeakHashMap:java.util.concurrent.ConcurrentHashMap:java.util.jar.Attributes 1
java.util.concurrent.ConcurrentLinkedDeque 6
java.util.ArrayDeque:java.util.LinkedList:java.util.concurrent.ConcurrentLinkedDeque 2
java.util.Objects 1
java.io.ObjectOutputStream$BlockDataOutputStream 4
org.xerial.snappy.SnappyFramedOutputStream 8
java.io.IOException 1
org.xerial.snappy.SnappyFramed 4
java.util.zip.CRC32 1
org.xerial.snappy.PureJavaCrc32C 1
java.util.zip.CRC32:org.xerial.snappy.PureJavaCrc32C 1
org.xerial.snappy.SnappyError 2
java.lang.Error 2
java.lang.Throwable 8
sun.nio.fs.UnixException 2
java.nio.channels.ClosedChannelException 1
sun.nio.ch.FileChannelImpl 2
java.lang.ProcessBuilder$NullOutputStream 1
org.xerial.snappy.SnappyCodec 6
java.lang.System 1
org.xerial.snappy.SnappyHadoopCompatibleOutputStream 2
java.io.ObjectOutputStream 4
java.io.BufferedOutputStream 3
java.io.OutputStream$1 3
java.io.FileOutputStream 3
java.lang.NullPointerException 2
java.lang.RuntimeException 3
java.lang.Exception 3
java.lang.IndexOutOfBoundsException 1
java.lang.Math 2
java.io.DataOutputStream 5
java.io.PrintStream 4
java.io.FilterOutputStream 4
java.io.BufferedOutputStream:java.io.ByteArrayOutputStream:java.io.DataOutputStream:java.io.FileOutputStream:java.io.FilterOutputStream:java.io.ObjectOutputStream:java.io.ObjectOutputStream$BlockDataOutputStream:java.io.OutputStream$1:java.io.PrintStream 1
java.nio.channels.spi.AbstractInterruptibleChannel 1
org.xerial.snappy.pool.CachingBufferPool 9
java.util.concurrent.ConcurrentHashMap 2
org.xerial.snappy.pool.QuiescentBufferPool 4
java.lang.AssertionError 1
org.xerial.snappy.pool.DirectByteBuffers 1
java.lang.Class 3
org.xerial.snappy.pool.DirectByteBuffers$2 2
java.security.AccessController 1
java.lang.invoke.MethodHandle 1
java.nio.file.FileSystemException 1
org.xerial.snappy.SnappyException 1
java.lang.Enum 1
java.util.regex.PatternSyntaxException 1
java.nio.file.InvalidPathException 1
java.io.InvalidClassException 1
org.xerial.snappy.SnappyIOException 2
java.net.URISyntaxException 1
java.lang.StringBuilder 5
java.security.PrivilegedActionException 1
java.util.logging.Logger 2
org.xerial.snappy.buffer.DefaultBufferAllocator 1
org.xerial.snappy.SnappyInputStream 9
java.io.InputStream 3
java.io.FilterInputStream 2
java.util.jar.Manifest$FastInputStream 2
java.io.FileInputStream 2
java.io.ByteArrayInputStream 3
java.io.ObjectInputStream$PeekInputStream 2
java.lang.ProcessImpl$DeferredCloseInputStream 2
java.lang.ProcessBuilder$NullInputStream 1
java.util.zip.InflaterInputStream 2
java.io.ObjectInputStream 2
java.io.BufferedInputStream 2
java.io.ObjectInputStream$BlockDataInputStream 2
java.io.InputStream$1 2
org.xerial.snappy.SnappyFramedInputStream 9
java.io.EOFException 1
java.lang.StringUTF16 1
org.xerial.snappy.SnappyFramedInputStream$FrameMetaData 1
java.nio.ByteBuffer 2
java.lang.ref.SoftReference:org.xerial.snappy.pool.CachingBufferPool$1 1
org.xerial.snappy.pool.CachingBufferPool$2 1
org.xerial.snappy.SnappyFramedInputStream$FrameData 1
java.io.DataInputStream 4
java.util.zip.ZipInputStream 1
java.util.jar.JarInputStream 1
java.util.Arrays 1
java.io.BufferedInputStream:java.io.ByteArrayInputStream:java.io.DataInputStream:java.io.FileInputStream:java.io.FilterInputStream:java.io.InputStream$1:java.io.ObjectInputStream:java.io.ObjectInputStream$BlockDataInputStream:java.io.ObjectInputStream$PeekInputStream:java.lang.ProcessImpl$DeferredCloseInputStream:java.util.jar.JarInputStream:java.util.jar.Manifest$FastInputStream:java.util.zip.InflaterInputStream:java.util.zip.ZipInputStream 1
java.lang.IllegalStateException 1

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
java.lang.System ['SnappyStreamFuzzer'] []
org.xerial.snappy.BitShuffleType [] []
org.xerial.snappy.buffer.DefaultBufferAllocator ['SnappyStreamFuzzer'] []
java.io.BufferedReader [] []
org.xerial.snappy.buffer.DefaultBufferAllocator$1 [] []
org.xerial.snappy.pool.DirectByteBuffers ['SnappyStreamFuzzer'] []
org.xerial.snappy.SnappyFramedOutputStream ['SnappyStreamFuzzer'] []
org.xerial.snappy.SnappyNative ['SnappyStreamFuzzer'] []
BitShuffleFuzzer ['BitShuffleFuzzer'] []
org.xerial.snappy.SnappyHadoopCompatibleOutputStream ['SnappyStreamFuzzer'] []
org.xerial.snappy.SnappyErrorCode [] []
java.nio.file.Paths [] []
org.xerial.snappy.SnappyIOException ['SnappyStreamFuzzer'] []
java.nio.file.Files [] []
org.xerial.snappy.SnappyBundleActivator [] []
org.xerial.snappy.PureJavaCrc32C ['SnappyStreamFuzzer'] []
java.util.concurrent.Callable [] []
org.xerial.snappy.SnappyFramed ['SnappyStreamFuzzer'] []
java.io.BufferedWriter [] []
org.xerial.snappy.buffer.CachedBufferAllocator$1 ['SnappyStreamFuzzer'] []
org.xerial.snappy.pool.QuiescentBufferPool ['SnappyStreamFuzzer'] []
org.xerial.snappy.SnappyInputStream ['SnappyStreamFuzzer'] []
org.xerial.snappy.BitShuffleNative [] []
SnappyStreamFuzzer ['SnappyStreamFuzzer'] []
java.io.InputStream ['SnappyStreamFuzzer'] []
org.xerial.snappy.pool.DirectByteBuffers$2 ['SnappyStreamFuzzer'] []
org.xerial.snappy.SnappyFramedInputStream ['SnappyStreamFuzzer'] []
java.io.File [] []
org.xerial.snappy.SnappyFramed$init__1 [] []
java.lang.ProcessBuilder [] []
org.xerial.snappy.SnappyLoader [] []
org.xerial.snappy.BitShuffle [] []
java.util.concurrent.Executor [] []
org.xerial.snappy.SnappyCodec ['SnappyStreamFuzzer'] []
org.xerial.snappy.SnappyOutputStream ['SnappyStreamFuzzer'] []
org.xerial.snappy.pool.DirectByteBuffers$1 [] []
org.xerial.snappy.SnappyError ['SnappyStreamFuzzer'] []
java.lang.Runtime [] []
org.xerial.snappy.buffer.CachedBufferAllocator ['SnappyStreamFuzzer'] []
org.xerial.snappy.pool.DefaultPoolFactory [] []
java.io.OutputStream ['SnappyStreamFuzzer'] []
org.xerial.snappy.SnappyFramedInputStream$FrameAction [] []
org.xerial.snappy.pool.CachingBufferPool$2 ['SnappyStreamFuzzer'] []
org.xerial.snappy.pool.CachingBufferPool$1 [] []
org.xerial.snappy.pool.CachingBufferPool ['SnappyStreamFuzzer'] []
java.io.PrintWriter [] []
org.xerial.snappy.Snappy ['SnappyStreamFuzzer'] []
org.xerial.snappy.OSInfo [] []
org.xerial.snappy.SnappyException ['SnappyStreamFuzzer'] []

Directories in report

Directory