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

Fuzzer details

Fuzzer: JSONParserFuzzer

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 3853 93.9%
gold [1:9] 122 2.97%
yellow [10:29] 126 3.07%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 1 0.02%
All colors 4102 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
3796 33 [org.apache.felix.utils.json.JSONParser].parseObject(java.lang.String) call site: 00033
23 4028 [org.apache.felix.utils.json.JSONParser].readStream(java.io.InputStream) call site: 04028
9 20 [org.apache.felix.utils.json.JSONParser].parseObject(java.lang.String) call site: 00020
5 3 [org.apache.felix.utils.json.JSONParser]. (java.lang.CharSequence) call site: 00003
5 3949 [org.apache.felix.utils.json.JSONParser].parseValue(java.lang.String) call site: 03949
5 4094 [org.apache.felix.utils.json.JSONParser].readStreamAsString(java.io.InputStream) call site: 04094
3 10 [org.apache.felix.utils.json.JSONParser]. (java.lang.CharSequence) call site: 00010
3 15 [org.apache.felix.utils.json.JSONParser]. (java.lang.CharSequence) call site: 00015
3 4017 [JSONParserFuzzer].fuzzerTestOneInput(com.code_intelligence.jazzer.api.FuzzedDataProvider) call site: 04017
1 30 [org.apache.felix.utils.json.JSONParser].parseObject(java.lang.String) call site: 00030

Runtime coverage analysis

Covered functions
17
Functions that are reachable but not covered
5
Reachable functions
10
Percentage of reachable functions covered
50.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.
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
JSONParserFuzzer 1
org.apache.felix.utils.json.JSONParser 12
java.lang.Object 5
java.lang.StringBuffer 5
java.lang.AbstractStringBuilder 4
java.lang.StringLatin1 20
java.lang.StringUTF16 26
java.lang.String 54
java.lang.String:java.lang.StringBuilder:java.nio.CharBuffer 1
java.util.ArrayList 13
org.apache.felix.utils.properties.TypedProperties$DynamicMap$1$1 3
java.nio.file.FileTreeIterator 2
org.apache.felix.utils.properties.Properties$2$1 3
org.apache.felix.utils.collections.DictionaryAsMap$1$1 3
jdk.internal.loader.BuiltinClassLoader$1 3
org.apache.felix.utils.properties.TypedProperties$1$1 3
org.apache.felix.utils.collections.StringArrayMap$2$1 3
org.apache.felix.utils.collections.StringArrayMap$1$1 3
java.nio.file.Files$2 2
java.io.BufferedReader$1 2
org.apache.felix.utils.collections.StringArrayMap$3$1 3
jdk.internal.loader.URLClassPath$2 3
jdk.internal.loader.URLClassPath 6
java.util.ArrayDeque 5
sun.net.util.URLUtil 1
java.util.HashMap 7
jdk.internal.loader.URLClassPath$3 2
java.security.AccessController 1
java.net.URL 11
jdk.internal.loader.URLClassPath$FileLoader 3
jdk.internal.loader.URLClassPath$Loader 5
sun.net.www.ParseUtil 2
java.io.File 10
java.lang.NullPointerException 5
java.lang.RuntimeException 3
java.lang.Exception 3
java.lang.Throwable 17
sun.nio.fs.UnixException 2
java.io.IOException 1
java.lang.StringIndexOutOfBoundsException 1
java.lang.StringBuilder 16
jdk.internal.loader.URLClassPath$JarLoader 17
jdk.internal.loader.URLClassPath$JarLoader$1 2
java.io.PrintStream 1
java.lang.Thread 11
java.lang.Throwable$WrappedPrintStream 3
java.util.IdentityHashMap 8
java.util.Collections 2
java.util.HashSet 7
java.util.AbstractCollection 5
java.util.concurrent.ConcurrentHashMap$KeySetView 4
java.util.concurrent.ConcurrentHashMap$EntrySetView 4
java.lang.Throwable$WrappedPrintWriter 2
java.lang.StackTraceElement 4
java.util.Vector 10
java.util.concurrent.CopyOnWriteArrayList 9
java.util.LinkedList 7
java.lang.AssertionError 5
java.lang.Error 2
java.util.TreeMap$KeySet 3
java.util.TreeMap$EntrySet 2
java.lang.reflect.InvocationTargetException 1
java.io.UncheckedIOException 1
javax.xml.stream.FactoryConfigurationError 2
jdk.internal.loader.FileURLMapper 3
java.lang.System 7
java.lang.SecurityManager 5
java.io.FileNotFoundException 1
java.util.zip.ZipFile 1
java.lang.IllegalArgumentException 2
java.util.Objects 5
java.util.AbstractList 3
java.util.jar.JarFile 7
jdk.internal.util.jar.JarIndex 9
java.io.BufferedReader 9
java.io.Reader 2
java.io.InputStreamReader 3
sun.nio.cs.StreamDecoder 2
java.io.StringReader 3
java.io.FilterReader 2
java.lang.IndexOutOfBoundsException 1
java.io.PushbackReader 5
java.io.LineNumberReader 2
java.lang.Math 6
java.util.LinkedHashMap 2
java.security.PrivilegedActionException 2
jdk.internal.access.SharedSecrets 2
java.lang.invoke.MethodHandles$Lookup 2
java.lang.invoke.MethodHandles 1
java.util.jar.Manifest 3
java.util.jar.Attributes 8
java.util.StringTokenizer 6
java.net.URI 5
java.util.Arrays 8
java.net.SocketPermission 2
java.security.BasicPermission 2
java.io.FilePermission 2
java.security.AllPermission 2
java.util.PropertyPermission 2
javax.crypto.CryptoPermission 3
java.security.Permission 2
jdk.internal.loader.URLClassPath$FileLoader$1 2
jdk.internal.loader.Resource 1
java.lang.InternalError 2
java.lang.VirtualMachineError 2
java.util.jar.JarEntry 1
jdk.internal.loader.URLClassPath$JarLoader$2 2
jdk.internal.loader.URLClassPath$JarLoader$3 2
org.apache.felix.utils.properties.TypedProperties$1 2
org.apache.felix.utils.properties.TypedProperties 10
org.apache.felix.utils.collections.StringArrayMap$3 2
org.apache.felix.utils.collections.StringArrayMap$1 2
org.apache.felix.utils.properties.TypedProperties$DynamicMap$1 2
org.apache.felix.utils.properties.TypedProperties$DynamicMap 8
org.apache.felix.utils.properties.Properties$2 2
org.apache.felix.utils.properties.Properties 13
java.util.Properties 9
java.util.Hashtable 9
java.util.concurrent.ConcurrentHashMap 7
java.util.WeakHashMap 5
java.util.TreeMap 6
org.apache.felix.utils.collections.DictionaryAsMap 3
org.apache.felix.utils.collections.DictionaryAsMap$1 2
java.util.AbstractSet 2
java.security.Provider 6
org.apache.felix.utils.collections.StringArrayMap 10
java.util.stream.Collectors$Partition 1
org.apache.felix.utils.filter.FilterImpl$CaseInsensitiveDictionary 3
java.lang.UnsupportedOperationException 1
org.apache.felix.utils.filter.FilterImpl$ServiceReferenceDictionary 3
org.apache.felix.utils.collections.MapToDictionary 3
org.apache.felix.utils.collections.IteratorToEnumeration 3
java.security.Provider:java.util.AbstractMap:java.util.HashMap:java.util.Hashtable:java.util.IdentityHashMap:java.util.LinkedHashMap:java.util.Properties:java.util.TreeMap:java.util.WeakHashMap:java.util.concurrent.ConcurrentHashMap:java.util.jar.Attributes 2
java.security.Provider:java.util.Hashtable:java.util.Properties 2
java.util.AbstractMap 8
java.util.NoSuchElementException 1
org.apache.felix.utils.collections.StringArrayMap$3$1$1 3
org.apache.felix.utils.properties.TypedProperties$DynamicMap$1$1$1 3
org.apache.felix.utils.properties.TypedProperties$1$1$1 3
org.apache.felix.utils.properties.Properties$2$1$1 3
java.util.TreeMap$Entry 4
org.apache.felix.utils.collections.DictionaryAsMap$KeyEntry 3
java.util.WeakHashMap$Entry 4
java.util.concurrent.ConcurrentHashMap$Node 4
java.util.HashMap$Node 4
java.util.Hashtable$Entry 5
java.security.Provider:java.util.Hashtable:java.util.Properties:org.apache.felix.utils.collections.DictionaryAsMap:org.apache.felix.utils.filter.FilterImpl$ServiceReferenceDictionary 1
org.apache.felix.utils.properties.ConfigurationHandler 21
java.lang.Character 8
java.lang.CharacterData 1
java.lang.Integer 19
java.lang.Number 1
java.lang.NumberFormatException 2
java.lang.Long 13
java.lang.Float 12
jdk.internal.math.FloatingDecimal 12
jdk.internal.math.FloatingDecimal$ASCIIToBinaryBuffer 3
jdk.internal.math.FDBigInteger 33
sun.nio.fs.UnixFileStore 2
java.lang.invoke.MemberName 3
java.net.NetworkInterface 2
java.nio.ByteBuffer 2
java.lang.ThreadLocal 1
jdk.internal.math.FloatingDecimal$BinaryToASCIIBuffer 8
java.lang.Double 13
jdk.internal.math.FloatingDecimal$ExceptionalBinaryToASCIIBuffer 1
java.lang.reflect.Constructor 2
java.lang.module.ModuleDescriptor$Opens 2
javax.security.auth.Subject 2
java.io.ObjectStreamField 1
java.util.concurrent.ThreadPoolExecutor 1
java.time.OffsetDateTime 2
javax.xml.namespace.QName 2
java.util.Date 3
jdk.internal.org.objectweb.asm.Label 1
java.lang.ProcessHandleImpl 2
java.lang.Class 7
java.lang.module.ModuleDescriptor$Provides 2
java.util.Calendar 3
java.lang.Runtime$Version 2
java.lang.Short 8
java.math.BigDecimal 2
java.time.Instant 2
java.util.OptionalDouble 2
java.util.BitSet 3
java.security.cert.CertPath 2
sun.util.calendar.Era 2
java.text.DecimalFormatSymbols 2
java.util.Optional 2
jdk.internal.jimage.ImageReader$Node 3
java.util.OptionalLong 2
java.lang.reflect.Parameter 2
jdk.internal.module.IllegalAccessLogger$Usage 1
java.net.InetAddress 2
java.lang.invoke.LambdaForm$NamedFunction 2
java.security.CodeSigner 2
java.util.OptionalInt 2
java.time.temporal.ValueRange 2
java.lang.invoke.LambdaFormEditor$TransformKey 2
java.net.Inet6Address 1
java.nio.LongBuffer 2
java.util.Locale 3
java.util.zip.ZipEntry 4
java.math.MathContext 2
org.apache.felix.utils.filter.FilterImpl 5
sun.nio.fs.UnixPath 3
java.time.ZonedDateTime 2
java.lang.module.ResolvedModule 2
jdk.internal.org.objectweb.asm.Type 3
java.lang.invoke.ClassSpecializer$SpeciesData 2
java.lang.invoke.MethodType 2
java.util.ResourceBundle$CacheKey 2
java.security.AccessControlContext 1
java.text.NumberFormat 2
jdk.internal.loader.AbstractClassLoaderValue$Sub 2
java.lang.module.ModuleDescriptor 3
java.net.HttpCookie 3
java.lang.invoke.LambdaFormEditor$Transform 2
java.lang.Byte 7
java.net.Inet6Address$Inet6AddressHolder 1
java.net.Inet4Address 1
java.security.cert.Certificate 1
java.security.Provider$ServiceKey 1
java.lang.Boolean 6
java.text.DateFormat 2
jdk.internal.module.ModuleReferenceImpl 3
java.lang.module.ModuleReference 1
java.time.Clock 1
java.nio.ShortBuffer 2
java.text.AttributedCharacterIterator$Attribute 2
java.lang.ProcessBuilder$Redirect 1
java.lang.Thread$WeakClassKey 1
jdk.internal.org.objectweb.asm.ConstantDynamic 2
jdk.internal.org.objectweb.asm.Handle 2
org.apache.felix.utils.version.VersionRange 4
java.nio.DoubleBuffer 2
java.security.CodeSource 2
java.nio.CharBuffer 2
java.time.Period 2
java.text.FieldPosition 2
java.time.zone.ZoneOffsetTransition 2
sun.util.locale.LocaleExtensions 2
java.net.InterfaceAddress 2
java.util.jar.Attributes$Name 2
java.lang.reflect.Field 2
java.nio.file.attribute.FileTime 2
java.lang.module.ModuleDescriptor$Version 2
java.util.zip.ZipFile$Source$Key 1
java.text.ParsePosition 2
sun.nio.ch.FileKey 1
java.text.DateFormatSymbols 2
java.time.zone.ZoneOffsetTransitionRule 2
java.lang.module.ModuleDescriptor$Requires 2
java.time.format.DecimalStyle 2
java.lang.module.ModuleDescriptor$Exports 2
java.lang.constant.DynamicConstantDesc 2
java.nio.FloatBuffer 2
java.math.BigInteger 4
jdk.internal.misc.Signal 2
java.time.ZoneId 2
java.lang.invoke.LambdaForm$Name 2
java.time.zone.ZoneRules 2
org.apache.felix.utils.resource.ResourceImpl 2
java.time.ZoneOffset 2
jdk.internal.module.ServicesCatalog$ServiceProvider 1
java.lang.Character$Subset 2
java.time.LocalDateTime 2
java.lang.invoke.LambdaForm 2
java.time.LocalTime 2
java.net.Proxy 2
java.lang.Enum 3
java.text.MessageFormat 2
java.lang.reflect.Method 2
java.io.ObjectStreamClass$DeserializationConstructorsCache$Key 1
java.time.chrono.AbstractChronology 2
java.nio.IntBuffer 2
java.time.Duration 2
java.time.LocalDate 2
java.security.Timestamp 2
java.time.OffsetTime 2
sun.util.locale.BaseLocale 2
java.lang.Package 2
jdk.internal.module.ModuleHashes 2
org.apache.felix.utils.properties.TypedProperties$DynamicMap$2 2
org.apache.felix.utils.properties.InterpolationHelper 3
org.apache.felix.utils.properties.Properties$PropertiesReader 2
org.apache.felix.utils.properties.Properties$Layout 3
java.io.StringWriter 6
java.lang.reflect.Array 4
sun.nio.cs.StreamEncoder 3
java.io.PrintWriter 5
java.io.BufferedWriter 6
java.io.FilterWriter 3
java.io.OutputStreamWriter 3
java.io.FilterWriter:java.io.OutputStreamWriter:java.io.StringWriter:sun.nio.cs.StreamEncoder 1
java.io.Writer 3
java.util.concurrent.ConcurrentHashMap$CollectionView 2
java.util.concurrent.ConcurrentHashMap$ValuesView 1
java.util.AbstractSequentialList 2
org.apache.felix.utils.collections.StringArrayMap$2 1
java.util.concurrent.LinkedBlockingQueue 2
java.util.regex.PatternSyntaxException 1
java.nio.file.FileSystemException 1
java.nio.file.InvalidPathException 1
java.io.InvalidClassException 1
java.net.URISyntaxException 1
java.util.regex.Pattern 5
org.apache.felix.utils.properties.InterpolationHelper$BundleContextSubstitutionCallback 1
java.lang.RuntimePermission 1
java.lang.ProcessEnvironment 1
org.apache.felix.utils.properties.TypedProperties$3 1
org.apache.felix.utils.properties.TypedProperties$2 1
java.util.regex.Matcher 5
java.nio.charset.Charset 2
sun.util.calendar.CalendarDate 3
java.util.Currency 1
java.lang.Enum$EnumDesc 1
java.util.IntSummaryStatistics 1
java.time.format.DateTimeFormatter 1
sun.security.util.LazyCodeSourcePermissionCollection 1
java.net.Socket 1
java.lang.StackFrameInfo 1
jdk.internal.module.ModuleResolution 1
java.net.SocketImpl 1
sun.util.locale.Extension 1
org.apache.felix.utils.resource.SimpleFilter 5
java.lang.ProcessBuilder$Redirect$6 1
java.lang.invoke.MethodHandleImpl$LoopClauses 1
sun.reflect.annotation.TypeAnnotation$TypeAnnotationTargetInfo 1
java.security.SecureRandomSpi 1
java.lang.ModuleLayer 1
java.net.ServerSocket 1
java.util.concurrent.locks.ReentrantReadWriteLock 1
javax.crypto.Cipher 1
java.security.ProtectionDomain 1
java.security.AlgorithmParameters 1
java.lang.ThreadGroup 2
java.util.LongSummaryStatistics 1
java.lang.ProcessBuilder$Redirect$4 1
java.util.concurrent.ForkJoinPool 1
java.time.format.DateTimeFormatterBuilder$CompositePrinterParser 1
java.nio.charset.CoderResult 1
jdk.internal.jmod.JmodFile$Entry 1
jdk.internal.jmod.JmodFile$Section 1
sun.reflect.annotation.TypeAnnotation 1
java.security.MessageDigest 2
java.nio.channels.FileLock 1
java.lang.module.Configuration 1
java.lang.ProcessBuilder$Redirect$5 1
java.util.Formatter 1
java.io.ObjectOutputStream$DebugTraceInfoStack 1
java.time.format.DateTimeParseContext 1
java.security.Signature 2
java.util.concurrent.atomic.AtomicInteger 1
jdk.internal.org.objectweb.asm.TypePath 4
java.util.concurrent.CompletableFuture 1
java.lang.invoke.MethodHandle 1
java.io.ObjectStreamClass 1
jdk.internal.misc.Signal$NativeHandler 1
java.nio.channels.FileChannel$MapMode 1
java.util.concurrent.locks.AbstractQueuedSynchronizer 1
java.util.concurrent.FutureTask 1
org.apache.felix.utils.resource.AbstractCapabilityRequirement 5
org.apache.felix.utils.resource.RequirementImpl 5
org.apache.felix.utils.resource.CapabilityImpl 5
org.apache.felix.utils.resource.ResourceUtils 2
java.lang.AbstractStringBuilder:java.lang.StringBuilder 1
java.lang.OutOfMemoryError 1
org.apache.felix.utils.manifest.Clause 1
org.apache.felix.utils.manifest.Directive 2
org.apache.felix.utils.manifest.Attribute 2
jdk.internal.perf.PerfCounter 2
java.util.Collection 1
jdk.internal.module.ModuleHashes$lambda_toString_1__1 2
java.util.Map$Entry 1
java.io.ByteArrayOutputStream:java.io.ObjectOutputStream$DebugTraceInfoStack:java.io.ObjectStreamClass:java.io.ObjectStreamField:java.io.StringWriter:java.lang.Boolean:java.lang.Character$Subset:java.lang.Enum:java.lang.Enum$EnumDesc:java.lang.Module:java.lang.ModuleLayer:java.lang.Package:java.lang.ProcessBuilder$Redirect$1:java.lang.ProcessBuilder$Redirect$2:java.lang.ProcessBuilder$Redirect$3:java.lang.ProcessBuilder$Redirect$4:java.lang.ProcessBuilder$Redirect$5:java.lang.ProcessBuilder$Redirect$6:java.lang.ProcessBuilder$RedirectPipeImpl:java.lang.ProcessHandleImpl:java.lang.ProcessImpl:java.lang.Runtime$Version:java.lang.StackFrameInfo:java.lang.StackTraceElement:java.lang.String:java.lang.StringBuilder:java.lang.ThreadGroup:java.lang.constant.DynamicConstantDesc:java.lang.invoke.ClassSpecializer$SpeciesData:java.lang.invoke.Invokers:java.lang.invoke.LambdaForm:java.lang.invoke.LambdaForm$Name:java.lang.invoke.LambdaForm$NamedFunction:java.lang.invoke.LambdaFormEditor$Transform:java.lang.invoke.LambdaFormEditor$TransformKey:java.lang.invoke.MemberName:java.lang.invoke.MethodHandle:java.lang.invoke.MethodHandleImpl$LoopClauses:java.lang.invoke.MethodHandles$Lookup:java.lang.invoke.MethodType:java.lang.invoke.MethodTypeForm:java.lang.invoke.SerializedLambda:java.lang.invoke.VarHandle:java.lang.module.Configuration:java.lang.module.ModuleDescriptor:java.lang.module.ModuleDescriptor$Exports:java.lang.module.ModuleDescriptor$Opens:java.lang.module.ModuleDescriptor$Provides:java.lang.module.ModuleDescriptor$Requires:java.lang.module.ModuleDescriptor$Version:java.lang.module.ResolvedModule:java.lang.reflect.Constructor:java.lang.reflect.Field:java.lang.reflect.Method:java.lang.reflect.Parameter:java.lang.reflect.RecordComponent:java.math.BigDecimal:java.math.BigInteger:java.math.MathContext:java.math.MutableBigInteger:java.net.HttpCookie:java.net.InetAddress:java.net.InterfaceAddress:java.net.NetworkInterface:java.net.Proxy:java.net.ServerSocket:java.net.Socket:java.net.SocketImpl:java.net.URI:java.net.URL:java.net.URLConnection:java.nio.ByteBuffer:java.nio.ByteOrder:java.nio.CharBuffer:java.nio.DoubleBuffer:java.nio.FloatBuffer:java.nio.IntBuffer:java.nio.LongBuffer:java.nio.ShortBuffer:java.nio.channels.FileChannel$MapMode:java.nio.channels.FileLock:java.nio.charset.Charset:java.nio.charset.CoderResult:java.nio.charset.CodingErrorAction:java.nio.file.attribute.FileTime:java.security.AlgorithmParameters:java.security.CodeSigner:java.security.CodeSource:java.security.MessageDigest:java.security.Permission:java.security.PermissionCollection:java.security.PrivilegedActionException:java.security.ProtectionDomain:java.security.Provider:java.security.Provider$Service:java.security.SecureRandom:java.security.SecureRandomSpi:java.security.Signature:java.security.Timestamp:java.security.cert.CertPath:java.text.AttributedCharacterIterator$Attribute:java.text.FieldPosition:java.text.ParsePosition:java.time.Duration:java.time.Instant:java.time.LocalDate:java.time.LocalDateTime:java.time.LocalTime:java.time.OffsetDateTime:java.time.OffsetTime:java.time.Period:java.time.ZoneId:java.time.ZoneOffset:java.time.ZonedDateTime:java.time.chrono.AbstractChronology:java.time.format.DateTimeFormatter:java.time.format.DateTimeFormatterBuilder$CompositePrinterParser:java.time.format.DateTimeFormatterBuilder$NumberPrinterParser:java.time.format.DateTimeParseContext:java.time.format.DateTimePrintContext:java.time.format.DecimalStyle:java.time.format.Parsed:java.time.temporal.ChronoField:java.time.temporal.ChronoUnit:java.time.temporal.ValueRange:java.time.zone.ZoneOffsetTransition:java.time.zone.ZoneOffsetTransitionRule:java.time.zone.ZoneRules:java.util.AbstractCollection:java.util.AbstractMap:java.util.BitSet:java.util.Calendar:java.util.Currency:java.util.Date:java.util.DoubleSummaryStatistics:java.util.Formatter:java.util.HashMap$Node:java.util.Hashtable:java.util.Hashtable$Entry:java.util.IntSummaryStatistics:java.util.Locale:java.util.LongSummaryStatistics:java.util.Optional:java.util.OptionalDouble:java.util.OptionalInt:java.util.OptionalLong:java.util.Properties:java.util.ResourceBundle$CacheKey:java.util.ServiceLoader:java.util.StringJoiner:java.util.TreeMap$Entry:java.util.Vector:java.util.WeakHashMap$Entry:java.util.concurrent.CompletableFuture:java.util.concurrent.ConcurrentHashMap:java.util.concurrent.ConcurrentHashMap$CollectionView:java.util.concurrent.ConcurrentHashMap$Node:java.util.concurrent.CopyOnWriteArrayList:java.util.concurrent.ForkJoinPool:java.util.concurrent.FutureTask:java.util.concurrent.LinkedBlockingQueue:java.util.concurrent.ThreadPoolExecutor:java.util.concurrent.atomic.AtomicBoolean:java.util.concurrent.atomic.AtomicInteger:java.util.concurrent.atomic.AtomicLong:java.util.concurrent.locks.AbstractQueuedSynchronizer:java.util.concurrent.locks.ReentrantLock:java.util.concurrent.locks.ReentrantReadWriteLock:java.util.concurrent.locks.ReentrantReadWriteLock$ReadLock:java.util.concurrent.locks.ReentrantReadWriteLock$WriteLock:java.util.jar.Attributes$Name:java.util.regex.Matcher:java.util.regex.Pattern:java.util.zip.ZipEntry:javax.crypto.Cipher:javax.crypto.CryptoPermission:javax.security.auth.Subject:javax.xml.namespace.QName:sun.net.www.MessageHeader:sun.nio.fs.UnixFileStore:sun.nio.fs.UnixPath:sun.reflect.annotation.AnnotationType:sun.reflect.annotation.TypeAnnotation:sun.reflect.annotation.TypeAnnotation$TypeAnnotationTargetInfo:sun.security.util.LazyCodeSourcePermissionCollection:sun.util.calendar.CalendarDate:sun.util.calendar.Era:sun.util.locale.BaseLocale:sun.util.locale.Extension:sun.util.locale.LocaleExtensions 1
java.io.BufferedReader$1:java.nio.file.FileTreeIterator:java.nio.file.Files$2:java.security.Provider:java.util.AbstractMap:java.util.HashMap:java.util.HashSet:java.util.Hashtable:java.util.IdentityHashMap:java.util.LinkedHashMap:java.util.Properties:java.util.TreeMap:java.util.TreeMap$EntrySet:java.util.TreeMap$KeySet:java.util.WeakHashMap:java.util.concurrent.ConcurrentHashMap:java.util.concurrent.ConcurrentHashMap$EntrySetView:java.util.concurrent.ConcurrentHashMap$KeySetView:java.util.jar.Attributes:org.apache.felix.utils.collections.StringArrayMap$1$1:org.apache.felix.utils.collections.StringArrayMap$2$1:org.apache.felix.utils.collections.StringArrayMap$3$1 1
java.lang.ProcessBuilder$RedirectPipeImpl 1
java.lang.invoke.VarHandle 1
java.security.Provider$Service 1
java.nio.charset.CodingErrorAction 1
sun.net.www.MessageHeader 1
java.util.concurrent.locks.ReentrantReadWriteLock$WriteLock 1
java.util.concurrent.atomic.AtomicLong 1
java.lang.reflect.RecordComponent 1
java.lang.ProcessImpl 1
java.security.SecureRandom 1
java.lang.Module 1
java.lang.invoke.Invokers 1
java.time.temporal.ChronoField 1
java.time.format.Parsed 1
java.lang.ProcessBuilder$Redirect$1 1
java.net.URLConnection 1
java.util.ServiceLoader 1
java.time.format.DateTimeFormatterBuilder$NumberPrinterParser 1
java.io.ByteArrayOutputStream 4
java.util.StringJoiner 1
java.nio.ByteOrder 1
sun.reflect.annotation.AnnotationType 1
java.util.concurrent.locks.ReentrantReadWriteLock$ReadLock 1
java.time.temporal.ChronoUnit 1
java.lang.invoke.MethodTypeForm 1
java.util.DoubleSummaryStatistics 1
java.lang.ProcessBuilder$Redirect$3 1
java.lang.invoke.SerializedLambda 1
java.security.PermissionCollection 1
java.util.concurrent.atomic.AtomicBoolean 1
java.time.format.DateTimePrintContext 1
java.math.MutableBigInteger 1
java.lang.ProcessBuilder$Redirect$2 1
java.util.concurrent.locks.ReentrantLock 1
java.lang.IllegalStateException 1
java.security.SignatureSpi 1
java.lang.ref.Reference 1
java.lang.CloneNotSupportedException 1
java.text.Collator 1
java.text.BreakIterator 1
java.util.EnumSet 1
java.text.Format 1
java.security.MessageDigestSpi 1
java.util.TimeZone 1
jdk.internal.math.FloatingDecimal$PreparedASCIIToBinaryBuffer 3
java.lang.StringConcatHelper 1
jdk.internal.loader.Loader$3 2
java.io.BufferedReader$1:java.nio.file.FileTreeIterator:java.nio.file.Files$2:org.apache.felix.utils.collections.StringArrayMap$1$1:org.apache.felix.utils.collections.StringArrayMap$2$1:org.apache.felix.utils.collections.StringArrayMap$3$1 1
jdk.internal.loader.URLClassPath$1 3
jdk.internal.module.ModulePatcher$JarResourceFinder$1 1
jdk.internal.module.ModulePatcher$ExplodedResourceFinder$1 1
jdk.internal.module.ModulePatcher$PatchedModuleReader$1 2
jdk.internal.loader.URLClassPath$Loader$1 2
java.io.FilterInputStream 3
java.io.ObjectInputStream 3
java.util.zip.GZIPInputStream 2
java.io.ObjectInputStream$BlockDataInputStream 3
java.util.zip.InflaterInputStream 3
java.io.InputStream 2
java.io.ByteArrayInputStream 4
java.io.ObjectInputStream$PeekInputStream 3
java.io.InputStream$1 3
java.util.jar.Manifest$FastInputStream 3
java.io.BufferedInputStream 3
java.util.zip.ZipInputStream 2
java.io.FileInputStream 3
java.io.BufferedReader$1:java.nio.file.FileTreeIterator:java.nio.file.Files$2 1
jdk.internal.util.jar.InvalidJarIndexError 1
jdk.internal.loader.BuiltinClassLoader 1
java.util.Stack 5
org.apache.felix.utils.json.JSONParser$Scope 1
java.io.BufferedReader$1:java.nio.file.FileTreeIterator:java.nio.file.Files$2:java.util.AbstractList:java.util.AbstractSequentialList:java.util.ArrayList:java.util.Vector:java.util.concurrent.CopyOnWriteArrayList 1
org.apache.felix.utils.json.JSONParser$Pair 1
java.lang.StringCoding 2
java.util.jar.JarInputStream 1
java.lang.ProcessBuilder$NullInputStream 1
java.io.DataInputStream 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
[org.apache.felix.utils.properties.TypedProperties].load(java.io.File) org.apache.felix.utils.properties.TypedProperties 1 ['java.io.File'] 24 0 11 3 1 338 0 290 290
[org.apache.felix.utils.resource.ResourceBuilder].doBuild(org.apache.felix.utils.resource.ResourceImpl,java.lang.String,java.util.Map ,boolean) org.apache.felix.utils.resource.ResourceBuilder 4 ['org.apache.felix.utils.resource.ResourceImpl', 'java.lang.String', 'java.util.Map ', 'boolean'] 5 0 184 42 19 107 0 164 164
[org.apache.felix.utils.resource.ResourceUtils].toString(org.osgi.resource.Resource,java.lang.String,java.util.Map ,java.util.Map ) org.apache.felix.utils.resource.ResourceUtils 4 ['org.osgi.resource.Resource', 'java.lang.String', 'java.util.Map ', 'java.util.Map '] 11 0 33 9 4 243 0 174 96
[org.apache.felix.utils.filter.FilterImpl].match0(java.util.Dictionary) org.apache.felix.utils.filter.FilterImpl 1 ['java.util.Dictionary'] 4 0 56 29 7 80 4 83 79
[org.apache.felix.utils.repository.XmlRepository].populate(org.apache.felix.utils.repository.StaxParser$XmlRepository,int) org.apache.felix.utils.repository.XmlRepository 2 ['org.apache.felix.utils.repository.StaxParser$XmlRepository', 'int'] 11 0 29 8 4 106 4 123 77
[org.apache.felix.utils.json.JSONWriter].value(java.lang.Object) org.apache.felix.utils.json.JSONWriter 1 ['java.lang.Object'] 4 0 96 35 17 29 2 59 59
[org.apache.felix.utils.properties.Properties].save(java.io.File) org.apache.felix.utils.properties.Properties 1 ['java.io.File'] 7 0 11 3 1 39 2 45 42
[org.apache.felix.utils.json.JSONParser].parseObject(java.lang.String) org.apache.felix.utils.json.JSONParser 1 ['java.lang.String'] 12 0 62 17 4 102 4 60 41
[org.apache.felix.utils.repository.XmlRepository$XmlLoader].doRead(java.io.InputStream) org.apache.felix.utils.repository.XmlRepository$XmlLoader 1 ['java.io.InputStream'] 7 0 17 5 1 86 0 103 41

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

Functions statically reachable by fuzzers
49.0%
130 / 266
Cyclomatic complexity statically reachable by fuzzers
82.0%
369 / 449

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

Runtime coverage analysis

This section shows analysis of runtime coverage data.

For futher technical details on how this section is generated, please see the Glossary .

Complex functions with low coverage

Func name Function total lines Lines covered at runtime percentage covered Reached by fuzzers
[org.apache.felix.utils.properties.PropertiesTest].testSpaces() 33 0 0.0%
[org.apache.felix.utils.properties.PropertiesTest].testMultiValueEscaping() 39 0 0.0%
[org.apache.felix.utils.properties.InterpolationHelper].doSubstVars(java.lang.String,java.lang.String,java.util.Map,java.util.Map,org.apache.felix.utils.properties.InterpolationHelper$SubstitutionCallback,boolean,boolean,boolean) 56 0 0.0% []
[org.apache.felix.utils.properties.Properties].unescapeJava(java.lang.String) 50 0 0.0% []
[org.apache.felix.utils.properties.Properties].escapeJava(java.lang.String) 42 0 0.0% []
[org.apache.felix.utils.properties.Properties$PropertiesReader].parseProperty(java.lang.String) 37 0 0.0% []
[org.apache.felix.utils.properties.ConfigurationHandler]. () 61 0 0.0%
[org.apache.felix.utils.version.VersionCleaner].clean(java.lang.String) 35 0 0.0% []
[org.apache.felix.utils.version.VersionCleanerTest].testConvertVersionToOsgi() 31 0 0.0%
[org.apache.felix.utils.version.VersionRangeTest].testVersionRange() 75 0 0.0%
[org.apache.felix.utils.repository.StaxParser].writeClause(javax.xml.stream.XMLStreamWriter,java.lang.String,java.lang.String,java.util.Map,java.util.Map) 52 0 0.0%
[org.apache.felix.utils.repository.StaxParser].parse(java.net.URI,java.io.InputStream,org.apache.felix.utils.repository.StaxParser$XmlRepository) 41 0 0.0% []
[org.apache.felix.utils.repository.StaxParser].parseClause(javax.xml.stream.XMLStreamReader[],java.lang.String,java.util.Map,java.util.Map) 50 0 0.0%
[org.apache.felix.utils.json.JSONWriter].value(java.lang.Object) 47 0 0.0% []
[org.apache.felix.utils.json.JSONWriter].quote(java.lang.String) 31 0 0.0% []
[org.apache.felix.utils.filter.FilterImpl].normalize() 54 0 0.0% []
[org.apache.felix.utils.filter.FilterImpl].compare(int,java.lang.Object,java.lang.Object) 48 0 0.0% []
[org.apache.felix.utils.filter.FilterImpl].compare_PrimitiveArray(int,java.lang.Class,java.lang.Object,java.lang.Object) 49 0 0.0% []
[org.apache.felix.utils.filter.FilterImpl].compare_String(int,java.lang.String,java.lang.Object) 33 0 0.0% []
[org.apache.felix.utils.filter.FilterImplTest].testNoneStandardLDAPOperators() 48 0 0.0%
[org.apache.felix.utils.filter.FilterImpl$Parser].parse_item() 37 0 0.0% []
[org.apache.felix.utils.resource.ResourceUtils].append(java.lang.StringBuilder,java.lang.String,java.lang.Object,boolean) 45 0 0.0% []
[org.apache.felix.utils.resource.ResourceBuilder].doBuild(org.apache.felix.utils.resource.ResourceImpl,java.lang.String,java.util.Map,boolean) 87 0 0.0%
[org.apache.felix.utils.resource.ResourceBuilder].normalizeRequireCapabilityClauses(java.util.List) 53 0 0.0%
[org.apache.felix.utils.resource.ResourceBuilder].normalizeProvideCapabilityClauses(java.util.List) 49 0 0.0%
[org.apache.felix.utils.resource.ResourceBuilder].parseBreeHeader(java.lang.String,org.osgi.resource.Resource) 50 0 0.0% []
[org.apache.felix.utils.resource.ResourceBuilder].parseStandardHeader(java.lang.String) 67 0 0.0% []
[org.apache.felix.utils.resource.ResourceBuilder].parseDelimitedString(java.lang.String,java.lang.String,boolean) 35 0 0.0% []
[org.apache.felix.utils.resource.CapabilitySet].match(java.util.Set,org.apache.felix.utils.resource.SimpleFilter) 34 0 0.0% []
[org.apache.felix.utils.resource.CapabilitySet].compare(java.lang.Object,java.lang.Object,int) 39 0 0.0% []
[org.apache.felix.utils.resource.SimpleFilter].toString(java.lang.StringBuilder) 43 0 0.0% []
[org.apache.felix.utils.resource.SimpleFilter].parse(java.lang.String) 50 0 0.0% []
[org.apache.felix.utils.resource.SimpleFilter].subfilter(java.lang.String,int,int) 48 0 0.0% []
[org.apache.felix.utils.resource.SimpleFilter].parseSubstring(java.lang.String) 43 0 0.0% []
[org.apache.felix.utils.resource.SimpleFilter].convert(java.util.Map) 39 0 0.0%
[org.apache.felix.utils.resource.SimpleFilterTest].testSubstringMatching() 44 0 0.0%
[org.apache.felix.utils.manifest.Parser].parseClauses(java.lang.String[]) 41 0 0.0% []

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.util.concurrent.Executor [] []
org.apache.felix.utils.resource.ResourceUtils ['JSONParserFuzzer'] []
org.apache.felix.utils.version.VersionRange ['JSONParserFuzzer'] []
org.apache.felix.utils.resource.RequirementImpl ['JSONParserFuzzer'] []
org.apache.felix.utils.version.VersionCleaner [] []
jdk.internal.reflect.Reflection [] []
java.util.concurrent.Callable [] []
org.apache.felix.utils.properties.Properties$PropertiesWriter [] []
org.apache.felix.utils.properties.TypedProperties$1$1 ['JSONParserFuzzer'] []
org.apache.felix.utils.properties.Properties$2 ['JSONParserFuzzer'] []
org.apache.felix.utils.resource.ResourceImpl ['JSONParserFuzzer'] []
org.apache.felix.utils.properties.Properties ['JSONParserFuzzer'] []
org.apache.felix.utils.collections.DictionaryAsMap ['JSONParserFuzzer'] []
org.apache.felix.utils.resource.ResourceBuilder [] []
org.apache.felix.utils.collections.DictionaryAsMap$1 ['JSONParserFuzzer'] []
org.apache.felix.utils.properties.Properties$2$1 ['JSONParserFuzzer'] []
JSONParserFuzzer ['JSONParserFuzzer'] []
org.apache.felix.utils.properties.TypedProperties$DynamicMap$1$1$1 ['JSONParserFuzzer'] []
org.apache.felix.utils.properties.TypedProperties ['JSONParserFuzzer'] []
org.apache.felix.utils.properties.TypedProperties$DynamicMap ['JSONParserFuzzer'] []
org.apache.felix.utils.service.BaseManagedServiceFactory$Pair [] []
org.apache.felix.utils.properties.TypedProperties$1$1$1 ['JSONParserFuzzer'] []
org.apache.felix.utils.collections.IteratorToEnumeration ['JSONParserFuzzer'] []
org.apache.felix.utils.json.JSONParser ['JSONParserFuzzer'] []
org.apache.felix.utils.extender.AbstractExtender$2 [] []
org.apache.felix.utils.repository.JsonRepository [] []
java.io.OutputStream [] []
org.apache.felix.utils.repository.XmlRepository [] []
org.apache.felix.utils.properties.TypedProperties$1 ['JSONParserFuzzer'] []
org.apache.felix.utils.json.JSONParser$Scope ['JSONParserFuzzer'] []
org.apache.felix.utils.collections.StringArrayMap$3 ['JSONParserFuzzer'] []
java.nio.file.Files [] []
org.apache.felix.utils.properties.TypedProperties$DynamicMap$1$1 ['JSONParserFuzzer'] []
java.io.PrintWriter ['JSONParserFuzzer'] []
org.apache.felix.utils.filter.FilterImpl$ServiceReferenceDictionary ['JSONParserFuzzer'] []
org.apache.felix.utils.properties.Properties$PropertiesReader ['JSONParserFuzzer'] []
jdk.internal.org.objectweb.asm.Handler [] []
java.io.File ['JSONParserFuzzer'] []
java.lang.ProcessBuilder [] []
org.apache.felix.utils.collections.StringArrayMap$1 ['JSONParserFuzzer'] []
org.apache.felix.utils.properties.TypedProperties$DynamicMap$2 ['JSONParserFuzzer'] []
org.apache.felix.utils.version.VersionTable [] []
jdk.internal.org.objectweb.asm.Constants [] []
org.apache.felix.utils.resource.CapabilitySet [] []
org.apache.felix.utils.collections.StringArrayMap$3$1$1 ['JSONParserFuzzer'] []
java.io.BufferedReader ['JSONParserFuzzer'] []
org.apache.felix.utils.properties.Properties$Layout ['JSONParserFuzzer'] []
java.io.BufferedWriter ['JSONParserFuzzer'] []
org.apache.felix.utils.manifest.Attribute ['JSONParserFuzzer'] []
org.apache.felix.utils.service.BaseManagedServiceFactory$2 [] []
org.apache.felix.utils.repository.JsonRepository$1 [] []
java.io.InputStream ['JSONParserFuzzer'] []
org.apache.felix.utils.repository.AggregateRepository [] []
org.apache.felix.utils.filter.FilterImpl ['JSONParserFuzzer'] []
jdk.internal.org.objectweb.asm.Attribute$Set [] []
org.apache.felix.utils.filter.FilterImpl$Parser [] []
org.apache.felix.utils.properties.Properties$1 [] []
org.apache.felix.utils.properties.InterpolationHelper ['JSONParserFuzzer'] []
org.apache.felix.utils.manifest.Directive ['JSONParserFuzzer'] []
org.apache.felix.utils.collections.StringArrayMap ['JSONParserFuzzer'] []
org.apache.felix.utils.collections.DictionaryAsMap$KeyEntry ['JSONParserFuzzer'] []
org.apache.felix.utils.collections.DictionaryAsMap$1$1 ['JSONParserFuzzer'] []
org.apache.felix.utils.collections.StringArrayMap$2 ['JSONParserFuzzer'] []
java.lang.System ['JSONParserFuzzer'] []
org.apache.felix.utils.manifest.Clause ['JSONParserFuzzer'] []
org.apache.felix.utils.resource.SimpleFilter ['JSONParserFuzzer'] []
org.apache.felix.utils.collections.MapToDictionary ['JSONParserFuzzer'] []
org.apache.felix.utils.collections.StringArrayMap$1$1 ['JSONParserFuzzer'] []
jdk.internal.module.Resources [] []
org.apache.felix.utils.properties.ConfigurationHandler ['JSONParserFuzzer'] []
org.apache.felix.utils.manifest.Parser [] []
org.apache.felix.utils.properties.Properties$2$1$1 ['JSONParserFuzzer'] []
org.apache.felix.utils.properties.InterpolationHelper$BundleContextSubstitutionCallback ['JSONParserFuzzer'] []
jdk.internal.org.objectweb.asm.Attribute [] []
org.apache.felix.utils.json.JSONWriter [] []
org.apache.felix.utils.filter.FilterImpl$SetAccessibleAction [] []
org.apache.felix.utils.resource.CapabilityImpl ['JSONParserFuzzer'] []
java.lang.Runtime [] []
org.apache.felix.utils.log.Logger [] []
org.apache.felix.utils.repository.XmlRepository$XmlLoader [] []
org.apache.felix.utils.properties.TypedProperties$2 ['JSONParserFuzzer'] []
org.apache.felix.utils.properties.TypedProperties$3 ['JSONParserFuzzer'] []
org.apache.felix.utils.service.BaseManagedServiceFactory$1 [] []
java.nio.file.Paths [] []
org.apache.felix.utils.repository.BaseRepository [] []
org.apache.felix.utils.properties.TypedProperties$DynamicMap$1 ['JSONParserFuzzer'] []
org.apache.felix.utils.collections.StringArrayMap$3$1 ['JSONParserFuzzer'] []
org.apache.felix.utils.extender.AbstractExtender$1 [] []
jdk.internal.org.objectweb.asm.Type ['JSONParserFuzzer'] []
org.apache.felix.utils.repository.StaxParser [] []
org.apache.felix.utils.filter.FilterImpl$CaseInsensitiveDictionary ['JSONParserFuzzer'] []
org.apache.felix.utils.collections.StringArrayMap$2$1 ['JSONParserFuzzer'] []

Directories in report

Directory