Skip to content

Commit

Permalink
Updated accept to not exit
Browse files Browse the repository at this point in the history
  • Loading branch information
traptibalgi authored and traptibalgi committed Oct 6, 2024
1 parent f83a20b commit e57b4a5
Show file tree
Hide file tree
Showing 2 changed files with 130 additions and 131 deletions.
3 changes: 1 addition & 2 deletions server/aesdsocket.c
Original file line number Diff line number Diff line change
Expand Up @@ -247,8 +247,7 @@ int main ( int argc, char **argv )
if (new_fd == -1)
{
syslog(LOG_ERR, "Accept failed: %s", strerror(errno));
cleanup();
exit(1);
continue;
}

inet_ntop(their_addr.ss_family, &(((struct sockaddr_in*)&their_addr)->sin_addr), client_ip, sizeof(client_ip));
Expand Down
258 changes: 129 additions & 129 deletions server/valgrind-out.txt
Original file line number Diff line number Diff line change
@@ -1,129 +1,129 @@
==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)
==4376== Memcheck, a memory error detector
==4376== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==4376== Using Valgrind-3.18.1-42b08ed5bd-20211015 and LibVEX; rerun with -h for copyright info
==4376== Command: ./aesdsocket
==4376== Parent PID: 4374
==4376==
--4376--
--4376-- Valgrind options:
--4376-- --error-exitcode=1
--4376-- --leak-check=full
--4376-- --show-leak-kinds=all
--4376-- --track-origins=yes
--4376-- --errors-for-leak-kinds=definite
--4376-- --verbose
--4376-- --log-file=valgrind-out.txt
--4376-- Contents of /proc/version:
--4376-- 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
--4376--
--4376-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-lzcnt-rdtscp-sse3-ssse3
--4376-- Page sizes: currently 4096, max supported 4096
--4376-- Valgrind library directory: /usr/libexec/valgrind
--4376-- Reading syms from /home/traptibalgi/assignment-1-traptibalgi/server/aesdsocket
--4376-- Reading syms from /usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2
--4376-- Considering /usr/lib/debug/.build-id/41/86944c50f8a32b47d74931e3f512b811813b64.debug ..
--4376-- .. build-id is valid
--4376-- Reading syms from /usr/libexec/valgrind/memcheck-amd64-linux
--4376-- object doesn't have a symbol table
--4376-- object doesn't have a dynamic symbol table
--4376-- Scheduler: using generic scheduler lock implementation.
--4376-- Reading suppressions file: /usr/libexec/valgrind/default.supp
==4376== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-4376-by-traptibalgi-on-???
==4376== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-4376-by-traptibalgi-on-???
==4376== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-4376-by-traptibalgi-on-???
==4376==
==4376== TO CONTROL THIS PROCESS USING vgdb (which you probably
==4376== don't want to do, unless you know exactly what you're doing,
==4376== or are doing some strange experiment):
==4376== /usr/bin/vgdb --pid=4376 ...command...
==4376==
==4376== TO DEBUG THIS PROCESS USING GDB: start GDB like this
==4376== /path/to/gdb ./aesdsocket
==4376== and then give GDB the following command
==4376== target remote | /usr/bin/vgdb --pid=4376
==4376== --pid is optional if only one valgrind process is running
==4376==
--4376-- REDIR: 0x402aa40 (ld-linux-x86-64.so.2:strlen) redirected to 0x580bcec2 (???)
--4376-- REDIR: 0x402a810 (ld-linux-x86-64.so.2:index) redirected to 0x580bcedc (???)
--4376-- Reading syms from /usr/libexec/valgrind/vgpreload_core-amd64-linux.so
--4376-- object doesn't have a symbol table
--4376-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so
--4376-- object doesn't have a symbol table
==4376== WARNING: new redirection conflicts with existing -- ignoring it
--4376-- old: 0x0402aa40 (strlen ) R-> (0000.0) 0x580bcec2 ???
--4376-- new: 0x0402aa40 (strlen ) R-> (2007.0) 0x0484ee30 strlen
--4376-- REDIR: 0x4027220 (ld-linux-x86-64.so.2:strcmp) redirected to 0x484fcd0 (strcmp)
--4376-- REDIR: 0x402afa0 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x4853840 (mempcpy)
--4376-- Reading syms from /usr/lib/x86_64-linux-gnu/libc.so.6
--4376-- Considering /usr/lib/debug/.build-id/49/0fef8403240c91833978d494d39e537409b92e.debug ..
--4376-- .. build-id is valid
==4376== WARNING: new redirection conflicts with existing -- ignoring it
--4376-- old: 0x04910c60 (memalign ) R-> (1011.0) 0x0484e080 memalign
--4376-- new: 0x04910c60 (memalign ) R-> (1017.0) 0x0484e050 aligned_alloc
==4376== WARNING: new redirection conflicts with existing -- ignoring it
--4376-- old: 0x04910c60 (memalign ) R-> (1011.0) 0x0484e080 memalign
--4376-- new: 0x04910c60 (memalign ) R-> (1017.0) 0x0484e020 aligned_alloc
==4376== WARNING: new redirection conflicts with existing -- ignoring it
--4376-- old: 0x04910c60 (memalign ) R-> (1011.0) 0x0484e080 memalign
--4376-- new: 0x04910c60 (memalign ) R-> (1017.0) 0x0484e050 aligned_alloc
==4376== WARNING: new redirection conflicts with existing -- ignoring it
--4376-- old: 0x04910c60 (memalign ) R-> (1011.0) 0x0484e080 memalign
--4376-- new: 0x04910c60 (memalign ) R-> (1017.0) 0x0484e020 aligned_alloc
--4376-- REDIR: 0x4913720 (libc.so.6:strnlen) redirected to 0x483f220 (_vgnU_ifunc_wrapper)
--4376-- REDIR: 0x49139e0 (libc.so.6:strpbrk) redirected to 0x483f220 (_vgnU_ifunc_wrapper)
--4376-- REDIR: 0x49132e0 (libc.so.6:strcmp) redirected to 0x483f220 (_vgnU_ifunc_wrapper)
--4376-- REDIR: 0x4931cd0 (libc.so.6:wcsnlen) redirected to 0x483f220 (_vgnU_ifunc_wrapper)
--4376-- REDIR: 0x49146d0 (libc.so.6:memset) redirected to 0x483f220 (_vgnU_ifunc_wrapper)
--4376-- REDIR: 0x4930540 (libc.so.6:wcslen) redirected to 0x483f220 (_vgnU_ifunc_wrapper)
--4376-- REDIR: 0x4914c10 (libc.so.6:memcpy@@GLIBC_2.14) redirected to 0x483f220 (_vgnU_ifunc_wrapper)
--4376-- REDIR: 0x4930370 (libc.so.6:wcschr) redirected to 0x483f220 (_vgnU_ifunc_wrapper)
--4376-- REDIR: 0x4913260 (libc.so.6:index) redirected to 0x483f220 (_vgnU_ifunc_wrapper)
--4376-- REDIR: 0x4913960 (libc.so.6:rindex) redirected to 0x483f220 (_vgnU_ifunc_wrapper)
--4376-- REDIR: 0x49145a0 (libc.so.6:memmove) redirected to 0x483f220 (_vgnU_ifunc_wrapper)
--4376-- REDIR: 0x49303f0 (libc.so.6:wcscmp) redirected to 0x483f220 (_vgnU_ifunc_wrapper)
--4376-- REDIR: 0x49149e0 (libc.so.6:stpncpy) redirected to 0x483f220 (_vgnU_ifunc_wrapper)
--4376-- REDIR: 0x49309b0 (libc.so.6:wmemchr) redirected to 0x483f220 (_vgnU_ifunc_wrapper)
--4376-- REDIR: 0x4913830 (libc.so.6:strncmp) redirected to 0x483f220 (_vgnU_ifunc_wrapper)
--4376-- REDIR: 0x4914a70 (libc.so.6:strcasecmp) redirected to 0x483f220 (_vgnU_ifunc_wrapper)
--4376-- REDIR: 0x4913420 (libc.so.6:strcspn) redirected to 0x483f220 (_vgnU_ifunc_wrapper)
--4376-- REDIR: 0x4930470 (libc.so.6:wcscpy) redirected to 0x483f220 (_vgnU_ifunc_wrapper)
--4376-- REDIR: 0x49131d0 (libc.so.6:strcat) redirected to 0x483f220 (_vgnU_ifunc_wrapper)
--4376-- REDIR: 0x4914b60 (libc.so.6:strncasecmp_l) redirected to 0x483f220 (_vgnU_ifunc_wrapper)
--4376-- REDIR: 0x4914480 (libc.so.6:bcmp) redirected to 0x483f220 (_vgnU_ifunc_wrapper)
--4376-- REDIR: 0x491c570 (libc.so.6:memrchr) redirected to 0x483f220 (_vgnU_ifunc_wrapper)
--4376-- REDIR: 0x4916010 (libc.so.6:strchrnul) redirected to 0x483f220 (_vgnU_ifunc_wrapper)
--4376-- REDIR: 0x4913390 (libc.so.6:strcpy) redirected to 0x483f220 (_vgnU_ifunc_wrapper)
--4376-- REDIR: 0x4914b10 (libc.so.6:strcasecmp_l) redirected to 0x483f220 (_vgnU_ifunc_wrapper)
--4376-- REDIR: 0x49136a0 (libc.so.6:strlen) redirected to 0x483f220 (_vgnU_ifunc_wrapper)
--4376-- REDIR: 0x49138d0 (libc.so.6:strncpy) redirected to 0x483f220 (_vgnU_ifunc_wrapper)
--4376-- REDIR: 0x4914950 (libc.so.6:stpcpy) redirected to 0x483f220 (_vgnU_ifunc_wrapper)
--4376-- REDIR: 0x49143f0 (libc.so.6:memchr) redirected to 0x483f220 (_vgnU_ifunc_wrapper)
--4376-- REDIR: 0x4913b00 (libc.so.6:strspn) redirected to 0x483f220 (_vgnU_ifunc_wrapper)
--4376-- REDIR: 0x49147d0 (libc.so.6:mempcpy) redirected to 0x483f220 (_vgnU_ifunc_wrapper)
--4376-- REDIR: 0x4914ac0 (libc.so.6:strncasecmp) redirected to 0x483f220 (_vgnU_ifunc_wrapper)
--4376-- REDIR: 0x4915f80 (libc.so.6:rawmemchr) redirected to 0x483f220 (_vgnU_ifunc_wrapper)
--4376-- REDIR: 0x4925650 (libc.so.6:__strrchr_sse2) redirected to 0x484e870 (__strrchr_sse2)
--4376-- REDIR: 0x492ff60 (libc.so.6:__memset_sse2_unaligned) redirected to 0x4852770 (memset)
--4376-- REDIR: 0x49100a0 (libc.so.6:malloc) redirected to 0x4848820 (malloc)
--4376-- REDIR: 0x49103e0 (libc.so.6:free) redirected to 0x484b210 (free)
--4376-- REDIR: 0x4913fc0 (libc.so.6:__GI_strstr) redirected to 0x4853ae0 (__strstr_sse2)
--4376-- REDIR: 0x4925440 (libc.so.6:__strchrnul_sse2) redirected to 0x4853330 (strchrnul)
--4376-- REDIR: 0x492a890 (libc.so.6:__strcpy_sse2_unaligned) redirected to 0x484ee60 (strcpy)
--4376-- REDIR: 0x4911520 (libc.so.6:calloc) redirected to 0x484d9d0 (calloc)
--4376-- REDIR: 0x4925950 (libc.so.6:__strlen_sse2) redirected to 0x484ed70 (__strlen_sse2)
--4376-- REDIR: 0x492f870 (libc.so.6:memcpy@GLIBC_2.2.5) redirected to 0x484fe00 (memcpy@GLIBC_2.2.5)
--4376-- REDIR: 0x4a0db30 (libc.so.6:__memcmp_sse4_1) redirected to 0x4851f80 (__memcmp_sse4_1)
--4376-- REDIR: 0x491dd70 (libc.so.6:__strcmp_sse2_unaligned) redirected to 0x484fbd0 (strcmp)
--4376-- REDIR: 0x492f850 (libc.so.6:__mempcpy_sse2_unaligned) redirected to 0x4853440 (mempcpy)
--4376-- REDIR: 0x4910740 (libc.so.6:realloc) redirected to 0x484dc50 (realloc)
--4376-- REDIR: 0x4925210 (libc.so.6:__strchr_sse2) redirected to 0x484e990 (__strchr_sse2)
--4376-- REDIR: 0x491f880 (libc.so.6:__memchr_sse2) redirected to 0x484fd50 (memchr)
--4376-- REDIR: 0x492bed0 (libc.so.6:__stpcpy_sse2_unaligned) redirected to 0x4852370 (__stpcpy_sse2_unaligned)
==4376==
==4376== HEAP SUMMARY:
==4376== in use at exit: 0 bytes in 0 blocks
==4376== total heap usage: 60 allocs, 60 frees, 195,884 bytes allocated
==4376==
==4376== All heap blocks were freed -- no leaks are possible
==4376==
==4376== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)

0 comments on commit e57b4a5

Please sign in to comment.