backtrace-rs
backtrace-rs copied to clipboard
dll injection error handling
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
That line number seems to indicate that looking up the SymInitializeW function in dbghelp.dll using GetProcAddress fails for some reason.
That line number seems to indicate that looking up the
SymInitializeWfunction indbghelp.dllusingGetProcAddressfails for some reason.
when using if let Err(e) = expression it would panic use match pattern it would be ok