Menu

#664 TinyXml component of changes in #662

Next_major_release
open
nobody
None
5
2015-04-07
2015-04-07
No

I need to confess a few sins (I'm not even religious) I edited the TinyXml sources. Yes, I know, editing library files is heresy - but it pays off. The static analysis benefits are just too great!

  • I annotated the crap out of far too many files to mention
  • I added override and final in many places
  • I added const everywhere
  • I swapped all the dangerous functions with their bounds-checking counterparts

TinyXml is actually a great example of what SAL is capable of - as an API, SAL can diagnose many different kinds of misuse, that a pure static analyzer never could.

1 Attachments

Discussion