Flawfinder Results

Here are the security scan results from Flawfinder version 2.0.20, (C) 2001-2026 David A. Wheeler. Number of rules (primarily dangerous function names) in C/C++ ruleset: 222

Examining test.c
Examining test2.c

Final Results

Analysis Summary

Hits = 39
Lines analyzed = 132
Physical Source Lines of Code (SLOC) = 91
Hits@level = [0] 16 [1] 9 [2] 9 [3] 4 [4] 10 [5] 7
Hits@level+ = [0+] 55 [1+] 39 [2+] 30 [3+] 21 [4+] 17 [5+] 7
Hits/KSLOC@level+ = [0+] 604.396 [1+] 428.571 [2+] 329.67 [3+] 230.769 [4+] 186.813 [5+] 76.9231
Suppressed hits = 2 (use --neverignore to show them)
Minimum risk level = 1
Not every hit is necessarily a security vulnerability. You can inhibit a report by adding a comment in this form: // flawfinder: ignore Make *sure* it's a false positive! You can use the option --neverignore to show these.
There may be other security vulnerabilities; review your code!
See 'Secure Programming HOWTO' (https://dwheeler.com/secure-programs) for more information.