scripts: trace params use 4 space indents consistently
[smatch.git] / check_list.h
blob2086c17e76f7304a4ab5eb137cef0efe6dbe4f4d
1 #ifndef CK
2 #define CK(_x) void _x(int id);
3 #define __undo_CK_def
4 #endif
6 CK(register_smatch_extra) /* smatch_extra always has to be first */
7 CK(register_modification_hooks)
8 CK(register_absolute)
9 CK(register_definition_db_callbacks)
10 CK(register_project)
12 CK(register_smatch_ignore)
13 CK(register_buf_size)
14 CK(register_strlen)
15 CK(register_capped)
16 CK(register_parse_call_math)
18 CK(check_debug)
19 CK(check_assigned_expr)
20 CK(check_user_data)
22 CK(check_bogus_loop)
24 CK(check_deref)
25 CK(check_check_deref)
26 CK(check_dereferences_param)
27 CK(check_overflow)
28 CK(check_leaks)
29 CK(check_type)
30 CK(check_allocation_funcs)
31 CK(check_frees_argument)
32 CK(check_balanced)
33 CK(check_deref_check)
34 CK(check_redundant_null_check)
35 CK(check_signed)
36 CK(check_precedence)
37 CK(check_format_string)
38 CK(check_unused_ret)
39 CK(check_dma_on_stack)
40 CK(check_param_mapper)
41 CK(check_db_info)
42 CK(check_call_tree)
43 CK(check_dev_queue_xmit)
44 CK(check_stack)
45 CK(check_no_return)
46 CK(check_mod_timer)
47 CK(check_return)
48 CK(check_resource_size)
49 CK(check_release_resource)
50 CK(check_proc_create)
51 CK(check_freeing_null)
52 CK(check_free)
53 CK(check_no_effect)
54 CK(check_kunmap)
55 CK(check_snprintf)
56 CK(check_macros)
57 CK(check_propagate)
58 CK(check_return_efault)
59 CK(check_gfp_dma)
60 CK(check_unwind)
61 CK(check_kmalloc_to_bugon)
62 CK(check_platform_device_put)
63 CK(check_info_leak)
64 CK(check_return_enomem)
65 CK(check_get_user_overflow)
66 CK(check_get_user_overflow2)
67 CK(check_access_ok_math)
68 CK(check_container_of)
69 CK(check_input_free_device)
70 CK(check_select)
71 CK(check_memset)
72 CK(check_logical_instead_of_bitwise)
73 CK(check_kmalloc_wrong_size)
74 CK(check_pointer_math)
75 CK(check_bit_shift)
76 CK(check_macro_side_effects)
77 CK(check_bool_implications)
78 CK(check_sizeof_pointer)
79 CK(check_or_vs_and)
80 CK(check_passes_sizeof)
81 CK(check_assign_vs_compare)
83 /* <- your test goes here */
84 /* CK(register_template) */
86 /* kernel specific */
87 CK(check_kernel)
88 CK(check_locking)
89 CK(check_puts_argument)
90 CK(check_err_ptr)
91 CK(check_err_ptr_deref)
92 CK(check_expects_err_ptr)
93 CK(check_hold_dev)
94 CK(check_return_negative_var)
95 CK(check_rosenberg)
96 CK(check_wait_for_common)
97 CK(check_bogus_irqrestore)
98 CK(check_param_range)
100 /* wine specific stuff */
101 CK(check_wine_filehandles)
102 CK(check_wine_WtoA)
104 #include "check_list_local.h"
106 CK(register_sval)
107 CK(register_buf_size_late)
108 CK(register_modification_hooks_late)
109 CK(register_smatch_extra_late)
110 CK(register_function_hooks)
111 CK(register_returns)
112 CK(register_implications) /* implications always has to be last */
114 #ifdef __undo_CK_def
115 #undef CK
116 #undef __undo_CK_def
117 #endif