implement uc_mem_unmap with snapshots

still has todos and need tests
This commit is contained in:
Takacs, Philipp
2023-05-30 16:18:17 +02:00
parent 716c8f1c4c
commit df18756234
23 changed files with 200 additions and 19 deletions

View File

@@ -289,6 +289,8 @@ struct uc_struct {
uc_memory_mapping_t memory_mapping;
uc_memory_filter_t memory_filter_subregions;
uc_mem_unmap_t memory_unmap;
uc_mem_unmap_t memory_moveout;
uc_mem_unmap_t memory_movein;
uc_readonly_mem_t readonly_mem;
uc_cpus_init cpus_init;
uc_target_page_init target_page;
@@ -412,6 +414,7 @@ struct uc_struct {
PVOID seh_handle;
void *seh_closure;
#endif
GArray *unmapped_regions;
int32_t snapshot_level;
};