Skip to content

Commit aca18b7

Browse files
committed
fix
1 parent bef7200 commit aca18b7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ddprof-lib/src/main/cpp/safeAccess.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
#if defined(__x86_64__)
3131
#define context_pc uc_mcontext.gregs[REG_RIP]
3232
#elif defined(__aarch64__)
33-
#define context_pc uc_mcontext.gregs[_REG_ELR]
33+
#define context_pc uc_mcontext.regs[_REG_ELR]
3434
#endif
3535
#endif
3636

0 commit comments

Comments
 (0)