Advertisement
Guest User

Untitled

a guest
Jul 27th, 2017
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.31 KB | None | 0 0
  1. ==6578== Memcheck, a memory error detector
  2. ==6578== Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et al.
  3. ==6578== Using Valgrind-3.6.0.SVN-Debian and LibVEX; rerun with -h for copyright info
  4. ==6578== Command: ./test
  5. ==6578==
  6. 10X16 de4 ds8 dn2 t8,7 m3,4 h6,5
  7.  
  8. ==6578== Invalid read of size 1
  9. ==6578== at 0x4C286D2: __GI_strlen (mc_replace_strmem.c:284)
  10. ==6578== by 0x4E96F5A: puts (ioputs.c:37)
  11. ==6578== by 0x4006C8: main (main.c:21)
  12. ==6578== Address 0x7ff000100 is just below the stack ptr. To suppress, use: --workaround-gcc296-bugs=yes
  13. ==6578==
  14. ==6578== Conditional jump or move depends on uninitialised value(s)
  15. ==6578== at 0x4C286E8: __GI_strlen (mc_replace_strmem.c:284)
  16. ==6578== by 0x4E96F5A: puts (ioputs.c:37)
  17. ==6578== by 0x4006C8: main (main.c:21)
  18. ==6578==
  19. ==6578== Conditional jump or move depends on uninitialised value(s)
  20. ==6578== at 0x4E9FEFF: _IO_file_xsputn@@GLIBC_2.2.5 (fileops.c:1317)
  21. ==6578== by 0x4E96FEC: puts (ioputs.c:43)
  22. ==6578== by 0x4006C8: main (main.c:21)
  23. ==6578==
  24. ==6578== Syscall param write(buf) points to uninitialised byte(s)
  25. ==6578== at 0x4F05500: __write_nocancel (syscall-template.S:82)
  26. ==6578== by 0x4EA0132: _IO_file_write@@GLIBC_2.2.5 (fileops.c:1276)
  27. ==6578== by 0x4EA1784: _IO_do_write@@GLIBC_2.2.5 (fileops.c:530)
  28. ==6578== by 0x4E9FD9D: _IO_file_xsputn@@GLIBC_2.2.5 (fileops.c:1358)
  29. ==6578== by 0x4E96FEC: puts (ioputs.c:43)
  30. ==6578== by 0x4006C8: main (main.c:21)
  31. ==6578== Address 0x4023000 is not stack'd, malloc'd or (recently) free'd
  32. ==6578==
  33. 10X16 de4 ds8 dn2 t8,7 m3,4 h6,5
  34.  
  35. ==6578==
  36. ==6578== HEAP SUMMARY:
  37. ==6578== in use at exit: 818 bytes in 2 blocks
  38. ==6578== total heap usage: 2 allocs, 0 frees, 818 bytes allocated
  39. ==6578==
  40. ==6578== LEAK SUMMARY:
  41. ==6578== definitely lost: 250 bytes in 1 blocks
  42. ==6578== indirectly lost: 0 bytes in 0 blocks
  43. ==6578== possibly lost: 0 bytes in 0 blocks
  44. ==6578== still reachable: 568 bytes in 1 blocks
  45. ==6578== suppressed: 0 bytes in 0 blocks
  46. ==6578== Rerun with --leak-check=full to see details of leaked memory
  47. ==6578==
  48. ==6578== For counts of detected and suppressed errors, rerun with: -v
  49. ==6578== Use --track-origins=yes to see where uninitialised values come from
  50. ==6578== ERROR SUMMARY: 36 errors from 4 contexts (suppressed: 4 from 4)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement