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/pgpcre-0.20190509/pgpcre.c

FINAL RESULTS:

data/pgpcre-0.20190509/pgpcre.c:98:2:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
	strcpy(result->data, input_string);
data/pgpcre-0.20190509/pgpcre.c:41:2:  [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		data[FLEXIBLE_ARRAY_MEMBER];  /* original pattern string
data/pgpcre-0.20190509/pgpcre.c:99:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy(result->data + in_strlen + 1, pc, pcsize);
data/pgpcre-0.20190509/pgpcre.c:67:14:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	in_strlen = strlen(input_string);
data/pgpcre-0.20190509/pgpcre.c:168:40:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		rc = pcre_exec(pc, NULL, utf8string, strlen(utf8string), 0, 0, ovector, ovecsize);

ANALYSIS SUMMARY:

Hits = 5
Lines analyzed = 329 in approximately 0.02 seconds (15826 lines/second)
Physical Source Lines of Code (SLOC) = 262
Hits@level = [0]   0 [1]   2 [2]   2 [3]   0 [4]   1 [5]   0
Hits@level+ = [0+]   5 [1+]   5 [2+]   3 [3+]   1 [4+]   1 [5+]   0
Hits/KSLOC@level+ = [0+] 19.084 [1+] 19.084 [2+] 11.4504 [3+] 3.81679 [4+] 3.81679 [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.