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) {
3838 or
3939 instr instanceof DivInstruction and result = div ( left , right )
4040 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
4147 instr instanceof CompareEQInstruction and result = compareEQ ( left , right )
4248 or
4349 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) {
3838 or
3939 instr instanceof DivInstruction and result = div ( left , right )
4040 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
4147 instr instanceof CompareEQInstruction and result = compareEQ ( left , right )
4248 or
4349 instr instanceof CompareNEInstruction and result = compareNE ( left , right )
You can’t perform that action at this time.
0 commit comments