• DocumentCode
    1624097
  • Title

    Checking Compliance to Coding Standards for x86 Executables

  • Author

    Dai, Ziying ; Mao, Xiaoguang ; Wang, Dianlin ; Liu, Donghong ; Zhang, Jie

  • Author_Institution
    Sch. of Comput., Nat. Univ. of Defense Technol., Changsha, China
  • fYear
    2010
  • Firstpage
    449
  • Lastpage
    455
  • Abstract
    COTS component evaluation is one of the most important steps in component-based development. Enforcing the coding standard within the coding phase is one important aspect for the quality of safety-critical software. This paper addresses the problem of carrying out COTS component evaluation of its compliance to the coding standard in case when only the executables with neither source code nor debugging information are available. The static binary analysis techniques are employed to discuss the feasibilities and possible approaches of checking compliance to coding standard rules for x86 executables. This work is our known first attempt to address this problem. About 27% of the MISRA-C 2004 rules can be checked or partially checked for x86 executables. Experiments are presented to conclude that for the rules related to unstructuredness and pointer cast, violations found from executables can be a reasonable approximation of the extent of compliance to the coding standard of the corresponding source code.
  • Keywords
    approximation theory; conformance testing; encoding; object-oriented programming; program debugging; program diagnostics; safety-critical software; COTS component evaluation; MISRA-C 2004 rules; coding standards; commercial off-the-shell; compliance checking; component based development; debugging information; safety-critical software; source code; static binary analysis techniques; x86 executables; Arrays; Encoding; Flow graphs; Libraries; Optimization; Registers; Software; coding standard checking; static binary analysis;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Ubiquitous Intelligence & Computing and 7th International Conference on Autonomic & Trusted Computing (UIC/ATC), 2010 7th International Conference on
  • Conference_Location
    Xian, Shaanxi
  • Print_ISBN
    978-1-4244-9043-1
  • Electronic_ISBN
    978-0-7695-4272-0
  • Type

    conf

  • DOI
    10.1109/UIC-ATC.2010.118
  • Filename
    5667114