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

Cpu: 32 bit unit tests from qemu #228

Open
maximilien-noal opened this issue Jan 8, 2023 · 5 comments
Open

Cpu: 32 bit unit tests from qemu #228

maximilien-noal opened this issue Jan 8, 2023 · 5 comments
Labels
32 bit Related to 32 bit programs support CPU Related to the CPU enhancement New feature or request tests About unit or integration testing

Comments

@maximilien-noal
Copy link
Member

No description provided.

@maximilien-noal maximilien-noal changed the title Cpu: 32 bit unit tests from qemu Cpu: 32 bit unit tests from qemu Jan 8, 2023
@maximilien-noal maximilien-noal added feature request This would be good to have enhancement New feature or request tests About unit or integration testing 32 bit Related to 32 bit programs support CPU Related to the CPU and removed feature request This would be good to have labels Jan 8, 2023
@JorisVanEijden
Copy link
Contributor

Are there any plans in motion for this?

@maximilien-noal
Copy link
Member Author

This issue is not being worked on, feel free to grab it !

Also this issue should be renamed ' take the test executable from the qemu project and test 32 bit support with it', as I understand it.

@kevinferrare knows more about this.

@JorisVanEijden
Copy link
Contributor

How about using this? https://github.com/barotto/test386.asm

It appears to be a test executable specifically written for testing x86 emulators.

@kevinferrare
Copy link
Contributor

I considered it at one point but it is testing protected mode which we don't support. We could edit the asm to remove that though.
Otherwise qemu has nice tests that you can recompile with only the features you want: https://github.com/JonathanSalwan/Triton/blob/master/src/testers/unittests/misc/qemu/test-i386.c

@maximilien-noal
Copy link
Member Author

https://github.com/TomHarte/ProcessorTests (contains the 8088 tests, too, the only part, apart from the approach, that might be revelant)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
32 bit Related to 32 bit programs support CPU Related to the CPU enhancement New feature or request tests About unit or integration testing
Projects
None yet
Development

No branches or pull requests

3 participants