• DocumentCode
    3176279
  • Title

    Runtime Verification of Linux Kernel Modules Based on Call Interception

  • Author

    Rubanov, Vladimir V. ; Shatokhin, Eugene A.

  • Author_Institution
    Dept. of Software Eng., Russian Acad. of Sci., Moscow, Russia
  • fYear
    2011
  • fDate
    21-25 March 2011
  • Firstpage
    180
  • Lastpage
    189
  • Abstract
    Verification of Linux kernel modules and especially device drivers is a critically important task. However, due to the special nature of the kernel operation, it is very challenging to perform runtime analysis of particular kernel modules of interest without adverse influence on the rest of the kernel. Methods and tools for addressing this challenge are the main subject of this paper. The basic method for low-influence runtime analysis of interacting software modules is call interception. Shadow state techniques represent another method. In this paper, we discuss these methods including three different approaches to implement call interception. Conclusions are made about the most suitable ways for runtime analysis of kernel modules. Finally, we present KEDR framework, an extensible runtime analysis system for Linux kernel modules, which deploys these approaches to perform different types of analysis. The system can be used by the developers of kernel modules and, in particular, may be useful for building automated driver verification systems.
  • Keywords
    Linux; device drivers; operating system kernels; program verification; KEDR framework; Linux kernel module; call interception; device driver; runtime analysis system; runtime verification; shadow state technique; Binary codes; Driver circuits; Instruments; Kernel; Linux; Resource management; Runtime; binary instrumentation; call interception; driver; fault simulation; kernel module; verification;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Software Testing, Verification and Validation (ICST), 2011 IEEE Fourth International Conference on
  • Conference_Location
    Berlin
  • Print_ISBN
    978-1-61284-174-8
  • Electronic_ISBN
    978-0-7695-4342-0
  • Type

    conf

  • DOI
    10.1109/ICST.2011.20
  • Filename
    5770607