Ahead of time static analysis for automatic generation of debugging interfaces to the Linux kernel

被引:1
|
作者
Bissyande, Tegawende F. [1 ]
Reveillere, Laurent [2 ]
Lawall, Julia L. [3 ]
Muller, Gilles [3 ]
机构
[1] Univ Luxembourg, SnT, 4 Rue Alphonse Weicker, L-2721 Luxembourg, Luxembourg
[2] Univ Bordeaux, LaBRI, 351 Cours Liberat, F-33400 Talence, France
[3] Sorbonne Univ Regal, UPMC, LIP6, Inria, 4 Pl Jussieu, F-75252 Paris, France
关键词
Diagnosys; Debugging; Linux; Plugin; Reliability; Testing;
D O I
10.1007/s10515-014-0152-4
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
The Linux kernel does not export a stable, well-defined kernel interface, complicating the development of kernel-level services, such as device drivers and file systems. While there does exist a set of functions that are exported to external modules, this set of functions frequently changes, and the functions have implicit, ill-documented preconditions. No specific debugging support is provided. We present Diagnosys, an approach to automatically constructing a debugging interface for the Linux kernel. First, a designated kernel maintainer uses Diagnosys to identify constraints on the use of the exported functions. Based on this information, developers of kernel services can then use Diagnosys to generate a debugging interface specialized to their code. When a service including this interface is tested, it records information about potential problems. This information is preserved following a kernel crash or hang. Our experiments show that the generated debugging interface provides useful log information and incurs a low performance penalty.
引用
收藏
页码:3 / 41
页数:39
相关论文
共 46 条
  • [41] Automatic CT-based finite element model generation for temperature-based death time estimation: feasibility study and sensitivity analysis
    Schenkl, Sebastian
    Muggenthaler, Holger
    Hubig, Michael
    Erdmann, Bodo
    Weiser, Martin
    Zachow, Stefan
    Heinrich, Andreas
    Guttler, Felix Victor
    Teichgraber, Ulf
    Mall, Gita
    INTERNATIONAL JOURNAL OF LEGAL MEDICINE, 2017, 131 (03) : 699 - 712
  • [42] Automatic generation control analysis of power system with nonlinearities and electric vehicle aggregators with time-varying delay implementing a novel control strategy
    Patel, Nimai Charan
    Sahu, Binod Kumar
    Debnath, Manoj Kumar
    TURKISH JOURNAL OF ELECTRICAL ENGINEERING AND COMPUTER SCIENCES, 2019, 27 (04) : 3040 - 3054
  • [43] Automatic CT-based finite element model generation for temperature-based death time estimation: feasibility study and sensitivity analysis
    Sebastian Schenkl
    Holger Muggenthaler
    Michael Hubig
    Bodo Erdmann
    Martin Weiser
    Stefan Zachow
    Andreas Heinrich
    Felix Victor Güttler
    Ulf Teichgräber
    Gita Mall
    International Journal of Legal Medicine, 2017, 131 : 699 - 712
  • [44] An analysis of fault modes in an electrical power-generation system on a real-time simulator with a real automatic excitation controller of a synchronous generator
    Plakhtyna, Omelyan
    Kutsyk, Andriy
    Semeniuk, Mykola
    Elektrotehniski Vestnik/Electrotechnical Review, 2019, 86 (03): : 104 - 109
  • [45] Time-series urban green space mapping and analysis through automatic sample generation and seasonal consistency modification on Sentinel-2 data: A case study of Shanghai, China
    Chai, Zhuoqun
    Wen, Keyao
    Fu, Hao
    Liu, Mengxi
    Shi, Qian
    SCIENCE OF REMOTE SENSING, 2025, 11
  • [46] HyRev: A Tool for the Automatic Generation of Real-Time Routines for Enabling Fail-Safe Control in a Class of Safety-Critical Embedded Systems Using Backwards Reachability Analysis
    Hansen, Hallstein Asheim
    FORMAL METHODS FOR INDUSTRIAL CRITICAL SYSTEMS, 2013, 8187 : 17 - 31