Commit Graph

486 Commits

Author SHA1 Message Date
2cc15c7260 Added SetCPUModel go binding
Go cannot use C macros directly, so I followed existing convention and
added a helper to uc.c to call the uc_ctl_set_cpu_model macro
2021-12-04 16:25:23 -05:00
59fb8a2733 rust: Add RISCV CSR registers
The addition of these registers in the C base caused the rust values
for all floating point registers and the PC to point to some of the
CSR registers instead.
2021-11-30 16:09:24 +01:00
10d88e89a5 Fix uc_version and bump again 2021-11-25 18:19:46 +01:00
9a4d5d0be8 Bump bindings version to 2.0.0-rc5 2021-11-25 14:29:41 +01:00
a237505adb rust: Implement deallocation of MMIO callbacks
Previously the user data of MMIO callbacks would live until the end of
the containing Unicorn engine. Now they are deallocated once all
memory referencing those callbacks has been unmapped.
2021-11-24 12:15:20 +01:00
20d97a0c00 Add map_mmio to rust bindings 2021-11-24 12:15:20 +01:00
2d665aa752 Accomodate for setting a different CMAKE_GENERATOR in the environment.
This makes sure the right build utility is called, depending on the
value of the CMAKE_GENERATOR environment.
2021-11-13 13:34:11 +01:00
fafec703e1 Merge pull request #1480 from domenukk/rust_bindings
Rust bindings improvements
2021-11-10 07:52:31 +01:00
7f43e1de3e Rename rust env to decide build dir 2021-11-10 07:51:07 +01:00
67cd9b1c2f fixed doc tests 2021-11-10 04:49:27 +01:00
7adcced19b cleanup 2021-11-10 04:26:56 +01:00
7873e60740 reverted unfinished commit 2021-11-10 04:21:30 +01:00
a231440cf8 reverted build.rs 2021-11-10 04:14:56 +01:00
177b21c2af removed need for extra api; no_std 2021-11-10 04:11:14 +01:00
492779d7d4 fixed context 2021-11-09 16:19:27 +01:00
3b0ce89a7a missing pcs 2021-11-09 16:09:02 +01:00
a3e139847d reapply missing changes 2021-11-09 16:04:59 +01:00
1f90734b12 No longer redownloads unicorn each cargo build 2021-11-09 15:51:11 +01:00
d7ead41a51 fixed testcases 2021-11-09 14:49:18 +01:00
ec02eccb85 Fixup Rust CI 2021-11-09 00:58:13 +01:00
0714fb5760 Bump bindings version 2021-11-09 00:23:19 +01:00
0dfc0cba1f removed duplicate 2021-11-08 19:39:15 +01:00
a8f9655189 lifetime 2021-11-08 19:37:38 +01:00
f8f0d4471f Unicorn rust bindings improvements 2021-11-08 19:34:53 +01:00
9abbba173c Update python bindings 2021-11-07 21:00:05 +01:00
8732cff287 add rpath and go.mod 2021-11-07 20:24:50 +01:00
923b4ad3cc Update python bindings 2021-11-04 21:47:30 +01:00
b9c0066a47 Format and naming 2021-11-04 20:04:57 +01:00
db90f39ac6 Generate bindings 2021-11-04 20:01:19 +01:00
3dfec280c7 Merge and close #1161 2021-11-03 21:02:48 +01:00
aaf340d9e4 Merge branch 'dev' into patch 2021-11-02 18:36:22 +08:00
090686f8ed uc_ctl proposal (#1473)
* Add uc_ctl

* Add comments

* Slightly changed for bindings generation

* Generate bindings
2021-10-30 10:45:32 +08:00
9e1443013b Fix gen_const 2021-10-26 13:10:59 +02:00
e695686c15 Remove AFL Integration by reverting 2021-10-26 11:22:21 +02:00
17963ff4aa Update python bindings for afl 2021-10-25 01:27:51 +02:00
f08b7d6b5b Make gen_const work and updates constants 2021-10-25 00:57:32 +02:00
mio
fbdd321afe Remove useless import 2021-10-18 21:44:10 +02:00
mio
2463467302 Format the code 2021-10-18 21:41:19 +02:00
mio
a1d5c5f1b0 Don't reply on git command 2021-10-18 21:39:59 +02:00
c400924fe1 Merge branch 'dev' into patch 2021-10-17 18:18:09 +08:00
mio
15bcdf7cbc Add documentation link 2021-10-17 03:36:58 +02:00
mio
a11cd9c43f Ready for rust bindings release 2021-10-17 03:26:40 +02:00
mio
6d0d0897f8 Fix Rust build and CI.
Add a test for ppc and fix ppc on windows.
2021-10-17 02:11:38 +02:00
mio
c8eea0bcb3 Fix build.rs and tests 2021-10-16 21:21:12 +02:00
5a97bf7f8f Update Rust constants to Unicorn2 2021-10-15 09:17:43 +08:00
fe296d1c9e Improve Java bindings 2021-10-14 18:39:38 +08:00
47ecfc1b2c Handle exceptions raised in Python hook functions (#1387) 2021-10-12 08:35:52 +08:00
00b4a17c1b Fix some typos in include files (#1350) 2021-10-11 11:18:27 +08:00
d1496f3700 Update binding list (#1349) 2021-10-11 11:17:49 +08:00
mio
8f7ecfe48b Support configure threads by environment variable 2021-10-10 23:46:22 +02:00