error 0 ==29509== Memcheck, a memory error detector ==29509== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==29509== Using Valgrind-3.15.0.GIT and LibVEX; rerun with -h for copyright info ==29509== Command: ./try ==29509== vex amd64->IR: unhandled instruction bytes: 0x48 0xF 0xC7 0xF7 0xF 0x92 0xC0 0x83 0xEA 0x1 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 ==29509== valgrind: Unrecognised instruction at address 0x114000. ==29509== at 0x114000: crandom_generate (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try) ==29509== by 0x10B6EA: goldilocks_keygen (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try) ==29509== by 0x10B062: crypto_dh_ed448goldilocks_32_keypair (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try) ==29509== by 0x1096A8: test (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try) ==29509== by 0x109084: main (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try) ==29509== Your program just tried to execute an instruction that Valgrind ==29509== did not recognise. There are two possible reasons for this. ==29509== 1. Your program has a bug and erroneously jumped to a non-code ==29509== location. If you are running Memcheck and you just saw a ==29509== warning about a bad jump, it's probably your program's fault. ==29509== 2. The instruction is legitimate but Valgrind doesn't handle it, ==29509== i.e. it's Valgrind's fault. If you think this is the case or ==29509== you are not sure, please let us know and we'll try to fix it. ==29509== Either way, Valgrind will now raise a SIGILL signal which will ==29509== probably kill your program. ==29509== ==29509== Process terminating with default action of signal 4 (SIGILL) ==29509== Illegal opcode at address 0x114000 ==29509== at 0x114000: crandom_generate (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try) ==29509== by 0x10B6EA: goldilocks_keygen (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try) ==29509== by 0x10B062: crypto_dh_ed448goldilocks_32_keypair (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try) ==29509== by 0x1096A8: test (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try) ==29509== by 0x109084: main (in /home/moritz/Uni/2015-2016/research-internship/letstrythisagain/supercop-20181113/bench/venus/work/compile/try) ==29509== ==29509== HEAP SUMMARY: ==29509== in use at exit: 4,800 bytes in 12 blocks ==29509== total heap usage: 22 allocs, 10 frees, 27,704 bytes allocated ==29509== ==29509== LEAK SUMMARY: ==29509== definitely lost: 0 bytes in 0 blocks ==29509== indirectly lost: 0 bytes in 0 blocks ==29509== possibly lost: 4,800 bytes in 12 blocks ==29509== still reachable: 0 bytes in 0 blocks ==29509== suppressed: 0 bytes in 0 blocks ==29509== Rerun with --leak-check=full to see details of leaked memory ==29509== ==29509== For lists of detected and suppressed errors, rerun with: -s ==29509== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)