Skip to content

Commit

Permalink
Fix was_signed check
Browse files Browse the repository at this point in the history
  • Loading branch information
mrmacete authored and oleavr committed May 13, 2024
1 parent 28b0ce3 commit 2f7c13c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/payload/unwind-sitter-glue.c
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ frida_unwind_cursor_set_info_replacement (gpointer self, int is_return_address)
#if __has_feature (ptrauth_calls)
stored_pc = gum_strip_code_address (stored_pc);
#elif defined (HAVE_ARM64)
was_signed = (stored_pc & HIGHEST_NIBBLE) != 0;
was_signed = (stored_pc & ~STRIP_MASK ) != 0ULL;
if (was_signed)
stored_pc &= STRIP_MASK;
#endif
Expand Down

0 comments on commit 2f7c13c

Please sign in to comment.