forked from jan/mem_edit
Compare commits
2 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
46e9456fd4 | ||
| f3154e443d |
2 changed files with 3 additions and 1 deletions
|
|
@ -58,7 +58,9 @@ class Process(AbstractProcess):
|
||||||
|
|
||||||
def close(self):
|
def close(self):
|
||||||
os.kill(self.pid, signal.SIGSTOP)
|
os.kill(self.pid, signal.SIGSTOP)
|
||||||
|
os.waitpid(self.pid, 0)
|
||||||
ptrace(ptrace_commands['PTRACE_DETACH'], self.pid, 0, 0)
|
ptrace(ptrace_commands['PTRACE_DETACH'], self.pid, 0, 0)
|
||||||
|
os.kill(self.pid, signal.SIGCONT)
|
||||||
self.pid = None
|
self.pid = None
|
||||||
|
|
||||||
def write_memory(self, base_address: int, write_buffer: ctypes_buffer_t):
|
def write_memory(self, base_address: int, write_buffer: ctypes_buffer_t):
|
||||||
|
|
|
||||||
2
setup.py
2
setup.py
|
|
@ -15,7 +15,7 @@ setup(name='mem_edit',
|
||||||
long_description=long_description,
|
long_description=long_description,
|
||||||
long_description_content_type='text/markdown',
|
long_description_content_type='text/markdown',
|
||||||
author='Jan Petykiewicz',
|
author='Jan Petykiewicz',
|
||||||
author_email='anewusername@gmail.com',
|
author_email='jan@mpxd.net',
|
||||||
url='https://mpxd.net/code/jan/mem_edit',
|
url='https://mpxd.net/code/jan/mem_edit',
|
||||||
keywords=[
|
keywords=[
|
||||||
'memory',
|
'memory',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue