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 {
280
280
private predicate isOnAliasedDefinitionChain ( Instruction instr ) {
281
281
instr instanceof AliasedDefinitionInstruction
282
282
or
283
- instr .getOpcode ( ) instanceof Opcode:: InitializeNonLocal
284
- or
285
283
isOnAliasedDefinitionChain ( instr .( ChiInstruction ) .getTotal ( ) )
286
284
or
287
285
isOnAliasedDefinitionChain ( instr .( PhiInstruction ) .getAnInputOperand ( ) .getAnyDef ( ) )
@@ -291,6 +289,8 @@ module InstructionSanity {
291
289
isOnAliasedDefinitionChain ( instr )
292
290
or
293
291
instr instanceof UnmodeledDefinitionInstruction
292
+ or
293
+ instr .getOpcode ( ) instanceof Opcode:: InitializeNonLocal
294
294
}
295
295
296
296
query predicate notMarkedAsConflated ( Instruction instr ) {
Original file line number Diff line number Diff line change @@ -280,8 +280,6 @@ module InstructionSanity {
280
280
private predicate isOnAliasedDefinitionChain ( Instruction instr ) {
281
281
instr instanceof AliasedDefinitionInstruction
282
282
or
283
- instr .getOpcode ( ) instanceof Opcode:: InitializeNonLocal
284
- or
285
283
isOnAliasedDefinitionChain ( instr .( ChiInstruction ) .getTotal ( ) )
286
284
or
287
285
isOnAliasedDefinitionChain ( instr .( PhiInstruction ) .getAnInputOperand ( ) .getAnyDef ( ) )
@@ -291,6 +289,8 @@ module InstructionSanity {
291
289
isOnAliasedDefinitionChain ( instr )
292
290
or
293
291
instr instanceof UnmodeledDefinitionInstruction
292
+ or
293
+ instr .getOpcode ( ) instanceof Opcode:: InitializeNonLocal
294
294
}
295
295
296
296
query predicate notMarkedAsConflated ( Instruction instr ) {
Original file line number Diff line number Diff line change @@ -280,8 +280,6 @@ module InstructionSanity {
280
280
private predicate isOnAliasedDefinitionChain ( Instruction instr ) {
281
281
instr instanceof AliasedDefinitionInstruction
282
282
or
283
- instr .getOpcode ( ) instanceof Opcode:: InitializeNonLocal
284
- or
285
283
isOnAliasedDefinitionChain ( instr .( ChiInstruction ) .getTotal ( ) )
286
284
or
287
285
isOnAliasedDefinitionChain ( instr .( PhiInstruction ) .getAnInputOperand ( ) .getAnyDef ( ) )
@@ -291,6 +289,8 @@ module InstructionSanity {
291
289
isOnAliasedDefinitionChain ( instr )
292
290
or
293
291
instr instanceof UnmodeledDefinitionInstruction
292
+ or
293
+ instr .getOpcode ( ) instanceof Opcode:: InitializeNonLocal
294
294
}
295
295
296
296
query predicate notMarkedAsConflated ( Instruction instr ) {
Original file line number Diff line number Diff line change @@ -280,8 +280,6 @@ module InstructionSanity {
280
280
private predicate isOnAliasedDefinitionChain ( Instruction instr ) {
281
281
instr instanceof AliasedDefinitionInstruction
282
282
or
283
- instr .getOpcode ( ) instanceof Opcode:: InitializeNonLocal
284
- or
285
283
isOnAliasedDefinitionChain ( instr .( ChiInstruction ) .getTotal ( ) )
286
284
or
287
285
isOnAliasedDefinitionChain ( instr .( PhiInstruction ) .getAnInputOperand ( ) .getAnyDef ( ) )
@@ -291,6 +289,8 @@ module InstructionSanity {
291
289
isOnAliasedDefinitionChain ( instr )
292
290
or
293
291
instr instanceof UnmodeledDefinitionInstruction
292
+ or
293
+ instr .getOpcode ( ) instanceof Opcode:: InitializeNonLocal
294
294
}
295
295
296
296
query predicate notMarkedAsConflated ( Instruction instr ) {
Original file line number Diff line number Diff line change @@ -280,8 +280,6 @@ module InstructionSanity {
280
280
private predicate isOnAliasedDefinitionChain ( Instruction instr ) {
281
281
instr instanceof AliasedDefinitionInstruction
282
282
or
283
- instr .getOpcode ( ) instanceof Opcode:: InitializeNonLocal
284
- or
285
283
isOnAliasedDefinitionChain ( instr .( ChiInstruction ) .getTotal ( ) )
286
284
or
287
285
isOnAliasedDefinitionChain ( instr .( PhiInstruction ) .getAnInputOperand ( ) .getAnyDef ( ) )
@@ -291,6 +289,8 @@ module InstructionSanity {
291
289
isOnAliasedDefinitionChain ( instr )
292
290
or
293
291
instr instanceof UnmodeledDefinitionInstruction
292
+ or
293
+ instr .getOpcode ( ) instanceof Opcode:: InitializeNonLocal
294
294
}
295
295
296
296
query predicate notMarkedAsConflated ( Instruction instr ) {
You can’t perform that action at this time.
0 commit comments