问题描述
是否可以使用llvm运行x86程序? IE.我想使用llvm作为x86模拟器来运行x86程序,然后检测x86程序.
谢谢!
我认为您正在寻找 LibCPU . /p>
它具有一个x86前端(嗯,目前实际上只有8086,并且甚至还不完整,但他们正在努力),并且由于它是基于LLVM构建的,因此它显然也具有x86后端,因此可以在x86-on-x86上运行,但可以通过LLVM的优化进行传递,仪器和分析阶段.
Is it possible to use llvm to run x86 programs? I.e. I want to use llvm as an x86 simulator to run x86 programs and then instrument the x86 program.
Thanks!
I think you are looking for LibCPU.
It has an x86 frontend (well, actually only 8086 at the moment, and that is not even complete, but they're working on it), and since it is built on top of LLVM, it obviously also has an x86 backend, thus making it possible to run x86-on-x86 but passing it through LLVM's optimization, instrumentation and analysis stages.
这篇关于运行x86程序_on_ llvm的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!