Possible to bind uc_mem_map_ptr? #27
Comments
I think it should be possible. Do you have an idea what kind of memory buffer you would like to use? I want to be sure the implementation I come up with is working in your use-case. |
It's for a multithreaded emulator, I was debating whether a rewrite in Rust is feasible. Currently a 4GB address space is reserved using That address space pointer is passed to multiple Unicorn instances using |
That's a pretty cool project! I pushed a branch with mem_map_ptr support added (see #28). I think that should work for your use case? |
Thank you. I'm new to Rust so I can't say for sure, but I imagine as long as I can get that pointer from Thank you for looking into this! |
I decided to make I will go ahead and merge this change, I will also do an update of the package on crates.io. |
The package has been update to 0.8.0. |
Is it possible to bind
uc_mem_map_ptr
, thereby allowing the user to provide their own memory? Maybe this isn't reasonably to do with Rust, I don't know it well enough.The text was updated successfully, but these errors were encountered: