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