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