Skip to main content

2018 | OriginalPaper | Buchkapitel

Predicate Abstraction Based Configurable Method for Data Race Detection in Linux Kernel

verfasst von : Pavel Andrianov, Vadim Mutilin, Alexey Khoroshilov

Erschienen in: Tools and Methods of Program Analysis

Verlag: Springer International Publishing

Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.

search-config
loading …

Abstract

The paper presents a configurable method for static data race detection. The method is based on a lightweight approach that implements Lockset algorithm with a simplified memory model. The paper contributes two heavyweight extensions which allow to adjust required precision of the analysis by choosing the balance between spent resources and a number of false alarms. The extensions are (1) counterexample guided refinement based on predicate abstraction and (2) thread analysis. The approach was implemented in the CPALockator tool and was applied to Linux kernel modules. Real races found by the tool have been approved and fixed by Linux kernel developers.

Sie haben noch keine Lizenz? Dann Informieren Sie sich jetzt über unsere Produkte:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Literatur
2.
Zurück zum Zitat Andrianov, P., Khoroshilov, A., Mutilin, V.: Lightweight static analysis for data race detection in operating system kernels. In: Proceedings of TMPA-2014, pp. 128–135 (2014) Andrianov, P., Khoroshilov, A., Mutilin, V.: Lightweight static analysis for data race detection in operating system kernels. In: Proceedings of TMPA-2014, pp. 128–135 (2014)
3.
Zurück zum Zitat Beyer, D., Keremoglu, M., Wendler, P.: Predicate abstraction with adjustable-block encoding. In: Formal Methods in Computer-Aided Design, FMCAD 2010 (2010) Beyer, D., Keremoglu, M., Wendler, P.: Predicate abstraction with adjustable-block encoding. In: Formal Methods in Computer-Aided Design, FMCAD 2010 (2010)
8.
Zurück zum Zitat Henzinger, T.A., Jhala, R., Majumdar, R., McMillan, K.L.: Abstractions from proofs. SIGPLAN Not. 39(1), 232–244 (2004)CrossRefMATH Henzinger, T.A., Jhala, R., Majumdar, R., McMillan, K.L.: Abstractions from proofs. SIGPLAN Not. 39(1), 232–244 (2004)CrossRefMATH
9.
10.
Zurück zum Zitat Levenson, N.: Safeware: system safety and computers (1995) Levenson, N.: Safeware: system safety and computers (1995)
11.
Zurück zum Zitat Mutilin, V., Novikov, E., Khoroshilov, A.: Analysis of typical faults in Linux operating system drivers (in Russian). Proc. Inst. Syst. Program. RAS 22, 349–374 (2012)CrossRef Mutilin, V., Novikov, E., Khoroshilov, A.: Analysis of typical faults in Linux operating system drivers (in Russian). Proc. Inst. Syst. Program. RAS 22, 349–374 (2012)CrossRef
12.
Zurück zum Zitat Savage, S., Burrows, M., Nelson, G., Sobalvarro, P., Anderson, T.: Eraser: a dynamic data race detector for multi-threaded programs. SIGOPS Oper. Syst. Rev. 31(5), 27–37 (1997)CrossRef Savage, S., Burrows, M., Nelson, G., Sobalvarro, P., Anderson, T.: Eraser: a dynamic data race detector for multi-threaded programs. SIGOPS Oper. Syst. Rev. 31(5), 27–37 (1997)CrossRef
13.
Zurück zum Zitat Zakharov, I.S., Mutilin, V.S., Khoroshilov, A.V.: Pattern-based environment modeling for static verification of Linux kernel modules. Program. Comput. Softw. 41(3), 183–195 (2015)MathSciNetCrossRefMATH Zakharov, I.S., Mutilin, V.S., Khoroshilov, A.V.: Pattern-based environment modeling for static verification of Linux kernel modules. Program. Comput. Softw. 41(3), 183–195 (2015)MathSciNetCrossRefMATH
Metadaten
Titel
Predicate Abstraction Based Configurable Method for Data Race Detection in Linux Kernel
verfasst von
Pavel Andrianov
Vadim Mutilin
Alexey Khoroshilov
Copyright-Jahr
2018
DOI
https://doi.org/10.1007/978-3-319-71734-0_2