Update data structure

This commit is contained in:
topjohnwu
2022-02-07 00:17:07 -08:00
parent e9348d9b6a
commit 3145e67feb
3 changed files with 69 additions and 50 deletions

View File

@@ -69,11 +69,6 @@ struct HookContext {
#undef DCL_PRE_POST
struct StringCmp {
using is_transparent = void;
bool operator()(string_view a, string_view b) const { return a < b; }
};
// Global variables
vector<tuple<const char *, const char *, void **>> *xhook_list;
map<string, vector<JNINativeMethod>, StringCmp> *jni_hook_list;