From 71ddad94740b9dd23228325e62c93597663af316 Mon Sep 17 00:00:00 2001 From: Chris Eagle Date: Fri, 28 Aug 2015 00:30:50 -0700 Subject: [PATCH] Doc cleanup --- include/unicorn/unicorn.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/unicorn/unicorn.h b/include/unicorn/unicorn.h index dd4acbee..376c0eec 100755 --- a/include/unicorn/unicorn.h +++ b/include/unicorn/unicorn.h @@ -432,9 +432,9 @@ uc_err uc_mem_map_ex(uch handle, uint64_t address, size_t size, uint32_t perms); This API changes permissions on an existing memory region. @handle: handle returned by uc_open() - @address: starting address of the memory region to be modified. + @start: starting address of the memory region to be modified. This address must be aligned to 4KB, or this will return with UC_ERR_MAP error. - @size: size of the memory region to be modified. + @block_size: size of the memory region to be modified. This size must be multiple of 4KB, or this will return with UC_ERR_MAP error. @perms: New permissions for the mapped region. This must be some combination of UC_PROT_READ | UC_PROT_WRITE,