mirror of
https://github.com/Vita3K/unicorn.git
synced 2025-02-25 14:53:23 +00:00
commit
4b3bbe4759
@ -154,7 +154,7 @@ func (u *uc) RegReadBatch(regs []int) ([]uint64, error) {
|
||||
}
|
||||
|
||||
func (u *uc) MemRegions() ([]*MemRegion, error) {
|
||||
var regions *C.struct_uc_mem_region
|
||||
var regions *C.uc_mem_region
|
||||
var count C.uint32_t
|
||||
ucerr := C.uc_mem_regions(u.handle, ®ions, &count)
|
||||
if ucerr != C.UC_ERR_OK {
|
||||
|
Loading…
x
Reference in New Issue
Block a user