• DocumentCode
    1727699
  • Title

    RUGRAT: Runtime Test Case Generation Using Dynamic Compilers

  • Author

    Breech, Ben ; Pollock, Lori ; Cavazos, John

  • Author_Institution
    Dept. of Comput. & Inf. Sci., Univ. of Delaware, Newark, DE
  • fYear
    2008
  • Firstpage
    137
  • Lastpage
    146
  • Abstract
    The testing of error handling and dynamic security mechanisms often depends on reproducing specific conditions outside the realm of an application´s normal program state. We present RUGRAT, a novel technique to automatically generate tests for these challenging test situations. RUGRAT uses a dynamic compiler to add instructions to the program during execution, and thus dynamically generates tests to exercise code designed to handle uncommon situations during program execution. The RUGRAT testing approach is independent of the source language, requires no modification to the source orbinary program under test and generates runtime tests automatically based on a simple test specification. We demonstrate RUGRAT´s capabilities by targeting two particular uncommon situations: handling errors from system and application calls, and testing security mechanisms that protect a program against attacks on function pointers. Both code coverage and failure detection results indicate that RUGRAT is a cost effective approach that reduces the number of required test inputs and need for vulnerable programs.
  • Keywords
    automatic test pattern generation; error handling; formal specification; program compilers; program testing; security of data; system monitoring; RUGRAT runtime test case generation; automatic test case generateion; code design; dynamic compiler; dynamic security mechanism; error handling; program execution; test specification; Automatic testing; Binary codes; Dynamic compiler; Protection; Reliability engineering; Runtime; Security; Software reliability; Software testing; System testing; dynamic compilers; security mechanisms; testing;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Software Reliability Engineering, 2008. ISSRE 2008. 19th International Symposium on
  • Conference_Location
    Seattle, WA
  • ISSN
    1071-9458
  • Print_ISBN
    978-0-7695-3405-3
  • Electronic_ISBN
    1071-9458
  • Type

    conf

  • DOI
    10.1109/ISSRE.2008.28
  • Filename
    4700318