On Wed Feb 7 01:55:34 2024 +0000, Dāvis Mosāns (davispuh) wrote:
That seems quite complicated for this case, any ideas how exactly? Test would need to load a DLL that would use `int3` but then you also need debugger attached so that `process_breakpoint()` is invoked.
You can use Win32 debugging APIs. Please refer to dlls/ntdll/tests/exception.c for examples.