compact_str icon indicating copy to clipboard operation
compact_str copied to clipboard

Use static verifier kani in our test?

Open NobodyXu opened this issue 2 years ago • 4 comments

kani can verify that unsafe code does not have:

  • Memory safety (e.g., null pointer dereferences)
  • User-specified assertions (i.e., assert!(...))
  • The absence of panics (e.g., unwrap() on None values)
  • The absence of some types of unexpected behavior (e.g., arithmetic overflows)

NobodyXu avatar May 05 '22 06:05 NobodyXu

Hey @NobodyXu! Very sorry I didn't respond to this earlier. I'm open to using kani, would you be able to put up a proof of concept PR?

ParkMyCar avatar Aug 07 '22 19:08 ParkMyCar

Sure

NobodyXu avatar Aug 07 '22 20:08 NobodyXu

Sorry I've been busy, I probably won't have the time for a proof of concept PR.

NobodyXu avatar Oct 07 '22 01:10 NobodyXu

No problem :) I'll keep it open for now in case someone else wants to give it a shot

ParkMyCar avatar Oct 14 '22 14:10 ParkMyCar