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/pycifrw-4.4/src/lib/lex.yy.c
Examining data/pycifrw-4.4/src/lib/py_star_scan.c
Examining data/pycifrw-4.4/src/lib/star_scanner.h

FINAL RESULTS:

data/pycifrw-4.4/src/lib/lex.yy.c:568:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(buf,input_string+string_pos,max_size);\
data/pycifrw-4.4/src/lib/lex.yy.c:572:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(buf,input_string+string_pos,in_string_len - string_pos);\
data/pycifrw-4.4/src/lib/lex.yy.c:682:14:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			     (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
data/pycifrw-4.4/src/lib/lex.yy.c:958:47:  [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).
                       int       i = yyleng - strlen(p);
data/pycifrw-4.4/src/lib/lex.yy.c:986:47:  [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).
                       int       i = yyleng - strlen(p);
data/pycifrw-4.4/src/lib/lex.yy.c:1778:29:  [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).
	return yy_scan_bytes(yystr,strlen(yystr) );
data/pycifrw-4.4/src/lib/py_star_scan.c:74:17:  [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_string_len = strlen(input_string);
data/pycifrw-4.4/src/lib/py_star_scan.c:127:1:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
strncpy(save_str,yytext,yyleng+1);

ANALYSIS SUMMARY:

Hits = 8
Lines analyzed = 2276 in approximately 0.10 seconds (22365 lines/second)
Physical Source Lines of Code (SLOC) = 1468
Hits@level = [0]   3 [1]   8 [2]   0 [3]   0 [4]   0 [5]   0
Hits@level+ = [0+]  11 [1+]   8 [2+]   0 [3+]   0 [4+]   0 [5+]   0
Hits/KSLOC@level+ = [0+] 7.49319 [1+] 5.44959 [2+]   0 [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.