We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ba9741f commit 42be28bCopy full SHA for 42be28b
cpp/ql/src/semmle/code/cpp/ir/implementation/aliased_ssa/internal/AliasedSSA.qll
@@ -401,9 +401,7 @@ private predicate isRelatableMemoryLocation(VariableMemoryLocation vml) {
401
vml.getStartBitOffset() != Ints::unknown()
402
}
403
404
-private predicate isCoveredOffset(
405
- IRVariable var, int offsetRank, VariableMemoryLocation vml
406
-) {
+private predicate isCoveredOffset(IRVariable var, int offsetRank, VariableMemoryLocation vml) {
407
exists(int startRank, int endRank, VirtualVariable vvar |
408
vml.getStartBitOffset() = rank[startRank](IntValue offset_ | isRelevantOffset(vvar, offset_)) and
409
vml.getEndBitOffset() = rank[endRank](IntValue offset_ | isRelevantOffset(vvar, offset_)) and
0 commit comments