Skip to main content
QUICK REVIEW

[Paper Review] RVHyper: A Runtime Verification Tool for Temporal Hyperproperties

Bernd Finkbeiner, Christopher Hahn|arXiv (Cornell University)|May 31, 2019
Distributed systems and fault toleranceComputer Science7 references6 citations
TL;DR

RVHyper is a runtime verification tool for monitoring temporal hyperproperties specified in HyperLTL, enabling detection of violations in system traces without requiring system models. It employs trace and specification analysis optimizations to efficiently track multiple traces and reduce redundant checks, successfully identifying spurious dependencies in hardware designs and information-flow leaks in security-critical systems.

ABSTRACT

We present RVHyper, a runtime verification tool for hyperproperties. Hyperproperties, such as non-interference and observational determinism, relate multiple computation traces with each other. Specifications are given as formulas in the temporal logic HyperLTL, which extends linear-time temporal logic (LTL) with trace quantifiers and trace variables. RVHyper processes execution traces sequentially until a violation of the specification is detected. In this case, a counter example, in the form of a set of traces, is returned. As an example application, we show how RVHyper can be used to detect spurious dependencies in hardware designs.

Motivation & Objective

  • To address the lack of practical tools for runtime verification of hyperproperties in systems where source code is unavailable.
  • To enable monitoring of temporal hyperproperties—such as non-interference and observational determinism—on observable execution traces.
  • To develop a scalable solution for detecting violations of HyperLTL specifications in real-time, especially in security and hardware verification contexts.
  • To optimize trace storage and monitor instantiation by identifying redundant traces and exploiting symmetries in specifications.

Proposed method

  • RVHyper processes system execution traces sequentially, storing only a minimal, necessary subset of traces to enable future comparisons.
  • It applies trace analysis to detect and omit redundant traces that cannot contribute to a violation, reducing memory and computational overhead.
  • Specification analysis identifies symmetries and structural properties in HyperLTL formulas to reduce the number of monitor instantiations.
  • The tool uses finite trace semantics of HyperLTL, with trace assignments and subsequence operations to evaluate formulas over multiple traces.
  • It integrates with Verilog-based hardware designs by observing input-output behavior as black-box traces, enabling verification without access to internal circuitry.
  • The monitoring algorithm checks whether all trace pairs satisfy the HyperLTL formula, returning a counterexample trace set upon violation detection.

Experimental results

Research questions

  • RQ1How can runtime verification of temporal hyperproperties be made scalable despite the high complexity of comparing multiple traces?
  • RQ2What optimizations can be applied to reduce the number of stored traces and monitor instantiations during runtime verification?
  • RQ3Can RVHyper effectively detect spurious dependencies in hardware designs through observable trace analysis?
  • RQ4How does the tool perform on real-world specifications such as observational determinism and information-flow policies in practice?

Key findings

  • RVHyper successfully detected violations of non-interference and spurious dependencies in hardware designs, including in a binary counter where both increment and decrement signals influenced overflow output.
  • For the xor circuit, the tool correctly verified that input i1 does not lead to output o0, with 1000 traces processed in 16.9 seconds.
  • In the counter example, RVHyper identified a violation of the property that increment should not lead to overflow, requiring 1636 traces and 28.7 seconds to detect.
  • For the mux2 circuit, a violation was found quickly (140ms) with only 82 traces, indicating high sensitivity to detecting semantic dependencies.
  • In cases where properties were satisfied (e.g., xor and mux), RVHyper did not report any violations across 499,500 and 499,500 runs respectively, demonstrating correctness.
  • The tool scaled to over 1.6 million monitor instantiations and processed up to 1.6 million traces in a single run, showing practical feasibility despite theoretical complexity.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.