Instrumentation-Driven Evolution-Aware Runtime Verification
Kevin Guan, Owolabi Legunsen
摘要
Runtime verification (RV) found hundreds of bugs by monitoring passing tests against formal specifications (specs). RV first instruments a program to obtain relevant events, e.g., method calls, to monitor. A hindrance to RV adoption, especially in continuous integration, is its high overhead. So, prior work proposed spec-driven evolution-aware techniques to speed up RV. They use complex analysis to re-monitor a subset of specs related to code impacted by changes. But, these techniques assume that RV overhead is dominated by monitoring time, and their designs often sacrifice safety (ability to find all new violations) for speed. We present IMOP, the first instrumentation-driven evolution-aware RV framework. IMOP leverages a recent observation that RV overhead during testing is often dominated by instrumentation, not monitoring. IMOP embodies a family of 14 techniques that aim to safely speed up RV by simply re-instrumenting only changed code. Instrumentation from the old revision is re-used for unchanged code, and all specs are re-monitored in the new revision. We implement IMOP as a Maven plugin and evaluate it on 2,028 revisions of 66 projects, using 160 specs of correct JDK API usage. IMOP is safe by design. It is up to 40.2x faster than re-running RV from scratch after each change, and 17.8x and 6.7x faster than safe and unsafe spec-driven techniques, respectively. IMOP is faster than just applying regression test selection to RV.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 4 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Fine-Grained Analyses for Evolution-Aware Runtime Verification 引用了 An In-Depth Study of Runtime Verification Overheads during Software Testing
- Fine-Grained Analyses for Evolution-Aware Runtime Verification 引用了 Faster Explicit-Trace Monitoring-Oriented Programming for Runtime Verification of Software Tests
- Fine-Grained Analyses for Evolution-Aware Runtime Verification 引用了 Faster Runtime Verification during Testing via Feedback-Guided Selective Monitoring
- Fine-Grained Analyses for Evolution-Aware Runtime Verification 引用了 More Precise Regression Test Selection via Reasoning about Semantics-Modifying Changes
- An In-Depth Study of Runtime Verification Overheads during Software Testing 引用了 More Precise Regression Test Selection via Reasoning about Semantics-Modifying Changes
- Faster Explicit-Trace Monitoring-Oriented Programming for Runtime Verification of Software Tests 引用了 An In-Depth Study of Runtime Verification Overheads during Software Testing
- Faster Explicit-Trace Monitoring-Oriented Programming for Runtime Verification of Software Tests 引用了 IronSpec: Increasing the Reliability of Formal Specifications
- Faster Explicit-Trace Monitoring-Oriented Programming for Runtime Verification of Software Tests 引用了 More Precise Regression Test Selection via Reasoning about Semantics-Modifying Changes
- Faster Runtime Verification during Testing via Feedback-Guided Selective Monitoring 引用了 An In-Depth Study of Runtime Verification Overheads during Software Testing
- Faster Runtime Verification during Testing via Feedback-Guided Selective Monitoring 引用了 Faster Explicit-Trace Monitoring-Oriented Programming for Runtime Verification of Software Tests
- Faster Runtime Verification during Testing via Feedback-Guided Selective Monitoring 引用了 More Precise Regression Test Selection via Reasoning about Semantics-Modifying Changes
- A Closer Look at the Use of Reinforcement Learning for Speeding Up Runtime Verification of Software Tests (Experience Paper) 引用了 Fine-Grained Analyses for Evolution-Aware Runtime Verification
- A Closer Look at the Use of Reinforcement Learning for Speeding Up Runtime Verification of Software Tests (Experience Paper) 引用了 An In-Depth Study of Runtime Verification Overheads during Software Testing
- A Closer Look at the Use of Reinforcement Learning for Speeding Up Runtime Verification of Software Tests (Experience Paper) 引用了 Faster Explicit-Trace Monitoring-Oriented Programming for Runtime Verification of Software Tests
- A Closer Look at the Use of Reinforcement Learning for Speeding Up Runtime Verification of Software Tests (Experience Paper) 引用了 Faster Runtime Verification during Testing via Feedback-Guided Selective Monitoring
引用它的顶会 Paper4
- Faster Explicit-Trace Monitoring-Oriented Programming for Runtime Verification of Software TestsKevin Guan, Marcelo d'Amorim, Owolabi LegunsenOOPSLA 2025 · 7 次引用
- Faster Runtime Verification during Testing via Feedback-Guided Selective MonitoringShinhae Kim, Saikat Dutta, Owolabi LegunsenASE 2025 · 3 次引用
- Fine-Grained Analyses for Evolution-Aware Runtime VerificationPengyue Jiang, Kevin Guan, Mahdi Khosravi, Moustafa Ismail 等ICSE 2026 · 1 次引用
- A Closer Look at the Use of Reinforcement Learning for Speeding Up Runtime Verification of Software Tests (Experience Paper)Shinhae Kim, Saikat Dutta, Owolabi LegunsenISSTA 2026
它引用的 Paper3
- More Precise Regression Test Selection via Reasoning about Semantics-Modifying ChangesYu Liu, Jiyang Zhang, Pengyu Nie, Milos Gligoric 等ISSTA 2023 · 19 次引用
- An In-Depth Study of Runtime Verification Overheads during Software TestingKevin Guan, Owolabi LegunsenISSTA 2024 · 7 次引用
- IronSpec: Increasing the Reliability of Formal SpecificationsEli Goldweber, Weixin Yu, Seyed Armin Vakil-Ghahani, Manos KapritsosOSDI 2024 · 4 次引用
相关 Paper
- Efficient Incremental Code Coverage Analysis for Regression Test SuitesJiale Amber Wang, Kaiyuan Wang, Pengyu NieASE 2024 · 1 次引用
- Fast and Precise On-the-fly Patch Validation for AllLingchao Chen, Yicheng Ouyang, Lingming ZhangICSE 2021 · 24 次引用
- Reducing Test Runtime by Transforming Test FixturesChengpeng Li, Abdelrahman Baz, August ShiASE 2024 · 1 次引用
- Studying Test Annotation Maintenance in the WildDong Jae Kim, Nikolaos Tsantalis, Tse-Hsun Peter Chen, Jinqiu YangICSE 2021 · 20 次引用
- Detecting JVM JIT Compiler Bugs via Exploring Two-Dimensional Input SpacesHaoxiang Jia, Ming Wen, Zifan Xie, Xiaochen Guo 等ICSE 2023 · 21 次引用
