about summary refs log tree commit diff stats
path: root/miasm2/jitter/vm_mngr_py.c
diff options
context:
space:
mode:
authorFabrice Desclaux <fabrice.desclaux@cea.fr>2014-10-07 17:44:50 +0200
committerFabrice Desclaux <fabrice.desclaux@cea.fr>2014-10-07 17:44:50 +0200
commit809d3738bb845d5b6d08e348e9a8a03e62536121 (patch)
tree8591cb2d9675bc5710ab8bdfe1111f0b93cdd5d5 /miasm2/jitter/vm_mngr_py.c
parent10b4c8a8b46b5e247768f6f55bf9a9f006fdd61c (diff)
downloadmiasm-809d3738bb845d5b6d08e348e9a8a03e62536121.tar.gz
miasm-809d3738bb845d5b6d08e348e9a8a03e62536121.zip
Remove vm_ prefix /!\ API MODIF
The jitter cpu/vm modules used an unecessary vm_ prefix for various api.

jitter.cpu.vm_get_gpreg() => jitter.cpu.get_gpreg()
jitter.vm.vm_get_mem... => jitter.vm.get_mem...
Diffstat (limited to 'miasm2/jitter/vm_mngr_py.c')
-rw-r--r--miasm2/jitter/vm_mngr_py.c52
1 files changed, 26 insertions, 26 deletions
diff --git a/miasm2/jitter/vm_mngr_py.c b/miasm2/jitter/vm_mngr_py.c
index 8d5faacb..1462050b 100644
--- a/miasm2/jitter/vm_mngr_py.c
+++ b/miasm2/jitter/vm_mngr_py.c
@@ -760,60 +760,60 @@ static PyMemberDef VmMngr_members[] = {
 };
 
 static PyMethodDef VmMngr_methods[] = {
-	{"vm_init_memory_page_pool", (PyCFunction)vm_init_memory_page_pool, METH_VARARGS,
+	{"init_memory_page_pool", (PyCFunction)vm_init_memory_page_pool, METH_VARARGS,
 	 "X"},
-	{"vm_init_memory_breakpoint", (PyCFunction)vm_init_memory_breakpoint, METH_VARARGS,
+	{"init_memory_breakpoint", (PyCFunction)vm_init_memory_breakpoint, METH_VARARGS,
 	 "X"},
-	{"vm_init_code_bloc_pool",(PyCFunction)vm_init_code_bloc_pool, METH_VARARGS,
+	{"init_code_bloc_pool",(PyCFunction)vm_init_code_bloc_pool, METH_VARARGS,
 	 "X"},
-	{"vm_set_mem_access", (PyCFunction)vm_set_mem_access, METH_VARARGS,
+	{"set_mem_access", (PyCFunction)vm_set_mem_access, METH_VARARGS,
 	 "X"},
-	{"vm_set_mem", (PyCFunction)vm_set_mem, METH_VARARGS,
+	{"set_mem", (PyCFunction)vm_set_mem, METH_VARARGS,
 	 "X"},
-	{"vm_set_automod_cb", (PyCFunction)vm_set_automod_cb, METH_VARARGS,
+	{"set_automod_cb", (PyCFunction)vm_set_automod_cb, METH_VARARGS,
 	 "X"},
-	{"vm_set_addr2obj", (PyCFunction)vm_set_addr2obj, METH_VARARGS,
+	{"set_addr2obj", (PyCFunction)vm_set_addr2obj, METH_VARARGS,
 	 "X"},
-	{"vm_add_code_bloc",(PyCFunction)vm_add_code_bloc, METH_VARARGS,
+	{"add_code_bloc",(PyCFunction)vm_add_code_bloc, METH_VARARGS,
 	 "X"},
-	{"vm_exec_bloc",(PyCFunction)vm_exec_bloc, METH_VARARGS,
+	{"exec_bloc",(PyCFunction)vm_exec_bloc, METH_VARARGS,
 	 "X"},
-	{"vm_exec_blocs",(PyCFunction)vm_exec_blocs, METH_VARARGS,
+	{"exec_blocs",(PyCFunction)vm_exec_blocs, METH_VARARGS,
 	 "X"},
-	{"vm_get_mem", (PyCFunction)vm_get_mem, METH_VARARGS,
+	{"get_mem", (PyCFunction)vm_get_mem, METH_VARARGS,
 	 "X"},
-	{"vm_add_memory_page",(PyCFunction)vm_add_memory_page, METH_VARARGS,
+	{"add_memory_page",(PyCFunction)vm_add_memory_page, METH_VARARGS,
 	 "X"},
-	{"vm_add_memory_breakpoint",(PyCFunction)vm_add_memory_breakpoint, METH_VARARGS,
+	{"add_memory_breakpoint",(PyCFunction)vm_add_memory_breakpoint, METH_VARARGS,
 	 "X"},
-	{"vm_remove_memory_breakpoint",(PyCFunction)vm_remove_memory_breakpoint, METH_VARARGS,
+	{"remove_memory_breakpoint",(PyCFunction)vm_remove_memory_breakpoint, METH_VARARGS,
 	 "X"},
-	{"vm_set_exception", (PyCFunction)vm_set_exception, METH_VARARGS,
+	{"set_exception", (PyCFunction)vm_set_exception, METH_VARARGS,
 	 "X"},
-	{"vm_dump_memory_page_pool", (PyCFunction)vm_dump_memory_page_pool, METH_VARARGS,
+	{"dump_memory_page_pool", (PyCFunction)vm_dump_memory_page_pool, METH_VARARGS,
 	 "X"},
-	{"vm_dump_memory_breakpoint", (PyCFunction)vm_dump_memory_breakpoint, METH_VARARGS,
+	{"dump_memory_breakpoint", (PyCFunction)vm_dump_memory_breakpoint, METH_VARARGS,
 	 "X"},
-	{"vm_get_all_memory",(PyCFunction)vm_get_all_memory, METH_VARARGS,
+	{"get_all_memory",(PyCFunction)vm_get_all_memory, METH_VARARGS,
 	 "X"},
-	{"vm_reset_memory_page_pool", (PyCFunction)vm_reset_memory_page_pool, METH_VARARGS,
+	{"reset_memory_page_pool", (PyCFunction)vm_reset_memory_page_pool, METH_VARARGS,
 	 "X"},
-	{"vm_reset_memory_breakpoint", (PyCFunction)vm_reset_memory_breakpoint, METH_VARARGS,
+	{"reset_memory_breakpoint", (PyCFunction)vm_reset_memory_breakpoint, METH_VARARGS,
 	 "X"},
-	{"vm_reset_code_bloc_pool", (PyCFunction)vm_reset_code_bloc_pool, METH_VARARGS,
+	{"reset_code_bloc_pool", (PyCFunction)vm_reset_code_bloc_pool, METH_VARARGS,
 	 "X"},
 	{"set_alarm", (PyCFunction)set_alarm, METH_VARARGS,
 	 "X"},
-	{"vm_call_pyfunc_from_globals",(PyCFunction)vm_call_pyfunc_from_globals, METH_VARARGS,
+	{"call_pyfunc_from_globals",(PyCFunction)vm_call_pyfunc_from_globals, METH_VARARGS,
 	 "X"},
 
-	{"vm_get_exception",(PyCFunction)vm_get_exception, METH_VARARGS,
+	{"get_exception",(PyCFunction)vm_get_exception, METH_VARARGS,
 	 "X"},
-	{"vm_get_exception",(PyCFunction)vm_get_exception, METH_VARARGS,
+	{"get_exception",(PyCFunction)vm_get_exception, METH_VARARGS,
 	 "X"},
-	{"vm_get_last_write_ad", (PyCFunction)vm_get_last_write_ad, METH_VARARGS,
+	{"get_last_write_ad", (PyCFunction)vm_get_last_write_ad, METH_VARARGS,
 	 "X"},
-	{"vm_get_last_write_size",(PyCFunction)vm_get_last_write_size, METH_VARARGS,
+	{"get_last_write_size",(PyCFunction)vm_get_last_write_size, METH_VARARGS,
 	 "X"},
 
 	{NULL}  /* Sentinel */