Commit Graph

12 Commits

Author SHA1 Message Date
cfaac6921b c89 2016-02-01 12:05:46 +08:00
36e53ad8a1 Fix arm & arm64 memleaks 2016-01-31 16:22:20 -06:00
580bc7b56a cleanup 2016-01-10 23:10:00 +08:00
036763d6ae Fix memory leaks as reported by DrMemory and Valgrind.
ARM and probably the rest of the arches have significant memory leaks as
they have no release interface.

Additionally, DrMemory does not have 64-bit support and thus I can't
test the 64-bit version under Windows. Under Linux valgrind supports
both 32-bit and 64-bit but there are different macros and code for Linux
and Windows.
2016-01-08 01:42:56 +02:00
6d21ebabea implement host-controlled memory mapping for #261 2015-11-27 23:30:36 -08:00
9f9d57e84f cleaning & indentation 2015-09-03 18:16:49 +08:00
b27e987932 Add target_page_size member to uc_struct to track TARGET_PAGE_SIZE 2015-08-31 01:00:44 -07:00
6beb1b8a13 intermediate commit, working unmap of complete blocks, still need sub-blocks, and cross block 2015-08-29 21:17:30 -07:00
3b5df362d7 chmod -x <some source code> 2015-08-28 18:12:56 +08:00
00944b6cde Add ability to mark memory are read only. Add new API uc_mem_map_ex to allow permissions to be passed. Change MemoryBlock to track created MemoryRegions. Add regress/ro_mem_test.c 2015-08-26 13:29:54 -07:00
c5d99777f4 Use const in uc_mem_write and derivates 2015-08-24 17:02:14 +02:00
344d016104 import 2015-08-21 15:04:50 +08:00