Output save_alt Download

Operation
crypto_aead
Primitive
oceankeyakv2
Implementation
refnew
Compiler options
clang++ -O1 -g
Host
venus
1 error 0
2 1eb1703e2a39a5f203123fc8a7465bebd2db7c1129f9cec96931e56816eec6e0 307424210 3377024924 4300000000 crypto_aead/oceankeyakv2/refnew
3 ==23440== Memcheck, a memory error detector
4 ==23440== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
5 ==23440== Using Valgrind-3.15.0.GIT and LibVEX; rerun with -h for copyright info
6 ==23440== Command: ./try
7 ==23440==
8 ==23440== Mismatched free() / delete / delete []
9 ==23440== at 0x4C2D4EA: operator delete(void*) (vg_replace_malloc.c:586)
10 ==23440== by 0x40A50D: Motorist::Motorist(Permutation const*, unsigned int, unsigned int, unsigned int, unsigned int) (Motorist.cpp:177)
11 ==23440== by 0x409029: Keyak::Keyak(unsigned int, unsigned int, unsigned int, unsigned int, unsigned int) (Keyakv2.cpp:21)
12 ==23440== by 0x404CD6: crypto_aead_oceankeyakv2_refnew_encrypt (encrypt.cpp:41)
13 ==23440== by 0x403164: test() (try.cpp:126)
14 ==23440== by 0x404832: main (try-anything.cpp:295)
15 ==23440== Address 0x656f7c0 is 0 bytes inside a block of size 200 alloc'd
16 ==23440== at 0x4C2CBB9: operator new[](unsigned long) (vg_replace_malloc.c:433)
17 ==23440== by 0x40997E: Piston::Piston(Permutation const*, unsigned int, unsigned int) (Motorist.cpp:47)
18 ==23440== by 0x40A4EE: Motorist::Motorist(Permutation const*, unsigned int, unsigned int, unsigned int, unsigned int) (Motorist.cpp:177)
19 ==23440== by 0x409029: Keyak::Keyak(unsigned int, unsigned int, unsigned int, unsigned int, unsigned int) (Keyakv2.cpp:21)
20 ==23440== by 0x404CD6: crypto_aead_oceankeyakv2_refnew_encrypt (encrypt.cpp:41)
21 ==23440== by 0x403164: test() (try.cpp:126)
22 ==23440== by 0x404832: main (try-anything.cpp:295)
23 ==23440==
24 ==23440== Mismatched free() / delete / delete []
25 ==23440== at 0x4C2D4EA: operator delete(void*) (vg_replace_malloc.c:586)
26 ==23440== by 0x4055AF: void std::_Destroy_aux::__destroy(Piston*, Piston*) (stl_construct.h:103)
27 ==23440== by 0x405521: std::vector >::~vector() (stl_vector.h:426)
28 ==23440== by 0x40546F: Keyak::~Keyak() (Keyakv2.h:26)
29 ==23440== by 0x404E9E: crypto_aead_oceankeyakv2_refnew_encrypt (encrypt.cpp:50)
30 ==23440== by 0x403164: test() (try.cpp:126)
31 ==23440== by 0x404832: main (try-anything.cpp:295)
32 ==23440== Address 0x656f9d0 is 0 bytes inside a block of size 200 alloc'd
33 ==23440== at 0x4C2CBB9: operator new[](unsigned long) (vg_replace_malloc.c:433)
34 ==23440== by 0x409BEB: Piston::Piston(Piston const&) (Motorist.cpp:62)
35 ==23440== by 0x40AE12: Piston* std::__uninitialized_fill_n::__uninit_fill_n(Piston*, unsigned long, Piston const&) (stl_uninitialized.h:202)
36 ==23440== by 0x40ACE9: std::vector >::_M_fill_initialize(unsigned long, Piston const&) (stl_vector.h:1299)
37 ==23440== by 0x40ABB3: std::vector >::vector(unsigned long, Piston const&, std::allocator const&) (stl_vector.h:308)
38 ==23440== by 0x40A503: Motorist::Motorist(Permutation const*, unsigned int, unsigned int, unsigned int, unsigned int) (Motorist.cpp:177)
39 ==23440== by 0x409029: Keyak::Keyak(unsigned int, unsigned int, unsigned int, unsigned int, unsigned int) (Keyakv2.cpp:21)
40 ==23440== by 0x404CD6: crypto_aead_oceankeyakv2_refnew_encrypt (encrypt.cpp:41)
41 ==23440== by 0x403164: test() (try.cpp:126)
42 ==23440== by 0x404832: main (try-anything.cpp:295)
43 ==23440==
44 ==23440== Mismatched free() / delete / delete []
45 ==23440== at 0x4C2D4EA: operator delete(void*) (vg_replace_malloc.c:586)
46 ==23440== by 0x40A50D: Motorist::Motorist(Permutation const*, unsigned int, unsigned int, unsigned int, unsigned int) (Motorist.cpp:177)
47 ==23440== by 0x409029: Keyak::Keyak(unsigned int, unsigned int, unsigned int, unsigned int, unsigned int) (Keyakv2.cpp:21)
48 ==23440== by 0x4051A2: crypto_aead_oceankeyakv2_refnew_decrypt (encrypt.cpp:72)
49 ==23440== by 0x40382F: test() (try.cpp:182)
50 ==23440== by 0x404832: main (try-anything.cpp:295)
51 ==23440== Address 0x6717a90 is 0 bytes inside a block of size 200 alloc'd
52 ==23440== at 0x4C2CBB9: operator new[](unsigned long) (vg_replace_malloc.c:433)
53 ==23440== by 0x40997E: Piston::Piston(Permutation const*, unsigned int, unsigned int) (Motorist.cpp:47)
54 ==23440== by 0x40A4EE: Motorist::Motorist(Permutation const*, unsigned int, unsigned int, unsigned int, unsigned int) (Motorist.cpp:177)
55 ==23440== by 0x409029: Keyak::Keyak(unsigned int, unsigned int, unsigned int, unsigned int, unsigned int) (Keyakv2.cpp:21)
56 ==23440== by 0x4051A2: crypto_aead_oceankeyakv2_refnew_decrypt (encrypt.cpp:72)
57 ==23440== by 0x40382F: test() (try.cpp:182)
58 ==23440== by 0x404832: main (try-anything.cpp:295)
59 ==23440==
60 ==23440== Conditional jump or move depends on uninitialised value(s)
61 ==23440== at 0x4C32742: __memcmp_sse4_1 (vg_replace_strmem.c:1112)
62 ==23440== by 0x40B170: _ZSteqIcEN9__gnu_cxx11__enable_ifIXsr9__is_charIT_EE7__valueEbE6__typeERKNSt7__cxx1112basic_stringIS2_St11char_traitsIS2_ESaIS2_EEESC_ (basic_string.h:5076)
63 ==23440== by 0x40AC75: bool std::operator!=, std::allocator >(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::basic_string, std::allocator > const&) (basic_string.h:5115)
64 ==23440== by 0x40A7A6: Motorist::HandleTag(bool, std::__cxx11::basic_stringstream, std::allocator >&, bool) (Motorist.cpp:227)
65 ==23440== by 0x40A989: Motorist::Wrap(std::istream&, std::__cxx11::basic_stringstream, std::allocator >&, std::istream&, std::__cxx11::basic_stringstream, std::allocator >&, bool, bool) (Motorist.cpp:202)
66 ==23440== by 0x409305: Keyak::Wrap(std::istream&, std::__cxx11::basic_stringstream, std::allocator >&, std::istream&, std::__cxx11::basic_stringstream, std::allocator >&, bool, bool) (Keyakv2.cpp:49)
67 ==23440== by 0x40520A: crypto_aead_oceankeyakv2_refnew_decrypt (encrypt.cpp:74)
68 ==23440== by 0x403017: timecop_doit() (try.cpp:107)
69 ==23440== by 0x404890: main (try-anything.cpp:306)
70 ==23440== Uninitialised value was created by a client request
71 ==23440== at 0x402EB7: timecop_doit() (try.cpp:102)
72 ==23440== by 0x404890: main (try-anything.cpp:306)
73 ==23440==
74 ==23440== Conditional jump or move depends on uninitialised value(s)
75 ==23440== at 0x4C32756: __memcmp_sse4_1 (vg_replace_strmem.c:1112)
76 ==23440== by 0x40B170: _ZSteqIcEN9__gnu_cxx11__enable_ifIXsr9__is_charIT_EE7__valueEbE6__typeERKNSt7__cxx1112basic_stringIS2_St11char_traitsIS2_ESaIS2_EEESC_ (basic_string.h:5076)
77 ==23440== by 0x40AC75: bool std::operator!=, std::allocator >(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::basic_string, std::allocator > const&) (basic_string.h:5115)
78 ==23440== by 0x40A7A6: Motorist::HandleTag(bool, std::__cxx11::basic_stringstream, std::allocator >&, bool) (Motorist.cpp:227)
79 ==23440== by 0x40A989: Motorist::Wrap(std::istream&, std::__cxx11::basic_stringstream, std::allocator >&, std::istream&, std::__cxx11::basic_stringstream, std::allocator >&, bool, bool) (Motorist.cpp:202)
80 ==23440== by 0x409305: Keyak::Wrap(std::istream&, std::__cxx11::basic_stringstream, std::allocator >&, std::istream&, std::__cxx11::basic_stringstream, std::allocator >&, bool, bool) (Keyakv2.cpp:49)
81 ==23440== by 0x40520A: crypto_aead_oceankeyakv2_refnew_decrypt (encrypt.cpp:74)
82 ==23440== by 0x403017: timecop_doit() (try.cpp:107)
83 ==23440== by 0x404890: main (try-anything.cpp:306)
84 ==23440== Uninitialised value was created by a client request
85 ==23440== at 0x402EB7: timecop_doit() (try.cpp:102)
86 ==23440== by 0x404890: main (try-anything.cpp:306)
87 ==23440==
88 ==23440==
89 ==23440== HEAP SUMMARY:
90 ==23440== in use at exit: 69,888 bytes in 16 blocks
91 ==23440== total heap usage: 34,256 allocs, 34,240 frees, 3,592,469 bytes allocated
92 ==23440==
93 ==23440== LEAK SUMMARY:
94 ==23440== definitely lost: 0 bytes in 0 blocks
95 ==23440== indirectly lost: 0 bytes in 0 blocks
96 ==23440== possibly lost: 69,888 bytes in 16 blocks
97 ==23440== still reachable: 0 bytes in 0 blocks
98 ==23440== suppressed: 0 bytes in 0 blocks
99 ==23440== Rerun with --leak-check=full to see details of leaked memory
100 ==23440==
101 ==23440== For lists of detected and suppressed errors, rerun with: -s
102 ==23440== ERROR SUMMARY: 124 errors from 5 contexts (suppressed: 0 from 0)