[OPTIMIZE]get_hit_groups don't return superior group id & hit_groups may be duplicated

This commit is contained in:
liuwentan
2023-09-08 14:52:46 +08:00
parent ca2e4d6cd2
commit c237d7dbaf
6 changed files with 74 additions and 202 deletions

View File

@@ -1971,7 +1971,7 @@ int maat_state_get_hit_groups(struct maat_state *state, enum maat_list_type type
return maat_compile_state_get_hit_groups(state->compile_state,
(struct group2group_runtime *)g2g_runtime,
type, groups, n_group, state->maat_inst->logger);
type, groups, n_group);
}
int maat_hit_group_compile_id(struct maat *instance, struct maat_hit_group *group)