Always restore aslr bit

This commit is contained in:
momo5502 2022-09-18 08:34:27 +02:00
parent b3fa303fdd
commit ff59d3efa9

View File

@ -645,10 +645,8 @@ namespace arxan
public:
component()
{
#ifndef NDEBUG
auto* dll_characteristics = &utils::nt::library().get_optional_header()->DllCharacteristics;
utils::hook::set<WORD>(dll_characteristics, *dll_characteristics | IMAGE_DLLCHARACTERISTICS_DYNAMIC_BASE);
#endif
}
void pre_start() override