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

Implement object type tests #104

Merged
merged 4 commits into from
Mar 18, 2024

Conversation

RadWolfie
Copy link
Member

@RadWolfie RadWolfie commented Feb 26, 2024

The following tests has been implement:

  • (010) ExEventObjectType
  • (016) ExMutantObjectType
  • (01E) ExSemaphoreObjectType
  • (01F) ExTimerObjectType
  • (040) IoCompletionObjectType
  • (046) IoDeviceObjectType
  • (047) IoFileObjectType
  • (0F0) ObDirectoryObjectType
  • (0F9) ObSymbolicLinkObjectType
  • (103) PsThreadObjectType

All of the tests above have performed checks on member variables. Plus use relative calls purpose for their respective object creation to verify their object creations do match one of the above object types.

The tests had been passed on the hardware.

Note

Cxbx-Reloaded will crash for:1

  • ExEventObjectType
  • ExMutantObjectType
  • ExSemaphoreObjectType
  • ExTimerObjectType (doesn't crash but it may will)
  • IoCompletionObjectType
  • IoDeviceObjectType (doesn't crash but it may will)
  • IoFileObjectType
  • ObDirectoryObjectType (doesn't crash but it may will)
  • ObSymbolicLinkObjectType (doesn't crash but it may will)

PsThreadObjectType will not cause a crash due to xbox object implementation is completed and passed the test.

Footnotes

  1. The reason for these crashes is due to not being implemented or currently using the host's objects which are exposed outside of the xbox kernel environment is forbidden.

@RadWolfie RadWolfie force-pushed the impl-object-types-test branch from a2a9715 to 6edbb98 Compare March 16, 2024 19:45
@RadWolfie
Copy link
Member Author

Rebased and added review remark.

@ergo720 ergo720 merged commit 91f23de into Cxbx-Reloaded:master Mar 18, 2024
1 check passed
@RadWolfie RadWolfie deleted the impl-object-types-test branch March 18, 2024 15:36
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.

3 participants