Disable resources hooking as default

Resources hooking might has been broken since Q
This commit is contained in:
solohsu 2020-08-03 17:57:07 +08:00
parent dd45ba35cd
commit b1bc7200a6
2 changed files with 2 additions and 2 deletions

View File

@ -86,7 +86,7 @@ namespace edxp {
dynamic_modules_enabled_ = access(GetConfigPath("dynamicmodules").c_str(), F_OK) == 0;
black_white_list_enabled_ = access(GetConfigPath("blackwhitelist").c_str(), F_OK) == 0;
deopt_boot_image_enabled_ = access(GetConfigPath("deoptbootimage").c_str(), F_OK) == 0;
resources_hook_enabled_ = access(GetConfigPath("disable_resources").c_str(), F_OK) != 0;
resources_hook_enabled_ = access(GetConfigPath("enable_resources").c_str(), F_OK) == 0;
no_module_log_enabled_ = access(GetConfigPath("disable_modules_log").c_str(), F_OK) == 0;
hidden_api_bypass_enabled_ = access(GetConfigPath("disable_hidden_api_bypass").c_str(), F_OK) != 0;

View File

@ -63,7 +63,7 @@ namespace edxp {
bool dynamic_modules_enabled_ = false;
bool deopt_boot_image_enabled_ = false;
bool no_module_log_enabled_ = false;
bool resources_hook_enabled_ = true;
bool resources_hook_enabled_ = false;
// snapshot at boot
bool use_white_list_snapshot_ = false;
std::vector<std::string> white_list_default_;