error 0 ==28660== Memcheck, a memory error detector ==28660== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==28660== Using Valgrind-3.15.0.GIT and LibVEX; rerun with -h for copyright info ==28660== Command: ./try ==28660== vex amd64->IR: unhandled instruction bytes: 0x48 0xF 0xC7 0xF2 0xF 0x92 0xC0 0x85 0xC9 0x74 vex amd64->IR: REX=1 REX.W=1 REX.R=0 REX.X=0 REX.B=0 vex amd64->IR: VEX=0 VEX.L=0 VEX.nVVVV=0x0 ESC=0F vex amd64->IR: PFX.66=0 PFX.F2=0 PFX.F3=0 ==28660== valgrind: Unrecognised instruction at address 0x40b2b2. ==28660== at 0x40B2B2: crandom_generate (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try) ==28660== by 0x402DC6: goldilocks_keygen (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try) ==28660== by 0x402AC4: crypto_dh_ed448goldilocks_amd64_keypair (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try) ==28660== by 0x401356: test (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try) ==28660== by 0x402680: main (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try) ==28660== Your program just tried to execute an instruction that Valgrind ==28660== did not recognise. There are two possible reasons for this. ==28660== 1. Your program has a bug and erroneously jumped to a non-code ==28660== location. If you are running Memcheck and you just saw a ==28660== warning about a bad jump, it's probably your program's fault. ==28660== 2. The instruction is legitimate but Valgrind doesn't handle it, ==28660== i.e. it's Valgrind's fault. If you think this is the case or ==28660== you are not sure, please let us know and we'll try to fix it. ==28660== Either way, Valgrind will now raise a SIGILL signal which will ==28660== probably kill your program. ==28660== ==28660== Process terminating with default action of signal 4 (SIGILL) ==28660== Illegal opcode at address 0x40B2B2 ==28660== at 0x40B2B2: crandom_generate (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try) ==28660== by 0x402DC6: goldilocks_keygen (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try) ==28660== by 0x402AC4: crypto_dh_ed448goldilocks_amd64_keypair (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try) ==28660== by 0x401356: test (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try) ==28660== by 0x402680: main (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try) ==28660== ==28660== HEAP SUMMARY: ==28660== in use at exit: 4,800 bytes in 12 blocks ==28660== total heap usage: 22 allocs, 10 frees, 30,008 bytes allocated ==28660== ==28660== LEAK SUMMARY: ==28660== definitely lost: 0 bytes in 0 blocks ==28660== indirectly lost: 0 bytes in 0 blocks ==28660== possibly lost: 4,800 bytes in 12 blocks ==28660== still reachable: 0 bytes in 0 blocks ==28660== suppressed: 0 bytes in 0 blocks ==28660== Rerun with --leak-check=full to see details of leaked memory ==28660== ==28660== For lists of detected and suppressed errors, rerun with: -s ==28660== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)