fix: dlls test issue #5

This commit is contained in:
Dobin Rutishauser
2025-06-08 19:03:57 +02:00
parent a9663d81a7
commit 015ec55975
3 changed files with 30 additions and 25 deletions
+2 -2
View File
@@ -24,8 +24,8 @@ class DerBackdoorerTest(unittest.TestCase):
def test_function_backdoorer_dll(self):
superpe = SuperPe(PATH_EXES + "libbz2-1.dll")
superpe = SuperPe(PATH_DLLS + "TestDLL.dll")
function_backdoorer = FunctionBackdoorer(superpe)
addr = function_backdoorer.find_suitable_instruction_addr(superpe.get_entrypoint())
self.assertEqual(addr, 0x135D)
self.assertEqual(addr, 0x13CA)