1 #include "check_debug.h"
12 static void func (void)
42 * check-name: Null Dereferences
43 * check-command: smatch --spammy -I.. sm_null_deref.c
46 sm_null_deref.c:18 func() error: potentially dereferencing uninitialized 'aa'.
47 sm_null_deref.c:23 func() error: we previously assumed 'a' could be null (see line 20)
48 sm_null_deref.c:25 func() warn: variable dereferenced before check 'a' (see line 23)
49 sm_null_deref.c:30 func() error: we previously assumed 'b' could be null (see line 25)