-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvalgrind-out.txt
121 lines (121 loc) · 8.6 KB
/
valgrind-out.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
==7850== Memcheck, a memory error detector
==7850== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==7850== Using Valgrind-3.14.0-353a3587bb-20181007X and LibVEX; rerun with -h for copyright info
==7850== Command: ./saida/clang exemplos/teste4.c
==7850== Parent PID: 8659
==7850==
--7850--
--7850-- Valgrind options:
--7850-- --leak-check=full
--7850-- --show-leak-kinds=all
--7850-- --track-origins=yes
--7850-- --verbose
--7850-- --log-file=valgrind-out.txt
--7850-- Contents of /proc/version:
--7850-- Linux version 4.19.0-14-amd64 ([email protected]) (gcc version 8.3.0 (Debian 8.3.0-6)) #1 SMP Debian 4.19.171-2 (2021-01-30)
--7850--
--7850-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-avx-avx2-bmi
--7850-- Page sizes: currently 4096, max supported 4096
--7850-- Valgrind library directory: /usr/lib/x86_64-linux-gnu/valgrind
--7850-- Reading syms from /home/rafaelmartinsrm/Tradutores/saida/clang
--7850-- Reading syms from /usr/lib/x86_64-linux-gnu/ld-2.28.so
--7850-- Considering /usr/lib/debug/.build-id/f2/5dfd7b95be4ba386fd71080accae8c0732b711.debug ..
--7850-- .. build-id is valid
--7850-- Reading syms from /usr/lib/x86_64-linux-gnu/valgrind/memcheck-amd64-linux
--7850-- Considering /usr/lib/debug/.build-id/32/2e77af97f403c3d34ff09edf60b089e72ec889.debug ..
--7850-- .. build-id is valid
--7850-- object doesn't have a dynamic symbol table
--7850-- Scheduler: using generic scheduler lock implementation.
--7850-- Reading suppressions file: /usr/lib/x86_64-linux-gnu/valgrind/default.supp
==7850== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-7850-by-rafaelmartinsrm-on-???
==7850== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-7850-by-rafaelmartinsrm-on-???
==7850== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-7850-by-rafaelmartinsrm-on-???
==7850==
==7850== TO CONTROL THIS PROCESS USING vgdb (which you probably
==7850== don't want to do, unless you know exactly what you're doing,
==7850== or are doing some strange experiment):
==7850== /usr/lib/x86_64-linux-gnu/valgrind/../../bin/vgdb --pid=7850 ...command...
==7850==
==7850== TO DEBUG THIS PROCESS USING GDB: start GDB like this
==7850== /path/to/gdb ./saida/clang
==7850== and then give GDB the following command
==7850== target remote | /usr/lib/x86_64-linux-gnu/valgrind/../../bin/vgdb --pid=7850
==7850== --pid is optional if only one valgrind process is running
==7850==
--7850-- REDIR: 0x401e2f0 (ld-linux-x86-64.so.2:strlen) redirected to 0x580c9ce2 (vgPlain_amd64_linux_REDIR_FOR_strlen)
--7850-- REDIR: 0x401e0d0 (ld-linux-x86-64.so.2:index) redirected to 0x580c9cfc (vgPlain_amd64_linux_REDIR_FOR_index)
--7850-- Reading syms from /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_core-amd64-linux.so
--7850-- Considering /usr/lib/debug/.build-id/34/fbc4cdfbfce1bfc3d2e522a01a050bf724c930.debug ..
--7850-- .. build-id is valid
--7850-- Reading syms from /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so
--7850-- Considering /usr/lib/debug/.build-id/ca/bb7898ea982d936cbfadd70ae831c6eb63623f.debug ..
--7850-- .. build-id is valid
==7850== WARNING: new redirection conflicts with existing -- ignoring it
--7850-- old: 0x0401e2f0 (strlen ) R-> (0000.0) 0x580c9ce2 vgPlain_amd64_linux_REDIR_FOR_strlen
--7850-- new: 0x0401e2f0 (strlen ) R-> (2007.0) 0x04838d80 strlen
--7850-- REDIR: 0x401ab10 (ld-linux-x86-64.so.2:strcmp) redirected to 0x4839e40 (strcmp)
--7850-- REDIR: 0x401e830 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x483d860 (mempcpy)
--7850-- Reading syms from /usr/lib/x86_64-linux-gnu/libm-2.28.so
--7850-- Considering /usr/lib/debug/.build-id/88/5dda4b4a5cea600e7b5b98c1ad86996c8d2299.debug ..
--7850-- .. build-id is valid
--7850-- Reading syms from /usr/lib/x86_64-linux-gnu/libfl.so.2.0.0
--7850-- object doesn't have a symbol table
--7850-- Reading syms from /usr/lib/x86_64-linux-gnu/libc-2.28.so
--7850-- Considering /usr/lib/debug/.build-id/18/b9a9a8c523e5cfe5b5d946d605d09242f09798.debug ..
--7850-- .. build-id is valid
--7850-- REDIR: 0x4a5ef70 (libc.so.6:memmove) redirected to 0x482b1b0 (_vgnU_ifunc_wrapper)
--7850-- REDIR: 0x4a5e160 (libc.so.6:strncpy) redirected to 0x482b1b0 (_vgnU_ifunc_wrapper)
--7850-- REDIR: 0x4a5f250 (libc.so.6:strcasecmp) redirected to 0x482b1b0 (_vgnU_ifunc_wrapper)
--7850-- REDIR: 0x4a5db70 (libc.so.6:strcat) redirected to 0x482b1b0 (_vgnU_ifunc_wrapper)
--7850-- REDIR: 0x4a5e190 (libc.so.6:rindex) redirected to 0x482b1b0 (_vgnU_ifunc_wrapper)
--7850-- REDIR: 0x4a60890 (libc.so.6:rawmemchr) redirected to 0x482b1b0 (_vgnU_ifunc_wrapper)
--7850-- REDIR: 0x4a79230 (libc.so.6:wmemchr) redirected to 0x482b1b0 (_vgnU_ifunc_wrapper)
--7850-- REDIR: 0x4a78cd0 (libc.so.6:wcscmp) redirected to 0x482b1b0 (_vgnU_ifunc_wrapper)
--7850-- REDIR: 0x4a5f0e0 (libc.so.6:mempcpy) redirected to 0x482b1b0 (_vgnU_ifunc_wrapper)
--7850-- REDIR: 0x4a5ef10 (libc.so.6:bcmp) redirected to 0x482b1b0 (_vgnU_ifunc_wrapper)
--7850-- REDIR: 0x4a5e100 (libc.so.6:strncmp) redirected to 0x482b1b0 (_vgnU_ifunc_wrapper)
--7850-- REDIR: 0x4a5dbe0 (libc.so.6:strcmp) redirected to 0x482b1b0 (_vgnU_ifunc_wrapper)
--7850-- REDIR: 0x4a5f040 (libc.so.6:memset) redirected to 0x482b1b0 (_vgnU_ifunc_wrapper)
--7850-- REDIR: 0x4a78ca0 (libc.so.6:wcschr) redirected to 0x482b1b0 (_vgnU_ifunc_wrapper)
--7850-- REDIR: 0x4a5e0a0 (libc.so.6:strnlen) redirected to 0x482b1b0 (_vgnU_ifunc_wrapper)
--7850-- REDIR: 0x4a5dc70 (libc.so.6:strcspn) redirected to 0x482b1b0 (_vgnU_ifunc_wrapper)
--7850-- REDIR: 0x4a5f2a0 (libc.so.6:strncasecmp) redirected to 0x482b1b0 (_vgnU_ifunc_wrapper)
--7850-- REDIR: 0x4a5dc40 (libc.so.6:strcpy) redirected to 0x482b1b0 (_vgnU_ifunc_wrapper)
--7850-- REDIR: 0x4a5f3e0 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x482b1b0 (_vgnU_ifunc_wrapper)
--7850-- REDIR: 0x4a7a4d0 (libc.so.6:wcsnlen) redirected to 0x482b1b0 (_vgnU_ifunc_wrapper)
--7850-- REDIR: 0x4a5e1c0 (libc.so.6:strpbrk) redirected to 0x482b1b0 (_vgnU_ifunc_wrapper)
--7850-- REDIR: 0x4a5dba0 (libc.so.6:index) redirected to 0x482b1b0 (_vgnU_ifunc_wrapper)
--7850-- REDIR: 0x4a5e070 (libc.so.6:strlen) redirected to 0x482b1b0 (_vgnU_ifunc_wrapper)
--7850-- REDIR: 0x4a65280 (libc.so.6:memrchr) redirected to 0x482b1b0 (_vgnU_ifunc_wrapper)
--7850-- REDIR: 0x4a5f2f0 (libc.so.6:strcasecmp_l) redirected to 0x482b1b0 (_vgnU_ifunc_wrapper)
--7850-- REDIR: 0x4a5eee0 (libc.so.6:memchr) redirected to 0x482b1b0 (_vgnU_ifunc_wrapper)
--7850-- REDIR: 0x4a78db0 (libc.so.6:wcslen) redirected to 0x482b1b0 (_vgnU_ifunc_wrapper)
--7850-- REDIR: 0x4a5e460 (libc.so.6:strspn) redirected to 0x482b1b0 (_vgnU_ifunc_wrapper)
--7850-- REDIR: 0x4a5f220 (libc.so.6:stpncpy) redirected to 0x482b1b0 (_vgnU_ifunc_wrapper)
--7850-- REDIR: 0x4a5f1f0 (libc.so.6:stpcpy) redirected to 0x482b1b0 (_vgnU_ifunc_wrapper)
--7850-- REDIR: 0x4a608c0 (libc.so.6:strchrnul) redirected to 0x482b1b0 (_vgnU_ifunc_wrapper)
--7850-- REDIR: 0x4a5f340 (libc.so.6:strncasecmp_l) redirected to 0x482b1b0 (_vgnU_ifunc_wrapper)
--7850-- REDIR: 0x4b31fa0 (libc.so.6:__strrchr_avx2) redirected to 0x4838790 (rindex)
--7850-- REDIR: 0x4a5a350 (libc.so.6:malloc) redirected to 0x4835710 (malloc)
--7850-- REDIR: 0x4a5e980 (libc.so.6:__GI_strstr) redirected to 0x483dac0 (__strstr_sse2)
--7850-- REDIR: 0x4a5a9a0 (libc.so.6:free) redirected to 0x4836940 (free)
--7850-- REDIR: 0x4b32b30 (libc.so.6:__memset_avx2_unaligned_erms) redirected to 0x483c790 (memset)
--7850-- REDIR: 0x4b32170 (libc.so.6:__strlen_avx2) redirected to 0x4838c60 (strlen)
--7850-- REDIR: 0x4b326b0 (libc.so.6:__memcpy_avx_unaligned_erms) redirected to 0x483c8a0 (memmove)
--7850-- REDIR: 0x4b2e780 (libc.so.6:__memcmp_avx2_movbe) redirected to 0x483c060 (bcmp)
--7850-- REDIR: 0x4b31db0 (libc.so.6:__strchrnul_avx2) redirected to 0x483d390 (strchrnul)
--7850-- REDIR: 0x4b32690 (libc.so.6:__mempcpy_avx_unaligned_erms) redirected to 0x483d4a0 (mempcpy)
--7850-- REDIR: 0x4a5abf0 (libc.so.6:realloc) redirected to 0x4837d00 (realloc)
--7850-- REDIR: 0x4a5b120 (libc.so.6:calloc) redirected to 0x4837ab0 (calloc)
--7850-- REDIR: 0x4a73100 (libc.so.6:__strcpy_sse2_unaligned) redirected to 0x4838db0 (strcpy)
--7850-- REDIR: 0x4b2d580 (libc.so.6:__strspn_sse42) redirected to 0x483dcc0 (strspn)
--7850-- REDIR: 0x4b2d2c0 (libc.so.6:__strcspn_sse42) redirected to 0x483dc00 (strcspn)
==7850==
==7850== HEAP SUMMARY:
==7850== in use at exit: 0 bytes in 0 blocks
==7850== total heap usage: 432 allocs, 432 frees, 490,011 bytes allocated
==7850==
==7850== All heap blocks were freed -- no leaks are possible
==7850==
==7850== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
==7850== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)