Even if you could disassemble to IR, you could not recompile it for the same reason that llvm does not give you platform independent C and C++<div>code is excluded based on preprocessor things that never gets into the generated code.</div>
<div>sizes which could be hardcoded by optimisations and such could be platform dependent.</div><div>also transforming machine code or even assembler to llvm IR would be non-trivial...<br><br></div>