问题描述
我真的很喜欢这样的Sysinternals工具(如进程资源管理器)处理64位的兼容性。它看起来像32位可执行程序嵌入其中的64位版本,并提取它,如果有必要的。
I really like the way the SysInternals utilities (e.g. Process Explorer) handle 64bit compatibility. It looks like the 32bit executable has the 64bit version embedded in it, and extracts it if necessary.
我想它会自动这样的工具 - 即需要32位和64位可执行文件,把它们打包统一起来,并插入存根code根据该平台获取其上运行启动正确的可执行文件。
I'd like a tool which automates this - i.e. takes 32bit and 64bit executables, packs them together somehow, and inserts stub code to launch the right executable according to which platform its gets run on.
在我开始推出自己的,没有人知道这样的事情已经存在?
Before I start to roll my own, does anyone know of something like this which already exists?
推荐答案
Sysinternals fame的标记Russinovich介绍了他们的方法的。他们这样做嵌入64图像中一个x86图像。不幸的是上面的博客文章实际上并没有进入太多细节,但提到他们的技术是基于一个更老的文章发现的>。
Mark Russinovich of SysInternals fame describes their method here. They do embed an x64 image in an x86 image. Unfortunately above blog post doesn't actually go into too much detail but mentions that their technique is based on a much older article found here.
这篇关于可用于包装的32位/ 64位可执行文件一起任何工具?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!