Add big-endian ARM fixtures, BE8 and BE32 - #192
Closed
zardus wants to merge 1 commit into
Closed
Conversation
The repository has no big-endian ARM ELF at all. These are a matched pair built from one object file, differing only in whether the linker was given --be8, so a test can tell the two layouts apart. Freestanding, 996 bytes each; the source and the build line are in tests_src/armeb.
Member
Author
|
THIS MESSAGE WAS GENERATED BY AN AUTOMATED PROCESS Closing this as superseded by #202, which covers the same change against the same files and goes further: it rebuilds both objects from the committed Nothing here is lost — please review #202 instead. session: pr-review |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
THIS MESSAGE WAS GENERATED BY AN AUTOMATED PROCESS
There is no big-endian ARM ELF in the repository — I scanned all 823 and found zero
ELFDATA2MSBEM_ARMfiles, so nothing can currently test that path.These are a matched pair, built from the same object file and differing only in whether the linker was given
--be8:tests/armeb/be8_loophase_flags 0x05800400andtests/armeb/be32_loophas0x05000400. Having both matters more than having either, because the interesting property is the one bit that separates them, and a test that cannot compare against the other layout cannot show it is reading that bit rather than something else about the file.Freestanding, 996 bytes each, no libc and no imports. The source and the exact clang and
ld.lldinvocations are intests_src/armeb, so they rebuild anywhere clang runs.armebas a directory name follows the existingmips/mipselandppc/ppc64elsplit.Consumed by angr/cle's BE8 detection.