extra: don't reset impossible states after a condition
[smatch.git] / check_debug.h
blob938a83f4634203d3a7e0b56904362617d2684605
1 #ifndef __SMATCH_CHECK_DEBUG
2 #define __SMATCH_CHECK_DEBUG
4 static inline void __smatch_about(long var){}
6 static inline void __smatch_cur_stree(void){}
7 static inline void __smatch_all_values(void){}
8 static inline void __smatch_state(const char *check_name, const char *state_name){}
9 static inline void __smatch_states(const char *check_name){}
10 static inline void __smatch_value(const char *unused){}
11 static inline void __smatch_known(long long val){}
12 static inline void __smatch_implied(long long val){}
13 static inline void __smatch_implied_min(long long val){}
14 static inline void __smatch_implied_max(long long val){}
15 static inline void __smatch_user_rl(long long val){}
16 static inline void __smatch_capped(long long val){}
18 static inline void __smatch_hard_max(long long val){}
19 static inline void __smatch_fuzzy_max(long long val){}
21 static inline void __smatch_absolute(long long val){}
22 static inline void __smatch_absolute_min(long long val){}
23 static inline void __smatch_absolute_max(long long val){}
24 static inline void __smatch_real_absolute(long long val){}
26 static inline void __smatch_sval_info(long long val){}
28 static inline void __smatch_member_name(long long val){}
30 static inline void __smatch_possible(const char *unused){}
31 static inline void __smatch_print_value(const char *unused){}
33 static inline void __smatch_strlen(const void *buf){}
34 static inline void __smatch_buf_size(const void *buf){}
36 static inline void __smatch_note(const char *note){}
38 static inline void __smatch_dump_related(void){}
40 static inline void __smatch_compare(long long one, long long two){}
42 static inline void __smatch_debug_on(void){}
43 static inline void __smatch_debug_check(const char *check_name){}
44 static inline void __smatch_debug_off(void){}
46 static inline void __smatch_local_debug_on(void){}
47 static inline void __smatch_local_debug_off(void){}
49 static inline void __smatch_debug_implied_on(void){}
50 static inline void __smatch_debug_implied_off(void){}
52 static inline void __smatch_intersection(long long one, long long two){}
53 static inline void __smatch_type(long long one){}
55 static long long __smatch_val;
56 static inline long long __smatch_type_rl_helper(long long type, const char *str, ...)
58 return __smatch_val;
60 #define __smatch_type_rl(type, fmt...) __smatch_type_rl_helper((type)0, fmt)
61 #define __smatch_rl(fmt...) __smatch_type_rl(long long, fmt)
63 static inline void __smatch_bit_info(long long expr){}
65 static inline void __smatch_oops(unsigned long null_val){}
67 static inline void __smatch_merge_tree(long long var){}
69 static inline void __smatch_stree_id(void){}
71 static inline void __smatch_mtag(void *p){}
72 static inline void __smatch_mtag_data(long long arg){}
73 static inline void __smatch_exit(void){}
75 static inline void __smatch_state_count(void){}
76 #endif