CodeQL library for Rust
codeql/rust-all 0.2.5-dev (changelog, source)
Search

Class AccessAfterLifetime::Source

A data flow source for accesses to a pointer after its lifetime has ended, that is, creation of a pointer or reference.

Import path

import codeql.rust.security.AccessAfterLifetimeExtensions

Direct supertypes

Indirect supertypes

Known direct subtypes

    Predicates

    getTarget

    Gets the value this pointer or reference points to.

    Inherited predicates

    asExpr

    Gets the expression that corresponds to this node, if any.

    from NodePublic
    asParameter

    Gets the parameter that corresponds to this node, if any.

    from NodePublic
    asPat

    Gets the pattern that corresponds to this node, if any.

    from NodePublic
    getLocation

    Gets the location of this node.

    from NodePublic
    toString

    Gets a textual representation of this node.

    from NodePublic