#include int main() { char *path = "/bin/sh"; char *argv[] = {path, NULL}; char *envp[] = {NULL}; execve(path, argv, envp); } /* 0000000000401040
: 401040: 48 83 ec 28 sub $0x28,%rsp 401044: bf 10 20 40 00 mov $0x402010,%edi 401049: 48 8d 54 24 08 lea 0x8(%rsp),%rdx 40104e: 48 8d 74 24 10 lea 0x10(%rsp),%rsi 401053: 48 c7 44 24 10 10 20 movq $0x402010,0x10(%rsp) 40105a: 40 00 40105c: 48 c7 44 24 18 00 00 movq $0x0,0x18(%rsp) 401063: 00 00 401065: 48 c7 44 24 08 00 00 movq $0x0,0x8(%rsp) 40106c: 00 00 40106e: e8 bd ff ff ff callq 401030 401073: 31 c0 xor %eax,%eax 401075: 48 83 c4 28 add $0x28,%rsp 401079: c3 retq */