Flawfinder version 2.0.10, (C) 2001-2019 David A. Wheeler.
Number of rules (primarily dangerous function names) in C/C++ ruleset: 223
Examining data/python-ptrace-0.9.3/tests/crash/invalid_read.c
Examining data/python-ptrace-0.9.3/tests/crash/call_null.c
Examining data/python-ptrace-0.9.3/tests/crash/execve.c
Examining data/python-ptrace-0.9.3/tests/crash/abort.c
Examining data/python-ptrace-0.9.3/tests/crash/pthread.c
Examining data/python-ptrace-0.9.3/tests/crash/socket_ipv4_tcp.c
Examining data/python-ptrace-0.9.3/tests/crash/stack_overflow.c
Examining data/python-ptrace-0.9.3/tests/crash/fork.c
Examining data/python-ptrace-0.9.3/tests/crash/div_zero.c
Examining data/python-ptrace-0.9.3/tests/crash/invalid_write.c
Examining data/python-ptrace-0.9.3/cptrace/cptrace.c

FINAL RESULTS:

data/python-ptrace-0.9.3/tests/crash/stack_overflow.c:3:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buffer[4096];

ANALYSIS SUMMARY:

Hits = 1
Lines analyzed = 308 in approximately 0.03 seconds (8845 lines/second)
Physical Source Lines of Code (SLOC) = 263
Hits@level = [0]   9 [1]   0 [2]   1 [3]   0 [4]   0 [5]   0
Hits@level+ = [0+]  10 [1+]   1 [2+]   1 [3+]   0 [4+]   0 [5+]   0
Hits/KSLOC@level+ = [0+] 38.0228 [1+] 3.80228 [2+] 3.80228 [3+]   0 [4+]   0 [5+]   0
Dot directories skipped = 1 (--followdotdir overrides)
Minimum risk level = 1
Not every hit is necessarily a security vulnerability.
There may be other security vulnerabilities; review your code!
See 'Secure Programming HOWTO'
(https://dwheeler.com/secure-programs) for more information.