kernelbin / blogs

https://kernelbin.cn
1 stars 0 forks source link

SAL 中 _Out_writes_ 和 _Out_writes_all_ 的区别 - knb's blog #4

Open utterances-bot opened 11 months ago

utterances-bot commented 11 months ago

SAL 中 _Outwrites 和 _Out_writesall 的区别 - knb's blog

经常写 Windows 程序的人一定不会对 SAL 陌生。SAL(Source Annotation Language)可以帮助你在编译的时候就检测出一些可能的运行时错误,比如数组越界。不是很了解? >阿硬文档传送门< 之前一直没有留意有些参数的 Annotation 后附带的 all 的含义,比如 _Out_writesall(s)。什么时候该

https://kernelbin.cn/2023/09/11/difference-between-out-writes-and-out-writes-all/

Hukeqing commented 11 months ago

呜呜呜,带带我