Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Aarch64 be patches #1131

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/linux/frida-helper-backend.vala
Original file line number Diff line number Diff line change
Expand Up @@ -1996,7 +1996,7 @@ namespace Frida {
else
breakpoint_data = (uint8[]) &arm_breakpoint_val;
#elif ARM64
uint32 breakpoint_val = 0xd4200000U;
uint32 breakpoint_val = (0xd4200000U).to_little_endian ();
breakpoint_data = (uint8[]) &breakpoint_val;
#elif MIPS
uint32 breakpoint_val = 0x0000000dU;
Expand Down
Binary file added src/linux/helpers/bootstrapper-arm64be.bin
Binary file not shown.
Binary file added src/linux/helpers/loader-arm64be.bin
Binary file not shown.
2 changes: 2 additions & 0 deletions src/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,8 @@ if have_local_backend
endif
if host_lowlevel_abi == 'arm' and host_machine.endian() == 'big'
host_lowlevel_abi = 'armbe8'
elif host_lowlevel_abi == 'arm64' and host_machine.endian() == 'big'
host_lowlevel_abi = 'arm64be'
endif
fs = import('fs')
helper_backend_data = custom_target('frida-data-helper-backend',
Expand Down
Loading