Run-time type checking for binary programs

被引:0
|
作者
Burrows, M
Freund, SN
Wiener, JL
机构
[1] Microsoft Corp, Mountain View, CA 94043 USA
[2] Williams Coll, Dept Comp Sci, Williamstown, MA 01267 USA
[3] Hewlett Packard Labs, Palo Alto, CA 94304 USA
来源
关键词
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Many important software systems are written in the C programming language. Unfortunately, the C language does not provide strong safety guarantees, and many common programming mistakes introduce type errors that are not caught by the compiler. These errors only manifest themselves at run time through unexpected program behavior, and it is often hard to isolate and identify their causes. This paper presents the Hobbes run-time type checker for compiled C programs. Our tool interprets compiled binaries, tracks type information for all memory and register locations, and reports warnings when a variety of type errors occur. Because the Hobbes type checker does not rely on source code, it is effective in many situations where similar tools are not, such as when full source code is not available or when C source is linked with program fragments written in assembly or other languages.
引用
收藏
页码:90 / 105
页数:16
相关论文
共 50 条
  • [1] EFFICIENT RUN-TIME TYPE CHECKING OF TYPED LOGIC PROGRAMS
    DART, PW
    ZOBEL, J
    [J]. JOURNAL OF LOGIC PROGRAMMING, 1992, 14 (1-2): : 31 - 69
  • [2] Global constraint checking at run-time
    Hein, Christian
    Ritter, Tom
    [J]. EIGHTH INTERNATIONAL SYMPOSIUM ON AUTONOMOUS DECENTRALIZED SYSTEMS, PROCEEDINGS, 2007, : 59 - +
  • [3] Run-Time Checking of Dynamic Properties
    Sokolsky, Oleg
    Sammapun, Usa
    Lee, Insup
    Kim, Jesung
    [J]. ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2006, 144 (04) : 91 - 108
  • [4] Architecture compliance checking at run-time
    Ganesan, Dharmalingam
    Keuler, Thorsten
    Nishimura, Yutaro
    [J]. INFORMATION AND SOFTWARE TECHNOLOGY, 2009, 51 (11) : 1586 - 1600
  • [5] Run-Time Assertion Checking with Enfasis
    Olmedo Aguirre, Jose Oscar
    Juarez Martinez, Ulises
    [J]. COMPUTACION Y SISTEMAS, 2010, 13 (03): : 273 - 294
  • [6] Profiling for Run-Time Checking of Computational Properties and Performance Debugging in Logic Programs
    Mera, Edison
    Trigo, Teresa
    Lopez-Garcia, Pedro
    Hermenegildo, Manuel
    [J]. PRACTICAL ASPECTS OF DECLARATIVE LANGUAGES, 2011, 6539 : 38 - +
  • [7] RUN-TIME ERROR CHECKING COMES TO COMPILERS
    APIKI, S
    [J]. BYTE, 1995, 20 (10): : 34 - 34
  • [8] Run-Time Efficient Probabilistic Model Checking
    Filieri, Antonio
    Ghezzi, Carlo
    Tamburrelli, Giordano
    [J]. 2011 33RD INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE), 2011, : 341 - 350
  • [9] Safe kernel extensions without run-time checking
    Necula, GC
    Lee, P
    [J]. PROCEEDINGS OF THE SECOND SYMPOSIUM ON OPERATING SYSTEMS DESIGN AND IMPLEMENTATION (OSDI '96), 1996, : 229 - 243
  • [10] An Integrity Assurance Mechanism for Run-Time Programs
    Xu, Ziyao
    He, Yeping
    Deng, Lingli
    [J]. INFORMATION SECURITY AND CRYPTOLOGY, 2009, 5487 : 389 - 405