File tree Expand file tree Collapse file tree 3 files changed +13
-0
lines changed
src/semmle/code/csharp/ir/implementation/raw/internal Expand file tree Collapse file tree 3 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -69,6 +69,15 @@ private module Cached {
69
69
cached
70
70
predicate hasModeledMemoryResult ( Instruction instruction ) { none ( ) }
71
71
72
+ cached
73
+ predicate hasConflatedMemoryResult ( Instruction instruction ) {
74
+ instruction instanceof UnmodeledDefinitionInstruction
75
+ or
76
+ instruction instanceof AliasedDefinitionInstruction
77
+ or
78
+ instruction .getOpcode ( ) instanceof Opcode:: InitializeNonLocal
79
+ }
80
+
72
81
cached
73
82
Expr getInstructionConvertedResultExpression ( Instruction instruction ) {
74
83
exists ( TranslatedExpr translatedExpr |
Original file line number Diff line number Diff line change @@ -16,6 +16,8 @@ lostReachability
16
16
backEdgeCountMismatch
17
17
useNotDominatedByDefinition
18
18
switchInstructionWithoutDefaultEdge
19
+ notMarkedAsConflated
20
+ wronglyMarkedAsConflated
19
21
missingCanonicalLanguageType
20
22
multipleCanonicalLanguageTypes
21
23
missingIRType
Original file line number Diff line number Diff line change @@ -16,6 +16,8 @@ lostReachability
16
16
backEdgeCountMismatch
17
17
useNotDominatedByDefinition
18
18
switchInstructionWithoutDefaultEdge
19
+ notMarkedAsConflated
20
+ wronglyMarkedAsConflated
19
21
missingCanonicalLanguageType
20
22
multipleCanonicalLanguageTypes
21
23
missingIRType
You can’t perform that action at this time.
0 commit comments