The Great Renaming
A simple execution of tmp/invoke-rename.pl
diff --git a/scripts/find-mem-leak.cocci b/scripts/find-mem-leak.cocci
index 34cfd08..5cfe452 100644
--- a/scripts/find-mem-leak.cocci
+++ b/scripts/find-mem-leak.cocci
@@ -2,8 +2,8 @@
expression x, y;
statement S;
@@
- x = polarssl_malloc(...);
- y = polarssl_malloc(...);
+ x = mbedtls_malloc(...);
+ y = mbedtls_malloc(...);
...
* if (x == NULL || y == NULL)
S
@@ -13,8 +13,8 @@
statement S;
@@
if (
-* (x = polarssl_malloc(...)) == NULL
+* (x = mbedtls_malloc(...)) == NULL
||
-* (y = polarssl_malloc(...)) == NULL
+* (y = mbedtls_malloc(...)) == NULL
)
S