commit | fe9483184f9c03094353796afcad9c1d351df49d | [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:34:12 2017 +0100 |
tree | 79f58cf1d543410ae63a2eedb0b7527c891636d8 | |
parent | f2a597fa3dd1c7b15e0fee62f6932b253295803d [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)