• DocumentCode
    2578494
  • Title

    Automatic C to O-O Translation with C2Eiffel

  • Author

    Trudel, Marco ; Furia, Carlo A. ; Nordio, Martin

  • Author_Institution
    Dept. of Software Eng., ETH Zurich, Zurich, Switzerland
  • fYear
    2012
  • fDate
    15-18 Oct. 2012
  • Firstpage
    501
  • Lastpage
    502
  • Abstract
    C2Eiffel is a fully automatic source-to-source translator of C applications into the Eiffel object-oriented programming language. C2Eiffel supports the complete C language, including function pointers, unrestricted pointer arithmetic and jumps, arbitrary native libraries, and inlined assembly code. It produces readable Eiffel code that behaves as the source C application, it takes advantage of some of Eiffel´s object-oriented features to produce translations that are easy to maintain and debug, and often even safer than their sources thanks to stricter correctness checks introduced automatically. Experiments show that C2Eiffel handles C applications of significant size (such as vim and libgsl), it is a fully automatic tool suitable to reuse C code within a high-level object-oriented programming language.
  • Keywords
    C language; language translation; object-oriented languages; object-oriented programming; program debugging; software libraries; software reusability; software tools; source coding; C code reusability; C language; C2Eiffel; arbitrary native library; automatic source-to-source translator; function pointer; high-level language; inlined assembly code; jumps; object-oriented programming language; program debugging; readable Eiffel code; software tool; source C application; unrestricted pointer arithmetic; Assembly; Computer architecture; Java; Libraries; Object oriented programming; Open source software; Safety;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Reverse Engineering (WCRE), 2012 19th Working Conference on
  • Conference_Location
    Kingston, ON
  • ISSN
    1095-1350
  • Print_ISBN
    978-1-4673-4536-1
  • Type

    conf

  • DOI
    10.1109/WCRE.2012.60
  • Filename
    6385146