Add a semantic patch to remove casts of malloc.

This commit is contained in:
Mansour Moufid 2015-02-15 17:34:22 -05:00 committed by Manuel Pégourié-Gonnard
parent 671589d9a2
commit fd9afb29d3

View File

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