File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed
cpp/ql/lib/semmle/code/cpp/ir/implementation Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,12 @@ private int getBinaryInstructionValue(BinaryInstruction instr) {
38
38
or
39
39
instr instanceof DivInstruction and result = div ( left , right )
40
40
or
41
+ instr instanceof BitOrInstruction and result = bitOr ( left , right )
42
+ or
43
+ instr instanceof BitAndInstruction and result = bitAnd ( left , right )
44
+ or
45
+ instr instanceof BitXorInstruction and result = bitXor ( left , right )
46
+ or
41
47
instr instanceof CompareEQInstruction and result = compareEQ ( left , right )
42
48
or
43
49
instr instanceof CompareNEInstruction and result = compareNE ( left , right )
Original file line number Diff line number Diff line change @@ -38,6 +38,12 @@ private int getBinaryInstructionValue(BinaryInstruction instr) {
38
38
or
39
39
instr instanceof DivInstruction and result = div ( left , right )
40
40
or
41
+ instr instanceof BitOrInstruction and result = bitOr ( left , right )
42
+ or
43
+ instr instanceof BitAndInstruction and result = bitAnd ( left , right )
44
+ or
45
+ instr instanceof BitXorInstruction and result = bitXor ( left , right )
46
+ or
41
47
instr instanceof CompareEQInstruction and result = compareEQ ( left , right )
42
48
or
43
49
instr instanceof CompareNEInstruction and result = compareNE ( left , right )
You can’t perform that action at this time.
0 commit comments