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-xsample-0.3.2+git20170905.1.4441ae5/source/inter.cpp
Examining data/pd-xsample-0.3.2+git20170905.1.4441ae5/source/main.cpp
Examining data/pd-xsample-0.3.2+git20170905.1.4441ae5/source/inter.h
Examining data/pd-xsample-0.3.2+git20170905.1.4441ae5/source/play.cpp
Examining data/pd-xsample-0.3.2+git20170905.1.4441ae5/source/record.cpp
Examining data/pd-xsample-0.3.2+git20170905.1.4441ae5/source/prefix.h
Examining data/pd-xsample-0.3.2+git20170905.1.4441ae5/source/groove.cpp
Examining data/pd-xsample-0.3.2+git20170905.1.4441ae5/source/main.h

FINAL RESULTS:

data/pd-xsample-0.3.2+git20170905.1.4441ae5/source/record.cpp:165:8:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
		STD::sprintf(tmp,ci == 0?"Messages/audio channel %i":"Audio channel %i",ci+1);
data/pd-xsample-0.3.2+git20170905.1.4441ae5/source/groove.cpp:242: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 tmp[30];
data/pd-xsample-0.3.2+git20170905.1.4441ae5/source/groove.cpp:243:8:  [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.
		STD::sprintf(tmp,"Audio signal channel %i",ci+1); 
data/pd-xsample-0.3.2+git20170905.1.4441ae5/source/play.cpp:103: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 tmp[30];
data/pd-xsample-0.3.2+git20170905.1.4441ae5/source/play.cpp:104:8:  [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.
		STD::sprintf(tmp,"Audio signal channel %i",ci+1); 
data/pd-xsample-0.3.2+git20170905.1.4441ae5/source/record.cpp:164: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 tmp[40];

ANALYSIS SUMMARY:

Hits = 6
Lines analyzed = 2757 in approximately 0.07 seconds (41047 lines/second)
Physical Source Lines of Code (SLOC) = 2038
Hits@level = [0]   0 [1]   0 [2]   5 [3]   0 [4]   1 [5]   0
Hits@level+ = [0+]   6 [1+]   6 [2+]   6 [3+]   1 [4+]   1 [5+]   0
Hits/KSLOC@level+ = [0+] 2.94406 [1+] 2.94406 [2+] 2.94406 [3+] 0.490677 [4+] 0.490677 [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.