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

Module AllocationSizeOverflow

Provides a taint-tracking configuration for reasoning about allocation-size overflow.

Import path

import semmle.go.security.AllocationSizeOverflow

Imports

AllocationSizeOverflow

Provides extension points for customizing the taint-tracking configuration for reasoning about allocation-size overflow.

Predicates

isSinkWithAllocationSize

Holds if nd is at a position where overflow might occur, and its result is used to compute allocation size allocsz.

Aliases

Flow

Tracks taint flow to find allocation-size overflows.