Unmapped memory is not freed.

While uc_mem_unmap does unmap memory regions from Unicorn, it does not
free the memory. It accumulates over time when reusing a single Unicorn
instance.
This commit is contained in:
farmdve
2015-12-10 00:08:07 +02:00
parent 1b145f431b
commit 0d98607121
3 changed files with 74 additions and 0 deletions

View File

@@ -23,6 +23,7 @@ TESTS += mips_invalid_read_of_size_4_when_tracing
TESTS += invalid_read_in_tb_flush_x86_64
TESTS += sparc_jump_to_zero
TESTS += mips_delay_slot_code_hook
TESTS += mem_nofree
all: $(TESTS)