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/rust-sysinfo-0.13.2/src/sysinfo.h FINAL RESULTS: data/rust-sysinfo-0.13.2/src/sysinfo.h:17:37: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. void sysinfo_destroy(CSystem system); data/rust-sysinfo-0.13.2/src/sysinfo.h:18:44: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. void sysinfo_refresh_system(CSystem system); data/rust-sysinfo-0.13.2/src/sysinfo.h:19:41: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. void sysinfo_refresh_all(CSystem system); data/rust-sysinfo-0.13.2/src/sysinfo.h:20:47: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. void sysinfo_refresh_processes(CSystem system); data/rust-sysinfo-0.13.2/src/sysinfo.h:22:45: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. void sysinfo_refresh_process(CSystem system, pid_t pid); data/rust-sysinfo-0.13.2/src/sysinfo.h:24:43: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. void sysinfo_refresh_disks(CSystem system); data/rust-sysinfo-0.13.2/src/sysinfo.h:25:47: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. void sysinfo_refresh_disk_list(CSystem system); data/rust-sysinfo-0.13.2/src/sysinfo.h:26:46: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. size_t sysinfo_get_total_memory(CSystem system); data/rust-sysinfo-0.13.2/src/sysinfo.h:27:45: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. size_t sysinfo_get_free_memory(CSystem system); data/rust-sysinfo-0.13.2/src/sysinfo.h:28:45: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. size_t sysinfo_get_used_memory(CSystem system); data/rust-sysinfo-0.13.2/src/sysinfo.h:29:44: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. size_t sysinfo_get_total_swap(CSystem system); data/rust-sysinfo-0.13.2/src/sysinfo.h:30:43: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. size_t sysinfo_get_free_swap(CSystem system); data/rust-sysinfo-0.13.2/src/sysinfo.h:31:43: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. size_t sysinfo_get_used_swap(CSystem system); data/rust-sysinfo-0.13.2/src/sysinfo.h:32:48: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. size_t sysinfo_get_network_income(CSystem system); data/rust-sysinfo-0.13.2/src/sysinfo.h:33:49: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. size_t sysinfo_get_network_outcome(CSystem system); data/rust-sysinfo-0.13.2/src/sysinfo.h:34:50: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. void sysinfo_get_processors_usage(CSystem system, unsigned int *length, float **procs); data/rust-sysinfo-0.13.2/src/sysinfo.h:35:43: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. size_t sysinfo_get_processes(CSystem system, bool (*fn_pointer)(pid_t, CProcess, void*), data/rust-sysinfo-0.13.2/src/sysinfo.h:41:48: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. CProcess sysinfo_get_process_by_pid(CSystem system, pid_t pid); ANALYSIS SUMMARY: Hits = 18 Lines analyzed = 49 in approximately 0.01 seconds (4091 lines/second) Physical Source Lines of Code (SLOC) = 40 Hits@level = [0] 0 [1] 0 [2] 0 [3] 0 [4] 18 [5] 0 Hits@level+ = [0+] 18 [1+] 18 [2+] 18 [3+] 18 [4+] 18 [5+] 0 Hits/KSLOC@level+ = [0+] 450 [1+] 450 [2+] 450 [3+] 450 [4+] 450 [5+] 0 Dot directories skipped = 2 (--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.