Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ==4392== Memcheck, a memory error detector
- ==4392== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
- ==4392== Using Valgrind-3.6.1-Debian and LibVEX; rerun with -h for copyright info
- ==4392== Command: ./int
- ==4392==
- -50-50==4392==
- ==4392== HEAP SUMMARY:
- ==4392== in use at exit: 344 bytes in 29 blocks
- ==4392== total heap usage: 29 allocs, 0 frees, 344 bytes allocated
- ==4392==
- ==4392== 8 bytes in 1 blocks are definitely lost in loss record 11 of 29
- ==4392== at 0x402842F: operator new(unsigned int) (vg_replace_malloc.c:255)
- ==4392== by 0x8048A49: CBigInt::CBigInt() (CBigIntf.cpp:101)
- ==4392== by 0x8049E3A: main (CBigIntf.cpp:505)
- ==4392==
- ==4392== 8 bytes in 1 blocks are definitely lost in loss record 12 of 29
- ==4392== at 0x402842F: operator new(unsigned int) (vg_replace_malloc.c:255)
- ==4392== by 0x8048A49: CBigInt::CBigInt() (CBigIntf.cpp:101)
- ==4392== by 0x8049E46: main (CBigIntf.cpp:505)
- ==4392==
- ==4392== 8 bytes in 1 blocks are definitely lost in loss record 13 of 29
- ==4392== at 0x402842F: operator new(unsigned int) (vg_replace_malloc.c:255)
- ==4392== by 0x8048AB8: CBigInt::CBigInt(int) (CBigIntf.cpp:118)
- ==4392== by 0x8049E5A: main (CBigIntf.cpp:506)
- ==4392==
- ==4392== 8 bytes in 1 blocks are definitely lost in loss record 14 of 29
- ==4392== at 0x402842F: operator new(unsigned int) (vg_replace_malloc.c:255)
- ==4392== by 0x8048A49: CBigInt::CBigInt() (CBigIntf.cpp:101)
- ==4392== by 0x8049AAA: operator*(CBigInt&, CBigInt&) (CBigIntf.cpp:447)
- ==4392== by 0x8049CA5: CBigInt::operator*(int) (CBigIntf.cpp:478)
- ==4392== by 0x8049D94: operator*=(CBigInt&, int) (CBigIntf.cpp:495)
- ==4392== by 0x8049EA2: main (CBigIntf.cpp:508)
- ==4392==
- ==4392== 8 bytes in 1 blocks are definitely lost in loss record 15 of 29
- ==4392== at 0x402842F: operator new(unsigned int) (vg_replace_malloc.c:255)
- ==4392== by 0x8048A49: CBigInt::CBigInt() (CBigIntf.cpp:101)
- ==4392== by 0x8049AAA: operator*(CBigInt&, CBigInt&) (CBigIntf.cpp:447)
- ==4392== by 0x8049CA5: CBigInt::operator*(int) (CBigIntf.cpp:478)
- ==4392== by 0x8049EF9: main (CBigIntf.cpp:511)
- ==4392==
- ==4392== 16 bytes in 1 blocks are definitely lost in loss record 16 of 29
- ==4392== at 0x402842F: operator new(unsigned int) (vg_replace_malloc.c:255)
- ==4392== by 0x8049AE8: operator*(CBigInt&, CBigInt&) (CBigIntf.cpp:451)
- ==4392== by 0x8049CA5: CBigInt::operator*(int) (CBigIntf.cpp:478)
- ==4392== by 0x8049D94: operator*=(CBigInt&, int) (CBigIntf.cpp:495)
- ==4392== by 0x8049EA2: main (CBigIntf.cpp:508)
- ==4392==
- ==4392== 16 bytes in 1 blocks are definitely lost in loss record 17 of 29
- ==4392== at 0x402842F: operator new(unsigned int) (vg_replace_malloc.c:255)
- ==4392== by 0x804951D: secti(CBigInt&, CBigInt&) (CBigIntf.cpp:337)
- ==4392== by 0x804928C: operator+(CBigInt&, CBigInt&) (CBigIntf.cpp:292)
- ==4392== by 0x8049774: operator+=(CBigInt&, CBigInt&) (CBigIntf.cpp:390)
- ==4392== by 0x8049B3A: operator*(CBigInt&, CBigInt&) (CBigIntf.cpp:453)
- ==4392== by 0x8049CA5: CBigInt::operator*(int) (CBigIntf.cpp:478)
- ==4392== by 0x8049D94: operator*=(CBigInt&, int) (CBigIntf.cpp:495)
- ==4392== by 0x8049EA2: main (CBigIntf.cpp:508)
- ==4392==
- ==4392== 16 bytes in 1 blocks are definitely lost in loss record 18 of 29
- ==4392== at 0x402842F: operator new(unsigned int) (vg_replace_malloc.c:255)
- ==4392== by 0x8049AE8: operator*(CBigInt&, CBigInt&) (CBigIntf.cpp:451)
- ==4392== by 0x8049CA5: CBigInt::operator*(int) (CBigIntf.cpp:478)
- ==4392== by 0x8049EF9: main (CBigIntf.cpp:511)
- ==4392==
- ==4392== 16 bytes in 1 blocks are definitely lost in loss record 19 of 29
- ==4392== at 0x402842F: operator new(unsigned int) (vg_replace_malloc.c:255)
- ==4392== by 0x804951D: secti(CBigInt&, CBigInt&) (CBigIntf.cpp:337)
- ==4392== by 0x804928C: operator+(CBigInt&, CBigInt&) (CBigIntf.cpp:292)
- ==4392== by 0x8049774: operator+=(CBigInt&, CBigInt&) (CBigIntf.cpp:390)
- ==4392== by 0x8049B3A: operator*(CBigInt&, CBigInt&) (CBigIntf.cpp:453)
- ==4392== by 0x8049CA5: CBigInt::operator*(int) (CBigIntf.cpp:478)
- ==4392== by 0x8049EF9: main (CBigIntf.cpp:511)
- ==4392==
- ==4392== 24 (16 direct, 8 indirect) bytes in 1 blocks are definitely lost in loss record 20 of 29
- ==4392== at 0x402842F: operator new(unsigned int) (vg_replace_malloc.c:255)
- ==4392== by 0x80493BD: CBigInt::operator+(int) (CBigIntf.cpp:315)
- ==4392== by 0x80497AC: operator+=(CBigInt&, int) (CBigIntf.cpp:396)
- ==4392== by 0x8049E8E: main (CBigIntf.cpp:507)
- ==4392==
- ==4392== 24 (16 direct, 8 indirect) bytes in 1 blocks are definitely lost in loss record 21 of 29
- ==4392== at 0x402842F: operator new(unsigned int) (vg_replace_malloc.c:255)
- ==4392== by 0x804967D: odecti(CBigInt&, CBigInt&) (CBigIntf.cpp:366)
- ==4392== by 0x804937F: operator+(CBigInt&, CBigInt&) (CBigIntf.cpp:306)
- ==4392== by 0x80493E3: CBigInt::operator+(int) (CBigIntf.cpp:316)
- ==4392== by 0x80497AC: operator+=(CBigInt&, int) (CBigIntf.cpp:396)
- ==4392== by 0x8049E8E: main (CBigIntf.cpp:507)
- ==4392==
- ==4392== 24 (16 direct, 8 indirect) bytes in 1 blocks are definitely lost in loss record 22 of 29
- ==4392== at 0x402842F: operator new(unsigned int) (vg_replace_malloc.c:255)
- ==4392== by 0x8049C7F: CBigInt::operator*(int) (CBigIntf.cpp:477)
- ==4392== by 0x8049D94: operator*=(CBigInt&, int) (CBigIntf.cpp:495)
- ==4392== by 0x8049EA2: main (CBigIntf.cpp:508)
- ==4392==
- ==4392== 24 (16 direct, 8 indirect) bytes in 1 blocks are definitely lost in loss record 23 of 29
- ==4392== at 0x402842F: operator new(unsigned int) (vg_replace_malloc.c:255)
- ==4392== by 0x8049AA0: operator*(CBigInt&, CBigInt&) (CBigIntf.cpp:447)
- ==4392== by 0x8049CA5: CBigInt::operator*(int) (CBigIntf.cpp:478)
- ==4392== by 0x8049D94: operator*=(CBigInt&, int) (CBigIntf.cpp:495)
- ==4392== by 0x8049EA2: main (CBigIntf.cpp:508)
- ==4392==
- ==4392== 24 (16 direct, 8 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 29
- ==4392== at 0x402842F: operator new(unsigned int) (vg_replace_malloc.c:255)
- ==4392== by 0x80498FA: vynasob(CBigInt&, int) (CBigIntf.cpp:419)
- ==4392== by 0x8049ADA: operator*(CBigInt&, CBigInt&) (CBigIntf.cpp:451)
- ==4392== by 0x8049CA5: CBigInt::operator*(int) (CBigIntf.cpp:478)
- ==4392== by 0x8049D94: operator*=(CBigInt&, int) (CBigIntf.cpp:495)
- ==4392== by 0x8049EA2: main (CBigIntf.cpp:508)
- ==4392==
- ==4392== 24 (16 direct, 8 indirect) bytes in 1 blocks are definitely lost in loss record 25 of 29
- ==4392== at 0x402842F: operator new(unsigned int) (vg_replace_malloc.c:255)
- ==4392== by 0x80493BD: CBigInt::operator+(int) (CBigIntf.cpp:315)
- ==4392== by 0x8049ECA: main (CBigIntf.cpp:510)
- ==4392==
- ==4392== 24 (16 direct, 8 indirect) bytes in 1 blocks are definitely lost in loss record 26 of 29
- ==4392== at 0x402842F: operator new(unsigned int) (vg_replace_malloc.c:255)
- ==4392== by 0x804967D: odecti(CBigInt&, CBigInt&) (CBigIntf.cpp:366)
- ==4392== by 0x804937F: operator+(CBigInt&, CBigInt&) (CBigIntf.cpp:306)
- ==4392== by 0x80493E3: CBigInt::operator+(int) (CBigIntf.cpp:316)
- ==4392== by 0x8049ECA: main (CBigIntf.cpp:510)
- ==4392==
- ==4392== 24 (16 direct, 8 indirect) bytes in 1 blocks are definitely lost in loss record 27 of 29
- ==4392== at 0x402842F: operator new(unsigned int) (vg_replace_malloc.c:255)
- ==4392== by 0x8049C7F: CBigInt::operator*(int) (CBigIntf.cpp:477)
- ==4392== by 0x8049EF9: main (CBigIntf.cpp:511)
- ==4392==
- ==4392== 24 (16 direct, 8 indirect) bytes in 1 blocks are definitely lost in loss record 28 of 29
- ==4392== at 0x402842F: operator new(unsigned int) (vg_replace_malloc.c:255)
- ==4392== by 0x8049AA0: operator*(CBigInt&, CBigInt&) (CBigIntf.cpp:447)
- ==4392== by 0x8049CA5: CBigInt::operator*(int) (CBigIntf.cpp:478)
- ==4392== by 0x8049EF9: main (CBigIntf.cpp:511)
- ==4392==
- ==4392== 24 (16 direct, 8 indirect) bytes in 1 blocks are definitely lost in loss record 29 of 29
- ==4392== at 0x402842F: operator new(unsigned int) (vg_replace_malloc.c:255)
- ==4392== by 0x80498FA: vynasob(CBigInt&, int) (CBigIntf.cpp:419)
- ==4392== by 0x8049ADA: operator*(CBigInt&, CBigInt&) (CBigIntf.cpp:451)
- ==4392== by 0x8049CA5: CBigInt::operator*(int) (CBigIntf.cpp:478)
- ==4392== by 0x8049EF9: main (CBigIntf.cpp:511)
- ==4392==
- ==4392== LEAK SUMMARY:
- ==4392== definitely lost: 264 bytes in 19 blocks
- ==4392== indirectly lost: 80 bytes in 10 blocks
- ==4392== possibly lost: 0 bytes in 0 blocks
- ==4392== still reachable: 0 bytes in 0 blocks
- ==4392== suppressed: 0 bytes in 0 blocks
- ==4392==
- ==4392== For counts of detected and suppressed errors, rerun with: -v
- ==4392== ERROR SUMMARY: 19 errors from 19 contexts (suppressed: 17 from 6)
Add Comment
Please, Sign In to add comment