-2

what is the theory behind the subject of translate assembly code to pseudo code?

Could you explain few words ? Also some book about it?

1
  • The theory is that pseudocode is easier to understand than assembly. (A necessary assumption, then, is that "all assembly can be converted to equivalent-or-easier pseudocode".) That's not what your title asks about, though.
    – Jongware
    Commented Jan 4, 2017 at 19:27

1 Answer 1

5

A thorough but dated theoretical treatment of decompilation can be found in Cristina Cifuentes' 1994 PhD thesis "Reverse Compilation Techniques". The subject matter therein, which includes discussion of syntax analysis, semantic analysis, control flow analysis, data flow analysis, and code generation, will be difficult to understand without being familiar with compiler or programming language theory beforehand, as decompilation is the reverse process of compilation.

A shorter treatment of decompilation by the same author is given in a paper called "Decompilation of Binary Programs".

If you are looking for something more contemporary you may wish to investigate techniques employed by CMU's Phoenix decompiler as well as the answers to this question.

Not the answer you're looking for? Browse other questions tagged or ask your own question.