src/utils/unittests/challenge

Main

Hostnamefreddy
uname -aLinux freddy 4.10.0-30-generic #34-Ubuntu SMP Mon Jul 31 19:38:17 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
date2017-08-12

==7957== Memcheck, a memory error detector
==7957== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al.
==7957== Using Valgrind-3.12.0 and LibVEX; rerun with -h for copyright info
==7957== Command: ./challenge
==7957== 
--7957-- Valgrind options:
--7957--    --tool=memcheck
--7957--    --vgdb=no
--7957--    --num-callers=20
--7957--    --leak-check=yes
--7957--    -v
--7957--    --show-reachable=yes
--7957--    --log-fd=3
--7957--    --suppressions=/home/freddy/suppressions.supp
--7957--    --track-origins=yes
--7957-- Contents of /proc/version:
--7957--   Linux version 4.10.0-30-generic (buildd@lgw01-27) (gcc version 6.3.0 20170406 (Ubuntu 6.3.0-12ubuntu2) ) #34-Ubuntu SMP Mon Jul 31 19:38:17 UTC 2017
--7957-- 
--7957-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-avx-avx2-bmi
--7957-- Page sizes: currently 4096, max supported 4096
--7957-- Valgrind library directory: /home/freddy/install/lib/valgrind
--7957-- Reading syms from /home/freddy/ftdstmp/ftds_comp99m/test1/src/utils/unittests/challenge
--7957-- Reading syms from /lib/x86_64-linux-gnu/ld-2.24.so
--7957--   Considering /lib/x86_64-linux-gnu/ld-2.24.so ..
--7957--   .. CRC mismatch (computed c075befa wanted 5b162bac)
--7957--   Considering /usr/lib/debug/lib/x86_64-linux-gnu/ld-2.24.so ..
--7957--   .. CRC is valid
--7957-- Reading syms from /home/freddy/install/lib/valgrind/memcheck-amd64-linux
--7957--    object doesn't have a dynamic symbol table
--7957-- Scheduler: using generic scheduler lock implementation.
--7957-- Reading suppressions file: /home/freddy/suppressions.supp
--7957-- Reading suppressions file: /home/freddy/install/lib/valgrind/default.supp
--7957-- REDIR: 0x401d4d0 (ld-linux-x86-64.so.2:strlen) redirected to 0x380a60c1 (vgPlain_amd64_linux_REDIR_FOR_strlen)
--7957-- REDIR: 0x401bd80 (ld-linux-x86-64.so.2:index) redirected to 0x380a60db (vgPlain_amd64_linux_REDIR_FOR_index)
--7957-- Reading syms from /home/freddy/install/lib/valgrind/vgpreload_core-amd64-linux.so
--7957-- Reading syms from /home/freddy/install/lib/valgrind/vgpreload_memcheck-amd64-linux.so
==7957== WARNING: new redirection conflicts with existing -- ignoring it
--7957--     old: 0x0401d4d0 (strlen              ) R-> (0000.0) 0x380a60c1 vgPlain_amd64_linux_REDIR_FOR_strlen
--7957--     new: 0x0401d4d0 (strlen              ) R-> (2007.0) 0x04c30c60 strlen
--7957-- REDIR: 0x401bfa0 (ld-linux-x86-64.so.2:strcmp) redirected to 0x4c31d60 (strcmp)
--7957-- REDIR: 0x401dfe0 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x4c35130 (mempcpy)
--7957-- Reading syms from /lib/x86_64-linux-gnu/libpthread-2.24.so
--7957--   Considering /usr/lib/debug/.build-id/d2/d91e222a7bae3822622410509fa0e967e8360f.debug ..
--7957--   .. build-id is valid
--7957-- Reading syms from /usr/lib/x86_64-linux-gnu/libnettle.so.6.3
--7957--   Considering /usr/lib/x86_64-linux-gnu/libnettle.so.6.3 ..
--7957--   .. CRC mismatch (computed f637150f wanted 8461f423)
--7957--   Considering /usr/lib/debug/usr/lib/x86_64-linux-gnu/libnettle.so.6.3 ..
--7957--   .. CRC is valid
--7957-- Reading syms from /lib/x86_64-linux-gnu/libc-2.24.so
--7957--   Considering /lib/x86_64-linux-gnu/libc-2.24.so ..
--7957--   .. CRC mismatch (computed 3bb6a0e6 wanted 41b71c4c)
--7957--   Considering /usr/lib/debug/lib/x86_64-linux-gnu/libc-2.24.so ..
--7957--   .. CRC is valid
--7957-- REDIR: 0x531fc20 (libc.so.6:strcasecmp) redirected to 0x4a28742 (_vgnU_ifunc_wrapper)
--7957-- REDIR: 0x531b590 (libc.so.6:strcspn) redirected to 0x4a28742 (_vgnU_ifunc_wrapper)
--7957-- REDIR: 0x5321f10 (libc.so.6:strncasecmp) redirected to 0x4a28742 (_vgnU_ifunc_wrapper)
--7957-- REDIR: 0x531da00 (libc.so.6:strpbrk) redirected to 0x4a28742 (_vgnU_ifunc_wrapper)
--7957-- REDIR: 0x531dd90 (libc.so.6:strspn) redirected to 0x4a28742 (_vgnU_ifunc_wrapper)
--7957-- REDIR: 0x531f2a0 (libc.so.6:memmove) redirected to 0x4a28742 (_vgnU_ifunc_wrapper)
--7957-- REDIR: 0x531b470 (libc.so.6:strcpy) redirected to 0x4a28742 (_vgnU_ifunc_wrapper)
--7957-- REDIR: 0x5324610 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x4a28742 (_vgnU_ifunc_wrapper)
--7957-- REDIR: 0x531d710 (libc.so.6:rindex) redirected to 0x4c305f0 (rindex)
--7957-- REDIR: 0x531ba30 (libc.so.6:strlen) redirected to 0x4c30ba0 (strlen)
--7957-- REDIR: 0x5325fc0 (libc.so.6:strchrnul) redirected to 0x4c34c60 (strchrnul)
--7957-- REDIR: 0x53db6c0 (libc.so.6:__strcasecmp_avx) redirected to 0x4c314a0 (strcasecmp)
--7957-- REDIR: 0x53de770 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4c343c0 (memmove)
--7957-- REDIR: 0x5314930 (libc.so.6:malloc) redirected to 0x4c2db1f (malloc)
All tests passed
--7957-- REDIR: 0x531be80 (libc.so.6:__GI_strncmp) redirected to 0x4c31350 (__GI_strncmp)
--7957-- REDIR: 0x5333d10 (libc.so.6:__strcpy_sse2_unaligned) redirected to 0x4c30c80 (strcpy)
--7957-- REDIR: 0x5314ce0 (libc.so.6:free) redirected to 0x4c2eccc (free)
==7957== 
==7957== HEAP SUMMARY:
==7957==     in use at exit: 0 bytes in 0 blocks
==7957==   total heap usage: 5 allocs, 5 frees, 2,802 bytes allocated
==7957== 
==7957== All heap blocks were freed -- no leaks are possible
==7957== 
==7957== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
==7957== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)

Main