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-creb-0.9.2+darcs20151027/modules++/DSPIcomplex.h
Examining data/pd-creb-0.9.2+darcs20151027/modules++/DSPIfilters.h
Examining data/pd-creb-0.9.2+darcs20151027/modules++/DSPI.h
Examining data/pd-creb-0.9.2+darcs20151027/modules++/biquadseries~.cc
Examining data/pd-creb-0.9.2+darcs20151027/modules++/blosc~.cc
Examining data/pd-creb-0.9.2+darcs20151027/modules++/filterortho~.cc
Examining data/pd-creb-0.9.2+darcs20151027/modules/fwarp.c
Examining data/pd-creb-0.9.2+darcs20151027/modules/statwav~.c
Examining data/pd-creb-0.9.2+darcs20151027/modules/extlib_util.h
Examining data/pd-creb-0.9.2+darcs20151027/modules/filters.h
Examining data/pd-creb-0.9.2+darcs20151027/modules/tabreadmix~.c
Examining data/pd-creb-0.9.2+darcs20151027/modules/dt_ms.c
Examining data/pd-creb-0.9.2+darcs20151027/modules/abs~.c
Examining data/pd-creb-0.9.2+darcs20151027/modules/sbosc~.c
Examining data/pd-creb-0.9.2+darcs20151027/modules/ratio.c
Examining data/pd-creb-0.9.2+darcs20151027/modules/permut~.c
Examining data/pd-creb-0.9.2+darcs20151027/modules/bdiag~.c
Examining data/pd-creb-0.9.2+darcs20151027/modules/bfft~.c
Examining data/pd-creb-0.9.2+darcs20151027/modules/bitsplit~.c
Examining data/pd-creb-0.9.2+darcs20151027/modules/blocknorm~.c
Examining data/pd-creb-0.9.2+darcs20151027/modules/bwin~.c
Examining data/pd-creb-0.9.2+darcs20151027/modules/cheby~.c
Examining data/pd-creb-0.9.2+darcs20151027/modules/cmath.c
Examining data/pd-creb-0.9.2+darcs20151027/modules/diag~.c
Examining data/pd-creb-0.9.2+darcs20151027/modules/dist~.c
Examining data/pd-creb-0.9.2+darcs20151027/modules/dwt.c
Examining data/pd-creb-0.9.2+darcs20151027/modules/dynwav~.c
Examining data/pd-creb-0.9.2+darcs20151027/modules/eadsr~.c
Examining data/pd-creb-0.9.2+darcs20151027/modules/ead~.c
Examining data/pd-creb-0.9.2+darcs20151027/modules/ear~.c
Examining data/pd-creb-0.9.2+darcs20151027/modules/eblosc~.c
Examining data/pd-creb-0.9.2+darcs20151027/modules/fdn~.c
Examining data/pd-creb-0.9.2+darcs20151027/modules/ffpoly.c
Examining data/pd-creb-0.9.2+darcs20151027/modules/junction~.c
Examining data/pd-creb-0.9.2+darcs20151027/modules/lattice~.c
Examining data/pd-creb-0.9.2+darcs20151027/modules/matrix~.c
Examining data/pd-creb-0.9.2+darcs20151027/modules/qmult~.c
Examining data/pd-creb-0.9.2+darcs20151027/modules/qnorm~.c
Examining data/pd-creb-0.9.2+darcs20151027/modules/ramp~.c
Examining data/pd-creb-0.9.2+darcs20151027/modules/resofilt~.c
Examining data/pd-creb-0.9.2+darcs20151027/modules/sawtooth~.c
Examining data/pd-creb-0.9.2+darcs20151027/modules/scrollgrid1D~.c
Examining data/pd-creb-0.9.2+darcs20151027/modules/xfm~.c
Examining data/pd-creb-0.9.2+darcs20151027/modules/setup.c

FINAL RESULTS:

data/pd-creb-0.9.2+darcs20151027/modules/junction~.c:68: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((int)f);
data/pd-creb-0.9.2+darcs20151027/modules/permut~.c:76: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(flintseed.i);
data/pd-creb-0.9.2+darcs20151027/modules/bfft~.c:34:5:  [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 c_name[16];
data/pd-creb-0.9.2+darcs20151027/modules/bfft~.c:242:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(x->x_ctl.c_name,"bfft");
data/pd-creb-0.9.2+darcs20151027/modules/bfft~.c:272:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(x->x_ctl.c_name,"ibfft");
data/pd-creb-0.9.2+darcs20151027/modules/bfft~.c:288:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(x->x_ctl.c_name,"fht");
data/pd-creb-0.9.2+darcs20151027/modules/dwt.c:42: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 c_name[16];
data/pd-creb-0.9.2+darcs20151027/modules/dwt.c:789:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(x->x_ctl.c_name,"dwt");
data/pd-creb-0.9.2+darcs20151027/modules/dwt.c:798:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(x->x_ctl.c_name,"idwt");
data/pd-creb-0.9.2+darcs20151027/modules/dwt.c:806:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(x->x_ctl.c_name,"dwt16");
data/pd-creb-0.9.2+darcs20151027/modules/dwt.c:815:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(x->x_ctl.c_name,"idwt16");
data/pd-creb-0.9.2+darcs20151027/modules/dynwav~.c:72:7:  [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(buf, wave, n*sizeof(t_float));
data/pd-creb-0.9.2+darcs20151027/modules/dynwav~.c:150:7:  [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(buf, wave, n*sizeof(t_float));
data/pd-creb-0.9.2+darcs20151027/modules/matrix~.c:52:19:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      if(matrix = fopen(s->s_name, "r"))
data/pd-creb-0.9.2+darcs20151027/modules/matrix~.c:77:7:  [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(x, in, sizeof(t_float)*n);
data/pd-creb-0.9.2+darcs20151027/modules/setup.c:60:9:  [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 encoded[MAXPDSTRING];
data/pd-creb-0.9.2+darcs20151027/modules/setup.c:88: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];

ANALYSIS SUMMARY:

Hits = 17
Lines analyzed = 10188 in approximately 0.26 seconds (39839 lines/second)
Physical Source Lines of Code (SLOC) = 6257
Hits@level = [0]  16 [1]   0 [2]  15 [3]   2 [4]   0 [5]   0
Hits@level+ = [0+]  33 [1+]  17 [2+]  17 [3+]   2 [4+]   0 [5+]   0
Hits/KSLOC@level+ = [0+] 5.27409 [1+] 2.71696 [2+] 2.71696 [3+] 0.319642 [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.