Cross platform file tracking

I would like to track reading / writing of files using special soft calls. Information about real transactions is not required, only file names.

Is there a cross-platform solution?

What are the various platform specific methods?

On Linux, I know there is strace / ptrace (if there are faster methods that would be good too).
I think of mac os there ktrace.

What about windows?

In addition, it would be great if you could block (pull) access to files until a later time.

Thank!

+3
source share
3 answers

- . , , , , , .


?

, :) Windows, / , , , IFS. , ReadDirectoryChangesW NTFS.

NTFS , .

+1

Windows Handle GUI Process Explorer, , .

, IFS kit Microsoft, . . AV .

0

, , , , . , DLL, CreateFile . .

0

Source: https://habr.com/ru/post/1696486/


All Articles