about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAjax <commial@gmail.com>2017-04-20 16:37:18 +0200
committerAjax <commial@gmail.com>2017-04-20 16:37:18 +0200
commit24b1487a45a0467c102ad310092ca010adb0be5a (patch)
tree7053a94adeaab22029f91ba263d182b55583d063
parent4f5206dd8774a82ed2c864f4e6fe2d512f9d4408 (diff)
downloadmiasm-24b1487a45a0467c102ad310092ca010adb0be5a.tar.gz
miasm-24b1487a45a0467c102ad310092ca010adb0be5a.zip
Fix wrong add_memory_page docstring
-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"},