Files
unicorn/qemu
Glenn Baker 8442eb6feb qemu/tcg: fix UC_HOOK_MEM_READ on aarch64. (#2028)
* qemu/tcg: fix UC_HOOK_MEM_READ on aarch64.

Directly jump into the slow path when there is any hookmem enabled. This
fixes #1908.

Signed-off-by: Glenn Baker <glenn.baker@gmx.com>

* qemu/tcg: fix UC_HOOK_MEM_READ on ppc64.

Directly jump into the slow path when there is any hookmem enabled.

Signed-off-by: Glenn Baker <glenn.baker@gmx.com>

* qemu/tcg: check for UC_HOOK_MEM_READ_AFTER.

Use has_hookmem() helper to determine wether "slow-path" TLB read is
needed. Add this helper to x86 architecture as well so that to check for
all hookmem.

Signed-off-by: Glenn Baker <glenn.baker@gmx.com>

* qemu/tcg: factor out has_hookmem().

It's the same implementation for all architectures, so factor out
has_hookmem() into tcg_uc_has_hookmem().

Signed-off-by: Glenn Baker <glenn.baker@gmx.com>

---------

Signed-off-by: Glenn Baker <glenn.baker@gmx.com>
2025-01-04 18:48:53 +08:00
..
2025-01-04 15:57:02 +08:00
2021-10-03 22:14:44 +08:00
2021-10-03 22:14:44 +08:00
2021-10-03 22:14:44 +08:00
2021-10-03 22:14:44 +08:00
2024-11-04 12:53:26 +08:00
2021-10-03 22:14:44 +08:00
2021-10-03 22:14:44 +08:00
2024-10-16 21:51:13 +08:00
2024-10-16 21:51:13 +08:00
2021-10-03 22:14:44 +08:00
2015-08-21 15:04:50 +08:00
2021-10-03 22:14:44 +08:00
2022-02-12 18:22:56 +01:00
2024-10-16 21:51:13 +08:00
2021-10-03 22:14:44 +08:00
2024-10-16 21:51:13 +08:00
2021-10-03 22:14:44 +08:00
2024-10-16 21:51:13 +08:00
2024-10-16 21:51:13 +08:00
2024-10-16 21:51:13 +08:00
2024-10-16 21:51:13 +08:00
2024-10-16 21:51:13 +08:00
2024-10-16 21:51:13 +08:00
2024-10-16 21:51:13 +08:00
2024-10-16 21:51:13 +08:00
2021-10-03 22:14:44 +08:00
2024-10-16 21:51:13 +08:00
2024-10-16 21:51:13 +08:00
2024-10-16 21:51:13 +08:00
2024-10-16 21:51:13 +08:00
2021-10-03 22:14:44 +08:00
2015-08-21 15:04:50 +08:00
2024-10-16 21:51:13 +08:00