fix: bad error handling for missing carrier imports

This commit is contained in:
Dobin Rutishauser
2025-06-08 11:23:23 +02:00
parent 71010357f6
commit 9deaecd519
2 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -247,7 +247,7 @@ class SuperPe():
for entry in iat[dll_name]:
if entry.func_name == func_name:
return entry.iat_vaddr
raise Exception(f"Function {func_name} not found in IAT")
return None
def get_iat_entries(self) -> Dict[str, List[IatEntry]]: