smatch_stored_conditions.c (1f5207b7) | smatch_stored_conditions.c (efe51d0c) |
---|---|
1/* 2 * Copyright (C) 2014 Oracle. 3 * 4 * This program is free software; you can redistribute it and/or 5 * modify it under the terms of the GNU General Public License 6 * as published by the Free Software Foundation; either version 2 7 * of the License, or (at your option) any later version. 8 * --- 224 unchanged lines hidden (view full) --- 233 if (!state) 234 return NULL; 235 return state->data; 236} 237 238void register_stored_conditions(int id) 239{ 240 my_id = id; | 1/* 2 * Copyright (C) 2014 Oracle. 3 * 4 * This program is free software; you can redistribute it and/or 5 * modify it under the terms of the GNU General Public License 6 * as published by the Free Software Foundation; either version 2 7 * of the License, or (at your option) any later version. 8 * --- 224 unchanged lines hidden (view full) --- 233 if (!state) 234 return NULL; 235 return state->data; 236} 237 238void register_stored_conditions(int id) 239{ 240 my_id = id; |
241 set_dynamic_states(my_id); |
|
241} 242 243void register_stored_conditions_links(int id) 244{ 245 link_id = id; | 242} 243 244void register_stored_conditions_links(int id) 245{ 246 link_id = id; |
247 db_ignore_states(link_id); 248 set_dynamic_states(link_id); |
|
246 add_merge_hook(link_id, &merge_links); 247 add_modification_hook(link_id, &match_link_modify); 248} 249 250#define RECURSE_LIMIT 50 251 252static void filter_by_sm(struct sm_state *sm, 253 struct state_list **true_stack, --- 67 unchanged lines hidden --- | 249 add_merge_hook(link_id, &merge_links); 250 add_modification_hook(link_id, &match_link_modify); 251} 252 253#define RECURSE_LIMIT 50 254 255static void filter_by_sm(struct sm_state *sm, 256 struct state_list **true_stack, --- 67 unchanged lines hidden --- |