refactor: background task support

This commit is contained in:
Dobin
2024-03-08 11:46:55 +00:00
parent 387862866b
commit 03291aed98
5 changed files with 50 additions and 19 deletions
-12
View File
@@ -157,18 +157,6 @@ def get_function_stubs(asm_in: FilePath) -> List[str]:
print(" > loader shellcode IAT requirement: {}".format(func_name))
functions.append(func_name)
if False:
if "EXTRN __imp_" in line:
a = line
a = a.split("__imp_")[1]
a = a.split(":PROC")[0]
func_name = a
#func_name = line.strip("\r\n ")
#func_name = line.replace("EXTRN\t__imp_", "")
#func_name = line.replace(":PROC", "")
print("-----> {}".format(func_name))
functions.append(func_name)
return functions
-2
View File
@@ -86,8 +86,6 @@ class ReusedataAsmFileParser():
hex = part.split('H')[0]
if len(hex) == 3:
hex = hex.lstrip('0')
#print("--> {}".format(line))
#print("---> {}".format(hex))
value += bytes.fromhex(hex)
if not name in self.fixups: