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/php-lua-2.0.7+1.1.0/lua-1.1.0/php_lua.h
Examining data/php-lua-2.0.7+1.1.0/lua-1.1.0/lua_closure.c
Examining data/php-lua-2.0.7+1.1.0/lua-1.1.0/lua.c
Examining data/php-lua-2.0.7+1.1.0/lua-1.1.0/lua_closure.h
Examining data/php-lua-2.0.7+1.1.0/lua-2.0.7/php_lua.h
Examining data/php-lua-2.0.7+1.1.0/lua-2.0.7/lua_closure.c
Examining data/php-lua-2.0.7+1.1.0/lua-2.0.7/lua.c
Examining data/php-lua-2.0.7+1.1.0/lua-2.0.7/lua_closure.h

FINAL RESULTS:

data/php-lua-2.0.7+1.1.0/lua-1.1.0/lua.c:902: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(&lua_object_handlers, zend_get_std_object_handlers(), sizeof(zend_object_handlers));
data/php-lua-2.0.7+1.1.0/lua-2.0.7/lua.c:854: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(&lua_object_handlers, zend_get_std_object_handlers(), sizeof(zend_object_handlers));
data/php-lua-2.0.7+1.1.0/lua-2.0.7/lua_closure.c:187: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(&lua_closure_handlers, zend_get_std_object_handlers(), sizeof(zend_object_handlers));

ANALYSIS SUMMARY:

Hits = 3
Lines analyzed = 2561 in approximately 0.08 seconds (34116 lines/second)
Physical Source Lines of Code (SLOC) = 1757
Hits@level = [0]   7 [1]   0 [2]   3 [3]   0 [4]   0 [5]   0
Hits@level+ = [0+]  10 [1+]   3 [2+]   3 [3+]   0 [4+]   0 [5+]   0
Hits/KSLOC@level+ = [0+] 5.69152 [1+] 1.70746 [2+] 1.70746 [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.