src/utils/unittests/challenge

Main

Hostnamefreddy
uname -aLinux freddy 4.13.0-19-generic #22-Ubuntu SMP Mon Dec 4 11:58:07 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
date2018-01-20

==27220== Memcheck, a memory error detector
==27220== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al.
==27220== Using Valgrind-3.12.0 and LibVEX; rerun with -h for copyright info
==27220== Command: ./challenge
==27220== 
--27220-- Valgrind options:
--27220--    --tool=memcheck
--27220--    --vgdb=no
--27220--    --num-callers=20
--27220--    --leak-check=yes
--27220--    -v
--27220--    --show-reachable=yes
--27220--    --log-fd=3
--27220--    --suppressions=/home/freddy/suppressions.supp
--27220--    --track-origins=yes
--27220-- Contents of /proc/version:
--27220--   Linux version 4.13.0-19-generic (buildd@lcy01-amd64-021) (gcc version 7.2.0 (Ubuntu 7.2.0-8ubuntu3)) #22-Ubuntu SMP Mon Dec 4 11:58:07 UTC 2017
--27220-- 
--27220-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-avx-avx2-bmi
--27220-- Page sizes: currently 4096, max supported 4096
--27220-- Valgrind library directory: /home/freddy/install/lib/valgrind
--27220-- Reading syms from /home/freddy/ftdstmp/ftds_comp99m/test5/src/utils/unittests/challenge
--27220-- Reading syms from /lib/x86_64-linux-gnu/ld-2.26.so
--27220--   Considering /lib/x86_64-linux-gnu/ld-2.26.so ..
--27220--   .. CRC mismatch (computed 89c8df08 wanted 47b839f9)
--27220--   Considering /usr/lib/debug/lib/x86_64-linux-gnu/ld-2.26.so ..
--27220--   .. CRC is valid
--27220-- Reading syms from /home/freddy/install/lib/valgrind/memcheck-amd64-linux
--27220--    object doesn't have a dynamic symbol table
--27220-- Scheduler: using generic scheduler lock implementation.
--27220-- Reading suppressions file: /home/freddy/suppressions.supp
--27220-- Reading suppressions file: /home/freddy/install/lib/valgrind/default.supp
--27220-- REDIR: 0x401f860 (ld-linux-x86-64.so.2:strlen) redirected to 0x380a60c1 (vgPlain_amd64_linux_REDIR_FOR_strlen)
--27220-- REDIR: 0x401f640 (ld-linux-x86-64.so.2:index) redirected to 0x380a60db (vgPlain_amd64_linux_REDIR_FOR_index)
--27220-- Reading syms from /home/freddy/install/lib/valgrind/vgpreload_core-amd64-linux.so
--27220-- Reading syms from /home/freddy/install/lib/valgrind/vgpreload_memcheck-amd64-linux.so
==27220== WARNING: new redirection conflicts with existing -- ignoring it
--27220--     old: 0x0401f860 (strlen              ) R-> (0000.0) 0x380a60c1 vgPlain_amd64_linux_REDIR_FOR_strlen
--27220--     new: 0x0401f860 (strlen              ) R-> (2007.0) 0x04c32c60 strlen
--27220-- REDIR: 0x401d8d0 (ld-linux-x86-64.so.2:strcmp) redirected to 0x4c33d60 (strcmp)
--27220-- REDIR: 0x401fda0 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x4c37130 (mempcpy)
--27220-- Reading syms from /lib/x86_64-linux-gnu/libpthread-2.26.so
--27220--   Considering /usr/lib/debug/.build-id/b9/5ecb6ece407081730183e686ff6cf2e0bce4f6.debug ..
--27220--   .. build-id is valid
--27220-- Reading syms from /usr/lib/x86_64-linux-gnu/libnettle.so.6.3
--27220--    object doesn't have a symbol table
--27220-- Reading syms from /lib/x86_64-linux-gnu/libc-2.26.so
--27220--   Considering /lib/x86_64-linux-gnu/libc-2.26.so ..
--27220--   .. CRC mismatch (computed b6c34c34 wanted f79829d1)
--27220--   Considering /usr/lib/debug/lib/x86_64-linux-gnu/libc-2.26.so ..
--27220--   .. CRC is valid
--27220-- REDIR: 0x5324f50 (libc.so.6:memmove) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--27220-- REDIR: 0x5324010 (libc.so.6:strncpy) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--27220-- REDIR: 0x5325230 (libc.so.6:strcasecmp) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--27220-- REDIR: 0x5323a60 (libc.so.6:strcat) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--27220-- REDIR: 0x5324040 (libc.so.6:rindex) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--27220-- REDIR: 0x5326bb0 (libc.so.6:rawmemchr) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--27220-- REDIR: 0x53250c0 (libc.so.6:mempcpy) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--27220-- REDIR: 0x5324ee0 (libc.so.6:bcmp) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--27220-- REDIR: 0x5323fd0 (libc.so.6:strncmp) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--27220-- REDIR: 0x5323ad0 (libc.so.6:strcmp) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--27220-- REDIR: 0x5325020 (libc.so.6:memset) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--27220-- REDIR: 0x5342f10 (libc.so.6:wcschr) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--27220-- REDIR: 0x5323f70 (libc.so.6:strnlen) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--27220-- REDIR: 0x5323b40 (libc.so.6:strcspn) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--27220-- REDIR: 0x5325280 (libc.so.6:strncasecmp) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--27220-- REDIR: 0x5323b10 (libc.so.6:strcpy) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--27220-- REDIR: 0x53253c0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--27220-- REDIR: 0x5324070 (libc.so.6:strpbrk) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--27220-- REDIR: 0x5323a90 (libc.so.6:index) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--27220-- REDIR: 0x5323f40 (libc.so.6:strlen) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--27220-- REDIR: 0x532f510 (libc.so.6:memrchr) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--27220-- REDIR: 0x53252d0 (libc.so.6:strcasecmp_l) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--27220-- REDIR: 0x5324eb0 (libc.so.6:memchr) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--27220-- REDIR: 0x5343cc0 (libc.so.6:wcslen) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--27220-- REDIR: 0x5324350 (libc.so.6:strspn) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--27220-- REDIR: 0x5325200 (libc.so.6:stpncpy) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--27220-- REDIR: 0x53251d0 (libc.so.6:stpcpy) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--27220-- REDIR: 0x5326be0 (libc.so.6:strchrnul) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--27220-- REDIR: 0x5325320 (libc.so.6:strncasecmp_l) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--27220-- REDIR: 0x540e6f0 (libc.so.6:__strrchr_avx2) redirected to 0x4c325f0 (rindex)
--27220-- REDIR: 0x540e8c0 (libc.so.6:__strlen_avx2) redirected to 0x4c32ba0 (strlen)
--27220-- REDIR: 0x540e500 (libc.so.6:__strchrnul_avx2) redirected to 0x4c36c60 (strchrnul)
--27220-- REDIR: 0x540b2b0 (libc.so.6:__strcasecmp_avx) redirected to 0x4c334a0 (strcasecmp)
--27220-- REDIR: 0x540ee00 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4c363c0 (memmove)
--27220-- REDIR: 0x531eeb0 (libc.so.6:malloc) redirected to 0x4c2fb1f (malloc)
All tests passed
--27220-- REDIR: 0x5405860 (libc.so.6:__strncmp_sse42) redirected to 0x4c33430 (__strncmp_sse42)
--27220-- REDIR: 0x53fbca0 (libc.so.6:__strcpy_ssse3) redirected to 0x4c32c80 (strcpy)
--27220-- REDIR: 0x531f3e0 (libc.so.6:free) redirected to 0x4c30ccc (free)
==27220== 
==27220== HEAP SUMMARY:
==27220==     in use at exit: 0 bytes in 0 blocks
==27220==   total heap usage: 5 allocs, 5 frees, 2,803 bytes allocated
==27220== 
==27220== All heap blocks were freed -- no leaks are possible
==27220== 
==27220== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
==27220== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)

Main