-
-
Notifications
You must be signed in to change notification settings - Fork 17
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
PPC RZIL tests #75
PPC RZIL tests #75
Conversation
|
@Rot127 GitHub says there is some conflict - please rebase and merge. |
not to me., but yeah, rebase just in case |
* There are now 32be and 64le test binaries * There are instructions how to compile them and what compile to use. * Source files has been splitted into 32bit and 64bit where necesssary.
…sage of r30/r31 regs).
Probably happened because I pushed to the same branch after it was merged before. |
Those two binaries the test fails for should be removed. |
Why? We have the policy to not allow any removals to prevent breaking tests of older rizin commits. |
I added these binaries for testing in the beginning of rizinorg/rizin#2823 but quickly stopped using them. Those two were merged in #73 and #72 before rizinorg/rizin#2823 was ready for review. The current PPC RZIL tests don't use them anymore. If rizinorg/rizin#2823 is squashed there will be no commit which uses them. |
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.
I see, then lgtm.
This PR adds the test binaries for the PPC uplifting.
It adds:
asm_tests
: Holds all implemented instructions. Disassembly is meant to be copied torizin/test/db/asm/ppc64
pseudo_fuzz_tests
: Copy ofasm_tests
but is compiled to a ELF file and run with QEMU. Each instruction class is given static random data for testing.ppc64le
,ppc32be
Big and little endian binaries which are meant to test edge cases as well as branch instructions. Should more or less cover all possible execution paths in the RZIL code.The builds of the ELF binaries are not reproducible. If this is a problem?