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

22h2系统上存在点问题 #20

Open
MOODSKY2002 opened this issue Feb 8, 2023 · 2 comments
Open

22h2系统上存在点问题 #20

MOODSKY2002 opened this issue Feb 8, 2023 · 2 comments

Comments

@MOODSKY2002
Copy link

此问题测试环境vmware win10-22h2(19045.2251),win11-22h2
if (!address) return false; //代码执行到这里就false了.在start里因为m_HvlGetQpcBias为零就直接蓝屏了
m_HvlGetQpcBias = reinterpret_cast(reinterpret_cast<char*>(address) + 7 + reinterpret_cast<int>(reinterpret_cast<char*>(address) + 3));
DbgPrintEx(0, 0, "[%s] hvl get qpc bias is 0x%llX \n", FUNCTION, m_HvlGetQpcBias);
if (!m_HvlGetQpcBias) return false;
不知是否因为是系统版本问题。请问有办法兼容22h2么?

@FiYHer
Copy link
Owner

FiYHer commented Feb 8, 2023

此问题测试环境vmware win10-22h2(19045.2251),win11-22h2 if (!address) return false; //代码执行到这里就false了.在start里因为m_HvlGetQpcBias为零就直接蓝屏了 m_HvlGetQpcBias = reinterpret_cast(reinterpret_cast<char*>(address) + 7 + reinterpret_cast<int>(reinterpret_cast<char*>(address) + 3)); DbgPrintEx(0, 0, "[%s] hvl get qpc bias is 0x%llX \n", FUNCTION, m_HvlGetQpcBias); if (!m_HvlGetQpcBias) return false; 不知是否因为是系统版本问题。请问有办法兼容22h2么?

我写的时候还没有22H2这个系统,可能有什么东西变动了吧,你自己用WinDbg调试看看吧。

@MOODSKY2002
Copy link
Author

解决了。兄弟你更新进代码吧。两组条件,1不行时试2.
22h2用第二个条件可以正常。总算可以正常跑啦。^_^
第二组条件参考的https://github.com/LYingSiMon/InfinityHookProEx
address = find_pattern_image(ntoskrnl,"\x48\x8b\x05\x00\x00\x00\x00\x48\x85\xc0\x74\x00\x48\x83\x3d\x00\x00\x00\x00\x00\x74","xxx????xxxx?xxx?????x");
address = find_pattern_image(ntoskrnl,"\x48\x8b\x05\x00\x00\x00\x00\xe8\x00\x00\x00\x00\x48\x03\xd8\x48\x89\x1f","xxx????x????xxxxxx");

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

No branches or pull requests

2 participants