Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5fbe982 commit 46e6b58Copy full SHA for 46e6b58
1 file changed
cpp/ql/src/semmle/code/cpp/dataflow/internal/FlowVar.qll
@@ -173,6 +173,8 @@ module FlowVar_internal {
173
// the call. It's fundamental in SSA that each use is only associated with
174
// one def, so we can't easily get this effect with SSA.
175
not definitionByReference(v.getAnAccess(), _) and
176
+ // A partially-defined variable is handled using the partial definitions logic.
177
+ not any(PartialDefinitions::PartialDefinition p).partiallyDefines(v) and
178
// SSA variables do not exist before their first assignment, but one
179
// feature of this data flow library is to track where uninitialized data
180
// ends up.
0 commit comments