Closed anthonyprintup closed 2 years ago
Looks like (1) is handled nicely here but not (2) (ref https://github.com/OALabs/hashdb-ida/pull/27#pullrequestreview-799133087)
I think it would be best to pass in an is_api
flag to add_enums
which could be used to decide when to use a suffix and when not to? Open to other suggestions though.
I think that deciding if a suffix should be used based on if the hash is an API is unnecessary because we have to check if a name is taken either way. Each hash value in the hash list would have to be accompanied by is_api
to avoid any shenanigans.
add_enums
now takes one additional argument which has the default value ofhdb
,member_name
.fixes #23