Set riscv_get_pc for uc->get_pc

This commit is contained in:
lazymio 2022-05-21 00:02:22 +02:00
parent cc4ed6ee50
commit 9167ab8671
No known key found for this signature in database
GPG Key ID: DFF27E34A47CB873

View File

@ -656,6 +656,7 @@ void riscv64_uc_init(struct uc_struct *uc)
uc->reg_reset = riscv_reg_reset;
uc->release = riscv_release;
uc->set_pc = riscv_set_pc;
uc->get_pc = riscv_get_pc;
uc->stop_interrupt = riscv_stop_interrupt;
uc->insn_hook_validate = riscv_insn_hook_validate;
uc->cpus_init = riscv_cpus_init;