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

Predicate AccessAfterLifetime::sourceValueScope

Holds if the value pointed to by source accesses a variable target with scope scope.

Import path

import codeql.rust.security.AccessAfterLifetimeExtensions
predicate sourceValueScope(Source source, Variable target, BlockExpr scope)