Commit Graph

2405 Commits

Author SHA1 Message Date
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
18d7f090ce Add gitignore 2021-11-21 12:48:52 +01:00
c05fbb7e63 Add a handy example to show how to handle invalid memory read/write 2021-11-16 23:15:38 +01:00
c1106b811b Fix a memory leak in mmio 2021-11-16 22:44:03 +01:00
fc467edbc6 Fix 32bit target getting wrong offset for mmio 2021-11-16 22:40:57 +01:00
8c2bc394bc No need to save jmp_buf and uc in contexts
This reverts #1335 in fact
2021-11-16 21:18:27 +01:00
247ffbe0e8 Support nested uc_emu_start calls 2021-11-16 21:07:03 +01:00
43c643d4af Fix #1488 2021-11-16 09:41:21 +01:00
e829d745d4 Merge pull request #1486 from mid-kid/dev
Accomodate for setting a different CMAKE_GENERATOR in the environment
2021-11-13 21:33:27 +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
7e244f87b4 Fix UC_HOOK_EDGE_GENERATED implementation 2021-11-11 22:15:15 +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
a43f655727 Merge pull request #1483 from domenukk/no_redownload
No redownload in rust bindings
2021-11-10 07:49:31 +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
23ef5da491 Merge pull request #1481 from bet4it/cp15
Restore cp15 registers
2021-11-09 16:50:31 +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
acaed986b5 Restore cp15 registers 2021-11-09 13:13:08 +08:00
ec02eccb85 Fixup Rust CI 2021-11-09 00:58:13 +01:00
87ece24160 Fixup Rust CI 2021-11-09 00:50:53 +01:00
c51bd2c6a6 Fix rust CI 2021-11-09 00:46:47 +01:00
0714fb5760 Bump bindings version 2021-11-09 00:23:19 +01:00
640251e1aa Leave out size parameter in callback 2021-11-09 00:21:34 +01:00
56fcc07a7c Add EXTRA field to uc_version 2021-11-08 22:51:49 +01:00
35017a614f Slightly change UC_CTL_TB_REMOVE_CACHE 2021-11-08 22:09:33 +01:00
6ec016327d Rename uc_hook_tcg_sub_t 2021-11-08 21:01:47 +01:00
4df0ad5e83 Update docs for exits mechanism 2021-11-08 20:54:07 +01:00
e836b62e01 Minor fix for uc_ctl 2021-11-08 20:40:02 +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
06f454d513 Update CMakeLists to use it as subproject 2021-11-07 21:07:53 +01:00
9abbba173c Update python bindings 2021-11-07 21:00:05 +01:00
bfb5875eb9 Update rust CI 2021-11-07 20:58:51 +01:00
2f61592ff9 Fix uc_mem_protect 2021-11-07 20:37:58 +01:00
c6fdbb3735 Add RISCV CSR registers 2021-11-07 20:36:04 +01:00