Commit Graph

2548 Commits

Author SHA1 Message Date
b7bc13650c Sync PC after we exit
We should sync PC if there is no UC_HOOK_CODE hook
2022-03-05 22:42:41 +01:00
ce932e4c28 Update comments for uc_cb_insn_sys_t 2022-03-05 22:42:41 +01:00
David Zimmer
b1739c6a62 vb6 bindings: clarify Apache license as v2.0 (#1563) 2022-03-03 09:35:02 +08:00
9f62c71094 Sync PC for SYS instruction hook 2022-02-27 15:30:27 +01:00
7f8ff1af6a Update sample for MRS hook 2022-02-27 15:28:32 +01:00
dd96cab9bf Update bindings 2022-02-27 15:28:32 +01:00
e5207a1363 Implement UC_HOOK_INSN for aarch64 MRS/MSR/SYS/SYSL 2022-02-27 15:28:31 +01:00
8e2f70a35b Merge pull request #1559 from yrashk/aarch64-use-map-jit
Problem: Could not allocate dynamic translator buffer
2022-02-25 22:46:19 +01:00
d946114dfe Set EFLAGS correctly on startup 2022-02-25 22:44:42 +01:00
186be25c40 Fix wrong mode in tests 2022-02-25 22:28:26 +01:00
84e796494f Format code 2022-02-25 22:24:25 +01:00
45b5d7d8d2 Add test for caf2fe1ddb 2022-02-25 22:24:17 +01:00
caf2fe1ddb Clear state when exiting from uc_emu_start
This may cause unexpected result when we are in a nested uc_emu_start
2022-02-25 22:23:44 +01:00
defb0135fe MSVC doesn't really have atomic64 2022-02-23 20:22:54 +01:00
ad4b56ad54 Remove armeb and aarcheb in configure 2022-02-22 15:28:16 +01:00
Yurii Rashkovskii
f652340bec Problem: Could not allocate dynamic translator buffer
`Could not allocate dynamic translator buffer` error while
trying to perform any memory-related operation.

This happens on aarch64 (MacBook Pro M1)

Solution: ensure aarch64 architecture is properly checked against

Fixes #1556
2022-02-20 07:46:30 -08:00
051ae39f08 Merge pull request #1558 from bet4it/sc
Fix pc after ppc sc inst
2022-02-20 15:42:23 +01:00
Bet4
d96083d4d1 Fix pc after ppc sc inst 2022-02-20 20:42:46 +08:00
fc4ca3b04f Merge pull request #1554 from bet4it/const
Update constants of bindings
2022-02-19 21:27:40 +01:00
Bet4
504b31b928 Update constants of bindings 2022-02-19 21:24:40 +08:00
cc45585e90 Use windows 2019 for pypi and cargo 2022-02-17 10:47:31 +01:00
debdb66837 Use windows 2019 2022-02-17 10:39:02 +01:00
8d9ca1ce84 Format 2022-02-17 10:37:34 +01:00
3ed9dbda13 Update bindings 2022-02-15 22:08:27 +01:00
27ef63cc8d Add UC_PPC_REG_CR 2022-02-15 22:07:53 +01:00
c10639fd46 Bump version in bindings 2022-02-13 11:03:57 +01:00
73e4a90d3a Manually revert 63a445cbba 2022-02-13 10:13:01 +01:00
4266196b2d Fix the divergence with master. 2022-02-13 10:08:58 +01:00
16e9efa4f5 Bump version 2022-02-13 09:56:10 +01:00
5b2c610527 Sync doc with repo wiki 2022-02-13 09:54:38 +01:00
e382ca102a Fix the regression bug 2022-02-13 09:52:00 +01:00
05b9a021dc Merge pull request #1453 from scribam/reg-read-write-fpscr
unicorn_arm: add reg_read/write operations for FPSCR and FPSID
2022-02-13 09:02:32 +01:00
d503a69239 Merge pull request #1511 from bet4it/use_system_unicorn
Add use_system_unicorn feature in rust bindings
2022-02-12 22:57:01 +01:00
52e0963cc7 Backward compatibility to enable full 64bits address space 2022-02-12 22:54:21 +01:00
81eb7da837 Backward compatibility for c13_c0_3 2022-02-12 22:31:10 +01:00
96518634fb Fix the wrong block found when doing split_region 2022-02-12 21:34:46 +01:00
3c4477d622 Fix another undefined shift found by sanitizer 2022-02-12 19:57:19 +01:00
93c602ead1 FIx anohter undefined shift 2022-02-12 19:47:51 +01:00
e38b1c8af3 Fix the undefined shift 2022-02-12 19:37:32 +01:00
e548cd9eb1 Fix the undefined shift 2022-02-12 18:22:56 +01:00
d0de673208 Fix the undefined lshift negative numbers 2022-02-12 17:47:57 +01:00
a2f18bbfaf Format code 2022-02-12 16:29:00 +01:00
2a84e33f03 Fix possible leak in hooks 2022-02-12 16:28:43 +01:00
9ff335efdc Fix memory leak of the empty_view 2022-02-12 15:47:25 +01:00
5683a5484d Add test for switch endianess runtime 2022-02-12 14:35:33 +01:00
c2bb5c8838 Fix ns and s in cp reg encoding 2022-02-12 14:29:42 +01:00
380e72bc12 Add tests for armeb CPSR.E and SCTLR.B 2022-02-12 14:29:15 +01:00
9bf074d824 Remove armeb-softmmu and aarch64eb-softmmu for rust bindings 2022-02-12 14:18:01 +01:00
1b346f94e0 Add back arm_armbe and arm64_armbe targets 2022-02-12 14:17:33 +01:00
58fc952230 Remove armeb-softmmu and aarch64eb-softmmu 2022-02-12 14:15:54 +01:00