MCPcopy Index your code
hub / github.com/qilingframework/qiling / test_libpatch_elf_linux_x8664

Method test_libpatch_elf_linux_x8664

tests/test_elf.py:32–36  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

30class ELFTest(unittest.TestCase):
31
32 def test_libpatch_elf_linux_x8664(self):
33 ql = Qiling(["../examples/rootfs/x8664_linux/bin/patch_test.bin"], "../examples/rootfs/x8664_linux")
34 ql.patch(0x0000000000000575, b'qiling\x00', target='libpatch_test.so')
35 ql.run()
36 del ql
37
38 def test_elf_freebsd_x8664(self):
39 ql = Qiling(["../examples/rootfs/x8664_freebsd/bin/x8664_hello_asm"], "../examples/rootfs/x8664_freebsd", verbose=QL_VERBOSE.DUMP)

Callers

nothing calls this directly

Calls 3

patchMethod · 0.95
runMethod · 0.95
QilingClass · 0.90

Tested by

no test coverage detected