-
-
Notifications
You must be signed in to change notification settings - Fork 206
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
Armbe8 patches #1130
base: main
Are you sure you want to change the base?
Armbe8 patches #1130
Conversation
To build helpers use: OBJCOPY=armeb-linux-gnueabi-objcopy MESON=/root/frida/subprojects/frida-core/releng/meson/meson.py BUILDDIR=/root/frida/subprojects/frida-core/build FRIDA_HOST=linux-armbe8 make -C subprojects/frida-core/src/linux/helpers
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
@@ -1988,7 +1988,11 @@ namespace Frida { | |||
#elif ARM | |||
target_address &= ~1; | |||
|
|||
# if __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does the Vala compiler define this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah. It seems to work just fine. Without the change it dies.
src/linux/helpers/loader.c
Outdated
ssize_t n; | ||
|
||
/* avoid inline initialization to prevent the compiler attempting to insert a call to memset */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Comments should start with the first word capitalized and end in a full stop.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
src/linux/helpers/loader.c
Outdated
}; | ||
struct msghdr msg; | ||
|
||
/* avoid inline initialization to prevent the compiler attempting to insert a call to memset */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Comments should start with the first word capitalized and end in a full stop.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
Fixes to support ARMBE8