4 ms·
I don't think McSema pretends to be anything other than a native-to-LLVM decompiler. That said, decompiler is pretty ambiguous. Do you target a readable output
by jcranmer 8y ago
I don't think McSema pretends to be anything other than a native-to-LLVM decompiler.
That said, decompiler is pretty ambiguous. Do you target a readable output? A retargetable output? An executable (and functionally equivalent) output? An analyzable output? Are you going to try to preserve undocumented but reliable behavior, or are you going to permit the output to vary in undefined behavior? Do you guarantee that a single function can be recompiled and substituted in the original binary? There are going to be cases where your implementation is going to have to vary based on what your output is.