Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ==6578== Memcheck, a memory error detector
- ==6578== Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et al.
- ==6578== Using Valgrind-3.6.0.SVN-Debian and LibVEX; rerun with -h for copyright info
- ==6578== Command: ./test
- ==6578==
- 10X16 de4 ds8 dn2 t8,7 m3,4 h6,5
- ==6578== Invalid read of size 1
- ==6578== at 0x4C286D2: __GI_strlen (mc_replace_strmem.c:284)
- ==6578== by 0x4E96F5A: puts (ioputs.c:37)
- ==6578== by 0x4006C8: main (main.c:21)
- ==6578== Address 0x7ff000100 is just below the stack ptr. To suppress, use: --workaround-gcc296-bugs=yes
- ==6578==
- ==6578== Conditional jump or move depends on uninitialised value(s)
- ==6578== at 0x4C286E8: __GI_strlen (mc_replace_strmem.c:284)
- ==6578== by 0x4E96F5A: puts (ioputs.c:37)
- ==6578== by 0x4006C8: main (main.c:21)
- ==6578==
- ==6578== Conditional jump or move depends on uninitialised value(s)
- ==6578== at 0x4E9FEFF: _IO_file_xsputn@@GLIBC_2.2.5 (fileops.c:1317)
- ==6578== by 0x4E96FEC: puts (ioputs.c:43)
- ==6578== by 0x4006C8: main (main.c:21)
- ==6578==
- ==6578== Syscall param write(buf) points to uninitialised byte(s)
- ==6578== at 0x4F05500: __write_nocancel (syscall-template.S:82)
- ==6578== by 0x4EA0132: _IO_file_write@@GLIBC_2.2.5 (fileops.c:1276)
- ==6578== by 0x4EA1784: _IO_do_write@@GLIBC_2.2.5 (fileops.c:530)
- ==6578== by 0x4E9FD9D: _IO_file_xsputn@@GLIBC_2.2.5 (fileops.c:1358)
- ==6578== by 0x4E96FEC: puts (ioputs.c:43)
- ==6578== by 0x4006C8: main (main.c:21)
- ==6578== Address 0x4023000 is not stack'd, malloc'd or (recently) free'd
- ==6578==
- 10X16 de4 ds8 dn2 t8,7 m3,4 h6,5
- ==6578==
- ==6578== HEAP SUMMARY:
- ==6578== in use at exit: 818 bytes in 2 blocks
- ==6578== total heap usage: 2 allocs, 0 frees, 818 bytes allocated
- ==6578==
- ==6578== LEAK SUMMARY:
- ==6578== definitely lost: 250 bytes in 1 blocks
- ==6578== indirectly lost: 0 bytes in 0 blocks
- ==6578== possibly lost: 0 bytes in 0 blocks
- ==6578== still reachable: 568 bytes in 1 blocks
- ==6578== suppressed: 0 bytes in 0 blocks
- ==6578== Rerun with --leak-check=full to see details of leaked memory
- ==6578==
- ==6578== For counts of detected and suppressed errors, rerun with: -v
- ==6578== Use --track-origins=yes to see where uninitialised values come from
- ==6578== ERROR SUMMARY: 36 errors from 4 contexts (suppressed: 4 from 4)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement