私のために働く:
==24344== Memcheck, a memory error detector.
==24344== Copyright (C) 2002-2007, and GNU GPL'd, by Julian Seward et al.
==24344== Using LibVEX rev 1854, a library for dynamic binary translation.
==24344== Copyright (C) 2004-2007, and GNU GPL'd, by OpenWorks LLP.
==24344== Using valgrind-3.3.1-Debian, a dynamic binary instrumentation framework.
==24344== Copyright (C) 2000-2007, and GNU GPL'd, by Julian Seward et al.
==24344== For more details, rerun with: -v
==24344==
==24344== Invalid write of size 1
==24344== at 0x8048419: main (testValgrind.c:5)
==24344== Address 0x418f078 is 0 bytes after a block of size 16 alloc'd
==24344== at 0x4021E22: calloc (vg_replace_malloc.c:397)
==24344== by 0x804840F: main (testValgrind.c:3)
==24344==
==24344== Invalid write of size 1
==24344== at 0x8048422: main (testValgrind.c:6)
==24344== Address 0x418f018 is 16 bytes before a block of size 16 alloc'd
==24344== at 0x4021E22: calloc (vg_replace_malloc.c:397)
==24344== by 0x80483F8: main (testValgrind.c:2)
==24344==
==24344== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 12 from 1)
==24344== malloc/free: in use at exit: 32 bytes in 2 blocks.
==24344== malloc/free: 2 allocs, 0 frees, 32 bytes allocated.
==24344== For counts of detected errors, rerun with: -v
==24344== searching for pointers to 2 not-freed blocks.
==24344== checked 58,940 bytes.
==24344==
==24344== LEAK SUMMARY:
==24344== definitely lost: 32 bytes in 2 blocks.
==24344== possibly lost: 0 bytes in 0 blocks.
==24344== still reachable: 0 bytes in 0 blocks.
==24344== suppressed: 0 bytes in 0 blocks.
==24344== Rerun with --leak-check=full to see details of leaked memory.