You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when running ```
import patcherex
import os
import subprocess
import random
from patcherex.backends.reassembler_backend import ReassemblerBackend
from patcherex.patches import *
from tracer import QEMURunner
def main():
#InsertCodePatch we use this and bacnedclass ReassemblerBacked
backend = ReassemblerBackend("origin_bin")
patches = []
address = 0x0400948
transmit_code = '''
mov qword ptr [ptr + rax*0x8],0x0
'''
if name == "main":
main()```
i get Traceback (most recent call last):
File "/home/pwn/Desktop/dreamhack_pwn_patch.py", line 36, in
main()
File "/home/pwn/Desktop/dreamhack_pwn_patch.py", line 34, in main
backend.save("ormod")
File "/home/pwn/patcherex/patcherex/backends/reassembler_backend.py", line 145, in save
raise CompilationError("File: %s Error: %s" % (tmp_file_path,res))
and this very long compilation error. Any ideea ?
The text was updated successfully, but these errors were encountered:
when running ```
import patcherex
import os
import subprocess
import random
from patcherex.backends.reassembler_backend import ReassemblerBackend
from patcherex.patches import *
from tracer import QEMURunner
def main():
#InsertCodePatch we use this and bacnedclass ReassemblerBacked
backend = ReassemblerBackend("origin_bin")
patches = []
address = 0x0400948
transmit_code = '''
mov qword ptr [ptr + rax*0x8],0x0
'''
if name == "main":
main()```
i get Traceback (most recent call last):
File "/home/pwn/Desktop/dreamhack_pwn_patch.py", line 36, in
main()
File "/home/pwn/Desktop/dreamhack_pwn_patch.py", line 34, in main
backend.save("ormod")
File "/home/pwn/patcherex/patcherex/backends/reassembler_backend.py", line 145, in save
raise CompilationError("File: %s Error: %s" % (tmp_file_path,res))
and this very long compilation error. Any ideea ?
The text was updated successfully, but these errors were encountered: