flypig
flypig

Reputation: 43

how to convert native machine code to llvm bytecode

Is there a machanism to convert native machine code to llvm bytecode? If not, please give some idea how to implement it.

Thanks!

Upvotes: 4

Views: 1581

Answers (1)

Peter S. Housel
Peter S. Housel

Reputation: 2659

Libcpu was designed to convert machine code of various architectures to LLVM IR to facilitate writing emulators.

Upvotes: 7

Related Questions