MODELS is the premier conference series for model-driven software and sys. Model-driven engineering are cordially invited to the 21st edition of MODELS, Contributions related to all aspects of modeling, modeling languages and.I will conclude, sketching how we combine EBA with another tool, RECONFIGURATOR, to massively scan Linux kernel code for bugs in atypical source configurations.įinding Resource Manipulation Bugs in Linux CodeĬ Andrzej W ˛asowski, IT University of Copenhagen 1 The bugs are confirmed as real by the Kernel developers, and five of them have been already fixed in response to our reports. We have been so far able to identify 10 previously unknown locking bugs in the Linux kernel. Experiments run with our prototype analyzer (EBA) shows better precision and effectiveness than with syntactic bug scanners. A model checker is then used to match semantic bug patterns over the control flow graph decorated with the shape-and-effect abstractions. We have developed a shape-and-effect inference system for C that constructs a lightweight semantic abstraction, more analyzable than syntax. ![]() Unfortunately, while very efficient, code scanners are typically based on syntactic pattern matching, which is insufficient for identifying problems that span multiple functions and involve dynamically allocated memory. One way to reduce the amount of such bugs is to use code scanners such as Smatch or Coccinelle. ![]() I will discuss simplicity and complexity of real software manipulation bugs on examples selected from VBDB. ![]() These historical bugs have been collected with the aim of giving concrete well understood and documented cases to program analysis researchers, in order to boost program verification research. The VBDB bug database contains entries for 100 such real bugs from several open source projects, including the Linux Kernel project. Software projects suffer from conceptually simple resource manipulation bugs, such as accessing a de-allocated memory region, or acquiring a non-reentrant lock twice.
0 Comments
Leave a Reply. |