Tags » Code Analysis
Preventing bugs, and improving code quality with Microsoft SAL (Part 2, custom preconditions for structs & objects)
Note: At the end of part 1, I’d suggested that part 2 would be about invalid handles. This post however isn’t about invalid handles. That’ll be the next part in this series. 1,769 more words
Parsing is hard!
Rubberduck parsing is being refined again. The first few releases used a hand-made, regex-based parser. That was not only unmaintainable and crippled with bugs, it also had fairly limited capabilities – sure we could locate procedures, variables, parameters… but the task was daunting and, honestly, unachievable. 456 more words
Microsoft’s SAL started nearly ten years ago at Microsoft as part of a major push for code quality, and (more visibly) preventing bugchecks. In its earliest versions, it appears to have been effectively restricted to the Windows core codebase, with kernel-mode-driver developers following suit. 387 more words
Some of my friends have used EICAR Standard Anti-Virus Test File to test their PCs’ antivirus. Anti-malware programs scan and detect the test file as a virus named EICAR… which sometimes cause my friends to suspect it as a real virus. 1,104 more words