7 static void func (struct foo
*aa
)
12 void func1 (struct foo
*ab
)
15 printf("Error ad is not ALLOWED to be NULL\n");
21 struct foo
*ac
= returns_nonnull(sizeof(*ac
));
31 * check-name: Cross function dereferences
32 * check-command: smatch sm_params.c
35 sm_params.c +16 unchecked param func1 0
36 sm_params.c +26 cross_func deref func 0
37 sm_params.c +27 cross_func deref func1 0
38 sm_params.c +28 cross_func deref func 0