-
Notifications
You must be signed in to change notification settings - Fork 256
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
win10 vs2019 x64 需要修改代码后才能使用 #2
Comments
感谢鸭,但是我测试发现 |
win7 x64 x86, proved ^_^ What I do :
#define EXPORT __declspec(dllexport)
extern "C" {
EXPORT
int TestExport(int a, int b)
{
return a + b;
}
}
|
fengjixuchui
added a commit
to fengjixuchui/SuperDllHijack
that referenced
this issue
Jun 5, 2020
fixed bug in anhkgg#2
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
vs2019 下测试得到:
win10 x86运行良好.
win10 x64 无法使用 void* NtCurrentPeb().
需要将 return (void*)__readgsqword(0x30)
改成 return (void*)__readgsqword(0x60)
win10 x64 无法根据dll.def导出文件.需要加"__declspec(dllexport)"进行导出
The text was updated successfully, but these errors were encountered: