Reputation: 43
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
Reputation: 2659
Libcpu was designed to convert machine code of various architectures to LLVM IR to facilitate writing emulators.
Upvotes: 7