libmem
libmem copied to clipboard
`set_memory_ex`:TypeError function takes exactly 3 arguments (4 given)
Language:python 3.11
Code:
proc = find_process("notepad++.exe")
new_me = alloc_memory_ex(proc, 1024, PROT_XRW)
set_memory_ex(proc, new_me , b"\x00", 10)
// ERROR 👇
set_memory_ex(proc, new_me , b"\x00", 10)
TypeError: function takes exactly 3 arguments (4 given)
I'm not sure why this error occurs. The set_memory_ex
function should have passed in 4 parameters.