Commit Graph

2846 Commits

Author SHA1 Message Date
relapids
1065c2dff4 Fix test_uc_hook_cached_uaf for MacOS M1 (aarch64). 2022-09-25 15:24:56 -07:00
mio
7fb6264d02
Also copy glib_compat and samples 2022-09-25 18:46:04 +02:00
mio
97b2e44c77
Also copy cmake files 2022-09-25 18:43:09 +02:00
Sh4w
a98cd25747
Fix type hint of reg_write in Python bindings 2022-09-26 00:18:31 +08:00
Timo Röhling
e1e7b25268
Adjust big memory test for host pagesize
On machines with a page size larger than 4K, the requested memory size
in `test_map_big_memory` gets rounded up and overflows to zero.

This PR adds some code to query the page size and adjust the requested
memory size accordingly.
2022-09-25 18:16:06 +02:00
mio
e76b2db434
Support build in a sdist 2022-09-25 18:09:41 +02:00
mio
32a3a6865a
Don't resize user alloc-ed memory 2022-09-25 17:41:33 +02:00
lazymio
be8c7d018d
Merge pull request #1703 from LilyWangLL/vcpkg-instructions
Add vcpkg installation instructions
2022-09-25 17:19:34 +02:00
mio
325d02e641
Use ANDROID_NDK 2022-09-25 17:17:45 +02:00
Lily Wang
fb802575d7 Add vcpkg installation instructions 2022-09-09 01:22:23 -07:00
Mio
a0e119c6f0
Format code 2022-08-31 23:27:24 +08:00
Mio
092014a6cc
Don't sync pc if user requests a restart 2022-08-31 23:27:05 +08:00
Mio
c4a0813f4a
Add a test for infinite loop when sync-ing pc for UC_HOOL_BLOCK #1661 2022-08-31 23:27:05 +08:00
lazymio
a2f9630236
Merge pull request #1691 from relapids/arm_specific_tests
Disable ARM-specific tests when ARM is unavailable. (#1689)
2022-08-31 22:08:12 +08:00
lazymio
a63002872f
Merge pull request #1688 from relapids/tricore_leak
Fix memory leaks in TriCore target. (#1681)
2022-08-31 22:07:10 +08:00
lazymio
bc74ea2fe8
Merge pull request #1693 from relapids/cmake_msvc_runtime
Fix MSVC runtime library handling in CMakeLists. (#1692)
2022-08-31 22:06:35 +08:00
relapids
a0eb240a29 Fix MSVC runtime library handling in CMakeLists. 2022-08-18 22:03:38 -07:00
relapids
154a21d6a3 Disable ARM-specific tests when ARM is unavailable. 2022-08-18 18:29:24 -07:00
lazymio
3c17f7c87e
Merge pull request #1686 from relapids/ppc_leak
Fix memory leak in PPC target. (#1680)
2022-08-16 16:19:06 +02:00
relapids
e15173dd26 Fix memory leaks in TriCore target. 2022-08-15 21:26:29 -07:00
relapids
a3ccbf2e59 Fix memory leak in PPC target. 2022-08-15 18:57:10 -07:00
relapids
5a54b3d7af Fix a segfault inside tb_remove_from_jmp_list by forcing clang-cl to use the same atomic routines as MSVC. 2022-08-15 15:50:46 -07:00
relapids
2ac7b55797 Allow building with clang-cl on Windows. 2022-08-15 15:50:46 -07:00
lazymio
336425b588
Merge pull request #1685 from relapids/fix_sample_ctl_tb_cache
Fix for test_uc_ctl_tb_cache. (#1683)
2022-08-15 20:33:28 +02:00
mio
1c63021592
Disable mingw32 tests correctly 2022-08-15 20:33:00 +02:00
lazymio
c9d0f86253
Merge pull request #1684 from relapids/test_mem_leak
Fix leak in test_mem_protect_map_ptr. (#1682)
2022-08-15 20:31:56 +02:00
relapids
7430e249ea Fix for incorrect argument types passed to uc_ctl_request_cache/uc_ctl_remove_cache in test_uc_ctl_tb_cache. 2022-08-15 05:55:25 -07:00
relapids
2e8986174b Fix leak in test_mem_protect_map_ptr. 2022-08-15 05:38:29 -07:00
mio
bdb141aeef
Disable unaligned access test on ppc and aarch64
The memoy read operations on these architectures are inlined

e.g. ldur on aarch64
2022-08-14 15:42:37 +02:00
mio
419d710c4a
Return true when we handled the memory events 2022-08-14 13:37:25 +02:00
mio
2c00546c6e
Merge rhelmot's fix 2022-08-14 13:35:54 +02:00
mio
01e8d969c8
Update to r25
Ref: https://github.com/actions/runner-images/issues/5930
2022-08-14 12:56:52 +02:00
mio
8303328aa8
Obtain memory mapping after hooks are called 2022-08-14 12:42:53 +02:00
lazymio
ffb047fe37
Merge pull request #1668 from Yu3H0/fix_tricore_pc_problem
fix issue 1663:tricore pc don't move
2022-07-26 22:08:43 +08:00
Yu3h0
ca6a8b4cac fix issue 1663:tricore pc don't move 2022-07-26 13:41:13 +08:00
mio
3d028882ed Fix wrong cput model check in uc_ctl 2022-07-23 20:49:00 +08:00
mio
6db6790ec2 Merge remote-tracking branch 'zachesez/ppc_cr_read_fix' into dev 2022-07-23 20:46:40 +08:00
mio
6d283cf464 Fix ppc symbols clash 2022-07-23 20:39:55 +08:00
mio
06a1858ffd Disable ming32 test 2022-07-23 20:39:55 +08:00
Mio
d6d57834b0
Format code 2022-07-23 19:27:37 +08:00
Mio
c7ff9d66cf
Move vex.l test to test_x86 2022-07-23 19:26:35 +08:00
Mio
2efee81df3
Merge remote-tracking branch 'mrexoida/avx-bug' into dev 2022-07-23 19:26:07 +08:00
Mio
5b5905695d
Fix wrong location of UC_ARM64_REG_CP_REG in python bindings 2022-07-23 19:21:31 +08:00
Zach Szczesniak
2b25867e4b Fixed endianness when writing PPC32 CR register. 2022-07-20 18:31:13 -04:00
Duncan Ogilvie
e485f39846 Add a test to make sure VEX.L stops emulation with an error 2022-07-20 13:59:27 +02:00
Duncan Ogilvie
22ea31cdf7 Fail when VEX.L is set in SSE instructions (AVX is not supported)
Closes #1656
2022-07-20 13:48:31 +02:00
Nguyen Anh Quynh
6c1cbef6ac Merge branch 'dev' 2022-07-07 23:49:09 +08:00
Nguyen Anh Quynh
1ec1352995 bindings: update consts 2022-07-07 23:48:01 +08:00
Nguyen Anh Quynh
492cdfe3d4 Changelog 2022-07-07 23:40:09 +08:00
Mio
e793dc65c2
Update changelog 2022-07-06 09:41:38 +08:00