Output save_alt Download

Operation
crypto_aead
Primitive
oceankeyakv2
Implementation
ref
Compiler options
clang++ -O1 -g
Host
venus
1 error 0
2 1eb1703e2a39a5f203123fc8a7465bebd2db7c1129f9cec96931e56816eec6e0 307651754 3420572349 4300000000 crypto_aead/oceankeyakv2/ref
3 ==21863== Memcheck, a memory error detector
4 ==21863== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
5 ==21863== Using Valgrind-3.15.0.GIT and LibVEX; rerun with -h for copyright info
6 ==21863== Command: ./try
7 ==21863==
8 ==21863== Mismatched free() / delete / delete []
9 ==21863== at 0x4C2D4EA: operator delete(void*) (vg_replace_malloc.c:586)
10 ==21863== by 0x40A03E: Motorist::Motorist(Permutation const*, unsigned int, unsigned int, unsigned int, unsigned int) (Motorist.cpp:200)
11 ==21863== by 0x408E5E: Keyak::Keyak(unsigned int, unsigned int, unsigned int, unsigned int, unsigned int) (Keyakv2.cpp:21)
12 ==21863== by 0x404C96: crypto_aead_oceankeyakv2_ref_encrypt (encrypt.cpp:41)
13 ==21863== by 0x403124: test() (try.cpp:126)
14 ==21863== by 0x4047F2: main (try-anything.cpp:295)
15 ==21863== Address 0x656f7c0 is 0 bytes inside a block of size 200 alloc'd
16 ==21863== at 0x4C2CBB9: operator new[](unsigned long) (vg_replace_malloc.c:433)
17 ==21863== by 0x4092DF: Piston::Piston(Permutation const*, unsigned int, unsigned int) (Motorist.cpp:43)
18 ==21863== by 0x40A01F: Motorist::Motorist(Permutation const*, unsigned int, unsigned int, unsigned int, unsigned int) (Motorist.cpp:200)
19 ==21863== by 0x408E5E: Keyak::Keyak(unsigned int, unsigned int, unsigned int, unsigned int, unsigned int) (Keyakv2.cpp:21)
20 ==21863== by 0x404C96: crypto_aead_oceankeyakv2_ref_encrypt (encrypt.cpp:41)
21 ==21863== by 0x403124: test() (try.cpp:126)
22 ==21863== by 0x4047F2: main (try-anything.cpp:295)
23 ==21863==
24 ==21863== Mismatched free() / delete / delete []
25 ==21863== at 0x4C2D4EA: operator delete(void*) (vg_replace_malloc.c:586)
26 ==21863== by 0x40566F: void std::_Destroy_aux::__destroy(Piston*, Piston*) (stl_construct.h:103)
27 ==21863== by 0x405531: std::vector >::~vector() (stl_vector.h:426)
28 ==21863== by 0x40542F: Keyak::~Keyak() (Keyakv2.h:26)
29 ==21863== by 0x404E5E: crypto_aead_oceankeyakv2_ref_encrypt (encrypt.cpp:50)
30 ==21863== by 0x403124: test() (try.cpp:126)
31 ==21863== by 0x4047F2: main (try-anything.cpp:295)
32 ==21863== Address 0x656f9b0 is 0 bytes inside a block of size 200 alloc'd
33 ==21863== at 0x4C2CBB9: operator new[](unsigned long) (vg_replace_malloc.c:433)
34 ==21863== by 0x409471: Piston::Piston(Piston const&) (Motorist.cpp:57)
35 ==21863== by 0x40B0F2: Piston* std::__uninitialized_fill_n::__uninit_fill_n(Piston*, unsigned long, Piston const&) (stl_uninitialized.h:202)
36 ==21863== by 0x40AFC9: std::vector >::_M_fill_initialize(unsigned long, Piston const&) (stl_vector.h:1299)
37 ==21863== by 0x40A913: std::vector >::vector(unsigned long, Piston const&, std::allocator const&) (stl_vector.h:308)
38 ==21863== by 0x40A034: Motorist::Motorist(Permutation const*, unsigned int, unsigned int, unsigned int, unsigned int) (Motorist.cpp:200)
39 ==21863== by 0x408E5E: Keyak::Keyak(unsigned int, unsigned int, unsigned int, unsigned int, unsigned int) (Keyakv2.cpp:21)
40 ==21863== by 0x404C96: crypto_aead_oceankeyakv2_ref_encrypt (encrypt.cpp:41)
41 ==21863== by 0x403124: test() (try.cpp:126)
42 ==21863== by 0x4047F2: main (try-anything.cpp:295)
43 ==21863==
44 ==21863== Mismatched free() / delete / delete []
45 ==21863== at 0x4C2D4EA: operator delete(void*) (vg_replace_malloc.c:586)
46 ==21863== by 0x40A03E: Motorist::Motorist(Permutation const*, unsigned int, unsigned int, unsigned int, unsigned int) (Motorist.cpp:200)
47 ==21863== by 0x408E5E: Keyak::Keyak(unsigned int, unsigned int, unsigned int, unsigned int, unsigned int) (Keyakv2.cpp:21)
48 ==21863== by 0x405162: crypto_aead_oceankeyakv2_ref_decrypt (encrypt.cpp:72)
49 ==21863== by 0x4037EF: test() (try.cpp:182)
50 ==21863== by 0x4047F2: main (try-anything.cpp:295)
51 ==21863== Address 0x67184a0 is 0 bytes inside a block of size 200 alloc'd
52 ==21863== at 0x4C2CBB9: operator new[](unsigned long) (vg_replace_malloc.c:433)
53 ==21863== by 0x4092DF: Piston::Piston(Permutation const*, unsigned int, unsigned int) (Motorist.cpp:43)
54 ==21863== by 0x40A01F: Motorist::Motorist(Permutation const*, unsigned int, unsigned int, unsigned int, unsigned int) (Motorist.cpp:200)
55 ==21863== by 0x408E5E: Keyak::Keyak(unsigned int, unsigned int, unsigned int, unsigned int, unsigned int) (Keyakv2.cpp:21)
56 ==21863== by 0x405162: crypto_aead_oceankeyakv2_ref_decrypt (encrypt.cpp:72)
57 ==21863== by 0x4037EF: test() (try.cpp:182)
58 ==21863== by 0x4047F2: main (try-anything.cpp:295)
59 ==21863==
60 ==21863== Conditional jump or move depends on uninitialised value(s)
61 ==21863== at 0x4C32742: __memcmp_sse4_1 (vg_replace_strmem.c:1112)
62 ==21863== by 0x40B1E0: _ZSteqIcEN9__gnu_cxx11__enable_ifIXsr9__is_charIT_EE7__valueEbE6__typeERKNSt7__cxx1112basic_stringIS2_St11char_traitsIS2_ESaIS2_EEESC_ (basic_string.h:5076)
63 ==21863== by 0x40A975: bool std::operator!=, std::allocator >(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::basic_string, std::allocator > const&) (basic_string.h:5115)
64 ==21863== by 0x40A326: Motorist::HandleTag(bool, std::__cxx11::basic_stringstream, std::allocator >&, bool) (Motorist.cpp:257)
65 ==21863== by 0x40A57B: Motorist::Wrap(std::istream&, std::__cxx11::basic_stringstream, std::allocator >&, std::istream&, std::__cxx11::basic_stringstream, std::allocator >&, bool, bool) (Motorist.cpp:232)
66 ==21863== by 0x4090C5: Keyak::Wrap(std::istream&, std::__cxx11::basic_stringstream, std::allocator >&, std::istream&, std::__cxx11::basic_stringstream, std::allocator >&, bool, bool) (Keyakv2.cpp:44)
67 ==21863== by 0x4051CA: crypto_aead_oceankeyakv2_ref_decrypt (encrypt.cpp:74)
68 ==21863== by 0x402FD7: timecop_doit() (try.cpp:107)
69 ==21863== by 0x404850: main (try-anything.cpp:306)
70 ==21863== Uninitialised value was created by a client request
71 ==21863== at 0x402E77: timecop_doit() (try.cpp:102)
72 ==21863== by 0x404850: main (try-anything.cpp:306)
73 ==21863==
74 ==21863== Conditional jump or move depends on uninitialised value(s)
75 ==21863== at 0x4C32756: __memcmp_sse4_1 (vg_replace_strmem.c:1112)
76 ==21863== by 0x40B1E0: _ZSteqIcEN9__gnu_cxx11__enable_ifIXsr9__is_charIT_EE7__valueEbE6__typeERKNSt7__cxx1112basic_stringIS2_St11char_traitsIS2_ESaIS2_EEESC_ (basic_string.h:5076)
77 ==21863== by 0x40A975: bool std::operator!=, std::allocator >(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::basic_string, std::allocator > const&) (basic_string.h:5115)
78 ==21863== by 0x40A326: Motorist::HandleTag(bool, std::__cxx11::basic_stringstream, std::allocator >&, bool) (Motorist.cpp:257)
79 ==21863== by 0x40A57B: Motorist::Wrap(std::istream&, std::__cxx11::basic_stringstream, std::allocator >&, std::istream&, std::__cxx11::basic_stringstream, std::allocator >&, bool, bool) (Motorist.cpp:232)
80 ==21863== by 0x4090C5: Keyak::Wrap(std::istream&, std::__cxx11::basic_stringstream, std::allocator >&, std::istream&, std::__cxx11::basic_stringstream, std::allocator >&, bool, bool) (Keyakv2.cpp:44)
81 ==21863== by 0x4051CA: crypto_aead_oceankeyakv2_ref_decrypt (encrypt.cpp:74)
82 ==21863== by 0x402FD7: timecop_doit() (try.cpp:107)
83 ==21863== by 0x404850: main (try-anything.cpp:306)
84 ==21863== Uninitialised value was created by a client request
85 ==21863== at 0x402E77: timecop_doit() (try.cpp:102)
86 ==21863== by 0x404850: main (try-anything.cpp:306)
87 ==21863==
88 ==21863==
89 ==21863== HEAP SUMMARY:
90 ==21863== in use at exit: 69,888 bytes in 16 blocks
91 ==21863== total heap usage: 34,376 allocs, 34,360 frees, 3,593,621 bytes allocated
92 ==21863==
93 ==21863== LEAK SUMMARY:
94 ==21863== definitely lost: 0 bytes in 0 blocks
95 ==21863== indirectly lost: 0 bytes in 0 blocks
96 ==21863== possibly lost: 69,888 bytes in 16 blocks
97 ==21863== still reachable: 0 bytes in 0 blocks
98 ==21863== suppressed: 0 bytes in 0 blocks
99 ==21863== Rerun with --leak-check=full to see details of leaked memory
100 ==21863==
101 ==21863== For lists of detected and suppressed errors, rerun with: -s
102 ==21863== ERROR SUMMARY: 124 errors from 5 contexts (suppressed: 0 from 0)