Always restore aslr bit
This commit is contained in:
parent
b3fa303fdd
commit
ff59d3efa9
@ -645,10 +645,8 @@ namespace arxan
|
|||||||
public:
|
public:
|
||||||
component()
|
component()
|
||||||
{
|
{
|
||||||
#ifndef NDEBUG
|
|
||||||
auto* dll_characteristics = &utils::nt::library().get_optional_header()->DllCharacteristics;
|
auto* dll_characteristics = &utils::nt::library().get_optional_header()->DllCharacteristics;
|
||||||
utils::hook::set<WORD>(dll_characteristics, *dll_characteristics | IMAGE_DLLCHARACTERISTICS_DYNAMIC_BASE);
|
utils::hook::set<WORD>(dll_characteristics, *dll_characteristics | IMAGE_DLLCHARACTERISTICS_DYNAMIC_BASE);
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void pre_start() override
|
void pre_start() override
|
||||||
|
Loading…
Reference in New Issue
Block a user