We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7983b16 commit 026abaeCopy full SHA for 026abae
cpp/ql/src/semmle/code/cpp/dataflow/EscapesTree.qll
@@ -212,7 +212,7 @@ private predicate addressMayEscapeAt(Expr e) {
212
213
private predicate addressMayEscapeMutablyAt(Expr e) {
214
addressMayEscapeAt(e) and
215
- exists(Type t | t = e.getType().getUnderlyingType().stripTopLevelSpecifiers() |
+ exists(Type t | t = e.getType().stripTopLevelSpecifiers() |
216
t instanceof PointerType and
217
not t.(PointerType).getBaseType().isConst()
218
or
0 commit comments