기호 실행을 활용한 가상 프로토타입의 회귀 테스트
Regression Testing of Virtual Prototypes Using Symbolic Execution
Regression Testing of Virtual Prototypes Using Symbolic Execution
@misc{lin2016regression,
title = {Regression Testing of Virtual Prototypes Using Symbolic Execution},
author = {Bin Lin and Dejun Qian},
year = {2016},
eprint = {1601.05850},
archivePrefix = {arXiv},
primaryClass = {cs.SE},
url = {https://arxiv.org/abs/1601.05850}
}
Lin, B., & Qian, D. (2016). Regression Testing of Virtual Prototypes Using Symbolic Execution [Preprint]. arXiv. https://doi.org/10.48550/arXiv.1601.05850
LIN B, QIAN D. Regression Testing of Virtual Prototypes Using Symbolic Execution[EB/OL]. (2016-01-22)[2026-11-29]. https://arxiv.org/abs/1601.05850.
초록
최근 가상 플랫폼과 가상 프로토타이핑 기법은 전자 기업에서 소프트웨어 개발을 가속화하기 위해 광범위하게 적용되고 있다. 이러한 기법들은 시장 출시 시간을 크게 단축하고 제품 품질을 향상시킬 수 있다는 것이 입증되었다. 그러나 이러한 가상 프로토타이핑을 테스트 및 검증하는 것은 여전히 중요한 과제이다. 본 논문에서는 기호 실행을 사용하여 가상 프로토타이핑의 다른 버전 간 회귀 테스트를 수행하는 방법을 제시한다. 기존 버전과 새로운 버전의 가상 프로토타이핑이 존재한다고 가정할 때, 먼저 기호 실행을 새로운 버전에서 적용하여 모든 경로 제약을 수집한다. 이후 수집된 경로 제약은 기존 버전의 기호 실행을 안내하는 데 사용된다. 탐색된 각 경로에 대해 두 버전 간의 장치 상태를 비교하여 동일한 동작을 하는지 확인한다. 본 접근법을 널리 사용되는 가상 프로토타이핑에 적용하여 수많은 차이를 검출하였다. 실험 결과는 본 접근법이 유용하고 효율적임을 보여준다.
Recently virtual platforms and virtual prototyping techniques have been widely applied for accelerating software development in electronics companies. It has been proved that these techniques can greatly shorten time-to-market and improve product quality. One challenge is how to test and validate a virtual prototype. In this paper, we present how to conduct regression testing of virtual prototypes in different versions using symbolic execution. Suppose we have old and new versions of a virtual prototype, we first apply symbolic execution to the new version and collect all path constraints. Then the collected path constraints are used for guiding the symbolic execution of the old version. For each path explored, we compare the device states between two versions to check if they behave the same. We have applied this approach to a widely-used virtual prototype and detected numerous differences. The experimental results show that our approach is useful and efficient.