Commit Graph

214 Commits

Author SHA1 Message Date
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
6db6790ec2 Merge remote-tracking branch 'zachesez/ppc_cr_read_fix' into dev 2022-07-23 20:46:40 +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
Zach Szczesniak
2b25867e4b Fixed endianness when writing PPC32 CR register. 2022-07-20 18:31:13 -04:00
0ebac3b455 Fix typo 2022-06-02 15:06:50 +02:00
6d61aec82f Format code 2022-06-02 14:46:26 +02:00
637dc8a8a0 Generate an extra block to trigger segfault 2022-06-02 14:45:38 +02:00
40436e885b Fix the cached hook test 2022-06-02 14:38:53 +02:00
774c942143 Add a test for hook cache UAF
If a hook is deleted but wrongly cached, a UAP is probably triggered
2022-06-01 23:58:02 +02:00
e3613a9f59 Format code 2022-05-28 23:46:18 +02:00
2a6529348c Support uc_mem_protect on mmio regions
Also make mmio ranges return the correct errors on wrong protection
2022-05-28 23:33:43 +02:00
ba50035830 Format code 2022-05-23 12:30:44 +02:00
dae48aecee Mem hook should return a bool 2022-05-20 13:31:54 +02:00
0d41d4bbb2 Merge QDucasse:x86_hook_address for tests 2022-05-20 13:07:49 +02:00
f4f726d7fc Add test for ensuring hooks are get called only once 2022-05-07 00:23:04 +02:00
Quentin DUCASSE
38dfd69309 Equivalent tests for arm64 2022-05-04 18:03:06 +02:00
Quentin DUCASSE
f569417878 Equivalent tests for riscv 2022-05-04 17:18:47 +02:00
Quentin DUCASSE
8ee9e89f01 Fixed code comment for x86 tests 2022-05-04 17:06:48 +02:00
Quentin DUCASSE
a3ed8bbce5 Tests for jump hook address 2022-05-04 16:51:43 +02:00
Eric Poole
cfee2139a0 TriCore Support (#1568)
* TriCore Support

python sample

* Update sample_tricore.py

Correct attribution

* Update sample_tricore.py

Fixed byte code to execute properly.

* Update sample_tricore.py

Removed testing artifact

* Added tricore msvc config-file.h

* Added STATIC to tricore config and added helper methods to symbol file generation.

* Update op_helper.c

Use built in crc32

* Fix tricore samples and small code blocks are now handled properly

* Add CPU types

* Generate bindings

* Format code

Co-authored-by: lazymio <mio@lazym.io>
2022-04-29 23:11:34 +02:00
ed90e98d81 Generate a TB at least to make sure cahce is not cleared for ADD and DEC 2022-04-26 01:18:00 +02:00
d3f1ec1345 Add a test for count hook cache 2022-04-26 01:17:59 +02:00
3d3deac5e6 Fix crash when mapping a big memory and calling uc_close 2022-04-16 19:17:41 +02:00
cf18982e1c Add two tests for mem map wrap 2022-04-16 18:19:41 +02:00
c379d1bfe4 Format code 2022-04-16 17:50:12 +02:00
b136f08f2d Check CPU model for uc_ctl 2022-04-16 17:49:47 +02:00
shuffle2
2912cd1e29 fix rust bindings build on windows (#1584)
Refine rust bindings.
2022-04-16 13:40:04 +02:00
e3d0a33ab8 Fix BE32 usermode address XOR 2022-04-05 11:55:58 +02:00
3112cd920e Add a test for nested uc_emu_start exits 2022-03-06 23:51:35 +01:00
2a4e42f315 Fix test 2022-03-06 23:40:57 +01:00
e5207a1363 Implement UC_HOOK_INSN for aarch64 MRS/MSR/SYS/SYSL 2022-02-27 15:28:31 +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
45b5d7d8d2 Add test for caf2fe1ddb 2022-02-25 22:24:17 +01:00
Bet4
d96083d4d1 Fix pc after ppc sc inst 2022-02-20 20:42:46 +08: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
e382ca102a Fix the regression bug 2022-02-13 09:52:00 +01:00
96518634fb Fix the wrong block found when doing split_region 2022-02-12 21:34:46 +01:00
a2f18bbfaf Format code 2022-02-12 16:29:00 +01:00
5683a5484d Add test for switch endianess runtime 2022-02-12 14:35:33 +01:00
380e72bc12 Add tests for armeb CPSR.E and SCTLR.B 2022-02-12 14:29:15 +01:00
58fc952230 Remove armeb-softmmu and aarch64eb-softmmu 2022-02-12 14:15:54 +01:00
3e6665db00 Implement coprocessor register read/write for arm64 2022-02-11 22:13:01 +01:00
8bc1489210 Implement coprocessor register read/write for arm 2022-02-11 21:45:37 +01:00
Nguyen Anh Quynh
141a558dd8 fix conflicts 2022-01-28 10:30:51 +08:00
bbfb376a88 Merge pull request #1521 from unicorn-engine/s390x
S390X Support
2022-01-19 23:07:19 +01:00