Cxbx-Reloaded / xbox_kernel_test_suite

Xbox kernel APIs tester written using nxdk
GNU General Public License v3.0
22 stars 6 forks source link

Implement object type tests #104

Closed RadWolfie closed 8 months ago

RadWolfie commented 9 months ago

The following tests has been implement:

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.

[^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 commented 8 months ago

Rebased and added review remark.