microsoft / DTrace-on-Windows

Code for the cross platform, single source, OpenDTrace implementation
Other
473 stars 42 forks source link

Add support for fds[] array #16

Closed rmilkowski closed 3 months ago

rmilkowski commented 2 years ago

It would be really nice if the fds[] array was supported as well which is handy for cases like below.

PS C:\Program Files\DTrace> .\dtrace -n syscall::NtWriteFile:entry'{trace(fds[arg0].fi_pathname);}' dtrace: invalid probe specifier syscall::NtWriteFile:entry{trace(fds[arg0].fi_pathname);}: in action list: fds has not yet been declared or assigned

ashedel commented 2 years ago

These are from another world. Doubt that fds[] will ever be implemented on NTOS platform.