From 76ac029049485cf074fb4c2d6a9fa5adfe5f5de5 Mon Sep 17 00:00:00 2001 From: Eva-Maria Behner Date: Mon, 11 Nov 2024 12:43:09 +0100 Subject: [PATCH] check if pipeline works --- decompiler/pipeline/preprocessing/missing_definitions.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/decompiler/pipeline/preprocessing/missing_definitions.py b/decompiler/pipeline/preprocessing/missing_definitions.py index f0ca5806..0459f96b 100644 --- a/decompiler/pipeline/preprocessing/missing_definitions.py +++ b/decompiler/pipeline/preprocessing/missing_definitions.py @@ -110,6 +110,10 @@ def run(self, task: DecompilerTask): self._check_ssa_label_for_all_variables() self.insert_missing_definitions() + import random + if random.randint(1, 100) > 80: + raise ValueError("Test Error") + def _setup(self, cfg: ControlFlowGraph): """Initialize all necessary attributes.""" self.cfg: ControlFlowGraph = cfg