mirror of
https://github.com/github/codeql.git
synced 2025-12-22 03:36:30 +01:00
C++: Put AliasedSSA.qll in new qlformat style
This commit is contained in:
@@ -554,8 +554,9 @@ MemoryLocation getResultMemoryLocation(Instruction instr) {
|
|||||||
)
|
)
|
||||||
or
|
or
|
||||||
kind instanceof EntireAllocationMemoryAccess and
|
kind instanceof EntireAllocationMemoryAccess and
|
||||||
result = TEntireAllocationMemoryLocation(getAddressOperandAllocation(instr
|
result =
|
||||||
.getResultAddressOperand()), isMayAccess)
|
TEntireAllocationMemoryLocation(getAddressOperandAllocation(instr.getResultAddressOperand()),
|
||||||
|
isMayAccess)
|
||||||
or
|
or
|
||||||
kind instanceof EscapedMemoryAccess and
|
kind instanceof EscapedMemoryAccess and
|
||||||
result = TAllAliasedMemory(instr.getEnclosingIRFunction(), isMayAccess)
|
result = TAllAliasedMemory(instr.getEnclosingIRFunction(), isMayAccess)
|
||||||
@@ -584,8 +585,9 @@ MemoryLocation getOperandMemoryLocation(MemoryOperand operand) {
|
|||||||
)
|
)
|
||||||
or
|
or
|
||||||
kind instanceof EntireAllocationMemoryAccess and
|
kind instanceof EntireAllocationMemoryAccess and
|
||||||
result = TEntireAllocationMemoryLocation(getAddressOperandAllocation(operand
|
result =
|
||||||
.getAddressOperand()), isMayAccess)
|
TEntireAllocationMemoryLocation(getAddressOperandAllocation(operand.getAddressOperand()),
|
||||||
|
isMayAccess)
|
||||||
or
|
or
|
||||||
kind instanceof EscapedMemoryAccess and
|
kind instanceof EscapedMemoryAccess and
|
||||||
result = TAllAliasedMemory(operand.getEnclosingIRFunction(), isMayAccess)
|
result = TAllAliasedMemory(operand.getEnclosingIRFunction(), isMayAccess)
|
||||||
|
|||||||
Reference in New Issue
Block a user