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/pd-motex-1.1.4/rec2pol~.c
Examining data/pd-motex-1.1.4/shuffle.c
Examining data/pd-motex-1.1.4/polygate~.c
Examining data/pd-motex-1.1.4/pansig~.c
Examining data/pd-motex-1.1.4/ln~.c
Examining data/pd-motex-1.1.4/pan~.c
Examining data/pd-motex-1.1.4/pol2rec~.c
Examining data/pd-motex-1.1.4/getenv.c
Examining data/pd-motex-1.1.4/system.c

FINAL RESULTS:

data/pd-motex-1.1.4/system.c:33:16:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
typedef struct system
data/pd-motex-1.1.4/system.c:43:3:  [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(message, s->s_name);
data/pd-motex-1.1.4/system.c:48:7:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
      strcat(message, buf);
data/pd-motex-1.1.4/system.c:52:3:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  system(message);
data/pd-motex-1.1.4/getenv.c:54:21:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
      char *value = getenv(argv[0].a_w.w_symbol->s_name);
data/pd-motex-1.1.4/getenv.c:70:17:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
  char *value = getenv(f->s_name);
data/pd-motex-1.1.4/shuffle.c:213:3:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  srand( (unsigned)time( NULL ) );  
data/pd-motex-1.1.4/system.c:41:3:  [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 buf[MAXPDSTRING], message[MAXPDSTRING];
data/pd-motex-1.1.4/system.c:44:3:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
  strcat(message, " ");
data/pd-motex-1.1.4/system.c:50:2:  [1] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant character.
	strcat(message, " ");

ANALYSIS SUMMARY:

Hits = 10
Lines analyzed = 1550 in approximately 0.05 seconds (29504 lines/second)
Physical Source Lines of Code (SLOC) = 1091
Hits@level = [0]   0 [1]   2 [2]   1 [3]   3 [4]   4 [5]   0
Hits@level+ = [0+]  10 [1+]  10 [2+]   8 [3+]   7 [4+]   4 [5+]   0
Hits/KSLOC@level+ = [0+] 9.1659 [1+] 9.1659 [2+] 7.33272 [3+] 6.41613 [4+] 3.66636 [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.