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 3536d84 commit 488a55bCopy full SHA for 488a55b
1 file changed
cpp/ql/src/Critical/SizeCheck2.ql
@@ -15,9 +15,7 @@
15
import cpp
16
17
class Allocation extends FunctionCall {
18
- Allocation() {
19
- this.getTarget().hasGlobalOrStdName(["malloc", "calloc", "realloc"])
20
- }
+ Allocation() { this.getTarget().hasGlobalOrStdName(["malloc", "calloc", "realloc"]) }
21
22
private string getName() { this.getTarget().hasGlobalOrStdName(result) }
23
0 commit comments