Help for this page

Select Code to Download


  1. or download this
    /* bliako modified https://reverseengineering.stackexchange.com/a/1931
       for https://perlmonks.org/?node_id=3333;parent=1229102
    ...
        }
        return 0;
    }
    
  2. or download this
    gcc tracee.c -o tracee && TRACEME=0 tracee
    
    strace -p <PID-from-traceed>
    
    strace: attach: ptrace(PTRACE_SEIZE, 11091): Operation not permitted
    
  3. or download this
    TRACEME=1 tracee
    
    strace -p <PID-from-tracee>