Javascript must be enabled to continue!
TC-Verifier: Trans-Compiler-Based Code Translator Verifier with Model-Checking
View through CrossRef
Code-to-code translation, a critical domain in software engineering, increasingly utilizes trans-compilers to translate between high-level languages. Traditionally, the fidelity of such translations has been evaluated using the BLEU score, which predominantly measures token similarity between the generated output and the ground truth. However, this metric falls short of assessing the methodologies underlying the translation processes and only evaluates the translations that are tested. To bridge this gap, this paper introduces an innovative architecture, “TC-Verifier”, to formally employ the Uppaal Model-checker to verify trans-compiler-based code translators. We applied the proposed architecture to a trans-compiler translating between Swift and Java, providing insights into the verified and unverified aspects of the translation process. Our findings illuminate the strengths and limitations of using Model-checking for formal verification in code translation. Notably, the examined trans-compiler reached a verification success rate of 50.74% for the grammar rules and productions modeled. This study underscores the gaps in trans-compiler-based translations and suggests that these gaps could potentially be addressed by integrating Large Language Models (LLMs) in future work.
Title: TC-Verifier: Trans-Compiler-Based Code Translator Verifier with Model-Checking
Description:
Code-to-code translation, a critical domain in software engineering, increasingly utilizes trans-compilers to translate between high-level languages.
Traditionally, the fidelity of such translations has been evaluated using the BLEU score, which predominantly measures token similarity between the generated output and the ground truth.
However, this metric falls short of assessing the methodologies underlying the translation processes and only evaluates the translations that are tested.
To bridge this gap, this paper introduces an innovative architecture, “TC-Verifier”, to formally employ the Uppaal Model-checker to verify trans-compiler-based code translators.
We applied the proposed architecture to a trans-compiler translating between Swift and Java, providing insights into the verified and unverified aspects of the translation process.
Our findings illuminate the strengths and limitations of using Model-checking for formal verification in code translation.
Notably, the examined trans-compiler reached a verification success rate of 50.
74% for the grammar rules and productions modeled.
This study underscores the gaps in trans-compiler-based translations and suggests that these gaps could potentially be addressed by integrating Large Language Models (LLMs) in future work.
Related Results
Joint Beamforming and Aerial IRS Positioning Design for IRS-assisted MISO System with Multiple Access Points
Joint Beamforming and Aerial IRS Positioning Design for IRS-assisted MISO System with Multiple Access Points
<p><code>Intelligent reflecting surface (IRS) is a promising concept for </code><code><u>6G</u></code><code> wireless communications...
Joint Beamforming and Aerial IRS Positioning Design for IRS-assisted MISO System with Multiple Access Points
Joint Beamforming and Aerial IRS Positioning Design for IRS-assisted MISO System with Multiple Access Points
<p><code>Intelligent reflecting surface (IRS) is a promising concept for </code><code><u>6G</u></code><code> wireless communications...
Model-checking ecological state-transition graphs
Model-checking ecological state-transition graphs
Abstract
Model-checking is a methodology developed in computer science to automatically assess the dynamics of discrete systems, by checking if a system modelled as...
Improving Error Messages for eBPF Programs
Improving Error Messages for eBPF Programs
Context: eBPF is an emerging technology in cloud computing, allowing user-defined programs to run in kernel space for observability, networking, and security. To ensure system inte...
The verified CakeML compiler backend
The verified CakeML compiler backend
AbstractThe CakeML compiler is, to the best of our knowledge, the most realistic verified compiler for a functional programming language to date. The architecture of the compiler, ...
Analisa Persepsi Verifikator Terhadap Kode Tindakan Medis Di RS Umum Citra Bunda Medical Center Padang
Analisa Persepsi Verifikator Terhadap Kode Tindakan Medis Di RS Umum Citra Bunda Medical Center Padang
Based on the initial survey conducted by researchers, it was found that there were differences in perceptions between code verifiers and BPJS verifiers about medical action codes. ...
Aesthetics, Authenticity, and Authorship in Trans Media
Aesthetics, Authenticity, and Authorship in Trans Media
<p><b>The increasing visibility of transgender characters in mainstream film and television— culminating in what Time magazine referred to in 2014 as the ‘transgender t...
Stereoselective Preparation of Six Diastereomeric Quatercyclopropanes from Bicyclopropylidene and Some Derivatives
Stereoselective Preparation of Six Diastereomeric Quatercyclopropanes from Bicyclopropylidene and Some Derivatives
AbstractDiastereomeric meso‐ and d,l‐bis(bicyclopropylidenyl) (5) were obtained upon oxidation with oxygen of a higher‐order cuprate generated from lithiobicyclopropylidene (4) in ...

