Skip to content

Commit e5cce6c

Browse files
committed
C#: Add initial implementation of specific predicates needed to capture summary models.
1 parent 82d93d0 commit e5cce6c

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import csharp
2+
import semmle.code.csharp.dataflow.TaintTracking
3+
import semmle.code.csharp.dataflow.internal.DataFlowImplCommon
4+
import semmle.code.csharp.dataflow.internal.DataFlowPrivate
5+
import ModelGeneratorUtils
6+
7+
predicate isOwnInstanceAccess(ReturnStmt rtn) { rtn.getExpr() instanceof ThisAccess }
8+
9+
predicate isOwnInstanceAccessNode(ReturnNode node) { node.asExpr() instanceof ThisAccess }
10+
11+
string qualifierString() { result = "Argument[Qualifier]" }

0 commit comments

Comments
 (0)