Output save_alt Download

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