Skip to content

Commit be260be

Browse files
authored
Merge pull request #20497 from hvitved/rust/missing-model
Rust: Add missing model
2 parents a0ea0c9 + 8d5d219 commit be260be

File tree

2 files changed

+314
-292
lines changed

2 files changed

+314
-292
lines changed

rust/ql/lib/codeql/rust/frameworks/async-rs.model.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,9 @@ extensions:
44
extensible: sourceModel
55
data:
66
- ["<async_std::net::tcp::stream::TcpStream>::connect", "ReturnValue.Future.Field[core::result::Result::Ok(0)]", "remote", "manual"]
7+
- addsTo:
8+
pack: codeql/rust-all
9+
extensible: summaryModel
10+
data:
11+
- ["<_ as async_std::io::read::ReadExt>::read", "Argument[self]", "Argument[0].Reference", "taint", "manual"]
12+
- ["<_ as async_std::io::read::ReadExt>::read", "Argument[self].Reference", "Argument[0].Reference", "taint", "manual"]

0 commit comments

Comments
 (0)