diff --git a/cfg_parser.py b/cfg_parser.py index c55dce2..8b04ffd 100644 --- a/cfg_parser.py +++ b/cfg_parser.py @@ -1,6 +1,3 @@ -import utils - - def parse_wave_nodes(cfg, wave: int) -> list: return list(filter(lambda node: node["wave"] == wave, cfg["nodes"])) @@ -29,7 +26,7 @@ def parse_syscalls(cfg, wave: int) -> list[dict[str, str]]: continue adress = node["last_instr"] # call is at the end of the basic block name = syscall["name"] - current_instruction = node["instructions"][-1]["mnemonic"] + # current_instruction = node["instructions"][-1]["mnemonic"] no_repeat.append(adress) res.append({"adress": adress, "name": name}) return res