hifrog interpolation based software verification using
play

HiFrog: Interpolation-based Software Verification using Theory - PowerPoint PPT Presentation

HiFrog: Interpolation-based Software Verification using Theory Refinement Sepideh Asadi joint work with Karine Even Mendoza, Grigory Fedyukovich, AnM Hyvrinen, Hana Chockler, Natasha Sharygina Formal Verification and Security Lab University


  1. HiFrog: Interpolation-based Software Verification using Theory Refinement Sepideh Asadi joint work with Karine Even Mendoza, Grigory Fedyukovich, AnM Hyvärinen, Hana Chockler, Natasha Sharygina Formal Verification and Security Lab University of Lugano (USI), Switzerland FMCAD 2017

  2. What is HiFrog? ▪ An SMT-based bounded model checker for C ▪ Computes and reuses FuncSon Summaries • Based on Craig interpolaSon

  3. What is HiFrog? ▪ An SMT-based bounded model checker for C ▪ Computes and reuses FuncSon Summaries • Based on Craig interpolaSon ▪ Controllable interpolaSon system for SMT • Flexible in Size & Strength • Compact and readable summaries

  4. What is HiFrog? ▪ An SMT-based bounded model checker for C ▪ Computes and reuses FuncSon Summaries • Based on Craig interpolaSon ▪ Controllable interpolaSon system for SMT • Flexible in Size & Strength • Compact and readable summaries ▪ AutomaSc adjustment of abstracSon using different theories • Theory Refinement

  5. HiFrog and Function Summarization sources + assertions SMT encoder EUF Function EUF parser Summaries symbolic LRA LRA execution assertions BV SSA optimizer BOOL slicing BOOL Interpolating SMT solver SAT summary proof proof refiner theory compressor solvers interpolation- itp for based BOOL summaries assertion violated itp for itp for & error trace LRA EUF UNSAT assertion holds!

  6. HiFrog and Function Summarization sources + assertions SMT encoder EUF Function EUF parser Summaries symbolic LRA LRA execution assertions BV SSA optimizer BOOL slicing BOOL Interpolating SMT solver SAT summary proof proof refiner theory compressor solvers interpolation- itp for based BOOL summaries assertion violated itp for itp for & error trace LRA EUF theory UNSAT refiner assertion holds!

  7. HiFrog and Theory Refinement

  8. HiFrog and Theory Refinement Program + AsserSons 0 Symbolic Encoding

  9. HiFrog and Theory Refinement Program + AsserSons 0 Symbolic Encoding initial entire 1 encoding less precise theory OpenSMT

  10. HiFrog and Theory Refinement Program + AsserSons 0 Symbolic Encoding initial entire 1 encoding UNSAT less precise Safe theory 2 OpenSMT

  11. HiFrog and Theory Refinement Program + AsserSons 0 Symbolic Encoding initial entire 1 encoding SAT + model 2 UNSAT less precise Safe theory 2 OpenSMT

  12. HiFrog and Theory Refinement Program + AsserSons 3 0 Counter-example Symbolic sequence validator Encoding of all terms initial entire 1 encoding SAT + model 2 UNSAT less precise Safe theory 2 OpenSMT

  13. HiFrog and Theory Refinement Program + AsserSons 4 3 0 Counter-example Symbolic term vs CEX precise sequence validator Encoding theory of all terms initial entire 1 encoding SAT OpenSMT + model 2 UNSAT less precise Safe theory 2 OpenSMT

  14. HiFrog and Theory Refinement Program + AsserSons 4 3 0 Counter-example Symbolic term vs CEX precise sequence validator Encoding theory of all terms initial entire 1 encoding SAT SAT OpenSMT + model Do Nothing! 5 2 UNSAT less precise Safe theory 2 OpenSMT

  15. HiFrog and Theory Refinement Program + AsserSons 4 3 0 Counter-example Symbolic term vs CEX precise sequence validator Encoding theory of all terms 5 UNSAT initial entire 1 term(s) encoding SAT SAT OpenSMT Refiner + model Do Nothing! 5 2 UNSAT less precise Safe theory 2 OpenSMT

  16. HiFrog and Theory Refinement Program + AsserSons 4 3 0 Counter-example Symbolic term vs CEX precise sequence validator Encoding theory of all terms 5 UNSAT initial entire 1 term(s) encoding SAT SAT OpenSMT Refiner + model Do Nothing! 5 2 6 local refinements UNSAT precise less precise Safe Binding theory theory 2 OpenSMT

  17. HiFrog and Theory Refinement Program + AsserSons 4 3 0 Counter-example Symbolic term vs CEX precise sequence validator Encoding theory of all terms 5 UNSAT initial entire 1 term(s) encoding 7 SAT SAT OpenSMT nothing Unsafe Refiner + model Do Nothing! + to refine Counter-example 5 2 6 local refinements UNSAT precise less precise Safe Binding theory theory 2 OpenSMT

  18. h,p://verify.inf.usi.ch/hifrog/ Looking forward to seeing you at poster sessions!

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend