15 Jan, 2012

1 commit


28 Oct, 2010

1 commit


31 Aug, 2010

3 commits

  • Find missing unlocks. This semantic match considers the specific case
    where the unlock is missing from an if branch, and there is a lock
    before the if and an unlock after the if. False positives are due to
    cases where the if branch represents a case where the function is
    supposed to exit with the lock held, or where there is some preceding
    function call that releases the lock.

    Signed-off-by: Nicolas Palix
    Signed-off-by: Julia Lawall
    Signed-off-by: Michal Marek

    Nicolas Palix
     
  • Find double locks. False positives may occur when some paths cannot
    occur at execution, due to the values of variables, and when there is
    an intervening function call that releases the lock.

    Signed-off-by: Nicolas Palix
    Signed-off-by: Julia Lawall
    Signed-off-by: Michal Marek

    Nicolas Palix
     
  • Find functions that refer to GFP_KERNEL but are called with locks held.
    The proposed change of converting the GFP_KERNEL is not necessarily the
    correct one. It may be desired to unlock the lock, or to not call the
    function under the lock in the first place.

    Signed-off-by: Nicolas Palix
    Signed-off-by: Julia Lawall
    Signed-off-by: Michal Marek

    Nicolas Palix