Advertisement
Guest User

Untitled

a guest
Apr 2nd, 2018
252
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.31 KB | None | 0 0
  1. [C]$ valgrind --leak-check=yes ./chars
  2. ==17507== Memcheck, a memory error detector
  3. ==17507== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
  4. ==17507== Using Valgrind-3.13.0 and LibVEX; rerun with -h for copyright info
  5. ==17507== Command: ./chars
  6. ==17507==
  7. vex amd64->IR: unhandled instruction bytes: 0x8F 0xEA 0x78 0x10 0xD0 0x8 0x4 0x0 0x0 0x89
  8. vex amd64->IR: REX=0 REX.W=0 REX.R=0 REX.X=0 REX.B=0
  9. vex amd64->IR: VEX=0 VEX.L=0 VEX.nVVVV=0x0 ESC=NONE
  10. vex amd64->IR: PFX.66=0 PFX.F2=0 PFX.F3=0
  11. ==17507== valgrind: Unrecognised instruction at address 0x4016bd9.
  12. ==17507== at 0x4016BD9: get_common_indeces.constprop.1 (in /lib64/ld-2.25.so)
  13. ==17507== by 0x4017140: _dl_sysdep_start (in /lib64/ld-2.25.so)
  14. ==17507== by 0x40019F1: _dl_start (in /lib64/ld-2.25.so)
  15. ==17507== by 0x4000B87: ??? (in /lib64/ld-2.25.so)
  16. ==17507== Your program just tried to execute an instruction that Valgrind
  17. ==17507== did not recognise. There are two possible reasons for this.
  18. ==17507== 1. Your program has a bug and erroneously jumped to a non-code
  19. ==17507== location. If you are running Memcheck and you just saw a
  20. ==17507== warning about a bad jump, it's probably your program's fault.
  21. ==17507== 2. The instruction is legitimate but Valgrind doesn't handle it,
  22. ==17507== i.e. it's Valgrind's fault. If you think this is the case or
  23. ==17507== you are not sure, please let us know and we'll try to fix it.
  24. ==17507== Either way, Valgrind will now raise a SIGILL signal which will
  25. ==17507== probably kill your program.
  26. ==17507==
  27. ==17507== Process terminating with default action of signal 4 (SIGILL)
  28. ==17507== Illegal opcode at address 0x4016BD9
  29. ==17507== at 0x4016BD9: get_common_indeces.constprop.1 (in /lib64/ld-2.25.so)
  30. ==17507== by 0x4017140: _dl_sysdep_start (in /lib64/ld-2.25.so)
  31. ==17507== by 0x40019F1: _dl_start (in /lib64/ld-2.25.so)
  32. ==17507== by 0x4000B87: ??? (in /lib64/ld-2.25.so)
  33. ==17507==
  34. ==17507== HEAP SUMMARY:
  35. ==17507== in use at exit: 0 bytes in 0 blocks
  36. ==17507== total heap usage: 0 allocs, 0 frees, 0 bytes allocated
  37. ==17507==
  38. ==17507== All heap blocks were freed -- no leaks are possible
  39. ==17507==
  40. ==17507== For counts of detected and suppressed errors, rerun with: -v
  41. ==17507== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
  42. Illegal instruction
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement