Make serialization reproducible

This commit is contained in:
momo5502
2024-10-25 19:27:19 +02:00
parent d782c80f3f
commit b1f79a04c2
6 changed files with 15 additions and 16 deletions

View File

@@ -39,8 +39,7 @@ void syscall_dispatcher::setup(const exported_symbols& ntdll_exports, const expo
void syscall_dispatcher::add_handlers()
{
std::unordered_map<std::string, syscall_handler> handler_mapping{};
handler_mapping.reserve(this->handlers_.size());
std::map<std::string, syscall_handler> handler_mapping{};
this->add_handlers(handler_mapping);