Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- blank@blank:~/c$ valgrind ./ex5
- ==31294== Memcheck, a memory error detector
- ==31294== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al.
- ==31294== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info
- ==31294== Command: ./ex5
- ==31294==
- ==31294== Conditional jump or move depends on uninitialised value(s)
- ==31294== at 0x805522A: __linkin_atfork (in /home/me/c/ex5)
- ==31294== by 0x8055B2B: _dl_non_dynamic_init (in /home/me/c/ex5)
- ==31294== by 0x80562F1: __libc_init_first (in /home/me/c/ex5)
- ==31294== by 0x8049000: (below main) (in /home/me/c/ex5)
- ==31294==
- ==31294== Conditional jump or move depends on uninitialised value(s)
- ==31294== at 0x804E405: malloc (in /home/me/c/ex5)
- ==31294== by 0x8055B2B: _dl_non_dynamic_init (in /home/me/c/ex5)
- ==31294== by 0x80562F1: __libc_init_first (in /home/me/c/ex5)
- ==31294== by 0x8049000: (below main) (in /home/me/c/ex5)
- ==31294==
- ==31294== Conditional jump or move depends on uninitialised value(s)
- ==31294== at 0x804E42A: malloc (in /home/me/c/ex5)
- ==31294== by 0x8055B2B: _dl_non_dynamic_init (in /home/me/c/ex5)
- ==31294== by 0x80562F1: __libc_init_first (in /home/me/c/ex5)
- ==31294== by 0x8049000: (below main) (in /home/me/c/ex5)
- ==31294==
- ==31294== Conditional jump or move depends on uninitialised value(s)
- ==31294== at 0x80500CD: strlen (in /home/me/c/ex5)
- ==31294== by 0x62696C2E: ???
- ==31294==
- ==31294== Conditional jump or move depends on uninitialised value(s)
- ==31294== at 0x80500D7: strlen (in /home/me/c/ex5)
- ==31294== by 0x62696C2E: ???
- ==31294==
- ==31294== Conditional jump or move depends on uninitialised value(s)
- ==31294== at 0x804E405: malloc (in /home/me/c/ex5)
- ==31294== by 0x62696C2E: ???
- ==31294==
- ==31294== Conditional jump or move depends on uninitialised value(s)
- ==31294== at 0x804E42A: malloc (in /home/me/c/ex5)
- ==31294== by 0x62696C2E: ???
- ==31294==
- ==31294== Conditional jump or move depends on uninitialised value(s)
- ==31294== at 0x80497BA: __new_exitfn (in /home/me/c/ex5)
- ==31294== by 0x80498EE: __internal_atexit (in /home/me/c/ex5)
- ==31294== by 0x8049956: __cxa_atexit (in /home/me/c/ex5)
- ==31294== by 0x804901C: (below main) (in /home/me/c/ex5)
- ==31294==
- ==31294== Conditional jump or move depends on uninitialised value(s)
- ==31294== at 0x8049858: __new_exitfn (in /home/me/c/ex5)
- ==31294== by 0x80498EE: __internal_atexit (in /home/me/c/ex5)
- ==31294== by 0x8049956: __cxa_atexit (in /home/me/c/ex5)
- ==31294== by 0x804901C: (below main) (in /home/me/c/ex5)
- ==31294==
- ==31294== Conditional jump or move depends on uninitialised value(s)
- ==31294== at 0x805D1ED: vfprintf (in /home/me/c/ex5)
- ==31294== by 0x804999F: printf (in /home/me/c/ex5)
- ==31294== by 0x8049095: (below main) (in /home/me/c/ex5)
- ==31294==
- ==31294== Conditional jump or move depends on uninitialised value(s)
- ==31294== at 0x8053B88: write (in /home/me/c/ex5)
- ==31294== by 0x806A9B0: _IO_file_write (in /home/me/c/ex5)
- ==31294== by 0x806A88F: new_do_write (in /home/me/c/ex5)
- ==31294== by 0x806B62C: _IO_do_write (in /home/me/c/ex5)
- ==31294== by 0x806C10C: _IO_file_overflow (in /home/me/c/ex5)
- ==31294== by 0x806B27A: _IO_file_xsputn (in /home/me/c/ex5)
- ==31294== by 0x805D9B6: vfprintf (in /home/me/c/ex5)
- ==31294== by 0x804999F: printf (in /home/me/c/ex5)
- ==31294== by 0x8049095: (below main) (in /home/me/c/ex5)
- ==31294==
- you are 100 miles away.
- ==31294== Conditional jump or move depends on uninitialised value(s)
- ==31294== at 0x805D27A: vfprintf (in /home/me/c/ex5)
- ==31294== by 0x804999F: printf (in /home/me/c/ex5)
- ==31294== by 0x8049095: (below main) (in /home/me/c/ex5)
- ==31294==
- ==31294== Use of uninitialised value of size 4
- ==31294== at 0x8049717: __run_exit_handlers (in /home/me/c/ex5)
- ==31294== by 0x804961F: ??? (in /home/me/c/ex5)
- ==31294==
- ==31294== Conditional jump or move depends on uninitialised value(s)
- ==31294== at 0x806D498: _IO_cleanup (in /home/me/c/ex5)
- ==31294== by 0x8049758: __run_exit_handlers (in /home/me/c/ex5)
- ==31294== by 0x804979E: exit (in /home/me/c/ex5)
- ==31294== by 0x804909D: (below main) (in /home/me/c/ex5)
- ==31294==
- ==31294== Conditional jump or move depends on uninitialised value(s)
- ==31294== at 0x806D563: _IO_cleanup (in /home/me/c/ex5)
- ==31294== by 0x8049758: __run_exit_handlers (in /home/me/c/ex5)
- ==31294== by 0x804979E: exit (in /home/me/c/ex5)
- ==31294== by 0x804909D: (below main) (in /home/me/c/ex5)
- ==31294==
- ==31294==
- ==31294== HEAP SUMMARY:
- ==31294== in use at exit: 0 bytes in 0 blocks
- ==31294== total heap usage: 0 allocs, 0 frees, 0 bytes allocated
- ==31294==
- ==31294== All heap blocks were freed -- no leaks are possible
- ==31294==
- ==31294== For counts of detected and suppressed errors, rerun with: -v
- ==31294== Use --track-origins=yes to see where uninitialised values come from
- ==31294== ERROR SUMMARY: 19 errors from 15 contexts (suppressed: 0 from 0)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement