UpstandingHackers / hammer

Parser combinators for binary formats, in C. Yes, in C. What? Don't look at me like that.
GNU General Public License v2.0
430 stars 40 forks source link

ACSL, formal verification with Frama-C #202

Open Tjoppen opened 5 months ago

Tjoppen commented 5 months ago

Hi

This might be a big ask, but since there is some overlap between langsec and formal methods it would be cool if hammer provided ACSL contracts for its API. This way downstream projects can prove not only that their parsers terminate, but also that they are free of undefined behavior. This assumes hammer itself has been formally verified of course :)