slist: cleanup merge_hooks API
[smatch.git] / check_list.h
blob8f72c6398823c4780101c349c2d97ee54bdfac48
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_definition_db_callbacks)
9 CK(register_project)
11 CK(register_smatch_ignore)
12 CK(register_buf_size)
13 CK(register_strlen)
14 CK(register_capped)
16 CK(check_debug)
17 CK(check_assigned_expr)
18 CK(check_user_data)
20 CK(check_bogus_loop)
22 CK(check_deref)
23 CK(check_check_deref)
24 CK(check_dereferences_param)
25 CK(check_overflow)
26 CK(check_leaks)
27 CK(check_type)
28 CK(check_allocation_funcs)
29 CK(check_frees_argument)
30 CK(check_balanced)
31 CK(check_deref_check)
32 CK(check_redundant_null_check)
33 CK(check_signed)
34 CK(check_precedence)
35 CK(check_format_string)
36 CK(check_unused_ret)
37 CK(check_dma_on_stack)
38 CK(check_param_mapper)
39 CK(check_db_info)
40 CK(check_call_tree)
41 CK(check_dev_queue_xmit)
42 CK(check_stack)
43 CK(check_no_return)
44 CK(check_mod_timer)
45 CK(check_return)
46 CK(check_resource_size)
47 CK(check_release_resource)
48 CK(check_proc_create)
49 CK(check_freeing_null)
50 CK(check_free)
51 CK(check_no_effect)
52 CK(check_kunmap)
53 CK(check_snprintf)
54 CK(check_macros)
55 CK(check_propagate)
56 CK(check_return_efault)
57 CK(check_gfp_dma)
58 CK(check_unwind)
59 CK(check_kmalloc_to_bugon)
60 CK(check_platform_device_put)
61 CK(check_info_leak)
62 CK(check_return_enomem)
63 CK(check_get_user_overflow)
64 CK(check_get_user_overflow2)
65 CK(check_access_ok_math)
66 CK(check_container_of)
67 CK(check_input_free_device)
68 CK(check_select)
69 CK(check_memset)
70 CK(check_logical_instead_of_bitwise)
71 CK(check_kmalloc_wrong_size)
72 CK(check_pointer_math)
73 CK(check_bit_shift)
74 CK(check_macro_side_effects)
75 CK(check_bool_implications)
76 CK(check_sizeof_pointer)
77 CK(check_or_vs_and)
78 CK(check_passes_sizeof)
80 /* <- your test goes here */
81 /* CK(register_template) */
83 /* kernel specific */
84 CK(check_kernel)
85 CK(check_locking)
86 CK(check_puts_argument)
87 CK(check_err_ptr)
88 CK(check_err_ptr_deref)
89 CK(check_expects_err_ptr)
90 CK(check_hold_dev)
91 CK(check_return_negative_var)
92 CK(check_rosenberg)
93 CK(check_wait_for_common)
94 CK(check_bogus_irqrestore)
95 CK(check_param_range)
97 /* wine specific stuff */
98 CK(check_wine_filehandles)
99 CK(check_wine_WtoA)
101 #include "check_list_local.h"
103 CK(register_modification_hooks_late)
104 CK(register_smatch_extra_late)
105 CK(register_returns)
106 CK(register_implications) /* implications always has to be last */
108 #ifdef __undo_CK_def
109 #undef CK
110 #undef __undo_CK_def
111 #endif