From 8a4aceed8321331741b564cec8ae193f2582ebe1 Mon Sep 17 00:00:00 2001 From: Seliaste Date: Thu, 2 Apr 2026 14:08:37 +0200 Subject: [PATCH] Fixed unused import --- cfg_parser.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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