Skip to content

Commit

Permalink
Fixes to helper backend
Browse files Browse the repository at this point in the history
  • Loading branch information
WorksButNotTested committed Jan 15, 2025
1 parent 38af3cb commit b390702
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/linux/frida-helper-backend.vala
Original file line number Diff line number Diff line change
Expand Up @@ -1988,8 +1988,8 @@ namespace Frida {
#elif ARM
target_address &= ~1;

uint32 arm_breakpoint_val = 0xe7f001f0U;
uint16 thumb_breakpoint_val = 0xde01;
uint32 arm_breakpoint_val = (0xe7f001f0U).to_little_endian ();
uint16 thumb_breakpoint_val = ((uint16) 0xde01).to_little_endian ();
bool is_thumb = (target & 1) != 0;
if (is_thumb)
breakpoint_data = (uint8[]) &thumb_breakpoint_val;
Expand Down

0 comments on commit b390702

Please sign in to comment.