Skip to content

Instantly share code, notes, and snippets.

@Thynkon
Created December 26, 2019 18:41
Show Gist options
  • Save Thynkon/31b2e75cd13238ef0c8604486dcf79d9 to your computer and use it in GitHub Desktop.
Save Thynkon/31b2e75cd13238ef0c8604486dcf79d9 to your computer and use it in GitHub Desktop.
life-saverc valgrind report
valgrind --leak-check=full ./life-saverc -f LICENSE -o licence.tar.bz2
==819042==
==819042== HEAP SUMMARY:
==819042== in use at exit: 2,104 bytes in 17 blocks
==819042== total heap usage: 2,692 allocs, 2,675 frees, 8,212,662 bytes allocated
==819042==
==819042== 1,024 (160 direct, 864 indirect) bytes in 2 blocks are definitely lost in loss record 8 of 9
==819042== at 0x483980B: malloc (vg_replace_malloc.c:309)
==819042== by 0x4CF65CD: CRYPTO_zalloc (mem.c:230)
==819042== by 0x4CE5494: int_ctx_new (pmeth_lib.c:152)
==819042== by 0x495665F: ssh_curve25519_build_k.isra.0 (curve25519.c:195)
==819042== by 0x49569DC: ssh_packet_client_curve25519_reply (curve25519.c:332)
==819042== by 0x49659F7: ssh_packet_process (packet.c:1494)
==819042== by 0x496611B: ssh_packet_socket_callback (packet.c:1338)
==819042== by 0x4970197: ssh_socket_pollcallback (socket.c:306)
==819042== by 0x496C5B2: ssh_poll_ctx_dopoll (poll.c:702)
==819042== by 0x496D5EF: ssh_handle_packets (session.c:659)
==819042== by 0x496D6BA: ssh_handle_packets_termination (session.c:727)
==819042== by 0x495366F: ssh_connect (client.c:594)
==819042==
==819042== 1,080 bytes in 1 blocks are definitely lost in loss record 9 of 9
==819042== at 0x483BB1A: calloc (vg_replace_malloc.c:762)
==819042== by 0x488B386: archive_entry_new2 (archive_entry.c:256)
==819042== by 0x4027D5: create (compression.c:60)
==819042== by 0x402D39: main (life-saverc.c:133)
==819042==
==819042== LEAK SUMMARY:
==819042== definitely lost: 1,240 bytes in 3 blocks
==819042== indirectly lost: 864 bytes in 14 blocks
==819042== possibly lost: 0 bytes in 0 blocks
==819042== still reachable: 0 bytes in 0 blocks
==819042== suppressed: 0 bytes in 0 blocks
==819042==
==819042== For lists of detected and suppressed errors, rerun with: -s
==819042== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment