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/libfakekey-0.3+git20170516/tests/fakekey-test.c
Examining data/libfakekey-0.3+git20170516/src/libfakekey.c
Examining data/libfakekey-0.3+git20170516/fakekey/fakekey.h

FINAL RESULTS:

data/libfakekey-0.3+git20170516/src/libfakekey.c:38:2:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
 fprintf (stderr,  __FILE__ ":%d,%s() " x "\n", __LINE__, __func__, ##a)
data/libfakekey-0.3+git20170516/src/libfakekey.c:407:19:  [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).
      len_bytes = strlen(utf8_char_in); 	/* OK ? */

ANALYSIS SUMMARY:

Hits = 2
Lines analyzed = 630 in approximately 0.03 seconds (19525 lines/second)
Physical Source Lines of Code (SLOC) = 356
Hits@level = [0]   1 [1]   1 [2]   0 [3]   0 [4]   1 [5]   0
Hits@level+ = [0+]   3 [1+]   2 [2+]   1 [3+]   1 [4+]   1 [5+]   0
Hits/KSLOC@level+ = [0+] 8.42697 [1+] 5.61798 [2+] 2.80899 [3+] 2.80899 [4+] 2.80899 [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.