Shellcode validation via C pointer

C snippet to test the shellcode replace your shellcode with your custom payload