| Index: syzygy/agent/asan/registry_cache.cc
|
| diff --git a/syzygy/agent/asan/registry_cache.cc b/syzygy/agent/asan/registry_cache.cc
|
| index 8d6a42ddc1f925135ae936b87dae9ca7f73820fe..d7e2bfdfac153746133cbd441cb8700b8e62fd50 100644
|
| --- a/syzygy/agent/asan/registry_cache.cc
|
| +++ b/syzygy/agent/asan/registry_cache.cc
|
| @@ -135,9 +135,14 @@ bool RegistryCache::InitModuleInfo() {
|
| module_version_ = version_info->product_version();
|
| if (module_version_.empty()) {
|
| // If that fails, we try grabbing the version from the PE signature.
|
| +#ifndef _WIN64
|
| pe::PEFile pe_file;
|
| + pe::PEFile::Signature signature;
|
| +#else
|
| + pe::PEFile64 pe_file;
|
| + pe::PEFile64::Signature signature;
|
| +#endif
|
| if (pe_file.Init(file_path)) {
|
| - pe::PEFile::Signature signature;
|
| pe_file.GetSignature(&signature);
|
| module_version_ = base::StringPrintf(
|
| L"%08X%x", signature.module_time_date_stamp, signature.module_size);
|
|
|