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/vtable-dumper-1.2/dump-vtable.c Examining data/vtable-dumper-1.2/dump-vtable.h FINAL RESULTS: data/vtable-dumper-1.2/dump-vtable.c:144:17: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(ssname, sname); data/vtable-dumper-1.2/dump-vtable.c:58:15: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ((fd = open(file, O_RDONLY))==-1) data/vtable-dumper-1.2/dump-vtable.c:138:44: [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). ssname = (char*)malloc(1 + strlen(sname)); ANALYSIS SUMMARY: Hits = 3 Lines analyzed = 556 in approximately 0.02 seconds (25955 lines/second) Physical Source Lines of Code (SLOC) = 430 Hits@level = [0] 46 [1] 1 [2] 1 [3] 0 [4] 1 [5] 0 Hits@level+ = [0+] 49 [1+] 3 [2+] 2 [3+] 1 [4+] 1 [5+] 0 Hits/KSLOC@level+ = [0+] 113.953 [1+] 6.97674 [2+] 4.65116 [3+] 2.32558 [4+] 2.32558 [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.