mirror of
https://github.com/github/codeql.git
synced 2026-03-30 20:28:15 +02:00
Rust: Move the existing 'alloc' neutral models into alloc.model.yml.
This commit is contained in:
@@ -55,4 +55,12 @@ extensions:
|
||||
- ["<alloc::string::String as core::ops::arith::Add>::add", "Argument[0].Reference", "ReturnValue", "taint", "manual"]
|
||||
# Vec
|
||||
- ["alloc::vec::from_elem", "Argument[0]", "ReturnValue.Element", "value", "manual"]
|
||||
- ["<alloc::vec::Vec as core::ops::deref::Deref>::deref", "Argument[self].Reference.Element", "ReturnValue.Reference.Element", "value", "manual"]
|
||||
- ["<alloc::vec::Vec as core::ops::deref::Deref>::deref", "Argument[self].Reference.Element", "ReturnValue.Reference.Element", "value", "manual"]
|
||||
- addsTo:
|
||||
pack: codeql/rust-all
|
||||
extensible: neutralModel
|
||||
data:
|
||||
- ["<alloc::vec::Vec as core::convert::From>::from", "sink", "manual"]
|
||||
- ["<alloc::collections::vec_deque::VecDeque as core::convert::From>::from", "sink", "manual"]
|
||||
- ["<alloc::sync::Arc as core::convert::From>::from", "sink", "manual"]
|
||||
- ["<alloc::rc::Rc as core::convert::From>::from", "sink", "manual"]
|
||||
|
||||
@@ -165,11 +165,7 @@ extensions:
|
||||
extensible: neutralModel
|
||||
data:
|
||||
- ["<core::option::Option>::map", "sink", "manual"]
|
||||
- ["<alloc::vec::Vec as core::convert::From>::from", "sink", "manual"]
|
||||
- ["<alloc::collections::vec_deque::VecDeque as core::convert::From>::from", "sink", "manual"]
|
||||
- ["<std::io::error::Error as core::convert::From>::from", "sink", "manual"]
|
||||
- ["<alloc::sync::Arc as core::convert::From>::from", "sink", "manual"]
|
||||
- ["<alloc::rc::Rc as core::convert::From>::from", "sink", "manual"]
|
||||
- addsTo:
|
||||
pack: codeql/rust-all
|
||||
extensible: excludeFieldTaintStep
|
||||
|
||||
Reference in New Issue
Block a user