CodeQL library for C/C++
Search

Class DefOrUse

Utility class: A definition or use of a stack variable.

Import path

import cpp

Direct supertypes

Indirect supertypes

Known direct subtypes

Predicates

getVariable

Gets the target variable of this definition or use.

reaches

Holds if the value of v in this control-flow node reaches defOrUse along some control-flow path without crossing a definition of v.

Inherited predicates

getAPrimaryQlClass

Gets the name of a primary CodeQL class to which this element belongs.

from ElementBase
getCanonicalQLClass

DEPRECATED: use getAPrimaryQlClass instead.

from ElementBase
getPrimaryQlClasses

Gets a comma-separated list of the names of the primary CodeQL classes to which this element belongs.

from ElementBase
toString

Gets a textual representation of this element.

from ElementBase

Charpred