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/libevent-perl-1.27/c/ev.c
Examining data/libevent-perl-1.27/c/timer.c
Examining data/libevent-perl-1.27/c/queue.c
Examining data/libevent-perl-1.27/c/watcher.c
Examining data/libevent-perl-1.27/c/io.c
Examining data/libevent-perl-1.27/c/timeable.c
Examining data/libevent-perl-1.27/c/group.c
Examining data/libevent-perl-1.27/c/hook.c
Examining data/libevent-perl-1.27/c/tied.c
Examining data/libevent-perl-1.27/c/unix.c
Examining data/libevent-perl-1.27/c/typemap.c
Examining data/libevent-perl-1.27/c/var.c
Examining data/libevent-perl-1.27/c/idle.c
Examining data/libevent-perl-1.27/c/generic.c
Examining data/libevent-perl-1.27/c/signal.c
Examining data/libevent-perl-1.27/ppport.h
Examining data/libevent-perl-1.27/Event.h
Examining data/libevent-perl-1.27/lib/Event/EventAPI.h

FINAL RESULTS:

data/libevent-perl-1.27/c/ev.c:353:5:  [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(vt, &event_vtbl, sizeof(pe_event_vtbl));
data/libevent-perl-1.27/c/ev.c:360:5:  [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(vt, &event_vtbl, sizeof(pe_event_vtbl));
data/libevent-perl-1.27/c/generic.c:89:5:  [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(vt, &pe_watcher_base_vtbl, sizeof(pe_watcher_base_vtbl));
data/libevent-perl-1.27/c/group.c:150:5:  [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(vt, &pe_watcher_base_vtbl, sizeof(pe_watcher_base_vtbl));
data/libevent-perl-1.27/c/idle.c:130:5:  [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(vt, &pe_watcher_base_vtbl, sizeof(pe_watcher_base_vtbl));
data/libevent-perl-1.27/c/io.c:222:5:  [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(vt, &pe_watcher_base_vtbl, sizeof(pe_watcher_base_vtbl));
data/libevent-perl-1.27/c/signal.c:164:5:  [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(vt, &pe_watcher_base_vtbl, sizeof(pe_watcher_base_vtbl));
data/libevent-perl-1.27/c/tied.c:97:5:  [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(vt, &pe_watcher_base_vtbl, sizeof(pe_watcher_base_vtbl));
data/libevent-perl-1.27/c/timer.c:86:5:  [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(vt, &pe_watcher_base_vtbl, sizeof(pe_watcher_base_vtbl));
data/libevent-perl-1.27/c/unix.c:26:21:  [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 ((dpfd = open("/dev/poll", O_RDWR)) < 0) {
data/libevent-perl-1.27/c/unix.c:411:2:  [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(&rfds, &Rfds, sizeof(fd_set));
data/libevent-perl-1.27/c/unix.c:412:2:  [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(&wfds, &Wfds, sizeof(fd_set));
data/libevent-perl-1.27/c/unix.c:413:2:  [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(&efds, &Efds, sizeof(fd_set));
data/libevent-perl-1.27/c/var.c:171:5:  [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(vt, &pe_watcher_base_vtbl, sizeof(pe_watcher_base_vtbl));

ANALYSIS SUMMARY:

Hits = 14
Lines analyzed = 3721 in approximately 0.12 seconds (32230 lines/second)
Physical Source Lines of Code (SLOC) = 3037
Hits@level = [0]   5 [1]   0 [2]  14 [3]   0 [4]   0 [5]   0
Hits@level+ = [0+]  19 [1+]  14 [2+]  14 [3+]   0 [4+]   0 [5+]   0
Hits/KSLOC@level+ = [0+] 6.25617 [1+] 4.60981 [2+] 4.60981 [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.