任何可用于将 32 位/64 位可执行文件打包在一起的工具? [英] Any tools available for packing 32bit/64bit executables together?

查看:22
本文介绍了任何可用于将 32 位/64 位可执行文件打包在一起的工具?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我非常喜欢 SysInternals 实用程序(例如 Process Explorer)处理 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 位可执行文件,以某种方式将它们打包在一起,并插入存根代码以根据其运行平台启动正确的可执行文件.

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 的 Mark Russinovich 描述了他们的方法 此处.他们确实在 x86 图像中嵌入了 x64 图像.不幸的是,上面的博文实际上并没有涉及太多细节,但提到他们的技术是基于一篇更旧的文章,发现 此处.

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 位可执行文件打包在一起的工具?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆