File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -344,9 +344,11 @@ def _write_cfg(_cfg: KCFG, _cfgpath: Path) -> None:
344
344
cfg = method_to_cfg (empty_config , contract , method )
345
345
if simplify_init :
346
346
_LOGGER .info (f'Simplifying initial state for test: { test } ' )
347
+ init_simplified = cfg .get_unique_init ().cterm .kast
347
348
init_simplified = foundry .simplify (CTerm (init_simplified ))
348
349
cfg = KCFG__replace_node (cfg , cfg .get_unique_init ().id , CTerm (init_simplified ))
349
350
_LOGGER .info (f'Simplifying target state for test: { test } ' )
351
+ target_simplified = cfg .get_unique_target ().cterm .kast
350
352
target_simplified = foundry .simplify (CTerm (target_simplified ))
351
353
cfg = KCFG__replace_node (cfg , cfg .get_unique_target ().id , CTerm (target_simplified ))
352
354
kcfgs [test ] = (cfg , kcfg_file )
You can’t perform that action at this time.
0 commit comments