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

Armbe8 patches #1130

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

WorksButNotTested
Copy link
Contributor

Fixes to support ARMBE8

Your Name added 3 commits January 9, 2025 10:33
    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
Copy link
Member

@oleavr oleavr left a 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__
Copy link
Member

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?

Copy link
Contributor Author

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.

ssize_t n;

/* avoid inline initialization to prevent the compiler attempting to insert a call to memset */
Copy link
Member

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

};
struct msghdr msg;

/* avoid inline initialization to prevent the compiler attempting to insert a call to memset */
Copy link
Member

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants