mirror of
https://github.com/LLVMParty/striga
synced 2026-06-21 13:43:42 +00:00
Move test files to tests/
This commit is contained in:
+1
-1
@@ -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"))
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user