CodeQL library for C#
codeql/csharp-all 5.4.4-dev (changelog, source)
Search

Module TypeNameTrackingConfig

Configuration module for tracking unsafe TypeNameHandling setting to JsonConvert calls.

Import path

import semmle.code.csharp.security.dataflow.UnsafeDeserializationQuery

Predicates

isAdditionalFlowStep

Holds if data may flow from node1 to node2 in addition to the normal data-flow steps.

isSink

Holds if sink is a relevant data flow sink.

isSource

Holds if source is a relevant data flow source.

observeDiffInformedIncrementalMode

Holds if sources and sinks should be filtered to only include those that may lead to a flow path with either a source or a sink in the location range given by AlertFiltering. This only has an effect when running in diff-informed incremental mode.