debug: update debug to handle the new comparison features
[smatch.git] / check_list.h
blob40b6d40121e529fd2e2bf8c09de11259ad483fcb
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)
15 CK(register_parse_call_math)
16 CK(register_param_limit)
17 CK(register_param_filter)
18 CK(register_param_set)
19 CK(register_param_cleared)
20 CK(register_clear_buffer)
21 CK(register_comparison)
22 CK(register_comparison_links)
23 CK(register_local_values)
24 CK(register_function_ptrs)
25 CK(register_annotate)
26 CK(register_start_states)
28 CK(check_debug)
29 CK(check_assigned_expr)
30 CK(check_user_data)
32 CK(check_bogus_loop)
34 CK(check_deref)
35 CK(check_check_deref)
36 CK(check_dereferences_param)
37 CK(check_overflow)
38 CK(check_leaks)
39 CK(check_type)
40 CK(check_allocation_funcs)
41 CK(check_frees_argument)
42 CK(check_balanced)
43 CK(check_deref_check)
44 CK(check_redundant_null_check)
45 CK(check_signed)
46 CK(check_precedence)
47 CK(check_format_string)
48 CK(check_unused_ret)
49 CK(check_dma_on_stack)
50 CK(check_param_mapper)
51 CK(check_call_tree)
52 CK(check_dev_queue_xmit)
53 CK(check_stack)
54 CK(check_no_return)
55 CK(check_mod_timer)
56 CK(check_return)
57 CK(check_resource_size)
58 CK(check_release_resource)
59 CK(check_proc_create)
60 CK(check_freeing_null)
61 CK(check_free)
62 CK(check_no_effect)
63 CK(check_kunmap)
64 CK(check_snprintf)
65 CK(check_macros)
66 CK(check_propagate)
67 CK(check_return_efault)
68 CK(check_gfp_dma)
69 CK(check_unwind)
70 CK(check_kmalloc_to_bugon)
71 CK(check_platform_device_put)
72 CK(check_info_leak)
73 CK(check_return_enomem)
74 CK(check_get_user_overflow)
75 CK(check_get_user_overflow2)
76 CK(check_access_ok_math)
77 CK(check_container_of)
78 CK(check_input_free_device)
79 CK(check_select)
80 CK(check_memset)
81 CK(check_logical_instead_of_bitwise)
82 CK(check_kmalloc_wrong_size)
83 CK(check_pointer_math)
84 CK(check_bit_shift)
85 CK(check_macro_side_effects)
86 CK(check_sizeof)
87 CK(check_or_vs_and)
88 CK(check_passes_sizeof)
89 CK(check_assign_vs_compare)
90 CK(check_missing_break)
91 CK(check_struct_type)
93 /* <- your test goes here */
94 /* CK(register_template) */
96 /* kernel specific */
97 CK(check_locking)
98 CK(check_puts_argument)
99 CK(check_err_ptr)
100 CK(check_err_ptr_deref)
101 CK(check_expects_err_ptr)
102 CK(check_held_dev)
103 CK(check_return_negative_var)
104 CK(check_rosenberg)
105 CK(check_rosenberg2)
106 CK(check_wait_for_common)
107 CK(check_bogus_irqrestore)
109 /* wine specific stuff */
110 CK(check_wine_filehandles)
111 CK(check_wine_WtoA)
113 #include "check_list_local.h"
115 CK(register_sval)
116 CK(register_buf_size_late)
117 CK(register_modification_hooks_late)
118 CK(register_smatch_extra_late)
119 CK(check_kernel) /* this is overwriting stuff from smatch_extra_late */
120 CK(register_function_hooks)
121 CK(register_returns)
122 CK(register_db_call_marker) /* always second last */
123 CK(register_implications) /* implications always has to be last */
125 #ifdef __undo_CK_def
126 #undef CK
127 #undef __undo_CK_def
128 #endif