From d0cba6019caa85d3eef4fb55146230b3d64d31a2 Mon Sep 17 00:00:00 2001 From: Nguyễn Gia Phong Date: Fri, 24 Oct 2025 16:37:19 +0900 Subject: Be more permissive with binary parsing Skip instead of committing sudoku --- helpers.cc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'helpers.cc') diff --git a/helpers.cc b/helpers.cc index 7bb1215..0aa2fe9 100644 --- a/helpers.cc +++ b/helpers.cc @@ -45,9 +45,15 @@ parse_args (int argc, char const* const* argv) } void -die_for (Address address, std::string const& message) +warn (Address address, std::string const& message) { std::cerr << message << ' ' << std::hex << address << '\n'; +} + +[[noreturn]] void +die_for (Address address, std::string const& message) +{ + warn (address, message); std::exit (1); } -- cgit 1.4.1