Add uc_ctl_get/set_tcg_buffer_size
We still need this API because the virtual memory address space of 32 bits os is only 4GB and we default need 1G per instance Credits to @ZehMatt for original idea Co-authored-by: ζeh Matt <5415177+ZehMatt@users.noreply.github.com>
This commit is contained in:
@@ -571,8 +571,12 @@ typedef enum uc_control_type {
|
||||
// Change the tlb implementation
|
||||
// see uc_tlb_type for current implemented types
|
||||
// Write: @args = (int)
|
||||
UC_CTL_TLB_TYPE
|
||||
|
||||
UC_CTL_TLB_TYPE,
|
||||
// Change the tcg translation buffer size, note that
|
||||
// unicorn may adjust this value.
|
||||
// Write: @args = (uint32_t)
|
||||
// Read: @args = (uint32_t*)
|
||||
UC_CTL_TCG_BUFFER_SIZE,
|
||||
} uc_control_type;
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user