mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
C++: Update expected test results
This commit is contained in:
@@ -20574,23 +20574,32 @@ ir.cpp:
|
||||
# 2806| r2806_1(glval<bool>) = VariableAddress[b] :
|
||||
# 2806| r2806_2(bool) = Load[b] : &:r2806_1, m2801_12
|
||||
# 2806| v2806_3(void) = ConditionalBranch : r2806_2
|
||||
#-----| False -> Block 2
|
||||
#-----| True -> Block 1
|
||||
#-----| False -> Block 3
|
||||
#-----| True -> Block 2
|
||||
|
||||
# 2807| Block 1
|
||||
# 2801| Block 1
|
||||
# 2801| m2801_13(unsigned long) = Phi : from 2:m2808_5, from 3:m2811_3
|
||||
# 2801| r2801_14(glval<unsigned long>) = VariableAddress[#return] :
|
||||
# 2801| v2801_15(void) = ReturnValue : &:r2801_14, m2801_13
|
||||
# 2801| v2801_16(void) = AliasedUse : m2801_3
|
||||
# 2801| v2801_17(void) = ExitFunction :
|
||||
|
||||
# 2807| Block 2
|
||||
# 2807| r2807_1(glval<long[][][]>) = VariableAddress[tmp] :
|
||||
# 2807| m2807_2(long[][][]) = Uninitialized[tmp] : &:r2807_1
|
||||
# 2807| v2807_3(void) = NoOp :
|
||||
# 2808| r2808_1(glval<unsigned long>) = VariableAddress[#return] :
|
||||
# 2808| r2808_2(unsigned long) = Constant :
|
||||
# 2808| r2808_3(unsigned long) = Mul : r2808_2, r2802_2
|
||||
# 2808| r2808_4(unsigned long) = Mul : r2808_3, r2802_4
|
||||
# 2808| m2808_5(unsigned long) = Store[#return] : &:r2808_1, r2808_4
|
||||
#-----| Goto -> Block 1
|
||||
|
||||
# 2811| Block 2
|
||||
# 2811| r2811_1(glval<unsigned long>) = VariableAddress[#return] :
|
||||
# 2811| r2811_2(unsigned long) = Constant[0] :
|
||||
# 2811| m2811_3(unsigned long) = Store[#return] : &:r2811_1, r2811_2
|
||||
# 2801| r2801_13(glval<unsigned long>) = VariableAddress[#return] :
|
||||
# 2801| v2801_14(void) = ReturnValue : &:r2801_13, m2811_3
|
||||
# 2801| v2801_15(void) = AliasedUse : m2801_3
|
||||
# 2801| v2801_16(void) = ExitFunction :
|
||||
# 2811| Block 3
|
||||
# 2811| r2811_1(glval<unsigned long>) = VariableAddress[#return] :
|
||||
# 2811| r2811_2(unsigned long) = Constant[0] :
|
||||
# 2811| m2811_3(unsigned long) = Store[#return] : &:r2811_1, r2811_2
|
||||
#-----| Goto -> Block 1
|
||||
|
||||
ir23.cpp:
|
||||
# 1| bool consteval_1()
|
||||
|
||||
@@ -6,7 +6,6 @@ missingOperandType
|
||||
duplicateChiOperand
|
||||
sideEffectWithoutPrimary
|
||||
instructionWithoutSuccessor
|
||||
| ir.cpp:2808:5:2808:26 | VariableAddress: return ... | Instruction 'VariableAddress: return ...' has no successors in function '$@'. | ir.cpp:2801:8:2801:23 | size_t vla_sizeof_test3(int, size_t, char, bool) | size_t vla_sizeof_test3(int, size_t, char, bool) |
|
||||
ambiguousSuccessors
|
||||
unexplainedLoop
|
||||
unnecessaryPhiInstruction
|
||||
|
||||
@@ -6,7 +6,6 @@ missingOperandType
|
||||
duplicateChiOperand
|
||||
sideEffectWithoutPrimary
|
||||
instructionWithoutSuccessor
|
||||
| ir.cpp:2808:5:2808:26 | VariableAddress: return ... | Instruction 'VariableAddress: return ...' has no successors in function '$@'. | ir.cpp:2801:8:2801:23 | size_t vla_sizeof_test3(int, size_t, char, bool) | size_t vla_sizeof_test3(int, size_t, char, bool) |
|
||||
ambiguousSuccessors
|
||||
unexplainedLoop
|
||||
unnecessaryPhiInstruction
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
missingOperand
|
||||
| ir.cpp:2808:12:2808:25 | Store: sizeof(<expr>) | Instruction 'Store' is missing an expected operand with tag 'StoreValue' in function '$@'. | ir.cpp:2801:8:2801:23 | size_t vla_sizeof_test3(int, size_t, char, bool) | size_t vla_sizeof_test3(int, size_t, char, bool) |
|
||||
unexpectedOperand
|
||||
duplicateOperand
|
||||
missingPhiOperand
|
||||
@@ -7,7 +6,6 @@ missingOperandType
|
||||
duplicateChiOperand
|
||||
sideEffectWithoutPrimary
|
||||
instructionWithoutSuccessor
|
||||
| ir.cpp:2808:5:2808:26 | VariableAddress: return ... | Instruction 'VariableAddress: return ...' has no successors in function '$@'. | ir.cpp:2801:8:2801:23 | size_t vla_sizeof_test3(int, size_t, char, bool) | size_t vla_sizeof_test3(int, size_t, char, bool) |
|
||||
ambiguousSuccessors
|
||||
unexplainedLoop
|
||||
unnecessaryPhiInstruction
|
||||
@@ -23,7 +21,6 @@ lostReachability
|
||||
backEdgeCountMismatch
|
||||
useNotDominatedByDefinition
|
||||
| ir.cpp:1535:8:1535:8 | Unary | Operand 'Unary' is not dominated by its definition in function '$@'. | ir.cpp:1535:8:1535:8 | void StructuredBindingDataMemberStruct::StructuredBindingDataMemberStruct() | void StructuredBindingDataMemberStruct::StructuredBindingDataMemberStruct() |
|
||||
| ir.cpp:2808:5:2808:26 | Address | Operand 'Address' is not dominated by its definition in function '$@'. | ir.cpp:2801:8:2801:23 | size_t vla_sizeof_test3(int, size_t, char, bool) | size_t vla_sizeof_test3(int, size_t, char, bool) |
|
||||
switchInstructionWithoutDefaultEdge
|
||||
notMarkedAsConflated
|
||||
wronglyMarkedAsConflated
|
||||
|
||||
@@ -18718,7 +18718,7 @@ ir.cpp:
|
||||
# 2806| r2806_1(glval<bool>) = VariableAddress[b] :
|
||||
# 2806| r2806_2(bool) = Load[b] : &:r2806_1, ~m?
|
||||
# 2806| v2806_3(void) = ConditionalBranch : r2806_2
|
||||
#-----| False -> Block 4
|
||||
#-----| False -> Block 3
|
||||
#-----| True -> Block 2
|
||||
|
||||
# 2801| Block 1
|
||||
@@ -18732,12 +18732,13 @@ ir.cpp:
|
||||
# 2807| mu2807_2(long[][][]) = Uninitialized[tmp] : &:r2807_1
|
||||
# 2807| v2807_3(void) = NoOp :
|
||||
# 2808| r2808_1(glval<unsigned long>) = VariableAddress[#return] :
|
||||
|
||||
# 2808| Block 3
|
||||
# 2808| mu2808_2(unsigned long) = Store[#return] : &:r2808_1
|
||||
# 2808| r2808_2(unsigned long) = Constant :
|
||||
# 2808| r2808_3(unsigned long) = Mul : r2808_2, r2802_2
|
||||
# 2808| r2808_4(unsigned long) = Mul : r2808_3, r2802_4
|
||||
# 2808| mu2808_5(unsigned long) = Store[#return] : &:r2808_1, r2808_4
|
||||
#-----| Goto -> Block 1
|
||||
|
||||
# 2811| Block 4
|
||||
# 2811| Block 3
|
||||
# 2811| r2811_1(glval<unsigned long>) = VariableAddress[#return] :
|
||||
# 2811| r2811_2(unsigned long) = Constant[0] :
|
||||
# 2811| mu2811_3(unsigned long) = Store[#return] : &:r2811_1, r2811_2
|
||||
|
||||
@@ -6,7 +6,6 @@ missingOperandType
|
||||
duplicateChiOperand
|
||||
sideEffectWithoutPrimary
|
||||
instructionWithoutSuccessor
|
||||
| ir.cpp:2808:5:2808:26 | VariableAddress: return ... | Instruction 'VariableAddress: return ...' has no successors in function '$@'. | ir.cpp:2801:8:2801:23 | size_t vla_sizeof_test3(int, size_t, char, bool) | size_t vla_sizeof_test3(int, size_t, char, bool) |
|
||||
ambiguousSuccessors
|
||||
unexplainedLoop
|
||||
unnecessaryPhiInstruction
|
||||
|
||||
@@ -6,7 +6,6 @@ missingOperandType
|
||||
duplicateChiOperand
|
||||
sideEffectWithoutPrimary
|
||||
instructionWithoutSuccessor
|
||||
| ir.cpp:2808:5:2808:26 | VariableAddress: return ... | Instruction 'VariableAddress: return ...' has no successors in function '$@'. | ir.cpp:2801:8:2801:23 | size_t vla_sizeof_test3(int, size_t, char, bool) | size_t vla_sizeof_test3(int, size_t, char, bool) |
|
||||
ambiguousSuccessors
|
||||
unexplainedLoop
|
||||
unnecessaryPhiInstruction
|
||||
|
||||
Reference in New Issue
Block a user