Skip to content

Conversation

@ellabou
Copy link

@ellabou ellabou commented Sep 20, 2025

ARM-BE8 is an architecture that has data in big endian and instructions in little endian, to support this it should be treated as little-endian.

elif reader.header.e_flags & 0x400:
return archinfo.ArchARMHF("Iend_LE" if reader.little_endian else "Iend_BE")
elif reader.header.e_flags & EF_ARM_BE8: # ARM-BE8 has big endian data and little endian instructions
return archinfo.ArchARMEL("Iend_LE")
Copy link
Member

Choose a reason for hiding this comment

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

ARM-BE8 has big endian data and little endian instructions

This change doesn't set memory endness?

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