windows - 在 Windows 上验证 64 位二进制文​​件

标签 windows binary 64-bit

如何验证 .exe 文件是为 Windows 上的 64 位构建的?我习惯了 Linux,我可以简单地使用"file"命令来查看它。

最佳答案

使用 HEX 编辑器查看文件。在 DOS stub 之后的某处有一个 PE 魔术签名,平台 ID 紧随其后(一些字节之后)。对于 64 位版本,它是 0x8664 左右,这很容易被发现。

关于windows - 在 Windows 上验证 64 位二进制文​​件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2948186/

相关文章:

c++ - 如何动态获取系统架构?

windows - 是否有适用于 64 位二进制文​​件的可执行压缩器?

c++ - vector 正在抛出 bad_alloc

mysql - SQL 或 R : Find and display the index of all '1' s from a column with binary data type and store in another 1 or more columns

c# - C# 中的 .NET 2.0 Framework 检查是否是 64 位操作系统,如果是的话,这样做吗?如果不这样做?更好的答案?

excel - 基于 64 位构建时为 "Provider cannot be found. It may not be properly installed"

c - Frama-C:在 Cygwin/Windows 8.1 上编译

windows - 是否有安装和删除 Windows 驱动程序的 Powershell cmdlet?

javascript - 使用 Javascript XMLHttpRequest 时,来自服务器的二进制数据缺少字节

binary - 格雷码在进化计算中的好处是什么?