Commit Graph

2601 Commits

Author SHA1 Message Date
lazymio
185a6fec9e
Bump bindings version to 2.0.0-rc7 2022-04-17 16:48:12 +02:00
lazymio
8fd9ee3dd0
Bump unicorn version 2022-04-17 16:47:37 +02:00
lazymio
290f8d48bd
Update docs 2022-04-17 16:44:21 +02:00
lazymio
6672ef5f2d
Update changelog for uc2 rc releases 2022-04-17 16:43:05 +02:00
lazymio
d661173ecf
Pick #1594 2022-04-17 16:16:11 +02:00
lazymio
656dde9f60
Fix MSVC build 2022-04-16 23:37:52 +02:00
lazymio
3d3deac5e6
Fix crash when mapping a big memory and calling uc_close 2022-04-16 19:17:41 +02:00
lazymio
cf18982e1c
Add two tests for mem map wrap 2022-04-16 18:19:41 +02:00
lazymio
e8129b6f66
Revert "Fix https://github.com/unicorn-engine/unicorn/issues/1590" 2022-04-16 17:59:15 +02:00
lazymio
034844f7f9
Merge pull request #1592 from liyansong2018/mybranch1
Fix https://github.com/unicorn-engine/unicorn/issues/1590
2022-04-16 17:52:30 +02:00
lazymio
5a79d7879c
Generate bindings 2022-04-16 17:50:32 +02:00
lazymio
c379d1bfe4
Format code 2022-04-16 17:50:12 +02:00
lazymio
b136f08f2d
Check CPU model for uc_ctl 2022-04-16 17:49:47 +02:00
lazymio
a60db86144
Move static linkage flags to Libs.private 2022-04-16 15:57:54 +02:00
shuffle2
2912cd1e29
fix rust bindings build on windows (#1584)
Refine rust bindings.
2022-04-16 13:40:04 +02:00
liyansong2018
88f4eba072 Fix https://github.com/unicorn-engine/unicorn/issues/1590 2022-04-13 21:53:58 +08:00
lazymio
9620514b68
Rename x32 to x86 2022-04-12 22:41:50 +02:00
lazymio
53e31363f5
Fix windows build for rust 2022-04-12 22:39:44 +02:00
lazymio
30ff407e67
Fix typo in CI name 2022-04-12 21:10:19 +02:00
lazymio
a6f9fd17d5
Search cmake build root directory 2022-04-12 21:05:46 +02:00
lazymio
ae3d529830
Update CI test name 2022-04-12 20:36:52 +02:00
lazymio
d12cffa015
Fix bundle static for NOT_FOUND dep 2022-04-12 20:24:16 +02:00
lazymio
8a86851804
Add win32 static CI test 2022-04-12 19:26:47 +02:00
lazymio
587fd89f01
Fix win32 static build 2022-04-12 19:23:37 +02:00
lazymio
e26953c06c
Fix rust static build 2022-04-12 19:15:14 +02:00
lazymio
2d68708244
Update CI for static builds 2022-04-12 19:08:35 +02:00
lazymio
ac04c02789
Refine static libs on Linux/MacOS 2022-04-12 18:49:15 +02:00
lazymio
469fc4c35a
Merge pull request #1587 from liyansong2018/dev
Fix https://github.com/unicorn-engine/unicorn/issues/1586
2022-04-11 10:44:10 +02:00
liyansong2018
9985974998 Fix https://github.com/unicorn-engine/unicorn/issues/1586 inner free 2022-04-11 15:48:11 +08:00
liyansong2018
a28d1dfbed Fix https://github.com/unicorn-engine/unicorn/issues/1586 2022-04-11 15:31:15 +08:00
Henrik Tjäder
d1372c28eb Make README code example compile 2022-04-06 13:31:12 +02:00
lazymio
e3d0a33ab8
Fix BE32 usermode address XOR 2022-04-05 11:55:58 +02:00
lazymio
7e64e620d2
Remove unassigned_io_write from ioport.c 2022-04-04 11:25:40 +02:00
lazymio
2f113b11d1
Fix symbol clash on bunlded static libs 2022-04-04 11:24:59 +02:00
lazymio
e188591695
Rename unicorn_static to unicorn-static 2022-04-04 10:54:35 +02:00
lazymio
4f0be88f01
Support macos 2022-04-04 10:24:07 +02:00
lazymio
82559cb9a7
Bundle static libraries 2022-04-04 10:24:07 +02:00
lazymio
da561f6164
Merge pull request #1581 from rose4096/dev
Fix clang-cl compile with CONFIG_INT128 in qemu
2022-04-03 23:41:22 +02:00
rose
fc0d9a82a5 Fix clang-cl compile with CONFIG_INT128 in qemu 2022-04-03 16:30:26 -04:00
lazymio
7e6d21d27c
Fix memory leak in code_gen_buffer 2022-04-03 21:44:09 +02:00
lazymio
ca81d46ad5
Merge pull request #1574 from nviennot/dev
Rust bindings for insn_invalid_hook
2022-04-03 10:27:00 +02:00
lazymio
ec808c94a7
Merge pull request #1575 from n1tram1/dev
Fix rust binding for insn_in hook callback
2022-04-03 00:42:45 +02:00
lazymio
6da43e268a
Merge pull request #1572 from iii-i/x86-holes
Add "holes" to where the removed x86 registers used to be
2022-04-03 00:42:08 +02:00
Martin Schmidt
9702e657a2 rust: return u32 from insn_in_hook callback 2022-03-26 15:41:37 +01:00
Nicolas Viennot
af8a409141 Rust bindings for insn_invalid_hook 2022-03-25 21:49:26 -04:00
Ilya Leoshkevich
28c4c665f0 Add "holes" to where the removed x86 registers used to be
A number of x86 registers were removed for #1440, causing a change in
numbering for many other registers. This is causing inconveniences at
the moment, e.g. it's not possible to use the Unicorn2 shared library
as a drop-in replacement for the Unicorn1 one.

Restore the old numbering.

Fixes #1492.
2022-03-22 11:31:58 +01:00
lazymio
966798fbf6
Merge pull request #1570 from iii-i/s390x-brasl-brcl
Merged, thanks!
2022-03-17 20:57:53 +01:00
Ilya Leoshkevich
7de130a5d7 s390x/tcg: Fix BRASL and BRCL with large negative offsets
This is a backport of the following upstream commits:
- commit fc3dd86a290a ("s390x/tcg: Fix BRASL with a large negative offset")
- commit 16ed5f14215b ("s390x/tcg: Fix BRCL with a large negative offset")

Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
2022-03-17 14:23:57 +01:00
lazymio
3112cd920e
Add a test for nested uc_emu_start exits 2022-03-06 23:51:35 +01:00
lazymio
2a4e42f315
Fix test 2022-03-06 23:40:57 +01:00