Print this page
smatch: check libld_* allocation functions

*** 112,121 **** --- 112,123 ---- } add_hook(&match_function_def, FUNC_DEF_HOOK); add_function_hook("free", &match_free, INT_PTR(0)); + if (option_project == PROJ_ILLUMOS_USER) + add_function_hook("libld_free", &match_free, INT_PTR(0)); select_return_implies_hook(PARAM_FREED, &set_param_freed); add_modification_hook(my_id, &set_ignore); all_return_states_hook(&process_states);