commit | ead11ca1d6e2fad219677cf9d02b9176279a52bf | [log] [tgz] |
---|---|---|
author | Andres Amaya Garcia <Andres.AmayaGarcia@arm.com> | Thu Jul 06 10:34:12 2017 +0100 |
committer | Andres Amaya Garcia <andres.amayagarcia@arm.com> | Thu Jul 06 10:53:21 2017 +0100 |
tree | 43d0ec37448ffcfd8c3e6e9128590a0366dcd2e1 | |
parent | fbb9837ad56e327f22c6b155e7b2fce796723e33 [diff] [blame] |
Remove malloc references in mbedtls/scripts
diff --git a/scripts/rm-calloc-cast.cocci b/scripts/rm-calloc-cast.cocci new file mode 100644 index 0000000..89481c0 --- /dev/null +++ b/scripts/rm-calloc-cast.cocci
@@ -0,0 +1,7 @@ +@rm_calloc_cast@ +expression x, n, m; +type T; +@@ + x = +- (T *) + mbedtls_calloc(n, m)