我有一个大型应用程序,我正在检查内存泄漏。我正在将 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)