- 1
- 0
- 约 36页
- 2017-08-08 发布于重庆
- 举报
staticdetec.ppt
RacerX: effective, static detection of race conditions and deadlocks Dawson Engler and Ken Ashcraft Stanford University The problem. Big picture: Races and deadlocks are bad. Hard to get w/ testing: depend on low-probability events. Want to get rid of them. Main games in town have problems. Language: Mesa, Java, various type systems. Forced to use language; still have errors Tools: Dynamic (Eraserco): must execute code: no run, no bug. Static (ESC, Warlock): High annotation overhead. Static dynamic high false positive rates. RacerX: lightweight checking for big code Goal: As many bugs as possible with as little help as possible Works on real million line systems Low annotation overhead (100 lines per system) Aggressively infers checking information. Unusual techniques to reduce false positives. The RacerX experience How to use: List locking functions entry points. Small: Linux: 18 + 31, FreeBSD: 30 + 36, System X: 50 + 52 Emit trees from source code (2x cost of compile) Run RacerX over emitted trees Links all trees into global control flow graph (CFG) Checks for deadlocks races ~2-20 minutes for Linux. Post-process to rank errors (most of IQ spent here) Inspect Talk Overview Context RacerX overview Context-sensitive, flow-sensitive lockset analysis. Deadlock checking Race detection. Conclusion. Lockset analysis Lockset: set of locks currently held [Eraser] For each root, do a flow-sensitive, inter-procedural DFS traversal computing lockset at each statement Speed: If stmt s was visited before with lockset ls, stop. Inter-procedural: Routine can exit with multiple locksets: resume DFS w/ each after callsite. Record in-ls, {out-ls} in fn summary. If ls in summary, grab cached out-ls’s and skip fn body. Lockset Lockset Talk Overview Context RacerX overview Static lockset analysis Deadlock checking Race detection. Conclusion. Big picture: Deadlock detection Pass 1: constraint extraction emit 1-level locking dependencies during loc
您可能关注的文档
- PM14_0021_HL_SchoolBasedSleepProgramtoImprove:基于pm14_0021_hl_school睡眠改善方案.pdf
- PM2_5对高血脂症大鼠心血管系统的影响.pdf
- PMD110驱动器使用手册-PACEMAKER.pdf
- PNF手法治疗讲座84996.ppt
- POA改进算法在多水库梯级水电站中长期优化调度中的应用.pdf
- POCT发展现状及临床应用.pdf
- POCT方法学比较的统计意义.pdf
- POEMS综合征的临床特征及诊断.pdf
- Pointdepressedu18juin2013:新闻发布会在2013年6月18日.pdf
- PointExpansionModuleD208:点扩展模块D208.pdf
- 2025-2026学年小学英语五年级下册重大版(2024)教学设计合集.docx
- 2025-2026学年小学音乐苏少版简谱2024一年级下册-苏少版(简谱)(2024)教学设计合集.docx
- 2025-2026学年初中音乐湘艺版2024七年级下册-湘艺版2024教学设计合集.docx
- 2025-2026学年初中劳动初中全一册粤教版教学设计合集.docx
- 托幼一体化托育机构管理规范.pdf
- 托幼一体化托育机构管理规范编制说明.docx
- 托幼一体化托育机构管理规范编制说明.pdf
- 托育机构膳食服务规范编制说明.docx
- 托育机构膳食服务规范.docx
- 2025-2026学年高中物理沪教版2019必修 第二册-沪教版2019教学设计合集.docx
最近下载
- 安全个人防护用品使用教程PPT课件.pptx VIP
- 部编人教版三年级下册语文全册教案.docx VIP
- 学前教育学 教案.docx VIP
- 高级英语(第四版)1_教学课件Lesson 2 Blackmail.ppt VIP
- Thompson_Motif-Index(翻译版).doc VIP
- 2025年商汤科技商业计划书.pptx VIP
- 一文读懂2026年中央一号文件PPT关于锚定农业农村现代化+扎实推进乡村全面振兴的意见课件.pptx VIP
- BYD比亚迪交流充电桩ACC01-07G S50-F说明书.pdf
- 郑桂华《安塞腰鼓》课堂实录.docx VIP
- 实验六视图的操作.docx VIP
原创力文档

文档评论(0)