[FEATURE]add maat_state_get_last_hit_group_ids API => TSG-17831

This commit is contained in:
刘文坛
2023-12-07 08:08:25 +00:00
parent 59ee9364c9
commit 972d3a1219
5 changed files with 70 additions and 19 deletions

View File

@@ -2139,4 +2139,16 @@ size_t maat_state_get_indirect_hit_group_cnt(struct maat_state *state)
}
return compile_state_get_indirect_hit_group_cnt(state->compile_state);
}
int maat_state_get_last_hit_group_ids(struct maat_state *state,
long long *group_id_array,
size_t array_size)
{
if (NULL == state || NULL == state->compile_state) {
return 0;
}
return compile_state_get_last_hit_group_id(state->compile_state,
group_id_array, array_size);
}