From 99bb0f2e3f77f4d0b9e83e8880fa465a9e8cb148 Mon Sep 17 00:00:00 2001 From: Lee Lup Yuen Date: Tue, 21 Feb 2023 13:26:28 +0800 Subject: [PATCH] Update doc --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index 65ab70f..655e0dd 100644 --- a/README.md +++ b/README.md @@ -520,6 +520,20 @@ TODO: Trace the exception in the debugger. Set a breakpoint at `cpu_aarch64_init $HOME/.cargo/registry/src/github.com-1ecc6299db9ec823/unicorn-engine-2.0.1/qemu/target/arm/cpu64.c ``` +Disassembly of system instructions: + +```text +$HOME/.cargo/registry/src/github.com-1ecc6299db9ec823/unicorn-engine-2.0.1/qemu/target/arm/translate-a64.c +``` + +`aarch64_tr_translate_insn()` + +- Calls `disas_b_exc_sys()` + +- Calls `disas_system()` + +- Calls `handle_sys()` to handle system instructions + TODO: Emulate the special Arm64 Instructions # TODO