There was an error while loading. Please reload this page.
2 parents 82781b5 + 29335fd commit 6c02d1bCopy full SHA for 6c02d1b
1 file changed
rust/ql/lib/codeql/rust/frameworks/stdlib/alloc.model.yml
@@ -56,6 +56,9 @@ extensions:
56
# Vec
57
- ["alloc::vec::from_elem", "Argument[0]", "ReturnValue.Element", "value", "manual"]
58
- ["<alloc::vec::Vec as core::ops::deref::Deref>::deref", "Argument[self].Reference.Element", "ReturnValue.Reference.Element", "value", "manual"]
59
+ # ToOwned
60
+ - ["<_ as alloc::borrow::ToOwned>::to_owned", "Argument[self].Reference", "ReturnValue", "taint", "manual"]
61
+ - ["<_ as alloc::borrow::ToOwned>::clone_into", "Argument[self].Reference", "Argument[0].Reference", "taint", "manual"]
62
- addsTo:
63
pack: codeql/rust-all
64
extensible: neutralModel
0 commit comments