CodeQL library for Go
codeql/go-all 2.1.3 (changelog, source)
Search

Module UncontrolledAllocationSize::Config

Module for defining predicates and tracking taint flow related to uncontrolled allocation size issues.

Import path

import semmle.go.security.UncontrolledAllocationSize

Predicates

isAdditionalFlowStep

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

isBarrier

Holds if data flow through node is prohibited. This completely removes node from the data flow graph.

isSink

Holds if sink is a relevant data flow sink.

isSource

Holds if source is a relevant data flow source.