mirror of
https://github.com/github/codeql.git
synced 2026-04-28 10:15:14 +02:00
Rust: Make the manual model for Option::map more accurate.
This commit is contained in:
@@ -103,7 +103,8 @@ extensions:
|
||||
- ["<_ as core::iter::traits::iterator::Iterator>::chain", "Argument[0]", "ReturnValue", "taint", "manual"]
|
||||
- ["<_ as core::iter::traits::iterator::Iterator>::take", "Argument[self]", "ReturnValue", "taint", "manual"]
|
||||
# Option
|
||||
- ["<core::option::Option>::map", "Argument[self]", "ReturnValue", "taint", "manual"]
|
||||
- ["<core::option::Option>::map", "Argument[self]", "Argument[0].Parameter[0]", "taint", "manual"]
|
||||
- ["<core::option::Option>::map", "Argument[0].ReturnValue", "ReturnValue", "taint", "manual"]
|
||||
# Pin
|
||||
- ["<core::pin::Pin>::new", "Argument[0]", "ReturnValue.Field[core::pin::Pin::pointer]", "value", "manual"]
|
||||
# This model is not precise, but helps in cases where a `Pin` is implicitly dereferenced.
|
||||
|
||||
Reference in New Issue
Block a user