2 #define CK(_x) void _x(int id);
6 CK(register_smatch_extra
) /* smatch_extra always has to be first */
7 CK(register_modification_hooks
)
8 CK(register_definition_db_callbacks
)
10 CK(register_untracked_param
)
12 CK(register_smatch_ignore
)
15 CK(register_strlen_equiv
)
17 CK(register_parse_call_math
)
18 CK(register_param_limit
)
19 CK(register_param_filter
)
20 CK(register_param_set
)
21 CK(register_param_cleared
)
22 CK(register_struct_assignment
)
23 CK(register_comparison
)
24 CK(register_comparison_links
)
25 CK(register_local_values
)
26 CK(register_function_ptrs
)
28 CK(register_start_states
)
30 CK(register_data_source
)
31 CK(register_common_functions
)
32 CK(register_stored_conditions_links
)
33 CK(register_function_info
)
34 CK(register_auto_copy
)
35 CK(register_type_links
)
36 CK(register_impossible
)
37 CK(register_impossible_return
)
40 CK(check_assigned_expr
)
41 CK(check_assigned_expr_links
)
51 CK(check_dereferences_param
)
56 CK(check_allocation_funcs
)
57 CK(check_frees_argument
)
62 CK(check_format_string
)
64 CK(check_dma_on_stack
)
65 CK(check_param_mapper
)
67 CK(check_dev_queue_xmit
)
72 CK(check_resource_size
)
73 CK(check_release_resource
)
75 CK(check_freeing_null
)
81 CK(check_return_efault
)
84 CK(check_kmalloc_to_bugon
)
85 CK(check_platform_device_put
)
87 CK(check_return_enomem
)
88 CK(check_get_user_overflow
)
89 CK(check_get_user_overflow2
)
90 CK(check_access_ok_math
)
91 CK(check_container_of
)
92 CK(check_input_free_device
)
95 CK(check_logical_instead_of_bitwise
)
96 CK(check_kmalloc_wrong_size
)
97 CK(check_pointer_math
)
99 CK(check_macro_side_effects
)
102 CK(check_passes_sizeof
)
103 CK(check_assign_vs_compare
)
104 CK(check_missing_break
)
105 CK(check_array_condition
)
106 CK(check_struct_type
)
107 CK(check_64bit_shift
)
108 CK(check_wrong_size_arg
)
109 CK(check_cast_assign
)
110 CK(check_readl_infinite_loops
)
111 CK(check_double_checking
)
112 CK(check_shift_to_zero
)
113 CK(check_unreachable
)
114 CK(check_no_if_block
)
115 CK(check_buffer_too_small_for_struct
)
117 /* <- your test goes here */
118 /* CK(register_template) */
120 /* kernel specific */
121 CK(check_kernel_printf
)
123 CK(check_puts_argument
)
125 CK(check_err_ptr_deref
)
126 CK(check_expects_err_ptr
)
128 CK(check_return_negative_var
)
131 CK(check_wait_for_common
)
132 CK(check_bogus_irqrestore
)
133 CK(check_buf_comparison
)
134 CK(check_buf_comparison_links
)
138 /* wine specific stuff */
139 CK(check_wine_filehandles
)
142 #include "check_list_local.h"
144 CK(register_stored_conditions
)
146 CK(register_buf_size_late
)
147 CK(register_modification_hooks_late
)
148 CK(register_smatch_extra_late
)
149 CK(check_kernel
) /* this is overwriting stuff from smatch_extra_late */
150 CK(register_function_hooks
)
152 CK(register_db_call_marker
) /* always second last */
153 CK(register_implications
) /* implications always has to be last */