ed9164e47a
The C function uc_mmio_map() allows to add seperate callback functions and userdata for read and write. When the callback functions are NULL unicorn don't try to call this functions. Previous this patch, when i.e. read_callback was None the callback was set to mmio_read_callback_proxy and the userdata was set to NULL. On a callback the mmio_read_callback_proxy then tried to dereference the userdata and caused a segfault. fixes #1762 |
||
---|---|---|
.. | ||
dotnet | ||
go | ||
haskell | ||
java | ||
pascal | ||
python | ||
ruby | ||
rust | ||
vb6 | ||
const_generator.py | ||
Makefile | ||
README |
This directory contains bindings & test code for Python, Java, Go and .NET. See <language>/README or <language>/README.TXT or <language>/README.md for how to install each binding. The following bindings are contributed by community. - Java binding: by Chris Eagle. - Go binding: by Ryan Hileman. - .NET binding: by Antonio Parata. - Ruby binding: by Sascha Schirra - Haskell binding: by Adrian Herrera. - VB6 binding: David Zimmer. - FreePascal/Delphi binding: Mohamed Osama. More bindings created & maintained externally by community are available as follows. - UnicornPascal: Delphi/Free Pascal binding (by Stievie). https://github.com/stievie/UnicornPascal - Unicorn-Rs: Rust binding (by Sébastien Duquette) https://github.com/ekse/unicorn-rs - UnicornEngine: Perl binding (by Vikas Naresh Kumar) https://metacpan.org/pod/UnicornEngine - Unicorn.CR: Crystal binding (by Benoit Côté-Jodoin) https://github.com/Becojo/unicorn.cr - Deimos/unicorn: D binding (by Vladimir Panteleev) https://github.com/D-Programming-Deimos/unicorn - Unicorn-Lua: Lua binding (by Diego Argueta) https://github.com/dargueta/unicorn-lua - pharo-unicorn: Pharo binding (by Guille Polito) https://github.com/guillep/pharo-unicorn - Unicorn.js: JavaScript binding (by Alexandro Sanchez) https://github.com/AlexAltea/unicorn.js