- 1、本文档共165页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
* Valgrind输出样例 out.txt ==29613== Memcheck, a memory error detector. ==29613== Copyright (C) 2002-2006, and GNU GPLd, by Julian Seward et al. ==29613== Using LibVEX rev 1658, a library for dynamic binary translation. ==29613== Copyright (C) 2004-2006, and GNU GPLd, by OpenWorks LLP. ==29613== Using valgrind-3.2.1-Debian, a dynamic binary instrumentation framework. ==29613== Copyright (C) 2000-2006, and GNU GPLd, by Julian Seward et al. ==29613== For more details, rerun with: -v ==29613== ==29613== Conditional jump or move depends on uninitialised value(s) ==29613== at 0x804849D: main (valgrind_test.c:42) ==29613== ==29613== Invalid read of size 1 ==29613== at 0x80483EC: ml (valgrind_test.c:14) ==29613== by 0x80484AA: main (valgrind_test.c:45) ==29613== Address 0x4171258 is 0 bytes inside a block of size 512 freed ==29613== at 0x402123A: free (vg_replace_malloc.c:233) ==29613== by 0x80483E8: ml (valgrind_test.c:11) ==29613== by 0x80484AA: main (valgrind_test.c:45) ==29613== ==29613== Invalid read of size 1 ==29613== at 0x80483F5: ml (valgrind_test.c:15) ==29613== by 0x80484AA: main (valgrind_test.c:45) ==29613== Address 0x4171258 is 0 bytes inside a block of size 512 freed ==29613== at 0x402123A: free (vg_replace_malloc.c:233) ==29613== by 0x80483E8: ml (valgrind_test.c:11) ==29613== by 0x80484AA: main (valgrind_test.c:45) ==29613== * Valgrind输出样例 out.txt ==29613== Invalid write of size 4 ==29613== at 0x8048438: a1 (valgrind_test.c:27) ==29613== by 0x80484AF: main (valgrind_test.c:46) ==29613== Address 0x41714B0 is 0 bytes after a block of size 40 allocd ==29613== at 0x4021620: malloc (vg_replace_malloc.c:149) ==29613== by 0x804840E: a1 (valgrind_test.c:23) ==29613== by 0x80484AF: main (valgrind_test.c:46) ==29613== ==29613== Invalid read of size 4 ==29613== at 0x8048461: a1 (valgrind_test.c:30) ==29613== by 0x80484AF: main (valgrind_test.c:46) ==29613== Address 0x41714B0 is 0 bytes after a block of size
文档评论(0)