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

AppCrash on hooking 32 bit process on Windows 10 64 bit with CSharpConsole #16

Closed
kozhevnikov opened this issue Sep 20, 2016 · 4 comments

Comments

@kozhevnikov
Copy link

I'm playing around with CSharpConsole from precompiled Deviare 2.8.0 release under a Windows 10 64 bit VM and while CSharpConsole64.exe can hook 64 bit process like notepad.exe no problem, CSharpConsole.exe crashes target 32 bit process like notepad++.exe, devenv.exe, etc. Is 32 bit hooking supported under Windows 10?

Faulting application name: notepad++.exe, version: 6.9.2.0, time stamp: 0x573b9c9e
Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000
Exception code: 0xc0000005
Fault offset: 0x00d90030
Faulting process id: 0x10fc
Faulting application start time: 0x01d21359b0a69664
Faulting application path: C:\Program Files (x86)\Notepad++\notepad++.exe
Faulting module path: unknown
Report Id: c34e8c31-c38b-402c-834c-3df70f833943
Faulting package full name: 
Faulting package-relative application ID: 
@scnale
Copy link
Contributor

scnale commented Sep 20, 2016

We have reproduced this and we are taking a look at it now.

@kozhevnikov
Copy link
Author

kozhevnikov commented Sep 21, 2016

Thanks! On an unrelated note, any chance you would have a second to help with this Stack Overflow question please?

@mxmauro
Copy link
Contributor

mxmauro commented Sep 21, 2016

Hi @kozhevnikov , as a quick answer, please comment/remove the call to BuildOriginalNtCalls in Source\Common\DynamicAPIs.cpp while we code the final patch.

This should fix the crash.

Regards.

@scnale
Copy link
Contributor

scnale commented Mar 1, 2017

Fixed in cac444d.

@scnale scnale closed this as completed Mar 1, 2017
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

3 participants