CodeQL library for Go
codeql/go-all 0.7.13 (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.

Classes

Configuration

DEPRECATED: Use Flow instead.

FindLargeLensConfiguration

DEPRECATED: Use copies of FindLargeLensConfig and FindLargeLensFlow instead.

Aliases

Flow

Tracks taint flow to find allocation-size overflows.