Move test files to tests/

This commit is contained in:
Duncan Ogilvie
2026-05-10 11:51:46 +02:00
parent 7698850d04
commit 9684447c14
4 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -80,4 +80,4 @@ def lift_crackme(module: Module, pe: PE):
if __name__ == "__main__":
with create_context() as context:
with context.create_module("binaryshield") as module:
lift_crackme(module, PE("crackme.exe"))
lift_crackme(module, PE("tests/binaryshield.exe"))
+2 -2
View File
@@ -45,9 +45,9 @@ def lift(module: Module, pe: PE, start: int, *, verbose=True):
if __name__ == "__main__":
with create_context() as context:
with context.create_module("lifted") as module:
vm_entry = lift(module, PE("crackme.exe"), 0x140017A41)
vm_entry = lift(module, PE("tests/binaryshield.exe"), 0x140017A41)
print(vm_entry)
cfg = lift(module, PE("tests/cfg.exe"), 0x140001000)
print(cfg)
riscvm_run = lift(module, PE("riscvm.exe"), 0x140001104)
riscvm_run = lift(module, PE("tests/riscvm.exe"), 0x140001104)
print(riscvm_run)
View File