fix: tester.py, and add testcases for DLL

This commit is contained in:
Dobin
2024-04-13 12:23:36 +01:00
parent b9d3a5a97e
commit 368b14934d
4 changed files with 93 additions and 15 deletions
+1
View File
@@ -55,6 +55,7 @@ def run_exe(exefile, dllfunc="", check=True):
if exefile.endswith(".dll"):
if dllfunc == "":
dllfunc = "dllMain"
logger.info("----[ No DLL function specified, using default: {}".format(dllfunc))
#raise Exception("---[ No DLL function specified")
args = [ "rundll32.exe", "{},{}".format(exefile, dllfunc) ]
elif exefile.endswith(".exe"):