The plugin check accepts exlaunch's exl_inline_hook_with_fp_impl, the inline-hook entry that saves d0..d15 next to x0..x29. Magic of the Kingdom's hook stub calls it and was refused for it (#1388)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Valiantsin DzerakhandClaude Opus 5.5 committed 2026-11-23 08:40:59 +03:00
1 parent 7f17cad783
commit c603112fca
2 files changed
+11 -2

No files matched your search

+6
View File
@@ -182,6 +182,12 @@ class Check(unittest.TestCase):
self.assertEqual(hooks[0]['callback'], f'plugin0+{CB_OFF:#x}')
self.assertEqual(hooks[0]['trampoline'], f'plugin0+{TRAMP_OFF:#x}')
def test_good_with_fp_impl(self): # Magic of the Kingdom: the impl that saves d0..d15 as well
self.assertIn('exl_inline_hook_with_fp_impl', xp.HOOK_IMPLS)
hooks, reasons = xp.check_record(record(), {PLUGIN + IMPL_OFF: 'exl_inline_hook_with_fp_impl'})
self.assertEqual(reasons, [])
self.assertEqual(hooks[0]['impl'], 'exl_inline_hook_with_fp_impl')
def test_good_plain_original(self):
self.assertEqual(self.reasons(record(original=0xAA0003F3)), []) # mov x19, x0, copied as it is