src/utils/unittests/challenge

Main

Hostnamefreddy
uname -aLinux freddy 4.13.0-17-generic #20-Ubuntu SMP Mon Nov 6 10:04:08 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
date2017-12-12

==32049== Memcheck, a memory error detector
==32049== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al.
==32049== Using Valgrind-3.12.0 and LibVEX; rerun with -h for copyright info
==32049== Command: ./challenge
==32049== 
--32049-- Valgrind options:
--32049--    --tool=memcheck
--32049--    --vgdb=no
--32049--    --num-callers=20
--32049--    --leak-check=yes
--32049--    -v
--32049--    --show-reachable=yes
--32049--    --log-fd=3
--32049--    --suppressions=/home/freddy/suppressions.supp
--32049--    --track-origins=yes
--32049-- Contents of /proc/version:
--32049--   Linux version 4.13.0-17-generic (buildd@lcy01-amd64-011) (gcc version 7.2.0 (Ubuntu 7.2.0-8ubuntu3)) #20-Ubuntu SMP Mon Nov 6 10:04:08 UTC 2017
--32049-- 
--32049-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-avx-avx2-bmi
--32049-- Page sizes: currently 4096, max supported 4096
--32049-- Valgrind library directory: /home/freddy/install/lib/valgrind
--32049-- Reading syms from /home/freddy/ftdstmp/ftds_comp99/test1/src/utils/unittests/challenge
--32049-- Reading syms from /lib/x86_64-linux-gnu/ld-2.26.so
--32049--   Considering /lib/x86_64-linux-gnu/ld-2.26.so ..
--32049--   .. CRC mismatch (computed 8e133c77 wanted 4706bdfa)
--32049--   Considering /usr/lib/debug/lib/x86_64-linux-gnu/ld-2.26.so ..
--32049--   .. CRC is valid
--32049-- Reading syms from /home/freddy/install/lib/valgrind/memcheck-amd64-linux
--32049--    object doesn't have a dynamic symbol table
--32049-- Scheduler: using generic scheduler lock implementation.
--32049-- Reading suppressions file: /home/freddy/suppressions.supp
--32049-- Reading suppressions file: /home/freddy/install/lib/valgrind/default.supp
--32049-- REDIR: 0x401f7b0 (ld-linux-x86-64.so.2:strlen) redirected to 0x380a60c1 (vgPlain_amd64_linux_REDIR_FOR_strlen)
--32049-- REDIR: 0x401f590 (ld-linux-x86-64.so.2:index) redirected to 0x380a60db (vgPlain_amd64_linux_REDIR_FOR_index)
--32049-- Reading syms from /home/freddy/install/lib/valgrind/vgpreload_core-amd64-linux.so
--32049-- Reading syms from /home/freddy/install/lib/valgrind/vgpreload_memcheck-amd64-linux.so
==32049== WARNING: new redirection conflicts with existing -- ignoring it
--32049--     old: 0x0401f7b0 (strlen              ) R-> (0000.0) 0x380a60c1 vgPlain_amd64_linux_REDIR_FOR_strlen
--32049--     new: 0x0401f7b0 (strlen              ) R-> (2007.0) 0x04c32c60 strlen
--32049-- REDIR: 0x401d820 (ld-linux-x86-64.so.2:strcmp) redirected to 0x4c33d60 (strcmp)
--32049-- REDIR: 0x401fcf0 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x4c37130 (mempcpy)
--32049-- Reading syms from /lib/x86_64-linux-gnu/libpthread-2.26.so
--32049--   Considering /usr/lib/debug/.build-id/4a/08084aa956dcb4ad3e4c2295b927f237767bfe.debug ..
--32049--   .. build-id is valid
--32049-- Reading syms from /lib/x86_64-linux-gnu/libc-2.26.so
--32049--   Considering /lib/x86_64-linux-gnu/libc-2.26.so ..
--32049--   .. CRC mismatch (computed cc2bbe88 wanted e29f45fb)
--32049--   Considering /usr/lib/debug/lib/x86_64-linux-gnu/libc-2.26.so ..
--32049--   .. CRC is valid
--32049-- REDIR: 0x50efef0 (libc.so.6:memmove) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--32049-- REDIR: 0x50eefb0 (libc.so.6:strncpy) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--32049-- REDIR: 0x50f01d0 (libc.so.6:strcasecmp) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--32049-- REDIR: 0x50eea00 (libc.so.6:strcat) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--32049-- REDIR: 0x50eefe0 (libc.so.6:rindex) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--32049-- REDIR: 0x50f1b50 (libc.so.6:rawmemchr) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--32049-- REDIR: 0x50f0060 (libc.so.6:mempcpy) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--32049-- REDIR: 0x50efe80 (libc.so.6:bcmp) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--32049-- REDIR: 0x50eef70 (libc.so.6:strncmp) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--32049-- REDIR: 0x50eea70 (libc.so.6:strcmp) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--32049-- REDIR: 0x50effc0 (libc.so.6:memset) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--32049-- REDIR: 0x510deb0 (libc.so.6:wcschr) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--32049-- REDIR: 0x50eef10 (libc.so.6:strnlen) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--32049-- REDIR: 0x50eeae0 (libc.so.6:strcspn) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--32049-- REDIR: 0x50f0220 (libc.so.6:strncasecmp) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--32049-- REDIR: 0x50eeab0 (libc.so.6:strcpy) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--32049-- REDIR: 0x50f0360 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--32049-- REDIR: 0x50ef010 (libc.so.6:strpbrk) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--32049-- REDIR: 0x50eea30 (libc.so.6:index) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--32049-- REDIR: 0x50eeee0 (libc.so.6:strlen) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--32049-- REDIR: 0x50fa4b0 (libc.so.6:memrchr) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--32049-- REDIR: 0x50f0270 (libc.so.6:strcasecmp_l) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--32049-- REDIR: 0x50efe50 (libc.so.6:memchr) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--32049-- REDIR: 0x510ec60 (libc.so.6:wcslen) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--32049-- REDIR: 0x50ef2f0 (libc.so.6:strspn) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--32049-- REDIR: 0x50f01a0 (libc.so.6:stpncpy) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--32049-- REDIR: 0x50f0170 (libc.so.6:stpcpy) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--32049-- REDIR: 0x50f1b80 (libc.so.6:strchrnul) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--32049-- REDIR: 0x50f02c0 (libc.so.6:strncasecmp_l) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--32049-- REDIR: 0x51d96a0 (libc.so.6:__strrchr_avx2) redirected to 0x4c325f0 (rindex)
--32049-- REDIR: 0x51d9870 (libc.so.6:__strlen_avx2) redirected to 0x4c32ba0 (strlen)
--32049-- REDIR: 0x51da230 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x4c362c0 (memset)
--32049-- REDIR: 0x51d94b0 (libc.so.6:__strchrnul_avx2) redirected to 0x4c36c60 (strchrnul)
--32049-- REDIR: 0x51d6260 (libc.so.6:__strcasecmp_avx) redirected to 0x4c334a0 (strcasecmp)
--32049-- REDIR: 0x51d9db0 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4c363c0 (memmove)
--32049-- REDIR: 0x50e9e90 (libc.so.6:malloc) redirected to 0x4c2fb1f (malloc)
All tests passed
--32049-- REDIR: 0x51d0810 (libc.so.6:__strncmp_sse42) redirected to 0x4c33430 (__strncmp_sse42)
--32049-- REDIR: 0x51c6c50 (libc.so.6:__strcpy_ssse3) redirected to 0x4c32c80 (strcpy)
--32049-- REDIR: 0x50ea390 (libc.so.6:free) redirected to 0x4c30ccc (free)
==32049== 
==32049== HEAP SUMMARY:
==32049==     in use at exit: 0 bytes in 0 blocks
==32049==   total heap usage: 7 allocs, 7 frees, 3,905 bytes allocated
==32049== 
==32049== All heap blocks were freed -- no leaks are possible
==32049== 
==32049== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
==32049== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)

Main