File tree Expand file tree Collapse file tree 5 files changed +10
-10
lines changed
cpp/ql/src/semmle/code/cpp/ir/implementation
csharp/ql/src/semmle/code/csharp/ir/implementation Expand file tree Collapse file tree 5 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -280,8 +280,6 @@ module InstructionSanity {
280280 private predicate isOnAliasedDefinitionChain ( Instruction instr ) {
281281 instr instanceof AliasedDefinitionInstruction
282282 or
283- instr .getOpcode ( ) instanceof Opcode:: InitializeNonLocal
284- or
285283 isOnAliasedDefinitionChain ( instr .( ChiInstruction ) .getTotal ( ) )
286284 or
287285 isOnAliasedDefinitionChain ( instr .( PhiInstruction ) .getAnInputOperand ( ) .getAnyDef ( ) )
@@ -291,6 +289,8 @@ module InstructionSanity {
291289 isOnAliasedDefinitionChain ( instr )
292290 or
293291 instr instanceof UnmodeledDefinitionInstruction
292+ or
293+ instr .getOpcode ( ) instanceof Opcode:: InitializeNonLocal
294294 }
295295
296296 query predicate notMarkedAsConflated ( Instruction instr ) {
Original file line number Diff line number Diff line change @@ -280,8 +280,6 @@ module InstructionSanity {
280280 private predicate isOnAliasedDefinitionChain ( Instruction instr ) {
281281 instr instanceof AliasedDefinitionInstruction
282282 or
283- instr .getOpcode ( ) instanceof Opcode:: InitializeNonLocal
284- or
285283 isOnAliasedDefinitionChain ( instr .( ChiInstruction ) .getTotal ( ) )
286284 or
287285 isOnAliasedDefinitionChain ( instr .( PhiInstruction ) .getAnInputOperand ( ) .getAnyDef ( ) )
@@ -291,6 +289,8 @@ module InstructionSanity {
291289 isOnAliasedDefinitionChain ( instr )
292290 or
293291 instr instanceof UnmodeledDefinitionInstruction
292+ or
293+ instr .getOpcode ( ) instanceof Opcode:: InitializeNonLocal
294294 }
295295
296296 query predicate notMarkedAsConflated ( Instruction instr ) {
Original file line number Diff line number Diff line change @@ -280,8 +280,6 @@ module InstructionSanity {
280280 private predicate isOnAliasedDefinitionChain ( Instruction instr ) {
281281 instr instanceof AliasedDefinitionInstruction
282282 or
283- instr .getOpcode ( ) instanceof Opcode:: InitializeNonLocal
284- or
285283 isOnAliasedDefinitionChain ( instr .( ChiInstruction ) .getTotal ( ) )
286284 or
287285 isOnAliasedDefinitionChain ( instr .( PhiInstruction ) .getAnInputOperand ( ) .getAnyDef ( ) )
@@ -291,6 +289,8 @@ module InstructionSanity {
291289 isOnAliasedDefinitionChain ( instr )
292290 or
293291 instr instanceof UnmodeledDefinitionInstruction
292+ or
293+ instr .getOpcode ( ) instanceof Opcode:: InitializeNonLocal
294294 }
295295
296296 query predicate notMarkedAsConflated ( Instruction instr ) {
Original file line number Diff line number Diff line change @@ -280,8 +280,6 @@ module InstructionSanity {
280280 private predicate isOnAliasedDefinitionChain ( Instruction instr ) {
281281 instr instanceof AliasedDefinitionInstruction
282282 or
283- instr .getOpcode ( ) instanceof Opcode:: InitializeNonLocal
284- or
285283 isOnAliasedDefinitionChain ( instr .( ChiInstruction ) .getTotal ( ) )
286284 or
287285 isOnAliasedDefinitionChain ( instr .( PhiInstruction ) .getAnInputOperand ( ) .getAnyDef ( ) )
@@ -291,6 +289,8 @@ module InstructionSanity {
291289 isOnAliasedDefinitionChain ( instr )
292290 or
293291 instr instanceof UnmodeledDefinitionInstruction
292+ or
293+ instr .getOpcode ( ) instanceof Opcode:: InitializeNonLocal
294294 }
295295
296296 query predicate notMarkedAsConflated ( Instruction instr ) {
Original file line number Diff line number Diff line change @@ -280,8 +280,6 @@ module InstructionSanity {
280280 private predicate isOnAliasedDefinitionChain ( Instruction instr ) {
281281 instr instanceof AliasedDefinitionInstruction
282282 or
283- instr .getOpcode ( ) instanceof Opcode:: InitializeNonLocal
284- or
285283 isOnAliasedDefinitionChain ( instr .( ChiInstruction ) .getTotal ( ) )
286284 or
287285 isOnAliasedDefinitionChain ( instr .( PhiInstruction ) .getAnInputOperand ( ) .getAnyDef ( ) )
@@ -291,6 +289,8 @@ module InstructionSanity {
291289 isOnAliasedDefinitionChain ( instr )
292290 or
293291 instr instanceof UnmodeledDefinitionInstruction
292+ or
293+ instr .getOpcode ( ) instanceof Opcode:: InitializeNonLocal
294294 }
295295
296296 query predicate notMarkedAsConflated ( Instruction instr ) {
You can’t perform that action at this time.
0 commit comments