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/bin-prot-0.14.0/src/blit_stubs.c
Examining data/bin-prot-0.14.0/xen/blit_stubs.c

FINAL RESULTS:

data/bin-prot-0.14.0/src/blit_stubs.c:42:3:  [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, str, (size_t) Long_val(v_len));
data/bin-prot-0.14.0/src/blit_stubs.c:51:3:  [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, str, (size_t) Long_val(v_len));
data/bin-prot-0.14.0/src/blit_stubs.c:60:3:  [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, buf, (size_t) Long_val(v_len));
data/bin-prot-0.14.0/src/blit_stubs.c:95:3:  [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, arr, (size_t) (Long_val(v_len) * sizeof(double)));
data/bin-prot-0.14.0/src/blit_stubs.c:104:3:  [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(arr, buf, (size_t) (Long_val(v_len) * sizeof(double)));
data/bin-prot-0.14.0/xen/blit_stubs.c:42:3:  [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, str, (size_t) Long_val(v_len));
data/bin-prot-0.14.0/xen/blit_stubs.c:51:3:  [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, str, (size_t) Long_val(v_len));
data/bin-prot-0.14.0/xen/blit_stubs.c:60:3:  [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, buf, (size_t) Long_val(v_len));
data/bin-prot-0.14.0/xen/blit_stubs.c:95:3:  [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, arr, (size_t) (Long_val(v_len) * sizeof(double)));
data/bin-prot-0.14.0/xen/blit_stubs.c:104:3:  [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(arr, buf, (size_t) (Long_val(v_len) * sizeof(double)));

ANALYSIS SUMMARY:

Hits = 10
Lines analyzed = 212 in approximately 0.02 seconds (10828 lines/second)
Physical Source Lines of Code (SLOC) = 182
Hits@level = [0]   0 [1]   0 [2]  10 [3]   0 [4]   0 [5]   0
Hits@level+ = [0+]  10 [1+]  10 [2+]  10 [3+]   0 [4+]   0 [5+]   0
Hits/KSLOC@level+ = [0+] 54.9451 [1+] 54.9451 [2+] 54.9451 [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.