Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Press Enter To Continue with ModelBigIntegerTest Results
- ==5418== Memcheck, a memory error detector
- ==5418== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
- ==5418== Using Valgrind-3.14.0-353a3587bb-20181007X and LibVEX; rerun with -h for copyright info
- ==5418== Command: ./ModelBigIntegerTest -v
- ==5418==
- --5418-- Valgrind options:
- --5418-- --leak-check=full
- --5418-- -v
- --5418-- Contents of /proc/version:
- --5418-- Linux version 3.10.0-1062.1.1.el7.x86_64 (mockbuild@kbuilder.bsys.centos.org) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-39) (GCC) ) #1 SMP Fri Sep 13 22:55:44 UTC 2019
- --5418--
- --5418-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-rdtscp-sse3-avx
- --5418-- Page sizes: currently 4096, max supported 4096
- --5418-- Valgrind library directory: /opt/rh/devtoolset-8/root/usr/lib64/valgrind
- --5418-- Reading syms from /afs/cats.ucsc.edu/users/t/jolano/cse101/pa3/ModelBigIntegerTest
- --5418-- Reading syms from /usr/lib64/ld-2.17.so
- --5418-- Considering /usr/lib/debug/.build-id/5c/c1a53b747a7e4d21198723c2b633e54f3c06d9.debug ..
- --5418-- .. build-id is valid
- --5418-- Reading syms from /opt/rh/devtoolset-8/root/usr/lib64/valgrind/memcheck-amd64-linux
- --5418-- object doesn't have a symbol table
- --5418-- object doesn't have a dynamic symbol table
- --5418-- Scheduler: using generic scheduler lock implementation.
- --5418-- Reading suppressions file: /opt/rh/devtoolset-8/root/usr/lib64/valgrind/default.supp
- ==5418== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-5418-by-jolano-on-unix2.lt.ucsc.edu
- ==5418== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-5418-by-jolano-on-unix2.lt.ucsc.edu
- ==5418== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-5418-by-jolano-on-unix2.lt.ucsc.edu
- ==5418==
- ==5418== TO CONTROL THIS PROCESS USING vgdb (which you probably
- ==5418== don't want to do, unless you know exactly what you're doing,
- ==5418== or are doing some strange experiment):
- ==5418== /opt/rh/devtoolset-8/root/usr/lib64/valgrind/../../bin/vgdb --pid=5418 ...command...
- ==5418==
- ==5418== TO DEBUG THIS PROCESS USING GDB: start GDB like this
- ==5418== /path/to/gdb ./ModelBigIntegerTest
- ==5418== and then give GDB the following command
- ==5418== target remote | /opt/rh/devtoolset-8/root/usr/lib64/valgrind/../../bin/vgdb --pid=5418
- ==5418== --pid is optional if only one valgrind process is running
- ==5418==
- --5418-- REDIR: 0x4019df0 (ld-linux-x86-64.so.2:strlen) redirected to 0x580c66c5 (???)
- --5418-- REDIR: 0x4019bc0 (ld-linux-x86-64.so.2:index) redirected to 0x580c66df (???)
- --5418-- Reading syms from /opt/rh/devtoolset-8/root/usr/lib64/valgrind/vgpreload_core-amd64-linux.so
- --5418-- Reading syms from /opt/rh/devtoolset-8/root/usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so
- ==5418== WARNING: new redirection conflicts with existing -- ignoring it
- --5418-- old: 0x04019df0 (strlen ) R-> (0000.0) 0x580c66c5 ???
- --5418-- new: 0x04019df0 (strlen ) R-> (2007.0) 0x04c2d0a0 strlen
- --5418-- REDIR: 0x4019d70 (ld-linux-x86-64.so.2:strcmp) redirected to 0x4c2e1f0 (strcmp)
- --5418-- REDIR: 0x401aa30 (ld-linux-x86-64.so.2:mempcpy) redirected to 0x4c31da0 (mempcpy)
- --5418-- Reading syms from /usr/lib64/libc-2.17.so
- --5418-- Considering /usr/lib/debug/.build-id/39/8944d32cf16a67af51067a326e6c0cc14f90ed.debug ..
- --5418-- .. build-id is valid
- --5418-- REDIR: 0x4ec70e0 (libc.so.6:strcasecmp) redirected to 0x4a24740 (_vgnU_ifunc_wrapper)
- --5418-- REDIR: 0x4ec3e60 (libc.so.6:strnlen) redirected to 0x4a24740 (_vgnU_ifunc_wrapper)
- --5418-- REDIR: 0x4ec93b0 (libc.so.6:strncasecmp) redirected to 0x4a24740 (_vgnU_ifunc_wrapper)
- --5418-- REDIR: 0x4ec68c0 (libc.so.6:memset) redirected to 0x4a24740 (_vgnU_ifunc_wrapper)
- --5418-- REDIR: 0x4ec6870 (libc.so.6:memcpy@GLIBC_2.2.5) redirected to 0x4a24740 (_vgnU_ifunc_wrapper)
- --5418-- REDIR: 0x4ec5850 (libc.so.6:__GI_strrchr) redirected to 0x4c2ca60 (__GI_strrchr)
- --5418-- REDIR: 0x4ec22e0 (libc.so.6:strcmp) redirected to 0x4a24740 (_vgnU_ifunc_wrapper)
- --5418-- REDIR: 0x4f75d40 (libc.so.6:__strcmp_sse42) redirected to 0x4c2e1a0 (__strcmp_sse42)
- --5418-- REDIR: 0x4ecd370 (libc.so.6:strchrnul) redirected to 0x4c318c0 (strchrnul)
- --5418-- REDIR: 0x4ec6a90 (libc.so.6:__GI_mempcpy) redirected to 0x4c31ad0 (__GI_mempcpy)
- testing 0
- --5418-- REDIR: 0x4ebceb0 (libc.so.6:free) redirected to 0x4c2aed6 (free)
- --5418-- REDIR: 0x4ebca90 (libc.so.6:malloc) redirected to 0x4c29ddc (malloc)
- --5418-- REDIR: 0x4ec3d30 (libc.so.6:strlen) redirected to 0x4a24740 (_vgnU_ifunc_wrapper)
- --5418-- REDIR: 0x4fa6630 (libc.so.6:__strlen_sse2_pminub) redirected to 0x4c2cfe0 (strlen)
- ==5418== Invalid read of size 8
- ==5418== at 0x401DA4: makeZero (BigInteger.c:114)
- ==5418== by 0x401B1B: freeBigInteger (BigInteger.c:33)
- ==5418== by 0x4018F8: main (ModelBigIntegerTest.c:357)
- ==5418== Address 0x52050f0 is 0 bytes inside a block of size 16 free'd
- ==5418== at 0x4C2AF5D: free (vg_replace_malloc.c:540)
- ==5418== by 0x401B36: freeBigInteger (BigInteger.c:35)
- ==5418== by 0x400BEB: runTest (ModelBigIntegerTest.c:62)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418== Block was alloc'd at
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x401AC1: newBigInteger (BigInteger.c:22)
- ==5418== by 0x401E62: stringToBigInteger (BigInteger.c:143)
- ==5418== by 0x400B8F: runTest (ModelBigIntegerTest.c:58)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418== Invalid read of size 8
- ==5418== at 0x401DB0: makeZero (BigInteger.c:115)
- ==5418== by 0x401B1B: freeBigInteger (BigInteger.c:33)
- ==5418== by 0x4018F8: main (ModelBigIntegerTest.c:357)
- ==5418== Address 0x52050f0 is 0 bytes inside a block of size 16 free'd
- ==5418== at 0x4C2AF5D: free (vg_replace_malloc.c:540)
- ==5418== by 0x401B36: freeBigInteger (BigInteger.c:35)
- ==5418== by 0x400BEB: runTest (ModelBigIntegerTest.c:62)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418== Block was alloc'd at
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x401AC1: newBigInteger (BigInteger.c:22)
- ==5418== by 0x401E62: stringToBigInteger (BigInteger.c:143)
- ==5418== by 0x400B8F: runTest (ModelBigIntegerTest.c:58)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418== Invalid read of size 4
- ==5418== at 0x402ED4: isEmpty (List.c:140)
- ==5418== by 0x402F06: clear (List.c:169)
- ==5418== by 0x401DBA: makeZero (BigInteger.c:115)
- ==5418== by 0x401B1B: freeBigInteger (BigInteger.c:33)
- ==5418== by 0x4018F8: main (ModelBigIntegerTest.c:357)
- ==5418== Address 0x5205158 is 24 bytes inside a block of size 32 free'd
- ==5418== at 0x4C2AF5D: free (vg_replace_malloc.c:540)
- ==5418== by 0x401B2A: freeBigInteger (BigInteger.c:34)
- ==5418== by 0x400BEB: runTest (ModelBigIntegerTest.c:62)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418== Block was alloc'd at
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x402BD1: newList (List.c:41)
- ==5418== by 0x401ACA: newBigInteger (BigInteger.c:23)
- ==5418== by 0x401E62: stringToBigInteger (BigInteger.c:143)
- ==5418== by 0x400B8F: runTest (ModelBigIntegerTest.c:58)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418== Invalid write of size 8
- ==5418== at 0x402F0F: clear (List.c:172)
- ==5418== by 0x401DBA: makeZero (BigInteger.c:115)
- ==5418== by 0x401B1B: freeBigInteger (BigInteger.c:33)
- ==5418== by 0x4018F8: main (ModelBigIntegerTest.c:357)
- ==5418== Address 0x5205150 is 16 bytes inside a block of size 32 free'd
- ==5418== at 0x4C2AF5D: free (vg_replace_malloc.c:540)
- ==5418== by 0x401B2A: freeBigInteger (BigInteger.c:34)
- ==5418== by 0x400BEB: runTest (ModelBigIntegerTest.c:62)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418== Block was alloc'd at
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x402BD1: newList (List.c:41)
- ==5418== by 0x401ACA: newBigInteger (BigInteger.c:23)
- ==5418== by 0x401E62: stringToBigInteger (BigInteger.c:143)
- ==5418== by 0x400B8F: runTest (ModelBigIntegerTest.c:58)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418== Invalid write of size 4
- ==5418== at 0x402F1B: clear (List.c:173)
- ==5418== by 0x401DBA: makeZero (BigInteger.c:115)
- ==5418== by 0x401B1B: freeBigInteger (BigInteger.c:33)
- ==5418== by 0x4018F8: main (ModelBigIntegerTest.c:357)
- ==5418== Address 0x520515c is 28 bytes inside a block of size 32 free'd
- ==5418== at 0x4C2AF5D: free (vg_replace_malloc.c:540)
- ==5418== by 0x401B2A: freeBigInteger (BigInteger.c:34)
- ==5418== by 0x400BEB: runTest (ModelBigIntegerTest.c:62)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418== Block was alloc'd at
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x402BD1: newList (List.c:41)
- ==5418== by 0x401ACA: newBigInteger (BigInteger.c:23)
- ==5418== by 0x401E62: stringToBigInteger (BigInteger.c:143)
- ==5418== by 0x400B8F: runTest (ModelBigIntegerTest.c:58)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418== Invalid write of size 4
- ==5418== at 0x401DBF: makeZero (BigInteger.c:117)
- ==5418== by 0x401B1B: freeBigInteger (BigInteger.c:33)
- ==5418== by 0x4018F8: main (ModelBigIntegerTest.c:357)
- ==5418== Address 0x52050f8 is 8 bytes inside a block of size 16 free'd
- ==5418== at 0x4C2AF5D: free (vg_replace_malloc.c:540)
- ==5418== by 0x401B36: freeBigInteger (BigInteger.c:35)
- ==5418== by 0x400BEB: runTest (ModelBigIntegerTest.c:62)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418== Block was alloc'd at
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x401AC1: newBigInteger (BigInteger.c:22)
- ==5418== by 0x401E62: stringToBigInteger (BigInteger.c:143)
- ==5418== by 0x400B8F: runTest (ModelBigIntegerTest.c:58)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418== Invalid read of size 8
- ==5418== at 0x401B20: freeBigInteger (BigInteger.c:34)
- ==5418== by 0x4018F8: main (ModelBigIntegerTest.c:357)
- ==5418== Address 0x52050f0 is 0 bytes inside a block of size 16 free'd
- ==5418== at 0x4C2AF5D: free (vg_replace_malloc.c:540)
- ==5418== by 0x401B36: freeBigInteger (BigInteger.c:35)
- ==5418== by 0x400BEB: runTest (ModelBigIntegerTest.c:62)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418== Block was alloc'd at
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x401AC1: newBigInteger (BigInteger.c:22)
- ==5418== by 0x401E62: stringToBigInteger (BigInteger.c:143)
- ==5418== by 0x400B8F: runTest (ModelBigIntegerTest.c:58)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418== Invalid free() / delete / delete[] / realloc()
- ==5418== at 0x4C2AF5D: free (vg_replace_malloc.c:540)
- ==5418== by 0x401B2A: freeBigInteger (BigInteger.c:34)
- ==5418== by 0x4018F8: main (ModelBigIntegerTest.c:357)
- ==5418== Address 0x5205140 is 0 bytes inside a block of size 32 free'd
- ==5418== at 0x4C2AF5D: free (vg_replace_malloc.c:540)
- ==5418== by 0x401B2A: freeBigInteger (BigInteger.c:34)
- ==5418== by 0x400BEB: runTest (ModelBigIntegerTest.c:62)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418== Block was alloc'd at
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x402BD1: newList (List.c:41)
- ==5418== by 0x401ACA: newBigInteger (BigInteger.c:23)
- ==5418== by 0x401E62: stringToBigInteger (BigInteger.c:143)
- ==5418== by 0x400B8F: runTest (ModelBigIntegerTest.c:58)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418== Invalid free() / delete / delete[] / realloc()
- ==5418== at 0x4C2AF5D: free (vg_replace_malloc.c:540)
- ==5418== by 0x401B36: freeBigInteger (BigInteger.c:35)
- ==5418== by 0x4018F8: main (ModelBigIntegerTest.c:357)
- ==5418== Address 0x52050f0 is 0 bytes inside a block of size 16 free'd
- ==5418== at 0x4C2AF5D: free (vg_replace_malloc.c:540)
- ==5418== by 0x401B36: freeBigInteger (BigInteger.c:35)
- ==5418== by 0x400BEB: runTest (ModelBigIntegerTest.c:62)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418== Block was alloc'd at
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x401AC1: newBigInteger (BigInteger.c:22)
- ==5418== by 0x401E62: stringToBigInteger (BigInteger.c:143)
- ==5418== by 0x400B8F: runTest (ModelBigIntegerTest.c:58)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418== Invalid read of size 8
- ==5418== at 0x401DA4: makeZero (BigInteger.c:114)
- ==5418== by 0x401B1B: freeBigInteger (BigInteger.c:33)
- ==5418== by 0x401904: main (ModelBigIntegerTest.c:358)
- ==5418== Address 0x5205260 is 0 bytes inside a block of size 16 free'd
- ==5418== at 0x4C2AF5D: free (vg_replace_malloc.c:540)
- ==5418== by 0x401B36: freeBigInteger (BigInteger.c:35)
- ==5418== by 0x400BF7: runTest (ModelBigIntegerTest.c:63)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418== Block was alloc'd at
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x401AC1: newBigInteger (BigInteger.c:22)
- ==5418== by 0x401E62: stringToBigInteger (BigInteger.c:143)
- ==5418== by 0x400BA3: runTest (ModelBigIntegerTest.c:59)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418== Invalid read of size 8
- ==5418== at 0x401DB0: makeZero (BigInteger.c:115)
- ==5418== by 0x401B1B: freeBigInteger (BigInteger.c:33)
- ==5418== by 0x401904: main (ModelBigIntegerTest.c:358)
- ==5418== Address 0x5205260 is 0 bytes inside a block of size 16 free'd
- ==5418== at 0x4C2AF5D: free (vg_replace_malloc.c:540)
- ==5418== by 0x401B36: freeBigInteger (BigInteger.c:35)
- ==5418== by 0x400BF7: runTest (ModelBigIntegerTest.c:63)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418== Block was alloc'd at
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x401AC1: newBigInteger (BigInteger.c:22)
- ==5418== by 0x401E62: stringToBigInteger (BigInteger.c:143)
- ==5418== by 0x400BA3: runTest (ModelBigIntegerTest.c:59)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418== Invalid write of size 8
- ==5418== at 0x402F0F: clear (List.c:172)
- ==5418== by 0x401DBA: makeZero (BigInteger.c:115)
- ==5418== by 0x401B1B: freeBigInteger (BigInteger.c:33)
- ==5418== by 0x401904: main (ModelBigIntegerTest.c:358)
- ==5418== Address 0x52052c0 is 16 bytes inside a block of size 32 free'd
- ==5418== at 0x4C2AF5D: free (vg_replace_malloc.c:540)
- ==5418== by 0x401B2A: freeBigInteger (BigInteger.c:34)
- ==5418== by 0x400BF7: runTest (ModelBigIntegerTest.c:63)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418== Block was alloc'd at
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x402BD1: newList (List.c:41)
- ==5418== by 0x401ACA: newBigInteger (BigInteger.c:23)
- ==5418== by 0x401E62: stringToBigInteger (BigInteger.c:143)
- ==5418== by 0x400BA3: runTest (ModelBigIntegerTest.c:59)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418== Invalid write of size 4
- ==5418== at 0x402F1B: clear (List.c:173)
- ==5418== by 0x401DBA: makeZero (BigInteger.c:115)
- ==5418== by 0x401B1B: freeBigInteger (BigInteger.c:33)
- ==5418== by 0x401904: main (ModelBigIntegerTest.c:358)
- ==5418== Address 0x52052cc is 28 bytes inside a block of size 32 free'd
- ==5418== at 0x4C2AF5D: free (vg_replace_malloc.c:540)
- ==5418== by 0x401B2A: freeBigInteger (BigInteger.c:34)
- ==5418== by 0x400BF7: runTest (ModelBigIntegerTest.c:63)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418== Block was alloc'd at
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x402BD1: newList (List.c:41)
- ==5418== by 0x401ACA: newBigInteger (BigInteger.c:23)
- ==5418== by 0x401E62: stringToBigInteger (BigInteger.c:143)
- ==5418== by 0x400BA3: runTest (ModelBigIntegerTest.c:59)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418== Invalid write of size 4
- ==5418== at 0x401DBF: makeZero (BigInteger.c:117)
- ==5418== by 0x401B1B: freeBigInteger (BigInteger.c:33)
- ==5418== by 0x401904: main (ModelBigIntegerTest.c:358)
- ==5418== Address 0x5205268 is 8 bytes inside a block of size 16 free'd
- ==5418== at 0x4C2AF5D: free (vg_replace_malloc.c:540)
- ==5418== by 0x401B36: freeBigInteger (BigInteger.c:35)
- ==5418== by 0x400BF7: runTest (ModelBigIntegerTest.c:63)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418== Block was alloc'd at
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x401AC1: newBigInteger (BigInteger.c:22)
- ==5418== by 0x401E62: stringToBigInteger (BigInteger.c:143)
- ==5418== by 0x400BA3: runTest (ModelBigIntegerTest.c:59)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418== Invalid read of size 8
- ==5418== at 0x401B20: freeBigInteger (BigInteger.c:34)
- ==5418== by 0x401904: main (ModelBigIntegerTest.c:358)
- ==5418== Address 0x5205260 is 0 bytes inside a block of size 16 free'd
- ==5418== at 0x4C2AF5D: free (vg_replace_malloc.c:540)
- ==5418== by 0x401B36: freeBigInteger (BigInteger.c:35)
- ==5418== by 0x400BF7: runTest (ModelBigIntegerTest.c:63)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418== Block was alloc'd at
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x401AC1: newBigInteger (BigInteger.c:22)
- ==5418== by 0x401E62: stringToBigInteger (BigInteger.c:143)
- ==5418== by 0x400BA3: runTest (ModelBigIntegerTest.c:59)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418== Invalid free() / delete / delete[] / realloc()
- ==5418== at 0x4C2AF5D: free (vg_replace_malloc.c:540)
- ==5418== by 0x401B2A: freeBigInteger (BigInteger.c:34)
- ==5418== by 0x401904: main (ModelBigIntegerTest.c:358)
- ==5418== Address 0x52052b0 is 0 bytes inside a block of size 32 free'd
- ==5418== at 0x4C2AF5D: free (vg_replace_malloc.c:540)
- ==5418== by 0x401B2A: freeBigInteger (BigInteger.c:34)
- ==5418== by 0x400BF7: runTest (ModelBigIntegerTest.c:63)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418== Block was alloc'd at
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x402BD1: newList (List.c:41)
- ==5418== by 0x401ACA: newBigInteger (BigInteger.c:23)
- ==5418== by 0x401E62: stringToBigInteger (BigInteger.c:143)
- ==5418== by 0x400BA3: runTest (ModelBigIntegerTest.c:59)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418== Invalid free() / delete / delete[] / realloc()
- ==5418== at 0x4C2AF5D: free (vg_replace_malloc.c:540)
- ==5418== by 0x401B36: freeBigInteger (BigInteger.c:35)
- ==5418== by 0x401904: main (ModelBigIntegerTest.c:358)
- ==5418== Address 0x5205260 is 0 bytes inside a block of size 16 free'd
- ==5418== at 0x4C2AF5D: free (vg_replace_malloc.c:540)
- ==5418== by 0x401B36: freeBigInteger (BigInteger.c:35)
- ==5418== by 0x400BF7: runTest (ModelBigIntegerTest.c:63)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418== Block was alloc'd at
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x401AC1: newBigInteger (BigInteger.c:22)
- ==5418== by 0x401E62: stringToBigInteger (BigInteger.c:143)
- ==5418== by 0x400BA3: runTest (ModelBigIntegerTest.c:59)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- Test Sign_test: PASSED
- testing 1
- Test Negate_test: PASSED
- testing 2
- Test Makezero_test: PASSED
- testing 3
- Test Copy_test: PASSED
- testing 4
- Test Add_test: PASSED
- testing 5
- Test Sum_test: PASSED
- testing 6
- Test Subtract_test: PASSED
- testing 7
- Test Diff_test: PASSED
- testing 8
- Test Multiply_test: PASSED
- testing 9
- Test Prod_test: PASSED
- You passed 10 out of 10 tests
- You will receive 52 out of 52 possible points on the MatrixTests
- ==5418==
- ==5418== HEAP SUMMARY:
- ==5418== in use at exit: 3,360 bytes in 116 blocks
- ==5418== total heap usage: 610 allocs, 498 frees, 15,216 bytes allocated
- ==5418==
- ==5418== Searching for pointers to 116 not-freed blocks
- ==5418== Checked 70,864 bytes
- ==5418==
- ==5418== 32 bytes in 1 blocks are definitely lost in loss record 12 of 105
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x402BD1: newList (List.c:41)
- ==5418== by 0x401ACA: newBigInteger (BigInteger.c:23)
- ==5418== by 0x401FBB: copy (BigInteger.c:184)
- ==5418== by 0x400CE6: runTest (ModelBigIntegerTest.c:85)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418== 32 bytes in 1 blocks are definitely lost in loss record 13 of 105
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x402BD1: newList (List.c:41)
- ==5418== by 0x401ACA: newBigInteger (BigInteger.c:23)
- ==5418== by 0x401FBB: copy (BigInteger.c:184)
- ==5418== by 0x400D4A: runTest (ModelBigIntegerTest.c:91)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418== 32 bytes in 1 blocks are definitely lost in loss record 14 of 105
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x402BD1: newList (List.c:41)
- ==5418== by 0x401ACA: newBigInteger (BigInteger.c:23)
- ==5418== by 0x400DAE: runTest (ModelBigIntegerTest.c:115)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418== 32 bytes in 1 blocks are definitely lost in loss record 15 of 105
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x402BD1: newList (List.c:41)
- ==5418== by 0x401ACA: newBigInteger (BigInteger.c:23)
- ==5418== by 0x401FBB: copy (BigInteger.c:184)
- ==5418== by 0x402285: sum (BigInteger.c:261)
- ==5418== by 0x402083: add (BigInteger.c:208)
- ==5418== by 0x400DEC: runTest (ModelBigIntegerTest.c:119)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418== 32 bytes in 1 blocks are definitely lost in loss record 16 of 105
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x402BD1: newList (List.c:41)
- ==5418== by 0x403686: copyList (List.c:401)
- ==5418== by 0x4020B0: add (BigInteger.c:211)
- ==5418== by 0x400DEC: runTest (ModelBigIntegerTest.c:119)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418== 32 bytes in 1 blocks are definitely lost in loss record 17 of 105
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x402BD1: newList (List.c:41)
- ==5418== by 0x401ACA: newBigInteger (BigInteger.c:23)
- ==5418== by 0x401FBB: copy (BigInteger.c:184)
- ==5418== by 0x401C62: compare (BigInteger.c:76)
- ==5418== by 0x401D89: equals (BigInteger.c:106)
- ==5418== by 0x400E05: runTest (ModelBigIntegerTest.c:121)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418== 32 bytes in 1 blocks are definitely lost in loss record 18 of 105
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x402BD1: newList (List.c:41)
- ==5418== by 0x401ACA: newBigInteger (BigInteger.c:23)
- ==5418== by 0x401FBB: copy (BigInteger.c:184)
- ==5418== by 0x401C62: compare (BigInteger.c:76)
- ==5418== by 0x401D89: equals (BigInteger.c:106)
- ==5418== by 0x402517: diff (BigInteger.c:329)
- ==5418== by 0x402202: sum (BigInteger.c:247)
- ==5418== by 0x402083: add (BigInteger.c:208)
- ==5418== by 0x400E5F: runTest (ModelBigIntegerTest.c:128)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418== 32 bytes in 1 blocks are definitely lost in loss record 19 of 105
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x402BD1: newList (List.c:41)
- ==5418== by 0x401ACA: newBigInteger (BigInteger.c:23)
- ==5418== by 0x401FBB: copy (BigInteger.c:184)
- ==5418== by 0x40253D: diff (BigInteger.c:330)
- ==5418== by 0x402202: sum (BigInteger.c:247)
- ==5418== by 0x402083: add (BigInteger.c:208)
- ==5418== by 0x400E5F: runTest (ModelBigIntegerTest.c:128)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418== 32 bytes in 1 blocks are definitely lost in loss record 20 of 105
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x402BD1: newList (List.c:41)
- ==5418== by 0x403686: copyList (List.c:401)
- ==5418== by 0x4020B0: add (BigInteger.c:211)
- ==5418== by 0x400E5F: runTest (ModelBigIntegerTest.c:128)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418== 32 bytes in 1 blocks are definitely lost in loss record 21 of 105
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x402BD1: newList (List.c:41)
- ==5418== by 0x401ACA: newBigInteger (BigInteger.c:23)
- ==5418== by 0x401FBB: copy (BigInteger.c:184)
- ==5418== by 0x401C62: compare (BigInteger.c:76)
- ==5418== by 0x401D89: equals (BigInteger.c:106)
- ==5418== by 0x402517: diff (BigInteger.c:329)
- ==5418== by 0x402202: sum (BigInteger.c:247)
- ==5418== by 0x402083: add (BigInteger.c:208)
- ==5418== by 0x400EBC: runTest (ModelBigIntegerTest.c:134)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418== 32 bytes in 1 blocks are definitely lost in loss record 22 of 105
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x402BD1: newList (List.c:41)
- ==5418== by 0x401ACA: newBigInteger (BigInteger.c:23)
- ==5418== by 0x401FBB: copy (BigInteger.c:184)
- ==5418== by 0x40253D: diff (BigInteger.c:330)
- ==5418== by 0x402202: sum (BigInteger.c:247)
- ==5418== by 0x402083: add (BigInteger.c:208)
- ==5418== by 0x400EBC: runTest (ModelBigIntegerTest.c:134)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418== 32 bytes in 1 blocks are definitely lost in loss record 23 of 105
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x402BD1: newList (List.c:41)
- ==5418== by 0x403686: copyList (List.c:401)
- ==5418== by 0x4020B0: add (BigInteger.c:211)
- ==5418== by 0x400EBC: runTest (ModelBigIntegerTest.c:134)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418== 32 bytes in 1 blocks are definitely lost in loss record 24 of 105
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x402BD1: newList (List.c:41)
- ==5418== by 0x401ACA: newBigInteger (BigInteger.c:23)
- ==5418== by 0x401FBB: copy (BigInteger.c:184)
- ==5418== by 0x401C62: compare (BigInteger.c:76)
- ==5418== by 0x401D89: equals (BigInteger.c:106)
- ==5418== by 0x402517: diff (BigInteger.c:329)
- ==5418== by 0x402202: sum (BigInteger.c:247)
- ==5418== by 0x402083: add (BigInteger.c:208)
- ==5418== by 0x400F1A: runTest (ModelBigIntegerTest.c:140)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418== 32 bytes in 1 blocks are definitely lost in loss record 25 of 105
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x402BD1: newList (List.c:41)
- ==5418== by 0x401ACA: newBigInteger (BigInteger.c:23)
- ==5418== by 0x401FBB: copy (BigInteger.c:184)
- ==5418== by 0x40253D: diff (BigInteger.c:330)
- ==5418== by 0x402202: sum (BigInteger.c:247)
- ==5418== by 0x402083: add (BigInteger.c:208)
- ==5418== by 0x400F1A: runTest (ModelBigIntegerTest.c:140)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418== 32 bytes in 1 blocks are definitely lost in loss record 26 of 105
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x402BD1: newList (List.c:41)
- ==5418== by 0x403686: copyList (List.c:401)
- ==5418== by 0x4020B0: add (BigInteger.c:211)
- ==5418== by 0x400F1A: runTest (ModelBigIntegerTest.c:140)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418== 32 bytes in 1 blocks are definitely lost in loss record 27 of 105
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x402BD1: newList (List.c:41)
- ==5418== by 0x401ACA: newBigInteger (BigInteger.c:23)
- ==5418== by 0x401FBB: copy (BigInteger.c:184)
- ==5418== by 0x402285: sum (BigInteger.c:261)
- ==5418== by 0x402083: add (BigInteger.c:208)
- ==5418== by 0x400F8C: runTest (ModelBigIntegerTest.c:147)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418== 32 bytes in 1 blocks are definitely lost in loss record 28 of 105
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x402BD1: newList (List.c:41)
- ==5418== by 0x401ACA: newBigInteger (BigInteger.c:23)
- ==5418== by 0x401FBB: copy (BigInteger.c:184)
- ==5418== by 0x401C62: compare (BigInteger.c:76)
- ==5418== by 0x401D89: equals (BigInteger.c:106)
- ==5418== by 0x400FA5: runTest (ModelBigIntegerTest.c:148)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418== 32 bytes in 1 blocks are definitely lost in loss record 29 of 105
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x402BD1: newList (List.c:41)
- ==5418== by 0x401ACA: newBigInteger (BigInteger.c:23)
- ==5418== by 0x401FBB: copy (BigInteger.c:184)
- ==5418== by 0x402285: sum (BigInteger.c:261)
- ==5418== by 0x401012: runTest (ModelBigIntegerTest.c:158)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418== 32 bytes in 1 blocks are definitely lost in loss record 30 of 105
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x402BD1: newList (List.c:41)
- ==5418== by 0x401ACA: newBigInteger (BigInteger.c:23)
- ==5418== by 0x401FBB: copy (BigInteger.c:184)
- ==5418== by 0x401C62: compare (BigInteger.c:76)
- ==5418== by 0x401D89: equals (BigInteger.c:106)
- ==5418== by 0x401035: runTest (ModelBigIntegerTest.c:160)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418== 32 bytes in 1 blocks are definitely lost in loss record 31 of 105
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x402BD1: newList (List.c:41)
- ==5418== by 0x401ACA: newBigInteger (BigInteger.c:23)
- ==5418== by 0x401FBB: copy (BigInteger.c:184)
- ==5418== by 0x401C62: compare (BigInteger.c:76)
- ==5418== by 0x401D89: equals (BigInteger.c:106)
- ==5418== by 0x402517: diff (BigInteger.c:329)
- ==5418== by 0x402252: sum (BigInteger.c:254)
- ==5418== by 0x4010A3: runTest (ModelBigIntegerTest.c:168)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418== 32 bytes in 1 blocks are definitely lost in loss record 32 of 105
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x402BD1: newList (List.c:41)
- ==5418== by 0x401ACA: newBigInteger (BigInteger.c:23)
- ==5418== by 0x401FBB: copy (BigInteger.c:184)
- ==5418== by 0x40253D: diff (BigInteger.c:330)
- ==5418== by 0x402252: sum (BigInteger.c:254)
- ==5418== by 0x4010A3: runTest (ModelBigIntegerTest.c:168)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418== 32 bytes in 1 blocks are definitely lost in loss record 33 of 105
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x402BD1: newList (List.c:41)
- ==5418== by 0x401ACA: newBigInteger (BigInteger.c:23)
- ==5418== by 0x401FBB: copy (BigInteger.c:184)
- ==5418== by 0x401C62: compare (BigInteger.c:76)
- ==5418== by 0x401D89: equals (BigInteger.c:106)
- ==5418== by 0x402517: diff (BigInteger.c:329)
- ==5418== by 0x402252: sum (BigInteger.c:254)
- ==5418== by 0x40110F: runTest (ModelBigIntegerTest.c:175)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418== 32 bytes in 1 blocks are definitely lost in loss record 34 of 105
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x402BD1: newList (List.c:41)
- ==5418== by 0x401ACA: newBigInteger (BigInteger.c:23)
- ==5418== by 0x401FBB: copy (BigInteger.c:184)
- ==5418== by 0x40253D: diff (BigInteger.c:330)
- ==5418== by 0x402252: sum (BigInteger.c:254)
- ==5418== by 0x40110F: runTest (ModelBigIntegerTest.c:175)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418== 32 bytes in 1 blocks are definitely lost in loss record 35 of 105
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x402BD1: newList (List.c:41)
- ==5418== by 0x401ACA: newBigInteger (BigInteger.c:23)
- ==5418== by 0x401FBB: copy (BigInteger.c:184)
- ==5418== by 0x401C62: compare (BigInteger.c:76)
- ==5418== by 0x401D89: equals (BigInteger.c:106)
- ==5418== by 0x402517: diff (BigInteger.c:329)
- ==5418== by 0x402252: sum (BigInteger.c:254)
- ==5418== by 0x40117C: runTest (ModelBigIntegerTest.c:183)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418== 32 bytes in 1 blocks are definitely lost in loss record 36 of 105
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x402BD1: newList (List.c:41)
- ==5418== by 0x401ACA: newBigInteger (BigInteger.c:23)
- ==5418== by 0x401FBB: copy (BigInteger.c:184)
- ==5418== by 0x40253D: diff (BigInteger.c:330)
- ==5418== by 0x402252: sum (BigInteger.c:254)
- ==5418== by 0x40117C: runTest (ModelBigIntegerTest.c:183)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418== 32 bytes in 1 blocks are definitely lost in loss record 37 of 105
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x402BD1: newList (List.c:41)
- ==5418== by 0x401ACA: newBigInteger (BigInteger.c:23)
- ==5418== by 0x401FBB: copy (BigInteger.c:184)
- ==5418== by 0x402285: sum (BigInteger.c:261)
- ==5418== by 0x4011FD: runTest (ModelBigIntegerTest.c:192)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418== 32 bytes in 1 blocks are definitely lost in loss record 38 of 105
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x402BD1: newList (List.c:41)
- ==5418== by 0x401ACA: newBigInteger (BigInteger.c:23)
- ==5418== by 0x401FBB: copy (BigInteger.c:184)
- ==5418== by 0x401C62: compare (BigInteger.c:76)
- ==5418== by 0x401D89: equals (BigInteger.c:106)
- ==5418== by 0x401220: runTest (ModelBigIntegerTest.c:193)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418== 32 bytes in 1 blocks are definitely lost in loss record 39 of 105
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x402BD1: newList (List.c:41)
- ==5418== by 0x401ACA: newBigInteger (BigInteger.c:23)
- ==5418== by 0x40126A: runTest (ModelBigIntegerTest.c:218)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418== 32 bytes in 1 blocks are definitely lost in loss record 40 of 105
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x402BD1: newList (List.c:41)
- ==5418== by 0x401ACA: newBigInteger (BigInteger.c:23)
- ==5418== by 0x401FBB: copy (BigInteger.c:184)
- ==5418== by 0x401C62: compare (BigInteger.c:76)
- ==5418== by 0x401D89: equals (BigInteger.c:106)
- ==5418== by 0x402517: diff (BigInteger.c:329)
- ==5418== by 0x40240E: subtract (BigInteger.c:305)
- ==5418== by 0x401294: runTest (ModelBigIntegerTest.c:220)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418== 32 bytes in 1 blocks are definitely lost in loss record 41 of 105
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x402BD1: newList (List.c:41)
- ==5418== by 0x401ACA: newBigInteger (BigInteger.c:23)
- ==5418== by 0x401FBB: copy (BigInteger.c:184)
- ==5418== by 0x40253D: diff (BigInteger.c:330)
- ==5418== by 0x40240E: subtract (BigInteger.c:305)
- ==5418== by 0x401294: runTest (ModelBigIntegerTest.c:220)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418== 32 bytes in 1 blocks are definitely lost in loss record 42 of 105
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x402BD1: newList (List.c:41)
- ==5418== by 0x403686: copyList (List.c:401)
- ==5418== by 0x40243B: subtract (BigInteger.c:308)
- ==5418== by 0x401294: runTest (ModelBigIntegerTest.c:220)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418== 32 bytes in 1 blocks are definitely lost in loss record 43 of 105
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x402BD1: newList (List.c:41)
- ==5418== by 0x401ACA: newBigInteger (BigInteger.c:23)
- ==5418== by 0x401FBB: copy (BigInteger.c:184)
- ==5418== by 0x401C62: compare (BigInteger.c:76)
- ==5418== by 0x401D89: equals (BigInteger.c:106)
- ==5418== by 0x402517: diff (BigInteger.c:329)
- ==5418== by 0x40240E: subtract (BigInteger.c:305)
- ==5418== by 0x4012F1: runTest (ModelBigIntegerTest.c:226)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418== 32 bytes in 1 blocks are definitely lost in loss record 44 of 105
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x402BD1: newList (List.c:41)
- ==5418== by 0x401ACA: newBigInteger (BigInteger.c:23)
- ==5418== by 0x401FBB: copy (BigInteger.c:184)
- ==5418== by 0x40253D: diff (BigInteger.c:330)
- ==5418== by 0x40240E: subtract (BigInteger.c:305)
- ==5418== by 0x4012F1: runTest (ModelBigIntegerTest.c:226)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418== 32 bytes in 1 blocks are definitely lost in loss record 45 of 105
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x402BD1: newList (List.c:41)
- ==5418== by 0x403686: copyList (List.c:401)
- ==5418== by 0x40243B: subtract (BigInteger.c:308)
- ==5418== by 0x4012F1: runTest (ModelBigIntegerTest.c:226)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418== 32 bytes in 1 blocks are definitely lost in loss record 46 of 105
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x402BD1: newList (List.c:41)
- ==5418== by 0x401ACA: newBigInteger (BigInteger.c:23)
- ==5418== by 0x401FBB: copy (BigInteger.c:184)
- ==5418== by 0x401C62: compare (BigInteger.c:76)
- ==5418== by 0x401D89: equals (BigInteger.c:106)
- ==5418== by 0x402517: diff (BigInteger.c:329)
- ==5418== by 0x40240E: subtract (BigInteger.c:305)
- ==5418== by 0x40134F: runTest (ModelBigIntegerTest.c:232)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418== 32 bytes in 1 blocks are definitely lost in loss record 47 of 105
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x402BD1: newList (List.c:41)
- ==5418== by 0x401ACA: newBigInteger (BigInteger.c:23)
- ==5418== by 0x401FBB: copy (BigInteger.c:184)
- ==5418== by 0x40253D: diff (BigInteger.c:330)
- ==5418== by 0x40240E: subtract (BigInteger.c:305)
- ==5418== by 0x40134F: runTest (ModelBigIntegerTest.c:232)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418== 32 bytes in 1 blocks are definitely lost in loss record 48 of 105
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x402BD1: newList (List.c:41)
- ==5418== by 0x403686: copyList (List.c:401)
- ==5418== by 0x40243B: subtract (BigInteger.c:308)
- ==5418== by 0x40134F: runTest (ModelBigIntegerTest.c:232)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418== 32 bytes in 1 blocks are definitely lost in loss record 49 of 105
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x402BD1: newList (List.c:41)
- ==5418== by 0x401ACA: newBigInteger (BigInteger.c:23)
- ==5418== by 0x401FBB: copy (BigInteger.c:184)
- ==5418== by 0x4023D1: copyNegate (BigInteger.c:297)
- ==5418== by 0x4024DF: diff (BigInteger.c:325)
- ==5418== by 0x40240E: subtract (BigInteger.c:305)
- ==5418== by 0x40139C: runTest (ModelBigIntegerTest.c:237)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418== 32 bytes in 1 blocks are definitely lost in loss record 50 of 105
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x402BD1: newList (List.c:41)
- ==5418== by 0x401ACA: newBigInteger (BigInteger.c:23)
- ==5418== by 0x401FBB: copy (BigInteger.c:184)
- ==5418== by 0x402285: sum (BigInteger.c:261)
- ==5418== by 0x4024F1: diff (BigInteger.c:325)
- ==5418== by 0x40240E: subtract (BigInteger.c:305)
- ==5418== by 0x40139C: runTest (ModelBigIntegerTest.c:237)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418== 32 bytes in 1 blocks are definitely lost in loss record 51 of 105
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x402BD1: newList (List.c:41)
- ==5418== by 0x403686: copyList (List.c:401)
- ==5418== by 0x40243B: subtract (BigInteger.c:308)
- ==5418== by 0x40139C: runTest (ModelBigIntegerTest.c:237)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418== 32 bytes in 1 blocks are definitely lost in loss record 52 of 105
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x402BD1: newList (List.c:41)
- ==5418== by 0x401ACA: newBigInteger (BigInteger.c:23)
- ==5418== by 0x401FBB: copy (BigInteger.c:184)
- ==5418== by 0x4023D1: copyNegate (BigInteger.c:297)
- ==5418== by 0x4024DF: diff (BigInteger.c:325)
- ==5418== by 0x40240E: subtract (BigInteger.c:305)
- ==5418== by 0x4013DA: runTest (ModelBigIntegerTest.c:241)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418== 32 bytes in 1 blocks are definitely lost in loss record 53 of 105
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x402BD1: newList (List.c:41)
- ==5418== by 0x401ACA: newBigInteger (BigInteger.c:23)
- ==5418== by 0x401FBB: copy (BigInteger.c:184)
- ==5418== by 0x402285: sum (BigInteger.c:261)
- ==5418== by 0x4024F1: diff (BigInteger.c:325)
- ==5418== by 0x40240E: subtract (BigInteger.c:305)
- ==5418== by 0x4013DA: runTest (ModelBigIntegerTest.c:241)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418== 32 bytes in 1 blocks are definitely lost in loss record 54 of 105
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x402BD1: newList (List.c:41)
- ==5418== by 0x401ACA: newBigInteger (BigInteger.c:23)
- ==5418== by 0x401FBB: copy (BigInteger.c:184)
- ==5418== by 0x401C62: compare (BigInteger.c:76)
- ==5418== by 0x401D89: equals (BigInteger.c:106)
- ==5418== by 0x402517: diff (BigInteger.c:329)
- ==5418== by 0x401443: runTest (ModelBigIntegerTest.c:251)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418== 32 bytes in 1 blocks are definitely lost in loss record 55 of 105
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x402BD1: newList (List.c:41)
- ==5418== by 0x401ACA: newBigInteger (BigInteger.c:23)
- ==5418== by 0x401FBB: copy (BigInteger.c:184)
- ==5418== by 0x40253D: diff (BigInteger.c:330)
- ==5418== by 0x401443: runTest (ModelBigIntegerTest.c:251)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418== 32 bytes in 1 blocks are definitely lost in loss record 56 of 105
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x402BD1: newList (List.c:41)
- ==5418== by 0x401ACA: newBigInteger (BigInteger.c:23)
- ==5418== by 0x401FBB: copy (BigInteger.c:184)
- ==5418== by 0x401C62: compare (BigInteger.c:76)
- ==5418== by 0x401D89: equals (BigInteger.c:106)
- ==5418== by 0x402517: diff (BigInteger.c:329)
- ==5418== by 0x4014AF: runTest (ModelBigIntegerTest.c:260)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418== 32 bytes in 1 blocks are definitely lost in loss record 57 of 105
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x402BD1: newList (List.c:41)
- ==5418== by 0x401ACA: newBigInteger (BigInteger.c:23)
- ==5418== by 0x401FBB: copy (BigInteger.c:184)
- ==5418== by 0x40253D: diff (BigInteger.c:330)
- ==5418== by 0x4014AF: runTest (ModelBigIntegerTest.c:260)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418== 32 bytes in 1 blocks are definitely lost in loss record 58 of 105
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x402BD1: newList (List.c:41)
- ==5418== by 0x401ACA: newBigInteger (BigInteger.c:23)
- ==5418== by 0x401FBB: copy (BigInteger.c:184)
- ==5418== by 0x401C62: compare (BigInteger.c:76)
- ==5418== by 0x401D89: equals (BigInteger.c:106)
- ==5418== by 0x402517: diff (BigInteger.c:329)
- ==5418== by 0x40151C: runTest (ModelBigIntegerTest.c:268)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418== 32 bytes in 1 blocks are definitely lost in loss record 59 of 105
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x402BD1: newList (List.c:41)
- ==5418== by 0x401ACA: newBigInteger (BigInteger.c:23)
- ==5418== by 0x401FBB: copy (BigInteger.c:184)
- ==5418== by 0x40253D: diff (BigInteger.c:330)
- ==5418== by 0x40151C: runTest (ModelBigIntegerTest.c:268)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418== 32 bytes in 1 blocks are definitely lost in loss record 60 of 105
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x402BD1: newList (List.c:41)
- ==5418== by 0x401ACA: newBigInteger (BigInteger.c:23)
- ==5418== by 0x401FBB: copy (BigInteger.c:184)
- ==5418== by 0x4023D1: copyNegate (BigInteger.c:297)
- ==5418== by 0x4024DF: diff (BigInteger.c:325)
- ==5418== by 0x401578: runTest (ModelBigIntegerTest.c:274)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418== 32 bytes in 1 blocks are definitely lost in loss record 61 of 105
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x402BD1: newList (List.c:41)
- ==5418== by 0x401ACA: newBigInteger (BigInteger.c:23)
- ==5418== by 0x401FBB: copy (BigInteger.c:184)
- ==5418== by 0x402285: sum (BigInteger.c:261)
- ==5418== by 0x4024F1: diff (BigInteger.c:325)
- ==5418== by 0x401578: runTest (ModelBigIntegerTest.c:274)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418== 32 bytes in 1 blocks are definitely lost in loss record 62 of 105
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x402BD1: newList (List.c:41)
- ==5418== by 0x401ACA: newBigInteger (BigInteger.c:23)
- ==5418== by 0x4015DC: runTest (ModelBigIntegerTest.c:282)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418== 32 bytes in 1 blocks are definitely lost in loss record 63 of 105
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x402BD1: newList (List.c:41)
- ==5418== by 0x401ACA: newBigInteger (BigInteger.c:23)
- ==5418== by 0x402741: prod (BigInteger.c:381)
- ==5418== by 0x4026BC: multiply (BigInteger.c:367)
- ==5418== by 0x401606: runTest (ModelBigIntegerTest.c:285)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418== 32 bytes in 1 blocks are definitely lost in loss record 64 of 105
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x402BD1: newList (List.c:41)
- ==5418== by 0x401ACA: newBigInteger (BigInteger.c:23)
- ==5418== by 0x401FBB: copy (BigInteger.c:184)
- ==5418== by 0x40276D: prod (BigInteger.c:387)
- ==5418== by 0x4026BC: multiply (BigInteger.c:367)
- ==5418== by 0x401606: runTest (ModelBigIntegerTest.c:285)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418== 32 bytes in 1 blocks are definitely lost in loss record 65 of 105
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x402BD1: newList (List.c:41)
- ==5418== by 0x401ACA: newBigInteger (BigInteger.c:23)
- ==5418== by 0x401FBB: copy (BigInteger.c:184)
- ==5418== by 0x4021AA: sum (BigInteger.c:239)
- ==5418== by 0x402083: add (BigInteger.c:208)
- ==5418== by 0x4028E3: prod (BigInteger.c:427)
- ==5418== by 0x4026BC: multiply (BigInteger.c:367)
- ==5418== by 0x401606: runTest (ModelBigIntegerTest.c:285)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418== 32 bytes in 1 blocks are definitely lost in loss record 66 of 105
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x402BD1: newList (List.c:41)
- ==5418== by 0x403686: copyList (List.c:401)
- ==5418== by 0x4020B0: add (BigInteger.c:211)
- ==5418== by 0x4028E3: prod (BigInteger.c:427)
- ==5418== by 0x4026BC: multiply (BigInteger.c:367)
- ==5418== by 0x401606: runTest (ModelBigIntegerTest.c:285)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418== 32 bytes in 1 blocks are definitely lost in loss record 67 of 105
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x402BD1: newList (List.c:41)
- ==5418== by 0x401ACA: newBigInteger (BigInteger.c:23)
- ==5418== by 0x401FBB: copy (BigInteger.c:184)
- ==5418== by 0x402285: sum (BigInteger.c:261)
- ==5418== by 0x402083: add (BigInteger.c:208)
- ==5418== by 0x4028E3: prod (BigInteger.c:427)
- ==5418== by 0x4026BC: multiply (BigInteger.c:367)
- ==5418== by 0x401606: runTest (ModelBigIntegerTest.c:285)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418== 32 bytes in 1 blocks are definitely lost in loss record 68 of 105
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x402BD1: newList (List.c:41)
- ==5418== by 0x403686: copyList (List.c:401)
- ==5418== by 0x4026E9: multiply (BigInteger.c:370)
- ==5418== by 0x401606: runTest (ModelBigIntegerTest.c:285)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418== 32 bytes in 1 blocks are definitely lost in loss record 69 of 105
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x402BD1: newList (List.c:41)
- ==5418== by 0x401ACA: newBigInteger (BigInteger.c:23)
- ==5418== by 0x402741: prod (BigInteger.c:381)
- ==5418== by 0x4026BC: multiply (BigInteger.c:367)
- ==5418== by 0x401653: runTest (ModelBigIntegerTest.c:290)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418== 32 bytes in 1 blocks are definitely lost in loss record 70 of 105
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x402BD1: newList (List.c:41)
- ==5418== by 0x401ACA: newBigInteger (BigInteger.c:23)
- ==5418== by 0x401FBB: copy (BigInteger.c:184)
- ==5418== by 0x40276D: prod (BigInteger.c:387)
- ==5418== by 0x4026BC: multiply (BigInteger.c:367)
- ==5418== by 0x401653: runTest (ModelBigIntegerTest.c:290)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418== 32 bytes in 1 blocks are definitely lost in loss record 71 of 105
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x402BD1: newList (List.c:41)
- ==5418== by 0x401ACA: newBigInteger (BigInteger.c:23)
- ==5418== by 0x401FBB: copy (BigInteger.c:184)
- ==5418== by 0x4021AA: sum (BigInteger.c:239)
- ==5418== by 0x402083: add (BigInteger.c:208)
- ==5418== by 0x4028E3: prod (BigInteger.c:427)
- ==5418== by 0x4026BC: multiply (BigInteger.c:367)
- ==5418== by 0x401653: runTest (ModelBigIntegerTest.c:290)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418== 32 bytes in 1 blocks are definitely lost in loss record 72 of 105
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x402BD1: newList (List.c:41)
- ==5418== by 0x403686: copyList (List.c:401)
- ==5418== by 0x4020B0: add (BigInteger.c:211)
- ==5418== by 0x4028E3: prod (BigInteger.c:427)
- ==5418== by 0x4026BC: multiply (BigInteger.c:367)
- ==5418== by 0x401653: runTest (ModelBigIntegerTest.c:290)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418== 32 bytes in 1 blocks are definitely lost in loss record 73 of 105
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x402BD1: newList (List.c:41)
- ==5418== by 0x401ACA: newBigInteger (BigInteger.c:23)
- ==5418== by 0x401FBB: copy (BigInteger.c:184)
- ==5418== by 0x402285: sum (BigInteger.c:261)
- ==5418== by 0x402083: add (BigInteger.c:208)
- ==5418== by 0x4028E3: prod (BigInteger.c:427)
- ==5418== by 0x4026BC: multiply (BigInteger.c:367)
- ==5418== by 0x401653: runTest (ModelBigIntegerTest.c:290)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418== 32 bytes in 1 blocks are definitely lost in loss record 74 of 105
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x402BD1: newList (List.c:41)
- ==5418== by 0x401ACA: newBigInteger (BigInteger.c:23)
- ==5418== by 0x402741: prod (BigInteger.c:381)
- ==5418== by 0x4016BC: runTest (ModelBigIntegerTest.c:300)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418== 32 bytes in 1 blocks are definitely lost in loss record 75 of 105
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x402BD1: newList (List.c:41)
- ==5418== by 0x401ACA: newBigInteger (BigInteger.c:23)
- ==5418== by 0x401FBB: copy (BigInteger.c:184)
- ==5418== by 0x40276D: prod (BigInteger.c:387)
- ==5418== by 0x4016BC: runTest (ModelBigIntegerTest.c:300)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418== 32 bytes in 1 blocks are definitely lost in loss record 76 of 105
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x402BD1: newList (List.c:41)
- ==5418== by 0x401ACA: newBigInteger (BigInteger.c:23)
- ==5418== by 0x401FBB: copy (BigInteger.c:184)
- ==5418== by 0x4021AA: sum (BigInteger.c:239)
- ==5418== by 0x402083: add (BigInteger.c:208)
- ==5418== by 0x4028E3: prod (BigInteger.c:427)
- ==5418== by 0x4016BC: runTest (ModelBigIntegerTest.c:300)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418== 32 bytes in 1 blocks are definitely lost in loss record 77 of 105
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x402BD1: newList (List.c:41)
- ==5418== by 0x403686: copyList (List.c:401)
- ==5418== by 0x4020B0: add (BigInteger.c:211)
- ==5418== by 0x4028E3: prod (BigInteger.c:427)
- ==5418== by 0x4016BC: runTest (ModelBigIntegerTest.c:300)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418== 32 bytes in 1 blocks are definitely lost in loss record 78 of 105
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x402BD1: newList (List.c:41)
- ==5418== by 0x401ACA: newBigInteger (BigInteger.c:23)
- ==5418== by 0x401FBB: copy (BigInteger.c:184)
- ==5418== by 0x402285: sum (BigInteger.c:261)
- ==5418== by 0x402083: add (BigInteger.c:208)
- ==5418== by 0x4028E3: prod (BigInteger.c:427)
- ==5418== by 0x4016BC: runTest (ModelBigIntegerTest.c:300)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418== 32 bytes in 1 blocks are definitely lost in loss record 79 of 105
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x402BD1: newList (List.c:41)
- ==5418== by 0x401ACA: newBigInteger (BigInteger.c:23)
- ==5418== by 0x402741: prod (BigInteger.c:381)
- ==5418== by 0x401715: runTest (ModelBigIntegerTest.c:306)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418== 32 bytes in 1 blocks are definitely lost in loss record 80 of 105
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x402BD1: newList (List.c:41)
- ==5418== by 0x401ACA: newBigInteger (BigInteger.c:23)
- ==5418== by 0x401FBB: copy (BigInteger.c:184)
- ==5418== by 0x40276D: prod (BigInteger.c:387)
- ==5418== by 0x401715: runTest (ModelBigIntegerTest.c:306)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418== 32 bytes in 1 blocks are definitely lost in loss record 81 of 105
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x402BD1: newList (List.c:41)
- ==5418== by 0x401ACA: newBigInteger (BigInteger.c:23)
- ==5418== by 0x401FBB: copy (BigInteger.c:184)
- ==5418== by 0x4021AA: sum (BigInteger.c:239)
- ==5418== by 0x402083: add (BigInteger.c:208)
- ==5418== by 0x4028E3: prod (BigInteger.c:427)
- ==5418== by 0x401715: runTest (ModelBigIntegerTest.c:306)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418== 32 bytes in 1 blocks are definitely lost in loss record 82 of 105
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x402BD1: newList (List.c:41)
- ==5418== by 0x403686: copyList (List.c:401)
- ==5418== by 0x4020B0: add (BigInteger.c:211)
- ==5418== by 0x4028E3: prod (BigInteger.c:427)
- ==5418== by 0x401715: runTest (ModelBigIntegerTest.c:306)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418== 32 bytes in 1 blocks are definitely lost in loss record 83 of 105
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x402BD1: newList (List.c:41)
- ==5418== by 0x401ACA: newBigInteger (BigInteger.c:23)
- ==5418== by 0x401FBB: copy (BigInteger.c:184)
- ==5418== by 0x402285: sum (BigInteger.c:261)
- ==5418== by 0x402083: add (BigInteger.c:208)
- ==5418== by 0x4028E3: prod (BigInteger.c:427)
- ==5418== by 0x401715: runTest (ModelBigIntegerTest.c:306)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418== 96 (16 direct, 80 indirect) bytes in 1 blocks are definitely lost in loss record 95 of 105
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x401AC1: newBigInteger (BigInteger.c:22)
- ==5418== by 0x401FBB: copy (BigInteger.c:184)
- ==5418== by 0x401C62: compare (BigInteger.c:76)
- ==5418== by 0x401D89: equals (BigInteger.c:106)
- ==5418== by 0x402517: diff (BigInteger.c:329)
- ==5418== by 0x402202: sum (BigInteger.c:247)
- ==5418== by 0x402083: add (BigInteger.c:208)
- ==5418== by 0x400EBC: runTest (ModelBigIntegerTest.c:134)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418== 96 (16 direct, 80 indirect) bytes in 1 blocks are definitely lost in loss record 96 of 105
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x401AC1: newBigInteger (BigInteger.c:22)
- ==5418== by 0x401FBB: copy (BigInteger.c:184)
- ==5418== by 0x401C62: compare (BigInteger.c:76)
- ==5418== by 0x401D89: equals (BigInteger.c:106)
- ==5418== by 0x402517: diff (BigInteger.c:329)
- ==5418== by 0x402202: sum (BigInteger.c:247)
- ==5418== by 0x402083: add (BigInteger.c:208)
- ==5418== by 0x400F1A: runTest (ModelBigIntegerTest.c:140)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418== 96 (16 direct, 80 indirect) bytes in 1 blocks are definitely lost in loss record 97 of 105
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x401AC1: newBigInteger (BigInteger.c:22)
- ==5418== by 0x401FBB: copy (BigInteger.c:184)
- ==5418== by 0x401C62: compare (BigInteger.c:76)
- ==5418== by 0x401D89: equals (BigInteger.c:106)
- ==5418== by 0x402517: diff (BigInteger.c:329)
- ==5418== by 0x402252: sum (BigInteger.c:254)
- ==5418== by 0x40110F: runTest (ModelBigIntegerTest.c:175)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418== 96 (16 direct, 80 indirect) bytes in 1 blocks are definitely lost in loss record 98 of 105
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x401AC1: newBigInteger (BigInteger.c:22)
- ==5418== by 0x401FBB: copy (BigInteger.c:184)
- ==5418== by 0x401C62: compare (BigInteger.c:76)
- ==5418== by 0x401D89: equals (BigInteger.c:106)
- ==5418== by 0x402517: diff (BigInteger.c:329)
- ==5418== by 0x402252: sum (BigInteger.c:254)
- ==5418== by 0x40117C: runTest (ModelBigIntegerTest.c:183)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418== 96 (16 direct, 80 indirect) bytes in 1 blocks are definitely lost in loss record 99 of 105
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x401AC1: newBigInteger (BigInteger.c:22)
- ==5418== by 0x401FBB: copy (BigInteger.c:184)
- ==5418== by 0x401C62: compare (BigInteger.c:76)
- ==5418== by 0x401D89: equals (BigInteger.c:106)
- ==5418== by 0x402517: diff (BigInteger.c:329)
- ==5418== by 0x40240E: subtract (BigInteger.c:305)
- ==5418== by 0x4012F1: runTest (ModelBigIntegerTest.c:226)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418== 96 (16 direct, 80 indirect) bytes in 1 blocks are definitely lost in loss record 100 of 105
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x401AC1: newBigInteger (BigInteger.c:22)
- ==5418== by 0x401FBB: copy (BigInteger.c:184)
- ==5418== by 0x401C62: compare (BigInteger.c:76)
- ==5418== by 0x401D89: equals (BigInteger.c:106)
- ==5418== by 0x402517: diff (BigInteger.c:329)
- ==5418== by 0x40240E: subtract (BigInteger.c:305)
- ==5418== by 0x40134F: runTest (ModelBigIntegerTest.c:232)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418== 96 (16 direct, 80 indirect) bytes in 1 blocks are definitely lost in loss record 101 of 105
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x401AC1: newBigInteger (BigInteger.c:22)
- ==5418== by 0x401FBB: copy (BigInteger.c:184)
- ==5418== by 0x4023D1: copyNegate (BigInteger.c:297)
- ==5418== by 0x4024DF: diff (BigInteger.c:325)
- ==5418== by 0x40240E: subtract (BigInteger.c:305)
- ==5418== by 0x40139C: runTest (ModelBigIntegerTest.c:237)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418== 96 (16 direct, 80 indirect) bytes in 1 blocks are definitely lost in loss record 102 of 105
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x401AC1: newBigInteger (BigInteger.c:22)
- ==5418== by 0x401FBB: copy (BigInteger.c:184)
- ==5418== by 0x4023D1: copyNegate (BigInteger.c:297)
- ==5418== by 0x4024DF: diff (BigInteger.c:325)
- ==5418== by 0x40240E: subtract (BigInteger.c:305)
- ==5418== by 0x4013DA: runTest (ModelBigIntegerTest.c:241)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418== 96 (16 direct, 80 indirect) bytes in 1 blocks are definitely lost in loss record 103 of 105
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x401AC1: newBigInteger (BigInteger.c:22)
- ==5418== by 0x401FBB: copy (BigInteger.c:184)
- ==5418== by 0x401C62: compare (BigInteger.c:76)
- ==5418== by 0x401D89: equals (BigInteger.c:106)
- ==5418== by 0x402517: diff (BigInteger.c:329)
- ==5418== by 0x4014AF: runTest (ModelBigIntegerTest.c:260)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418== 96 (16 direct, 80 indirect) bytes in 1 blocks are definitely lost in loss record 104 of 105
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x401AC1: newBigInteger (BigInteger.c:22)
- ==5418== by 0x401FBB: copy (BigInteger.c:184)
- ==5418== by 0x401C62: compare (BigInteger.c:76)
- ==5418== by 0x401D89: equals (BigInteger.c:106)
- ==5418== by 0x402517: diff (BigInteger.c:329)
- ==5418== by 0x40151C: runTest (ModelBigIntegerTest.c:268)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418== 96 (16 direct, 80 indirect) bytes in 1 blocks are definitely lost in loss record 105 of 105
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x401AC1: newBigInteger (BigInteger.c:22)
- ==5418== by 0x401FBB: copy (BigInteger.c:184)
- ==5418== by 0x4023D1: copyNegate (BigInteger.c:297)
- ==5418== by 0x4024DF: diff (BigInteger.c:325)
- ==5418== by 0x401578: runTest (ModelBigIntegerTest.c:274)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418== LEAK SUMMARY:
- ==5418== definitely lost: 2,480 bytes in 83 blocks
- ==5418== indirectly lost: 880 bytes in 33 blocks
- ==5418== possibly lost: 0 bytes in 0 blocks
- ==5418== still reachable: 0 bytes in 0 blocks
- ==5418== suppressed: 0 bytes in 0 blocks
- ==5418==
- ==5418== ERROR SUMMARY: 101 errors from 100 contexts (suppressed: 0 from 0)
- ==5418==
- ==5418== 1 errors in context 1 of 100:
- ==5418== Invalid free() / delete / delete[] / realloc()
- ==5418== at 0x4C2AF5D: free (vg_replace_malloc.c:540)
- ==5418== by 0x401B36: freeBigInteger (BigInteger.c:35)
- ==5418== by 0x401904: main (ModelBigIntegerTest.c:358)
- ==5418== Address 0x5205260 is 0 bytes inside a block of size 16 free'd
- ==5418== at 0x4C2AF5D: free (vg_replace_malloc.c:540)
- ==5418== by 0x401B36: freeBigInteger (BigInteger.c:35)
- ==5418== by 0x400BF7: runTest (ModelBigIntegerTest.c:63)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418== Block was alloc'd at
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x401AC1: newBigInteger (BigInteger.c:22)
- ==5418== by 0x401E62: stringToBigInteger (BigInteger.c:143)
- ==5418== by 0x400BA3: runTest (ModelBigIntegerTest.c:59)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418==
- ==5418== 1 errors in context 2 of 100:
- ==5418== Invalid free() / delete / delete[] / realloc()
- ==5418== at 0x4C2AF5D: free (vg_replace_malloc.c:540)
- ==5418== by 0x401B2A: freeBigInteger (BigInteger.c:34)
- ==5418== by 0x401904: main (ModelBigIntegerTest.c:358)
- ==5418== Address 0x52052b0 is 0 bytes inside a block of size 32 free'd
- ==5418== at 0x4C2AF5D: free (vg_replace_malloc.c:540)
- ==5418== by 0x401B2A: freeBigInteger (BigInteger.c:34)
- ==5418== by 0x400BF7: runTest (ModelBigIntegerTest.c:63)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418== Block was alloc'd at
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x402BD1: newList (List.c:41)
- ==5418== by 0x401ACA: newBigInteger (BigInteger.c:23)
- ==5418== by 0x401E62: stringToBigInteger (BigInteger.c:143)
- ==5418== by 0x400BA3: runTest (ModelBigIntegerTest.c:59)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418==
- ==5418== 1 errors in context 3 of 100:
- ==5418== Invalid read of size 8
- ==5418== at 0x401B20: freeBigInteger (BigInteger.c:34)
- ==5418== by 0x401904: main (ModelBigIntegerTest.c:358)
- ==5418== Address 0x5205260 is 0 bytes inside a block of size 16 free'd
- ==5418== at 0x4C2AF5D: free (vg_replace_malloc.c:540)
- ==5418== by 0x401B36: freeBigInteger (BigInteger.c:35)
- ==5418== by 0x400BF7: runTest (ModelBigIntegerTest.c:63)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418== Block was alloc'd at
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x401AC1: newBigInteger (BigInteger.c:22)
- ==5418== by 0x401E62: stringToBigInteger (BigInteger.c:143)
- ==5418== by 0x400BA3: runTest (ModelBigIntegerTest.c:59)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418==
- ==5418== 1 errors in context 4 of 100:
- ==5418== Invalid write of size 4
- ==5418== at 0x401DBF: makeZero (BigInteger.c:117)
- ==5418== by 0x401B1B: freeBigInteger (BigInteger.c:33)
- ==5418== by 0x401904: main (ModelBigIntegerTest.c:358)
- ==5418== Address 0x5205268 is 8 bytes inside a block of size 16 free'd
- ==5418== at 0x4C2AF5D: free (vg_replace_malloc.c:540)
- ==5418== by 0x401B36: freeBigInteger (BigInteger.c:35)
- ==5418== by 0x400BF7: runTest (ModelBigIntegerTest.c:63)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418== Block was alloc'd at
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x401AC1: newBigInteger (BigInteger.c:22)
- ==5418== by 0x401E62: stringToBigInteger (BigInteger.c:143)
- ==5418== by 0x400BA3: runTest (ModelBigIntegerTest.c:59)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418==
- ==5418== 1 errors in context 5 of 100:
- ==5418== Invalid write of size 4
- ==5418== at 0x402F1B: clear (List.c:173)
- ==5418== by 0x401DBA: makeZero (BigInteger.c:115)
- ==5418== by 0x401B1B: freeBigInteger (BigInteger.c:33)
- ==5418== by 0x401904: main (ModelBigIntegerTest.c:358)
- ==5418== Address 0x52052cc is 28 bytes inside a block of size 32 free'd
- ==5418== at 0x4C2AF5D: free (vg_replace_malloc.c:540)
- ==5418== by 0x401B2A: freeBigInteger (BigInteger.c:34)
- ==5418== by 0x400BF7: runTest (ModelBigIntegerTest.c:63)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418== Block was alloc'd at
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x402BD1: newList (List.c:41)
- ==5418== by 0x401ACA: newBigInteger (BigInteger.c:23)
- ==5418== by 0x401E62: stringToBigInteger (BigInteger.c:143)
- ==5418== by 0x400BA3: runTest (ModelBigIntegerTest.c:59)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418==
- ==5418== 1 errors in context 6 of 100:
- ==5418== Invalid write of size 8
- ==5418== at 0x402F0F: clear (List.c:172)
- ==5418== by 0x401DBA: makeZero (BigInteger.c:115)
- ==5418== by 0x401B1B: freeBigInteger (BigInteger.c:33)
- ==5418== by 0x401904: main (ModelBigIntegerTest.c:358)
- ==5418== Address 0x52052c0 is 16 bytes inside a block of size 32 free'd
- ==5418== at 0x4C2AF5D: free (vg_replace_malloc.c:540)
- ==5418== by 0x401B2A: freeBigInteger (BigInteger.c:34)
- ==5418== by 0x400BF7: runTest (ModelBigIntegerTest.c:63)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418== Block was alloc'd at
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x402BD1: newList (List.c:41)
- ==5418== by 0x401ACA: newBigInteger (BigInteger.c:23)
- ==5418== by 0x401E62: stringToBigInteger (BigInteger.c:143)
- ==5418== by 0x400BA3: runTest (ModelBigIntegerTest.c:59)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418==
- ==5418== 1 errors in context 7 of 100:
- ==5418== Invalid read of size 8
- ==5418== at 0x401DB0: makeZero (BigInteger.c:115)
- ==5418== by 0x401B1B: freeBigInteger (BigInteger.c:33)
- ==5418== by 0x401904: main (ModelBigIntegerTest.c:358)
- ==5418== Address 0x5205260 is 0 bytes inside a block of size 16 free'd
- ==5418== at 0x4C2AF5D: free (vg_replace_malloc.c:540)
- ==5418== by 0x401B36: freeBigInteger (BigInteger.c:35)
- ==5418== by 0x400BF7: runTest (ModelBigIntegerTest.c:63)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418== Block was alloc'd at
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x401AC1: newBigInteger (BigInteger.c:22)
- ==5418== by 0x401E62: stringToBigInteger (BigInteger.c:143)
- ==5418== by 0x400BA3: runTest (ModelBigIntegerTest.c:59)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418==
- ==5418== 1 errors in context 8 of 100:
- ==5418== Invalid read of size 8
- ==5418== at 0x401DA4: makeZero (BigInteger.c:114)
- ==5418== by 0x401B1B: freeBigInteger (BigInteger.c:33)
- ==5418== by 0x401904: main (ModelBigIntegerTest.c:358)
- ==5418== Address 0x5205260 is 0 bytes inside a block of size 16 free'd
- ==5418== at 0x4C2AF5D: free (vg_replace_malloc.c:540)
- ==5418== by 0x401B36: freeBigInteger (BigInteger.c:35)
- ==5418== by 0x400BF7: runTest (ModelBigIntegerTest.c:63)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418== Block was alloc'd at
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x401AC1: newBigInteger (BigInteger.c:22)
- ==5418== by 0x401E62: stringToBigInteger (BigInteger.c:143)
- ==5418== by 0x400BA3: runTest (ModelBigIntegerTest.c:59)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418==
- ==5418== 1 errors in context 9 of 100:
- ==5418== Invalid free() / delete / delete[] / realloc()
- ==5418== at 0x4C2AF5D: free (vg_replace_malloc.c:540)
- ==5418== by 0x401B36: freeBigInteger (BigInteger.c:35)
- ==5418== by 0x4018F8: main (ModelBigIntegerTest.c:357)
- ==5418== Address 0x52050f0 is 0 bytes inside a block of size 16 free'd
- ==5418== at 0x4C2AF5D: free (vg_replace_malloc.c:540)
- ==5418== by 0x401B36: freeBigInteger (BigInteger.c:35)
- ==5418== by 0x400BEB: runTest (ModelBigIntegerTest.c:62)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418== Block was alloc'd at
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x401AC1: newBigInteger (BigInteger.c:22)
- ==5418== by 0x401E62: stringToBigInteger (BigInteger.c:143)
- ==5418== by 0x400B8F: runTest (ModelBigIntegerTest.c:58)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418==
- ==5418== 1 errors in context 10 of 100:
- ==5418== Invalid free() / delete / delete[] / realloc()
- ==5418== at 0x4C2AF5D: free (vg_replace_malloc.c:540)
- ==5418== by 0x401B2A: freeBigInteger (BigInteger.c:34)
- ==5418== by 0x4018F8: main (ModelBigIntegerTest.c:357)
- ==5418== Address 0x5205140 is 0 bytes inside a block of size 32 free'd
- ==5418== at 0x4C2AF5D: free (vg_replace_malloc.c:540)
- ==5418== by 0x401B2A: freeBigInteger (BigInteger.c:34)
- ==5418== by 0x400BEB: runTest (ModelBigIntegerTest.c:62)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418== Block was alloc'd at
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x402BD1: newList (List.c:41)
- ==5418== by 0x401ACA: newBigInteger (BigInteger.c:23)
- ==5418== by 0x401E62: stringToBigInteger (BigInteger.c:143)
- ==5418== by 0x400B8F: runTest (ModelBigIntegerTest.c:58)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418==
- ==5418== 1 errors in context 11 of 100:
- ==5418== Invalid read of size 8
- ==5418== at 0x401B20: freeBigInteger (BigInteger.c:34)
- ==5418== by 0x4018F8: main (ModelBigIntegerTest.c:357)
- ==5418== Address 0x52050f0 is 0 bytes inside a block of size 16 free'd
- ==5418== at 0x4C2AF5D: free (vg_replace_malloc.c:540)
- ==5418== by 0x401B36: freeBigInteger (BigInteger.c:35)
- ==5418== by 0x400BEB: runTest (ModelBigIntegerTest.c:62)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418== Block was alloc'd at
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x401AC1: newBigInteger (BigInteger.c:22)
- ==5418== by 0x401E62: stringToBigInteger (BigInteger.c:143)
- ==5418== by 0x400B8F: runTest (ModelBigIntegerTest.c:58)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418==
- ==5418== 1 errors in context 12 of 100:
- ==5418== Invalid write of size 4
- ==5418== at 0x401DBF: makeZero (BigInteger.c:117)
- ==5418== by 0x401B1B: freeBigInteger (BigInteger.c:33)
- ==5418== by 0x4018F8: main (ModelBigIntegerTest.c:357)
- ==5418== Address 0x52050f8 is 8 bytes inside a block of size 16 free'd
- ==5418== at 0x4C2AF5D: free (vg_replace_malloc.c:540)
- ==5418== by 0x401B36: freeBigInteger (BigInteger.c:35)
- ==5418== by 0x400BEB: runTest (ModelBigIntegerTest.c:62)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418== Block was alloc'd at
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x401AC1: newBigInteger (BigInteger.c:22)
- ==5418== by 0x401E62: stringToBigInteger (BigInteger.c:143)
- ==5418== by 0x400B8F: runTest (ModelBigIntegerTest.c:58)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418==
- ==5418== 1 errors in context 13 of 100:
- ==5418== Invalid write of size 4
- ==5418== at 0x402F1B: clear (List.c:173)
- ==5418== by 0x401DBA: makeZero (BigInteger.c:115)
- ==5418== by 0x401B1B: freeBigInteger (BigInteger.c:33)
- ==5418== by 0x4018F8: main (ModelBigIntegerTest.c:357)
- ==5418== Address 0x520515c is 28 bytes inside a block of size 32 free'd
- ==5418== at 0x4C2AF5D: free (vg_replace_malloc.c:540)
- ==5418== by 0x401B2A: freeBigInteger (BigInteger.c:34)
- ==5418== by 0x400BEB: runTest (ModelBigIntegerTest.c:62)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418== Block was alloc'd at
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x402BD1: newList (List.c:41)
- ==5418== by 0x401ACA: newBigInteger (BigInteger.c:23)
- ==5418== by 0x401E62: stringToBigInteger (BigInteger.c:143)
- ==5418== by 0x400B8F: runTest (ModelBigIntegerTest.c:58)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418==
- ==5418== 1 errors in context 14 of 100:
- ==5418== Invalid write of size 8
- ==5418== at 0x402F0F: clear (List.c:172)
- ==5418== by 0x401DBA: makeZero (BigInteger.c:115)
- ==5418== by 0x401B1B: freeBigInteger (BigInteger.c:33)
- ==5418== by 0x4018F8: main (ModelBigIntegerTest.c:357)
- ==5418== Address 0x5205150 is 16 bytes inside a block of size 32 free'd
- ==5418== at 0x4C2AF5D: free (vg_replace_malloc.c:540)
- ==5418== by 0x401B2A: freeBigInteger (BigInteger.c:34)
- ==5418== by 0x400BEB: runTest (ModelBigIntegerTest.c:62)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418== Block was alloc'd at
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x402BD1: newList (List.c:41)
- ==5418== by 0x401ACA: newBigInteger (BigInteger.c:23)
- ==5418== by 0x401E62: stringToBigInteger (BigInteger.c:143)
- ==5418== by 0x400B8F: runTest (ModelBigIntegerTest.c:58)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418==
- ==5418== 1 errors in context 15 of 100:
- ==5418== Invalid read of size 8
- ==5418== at 0x401DB0: makeZero (BigInteger.c:115)
- ==5418== by 0x401B1B: freeBigInteger (BigInteger.c:33)
- ==5418== by 0x4018F8: main (ModelBigIntegerTest.c:357)
- ==5418== Address 0x52050f0 is 0 bytes inside a block of size 16 free'd
- ==5418== at 0x4C2AF5D: free (vg_replace_malloc.c:540)
- ==5418== by 0x401B36: freeBigInteger (BigInteger.c:35)
- ==5418== by 0x400BEB: runTest (ModelBigIntegerTest.c:62)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418== Block was alloc'd at
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x401AC1: newBigInteger (BigInteger.c:22)
- ==5418== by 0x401E62: stringToBigInteger (BigInteger.c:143)
- ==5418== by 0x400B8F: runTest (ModelBigIntegerTest.c:58)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418==
- ==5418== 1 errors in context 16 of 100:
- ==5418== Invalid read of size 8
- ==5418== at 0x401DA4: makeZero (BigInteger.c:114)
- ==5418== by 0x401B1B: freeBigInteger (BigInteger.c:33)
- ==5418== by 0x4018F8: main (ModelBigIntegerTest.c:357)
- ==5418== Address 0x52050f0 is 0 bytes inside a block of size 16 free'd
- ==5418== at 0x4C2AF5D: free (vg_replace_malloc.c:540)
- ==5418== by 0x401B36: freeBigInteger (BigInteger.c:35)
- ==5418== by 0x400BEB: runTest (ModelBigIntegerTest.c:62)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418== Block was alloc'd at
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x401AC1: newBigInteger (BigInteger.c:22)
- ==5418== by 0x401E62: stringToBigInteger (BigInteger.c:143)
- ==5418== by 0x400B8F: runTest (ModelBigIntegerTest.c:58)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418==
- ==5418== 2 errors in context 17 of 100:
- ==5418== Invalid read of size 4
- ==5418== at 0x402ED4: isEmpty (List.c:140)
- ==5418== by 0x402F06: clear (List.c:169)
- ==5418== by 0x401DBA: makeZero (BigInteger.c:115)
- ==5418== by 0x401B1B: freeBigInteger (BigInteger.c:33)
- ==5418== by 0x4018F8: main (ModelBigIntegerTest.c:357)
- ==5418== Address 0x5205158 is 24 bytes inside a block of size 32 free'd
- ==5418== at 0x4C2AF5D: free (vg_replace_malloc.c:540)
- ==5418== by 0x401B2A: freeBigInteger (BigInteger.c:34)
- ==5418== by 0x400BEB: runTest (ModelBigIntegerTest.c:62)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418== Block was alloc'd at
- ==5418== at 0x4C29E63: malloc (vg_replace_malloc.c:309)
- ==5418== by 0x402BD1: newList (List.c:41)
- ==5418== by 0x401ACA: newBigInteger (BigInteger.c:23)
- ==5418== by 0x401E62: stringToBigInteger (BigInteger.c:143)
- ==5418== by 0x400B8F: runTest (ModelBigIntegerTest.c:58)
- ==5418== by 0x4018CB: main (ModelBigIntegerTest.c:353)
- ==5418==
- ==5418== ERROR SUMMARY: 101 errors from 100 contexts (suppressed: 0 from 0)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement