mirror of
https://github.com/github/codeql.git
synced 2026-04-24 08:15:14 +02:00
Update cpp/ql/lib/semmle/code/cpp/ir/dataflow/internal/TypeFlow.qll
Co-authored-by: Jeroen Ketema <93738568+jketema@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
386580fc94
commit
2a7420ce11
@@ -7,7 +7,7 @@ private module Input implements TypeFlowInput<Location> {
|
||||
// The address of a variable is always a single object
|
||||
i instanceof VariableAddressInstruction
|
||||
or
|
||||
// A reference always points to a always a single object
|
||||
// A reference always points to a single object
|
||||
i.getResultLanguageType().hasUnspecifiedType(any(ReferenceType rt), false)
|
||||
or
|
||||
// `this` is never an array
|
||||
|
||||
Reference in New Issue
Block a user