File tree Expand file tree Collapse file tree 2 files changed +21
-0
lines changed
Expand file tree Collapse file tree 2 files changed +21
-0
lines changed Original file line number Diff line number Diff line change 22 * This file imports all models of frameworks and libraries.
33 */
44
5+ private import codeql.rust.frameworks.Actix
56private import codeql.rust.frameworks.rustcrypto.RustCrypto
67private import codeql.rust.frameworks.Poem
78private import codeql.rust.frameworks.Sqlx
Original file line number Diff line number Diff line change 1+ /**
2+ * Provides modeling for the `Actix` library.
3+ */
4+
5+ private import rust
6+ private import codeql.rust.Concepts
7+ private import codeql.rust.dataflow.DataFlow
8+
9+ /**
10+ * Parameters of a handler function
11+ */
12+ private class ActixHandlerParam extends RemoteSource:: Range {
13+ ActixHandlerParam ( ) {
14+ exists ( TupleStructPat param |
15+ param .getResolvedPath ( ) = [ "crate::types::query::Query" ]
16+ |
17+ this .asPat ( ) .getPat ( ) = param .getAField ( )
18+ )
19+ }
20+ }
You can’t perform that action at this time.
0 commit comments