Hot answers tagged

1 vote
Accepted

Why this x64 shellcode doesn't work?(segmentation fault)

Your buf variable is a global variable, which most likely is located inside .data section. This section is not executable by default (it probably has RW permissions). You can check its permissions ...
Qwark's user avatar
  • 72

Only top scored, non community-wiki answers of a minimum length are eligible