src/utils/unittests/challenge

Main

Hostnamefreddy
uname -aLinux freddy 4.15.0-22-generic #24-Ubuntu SMP Wed May 16 12:15:17 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
date2018-05-24

==8901== Memcheck, a memory error detector
==8901== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al.
==8901== Using Valgrind-3.12.0 and LibVEX; rerun with -h for copyright info
==8901== Command: ./challenge
==8901== 
--8901-- Valgrind options:
--8901--    --tool=memcheck
--8901--    --vgdb=no
--8901--    --num-callers=20
--8901--    --leak-check=yes
--8901--    -v
--8901--    --show-reachable=yes
--8901--    --log-fd=3
--8901--    --suppressions=/home/freddy/suppressions.supp
--8901--    --track-origins=yes
--8901-- Contents of /proc/version:
--8901--   Linux version 4.15.0-22-generic (buildd@lgw01-amd64-013) (gcc version 7.3.0 (Ubuntu 7.3.0-16ubuntu3)) #24-Ubuntu SMP Wed May 16 12:15:17 UTC 2018
--8901-- 
--8901-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-avx-avx2-bmi
--8901-- Page sizes: currently 4096, max supported 4096
--8901-- Valgrind library directory: /home/freddy/install/lib/valgrind
--8901-- Reading syms from /home/freddy/ftdstmp/ftds_comp99m/test5/src/utils/unittests/challenge
--8901-- Reading syms from /lib/x86_64-linux-gnu/ld-2.27.so
--8901--   Considering /lib/x86_64-linux-gnu/ld-2.27.so ..
--8901--   .. CRC mismatch (computed 1b7c895e wanted 2943108a)
--8901--   Considering /usr/lib/debug/lib/x86_64-linux-gnu/ld-2.27.so ..
--8901--   .. CRC is valid
--8901-- Reading syms from /home/freddy/install/lib/valgrind/memcheck-amd64-linux
--8901--    object doesn't have a dynamic symbol table
--8901-- Scheduler: using generic scheduler lock implementation.
--8901-- Reading suppressions file: /home/freddy/suppressions.supp
--8901-- Reading suppressions file: /home/freddy/install/lib/valgrind/default.supp
--8901-- REDIR: 0x401f2f0 (ld-linux-x86-64.so.2:strlen) redirected to 0x380a60c1 (vgPlain_amd64_linux_REDIR_FOR_strlen)
--8901-- REDIR: 0x401f0d0 (ld-linux-x86-64.so.2:index) redirected to 0x380a60db (vgPlain_amd64_linux_REDIR_FOR_index)
--8901-- Reading syms from /home/freddy/install/lib/valgrind/vgpreload_core-amd64-linux.so
--8901-- Reading syms from /home/freddy/install/lib/valgrind/vgpreload_memcheck-amd64-linux.so
==8901== WARNING: new redirection conflicts with existing -- ignoring it
--8901--     old: 0x0401f2f0 (strlen              ) R-> (0000.0) 0x380a60c1 vgPlain_amd64_linux_REDIR_FOR_strlen
--8901--     new: 0x0401f2f0 (strlen              ) R-> (2007.0) 0x04c32c60 strlen
--8901-- REDIR: 0x401d360 (ld-linux-x86-64.so.2:strcmp) redirected to 0x4c33d60 (strcmp)
--8901-- REDIR: 0x401f830 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x4c37130 (mempcpy)
--8901-- Reading syms from /lib/x86_64-linux-gnu/libpthread-2.27.so
--8901--   Considering /usr/lib/debug/.build-id/28/c6aade70b2d40d1f0f3d0a1a0cad1ab816448f.debug ..
--8901--   .. build-id is valid
--8901-- Reading syms from /usr/lib/x86_64-linux-gnu/libnettle.so.6.4
--8901--    object doesn't have a symbol table
--8901-- Reading syms from /lib/x86_64-linux-gnu/libc-2.27.so
--8901--   Considering /lib/x86_64-linux-gnu/libc-2.27.so ..
--8901--   .. CRC mismatch (computed b1c74187 wanted 042cc048)
--8901--   Considering /usr/lib/debug/lib/x86_64-linux-gnu/libc-2.27.so ..
--8901--   .. CRC is valid
--8901-- REDIR: 0x532fc70 (libc.so.6:memmove) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--8901-- REDIR: 0x532ed40 (libc.so.6:strncpy) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--8901-- REDIR: 0x532ff50 (libc.so.6:strcasecmp) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--8901-- REDIR: 0x532e790 (libc.so.6:strcat) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--8901-- REDIR: 0x532ed70 (libc.so.6:rindex) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--8901-- REDIR: 0x53317c0 (libc.so.6:rawmemchr) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--8901-- REDIR: 0x532fde0 (libc.so.6:mempcpy) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--8901-- REDIR: 0x532fc10 (libc.so.6:bcmp) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--8901-- REDIR: 0x532ed00 (libc.so.6:strncmp) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--8901-- REDIR: 0x532e800 (libc.so.6:strcmp) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--8901-- REDIR: 0x532fd40 (libc.so.6:memset) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--8901-- REDIR: 0x534d0f0 (libc.so.6:wcschr) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--8901-- REDIR: 0x532eca0 (libc.so.6:strnlen) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--8901-- REDIR: 0x532e870 (libc.so.6:strcspn) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--8901-- REDIR: 0x532ffa0 (libc.so.6:strncasecmp) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--8901-- REDIR: 0x532e840 (libc.so.6:strcpy) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--8901-- REDIR: 0x53300e0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--8901-- REDIR: 0x532eda0 (libc.so.6:strpbrk) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--8901-- REDIR: 0x532e7c0 (libc.so.6:index) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--8901-- REDIR: 0x532ec70 (libc.so.6:strlen) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--8901-- REDIR: 0x53396c0 (libc.so.6:memrchr) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--8901-- REDIR: 0x532fff0 (libc.so.6:strcasecmp_l) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--8901-- REDIR: 0x532fbe0 (libc.so.6:memchr) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--8901-- REDIR: 0x534deb0 (libc.so.6:wcslen) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--8901-- REDIR: 0x532f050 (libc.so.6:strspn) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--8901-- REDIR: 0x532ff20 (libc.so.6:stpncpy) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--8901-- REDIR: 0x532fef0 (libc.so.6:stpcpy) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--8901-- REDIR: 0x53317f0 (libc.so.6:strchrnul) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--8901-- REDIR: 0x5330040 (libc.so.6:strncasecmp_l) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--8901-- REDIR: 0x541f3c0 (libc.so.6:__strrchr_avx2) redirected to 0x4c325f0 (rindex)
--8901-- REDIR: 0x541f590 (libc.so.6:__strlen_avx2) redirected to 0x4c32ba0 (strlen)
--8901-- REDIR: 0x541f1d0 (libc.so.6:__strchrnul_avx2) redirected to 0x4c36c60 (strchrnul)
--8901-- REDIR: 0x541bf80 (libc.so.6:__strcasecmp_avx) redirected to 0x4c334a0 (strcasecmp)
--8901-- REDIR: 0x541fad0 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4c363c0 (memmove)
--8901-- REDIR: 0x5328070 (libc.so.6:malloc) redirected to 0x4c2fb1f (malloc)
All tests passed
--8901-- REDIR: 0x5416510 (libc.so.6:__strncmp_sse42) redirected to 0x4c33430 (__strncmp_sse42)
--8901-- REDIR: 0x540c950 (libc.so.6:__strcpy_ssse3) redirected to 0x4c32c80 (strcpy)
--8901-- REDIR: 0x5328950 (libc.so.6:free) redirected to 0x4c30ccc (free)
==8901== 
==8901== HEAP SUMMARY:
==8901==     in use at exit: 0 bytes in 0 blocks
==8901==   total heap usage: 5 allocs, 5 frees, 2,802 bytes allocated
==8901== 
==8901== All heap blocks were freed -- no leaks are possible
==8901== 
==8901== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
==8901== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)

Main