Commit Graph

2298 Commits

Author SHA1 Message Date
c4b4189857 Update bindings 2022-01-04 21:12:52 +01:00
d854e22301 Add x87 FPU registers #1524 2022-01-04 21:12:12 +01:00
47097b55b7 Fix #1520 2022-01-04 21:01:20 +01:00
73149f3616 Fix test case 2022-01-04 20:54:52 +01:00
7dc858d03d Add a test for arm privilege escalation 2022-01-04 20:30:07 +01:00
mio
085ee07c73 No more hard-coded cpu models 2021-12-30 01:05:10 +01:00
cddc9cf2ed Fix arm post init 2021-12-25 00:16:51 +01:00
5b3a9e1024 Add test for arm v8 2021-12-24 23:45:57 +01:00
4f73d75ea8 Fix #1500 2021-12-23 21:46:27 +01:00
ef6f8a2427 Fix x86 CPUID 2021-12-22 23:39:41 +01:00
3184d3fcdf Update python bindings 2021-12-22 20:46:14 +01:00
a81e155633 Pack test variables 2021-12-22 20:45:15 +01:00
7bb0abb977 Format 2021-12-22 20:37:15 +01:00
7bb756249a Better design of cpuid instruction hook 2021-12-22 20:36:56 +01:00
dfb14e971f Merge pull request #1512 from QDucasse/code_patching
Issues with count for code patching
2021-12-22 20:08:27 +01:00
033e79abac Added cache flush after code patching in unit tests for arm64 and riscv 2021-12-17 14:55:08 +01:00
549274f44c Code patching tests for riscv and arm64 2021-12-10 15:27:54 +01:00
1923c12315 Merge pull request #1506 from zznop/1502-set-cpu-go
SetCPUModel go binding for setting the CPU model
2021-12-04 23:26:41 +01:00
5eb5686538 Format 2021-12-04 23:22:42 +01:00
8a0ca8715e Fix SR read/write and a test 2021-12-04 23:22:28 +01:00
3020d7b82a Fix wrong m68k enums 2021-12-04 23:20:46 +01:00
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
d204dc6374 Added SR to M68K reg_read and reg_write (#1507) 2021-12-02 14:12:49 +08:00
c190069b10 Merge pull request #1504 from Kritzefitz/rust-riscv-registers
rust: Add RISCV CSR registers
2021-12-01 13:28:13 +01: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
3288a58fa6 Fix Rust CI by requesting a fresh copy when doing publish 2021-11-25 17:49:12 +01:00
f4ffccfd5e Always upload artifacts for windows and macos 2021-11-25 15:31:53 +01:00
9af54b02e3 Always upload artifacts 2021-11-25 14:43:53 +01:00
9a4d5d0be8 Bump bindings version to 2.0.0-rc5 2021-11-25 14:29:41 +01:00
a3d842c485 Bump version and add patch field to uc_version 2021-11-25 14:29:04 +01:00
558fb9c155 Merge pull request #1499 from Kritzefitz/rust-mmio
Implement MMIO in rust bindings.
2021-11-24 17:27:46 +01:00
221cde18df Write CPSR as it is initiated from instructions to allow regs switch 2021-11-24 17:10:51 +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
78e0ddbc4d Fix mmio unmap 2021-11-24 00:18:19 +01:00
4ed1c4cff9 Fix test name typo 2021-11-23 23:24:53 +01:00
715cabad7a Merge pull request #1498 from Kritzefitz/splitting-mmio-unmap-test
Add test case for #1497
2021-11-23 23:24:00 +01:00
cb33fb2570 Format code 2021-11-23 23:23:02 +01:00
c733bbada3 Fix wrong offset used in split_region 2021-11-23 23:22:53 +01:00
3e2580ef9e Add test case for #1497 2021-11-23 22:47:20 +01:00
c1c5f72918 Fix the sizemask for inline hooking 2021-11-23 21:18:21 +01:00
e11cc16e54 Implement high-resolution clock for mingw64 in test_ctl 2021-11-23 14:15:18 +01:00
ccfb66611f Move test to test_mem 2021-11-23 00:41:49 +01:00
7a1de17f37 Fix UC_HOOK_EDGE_GENERATED to work with indirect jump
For an indirect jump (lookup_tb_ptr), last_tb would be NULL
2021-11-23 00:25:55 +01:00
083ccf160b Use fprintf 2021-11-22 21:22:21 +01:00
3627db5b83 Merge pull request #1496 from Kritzefitz/splitting-unmap-test
Add test case for #1495
2021-11-22 18:49:06 +01:00
b35dbb90b2 Add test case for #1495 2021-11-22 18:48:16 +01:00
907ec5095d Fix a stackoverflow in tests 2021-11-21 19:28:45 +01:00
87a391d549 Inline uc_tracecode when there is only exactly one hook 2021-11-21 16:44:39 +01:00