-
Notifications
You must be signed in to change notification settings - Fork 43
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
Process destructive actions don't work #51
Comments
Hi, have you tried using the following option in your script? |
I can give that a try, that's the same as the Also the |
So in the docs setting destructive with pragma or -x is equivalent to using the -w flag: https://docs.oracle.com/cd/E18752_01/html/817-6223/chp-opt-1.html |
Looking at dtrace.sys in a disassembler and comparing it against the code, it looks like the What's the state of support for these actions? Are these not supposed to be supported in windows dtrace or is this a bug? |
Also worth noting I've run this with a kernel debugger, at i.e. on my machine I can confirm inside the driver the correct flags are being set, just there's no code to execute that would suspend or signal the process |
Okay I think I've answered my own question:
So it looks like these were just ported from https://github.com/opendtrace/opendtrace as-is. At a minimum can we at least update the docs to show that these aren't implemented yet? |
My goal here isn't necessarily to get signal (doesn't exist on windows?) or process suspend support, but actually to find a way to use dtrace to allow debuggers to breakpoint on syscalls. If there's a way to do this either via the DLL or via direct IOCTL to the driver then that would be useful |
I can do kernel destructive actions (discovered the hard way that
breakpoint()
works) but user destructive actions don't work.This is on the latest win11 running in admin mode, sample script looks like this:
Am I using this wrong? Nothing happens here, but if I do this it works:
The text was updated successfully, but these errors were encountered: