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

Class RequestForgery::Sink

A data flow sink for request forgery vulnerabilities.

Import path

import codeql.rust.security.RequestForgeryExtensions

Direct supertypes

Indirect supertypes

Known direct subtypes

    Predicates

    getSinkType

    Gets the name of a part of the request that may be tainted by this sink, such as the URL or the host.

    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