about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorserpilliere <serpilliere@users.noreply.github.com>2017-04-20 23:39:33 +0200
committerGitHub <noreply@github.com>2017-04-20 23:39:33 +0200
commitc23559173550cd13e0ca840638c65d83df89d572 (patch)
treebbfcd3725beb86822e9d49b2ee6aa64149a9445b
parent3667f136ed1ac739b0c68130a95908c814731d5a (diff)
parent24b1487a45a0467c102ad310092ca010adb0be5a (diff)
downloadmiasm-c23559173550cd13e0ca840638c65d83df89d572.tar.gz
miasm-c23559173550cd13e0ca840638c65d83df89d572.zip
Merge pull request #530 from commial/fix/doc
Fix wrong add_memory_page docstring
Diffstat (limited to '')
-rw-r--r--miasm2/jitter/vm_mngr_py.c2
1 files changed, 1 insertions, 1 deletions
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"},