Lune

ICSE2024Top-tier venue

Hypertesting of Programs: Theoretical Foundation and Automated Test Generation

Michele Pasqua, Mariano Ceccato, Paolo Tonella

Abstract

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 hypertesting 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 Hy-perEvo 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.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Keeping Secrets: Multi-objective Genetic Improvement for Detecting and Reducing Information Leakage cites QFuzz: quantitative fuzzing for side channels
  • QFuzz: quantitative fuzzing for side channels cites JVM fuzzing for JIT-induced side-channel detection
Builds onCited byLeft to right by year; the more cited, the higher.

Builds on4

  1. JVM fuzzing for JIT-induced side-channel detectionTegan Brennan, Seemanta Saha, Tevfik BultanICSE 2020 · 26 citations
  2. QFuzz: quantitative fuzzing for side channelsYannic Noller, Saeid Tizpaz-NiariISSTA 2021 · 15 citations
  3. Verification of Quantitative Hyperproperties Using Trace Enumeration RelationsShubham Sahai, Pramod Subramanyan, Rohit SinhaCAV 2020 · 7 citations
  4. Keeping Secrets: Multi-objective Genetic Improvement for Detecting and Reducing Information LeakageIbrahim Mesecan, Daniel Blackwell, David Clark, Myra B. Cohen et al.ASE 2022 · 5 citations

Related papers

  1. Finding ∀∃ Hyperbugs using Symbolic ExecutionArthur Correnson, Tobias Nießen, Bernd Finkbeiner, Georg WeissenbacherOOPSLA 2024 · 7 citations
  2. Hypra: A Deductive Program Verifier for Hyper Hoare LogicThibault Dardinier, Anqi Li, Peter MüllerOOPSLA 2024 · 6 citations
  3. Enhancing Coverage-Guided Fuzzing via Phantom ProgramMingyuan Wu, Kunqiu Chen, Qi Luo, Jiahong Xiang et al.FSE 2023 · 7 citations
  4. HYPER-CUBE: High-Dimensional Hypervisor FuzzingSergej Schumilo, Cornelius Aschermann, Ali Abbasi, Simon Wörner et al.NDSS 2020
  5. Context-Sensitive and Directional Concurrency Fuzzing for Data-Race DetectionZu-Ming Jiang, Jia-Ju Bai, Kangjie Lu, Shi-Min HuNDSS 2022
Dusk over the sea between two cliffs drawn in fine vertical lines