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/pev-0.80/src/malloc_s.c
Examining data/pev-0.80/src/pedis.c
Examining data/pev-0.80/src/pepack.c
Examining data/pev-0.80/src/ofs2rva.c
Examining data/pev-0.80/src/dylib.h
Examining data/pev-0.80/src/peres.c
Examining data/pev-0.80/src/dylib.c
Examining data/pev-0.80/src/plugins/text.c
Examining data/pev-0.80/src/plugins/csv.c
Examining data/pev-0.80/src/plugins/json.c
Examining data/pev-0.80/src/plugins/xml.c
Examining data/pev-0.80/src/plugins/html.c
Examining data/pev-0.80/src/windows/cpload.c
Examining data/pev-0.80/src/compat/strlcat.c
Examining data/pev-0.80/src/pev_api.c
Examining data/pev-0.80/src/output_plugin.c
Examining data/pev-0.80/src/pestr.c
Examining data/pev-0.80/src/pescan.c
Examining data/pev-0.80/src/rva2ofs.c
Examining data/pev-0.80/src/readpe.c
Examining data/pev-0.80/src/utils.c
Examining data/pev-0.80/src/plugins.c
Examining data/pev-0.80/src/config.c
Examining data/pev-0.80/src/output.c
Examining data/pev-0.80/src/pehash.c
Examining data/pev-0.80/src/pesec.c
Examining data/pev-0.80/include/ordlookup.h
Examining data/pev-0.80/include/plugin.h
Examining data/pev-0.80/include/output_plugin.h
Examining data/pev-0.80/include/utils.h
Examining data/pev-0.80/include/compat/strlcat.h
Examining data/pev-0.80/include/compat/sys/queue.h
Examining data/pev-0.80/include/pev_api.h
Examining data/pev-0.80/include/stack.h
Examining data/pev-0.80/include/output.h
Examining data/pev-0.80/include/utlist.h
Examining data/pev-0.80/include/config.h
Examining data/pev-0.80/include/common.h
Examining data/pev-0.80/include/plugins.h
Examining data/pev-0.80/lib/libpe/pe.h
Examining data/pev-0.80/lib/libpe/dir_security.h
Examining data/pev-0.80/lib/libpe/hdr_dos.h
Examining data/pev-0.80/lib/libpe/pe.c
Examining data/pev-0.80/lib/libpe/dir_resources.h
Examining data/pev-0.80/lib/libpe/error.c
Examining data/pev-0.80/lib/libpe/dir_import.h
Examining data/pev-0.80/lib/libpe/hdr_optional.h
Examining data/pev-0.80/lib/libpe/error.h
Examining data/pev-0.80/lib/libpe/directories.h
Examining data/pev-0.80/lib/libpe/macros.h
Examining data/pev-0.80/lib/libpe/sections.h
Examining data/pev-0.80/lib/libpe/hdr_coff.h
Examining data/pev-0.80/lib/libfuzzy/fuzzy.h
Examining data/pev-0.80/lib/libfuzzy/edit_dist.c
Examining data/pev-0.80/lib/libfuzzy/fuzzy.c
Examining data/pev-0.80/lib/libudis86/libudis86/itab.c
Examining data/pev-0.80/lib/libudis86/libudis86/types.h
Examining data/pev-0.80/lib/libudis86/libudis86/udint.h
Examining data/pev-0.80/lib/libudis86/libudis86/syn.c
Examining data/pev-0.80/lib/libudis86/libudis86/udis86.c
Examining data/pev-0.80/lib/libudis86/libudis86/decode.c
Examining data/pev-0.80/lib/libudis86/libudis86/decode.h
Examining data/pev-0.80/lib/libudis86/libudis86/extern.h
Examining data/pev-0.80/lib/libudis86/libudis86/syn-intel.c
Examining data/pev-0.80/lib/libudis86/libudis86/syn.h
Examining data/pev-0.80/lib/libudis86/libudis86/itab.h
Examining data/pev-0.80/lib/libudis86/libudis86/syn-att.c
Examining data/pev-0.80/lib/libudis86/udis86.h

FINAL RESULTS:

data/pev-0.80/lib/libudis86/libudis86/syn.c:115:9:  [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.
  ret = vsnprintf((char*) u->asm_buf + u->asm_buf_fill, avail, fmt, ap);
data/pev-0.80/lib/libudis86/libudis86/syn.h:40:29:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
    __attribute__ ((format (printf, 2, 3)));
data/pev-0.80/src/pedis.c:256:3:  [4] (format) snprintf:
  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.
		snprintf(ofs, MAX_MSG, "%"PRIx64, (options->offset_is_rva ? ctx->pe.imagebase : 0) + offset + ud_insn_off(ud_obj));
data/pev-0.80/src/pedis.c:268:4:  [4] (format) snprintf:
  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.
			snprintf(value,
data/pev-0.80/src/pehash.c:292:6:  [4] (format) snprintf:
  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.
					snprintf(hint_str, sizeof(hint_str)-1, "%"PRIu32,
data/pev-0.80/src/pehash.c:492:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
		sprintf(imphash_string, "%s%s.%s,", imphash_string, elt->dll_name, elt->function_name); \
data/pev-0.80/src/pescan.c:301:2:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
	strcat(dest, src);
data/pev-0.80/src/pescan.c:432:3:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
		strcat(value, timestr);
data/pev-0.80/src/pescan.c:544:4:  [4] (format) snprintf:
  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.
			snprintf(value, MAX_MSG, "suspicious - %#"PRIx64, ctx.pe.imagebase);
data/pev-0.80/src/pescan.c:549:4:  [4] (format) snprintf:
  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.
			snprintf(value, MAX_MSG, "normal - %#"PRIx64, ctx.pe.imagebase);
data/pev-0.80/src/pescan.c:567:4:  [4] (format) snprintf:
  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.
			snprintf(value, MAX_MSG, "fake - va: %#x - raw: %#"PRIx64, ep, pe_rva2ofs(&ctx, ep));
data/pev-0.80/src/pescan.c:572:4:  [4] (format) snprintf:
  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.
			snprintf(value, MAX_MSG, "normal - va: %#x - raw: %#"PRIx64, ep, pe_rva2ofs(&ctx, ep));
data/pev-0.80/src/plugins/html.c:117:6:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
					printf(TEMPLATE_DOCUMENT_OPEN, g_pev_api->output->output_cmdline());
data/pev-0.80/src/plugins/html.c:121:6:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
					printf(INDENT(indent++, "<%s class=\"object\">\n"), wrap_el);
data/pev-0.80/src/plugins/html.c:122:6:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
					printf(INDENT(indent,   "<h2>%s</h2>\n"), escaped_key);
data/pev-0.80/src/plugins/html.c:125:6:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
					printf(INDENT(indent++, "<%s class=\"array\">\n"), wrap_el);
data/pev-0.80/src/plugins/html.c:126:6:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
					printf(INDENT(indent,   "<h2>%s</h2>\n"), escaped_key);
data/pev-0.80/src/plugins/html.c:127:6:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
					printf(INDENT(indent++, "<ul>\n"));
data/pev-0.80/src/plugins/html.c:145:6:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
					printf(TEMPLATE_DOCUMENT_CLOSE);
data/pev-0.80/src/plugins/html.c:148:6:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
					printf(INDENT(--indent, "</%s>\n"), wrap_el);
data/pev-0.80/src/plugins/html.c:151:6:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
					printf(INDENT(--indent, "</ul>\n"));
data/pev-0.80/src/plugins/html.c:152:6:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
					printf(INDENT(--indent, "</%s>\n"), wrap_el);
data/pev-0.80/src/plugins/html.c:161:5:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
				printf(INDENT(indent, "<%s><span class=\"key\"><b>%s</b></span>: <span class=\"value\">%s</span></%s>\n"), wrap_el, escaped_key, escaped_value, wrap_el);
data/pev-0.80/src/plugins/html.c:164:5:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
				printf(INDENT(indent, "<%s><span class=\"key\"><b>%s</b></span></%s>\n"), wrap_el, escaped_key, wrap_el);
data/pev-0.80/src/plugins/html.c:166:5:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
				printf(INDENT(indent, "<%s><span class=\"value\">%s</span></%s>\n"), wrap_el, escaped_value, wrap_el);
data/pev-0.80/src/plugins/json.c:71:6:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
					printf(INDENT(indent++, "{"));
data/pev-0.80/src/plugins/json.c:81:7:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
						printf(INDENT(indent++, "\"%s\": {"), escaped_key);
data/pev-0.80/src/plugins/json.c:83:7:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
						printf(INDENT(indent++, "{"));
data/pev-0.80/src/plugins/json.c:93:7:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
						printf(INDENT(indent++, "\"%s\": ["), escaped_key);
data/pev-0.80/src/plugins/json.c:95:7:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
						printf(INDENT(indent++, "["));
data/pev-0.80/src/plugins/json.c:110:6:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
					printf(INDENT(--indent, "}"));
data/pev-0.80/src/plugins/json.c:113:6:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
					printf(INDENT(--indent, "}"));
data/pev-0.80/src/plugins/json.c:116:6:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
					printf(INDENT(--indent, "]"));
data/pev-0.80/src/plugins/json.c:129:5:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
				printf(INDENT(indent, "\"%s\": \"%s\""), escaped_key, escaped_value);
data/pev-0.80/src/plugins/json.c:131:5:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
				printf(INDENT(indent, "\"%s\""), escaped_key);
data/pev-0.80/src/plugins/json.c:133:5:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
				printf(INDENT(indent, "\"%s\""), escaped_value);
data/pev-0.80/src/plugins/text.c:73:7:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
						printf(INDENT(indent++, "%s\n"), escaped_key);
data/pev-0.80/src/plugins/text.c:81:7:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
						printf(INDENT(indent++, "%s\n"), escaped_key);
data/pev-0.80/src/plugins/text.c:95:5:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
				printf(INDENT(indent, "%s:%*c%s\n"), escaped_key, (int)(SPACES - key_size), ' ', escaped_value);
data/pev-0.80/src/plugins/text.c:97:5:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
				printf(INDENT(indent, "%s\n"), escaped_key);
data/pev-0.80/src/plugins/text.c:99:5:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
				printf(INDENT(indent, "%*c%s\n"), (int)(SPACES - key_size + 1), ' ', escaped_value);
data/pev-0.80/src/plugins/xml.c:116:6:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
					printf(TEMPLATE_DOCUMENT_OPEN, g_pev_api->output->output_cmdline());
data/pev-0.80/src/plugins/xml.c:120:6:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
					printf(INDENT(indent++, "<object name=\"%s\">\n"), escaped_key);
data/pev-0.80/src/plugins/xml.c:123:6:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
					printf(INDENT(indent++, "<array name=\"%s\">\n"), escaped_key);
data/pev-0.80/src/plugins/xml.c:136:6:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
					printf(TEMPLATE_DOCUMENT_CLOSE);
data/pev-0.80/src/plugins/xml.c:139:6:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
					printf(INDENT(--indent, "</object>\n"));
data/pev-0.80/src/plugins/xml.c:142:6:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
					printf(INDENT(--indent, "</array>\n"));
data/pev-0.80/src/plugins/xml.c:148:5:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
				printf(INDENT(indent, "<attribute name=\"%s\">%s</attribute>\n"), escaped_key, escaped_value);
data/pev-0.80/src/plugins/xml.c:150:5:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
				printf(INDENT(indent, "<attribute name=\"%s\">\n"), escaped_key);
data/pev-0.80/src/plugins/xml.c:152:5:  [4] (format) printf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
				printf(INDENT(indent, "<attribute>%s</attribute>\n"), value);
data/pev-0.80/src/readpe.c:495:4:  [4] (format) snprintf:
  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.
			snprintf(s, MAX_MSG, "%#"PRIx64, header->_64->ImageBase);
data/pev-0.80/src/readpe.c:560:4:  [4] (format) snprintf:
  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.
			snprintf(s, MAX_MSG, "%#"PRIx64, header->_64->SizeOfStackReserve);
data/pev-0.80/src/readpe.c:563:4:  [4] (format) snprintf:
  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.
			snprintf(s, MAX_MSG, "%#"PRIx64, header->_64->SizeOfStackCommit);
data/pev-0.80/src/readpe.c:566:4:  [4] (format) snprintf:
  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.
			snprintf(s, MAX_MSG, "%#"PRIx64, header->_64->SizeOfHeapReserve);
data/pev-0.80/src/readpe.c:569:4:  [4] (format) snprintf:
  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.
			snprintf(s, MAX_MSG, "%#"PRIx64, header->_64->SizeOfHeapCommit);
data/pev-0.80/src/readpe.c:777:6:  [4] (format) snprintf:
  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.
					snprintf(hint_str, sizeof(hint_str)-1, "%"PRIu32,
data/pev-0.80/src/readpe.c:812:6:  [4] (format) snprintf:
  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.
					snprintf(hint_str, sizeof(hint_str)-1, "%"PRIu64,
data/pev-0.80/src/ofs2rva.c:64:14:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
	while ((c = getopt_long(argc, argv, short_options, long_options, &ind)))
data/pev-0.80/src/pedis.c:120:14:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
	while ((c = getopt_long(argc, argv, short_options, long_options, &ind)))
data/pev-0.80/src/pehash.c:151:14:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
	while ((c = getopt_long(argc, argv, short_options, long_options, &ind)))
data/pev-0.80/src/pepack.c:89:14:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
	while ((c = getopt_long(argc, argv, short_options, long_options, &ind)))
data/pev-0.80/src/peres.c:160:14:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
	while ((c = getopt_long(argc, argv, short_options, long_options, &ind)))
data/pev-0.80/src/pescan.c:89:14:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
	while ((c = getopt_long(argc, argv, short_options, long_options, &ind)))
data/pev-0.80/src/pesec.c:140:14:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
	while ((c = getopt_long(argc, argv, short_options, long_options, &ind)))
data/pev-0.80/src/pestr.c:91:14:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
	while ((c = getopt_long(argc, argv, short_options, long_options, &ind)))
data/pev-0.80/src/readpe.c:122:14:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
	while ((c = getopt_long(argc, argv, short_options, long_options, &ind)))
data/pev-0.80/src/rva2ofs.c:64:14:  [3] (buffer) getopt_long:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
	while ((c = getopt_long(argc, argv, short_options, long_options, &ind)))
data/pev-0.80/src/utils.c:183:24:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
	const char *homedir = getenv("HOME");
data/pev-0.80/src/windows/cpload.c:94:21:  [3] (misc) LoadLibrary:
  Ensure that the full path to the library is specified, or current directory
  may be used (CWE-829, CWE-20). Use registry entry or GetWindowsDirectory to
  find library path, if you aren't already.
	if (NULL == (dll = LoadLibrary(filename)))
data/pev-0.80/include/ordlookup.h:43: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 fname[255];
data/pev-0.80/lib/libfuzzy/fuzzy.c:56: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.
  unsigned char window[ROLLING_WINDOW];
data/pev-0.80/lib/libfuzzy/fuzzy.c:112: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 digest[SPAMSUM_LENGTH];
data/pev-0.80/lib/libfuzzy/fuzzy.c:305: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(result, self->bh[bi].digest, (size_t)i);
data/pev-0.80/lib/libfuzzy/fuzzy.c:335: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(result, self->bh[bi].digest, (size_t)i);
data/pev-0.80/lib/libfuzzy/fuzzy.c:391: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.
  unsigned char buffer[4096];
data/pev-0.80/lib/libfuzzy/fuzzy.c:439:18:  [2] (misc) fopen:
  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).
  FILE *handle = fopen(filename, "rb");
data/pev-0.80/lib/libpe/dir_resources.h:95:2:  [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 name[20];
data/pev-0.80/lib/libpe/dir_resources.h:97:2:  [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 extension[20];
data/pev-0.80/lib/libpe/dir_resources.h:98:2:  [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 dirName[20];
data/pev-0.80/lib/libpe/error.c:60: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 errmsg[255];
data/pev-0.80/lib/libpe/pe.c:56:17:  [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).
	const int fd = open(ctx->path, oflag);
data/pev-0.80/lib/libudis86/libudis86/types.h:186: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      insn_hexcode[64];
data/pev-0.80/lib/libudis86/libudis86/types.h:194: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      asm_buf_int[128];
data/pev-0.80/lib/libudis86/libudis86/udis86.c:173:7:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
      sprintf(src_hex, "%02x", *src_ptr & 0xFF);
data/pev-0.80/src/config.c:73:13:  [2] (misc) fopen:
  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).
	FILE *fp = fopen(path, "r");
data/pev-0.80/src/config.c:77:2:  [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 line[1024];
data/pev-0.80/src/config.c:110:2:  [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 buff[PATH_MAX];
data/pev-0.80/src/output_plugin.c:66: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(new_str + 1, str, old_length);
data/pev-0.80/src/output_plugin.c:109: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(new_str + consumed, entity, entity_len);
data/pev-0.80/src/output_plugin.c:146: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(new_str + consumed, entity, entity_len);
data/pev-0.80/src/pedis.c:63:9:  [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 formats[255];
data/pev-0.80/src/pedis.c:243: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 ofs[MAX_MSG], value[MAX_MSG], *bytes;
data/pev-0.80/src/pehash.c:87:9:  [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 formats[255];
data/pev-0.80/src/pehash.c:215: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 md_value[EVP_MAX_MD_SIZE];
data/pev-0.80/src/pehash.c:239:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(&output[i * 2], "%02x", md_value[i]);
data/pev-0.80/src/pehash.c:245:2:  [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 hash_value[EVP_MAX_MD_SIZE * 2 + 1];
data/pev-0.80/src/pehash.c:267:2:  [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 hint_str[16];
data/pev-0.80/src/pehash.c:268:2:  [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 fname[MAX_FUNCTION_NAME];
data/pev-0.80/src/pehash.c:404: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 ord[MAX_FUNCTION_NAME];
data/pev-0.80/src/pehash.c:464: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 dll_name[MAX_DLL_NAME];
data/pev-0.80/src/pehash.c:502:2:  [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 imphash[32];
data/pev-0.80/src/pehash.c:658:28:  [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.
			output("section_name", (char *)sections[i]->Name);
data/pev-0.80/src/pepack.c:48:9:  [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 formats[255];
data/pev-0.80/src/pepack.c:155:8:  [2] (misc) fopen:
  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).
	*fp = fopen(dbfile, "r");
data/pev-0.80/src/pepack.c:158:9:  [2] (misc) fopen:
  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).
		*fp = fopen(SHAREDIR "/userdb.txt", "r");
data/pev-0.80/src/pepack.c:166: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 byte_str[3], byte;
data/pev-0.80/src/pepack.c:188: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(byte_str, sig, 2);
data/pev-0.80/src/pepack.c:290:2:  [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 value[MAX_MSG];
data/pev-0.80/src/peres.c:113:9:  [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 formats[255];
data/pev-0.80/src/peres.c:203:2:  [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 value[MAX_MSG];
data/pev-0.80/src/peres.c:403:2:  [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 dirName[100];
data/pev-0.80/src/peres.c:422:2:  [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 relativeFileName[100];
data/pev-0.80/src/peres.c:430:13:  [2] (misc) fopen:
  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).
	FILE *fp = fopen(relativeFileName, "wb+");
data/pev-0.80/src/peres.c:503:2:  [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 value[MAX_MSG];
data/pev-0.80/src/peres.c:563:2:  [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 value[MAX_MSG];
data/pev-0.80/src/pescan.c:50:9:  [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 formats[255];
data/pev-0.80/src/pescan.c:247:4:  [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 value[MAX_MSG];
data/pev-0.80/src/pescan.c:299:3:  [2] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused). Risk is low because the
  source is a constant string.
		strcat(dest, ", ");
data/pev-0.80/src/pescan.c:311:2:  [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 value[MAX_MSG];
data/pev-0.80/src/pescan.c:332:26:  [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.
		if (!strisprint((const char *)sections[i]->Name))
data/pev-0.80/src/pescan.c:349:17:  [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.
		output((const char *)sections[i]->Name, value);
data/pev-0.80/src/pescan.c:414:2:  [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 value[MAX_MSG];
data/pev-0.80/src/pescan.c:427: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 timestr[33];
data/pev-0.80/src/pescan.c:519:2:  [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 value[MAX_MSG];
data/pev-0.80/src/pesec.c:60:9:  [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 formats[255];
data/pev-0.80/src/pesec.c:293: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 issuer_name[issuer_name_len + 1];
data/pev-0.80/src/pesec.c:351:10:  [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 value[MAX_MSG];
data/pev-0.80/src/pesec.c:459:2:  [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 field[MAX_MSG];
data/pev-0.80/src/pestr.c:138:21:  [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.
			return (unsigned char *)sections[i]->Name;
data/pev-0.80/src/pestr.c:204: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 buff[LINE_BUFFER];
data/pev-0.80/src/readpe.c:57:9:  [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 formats[255];
data/pev-0.80/src/readpe.c:220:2:  [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 s[MAX_MSG];
data/pev-0.80/src/readpe.c:306:2:  [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 s[MAX_MSG];
data/pev-0.80/src/readpe.c:356:2:  [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 s[MAX_MSG];
data/pev-0.80/src/readpe.c:649:2:  [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 s[MAX_MSG];
data/pev-0.80/src/readpe.c:657:2:  [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 timestr[40];
data/pev-0.80/src/readpe.c:693:2:  [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 s[MAX_MSG];
data/pev-0.80/src/readpe.c:752:2:  [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 hint_str[16];
data/pev-0.80/src/readpe.c:753:2:  [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 fname[MAX_FUNCTION_NAME];
data/pev-0.80/src/readpe.c:943: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 addr[11] = { 0 };
data/pev-0.80/src/readpe.c:944:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
		sprintf(addr, "%#x", entry_va);
data/pev-0.80/src/readpe.c:946: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 fname[300] = { 0 };
data/pev-0.80/src/readpe.c:969:4:  [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 fname_forwarded[sizeof(fname) * 2 + 4] = { 0 }; // Twice the size plus " -> ".
data/pev-0.80/src/readpe.c:1026: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 dll_name[MAX_DLL_NAME];
data/pev-0.80/src/utils.c:153:17:  [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).
	const int fd = open(path, O_RDWR);
data/pev-0.80/lib/libfuzzy/fuzzy.c:497:6:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	if (strlen(s2+i-(ROLLING_WINDOW-1)) >= ROLLING_WINDOW &&
data/pev-0.80/lib/libfuzzy/fuzzy.c:524:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  len = strlen(str);
data/pev-0.80/lib/libfuzzy/fuzzy.c:557:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  len1 = strlen(s1);
data/pev-0.80/lib/libfuzzy/fuzzy.c:558:10:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  len2 = strlen(s2);
data/pev-0.80/lib/libudis86/libudis86/udis86.c:398:10:  [1] (buffer) fgetc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  return fgetc(u->inp_file);
data/pev-0.80/src/compat/strlcat.c:44:17:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		return(dlen + strlen(s));
data/pev-0.80/src/output_plugin.c:45:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		result += entity == NULL ? 1 : strlen(entity);
data/pev-0.80/src/output_plugin.c:55:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	const size_t old_length = strlen(str);
data/pev-0.80/src/output_plugin.c:87:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	const size_t old_length = strlen(str);
data/pev-0.80/src/output_plugin.c:108:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			const size_t entity_len = strlen(entity);
data/pev-0.80/src/output_plugin.c:127:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	const size_t old_length = strlen(str);
data/pev-0.80/src/output_plugin.c:145:30:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			const size_t entity_len = strlen(entity);
data/pev-0.80/src/pedis.c:191:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	size = strlen(s);
data/pev-0.80/src/pedis.c:272:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
				SPACES - (int) strlen(bytes),
data/pev-0.80/src/pedis.c:280:62:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			snprintf(value, MAX_MSG, "%s%*c%s", bytes, SPACES - (int) strlen(bytes), ' ', ud_insn_asm(ud_obj));
data/pev-0.80/src/pehash.c:303:6:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
					strncpy(fname, (char *)imp_name->Name, sizeof(fname)-1);
data/pev-0.80/src/pehash.c:338:6:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
					strncpy(fname, (char *)imp_name->Name, sizeof(fname)-1);
data/pev-0.80/src/pehash.c:353:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		for (unsigned i=0; i < strlen(dll_name); i++)
data/pev-0.80/src/pehash.c:379:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		for (unsigned i=0; i < strlen(fname); i++)
data/pev-0.80/src/pehash.c:416:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		for (unsigned i=0; i < strlen(el->function_name); i++)
data/pev-0.80/src/pehash.c:465:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(dll_name, dll_name_ptr, sizeof(dll_name)-1);
data/pev-0.80/src/pehash.c:497:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	imphash_string_size = strlen(imphash_string);
data/pev-0.80/src/pehash.c:503:52:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	calc_hash("md5", (unsigned char *)imphash_string, strlen(imphash_string), imphash);
data/pev-0.80/src/pepack.c:210:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		size_t len = strlen(buff);
data/pev-0.80/src/pepack.c:232:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
			strncpy(packer_name, buff+1, packer_name_len);
data/pev-0.80/src/pescan.c:347:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120). Risk is low because the source is a
  constant string.
			strncpy(value, "normal", 7);
data/pev-0.80/src/plugins/text.c:93:34:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			const size_t key_size = key ? strlen(key) : 0;
data/pev-0.80/src/readpe.c:788:6:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
					strncpy(fname, (char *)imp_name->Name, sizeof(fname)-1);
data/pev-0.80/src/readpe.c:823:6:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
					strncpy(fname, (char *)imp_name->Name, sizeof(fname)-1);
data/pev-0.80/src/readpe.c:947:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(fname, entry_name, sizeof(fname)-1);
data/pev-0.80/src/readpe.c:1027:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
		strncpy(dll_name, dll_name_ptr, sizeof(dll_name)-1);
data/pev-0.80/src/utils.c:50:19:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	size_t len_str = strlen(str);
data/pev-0.80/src/utils.c:51:22:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	size_t len_suffix = strlen(suffix);
data/pev-0.80/src/utils.c:68:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	const size_t length = strlen(str);
data/pev-0.80/src/utils.c:94:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
	const size_t length = strlen(begin);
data/pev-0.80/src/utils.c:116:20:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
		result_length += strlen(strings[i]) + 1;
data/pev-0.80/src/windows/cpload.c:118:31:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			if (!strncmp(msg, msgs[i], strlen(msgs[i])))

ANALYSIS SUMMARY:

Hits = 182
Lines analyzed = 25323 in approximately 0.74 seconds (34413 lines/second)
Physical Source Lines of Code (SLOC) = 18779
Hits@level = [0] 252 [1]  37 [2]  76 [3]  12 [4]  57 [5]   0
Hits@level+ = [0+] 434 [1+] 182 [2+] 145 [3+]  69 [4+]  57 [5+]   0
Hits/KSLOC@level+ = [0+] 23.1109 [1+] 9.69168 [2+] 7.72139 [3+] 3.67432 [4+] 3.03531 [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.