C++: Shorten alert message

We don't write the reason for the alert in the alert message.
This commit is contained in:
Jonas Jensen
2019-04-10 13:37:55 +02:00
parent e38ac9f88a
commit 40aea2f76d
2 changed files with 18 additions and 18 deletions

View File

@@ -326,5 +326,5 @@ from LoopWithAlloca l
where
not l.(DoStmt).getCondition().getValue() = "0" and
not l.isTightlyBounded()
select l.getAnAllocaCall(), "Stack allocation is inside a $@ and could lead to stack overflow.", l,
select l.getAnAllocaCall(), "Stack allocation is inside a $@ loop.", l,
l.toString()