• Home
  • Search
  • Scalable Translation Validation of Unverified Legacy OS Code
  • Cite Icon2
  • https://doi.org/10.23919/fmcad.2019.8894252Copy DOI Icon

Scalable Translation Validation of Unverified Legacy OS Code

  • Oct 1, 2019
  • Amer Tahat +3 more
Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

Formally verifying functional and security properties of a large-scale production operating system is highly desirable. However, it is challenging as such OSes are often written in multiple source languages that have no formal semantics - a prerequisite for formal reasoning. To avoid expensive formalization of the semantics of multiple high-level source languages, we present a lightweight and rigorous verification toolchain that verifies OS code at the binary level, targeting ARM machines. To reason about ARM instructions, we first translate the ARM Specification Language that describes the semantics of the ARMv8 ISA into the PVS7 theorem prover and verify the translation. We leverage the radare2 reverse engineering tool to decode ARM binaries into PVS7 and verify the translation. Our translation verification methodology is a lightweight formal validation technique that generates large-scale instruction emulation test lemmas whose proof obligations are automatically discharged. To demonstrate our verification methodology, we apply the technique on two OSes: Google's Zircon and a subset of Linux. We extract a set of 370 functions from these OSes, translate them into PVS7, and verify the correctness of the translation by automatically discharging hundreds of thousands of proof obligations and tests. This took 27.5 person-months to develop.

Similar Papers
  • Conference Article
  • Citations13

Subspace mixture model for low-resource speech recognition in cross-lingual settings

  • May 01, 2013
  • Yajie Miao +2
  • Conference Article
  • Citations30

The role of pseudo references in MT evaluation

  • Jan 01, 2008
  • Joshua S Albrecht +1
  • Book Chapter
  • Citations10

A Generic Program Slicing Technique Based on Language Definitions

  • Jan 01, 2013
  • Adrián Riesco +2
  • PDF
  • Research Article
  • Citations4

Systematic adaptation and investigation of the understandability of a formal pattern language

  • Mar 01, 2024
  • Requirements Engineering
  • Elisabeth Henkel +4
  • Conference Article
  • Citations1

Semantic on PROMELA dynamic process creation in concurrent systems

  • Aug 01, 2016
  • Sheila Nurul Huda
  • Research Article
  • Citations2

Some Notes on Boolos’ Semantics: Genesis, Ontological Quests and Model-Theoretic Equivalence to Standard Semantics

  • Sep 06, 2017
  • Axiomathes
  • Francesco Maria Ferrari
  • Book Chapter
  • Citations8

Fast and Effective Well-Definedness Checking

  • Jan 01, 2020
  • Michael Leuschel
  • Conference Article
  • Citations1

Formal semantics of UDL/I and its applications to CAD/DA tools

  • Sep 17, 1990
  • H Yasuura +1
  • Conference Article
  • Citations30

Unsupervised Polyglot Text-to-speech

  • May 01, 2019
  • Eliya Nachmani +1
  • Conference Article
  • Citations3

Emotional Speech Recognition and Synthesis in Multiple Languages toward Affective Speech-to-Speech Translation System

  • Aug 01, 2014
  • Masato Akagi +4
  • Book Chapter
  • Citations82

Sinica BOW (Bilingual Ontological WordNet): integration of bilingual WordNet and SUMO

  • Apr 01, 2010
  • Chu-Ren Huang +2
  • Dissertation
  • Citations5

Metamorphic Code Generation from LLVM IR Bytecode

  • Apr 01, 2013
  • Teja Tamboli
  • Book Chapter
  • Citations35

On the Purpose of Event-B Proof Obligations

  • Sep 16, 2008
  • Stefan Hallerstede
  • Research Article

Cross-language code clone detection via flow-enhanced graph attention network

  • Jan 21, 2026
  • The Computer Journal
  • Mengyao Hu +2
  • Research Article
  • Citations19

PLCverif: A TOOL TO VERIFY PLC PROGRAMS BASED ON MODEL CHECKING TECHNIQUES

  • Dec 01, 2015
  • CERN Bulletin
  • Dániel Darvas +2
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.