Merge pull request #7418 from tkcm01/fix/relinker-backup-copy-export-aliases

fix(relinker): allow Windows export aliases when probing backup copies
This commit is contained in:
Adrià authored and GitHub committed 2026-10-19 21:51:59 +02:00
commit dd4c2a413b
2 files changed
+22 -4

No files matched your search

+1 -1
View File
@@ -81,7 +81,7 @@ NativeModules ReadModules(const std::filesystem::path& inputPath, const std::fil
std::map<std::size_t, std::string> sonames;
const auto soname = [&](std::size_t index) -> const std::string& {
const auto [found, inserted] = sonames.try_emplace(index);
if (inserted) found->second = GuestImageReader().Read(result.Modules[index].Path, result.Modules[index].Bytes).Soname;
if (inserted) found->second = GuestImageReader().Read(result.Modules[index].Path, result.Modules[index].Bytes, true).Soname;
return found->second;
};
std::vector<bool> copies(result.Modules.size());