From 24b1487a45a0467c102ad310092ca010adb0be5a Mon Sep 17 00:00:00 2001 From: Ajax Date: Thu, 20 Apr 2017 16:37:18 +0200 Subject: Fix wrong add_memory_page docstring --- miasm2/jitter/vm_mngr_py.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'miasm2/jitter/vm_mngr_py.c') diff --git a/miasm2/jitter/vm_mngr_py.c b/miasm2/jitter/vm_mngr_py.c index b53e098a..4436add2 100644 --- a/miasm2/jitter/vm_mngr_py.c +++ b/miasm2/jitter/vm_mngr_py.c @@ -619,7 +619,7 @@ static PyMethodDef VmMngr_methods[] = { {"get_mem", (PyCFunction)vm_get_mem, METH_VARARGS, "get_mem(addr, size) -> Get the memory content at @address of @size bytes"}, {"add_memory_page",(PyCFunction)vm_add_memory_page, METH_VARARGS, - "add_memory_page(address, access, size [, cmt]) -> Maps a memory page at @address of @size bytes with protection @access\n" + "add_memory_page(address, access, content [, cmt]) -> Maps a memory page at @address of len(@content) bytes containing @content with protection @access\n" "@cmt is a comment linked to the memory page"}, {"add_memory_breakpoint",(PyCFunction)vm_add_memory_breakpoint, METH_VARARGS, "add_memory_breakpoint(address, size, access) -> Add a memory breakpoint at @address of @size bytes with @access type"}, -- cgit 1.4.1