Verifying Compiled File System Code

  • Authors:
  • Jan Tobias Mühlberg;Gerald Lüttgen

  • Affiliations:
  • Software Engineering and Programming Languages Research Group, University of Bamberg, Bamberg, Germany 96052;Software Engineering and Programming Languages Research Group, University of Bamberg, Bamberg, Germany 96052

  • Venue:
  • Formal Methods: Foundations and Applications
  • Year:
  • 2009

Quantified Score

Hi-index 0.00

Visualization

Abstract

This paper presents a case study on retrospective verification of the Linux Virtual File System (VFS), which is aimed at checking for violations of API usage rules and memory properties. Since VFS maintains dynamic data structures and is written in a mixture of C and inlined assembly, modern software model checkers cannot be applied. Our case study centres around our novel verification tool, the SOCA Verifier, which symbolically executes and analyses compiled code. We describe how this verifier deals with complex program features such as memory access, pointer aliasing and computed jumps, while reducing manual modelling to the bare minimum. Our results show that the SOCA Verifier is capable of reliably analysing complex operating system components such as the Linux VFS, thereby going beyond traditional testing tools and into niches that current software model checkers do not reach.