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/libasync-interrupt-perl-1.26/ecb.h Examining data/libasync-interrupt-perl-1.26/schmorp.h FINAL RESULTS: data/libasync-interrupt-perl-1.26/ecb.h:764:58: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. ecb_inline void ecb_poke_u16_u (void *ptr, uint16_t v) { memcpy (ptr, &v, sizeof (v)); } data/libasync-interrupt-perl-1.26/ecb.h:765:58: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. ecb_inline void ecb_poke_u32_u (void *ptr, uint32_t v) { memcpy (ptr, &v, sizeof (v)); } data/libasync-interrupt-perl-1.26/ecb.h:766:58: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. ecb_inline void ecb_poke_u64_u (void *ptr, uint64_t v) { memcpy (ptr, &v, sizeof (v)); } data/libasync-interrupt-perl-1.26/ecb.h:797:67: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. template<typename T> inline void ecb_poke_u (void *ptr, T v) { memcpy (ptr, &v, sizeof (v)); } data/libasync-interrupt-perl-1.26/ecb.h:994:7: [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 (&r, &x, 4); data/libasync-interrupt-perl-1.26/ecb.h:1034:7: [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 (&r, &x, 4); data/libasync-interrupt-perl-1.26/ecb.h:1064:7: [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 (&r, &x, 8); data/libasync-interrupt-perl-1.26/ecb.h:1104:7: [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 (&r, &x, 8); data/libasync-interrupt-perl-1.26/schmorp.h:460:3: [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 [9]; data/libasync-interrupt-perl-1.26/schmorp.h:465:3: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). read (epp->fd [0], buf, sizeof (buf)); ANALYSIS SUMMARY: Hits = 10 Lines analyzed = 1671 in approximately 0.08 seconds (22149 lines/second) Physical Source Lines of Code (SLOC) = 1207 Hits@level = [0] 1 [1] 1 [2] 9 [3] 0 [4] 0 [5] 0 Hits@level+ = [0+] 11 [1+] 10 [2+] 9 [3+] 0 [4+] 0 [5+] 0 Hits/KSLOC@level+ = [0+] 9.1135 [1+] 8.285 [2+] 7.4565 [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.