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 {
6969 cached
7070 predicate hasModeledMemoryResult ( Instruction instruction ) { none ( ) }
7171
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+
7281 cached
7382 Expr getInstructionConvertedResultExpression ( Instruction instruction ) {
7483 exists ( TranslatedExpr translatedExpr |
Original file line number Diff line number Diff line change @@ -16,6 +16,8 @@ lostReachability
1616backEdgeCountMismatch
1717useNotDominatedByDefinition
1818switchInstructionWithoutDefaultEdge
19+ notMarkedAsConflated
20+ wronglyMarkedAsConflated
1921missingCanonicalLanguageType
2022multipleCanonicalLanguageTypes
2123missingIRType
Original file line number Diff line number Diff line change @@ -16,6 +16,8 @@ lostReachability
1616backEdgeCountMismatch
1717useNotDominatedByDefinition
1818switchInstructionWithoutDefaultEdge
19+ notMarkedAsConflated
20+ wronglyMarkedAsConflated
1921missingCanonicalLanguageType
2022multipleCanonicalLanguageTypes
2123missingIRType
You can’t perform that action at this time.
0 commit comments