Skip to content

Commit

Permalink
check if pipeline works
Browse files Browse the repository at this point in the history
  • Loading branch information
ebehner committed Nov 11, 2024
1 parent 101b889 commit 76ac029
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions decompiler/pipeline/preprocessing/missing_definitions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 76ac029

Please sign in to comment.