我正面临着这个错误,我从来没有遇到过使用valgrind的问题,你们有什么建议吗?我是C语言的新手,还在学习。谢谢! 这低于我使用valgrind得到的错误。==8410== Source and destination overlap in strcpy(0xfff000560, 0xfff000560)
==8410== at 0x4C2E272:strcpy (in /usr&
localhost bush 1==7374== Use of uninitialised value of size 8==7374== ==7374== at 0x4C2AD40: strcpysignal 11 (SIGSEGV)
==7374== Access not within mapped region at addres
我正在等待命令行中的名称,我需要将它们保存在一个数组中。我尝试过的多种方法都不起作用(我正在使用strcpy),并且我得到了下面的数值错误:==23027== at 0x4C2E1E0: strcpy (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==23027==