mirror of
https://github.com/github/codeql.git
synced 2025-12-21 03:06:31 +01:00
C++: Stub implementations for clearsContent()
This commit is contained in:
@@ -216,6 +216,13 @@ predicate readStep(Node node1, Content f, Node node2) {
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Holds if values stored inside content `c` are cleared at node `n`.
|
||||||
|
*/
|
||||||
|
predicate clearsContent(Node n, Content c) {
|
||||||
|
none() // stub implementation
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets a representative (boxed) type for `t` for the purpose of pruning
|
* Gets a representative (boxed) type for `t` for the purpose of pruning
|
||||||
* possible flow. A single type is used for all numeric types to account for
|
* possible flow. A single type is used for all numeric types to account for
|
||||||
|
|||||||
@@ -226,6 +226,13 @@ predicate readStep(Node node1, Content f, Node node2) {
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Holds if values stored inside content `c` are cleared at node `n`.
|
||||||
|
*/
|
||||||
|
predicate clearsContent(Node n, Content c) {
|
||||||
|
none() // stub implementation
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets a representative (boxed) type for `t` for the purpose of pruning
|
* Gets a representative (boxed) type for `t` for the purpose of pruning
|
||||||
* possible flow. A single type is used for all numeric types to account for
|
* possible flow. A single type is used for all numeric types to account for
|
||||||
|
|||||||
Reference in New Issue
Block a user