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/js-of-ocaml-3.7.1/compiler/tests-jsoo/bigarray_stubs.c Examining data/js-of-ocaml-3.7.1/lib/js_of_ocaml/js_of_ocaml_stubs.c Examining data/js-of-ocaml-3.7.1/lib/lwt/graphics/graphics_js_stubs.c FINAL RESULTS: data/js-of-ocaml-3.7.1/compiler/tests-jsoo/bigarray_stubs.c:14: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(bstr, str, Long_val(v_len)); data/js-of-ocaml-3.7.1/compiler/tests-jsoo/bigarray_stubs.c:23: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(bstr, str, Long_val(v_len)); data/js-of-ocaml-3.7.1/compiler/tests-jsoo/bigarray_stubs.c:32: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, bstr, Long_val(v_len)); ANALYSIS SUMMARY: Hits = 3 Lines analyzed = 314 in approximately 0.11 seconds (2754 lines/second) Physical Source Lines of Code (SLOC) = 309 Hits@level = [0] 66 [1] 0 [2] 3 [3] 0 [4] 0 [5] 0 Hits@level+ = [0+] 69 [1+] 3 [2+] 3 [3+] 0 [4+] 0 [5+] 0 Hits/KSLOC@level+ = [0+] 223.301 [1+] 9.70874 [2+] 9.70874 [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.