From 998879b0f888927f251f03a28f288aef610c2cc6 Mon Sep 17 00:00:00 2001 From: Alan Jowett Date: Thu, 24 Oct 2024 13:45:16 -0700 Subject: [PATCH] PR feedback Signed-off-by: Alan Jowett --- src/test/ebpf_yaml.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/test/ebpf_yaml.cpp b/src/test/ebpf_yaml.cpp index a230d0224..97fb67484 100644 --- a/src/test/ebpf_yaml.cpp +++ b/src/test/ebpf_yaml.cpp @@ -179,6 +179,9 @@ static ebpf_verifier_options_t raw_options_to_options(const std::set& ra // Default to the machine's native endianness. options.big_endian = (std::endian::native == std::endian::big); + // Default to not assuming assertions. + options.assume_assertions = false; + for (const string& name : raw_options) { if (name == "!allow_division_by_zero") { options.allow_division_by_zero = false;