src/utils/unittests/passarg

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

==27255== Memcheck, a memory error detector
==27255== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al.
==27255== Using Valgrind-3.12.0 and LibVEX; rerun with -h for copyright info
==27255== Command: ./passarg
==27255== 
--27255-- Valgrind options:
--27255--    --tool=memcheck
--27255--    --vgdb=no
--27255--    --num-callers=20
--27255--    --leak-check=yes
--27255--    -v
--27255--    --show-reachable=yes
--27255--    --log-fd=3
--27255--    --suppressions=/home/freddy/suppressions.supp
--27255--    --track-origins=yes
--27255-- Contents of /proc/version:
--27255--   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
--27255-- 
--27255-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-avx-avx2-bmi
--27255-- Page sizes: currently 4096, max supported 4096
--27255-- Valgrind library directory: /home/freddy/install/lib/valgrind
--27255-- Reading syms from /home/freddy/ftdstmp/ftds_comp99/test4/src/utils/unittests/passarg
--27255-- Reading syms from /lib/x86_64-linux-gnu/ld-2.26.so
--27255--   Considering /lib/x86_64-linux-gnu/ld-2.26.so ..
--27255--   .. CRC mismatch (computed 89c8df08 wanted 47b839f9)
--27255--   Considering /usr/lib/debug/lib/x86_64-linux-gnu/ld-2.26.so ..
--27255--   .. CRC is valid
--27255-- Reading syms from /home/freddy/install/lib/valgrind/memcheck-amd64-linux
--27255--    object doesn't have a dynamic symbol table
--27255-- Scheduler: using generic scheduler lock implementation.
--27255-- Reading suppressions file: /home/freddy/suppressions.supp
--27255-- Reading suppressions file: /home/freddy/install/lib/valgrind/default.supp
--27255-- REDIR: 0x401f860 (ld-linux-x86-64.so.2:strlen) redirected to 0x380a60c1 (vgPlain_amd64_linux_REDIR_FOR_strlen)
--27255-- REDIR: 0x401f640 (ld-linux-x86-64.so.2:index) redirected to 0x380a60db (vgPlain_amd64_linux_REDIR_FOR_index)
--27255-- Reading syms from /home/freddy/install/lib/valgrind/vgpreload_core-amd64-linux.so
--27255-- Reading syms from /home/freddy/install/lib/valgrind/vgpreload_memcheck-amd64-linux.so
==27255== WARNING: new redirection conflicts with existing -- ignoring it
--27255--     old: 0x0401f860 (strlen              ) R-> (0000.0) 0x380a60c1 vgPlain_amd64_linux_REDIR_FOR_strlen
--27255--     new: 0x0401f860 (strlen              ) R-> (2007.0) 0x04c32c60 strlen
--27255-- REDIR: 0x401d8d0 (ld-linux-x86-64.so.2:strcmp) redirected to 0x4c33d60 (strcmp)
--27255-- REDIR: 0x401fda0 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x4c37130 (mempcpy)
--27255-- Reading syms from /lib/x86_64-linux-gnu/libpthread-2.26.so
--27255--   Considering /usr/lib/debug/.build-id/b9/5ecb6ece407081730183e686ff6cf2e0bce4f6.debug ..
--27255--   .. build-id is valid
--27255-- Reading syms from /lib/x86_64-linux-gnu/libc-2.26.so
--27255--   Considering /lib/x86_64-linux-gnu/libc-2.26.so ..
--27255--   .. CRC mismatch (computed b6c34c34 wanted f79829d1)
--27255--   Considering /usr/lib/debug/lib/x86_64-linux-gnu/libc-2.26.so ..
--27255--   .. CRC is valid
--27255-- REDIR: 0x50eff50 (libc.so.6:memmove) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--27255-- REDIR: 0x50ef010 (libc.so.6:strncpy) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--27255-- REDIR: 0x50f0230 (libc.so.6:strcasecmp) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--27255-- REDIR: 0x50eea60 (libc.so.6:strcat) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--27255-- REDIR: 0x50ef040 (libc.so.6:rindex) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--27255-- REDIR: 0x50f1bb0 (libc.so.6:rawmemchr) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--27255-- REDIR: 0x50f00c0 (libc.so.6:mempcpy) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--27255-- REDIR: 0x50efee0 (libc.so.6:bcmp) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--27255-- REDIR: 0x50eefd0 (libc.so.6:strncmp) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--27255-- REDIR: 0x50eead0 (libc.so.6:strcmp) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--27255-- REDIR: 0x50f0020 (libc.so.6:memset) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--27255-- REDIR: 0x510df10 (libc.so.6:wcschr) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--27255-- REDIR: 0x50eef70 (libc.so.6:strnlen) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--27255-- REDIR: 0x50eeb40 (libc.so.6:strcspn) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--27255-- REDIR: 0x50f0280 (libc.so.6:strncasecmp) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--27255-- REDIR: 0x50eeb10 (libc.so.6:strcpy) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--27255-- REDIR: 0x50f03c0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--27255-- REDIR: 0x50ef070 (libc.so.6:strpbrk) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--27255-- REDIR: 0x50eea90 (libc.so.6:index) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--27255-- REDIR: 0x50eef40 (libc.so.6:strlen) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--27255-- REDIR: 0x50fa510 (libc.so.6:memrchr) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--27255-- REDIR: 0x50f02d0 (libc.so.6:strcasecmp_l) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--27255-- REDIR: 0x50efeb0 (libc.so.6:memchr) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--27255-- REDIR: 0x510ecc0 (libc.so.6:wcslen) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--27255-- REDIR: 0x50ef350 (libc.so.6:strspn) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--27255-- REDIR: 0x50f0200 (libc.so.6:stpncpy) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--27255-- REDIR: 0x50f01d0 (libc.so.6:stpcpy) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--27255-- REDIR: 0x50f1be0 (libc.so.6:strchrnul) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--27255-- REDIR: 0x50f0320 (libc.so.6:strncasecmp_l) redirected to 0x4a2a742 (_vgnU_ifunc_wrapper)
--27255-- REDIR: 0x51d96f0 (libc.so.6:__strrchr_avx2) redirected to 0x4c325f0 (rindex)
--27255-- REDIR: 0x51d98c0 (libc.so.6:__strlen_avx2) redirected to 0x4c32ba0 (strlen)
--27255-- REDIR: 0x50e9eb0 (libc.so.6:malloc) redirected to 0x4c2fb1f (malloc)
--27255-- REDIR: 0x51d9e00 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x4c363c0 (memmove)
--27255-- REDIR: 0x50ea3e0 (libc.so.6:free) redirected to 0x4c30ccc (free)
--27255-- REDIR: 0x50ef850 (libc.so.6:__GI_strstr) redirected to 0x4c37390 (__strstr_sse2)
--27255-- REDIR: 0x51d5750 (libc.so.6:__memchr_avx2) redirected to 0x4c33e00 (memchr)
--27255-- REDIR: 0x51d92d0 (libc.so.6:__strchr_avx2) redirected to 0x4c32810 (index)
--27255-- REDIR: 0x51d0860 (libc.so.6:__strncmp_sse42) redirected to 0x4c33430 (__strncmp_sse42)
--27255-- REDIR: 0x51c6ca0 (libc.so.6:__strcpy_ssse3) redirected to 0x4c32c80 (strcpy)
==27255== 
==27255== HEAP SUMMARY:
==27255==     in use at exit: 0 bytes in 0 blocks
==27255==   total heap usage: 9 allocs, 9 frees, 9,994 bytes allocated
==27255== 
==27255== All heap blocks were freed -- no leaks are possible
==27255== 
==27255== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
==27255== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)

Main