Merge branch 'main' into knowndlls-patch

This commit is contained in:
ahmed
2026-01-11 01:47:34 +02:00
committed by GitHub
15 changed files with 441 additions and 24 deletions

View File

@@ -59,6 +59,12 @@ class typed_emulator : public emulator
return result;
}
void write_stack(const size_t index, const pointer_type& value)
{
const auto sp = this->read_stack_pointer();
this->write_memory(sp + (index * pointer_size), &value, sizeof(value));
}
void push_stack(const pointer_type& value)
{
const auto sp = this->read_stack_pointer() - pointer_size;