aboutsummaryrefslogtreecommitdiff
path: root/server/src/image
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/image')
-rw-r--r--server/src/image/pe.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/src/image/pe.h b/server/src/image/pe.h
index fdd8a97..d1a78cc 100644
--- a/server/src/image/pe.h
+++ b/server/src/image/pe.h
@@ -114,6 +114,8 @@ class image {
data.name = reinterpret_cast<const char *>(named_import->name);
data.rva = table->rva_first_thunk + index;
+ std::transform(mod_name.begin(), mod_name.end(), mod_name.begin(), ::tolower);
+
m_imports[mod_name].emplace_back(std::move(data));
}
}