Small fixes
This commit is contained in:
parent
95df5bc91e
commit
4097ed37d5
@ -60,6 +60,9 @@ namespace arxan
|
||||
L"HxD",
|
||||
L"cheatengine",
|
||||
L"Cheat Engine",
|
||||
L"x96dbg",
|
||||
L"x32dbg",
|
||||
L"x64dbg",
|
||||
};
|
||||
|
||||
if (!string.Buffer || !string.Length)
|
||||
|
@ -20,7 +20,6 @@ namespace console
|
||||
public:
|
||||
void post_unpack() override
|
||||
{
|
||||
|
||||
this->terminate_runner_ = false;
|
||||
|
||||
this->console_runner_ = utils::thread::create_named_thread("Console IO", [this]
|
||||
|
@ -101,6 +101,7 @@ namespace
|
||||
{
|
||||
public:
|
||||
patch() = default;
|
||||
|
||||
patch(void* source, void* target)
|
||||
: source_(source)
|
||||
{
|
||||
@ -185,14 +186,14 @@ namespace
|
||||
|
||||
void nullsub()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void patch_entry_point()
|
||||
{
|
||||
initialization_hooks.emplace_back(get_entry_point(), patch_main);
|
||||
|
||||
for(auto* tls_callback : get_tls_callbacks()) {
|
||||
for (auto* tls_callback : get_tls_callbacks())
|
||||
{
|
||||
initialization_hooks.emplace_back(tls_callback, nullsub);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user