arrow
返回

A Methodology for Testing CPU Emulators

delete2013-10-22
delete13
PRE
AI
L
Lorenzo Martignoni *
R
Roberto Paleari
A
Alessandro Reina
G
Giampaolo Fresi Roglia
D
Danilo Bruschi
DOI:10.1145/2522920.2522922delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
A CPU emulator is a software system that simulates a hardware CPU. Emulators are widely used by computer scientists for various kind of activities (e.g., debugging, profiling, and malware analysis). Although no theoretical limitation prevents developing an emulator that faithfully emulates a physical CPU, writing a fully featured emulator is a very challenging and error prone task. Modern CISC architectures have a very rich instruction set, some instructions lack proper specifications, and others may have undefined effects in corner cases. This article presents a testing methodology specific for CPU emulators, based on fuzzing. The emulator is stressed with specially crafted test cases, to verify whether the CPU is properly emulated or not. Improper behaviors of the emulator are detected by running the same test case concurrently on the emulated and on the physical CPUs and by comparing the state of the two after the execution. Differences in the final state testify defects in the code of the emulator. We implemented this methodology in a prototype (named as EmuFuzzer), analyzed five state-of-the-art IA-32 emulators (QEMU, Valgrind, Pin, BOCHS, and JPC), and found several defects in each of them, some of which can prevent proper execution of programs.
Keyword:
Reliability
Verification
Software testing
fuzzing
emulation
automatic test generation
AI总结

AI总结

对已上传原文的论文进行重点信息的提取,主要内容包括:简要概述、研究摘要、背景介绍、关键亮点、图文解析、展望与总结。

期刊

A
ACM Transactions on Software Engineering and Methodology
IF:
6.2
论文数:
1.2K
被引数:
3.4K

机构

U
University of Udine
学者数:
8.3K
论文数: 6.8K
被引数: 6.7K
U
University of Milan
学者数:
5.1W
论文数: 3.9W
被引数: 5.0W
引用论文

引用论文

Length Biases in Single-Cell RNA Sequencing of pre-mRNA
err
IF0
err2021-07-31
err0
errOAAI
errGennady Gorin; Lior Pachter
err分享
err收藏
err分享
err收藏
Abutment scour depth modeling using neuro-fuzzy-embedded techniques
err2018-01-16
err0
PREAI
errFatemeh Moradi; Hossein Bonakdari; Ozgur Kisi; Isa Ebtehaj; Jalal Shiri; Bahram Gharabaghi
err分享
err收藏
Northeast sector of the Greenland Ice Sheet to undergo the greatest inland expansion of supraglacial lakes during the 21st century
err2016-09-23
err0
errOAAI
errÁdám Ignéczi; Andrew J. Sole; Stephen J. Livingstone; Amber A. Leeson; Xavier Fettweis; Nick Selmes; Noel Gourmelen; Kate Briggs
err分享
err收藏
Further analysis of Del (D‐elute) using polymerase chain reaction (PCR) with RHD gene‐specific primers
err2003-11-03
err0
PREAI
errY. Fukumori; Y. Hori; S. Ohnoki; N. Nagao; H. Shibata; Y. Okubo; H. Yamaguchi
err分享
err收藏
Molecular characterization of D– Korean persons: development of a diagnostic strategy
err2005-03-04
err0
PREAI
errJi Yeon Kim; Sung Yeun Kim; Chong‐Ahm Kim; Gyu Sung Yon; Sung Sup Park
err分享
err收藏
学者 查看更多内容