Decompilation is an information-flow problem
(Or, information flow meets program transformation) Boris Feigin
Computer Laboratory, University of Cambridge
PLID 2008 joint work with Alan Mycroft
1 / 22
Decompilation is an information-flow problem (Or, information flow - - PowerPoint PPT Presentation
Decompilation is an information-flow problem (Or, information flow meets program transformation) Boris Feigin Computer Laboratory, University of Cambridge PLID 2008 joint work with Alan Mycroft 1 / 22 Motivation Given suitable tools we
1 / 22
2 / 22
3 / 22
◮ In certain cases there is a trivial solution for D(−): emit an interpreter for T written in S incorporating the text of the program (in T) to be decompiled. 4 / 22
◮ In certain cases there is a trivial solution for D(−): emit an interpreter for T written in S incorporating the text of the program (in T) to be decompiled.
◮ IOW, how much information about the source program can be inferred from the output of the compiler? 4 / 22
5 / 22
6 / 22
7 / 22
7 / 22
8 / 22
9 / 22
9 / 22
9 / 22
10 / 22
10 / 22
11 / 22
12 / 22
12 / 22
13 / 22
13 / 22
14 / 22
◮ Though, cf. superoptimization (Massalin, 1987). 14 / 22
15 / 22
◮
16 / 22
17 / 22
17 / 22
17 / 22
18 / 22
18 / 22
19 / 22
◮ Shannon information theory / Kolmogorov complexity /
20 / 22
21 / 22
22 / 22