File: rm-malloc-cast.cocci

package info (click to toggle)
mbedtls 2.4.2-1%2Bdeb9u3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 13,208 kB
  • sloc: ansic: 66,438; sh: 5,507; perl: 1,440; cpp: 1,183; makefile: 785; tcl: 4
file content (7 lines) | stat: -rw-r--r-- 79 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
@rm_malloc_cast@
expression x, n;
type T;
@@
  x =
- (T *)
  mbedtls_malloc(n)