Output save_alt Download

Operation
crypto_aead
Primitive
riverkeyakv2
Implementation
refnew
Compiler options
clang++ -O1 -g
Host
venus
1 error 0
2 45a08b96f8877e959667869f9e231038641bbac5cbca37645f0d753c4f549378 391834585 3895703241 4300000000 crypto_aead/riverkeyakv2/refnew
3 ==11586== Memcheck, a memory error detector
4 ==11586== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
5 ==11586== Using Valgrind-3.15.0.GIT and LibVEX; rerun with -h for copyright info
6 ==11586== Command: ./try
7 ==11586==
8 ==11586== Mismatched free() / delete / delete []
9 ==11586== at 0x4C2D4EA: operator delete(void*) (vg_replace_malloc.c:586)
10 ==11586== by 0x40A54D: Motorist::Motorist(Permutation const*, unsigned int, unsigned int, unsigned int, unsigned int) (Motorist.cpp:177)
11 ==11586== by 0x409069: Keyak::Keyak(unsigned int, unsigned int, unsigned int, unsigned int, unsigned int) (Keyakv2.cpp:21)
12 ==11586== by 0x404D16: crypto_aead_riverkeyakv2_refnew_encrypt (encrypt.cpp:41)
13 ==11586== by 0x403164: test() (try.cpp:126)
14 ==11586== by 0x404872: main (try-anything.cpp:295)
15 ==11586== Address 0x656f760 is 0 bytes inside a block of size 100 alloc'd
16 ==11586== at 0x4C2CBB9: operator new[](unsigned long) (vg_replace_malloc.c:433)
17 ==11586== by 0x4099BE: Piston::Piston(Permutation const*, unsigned int, unsigned int) (Motorist.cpp:47)
18 ==11586== by 0x40A52E: Motorist::Motorist(Permutation const*, unsigned int, unsigned int, unsigned int, unsigned int) (Motorist.cpp:177)
19 ==11586== by 0x409069: Keyak::Keyak(unsigned int, unsigned int, unsigned int, unsigned int, unsigned int) (Keyakv2.cpp:21)
20 ==11586== by 0x404D16: crypto_aead_riverkeyakv2_refnew_encrypt (encrypt.cpp:41)
21 ==11586== by 0x403164: test() (try.cpp:126)
22 ==11586== by 0x404872: main (try-anything.cpp:295)
23 ==11586==
24 ==11586== Mismatched free() / delete / delete []
25 ==11586== at 0x4C2D4EA: operator delete(void*) (vg_replace_malloc.c:586)
26 ==11586== by 0x4055EF: void std::_Destroy_aux::__destroy(Piston*, Piston*) (stl_construct.h:103)
27 ==11586== by 0x405561: std::vector >::~vector() (stl_vector.h:426)
28 ==11586== by 0x4054AF: Keyak::~Keyak() (Keyakv2.h:26)
29 ==11586== by 0x404EDE: crypto_aead_riverkeyakv2_refnew_encrypt (encrypt.cpp:50)
30 ==11586== by 0x403164: test() (try.cpp:126)
31 ==11586== by 0x404872: main (try-anything.cpp:295)
32 ==11586== Address 0x656f880 is 0 bytes inside a block of size 100 alloc'd
33 ==11586== at 0x4C2CBB9: operator new[](unsigned long) (vg_replace_malloc.c:433)
34 ==11586== by 0x409C2B: Piston::Piston(Piston const&) (Motorist.cpp:62)
35 ==11586== by 0x40AE52: Piston* std::__uninitialized_fill_n::__uninit_fill_n(Piston*, unsigned long, Piston const&) (stl_uninitialized.h:202)
36 ==11586== by 0x40AD29: std::vector >::_M_fill_initialize(unsigned long, Piston const&) (stl_vector.h:1299)
37 ==11586== by 0x40ABF3: std::vector >::vector(unsigned long, Piston const&, std::allocator const&) (stl_vector.h:308)
38 ==11586== by 0x40A543: Motorist::Motorist(Permutation const*, unsigned int, unsigned int, unsigned int, unsigned int) (Motorist.cpp:177)
39 ==11586== by 0x409069: Keyak::Keyak(unsigned int, unsigned int, unsigned int, unsigned int, unsigned int) (Keyakv2.cpp:21)
40 ==11586== by 0x404D16: crypto_aead_riverkeyakv2_refnew_encrypt (encrypt.cpp:41)
41 ==11586== by 0x403164: test() (try.cpp:126)
42 ==11586== by 0x404872: main (try-anything.cpp:295)
43 ==11586==
44 ==11586== Mismatched free() / delete / delete []
45 ==11586== at 0x4C2D4EA: operator delete(void*) (vg_replace_malloc.c:586)
46 ==11586== by 0x40A54D: Motorist::Motorist(Permutation const*, unsigned int, unsigned int, unsigned int, unsigned int) (Motorist.cpp:177)
47 ==11586== by 0x409069: Keyak::Keyak(unsigned int, unsigned int, unsigned int, unsigned int, unsigned int) (Keyakv2.cpp:21)
48 ==11586== by 0x4051E2: crypto_aead_riverkeyakv2_refnew_decrypt (encrypt.cpp:72)
49 ==11586== by 0x40384B: test() (try.cpp:182)
50 ==11586== by 0x404872: main (try-anything.cpp:295)
51 ==11586== Address 0x676f930 is 0 bytes inside a block of size 100 alloc'd
52 ==11586== at 0x4C2CBB9: operator new[](unsigned long) (vg_replace_malloc.c:433)
53 ==11586== by 0x4099BE: Piston::Piston(Permutation const*, unsigned int, unsigned int) (Motorist.cpp:47)
54 ==11586== by 0x40A52E: Motorist::Motorist(Permutation const*, unsigned int, unsigned int, unsigned int, unsigned int) (Motorist.cpp:177)
55 ==11586== by 0x409069: Keyak::Keyak(unsigned int, unsigned int, unsigned int, unsigned int, unsigned int) (Keyakv2.cpp:21)
56 ==11586== by 0x4051E2: crypto_aead_riverkeyakv2_refnew_decrypt (encrypt.cpp:72)
57 ==11586== by 0x40384B: test() (try.cpp:182)
58 ==11586== by 0x404872: main (try-anything.cpp:295)
59 ==11586==
60 ==11586== Conditional jump or move depends on uninitialised value(s)
61 ==11586== at 0x4C32742: __memcmp_sse4_1 (vg_replace_strmem.c:1112)
62 ==11586== by 0x40B1B0: _ZSteqIcEN9__gnu_cxx11__enable_ifIXsr9__is_charIT_EE7__valueEbE6__typeERKNSt7__cxx1112basic_stringIS2_St11char_traitsIS2_ESaIS2_EEESC_ (basic_string.h:5076)
63 ==11586== by 0x40ACB5: bool std::operator!=, std::allocator >(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::basic_string, std::allocator > const&) (basic_string.h:5115)
64 ==11586== by 0x40A7E6: Motorist::HandleTag(bool, std::__cxx11::basic_stringstream, std::allocator >&, bool) (Motorist.cpp:227)
65 ==11586== by 0x40A9C9: Motorist::Wrap(std::istream&, std::__cxx11::basic_stringstream, std::allocator >&, std::istream&, std::__cxx11::basic_stringstream, std::allocator >&, bool, bool) (Motorist.cpp:202)
66 ==11586== by 0x409345: Keyak::Wrap(std::istream&, std::__cxx11::basic_stringstream, std::allocator >&, std::istream&, std::__cxx11::basic_stringstream, std::allocator >&, bool, bool) (Keyakv2.cpp:49)
67 ==11586== by 0x40524A: crypto_aead_riverkeyakv2_refnew_decrypt (encrypt.cpp:74)
68 ==11586== by 0x403017: timecop_doit() (try.cpp:107)
69 ==11586== by 0x4048D0: main (try-anything.cpp:306)
70 ==11586== Uninitialised value was created by a client request
71 ==11586== at 0x402EB7: timecop_doit() (try.cpp:102)
72 ==11586== by 0x4048D0: main (try-anything.cpp:306)
73 ==11586==
74 ==11586== Conditional jump or move depends on uninitialised value(s)
75 ==11586== at 0x4C32756: __memcmp_sse4_1 (vg_replace_strmem.c:1112)
76 ==11586== by 0x40B1B0: _ZSteqIcEN9__gnu_cxx11__enable_ifIXsr9__is_charIT_EE7__valueEbE6__typeERKNSt7__cxx1112basic_stringIS2_St11char_traitsIS2_ESaIS2_EEESC_ (basic_string.h:5076)
77 ==11586== by 0x40ACB5: bool std::operator!=, std::allocator >(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::basic_string, std::allocator > const&) (basic_string.h:5115)
78 ==11586== by 0x40A7E6: Motorist::HandleTag(bool, std::__cxx11::basic_stringstream, std::allocator >&, bool) (Motorist.cpp:227)
79 ==11586== by 0x40A9C9: Motorist::Wrap(std::istream&, std::__cxx11::basic_stringstream, std::allocator >&, std::istream&, std::__cxx11::basic_stringstream, std::allocator >&, bool, bool) (Motorist.cpp:202)
80 ==11586== by 0x409345: Keyak::Wrap(std::istream&, std::__cxx11::basic_stringstream, std::allocator >&, std::istream&, std::__cxx11::basic_stringstream, std::allocator >&, bool, bool) (Keyakv2.cpp:49)
81 ==11586== by 0x40524A: crypto_aead_riverkeyakv2_refnew_decrypt (encrypt.cpp:74)
82 ==11586== by 0x403017: timecop_doit() (try.cpp:107)
83 ==11586== by 0x4048D0: main (try-anything.cpp:306)
84 ==11586== Uninitialised value was created by a client request
85 ==11586== at 0x402EB7: timecop_doit() (try.cpp:102)
86 ==11586== by 0x4048D0: main (try-anything.cpp:306)
87 ==11586==
88 ==11586==
89 ==11586== HEAP SUMMARY:
90 ==11586== in use at exit: 69,888 bytes in 16 blocks
91 ==11586== total heap usage: 42,960 allocs, 42,944 frees, 4,140,757 bytes allocated
92 ==11586==
93 ==11586== LEAK SUMMARY:
94 ==11586== definitely lost: 0 bytes in 0 blocks
95 ==11586== indirectly lost: 0 bytes in 0 blocks
96 ==11586== possibly lost: 69,888 bytes in 16 blocks
97 ==11586== still reachable: 0 bytes in 0 blocks
98 ==11586== suppressed: 0 bytes in 0 blocks
99 ==11586== Rerun with --leak-check=full to see details of leaked memory
100 ==11586==
101 ==11586== For lists of detected and suppressed errors, rerun with: -s
102 ==11586== ERROR SUMMARY: 52 errors from 5 contexts (suppressed: 0 from 0)