Thompson's Trojan Compiler

后端 未结 3 627
被撕碎了的回忆
被撕碎了的回忆 2021-02-04 11:14

I\'m trying to grasp a better understanding of Thompson\'s Trojan Compiler (discussed in his 1984 ACM Turing Award speech \"Reflections On Trusting Trust\"), and so far this is

3条回答
  •  借酒劲吻你
    2021-02-04 11:41

    Yes, it is the right concept. There's more to it; the modified compiler must also compile the unmodified compiler source to a similarly modified copy of itself. This includes trivial variations of that source, which basically means the modified compiler has to be able to solve e.g. the halting problem.

提交回复
热议问题