Add a semantic patch to remove casts of malloc.

This commit is contained in:
Mansour Moufid 2015-02-15 17:34:22 -05:00
parent 539d972a25
commit 5b535de474

View file

@ -0,0 +1,7 @@
@rm_malloc_cast@
expression x, n;
type T;
@@
x =
- (T *)
polarssl_malloc(n)