Skip to content

Commit 9e9c811

Browse files
committed
C++: Fix conflation bug in 'getIRRepresentationOfIndirectInstruction'.
1 parent 5816f17 commit 9e9c811

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp/ql/lib/semmle/code/cpp/ir/dataflow/internal/SsaInternalsCommon.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -796,7 +796,7 @@ private module Cached {
796796
address.getDef() = instr and
797797
isDereference(load, address) and
798798
isUseImpl(address, _, indirectionIndex - 1) and
799-
result = instr
799+
result = load
800800
)
801801
}
802802

0 commit comments

Comments
 (0)