We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f92c73 commit 462f68aCopy full SHA for 462f68a
qiling/os/windows/dlls/ntdll.py
@@ -713,4 +713,9 @@ def __post_exception_filter(ql: Qiling):
713
# Resume execution at the registered unhandled exception filter.
714
# If a program is using a custom unhandled exception filter as an anti-debugging
715
# trick, then the exception filter might not return.
716
+
717
+ # TODO: This relies on the hook being marked 'passthru' so that Qiling
718
+ # doesn't rewind after it returns. However, this is not entirely intended
719
+ # behavior of passthru, so this is a bit of a hack. Maybe find some
720
+ # way to rewrite without passthru.
721
ql.os.fcall.call_native(exception_filter, exception_filter_args, ret_addr)
0 commit comments