Assertion-driven Error Recovery

47
Опубликовано 6 сентября 2016, 17:27
To increase reliability, developers have long used assertions--logical statements that are expected to be true--as lightweight specifications of crucial properties of code. Assertions have predominantly served two purposes: documentation and runtime checking. We envision a far broader role of assertions where they are the cornerstone of a wide range of analyses that uniformly apply across the spectrum of software design, development, and maintenance, and synergistically promise to bring about a significant increase in reliability. This talk gives an overview of our ongoing work on assertion-driven development and analyses, and explains the details of how we use assertions for error recovery. Our key insight is to turn violated assertions into recovery routines by using an assertion as a basis of repairing an erroneous program state. Experimental results show that our repair algorithm efficiently handles complex data structures and enables systems to recover from potentially crippling errors.
Случайные видео
105 дней – 2 4200:47
How do you use AI in your day-to-day?
248 дней – 342 3810:59
Picking up the new 2024 Tesla Model 3
автотехномузыкадетское