diff --git a/server/aesdsocket b/server/aesdsocket index 7708ec1..2c0d4ac 100755 Binary files a/server/aesdsocket and b/server/aesdsocket differ diff --git a/server/aesdsocket.c b/server/aesdsocket.c index 4c7c8e4..3966f71 100644 --- a/server/aesdsocket.c +++ b/server/aesdsocket.c @@ -46,6 +46,7 @@ int sockfd, new_fd; struct addrinfo *res; // will point to the results volatile sig_atomic_t caught_signal = 0; FILE *tmp_file = NULL; +char client_ip[INET_ADDRSTRLEN]; /* Size for IPv4 addresses */ void cleanup() { @@ -53,6 +54,7 @@ void cleanup() { shutdown(new_fd, SHUT_RDWR); close(new_fd); + syslog(LOG_DEBUG, "Closed connection from %s", client_ip); } if (sockfd != -1) @@ -249,7 +251,6 @@ int main ( int argc, char **argv ) exit(1); } - char client_ip[INET_ADDRSTRLEN]; /* Size for IPv4 addresses */ inet_ntop(their_addr.ss_family, &(((struct sockaddr_in*)&their_addr)->sin_addr), client_ip, sizeof(client_ip)); syslog(LOG_DEBUG, "Accepted connection from %s", client_ip); @@ -261,6 +262,7 @@ int main ( int argc, char **argv ) { syslog(LOG_ERR, "Memory allocation failed for receiving buffer"); close(new_fd); + syslog(LOG_DEBUG, "Closed connection from %s", client_ip); continue; } @@ -284,6 +286,7 @@ int main ( int argc, char **argv ) syslog(LOG_ERR, "Realloc failed for receiving buffer"); free(buf); close(new_fd); + syslog(LOG_DEBUG, "Closed connection from %s", client_ip); continue; } memset(new_buf + total_received, 0, receive_buf_size - total_received); @@ -297,6 +300,7 @@ int main ( int argc, char **argv ) syslog(LOG_ERR, "Receive failed"); free(buf); close(new_fd); + syslog(LOG_DEBUG, "Closed connection from %s", client_ip); continue; } @@ -332,6 +336,7 @@ int main ( int argc, char **argv ) { syslog(LOG_ERR, "Memory allocation failed for sending buffer"); close(new_fd); + syslog(LOG_DEBUG, "Closed connection from %s", client_ip); continue; } @@ -346,6 +351,7 @@ int main ( int argc, char **argv ) free(send_buf); close(new_fd); + syslog(LOG_DEBUG, "Closed connection from %s", client_ip); } cleanup(); diff --git a/server/valgrind-out.txt b/server/valgrind-out.txt index 2c23b28..2e897fe 100644 --- a/server/valgrind-out.txt +++ b/server/valgrind-out.txt @@ -1,129 +1,129 @@ -==41752== Memcheck, a memory error detector -==41752== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. -==41752== Using Valgrind-3.18.1-42b08ed5bd-20211015 and LibVEX; rerun with -h for copyright info -==41752== Command: ./aesdsocket -==41752== Parent PID: 41750 -==41752== ---41752-- ---41752-- Valgrind options: ---41752-- --error-exitcode=1 ---41752-- --leak-check=full ---41752-- --show-leak-kinds=all ---41752-- --track-origins=yes ---41752-- --errors-for-leak-kinds=definite ---41752-- --verbose ---41752-- --log-file=valgrind-out.txt ---41752-- Contents of /proc/version: ---41752-- Linux version 6.8.0-45-generic (buildd@lcy02-amd64-075) (x86_64-linux-gnu-gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #45~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Sep 11 15:25:05 UTC 2 ---41752-- ---41752-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3 ---41752-- Page sizes: currently 4096, max supported 4096 ---41752-- Valgrind library directory: /usr/libexec/valgrind ---41752-- Reading syms from /home/traptibalgi/assignment-1-traptibalgi/server/aesdsocket ---41752-- Reading syms from /usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2 ---41752-- Considering /usr/lib/debug/.build-id/41/86944c50f8a32b47d74931e3f512b811813b64.debug .. ---41752-- .. build-id is valid ---41752-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux ---41752-- object doesn't have a symbol table ---41752-- object doesn't have a dynamic symbol table ---41752-- Scheduler: using generic scheduler lock implementation. ---41752-- Reading suppressions file: /usr/libexec/valgrind/default.supp -==41752== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-41752-by-traptibalgi-on-??? -==41752== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-41752-by-traptibalgi-on-??? -==41752== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-41752-by-traptibalgi-on-??? -==41752== -==41752== TO CONTROL THIS PROCESS USING vgdb (which you probably -==41752== don't want to do, unless you know exactly what you're doing, -==41752== or are doing some strange experiment): -==41752== /usr/bin/vgdb --pid=41752 ...command... -==41752== -==41752== TO DEBUG THIS PROCESS USING GDB: start GDB like this -==41752== /path/to/gdb ./aesdsocket -==41752== and then give GDB the following command -==41752== target remote | /usr/bin/vgdb --pid=41752 -==41752== --pid is optional if only one valgrind process is running -==41752== ---41752-- REDIR: 0x402aa40 (ld-linux-x86-64.so.2:strlen) redirected to 0x580bcec2 (???) ---41752-- REDIR: 0x402a810 (ld-linux-x86-64.so.2:index) redirected to 0x580bcedc (???) ---41752-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so ---41752-- object doesn't have a symbol table ---41752-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so ---41752-- object doesn't have a symbol table -==41752== WARNING: new redirection conflicts with existing -- ignoring it ---41752-- old: 0x0402aa40 (strlen ) R-> (0000.0) 0x580bcec2 ??? ---41752-- new: 0x0402aa40 (strlen ) R-> (2007.0) 0x0484ee30 strlen ---41752-- REDIR: 0x4027220 (ld-linux-x86-64.so.2:strcmp) redirected to 0x484fcd0 (strcmp) ---41752-- REDIR: 0x402afa0 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x4853840 (mempcpy) ---41752-- Reading syms from /usr/lib/x86_64-linux-gnu/libc.so.6 ---41752-- Considering /usr/lib/debug/.build-id/49/0fef8403240c91833978d494d39e537409b92e.debug .. ---41752-- .. build-id is valid -==41752== WARNING: new redirection conflicts with existing -- ignoring it ---41752-- old: 0x04910c60 (memalign ) R-> (1011.0) 0x0484e080 memalign ---41752-- new: 0x04910c60 (memalign ) R-> (1017.0) 0x0484e050 aligned_alloc -==41752== WARNING: new redirection conflicts with existing -- ignoring it ---41752-- old: 0x04910c60 (memalign ) R-> (1011.0) 0x0484e080 memalign ---41752-- new: 0x04910c60 (memalign ) R-> (1017.0) 0x0484e020 aligned_alloc -==41752== WARNING: new redirection conflicts with existing -- ignoring it ---41752-- old: 0x04910c60 (memalign ) R-> (1011.0) 0x0484e080 memalign ---41752-- new: 0x04910c60 (memalign ) R-> (1017.0) 0x0484e050 aligned_alloc -==41752== WARNING: new redirection conflicts with existing -- ignoring it ---41752-- old: 0x04910c60 (memalign ) R-> (1011.0) 0x0484e080 memalign ---41752-- new: 0x04910c60 (memalign ) R-> (1017.0) 0x0484e020 aligned_alloc ---41752-- REDIR: 0x4913720 (libc.so.6:strnlen) redirected to 0x483f220 (_vgnU_ifunc_wrapper) ---41752-- REDIR: 0x49139e0 (libc.so.6:strpbrk) redirected to 0x483f220 (_vgnU_ifunc_wrapper) ---41752-- REDIR: 0x49132e0 (libc.so.6:strcmp) redirected to 0x483f220 (_vgnU_ifunc_wrapper) ---41752-- REDIR: 0x4931cd0 (libc.so.6:wcsnlen) redirected to 0x483f220 (_vgnU_ifunc_wrapper) ---41752-- REDIR: 0x49146d0 (libc.so.6:memset) redirected to 0x483f220 (_vgnU_ifunc_wrapper) ---41752-- REDIR: 0x4930540 (libc.so.6:wcslen) redirected to 0x483f220 (_vgnU_ifunc_wrapper) ---41752-- REDIR: 0x4914c10 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483f220 (_vgnU_ifunc_wrapper) ---41752-- REDIR: 0x4930370 (libc.so.6:wcschr) redirected to 0x483f220 (_vgnU_ifunc_wrapper) ---41752-- REDIR: 0x4913260 (libc.so.6:index) redirected to 0x483f220 (_vgnU_ifunc_wrapper) ---41752-- REDIR: 0x4913960 (libc.so.6:rindex) redirected to 0x483f220 (_vgnU_ifunc_wrapper) ---41752-- REDIR: 0x49145a0 (libc.so.6:memmove) redirected to 0x483f220 (_vgnU_ifunc_wrapper) ---41752-- REDIR: 0x49303f0 (libc.so.6:wcscmp) redirected to 0x483f220 (_vgnU_ifunc_wrapper) ---41752-- REDIR: 0x49149e0 (libc.so.6:stpncpy) redirected to 0x483f220 (_vgnU_ifunc_wrapper) ---41752-- REDIR: 0x49309b0 (libc.so.6:wmemchr) redirected to 0x483f220 (_vgnU_ifunc_wrapper) ---41752-- REDIR: 0x4913830 (libc.so.6:strncmp) redirected to 0x483f220 (_vgnU_ifunc_wrapper) ---41752-- REDIR: 0x4914a70 (libc.so.6:strcasecmp) redirected to 0x483f220 (_vgnU_ifunc_wrapper) ---41752-- REDIR: 0x4913420 (libc.so.6:strcspn) redirected to 0x483f220 (_vgnU_ifunc_wrapper) ---41752-- REDIR: 0x4930470 (libc.so.6:wcscpy) redirected to 0x483f220 (_vgnU_ifunc_wrapper) ---41752-- REDIR: 0x49131d0 (libc.so.6:strcat) redirected to 0x483f220 (_vgnU_ifunc_wrapper) ---41752-- REDIR: 0x4914b60 (libc.so.6:strncasecmp_l) redirected to 0x483f220 (_vgnU_ifunc_wrapper) ---41752-- REDIR: 0x4914480 (libc.so.6:bcmp) redirected to 0x483f220 (_vgnU_ifunc_wrapper) ---41752-- REDIR: 0x491c570 (libc.so.6:memrchr) redirected to 0x483f220 (_vgnU_ifunc_wrapper) ---41752-- REDIR: 0x4916010 (libc.so.6:strchrnul) redirected to 0x483f220 (_vgnU_ifunc_wrapper) ---41752-- REDIR: 0x4913390 (libc.so.6:strcpy) redirected to 0x483f220 (_vgnU_ifunc_wrapper) ---41752-- REDIR: 0x4914b10 (libc.so.6:strcasecmp_l) redirected to 0x483f220 (_vgnU_ifunc_wrapper) ---41752-- REDIR: 0x49136a0 (libc.so.6:strlen) redirected to 0x483f220 (_vgnU_ifunc_wrapper) ---41752-- REDIR: 0x49138d0 (libc.so.6:strncpy) redirected to 0x483f220 (_vgnU_ifunc_wrapper) ---41752-- REDIR: 0x4914950 (libc.so.6:stpcpy) redirected to 0x483f220 (_vgnU_ifunc_wrapper) ---41752-- REDIR: 0x49143f0 (libc.so.6:memchr) redirected to 0x483f220 (_vgnU_ifunc_wrapper) ---41752-- REDIR: 0x4913b00 (libc.so.6:strspn) redirected to 0x483f220 (_vgnU_ifunc_wrapper) ---41752-- REDIR: 0x49147d0 (libc.so.6:mempcpy) redirected to 0x483f220 (_vgnU_ifunc_wrapper) ---41752-- REDIR: 0x4914ac0 (libc.so.6:strncasecmp) redirected to 0x483f220 (_vgnU_ifunc_wrapper) ---41752-- REDIR: 0x4915f80 (libc.so.6:rawmemchr) redirected to 0x483f220 (_vgnU_ifunc_wrapper) ---41752-- REDIR: 0x4925650 (libc.so.6:__strrchr_sse2) redirected to 0x484e870 (__strrchr_sse2) ---41752-- REDIR: 0x492ff60 (libc.so.6:__memset_sse2_unaligned) redirected to 0x4852770 (memset) ---41752-- REDIR: 0x49100a0 (libc.so.6:malloc) redirected to 0x4848820 (malloc) ---41752-- REDIR: 0x49103e0 (libc.so.6:free) redirected to 0x484b210 (free) ---41752-- REDIR: 0x4913fc0 (libc.so.6:__GI_strstr) redirected to 0x4853ae0 (__strstr_sse2) ---41752-- REDIR: 0x4925440 (libc.so.6:__strchrnul_sse2) redirected to 0x4853330 (strchrnul) ---41752-- REDIR: 0x492a890 (libc.so.6:__strcpy_sse2_unaligned) redirected to 0x484ee60 (strcpy) ---41752-- REDIR: 0x4911520 (libc.so.6:calloc) redirected to 0x484d9d0 (calloc) ---41752-- REDIR: 0x4925950 (libc.so.6:__strlen_sse2) redirected to 0x484ed70 (__strlen_sse2) ---41752-- REDIR: 0x492f870 (libc.so.6:memcpy@GLIBC_2.2.5) redirected to 0x484fe00 (memcpy@GLIBC_2.2.5) ---41752-- REDIR: 0x4a0db30 (libc.so.6:__memcmp_sse4_1) redirected to 0x4851f80 (__memcmp_sse4_1) ---41752-- REDIR: 0x491dd70 (libc.so.6:__strcmp_sse2_unaligned) redirected to 0x484fbd0 (strcmp) ---41752-- REDIR: 0x492f850 (libc.so.6:__mempcpy_sse2_unaligned) redirected to 0x4853440 (mempcpy) ---41752-- REDIR: 0x4910740 (libc.so.6:realloc) redirected to 0x484dc50 (realloc) ---41752-- REDIR: 0x4925210 (libc.so.6:__strchr_sse2) redirected to 0x484e990 (__strchr_sse2) ---41752-- REDIR: 0x491f880 (libc.so.6:__memchr_sse2) redirected to 0x484fd50 (memchr) ---41752-- REDIR: 0x492bed0 (libc.so.6:__stpcpy_sse2_unaligned) redirected to 0x4852370 (__stpcpy_sse2_unaligned) -==41752== -==41752== HEAP SUMMARY: -==41752== in use at exit: 0 bytes in 0 blocks -==41752== total heap usage: 45 allocs, 45 frees, 152,075 bytes allocated -==41752== -==41752== All heap blocks were freed -- no leaks are possible -==41752== -==41752== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) +==43988== Memcheck, a memory error detector +==43988== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. +==43988== Using Valgrind-3.18.1-42b08ed5bd-20211015 and LibVEX; rerun with -h for copyright info +==43988== Command: ./aesdsocket +==43988== Parent PID: 43987 +==43988== +--43988-- +--43988-- Valgrind options: +--43988-- --error-exitcode=1 +--43988-- --leak-check=full +--43988-- --show-leak-kinds=all +--43988-- --track-origins=yes +--43988-- --errors-for-leak-kinds=definite +--43988-- --verbose +--43988-- --log-file=valgrind-out.txt +--43988-- Contents of /proc/version: +--43988-- Linux version 6.8.0-45-generic (buildd@lcy02-amd64-075) (x86_64-linux-gnu-gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #45~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Sep 11 15:25:05 UTC 2 +--43988-- +--43988-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3 +--43988-- Page sizes: currently 4096, max supported 4096 +--43988-- Valgrind library directory: /usr/libexec/valgrind +--43988-- Reading syms from /home/traptibalgi/assignment-1-traptibalgi/server/aesdsocket +--43988-- Reading syms from /usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2 +--43988-- Considering /usr/lib/debug/.build-id/41/86944c50f8a32b47d74931e3f512b811813b64.debug .. +--43988-- .. build-id is valid +--43988-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux +--43988-- object doesn't have a symbol table +--43988-- object doesn't have a dynamic symbol table +--43988-- Scheduler: using generic scheduler lock implementation. +--43988-- Reading suppressions file: /usr/libexec/valgrind/default.supp +==43988== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-43988-by-traptibalgi-on-??? +==43988== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-43988-by-traptibalgi-on-??? +==43988== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-43988-by-traptibalgi-on-??? +==43988== +==43988== TO CONTROL THIS PROCESS USING vgdb (which you probably +==43988== don't want to do, unless you know exactly what you're doing, +==43988== or are doing some strange experiment): +==43988== /usr/bin/vgdb --pid=43988 ...command... +==43988== +==43988== TO DEBUG THIS PROCESS USING GDB: start GDB like this +==43988== /path/to/gdb ./aesdsocket +==43988== and then give GDB the following command +==43988== target remote | /usr/bin/vgdb --pid=43988 +==43988== --pid is optional if only one valgrind process is running +==43988== +--43988-- REDIR: 0x402aa40 (ld-linux-x86-64.so.2:strlen) redirected to 0x580bcec2 (???) +--43988-- REDIR: 0x402a810 (ld-linux-x86-64.so.2:index) redirected to 0x580bcedc (???) +--43988-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so +--43988-- object doesn't have a symbol table +--43988-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so +--43988-- object doesn't have a symbol table +==43988== WARNING: new redirection conflicts with existing -- ignoring it +--43988-- old: 0x0402aa40 (strlen ) R-> (0000.0) 0x580bcec2 ??? +--43988-- new: 0x0402aa40 (strlen ) R-> (2007.0) 0x0484ee30 strlen +--43988-- REDIR: 0x4027220 (ld-linux-x86-64.so.2:strcmp) redirected to 0x484fcd0 (strcmp) +--43988-- REDIR: 0x402afa0 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x4853840 (mempcpy) +--43988-- Reading syms from /usr/lib/x86_64-linux-gnu/libc.so.6 +--43988-- Considering /usr/lib/debug/.build-id/49/0fef8403240c91833978d494d39e537409b92e.debug .. +--43988-- .. build-id is valid +==43988== WARNING: new redirection conflicts with existing -- ignoring it +--43988-- old: 0x04910c60 (memalign ) R-> (1011.0) 0x0484e080 memalign +--43988-- new: 0x04910c60 (memalign ) R-> (1017.0) 0x0484e050 aligned_alloc +==43988== WARNING: new redirection conflicts with existing -- ignoring it +--43988-- old: 0x04910c60 (memalign ) R-> (1011.0) 0x0484e080 memalign +--43988-- new: 0x04910c60 (memalign ) R-> (1017.0) 0x0484e020 aligned_alloc +==43988== WARNING: new redirection conflicts with existing -- ignoring it +--43988-- old: 0x04910c60 (memalign ) R-> (1011.0) 0x0484e080 memalign +--43988-- new: 0x04910c60 (memalign ) R-> (1017.0) 0x0484e050 aligned_alloc +==43988== WARNING: new redirection conflicts with existing -- ignoring it +--43988-- old: 0x04910c60 (memalign ) R-> (1011.0) 0x0484e080 memalign +--43988-- new: 0x04910c60 (memalign ) R-> (1017.0) 0x0484e020 aligned_alloc +--43988-- REDIR: 0x4913720 (libc.so.6:strnlen) redirected to 0x483f220 (_vgnU_ifunc_wrapper) +--43988-- REDIR: 0x49139e0 (libc.so.6:strpbrk) redirected to 0x483f220 (_vgnU_ifunc_wrapper) +--43988-- REDIR: 0x49132e0 (libc.so.6:strcmp) redirected to 0x483f220 (_vgnU_ifunc_wrapper) +--43988-- REDIR: 0x4931cd0 (libc.so.6:wcsnlen) redirected to 0x483f220 (_vgnU_ifunc_wrapper) +--43988-- REDIR: 0x49146d0 (libc.so.6:memset) redirected to 0x483f220 (_vgnU_ifunc_wrapper) +--43988-- REDIR: 0x4930540 (libc.so.6:wcslen) redirected to 0x483f220 (_vgnU_ifunc_wrapper) +--43988-- REDIR: 0x4914c10 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483f220 (_vgnU_ifunc_wrapper) +--43988-- REDIR: 0x4930370 (libc.so.6:wcschr) redirected to 0x483f220 (_vgnU_ifunc_wrapper) +--43988-- REDIR: 0x4913260 (libc.so.6:index) redirected to 0x483f220 (_vgnU_ifunc_wrapper) +--43988-- REDIR: 0x4913960 (libc.so.6:rindex) redirected to 0x483f220 (_vgnU_ifunc_wrapper) +--43988-- REDIR: 0x49145a0 (libc.so.6:memmove) redirected to 0x483f220 (_vgnU_ifunc_wrapper) +--43988-- REDIR: 0x49303f0 (libc.so.6:wcscmp) redirected to 0x483f220 (_vgnU_ifunc_wrapper) +--43988-- REDIR: 0x49149e0 (libc.so.6:stpncpy) redirected to 0x483f220 (_vgnU_ifunc_wrapper) +--43988-- REDIR: 0x49309b0 (libc.so.6:wmemchr) redirected to 0x483f220 (_vgnU_ifunc_wrapper) +--43988-- REDIR: 0x4913830 (libc.so.6:strncmp) redirected to 0x483f220 (_vgnU_ifunc_wrapper) +--43988-- REDIR: 0x4914a70 (libc.so.6:strcasecmp) redirected to 0x483f220 (_vgnU_ifunc_wrapper) +--43988-- REDIR: 0x4913420 (libc.so.6:strcspn) redirected to 0x483f220 (_vgnU_ifunc_wrapper) +--43988-- REDIR: 0x4930470 (libc.so.6:wcscpy) redirected to 0x483f220 (_vgnU_ifunc_wrapper) +--43988-- REDIR: 0x49131d0 (libc.so.6:strcat) redirected to 0x483f220 (_vgnU_ifunc_wrapper) +--43988-- REDIR: 0x4914b60 (libc.so.6:strncasecmp_l) redirected to 0x483f220 (_vgnU_ifunc_wrapper) +--43988-- REDIR: 0x4914480 (libc.so.6:bcmp) redirected to 0x483f220 (_vgnU_ifunc_wrapper) +--43988-- REDIR: 0x491c570 (libc.so.6:memrchr) redirected to 0x483f220 (_vgnU_ifunc_wrapper) +--43988-- REDIR: 0x4916010 (libc.so.6:strchrnul) redirected to 0x483f220 (_vgnU_ifunc_wrapper) +--43988-- REDIR: 0x4913390 (libc.so.6:strcpy) redirected to 0x483f220 (_vgnU_ifunc_wrapper) +--43988-- REDIR: 0x4914b10 (libc.so.6:strcasecmp_l) redirected to 0x483f220 (_vgnU_ifunc_wrapper) +--43988-- REDIR: 0x49136a0 (libc.so.6:strlen) redirected to 0x483f220 (_vgnU_ifunc_wrapper) +--43988-- REDIR: 0x49138d0 (libc.so.6:strncpy) redirected to 0x483f220 (_vgnU_ifunc_wrapper) +--43988-- REDIR: 0x4914950 (libc.so.6:stpcpy) redirected to 0x483f220 (_vgnU_ifunc_wrapper) +--43988-- REDIR: 0x49143f0 (libc.so.6:memchr) redirected to 0x483f220 (_vgnU_ifunc_wrapper) +--43988-- REDIR: 0x4913b00 (libc.so.6:strspn) redirected to 0x483f220 (_vgnU_ifunc_wrapper) +--43988-- REDIR: 0x49147d0 (libc.so.6:mempcpy) redirected to 0x483f220 (_vgnU_ifunc_wrapper) +--43988-- REDIR: 0x4914ac0 (libc.so.6:strncasecmp) redirected to 0x483f220 (_vgnU_ifunc_wrapper) +--43988-- REDIR: 0x4915f80 (libc.so.6:rawmemchr) redirected to 0x483f220 (_vgnU_ifunc_wrapper) +--43988-- REDIR: 0x4925650 (libc.so.6:__strrchr_sse2) redirected to 0x484e870 (__strrchr_sse2) +--43988-- REDIR: 0x492ff60 (libc.so.6:__memset_sse2_unaligned) redirected to 0x4852770 (memset) +--43988-- REDIR: 0x49100a0 (libc.so.6:malloc) redirected to 0x4848820 (malloc) +--43988-- REDIR: 0x49103e0 (libc.so.6:free) redirected to 0x484b210 (free) +--43988-- REDIR: 0x4913fc0 (libc.so.6:__GI_strstr) redirected to 0x4853ae0 (__strstr_sse2) +--43988-- REDIR: 0x4925440 (libc.so.6:__strchrnul_sse2) redirected to 0x4853330 (strchrnul) +--43988-- REDIR: 0x492a890 (libc.so.6:__strcpy_sse2_unaligned) redirected to 0x484ee60 (strcpy) +--43988-- REDIR: 0x4911520 (libc.so.6:calloc) redirected to 0x484d9d0 (calloc) +--43988-- REDIR: 0x4925950 (libc.so.6:__strlen_sse2) redirected to 0x484ed70 (__strlen_sse2) +--43988-- REDIR: 0x492f870 (libc.so.6:memcpy@GLIBC_2.2.5) redirected to 0x484fe00 (memcpy@GLIBC_2.2.5) +--43988-- REDIR: 0x4a0db30 (libc.so.6:__memcmp_sse4_1) redirected to 0x4851f80 (__memcmp_sse4_1) +--43988-- REDIR: 0x491dd70 (libc.so.6:__strcmp_sse2_unaligned) redirected to 0x484fbd0 (strcmp) +--43988-- REDIR: 0x492f850 (libc.so.6:__mempcpy_sse2_unaligned) redirected to 0x4853440 (mempcpy) +--43988-- REDIR: 0x4910740 (libc.so.6:realloc) redirected to 0x484dc50 (realloc) +--43988-- REDIR: 0x4925210 (libc.so.6:__strchr_sse2) redirected to 0x484e990 (__strchr_sse2) +--43988-- REDIR: 0x491f880 (libc.so.6:__memchr_sse2) redirected to 0x484fd50 (memchr) +--43988-- REDIR: 0x492bed0 (libc.so.6:__stpcpy_sse2_unaligned) redirected to 0x4852370 (__stpcpy_sse2_unaligned) +==43988== +==43988== HEAP SUMMARY: +==43988== in use at exit: 0 bytes in 0 blocks +==43988== total heap usage: 60 allocs, 60 frees, 195,895 bytes allocated +==43988== +==43988== All heap blocks were freed -- no leaks are possible +==43988== +==43988== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)