[Kernel] Added missing module hash calculation

This commit is contained in:
Gliniak 2022-05-25 09:03:03 +02:00
parent 542e075699
commit 5a71b55233
1 changed files with 5 additions and 0 deletions

View File

@ -395,8 +395,13 @@ void UserModule::Dump() {
kernel_state_->emulator()->export_resolver();
auto header = xex_header();
CalculateHash();
// XEX header.
sb.AppendFormat("Module {}:\n", path_);
sb.AppendFormat("Module Hash: {:016X}\n", hash_);
sb.AppendFormat(" Module Flags: {:08X}\n", (uint32_t)header->module_flags);
// Security header