Could you elaborate more?

Yes, of course.

How do you think about the following pattern to cope with more name variations for memory allocation functions?

@@
identifier malloc =~ "\(m\|c\|re\|kc\|kz\)alloc$";
@@


Would also like to handle Windows memory management functions?
http://msdn.microsoft.com/en-gb/site/aa366781

Regards,
Markus
_______________________________________________
Cocci mailing list
[email protected]
http://lists.diku.dk/mailman/listinfo/cocci
(Web access from inside DIKUs LAN only)

Reply via email to