Recompile a x86 code with LLVM to some faster one x86

前端 未结 3 1543
渐次进展
渐次进展 2021-02-05 10:18

Is it possible to run LLVM compiler with input of x86 32bit code? There is a huge algorithm which I have no source code and I want to make it run faster on the same hardware. Ca

3条回答
  •  渐次进展
    2021-02-05 11:20

    From what I know, disassembling x86 code 100% correctly is impossible. As data and code is intermingled and also due to variable length instructions. The only way to properly disassemble is to interpret it on the fly.

提交回复
热议问题