Advertisement
krustmother

Untitled

May 18th, 2012
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.95 KB | None | 0 0
  1. blank@blank:~/c$ valgrind ./ex5
  2. ==31294== Memcheck, a memory error detector
  3. ==31294== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al.
  4. ==31294== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info
  5. ==31294== Command: ./ex5
  6. ==31294==
  7. ==31294== Conditional jump or move depends on uninitialised value(s)
  8. ==31294== at 0x805522A: __linkin_atfork (in /home/me/c/ex5)
  9. ==31294== by 0x8055B2B: _dl_non_dynamic_init (in /home/me/c/ex5)
  10. ==31294== by 0x80562F1: __libc_init_first (in /home/me/c/ex5)
  11. ==31294== by 0x8049000: (below main) (in /home/me/c/ex5)
  12. ==31294==
  13. ==31294== Conditional jump or move depends on uninitialised value(s)
  14. ==31294== at 0x804E405: malloc (in /home/me/c/ex5)
  15. ==31294== by 0x8055B2B: _dl_non_dynamic_init (in /home/me/c/ex5)
  16. ==31294== by 0x80562F1: __libc_init_first (in /home/me/c/ex5)
  17. ==31294== by 0x8049000: (below main) (in /home/me/c/ex5)
  18. ==31294==
  19. ==31294== Conditional jump or move depends on uninitialised value(s)
  20. ==31294== at 0x804E42A: malloc (in /home/me/c/ex5)
  21. ==31294== by 0x8055B2B: _dl_non_dynamic_init (in /home/me/c/ex5)
  22. ==31294== by 0x80562F1: __libc_init_first (in /home/me/c/ex5)
  23. ==31294== by 0x8049000: (below main) (in /home/me/c/ex5)
  24. ==31294==
  25. ==31294== Conditional jump or move depends on uninitialised value(s)
  26. ==31294== at 0x80500CD: strlen (in /home/me/c/ex5)
  27. ==31294== by 0x62696C2E: ???
  28. ==31294==
  29. ==31294== Conditional jump or move depends on uninitialised value(s)
  30. ==31294== at 0x80500D7: strlen (in /home/me/c/ex5)
  31. ==31294== by 0x62696C2E: ???
  32. ==31294==
  33. ==31294== Conditional jump or move depends on uninitialised value(s)
  34. ==31294== at 0x804E405: malloc (in /home/me/c/ex5)
  35. ==31294== by 0x62696C2E: ???
  36. ==31294==
  37. ==31294== Conditional jump or move depends on uninitialised value(s)
  38. ==31294== at 0x804E42A: malloc (in /home/me/c/ex5)
  39. ==31294== by 0x62696C2E: ???
  40. ==31294==
  41. ==31294== Conditional jump or move depends on uninitialised value(s)
  42. ==31294== at 0x80497BA: __new_exitfn (in /home/me/c/ex5)
  43. ==31294== by 0x80498EE: __internal_atexit (in /home/me/c/ex5)
  44. ==31294== by 0x8049956: __cxa_atexit (in /home/me/c/ex5)
  45. ==31294== by 0x804901C: (below main) (in /home/me/c/ex5)
  46. ==31294==
  47. ==31294== Conditional jump or move depends on uninitialised value(s)
  48. ==31294== at 0x8049858: __new_exitfn (in /home/me/c/ex5)
  49. ==31294== by 0x80498EE: __internal_atexit (in /home/me/c/ex5)
  50. ==31294== by 0x8049956: __cxa_atexit (in /home/me/c/ex5)
  51. ==31294== by 0x804901C: (below main) (in /home/me/c/ex5)
  52. ==31294==
  53. ==31294== Conditional jump or move depends on uninitialised value(s)
  54. ==31294== at 0x805D1ED: vfprintf (in /home/me/c/ex5)
  55. ==31294== by 0x804999F: printf (in /home/me/c/ex5)
  56. ==31294== by 0x8049095: (below main) (in /home/me/c/ex5)
  57. ==31294==
  58. ==31294== Conditional jump or move depends on uninitialised value(s)
  59. ==31294== at 0x8053B88: write (in /home/me/c/ex5)
  60. ==31294== by 0x806A9B0: _IO_file_write (in /home/me/c/ex5)
  61. ==31294== by 0x806A88F: new_do_write (in /home/me/c/ex5)
  62. ==31294== by 0x806B62C: _IO_do_write (in /home/me/c/ex5)
  63. ==31294== by 0x806C10C: _IO_file_overflow (in /home/me/c/ex5)
  64. ==31294== by 0x806B27A: _IO_file_xsputn (in /home/me/c/ex5)
  65. ==31294== by 0x805D9B6: vfprintf (in /home/me/c/ex5)
  66. ==31294== by 0x804999F: printf (in /home/me/c/ex5)
  67. ==31294== by 0x8049095: (below main) (in /home/me/c/ex5)
  68. ==31294==
  69. you are 100 miles away.
  70. ==31294== Conditional jump or move depends on uninitialised value(s)
  71. ==31294== at 0x805D27A: vfprintf (in /home/me/c/ex5)
  72. ==31294== by 0x804999F: printf (in /home/me/c/ex5)
  73. ==31294== by 0x8049095: (below main) (in /home/me/c/ex5)
  74. ==31294==
  75. ==31294== Use of uninitialised value of size 4
  76. ==31294== at 0x8049717: __run_exit_handlers (in /home/me/c/ex5)
  77. ==31294== by 0x804961F: ??? (in /home/me/c/ex5)
  78. ==31294==
  79. ==31294== Conditional jump or move depends on uninitialised value(s)
  80. ==31294== at 0x806D498: _IO_cleanup (in /home/me/c/ex5)
  81. ==31294== by 0x8049758: __run_exit_handlers (in /home/me/c/ex5)
  82. ==31294== by 0x804979E: exit (in /home/me/c/ex5)
  83. ==31294== by 0x804909D: (below main) (in /home/me/c/ex5)
  84. ==31294==
  85. ==31294== Conditional jump or move depends on uninitialised value(s)
  86. ==31294== at 0x806D563: _IO_cleanup (in /home/me/c/ex5)
  87. ==31294== by 0x8049758: __run_exit_handlers (in /home/me/c/ex5)
  88. ==31294== by 0x804979E: exit (in /home/me/c/ex5)
  89. ==31294== by 0x804909D: (below main) (in /home/me/c/ex5)
  90. ==31294==
  91. ==31294==
  92. ==31294== HEAP SUMMARY:
  93. ==31294== in use at exit: 0 bytes in 0 blocks
  94. ==31294== total heap usage: 0 allocs, 0 frees, 0 bytes allocated
  95. ==31294==
  96. ==31294== All heap blocks were freed -- no leaks are possible
  97. ==31294==
  98. ==31294== For counts of detected and suppressed errors, rerun with: -v
  99. ==31294== Use --track-origins=yes to see where uninitialised values come from
  100. ==31294== ERROR SUMMARY: 19 errors from 15 contexts (suppressed: 0 from 0)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement