Behavioural Analysis of an I2C Linux Driver

  title={Behavioural Analysis of an I2C Linux Driver},
  author={Dragan Bosnacki and Aad Mathijssen and Yaroslav S. Usenko},
We present an analysis of the behaviour of an IC Linux driver, by means of model checking with the mCRL2 toolset and static analysis with UNO. We have reverse engineered the source code to obtain the structure and interactions of the driver. Based on these results, we have semi-automatically created an mCRL2 model of the behaviour of the driver, on which we have checked mutual exclusion properties. This revealed non-trivial potential errors, like unprotected usage of shared memory variables due… CONTINUE READING