小编War*_*r22的帖子

Valgrind:注意到但未处理的 ioctl;是否需要处理以及如何查找?

我有一个大型应用程序,我正在检查内存泄漏。我正在将 valgrind 与 options 一起使用--leak-check=yes --track-origins=yes。警告示例:

==2173== Warning: noted but unhandled ioctl 0xc410 with no size/direction hints.
==2173==    This could cause spurious value errors to appear.
==2173==    See README_MISSING_SYSCALL_OR_IOCTL for guidance on writing a proper wrapper.
==2173== Warning: noted but unhandled ioctl 0xc400 with no size/direction hints.
==2173==    This could cause spurious value errors to appear.
==2173==    See README_MISSING_SYSCALL_OR_IOCTL for guidance on writing a proper wrapper.
==2173== Warning: noted but unhandled ioctl 0xc40d with no size/direction hints.
==2173== …
Run Code Online (Sandbox Code Playgroud)

c++ debugging valgrind ioctl g++

5
推荐指数
1
解决办法
889
查看次数

标签 统计

c++ ×1

debugging ×1

g++ ×1

ioctl ×1

valgrind ×1