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
)
11 CK(register_smatch_ignore
)
14 CK(register_strlen_equiv
)
16 CK(register_parse_call_math
)
17 CK(register_param_limit
)
18 CK(register_param_filter
)
19 CK(register_param_set
)
20 CK(register_param_cleared
)
21 CK(register_struct_assignment
)
22 CK(register_comparison
)
23 CK(register_comparison_links
)
24 CK(register_local_values
)
25 CK(register_function_ptrs
)
27 CK(register_start_states
)
29 CK(register_data_source
)
30 CK(register_common_functions
)
31 CK(register_stored_conditions_links
)
32 CK(register_function_info
)
33 CK(register_auto_copy
)
36 CK(check_assigned_expr
)
37 CK(check_assigned_expr_links
)
44 CK(check_dereferences_param
)
49 CK(check_allocation_funcs
)
50 CK(check_frees_argument
)
53 CK(check_redundant_null_check
)
56 CK(check_format_string
)
58 CK(check_dma_on_stack
)
59 CK(check_param_mapper
)
61 CK(check_dev_queue_xmit
)
66 CK(check_resource_size
)
67 CK(check_release_resource
)
69 CK(check_freeing_null
)
75 CK(check_return_efault
)
78 CK(check_kmalloc_to_bugon
)
79 CK(check_platform_device_put
)
81 CK(check_return_enomem
)
82 CK(check_get_user_overflow
)
83 CK(check_get_user_overflow2
)
84 CK(check_access_ok_math
)
85 CK(check_container_of
)
86 CK(check_input_free_device
)
89 CK(check_logical_instead_of_bitwise
)
90 CK(check_kmalloc_wrong_size
)
91 CK(check_pointer_math
)
93 CK(check_macro_side_effects
)
96 CK(check_passes_sizeof
)
97 CK(check_assign_vs_compare
)
98 CK(check_missing_break
)
99 CK(check_array_condition
)
100 CK(check_struct_type
)
101 CK(check_cast_assign
)
102 CK(check_readl_infinite_loops
)
103 CK(check_double_checking
)
104 CK(check_shift_to_zero
)
105 CK(check_unreachable
)
106 CK(check_no_if_block
)
108 /* <- your test goes here */
109 /* CK(register_template) */
111 /* kernel specific */
113 CK(check_puts_argument
)
115 CK(check_err_ptr_deref
)
116 CK(check_expects_err_ptr
)
118 CK(check_return_negative_var
)
121 CK(check_wait_for_common
)
122 CK(check_bogus_irqrestore
)
123 CK(check_buf_comparison
)
124 CK(check_buf_comparison_links
)
126 /* wine specific stuff */
127 CK(check_wine_filehandles
)
130 #include "check_list_local.h"
132 CK(register_stored_conditions
)
134 CK(register_buf_size_late
)
135 CK(register_modification_hooks_late
)
136 CK(register_smatch_extra_late
)
137 CK(check_kernel
) /* this is overwriting stuff from smatch_extra_late */
138 CK(register_function_hooks
)
140 CK(register_db_call_marker
) /* always second last */
141 CK(register_implications
) /* implications always has to be last */