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 条
  • [21] Formal analysis and automatic generation of user interfaces: Approach, methodology, and an algorithm
    Heymann, Michael
    Degani, Asaf
    HUMAN FACTORS, 2007, 49 (02) : 311 - 330
  • [22] PathCrawler: Automatic generation of path tests by combining static and dynamic analysis
    Williams, N
    Marre, B
    Mouy, P
    Roger, M
    DEPENDABLE COMPUTING - EDCC-5, PROCEEDINGS, 2005, 3463 : 281 - 292
  • [23] GoldMine: Automatic Assertion Generation Using Data Mining and Static Analysis
    Vasudevan, Shobha
    Sheridan, David
    Patel, Sanjay
    Tcheng, David
    Tuohy, Bill
    Johnson, Daniel
    2010 DESIGN, AUTOMATION & TEST IN EUROPE (DATE 2010), 2010, : 626 - 629
  • [24] Automatic generation of macro-operators from static domain analysis
    Armano, G
    Cherchi, G
    Vargiu, E
    ECAI 2004: 16TH EUROPEAN CONFERENCE ON ARTIFICIAL INTELLIGENCE, PROCEEDINGS, 2004, 110 : 955 - 956
  • [25] Work in Progress: Automatic Response-Time Analysis for Arbitrary Real-Time Linux Workloads
    Perronet, Marco
    Maida, Marco
    Courtaud, Cedric
    Brandenburg, Bjorn B.
    2022 IEEE 28TH REAL-TIME AND EMBEDDED TECHNOLOGY AND APPLICATIONS SYMPOSIUM (RTAS), 2022, : 317 - 320
  • [26] Automatic Generation of ROP Through Static Instructions Assignment and Dynamic Memory Analysis
    Huang, Ning
    Huang, Shuguang
    Chang, Chao
    INTERNATIONAL JOURNAL OF DIGITAL CRIME AND FORENSICS, 2021, 13 (02) : 57 - 76
  • [27] A comparison between handwritten and automatic generation of C code and SDL using static analysis
    Becucci, M
    Fantechi, A
    Giromini, M
    Spinicci, E
    SOFTWARE-PRACTICE & EXPERIENCE, 2005, 35 (14): : 1317 - 1347
  • [28] Automatic Analysis of Static Execution Time for Complex Loop Contained External Input
    Kim, Yun-Kwan
    Kim, Doo-Hyun
    Kim, Tae-Wan
    Chang, Chun-Hyon
    SOFTWARE ENGINEERING AND COMPUTER SYSTEMS, PT 3, 2011, 181 : 119 - +
  • [29] Static worst-case execution time analysis of the μC/OS-II real-time kernel
    Lv, Mingsong
    Guan, Nan
    Deng, Qingxu
    Yu, Ge
    Wang Yi
    FRONTIERS OF COMPUTER SCIENCE IN CHINA, 2010, 4 (01): : 17 - 27
  • [30] Static worst-case execution time analysis of the μC/OS-II real-time kernel
    Mingsong Lv
    Nan Guan
    Qingxu Deng
    Ge Yu
    Yi Wang
    Frontiers of Computer Science in China, 2010, 4 : 17 - 27