Skip to content

Commit

Permalink
Add TC option to uc_get_pc function
Browse files Browse the repository at this point in the history
  • Loading branch information
shaqed committed May 5, 2024
1 parent 63aab0f commit 442d53e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions unicornafl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -925,6 +925,8 @@ static uint64_t uc_get_pc(uc_engine* uc) {
uc_reg_read(uc, UC_S390X_REG_PC, &pc);
} else if (arch == UC_ARCH_ARM64) {
uc_reg_read(uc, UC_ARM64_REG_PC, &pc);
} else if (arch == UC_ARCH_TRICORE) {
uc_reg_read(uc, UC_TRICORE_REG_PC, &pc);
}

return pc;
Expand Down

0 comments on commit 442d53e

Please sign in to comment.