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/libmath-planepath-perl-128/devel/exe-atan2.c
Examining data/libmath-planepath-perl-128/devel/exe-complex-minus.c
Examining data/libmath-planepath-perl-128/devel/exe-complex-plus.c
Examining data/libmath-planepath-perl-128/devel/exe-complex-revolving.c

FINAL RESULTS:

data/libmath-planepath-perl-128/devel/exe-atan2.c:27:30:  [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.
  union { double d; unsigned char byte[8]; } u;
data/libmath-planepath-perl-128/devel/exe-complex-minus.c:34:10:  [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.
  static char str[256];
data/libmath-planepath-perl-128/devel/exe-complex-minus.c:35:10:  [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.
  static char dstr[256];
data/libmath-planepath-perl-128/devel/exe-complex-minus.c:40: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 (dstr, "[%d]", digit);
data/libmath-planepath-perl-128/devel/exe-complex-minus.c:43:5:  [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 (str+pos, dstr, dlen);
data/libmath-planepath-perl-128/devel/exe-complex-plus.c:34:10:  [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.
  static char str[256];
data/libmath-planepath-perl-128/devel/exe-complex-plus.c:35:10:  [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.
  static char dstr[256];
data/libmath-planepath-perl-128/devel/exe-complex-plus.c:40: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 (dstr, "[%d]", digit);
data/libmath-planepath-perl-128/devel/exe-complex-plus.c:43:5:  [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 (str+pos, dstr, dlen);
data/libmath-planepath-perl-128/devel/exe-complex-revolving.c:34:10:  [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.
  static char str[sizeof(n)*8+1];
data/libmath-planepath-perl-128/devel/exe-complex-minus.c:41:16:  [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).
    int dlen = strlen(dstr);
data/libmath-planepath-perl-128/devel/exe-complex-plus.c:41:16:  [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).
    int dlen = strlen(dstr);
data/libmath-planepath-perl-128/devel/exe-complex-revolving.c:115:22:  [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).
    int binary_len = strlen(binary_str);

ANALYSIS SUMMARY:

Hits = 13
Lines analyzed = 461 in approximately 0.09 seconds (5192 lines/second)
Physical Source Lines of Code (SLOC) = 299
Hits@level = [0]  23 [1]   3 [2]  10 [3]   0 [4]   0 [5]   0
Hits@level+ = [0+]  36 [1+]  13 [2+]  10 [3+]   0 [4+]   0 [5+]   0
Hits/KSLOC@level+ = [0+] 120.401 [1+] 43.4783 [2+] 33.4448 [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.