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 条
  • [21] Flexible in-Silicon Checking of Run-Time Programmable Assertions
    Zhou, Yumin
    Bringmann, Oliver
    Rosenstiel, Wolfgang
    [J]. 2016 IEEE 22ND INTERNATIONAL SYMPOSIUM ON ON-LINE TESTING AND ROBUST SYSTEM DESIGN (IOLTS), 2016, : 78 - 83
  • [22] ADDING RUN-TIME CHECKING TO THE PORTABLE-C COMPILER
    STEFFEN, JL
    [J]. SOFTWARE-PRACTICE & EXPERIENCE, 1992, 22 (04): : 305 - 316
  • [23] Run-Time Support for the Automatic Parallelization of Java Programs
    Bryan Chan
    Tarek S. Abdelrahman
    [J]. The Journal of Supercomputing, 2004, 28 : 91 - 117
  • [24] Run-time support for the automatic parallelization of Java programs
    Chan, Bryan
    Abdelrahman, Tarek S.
    [J]. J Supercomput, 1600, 1 (91-117):
  • [25] Static Performance Guarantees for Programs with Run-time Checks
    Klemen, Maximiliano
    Stulova, Nataliia
    Lopez-Garcia, Pedro
    Morales, Jose
    Hermenegildo, Manuel V.
    [J]. PPDP'18: PROCEEDINGS OF THE 20TH INTERNATIONAL SYMPOSIUM ON PRINCIPLES AND PRACTICE OF DECLARATIVE PROGRAMMING, 2018,
  • [26] RUN-TIME BEHAVIOR OF SASL PROGRAMS - A PERFORMANCE STUDY
    SARWAR, SM
    [J]. COMPUTER LANGUAGES, 1993, 19 (03): : 205 - 211
  • [27] Dynamic binary translation using run-time feedbacks
    Ung, D
    Cifuentes, C
    [J]. SCIENCE OF COMPUTER PROGRAMMING, 2006, 60 (02) : 189 - 204
  • [28] Integrating Software Testing and Run-Time Checking in an Assertion Verification Framework
    Mera, Edison
    Lopez-Garcia, Pedro
    Hermenegildo, Manuel
    [J]. LOGIC PROGRAMMING, 2009, 5649 : 281 - +
  • [29] A Software Reconfigurable Assertion Checking Unit for Run-Time Error Detection
    Zhou, Yumin
    Burg, Sebastian
    Bringmann, Oliver
    Rosenstiel, Wolfgang
    [J]. 2018 23RD IEEE EUROPEAN TEST SYMPOSIUM (ETS), 2018,
  • [30] An Aspect-Based Approach to Checking Design Constraints at Run-time
    Cheon, Yoonsik
    Avila, Carmen
    Roach, Steve
    Munoz, Cuauhtemoc
    Estrada, Neith
    Fierro, Valeria
    Romo, Jessica
    [J]. PROCEEDINGS OF THE 2009 SIXTH INTERNATIONAL CONFERENCE ON INFORMATION TECHNOLOGY: NEW GENERATIONS, VOLS 1-3, 2009, : 223 - 228