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

dll injection error handling #514

Open
Kengyen opened this issue Feb 2, 2023 · 2 comments
Open

dll injection error handling #514

Kengyen opened this issue Feb 2, 2023 · 2 comments

Comments

@Kengyen
Copy link

Kengyen commented Feb 2, 2023

I inject .dll to a window and it produces:
thread 'DEVELOP' panicked at 'called Option::unwrap() on a None value', library\std\src....\backtrace\src\dbghelp.rs:338:34

@bjorn3
Copy link
Member

bjorn3 commented Feb 2, 2023

That line number seems to indicate that looking up the SymInitializeW function in dbghelp.dll using GetProcAddress fails for some reason.

@Kengyen
Copy link
Author

Kengyen commented Feb 2, 2023

That line number seems to indicate that looking up the SymInitializeW function in dbghelp.dll using GetProcAddress fails for some reason.

when using if let Err(e) = expression it would panic
use match pattern it would be ok

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants