《程序分析原理》封面

程序分析原理

Principles of program analysis

Flemming Nielson、Hanne Riis Nielson、Chris Hankin · 初版 1999 年

7人推荐
11位读者提及
15次提及

为什么值得读

  • 提供静态分析与编译优化的坚实数学框架
  • 工业级逆向与编译器团队认可的基石读物
  • 细致推导常量传播不可判定性等核心经典例题

Hacker News 上怎么说

  • 关于编译器理论,推荐《程序分析原理》(Principles of Program Analysis,作者 Nielson、Nielson、Hankin)。它对我们在 rev.ng 所做的工作来说实在太基础太核心了,以至于每个来面试的人我们都会送一本实体书,哪怕面试没过也送。

    For compiler theory, "Principles of Program Analysis" (by Nielson, Nielson, Hankin). It is so foundational to what we do at rev.ng, that we gift a physical copy of the book to every interviewee, even if they don't pass.

  • ……永远不可能发生异常,这个检查就会被移除。至于测试“y == 0”这个“简单”例子,其实它本身就已经是不可判定的了。如果你感兴趣,可以去看看 Nielson 的《程序分析原理》,我记得里面专门推导了这个特例(MOP 常量传播的不可判定性)。而且,这本书作为该领域的入门读物也很棒。

    …exception can never happen, the check will be removed. As for the "simple" example of testing "y == 0", this is actually already undecidable. If you are interested, you might have a look at Nielson's "Principles of Program Analysis", I think that this particular example (undecidability of MOP Constant Propagation) is worked out there. Also, the book is a nice introduction to the subject.

  • ……作者页面看起来楼主提到的那本书已经没再更新了,所以记住那代表的是80年代的学术现状。Nielson 和 Nielson 的工作还是比较近期的。后续进阶我也推荐读《程序分析原理》。http://www.amazon.com/Principles-Program-Analysis-Flemming-N...

    …the author page it looks like the OPs book has not been updated so keep in mind that it is the state of the field as of the 80s. The work by Nielson and Nielson is fairly recent. I would also suggest "Principles of Program Analysis" for a follow up book. http://www.amazon.com/Principles-Program-Analysis-Flemming-N...

  • Benjamin C. Pierce 的《类型和程序设计语言》(Types and Programming Languages) Nielson, Nielson, Hankin 的《程序分析原理》(Principles of Program Analysis)

    "Types and Programming Languages" by Benjamin C. Pierce "Principles of Program Analysis" by Nielson, Nielson, Hankin

  • 试试 Nielson & Nielson 写的《程序分析原理》(Principles of Program Analysis)。用极其普适的数学框架来搞静态分析和优化,硬核到飞起而且非常优美。

    Try Principles of Program Analysis by Nielson & Nielson. Uber hardcore and beautiful approaches to static analysis and optimization, on a very general mathematical framework.

  • ……> 有没有人知道哪里的代码能讲清楚变量的 def-use 到底是怎么弄的,而不是来一句“此乃留给读者的练习”?代码倒是没有,但 Nielson/Nielson/Hankin 的《程序分析原理》第二章讲了具体做法。可以看看该书网站上的配套 PPT:http://www.imm.dtu.dk/~hrni/PPA/ppasup2004.html 某种意义上说,这确实只能是留给读者的练习,因为如果你在做……

    …> Does anyone know of code that makes clear what is involved in def-use for a variable without saying "this is an exercise for the reader" ? It's not code, but chapter 2 of Nielson/Nielson/Hankin's Principles of Program Analysis discusses how to do this. See accompanying slides on the book's website: http://www.imm.dtu.dk/~hrni/PPA/ppasup2004.html In a sense, this must be an exercise for the reader, since if you are working…

正在加载完整评论……

键盘快捷键

/
聚焦搜索框
j / k
下一本 / 上一本
Enter
打开选中的书
Esc
关闭 / 返回
g h
回到首页
g b
值得读精选
g t
历史总榜
g r
上升最快
g l
我的书架
?
显示本帮助