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/hippomocks-5.0/HippoMocks/comsupport.h
Examining data/hippomocks-5.0/HippoMocks/hippomocks.h
Examining data/hippomocks-5.0/HippoMocksTest/Framework.cpp
Examining data/hippomocks-5.0/HippoMocksTest/Framework.h
Examining data/hippomocks-5.0/HippoMocksTest/is_virtual.cpp
Examining data/hippomocks-5.0/HippoMocksTest/main.cpp
Examining data/hippomocks-5.0/HippoMocksTest/test.cpp
Examining data/hippomocks-5.0/HippoMocksTest/test_args.cpp
Examining data/hippomocks-5.0/HippoMocksTest/test_array.cpp
Examining data/hippomocks-5.0/HippoMocksTest/test_autoptr.cpp
Examining data/hippomocks-5.0/HippoMocksTest/test_cfuncs.cpp
Examining data/hippomocks-5.0/HippoMocksTest/test_class_args.cpp
Examining data/hippomocks-5.0/HippoMocksTest/test_com_support_stdcall.cpp
Examining data/hippomocks-5.0/HippoMocksTest/test_constref_params.cpp
Examining data/hippomocks-5.0/HippoMocksTest/test_cv_funcs.cpp
Examining data/hippomocks-5.0/HippoMocksTest/test_do.cpp
Examining data/hippomocks-5.0/HippoMocksTest/test_dontcare.cpp
Examining data/hippomocks-5.0/HippoMocksTest/test_except.cpp
Examining data/hippomocks-5.0/HippoMocksTest/test_exception_quality.cpp
Examining data/hippomocks-5.0/HippoMocksTest/test_filter.cpp
Examining data/hippomocks-5.0/HippoMocksTest/test_inparam.cpp
Examining data/hippomocks-5.0/HippoMocksTest/test_membermock.cpp
Examining data/hippomocks-5.0/HippoMocksTest/test_mi.cpp
Examining data/hippomocks-5.0/HippoMocksTest/test_nevercall.cpp
Examining data/hippomocks-5.0/HippoMocksTest/test_objectreturn.cpp
Examining data/hippomocks-5.0/HippoMocksTest/test_optional.cpp
Examining data/hippomocks-5.0/HippoMocksTest/test_outparam.cpp
Examining data/hippomocks-5.0/HippoMocksTest/test_overload.cpp
Examining data/hippomocks-5.0/HippoMocksTest/test_ref_args.cpp
Examining data/hippomocks-5.0/HippoMocksTest/test_regression_arg_count.cpp
Examining data/hippomocks-5.0/HippoMocksTest/test_retval.cpp
Examining data/hippomocks-5.0/HippoMocksTest/test_transaction.cpp
Examining data/hippomocks-5.0/HippoMocksTest/test_zombie.cpp

FINAL RESULTS:

data/hippomocks-5.0/HippoMocksTest/Framework.h:17:5:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    vsnprintf(buffer, 4096, fmt.c_str(), l);
data/hippomocks-5.0/HippoMocks/hippomocks.h:267: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 backupData[16]; // typical use is 5 for 32-bit and 14 for 64-bit code.
data/hippomocks-5.0/HippoMocks/hippomocks.h:310: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(origFunc, backupData, sizeof(backupData));
data/hippomocks-5.0/HippoMocks/hippomocks.h:1319:11:  [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.
	unsigned char remaining[sizeof(T)];
data/hippomocks-5.0/HippoMocks/hippomocks.h:1340:3:  [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(funcTable, notimplementedfuncs, sizeof(funcptr) * VIRT_FUNC_LIMIT);
data/hippomocks-5.0/HippoMocks/hippomocks.h:5222:4:  [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(funcTable, zMock->notimplementedfuncs, sizeof(funcptr) * VIRT_FUNC_LIMIT);
data/hippomocks-5.0/HippoMocksTest/Framework.cpp:14:5:  [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 spinner[5] = "\\|/-";
data/hippomocks-5.0/HippoMocksTest/Framework.h:15:12:  [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.
    static char buffer[4096];

ANALYSIS SUMMARY:

Hits = 8
Lines analyzed = 8371 in approximately 0.42 seconds (19920 lines/second)
Physical Source Lines of Code (SLOC) = 7822
Hits@level = [0]  10 [1]   0 [2]   7 [3]   0 [4]   1 [5]   0
Hits@level+ = [0+]  18 [1+]   8 [2+]   8 [3+]   1 [4+]   1 [5+]   0
Hits/KSLOC@level+ = [0+] 2.3012 [1+] 1.02276 [2+] 1.02276 [3+] 0.127845 [4+] 0.127845 [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.