minidump support: dump loading and process reconstruction

This commit is contained in:
redthing1
2025-06-09 23:12:45 -07:00
parent 906cec808a
commit 5d9dd122d2
14 changed files with 914 additions and 6 deletions

View File

@@ -12,6 +12,8 @@
#include "network/static_socket_factory.hpp"
#include "minidump_loader.hpp"
constexpr auto MAX_INSTRUCTIONS_PER_TIME_SLICE = 0x20000;
namespace
@@ -662,3 +664,9 @@ void windows_emulator::restore_snapshot()
this->process.deserialize(buffer);
// this->process = *this->process_snapshot_;
}
void windows_emulator::load_minidump(const std::filesystem::path& minidump_path)
{
minidump_loader mdmp_loader(*this, minidump_path);
mdmp_loader.load_into_emulator();
}