Hypertesting of Programs: Theoretical Foundation and Automated Test Generation


연구 분야: Verification



학회: ICSE '24: Proceedings of the IEEE/ACM 46th International Conference on Software Engineering


초록

Hyperproperties are used to define correctness requirements that involve relations between multiple program executions. This allows, for instance, to model security and concurrency requirements, which cannot be expressed by means of trace properties. In this paper, we propose a novel systematic approach for automated testing of hyperproperties. Our contribution is both foundational and practical. On the foundational side, we define a hyper-testing framework, which includes a novel hypercoverage adequacy criterion designed to guide the synthesis of test cases for hyperproperties. On the practical side, we instantiate such framework by implementing HyperFuzz and HyperEvo, two test generators targeting the Non-Interference security requirement, that rely respectively on fuzzing and search algorithms. Experimental results show that the proposed hypercoverage adequacy criterion correlates with the capability of a hypertest to expose hyperproperty violations and that both HyperFuzz and HyperEvo achieve high hypercoverage and high vulnerability exposure with no false alarms (by construction). While they both outperform the state-of-the-art dynamic taint analysis tool Phosphor, HyperEvo is more effective than HyperFuzz on some benchmark programs.


Author Profile
Michele Pasqua

Dept. of Computer Science University of Verona Verona Italy

Italy
Author Profile
M. Ceccato

Dept. of Computer Science University of Verona Verona Italy

Italy
Author Profile
Paolo Tonella

Software Institute Università della Svizzera italiana Lugano Switzerland

Switzerland

📄 논문 정보

발행 연도 2024년
인용수 1
출판 국가 Italy, Switzerland
사이트 ACM
좋아요 수 0

연관 논문 목록 (175건)