2 votes

Linux x86_64 Assembly works standalone, but Segfaults when ran as shellcode in C

I would probably think that this is due to you trying to execute code which is stored in the heap (your shellcode table). The heap in x86-64 architecture does not allow executable code. One way to get ...
J-Ro's user avatar
  • 21

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