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/bifcl-1.4.0/module_util.cc Examining data/bifcl-1.4.0/include/module_util.h Examining data/bifcl-1.4.0/include/bif_arg.h Examining data/bifcl-1.4.0/bif_arg.cc FINAL RESULTS: data/bifcl-1.4.0/bif_arg.cc:70:2: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(fp, builtin_func_arg_type[type].accessor, buf); data/bifcl-1.4.0/bif_arg.cc:87:3: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(fp, builtin_func_arg_type[type].ctor_smart, name); data/bifcl-1.4.0/bif_arg.cc:89:3: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(fp, builtin_func_arg_type[type].constructor, name); data/bifcl-1.4.0/bif_arg.cc:67:2: [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[1024]; data/bifcl-1.4.0/bif_arg.cc:79:2: [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[1024]; data/bifcl-1.4.0/module_util.cc:44:18: [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). if ( (mod_len = strlen(module_name)) >= 2 && ANALYSIS SUMMARY: Hits = 6 Lines analyzed = 214 in approximately 0.02 seconds (11897 lines/second) Physical Source Lines of Code (SLOC) = 160 Hits@level = [0] 5 [1] 1 [2] 2 [3] 0 [4] 3 [5] 0 Hits@level+ = [0+] 11 [1+] 6 [2+] 5 [3+] 3 [4+] 3 [5+] 0 Hits/KSLOC@level+ = [0+] 68.75 [1+] 37.5 [2+] 31.25 [3+] 18.75 [4+] 18.75 [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.