unicorn/include
PhilippTakacs e8ca3cbea5
Optimize memory handling (#1963)
* optimize ram block handling

Save the last element of the ram_list. This allows to
faster find where to add new elements when they are not
bigger then page size.

* save ram_list freed

this keeps the optimization for find_ram_offset() intact after snapshot
restore.

* cow only clear the tlb of affected pages

* update flatview when possible

Building each flatview new when the memory has changed is quite
expensive when many MemoryRegions are used. This is an issue when using
snapshots.

* update benchmark for new api

* save flatview in context

this avoids rebuilding the flatview when restore a context.

* init context flatview with zero

* address_space_dispatch_clear remove subpage with higher priority

* docutemnt the options for UC_CTL_CONTEXT_MODE

Specialy stress that with UC_CTL_CONTEXT_MEMORY it is not possible to
use the context with a different unicorn object.
2024-10-16 21:51:13 +08:00
..
unicorn Optimize memory handling (#1963) 2024-10-16 21:51:13 +08:00
list.h Fix possible leak in hooks 2022-02-12 16:28:43 +01:00
qemu.h Optimize memory handling (#1963) 2024-10-16 21:51:13 +08:00
uc_priv.h Optimize memory handling (#1963) 2024-10-16 21:51:13 +08:00