• DocumentCode
    3008158
  • Title

    Some Assembly Required - Program Analysis of Embedded System Code

  • Author

    Fehnker, Ansgar ; Huuck, Ralf ; Rauch, Felix ; Seefried, Sean

  • Author_Institution
    Nat. ICT Australia, Univ. of New South Wales, Sydney, NSW
  • fYear
    2008
  • fDate
    28-29 Sept. 2008
  • Firstpage
    15
  • Lastpage
    24
  • Abstract
    Programming embedded system software typically involves more than one programming language. Normally, a high-level language such as C/C++ is used for application oriented tasks and a low-level assembly language for direct interaction with the underlying hardware. In most cases those languages are closely interwoven and the assembly is embedded in the C/C++ code. Verification of such programs requires the integrated analysis of both languages at the same time. However, common algorithmic verification tools fail to address this issue. In this work we present a model-checking based static analysis approach which seamlessly integrates the analysis of embedded ARM assembly with C/C++ code analysis. In particular, we show how to automatically check that the ARM code complies to its interface descriptions. Given interface compliance, we then provide an extended analysis framework for checking general properties of ARM code. We implemented this analysis in our source code analysis tool Goanna, and applied to the source code of an L4 micro kernel implementation.
  • Keywords
    C++ language; assembly language; embedded systems; program assemblers; program diagnostics; program verification; C/C++ code analysis; assembly language; embedded ARM assembly; embedded system code; model checking; program analysis; program assembly; source code analysis tool Goanna; static analysis; Algorithm design and analysis; Application software; Assembly systems; Australia; Embedded software; Embedded system; Hardware; Information analysis; Performance analysis; Software systems; ARM architecture; C/C++; embedded assembly; embedded systems; model checking; static analysis;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Source Code Analysis and Manipulation, 2008 Eighth IEEE International Working Conference on
  • Conference_Location
    Beijing
  • Print_ISBN
    978-0-7695-3353-7
  • Type

    conf

  • DOI
    10.1109/SCAM.2008.15
  • Filename
    4637535