Search code examples
ocamldecompiling

Is there a way to decompile an Ocaml executable file into Source code?


Is there a way to fully or partially decompile an *.out executable Ocaml file into source code?


Solution

  • OCaml compiles to native code and there are no decompilers known to me that decompile binaries to OCaml. So the answer is no in practice. But, of course, you can write a decompiler yourself. It will not be an easy task though.