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/asmjit-0.0~git20200831.d1b7543/src/asmjit/asmjit.h
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core.h
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/api-build_p.h
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/api-config.h
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/arch.cpp
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/arch.h
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/assembler.cpp
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/assembler.h
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/builder.cpp
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/builder.h
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/callconv.cpp
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/callconv.h
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/codebuffer.h
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/codebufferwriter_p.h
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/codeholder.cpp
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/codeholder.h
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/compiler.cpp
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/compiler.h
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/constpool.cpp
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/constpool.h
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/cpuinfo.cpp
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/cpuinfo.h
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/datatypes.h
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/emitter.cpp
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/emitter.h
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/emitterutils.cpp
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/emitterutils_p.h
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/environment.cpp
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/environment.h
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/errorhandler.cpp
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/errorhandler.h
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/features.h
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/formatter.cpp
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/formatter.h
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/func.cpp
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/func.h
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/globals.cpp
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/globals.h
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/inst.cpp
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/inst.h
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/jitallocator.cpp
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/jitallocator.h
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/jitruntime.cpp
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/jitruntime.h
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/logger.cpp
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/logger.h
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/misc_p.h
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/operand.cpp
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/operand.h
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/osutils.cpp
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/osutils.h
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/osutils_p.h
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/raassignment_p.h
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/rabuilders_p.h
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/radefs_p.h
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/ralocal.cpp
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/ralocal_p.h
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/rapass.cpp
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/rapass_p.h
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/rastack.cpp
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/rastack_p.h
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/string.cpp
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/string.h
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/support.cpp
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/support.h
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/target.cpp
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/target.h
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/type.cpp
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/type.h
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/virtmem.cpp
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/virtmem.h
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/zone.cpp
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/zone.h
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/zonehash.cpp
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/zonehash.h
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/zonelist.cpp
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/zonelist.h
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/zonestack.cpp
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/zonestack.h
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/zonestring.h
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/zonetree.cpp
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/zonetree.h
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/zonevector.cpp
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/zonevector.h
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/x86.h
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/x86/x86archdata.cpp
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/x86/x86archdata_p.h
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/x86/x86assembler.cpp
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/x86/x86assembler.h
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/x86/x86builder.cpp
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/x86/x86builder.h
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/x86/x86callconv.cpp
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/x86/x86callconv_p.h
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/x86/x86compiler.cpp
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/x86/x86compiler.h
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/x86/x86emitter.h
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/x86/x86features.cpp
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/x86/x86features.h
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/x86/x86formatter.cpp
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/x86/x86formatter_p.h
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/x86/x86globals.h
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/x86/x86instapi.cpp
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/x86/x86instapi_p.h
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/x86/x86instdb.cpp
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/x86/x86instdb.h
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/x86/x86instdb_p.h
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/x86/x86internal.cpp
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/x86/x86internal_p.h
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/x86/x86opcode_p.h
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/x86/x86operand.cpp
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/x86/x86operand.h
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/x86/x86rapass.cpp
Examining data/asmjit-0.0~git20200831.d1b7543/src/asmjit/x86/x86rapass_p.h
Examining data/asmjit-0.0~git20200831.d1b7543/test/asmjit_bench_x86.cpp
Examining data/asmjit-0.0~git20200831.d1b7543/test/asmjit_test_misc.h
Examining data/asmjit-0.0~git20200831.d1b7543/test/asmjit_test_opcode.cpp
Examining data/asmjit-0.0~git20200831.d1b7543/test/asmjit_test_opcode.h
Examining data/asmjit-0.0~git20200831.d1b7543/test/asmjit_test_unit.cpp
Examining data/asmjit-0.0~git20200831.d1b7543/test/asmjit_test_x86_asm.cpp
Examining data/asmjit-0.0~git20200831.d1b7543/test/asmjit_test_x86_cc.cpp
Examining data/asmjit-0.0~git20200831.d1b7543/test/asmjit_test_x86_instinfo.cpp
Examining data/asmjit-0.0~git20200831.d1b7543/test/asmjit_test_x86_sections.cpp
Examining data/asmjit-0.0~git20200831.d1b7543/test/broken.cpp
Examining data/asmjit-0.0~git20200831.d1b7543/test/broken.h

FINAL RESULTS:

data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/compiler.cpp:498: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(buf, ASMJIT_ARRAY_SIZE(buf), fmt, ap);
data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/string.cpp:414:17:  [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.
    fmtResult = vsnprintf(data() + startAt, remainingCapacity, fmt, ap);
data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/string.cpp:423:17:  [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.
    fmtResult = vsnprintf(buf, ASMJIT_ARRAY_SIZE(buf), fmt, ap);
data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/string.cpp:437:15:  [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.
  fmtResult = vsnprintf(p, outputSize + 1, fmt, apCopy);
data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/virtmem.cpp:126:5:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    access |= FILE_MAP_EXECUTE;
data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/virtmem.cpp:127:10:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
  return access;
data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/zone.cpp:222:19:  [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.
  size = unsigned(vsnprintf(buf, ASMJIT_ARRAY_SIZE(buf) - 1, fmt, ap));
data/asmjit-0.0~git20200831.d1b7543/src/asmjit/x86/x86formatter.cpp:489:9:  [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(buf, sizeof(buf), spec.text, unsigned(value));
data/asmjit-0.0~git20200831.d1b7543/test/broken.cpp:276:7:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
      vfprintf(dst, fmtBuf, ap);
data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/osutils_p.h:45:32:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
inline Lock::Lock() noexcept { InitializeCriticalSection(reinterpret_cast<CRITICAL_SECTION*>(&_handle)); }
data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/osutils_p.h:47:37:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
inline void Lock::lock() noexcept { EnterCriticalSection(reinterpret_cast<CRITICAL_SECTION*>(&_handle)); }
data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/virtmem.cpp:355: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* tmpDir = getenv("TMPDIR");
data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/assembler.cpp:146: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 str[4];
data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/builder.cpp:146: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(dstData, data, dataSize);
data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/codebufferwriter_p.h:116: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(_cursor, data, size);
data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/codeholder.cpp:420: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(section->_name.str, name, nameSize);
data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/codeholder.cpp:1100: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(dst, section->data(), bufferSize);
data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/codeholder.cpp:1124: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(dstTarget, section->data(), bufferSize);
data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/compiler.cpp: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 buf[64];
data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/compiler.cpp:494: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 buf[128];
data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/constpool.cpp:231: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(_dst + node->_offset, node->data(), _dataSize);
data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/constpool.h:189: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(node->data(), data, size);
data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/environment.h:366: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(&x, this, 8);
data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/func.h:941: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(this, &other, sizeof(*this));
data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/globals.cpp:134: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 str[1024];
data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/jitruntime.cpp:93: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(rw + offset, section->data(), bufferSize);
data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/operand.h:258: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.
  inline void copyFrom(const Operand_& other) noexcept { memcpy(this, &other, sizeof(Operand_)); }
data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/raassignment_p.h:87: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(this, other, size);
data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/raassignment_p.h:108:9:  [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(this, other, size);
data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/raassignment_p.h:317: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(_physToWorkMap, physToWorkMap, PhysToWorkMap::sizeOf(_layout.physTotal));
data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/raassignment_p.h:318: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(_workToPhysMap, workToPhysMap, WorkToPhysMap::sizeOf(_layout.workCount));
data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/string.cpp:132: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(newData, curData, curSize);
data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/string.cpp:228: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(p, str, size);
data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/string.cpp:262: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[128];
data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/string.cpp:337: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(data, p, prefixSize);
data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/string.cpp:343: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(data, p + prefixSize, numberSize);
data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/string.cpp:406: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[1024];
data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/string.h:47: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 str[kNumU32 * sizeof(uint32_t)];
data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/string.h:121: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 data[kSSOCapacity + 1u];
data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/string.h:377: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 _embeddedData[Support::alignUp(N + 1, sizeof(size_t))];
data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/support.cpp:452: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(arr2, arr1, kArraySize * sizeof(int));
data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/support.cpp:489: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(arr2, arr1, kArraySize * sizeof(float));
data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/virtmem.cpp:326:11:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    ver = atoi(osname.release);
data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/virtmem.cpp:411:13:  [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).
      *fd = open(uniqueName.data(), O_RDWR | O_CREAT | O_EXCL, 0);
data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/zone.cpp:207: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(m, data, size);
data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/zone.cpp:217: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[512];
data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/zone.h:398: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 data[N];
data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/zonestring.h:44:7:  [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 _embedded[sizeof(void*) * 2 - 4];
data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/zonestring.h:62: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(_embedded, str, size);
data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/zonestring.h:96: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 _wholeData[kWholeSize];
data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/zonevector.cpp:88: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(newData, oldData, size_t(_size) * sizeOfT);
data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/zonevector.h:227: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(_data, &item, sizeof(T));
data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/zonevector.h:242: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(dst, &item, sizeof(T));
data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/zonevector.h:253: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(static_cast<T*>(_data) + _size, &item, sizeof(T));
data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/zonevector.h:266: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(static_cast<T*>(_data) + _size, other._data, size_t(size) * sizeof(T));
data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/zonevector.h:285: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(data, &item, sizeof(T));
data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/zonevector.h:297: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(static_cast<T*>(_data) + _size, &item, sizeof(T));
data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/zonevector.h:308: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(dst, &item, sizeof(T));
data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/zonevector.h:317: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(static_cast<T*>(_data) + _size, other._data, size_t(size) * sizeof(T));
data/asmjit-0.0~git20200831.d1b7543/src/asmjit/x86/x86features.cpp:89: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 normalized[8];
data/asmjit-0.0~git20200831.d1b7543/src/asmjit/x86/x86features.cpp:90:13:  [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.
    union { char text[12]; uint32_t d[3]; };
data/asmjit-0.0~git20200831.d1b7543/src/asmjit/x86/x86features.cpp:105: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(cpu._vendor.str, table[i].normalized, 8);
data/asmjit-0.0~git20200831.d1b7543/src/asmjit/x86/x86formatter.cpp:57: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 typeStrings[128 - 32];
data/asmjit-0.0~git20200831.d1b7543/src/asmjit/x86/x86formatter.cpp: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 nameStrings[280];
data/asmjit-0.0~git20200831.d1b7543/src/asmjit/x86/x86formatter.cpp:455: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 text[48 - 3];
data/asmjit-0.0~git20200831.d1b7543/src/asmjit/x86/x86formatter.cpp:475: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[64];
data/asmjit-0.0~git20200831.d1b7543/test/asmjit_test_x86_cc.cpp:1258: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 resultBuf[4];
data/asmjit-0.0~git20200831.d1b7543/test/asmjit_test_x86_cc.cpp:1259: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 expectBuf[4] = { 1, 0, 0, 1 };
data/asmjit-0.0~git20200831.d1b7543/test/asmjit_test_x86_cc.cpp:1483: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 dst[20] = { 0 };
data/asmjit-0.0~git20200831.d1b7543/test/asmjit_test_x86_cc.cpp:1484: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 src[20] = "Hello AsmJit!";
data/asmjit-0.0~git20200831.d1b7543/test/asmjit_test_x86_cc.cpp:2442: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(dstBuffer, dstConstData, sizeof(dstConstData));
data/asmjit-0.0~git20200831.d1b7543/test/asmjit_test_x86_cc.cpp:2443: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(srcBuffer, srcConstData, sizeof(srcConstData));
data/asmjit-0.0~git20200831.d1b7543/test/asmjit_test_x86_cc.cpp:2557:18:  [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 const char token[kTokenSize] = "-+:|abcdefghijklmnopqrstuvwxyz|";
data/asmjit-0.0~git20200831.d1b7543/test/asmjit_test_x86_cc.cpp:2564:39:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    cc.invoke(&invokeNode, imm((void*)memcpy), FuncSignatureT<void*, void*, void*, size_t>(CallConv::kIdCDecl));
data/asmjit-0.0~git20200831.d1b7543/test/asmjit_test_x86_cc.cpp:2570:39:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    cc.invoke(&invokeNode, imm((void*)memcpy), FuncSignatureT<void*, void*, void*, size_t>(CallConv::kIdCDecl));
data/asmjit-0.0~git20200831.d1b7543/test/asmjit_test_x86_sections.cpp:161: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(static_cast<uint8_t*>(rwPtr) + size_t(section->offset()), section->data(), section->bufferSize());
data/asmjit-0.0~git20200831.d1b7543/test/broken.cpp:255: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 staticBuffer[512];
data/asmjit-0.0~git20200831.d1b7543/test/broken.cpp:268: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(fmtBuf, prefix, prefixSize);
data/asmjit-0.0~git20200831.d1b7543/test/broken.cpp:269: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(fmtBuf + prefixSize, fmt, fmtSize);
data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/builder.cpp:164:14:  [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(data);
data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/builder.cpp:668:70:  [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).
    node->setInlineComment(static_cast<char*>(_dataZone.dup(comment, strlen(comment), true)));
data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/codeholder.cpp:394: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).
    nameSize = strlen(name);
data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/codeholder.cpp:436: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).
    nameSize = strlen(name);
data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/compiler.cpp:541:70:  [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).
    node->setInlineComment(static_cast<char*>(_dataZone.dup(comment, strlen(comment), true)));
data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/logger.cpp:101:12:  [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(data);
data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/string.cpp:158: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 = data ? strlen(data) : size_t(0);
data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/string.cpp:219:18:  [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 = str ? strlen(str) : size_t(0);
data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/string.cpp:524: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).
  EXPECT(s.size() == strlen(large));
data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/string.cpp:527: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).
  EXPECT(s.eq(large, strlen(large)) == true);
data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/string.cpp:532: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).
  EXPECT(s.size() == strlen(large) + strlen(additional));
data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/string.cpp:532:38:  [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).
  EXPECT(s.size() == strlen(large) + strlen(additional));
data/asmjit-0.0~git20200831.d1b7543/src/asmjit/core/zonestring.h:59:14:  [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(str);
data/asmjit-0.0~git20200831.d1b7543/src/asmjit/x86/x86instapi.cpp:78:11:  [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(s);
data/asmjit-0.0~git20200831.d1b7543/test/asmjit_test_x86_cc.cpp:1485: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).
    func(dst, src, strlen(src) + 1);
data/asmjit-0.0~git20200831.d1b7543/test/broken.cpp:257: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 fmtSize = strlen(fmt);
data/asmjit-0.0~git20200831.d1b7543/test/broken.cpp:258:25:  [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 prefixSize = strlen(prefix);

ANALYSIS SUMMARY:

Hits = 96
Lines analyzed = 76849 in approximately 1.96 seconds (39245 lines/second)
Physical Source Lines of Code (SLOC) = 48614
Hits@level = [0]  63 [1]  17 [2]  67 [3]   3 [4]   9 [5]   0
Hits@level+ = [0+] 159 [1+]  96 [2+]  79 [3+]  12 [4+]   9 [5+]   0
Hits/KSLOC@level+ = [0+] 3.27066 [1+] 1.97474 [2+] 1.62505 [3+] 0.246842 [4+] 0.185132 [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.