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/devilspie2-0.43/src/error_strings.c
Examining data/devilspie2-0.43/src/script.c
Examining data/devilspie2-0.43/src/xutils.c
Examining data/devilspie2-0.43/src/config.h
Examining data/devilspie2-0.43/src/devilspie2.c
Examining data/devilspie2-0.43/src/error_strings.h
Examining data/devilspie2-0.43/src/script_functions.c
Examining data/devilspie2-0.43/src/script_functions.h
Examining data/devilspie2-0.43/src/script.h
Examining data/devilspie2-0.43/src/config.c
Examining data/devilspie2-0.43/src/xutils.h

FINAL RESULTS:

data/devilspie2-0.43/src/config.c:42:7:  [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.
const char *event_names[W_NUM_EVENTS] = {
data/devilspie2-0.43/src/config.h:38:14:  [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.
extern const char *event_names[W_NUM_EVENTS];
data/devilspie2-0.43/src/xutils.c:342: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(*cardinals, nums, sizeof (gulong) * nitems);

ANALYSIS SUMMARY:

Hits = 3
Lines analyzed = 4104 in approximately 0.62 seconds (6660 lines/second)
Physical Source Lines of Code (SLOC) = 2498
Hits@level = [0]  60 [1]   0 [2]   3 [3]   0 [4]   0 [5]   0
Hits@level+ = [0+]  63 [1+]   3 [2+]   3 [3+]   0 [4+]   0 [5+]   0
Hits/KSLOC@level+ = [0+] 25.2202 [1+] 1.20096 [2+] 1.20096 [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.