warning: Error disabling address space randomization: Operation not permitted

后端 未结 3 537
臣服心动
臣服心动 2020-12-22 20:54

what have i done wrong (or didn\'t do) that gdb is not working properly for me?

root@6be3d60ab7c6:/# cat minimal.c 
int main()
{
  int i = 1337;         


        
3条回答
  •  再見小時候
    2020-12-22 21:47

    If you're using Docker, you probably need the --security-opt seccomp=unconfined option (as well as enabling ptrace):

    docker run --cap-add=SYS_PTRACE --security-opt seccomp=unconfined
    

提交回复
热议问题