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/orc-0.4.32/examples/example1.c
Examining data/orc-0.4.32/examples/example2.c
Examining data/orc-0.4.32/examples/example3.c
Examining data/orc-0.4.32/examples/mt19937ar.c
Examining data/orc-0.4.32/examples/volscale.c
Examining data/orc-0.4.32/orc/generate-bytecode.c
Examining data/orc-0.4.32/orc/generate-emulation.c
Examining data/orc-0.4.32/orc/opcodes.h
Examining data/orc-0.4.32/orc/orc-stdint.h
Examining data/orc-0.4.32/orc/orc.c
Examining data/orc-0.4.32/orc/orc.h
Examining data/orc-0.4.32/orc/orcarm.c
Examining data/orc-0.4.32/orc/orcarm.h
Examining data/orc-0.4.32/orc/orcbytecode.c
Examining data/orc-0.4.32/orc/orcbytecode.h
Examining data/orc-0.4.32/orc/orcbytecodes.h
Examining data/orc-0.4.32/orc/orccode.c
Examining data/orc-0.4.32/orc/orccode.h
Examining data/orc-0.4.32/orc/orccodemem.c
Examining data/orc-0.4.32/orc/orccompiler.c
Examining data/orc-0.4.32/orc/orccompiler.h
Examining data/orc-0.4.32/orc/orcconstant.h
Examining data/orc-0.4.32/orc/orccpu-arm.c
Examining data/orc-0.4.32/orc/orccpu-mips.c
Examining data/orc-0.4.32/orc/orccpu-powerpc.c
Examining data/orc-0.4.32/orc/orccpu-x86.c
Examining data/orc-0.4.32/orc/orccpu.h
Examining data/orc-0.4.32/orc/orccpuinsn.h
Examining data/orc-0.4.32/orc/orcdebug.c
Examining data/orc-0.4.32/orc/orcdebug.h
Examining data/orc-0.4.32/orc/orcemulateopcodes.c
Examining data/orc-0.4.32/orc/orcemulateopcodes.h
Examining data/orc-0.4.32/orc/orcexecutor.c
Examining data/orc-0.4.32/orc/orcexecutor.h
Examining data/orc-0.4.32/orc/orcfunctions.c
Examining data/orc-0.4.32/orc/orcfunctions.h
Examining data/orc-0.4.32/orc/orcinstruction.h
Examining data/orc-0.4.32/orc/orcinternal.h
Examining data/orc-0.4.32/orc/orclimits.h
Examining data/orc-0.4.32/orc/orcmips.c
Examining data/orc-0.4.32/orc/orcmips.h
Examining data/orc-0.4.32/orc/orcmmx.c
Examining data/orc-0.4.32/orc/orcmmx.h
Examining data/orc-0.4.32/orc/orcneon.h
Examining data/orc-0.4.32/orc/orconce.c
Examining data/orc-0.4.32/orc/orconce.h
Examining data/orc-0.4.32/orc/orcopcode.h
Examining data/orc-0.4.32/orc/orcopcodes.c
Examining data/orc-0.4.32/orc/orcparse.c
Examining data/orc-0.4.32/orc/orcparse.h
Examining data/orc-0.4.32/orc/orcpowerpc.c
Examining data/orc-0.4.32/orc/orcpowerpc.h
Examining data/orc-0.4.32/orc/orcprogram-altivec.c
Examining data/orc-0.4.32/orc/orcprogram-arm.c
Examining data/orc-0.4.32/orc/orcprogram-c.c
Examining data/orc-0.4.32/orc/orcprogram-c64x-c.c
Examining data/orc-0.4.32/orc/orcprogram-mips.c
Examining data/orc-0.4.32/orc/orcprogram-mmx.c
Examining data/orc-0.4.32/orc/orcprogram-neon.c
Examining data/orc-0.4.32/orc/orcprogram-sse.c
Examining data/orc-0.4.32/orc/orcprogram.c
Examining data/orc-0.4.32/orc/orcprogram.h
Examining data/orc-0.4.32/orc/orcrule.c
Examining data/orc-0.4.32/orc/orcrule.h
Examining data/orc-0.4.32/orc/orcrules-altivec.c
Examining data/orc-0.4.32/orc/orcrules-arm.c
Examining data/orc-0.4.32/orc/orcrules-mips.c
Examining data/orc-0.4.32/orc/orcrules-mmx.c
Examining data/orc-0.4.32/orc/orcrules-neon.c
Examining data/orc-0.4.32/orc/orcrules-sse.c
Examining data/orc-0.4.32/orc/orcsse.c
Examining data/orc-0.4.32/orc/orcsse.h
Examining data/orc-0.4.32/orc/orctarget.h
Examining data/orc-0.4.32/orc/orcutils.c
Examining data/orc-0.4.32/orc/orcutils.h
Examining data/orc-0.4.32/orc/orcvariable.h
Examining data/orc-0.4.32/orc/orcx86.c
Examining data/orc-0.4.32/orc/orcx86.h
Examining data/orc-0.4.32/orc/orcx86insn.c
Examining data/orc-0.4.32/orc/orcx86insn.h
Examining data/orc-0.4.32/orc-test/orcarray.c
Examining data/orc-0.4.32/orc-test/orcarray.h
Examining data/orc-0.4.32/orc-test/orcprofile.c
Examining data/orc-0.4.32/orc-test/orcprofile.h
Examining data/orc-0.4.32/orc-test/orcrandom.c
Examining data/orc-0.4.32/orc-test/orcrandom.h
Examining data/orc-0.4.32/orc-test/orctest.c
Examining data/orc-0.4.32/orc-test/orctest.h
Examining data/orc-0.4.32/testsuite/abi.c
Examining data/orc-0.4.32/testsuite/benchmorc/benchmorc.c
Examining data/orc-0.4.32/testsuite/bytecode_parse.c
Examining data/orc-0.4.32/testsuite/compile_opcodes_float.c
Examining data/orc-0.4.32/testsuite/compile_opcodes_float_c.c
Examining data/orc-0.4.32/testsuite/compile_opcodes_float_neon.c
Examining data/orc-0.4.32/testsuite/compile_opcodes_pixel_neon.c
Examining data/orc-0.4.32/testsuite/compile_opcodes_sys.c
Examining data/orc-0.4.32/testsuite/compile_opcodes_sys_c.c
Examining data/orc-0.4.32/testsuite/compile_opcodes_sys_c64x.c
Examining data/orc-0.4.32/testsuite/compile_opcodes_sys_mips.c
Examining data/orc-0.4.32/testsuite/compile_opcodes_sys_neon.c
Examining data/orc-0.4.32/testsuite/compile_parse.c
Examining data/orc-0.4.32/testsuite/compile_parse_c.c
Examining data/orc-0.4.32/testsuite/compile_parse_neon.c
Examining data/orc-0.4.32/testsuite/exec_opcodes_float.c
Examining data/orc-0.4.32/testsuite/exec_opcodes_sys.c
Examining data/orc-0.4.32/testsuite/exec_parse.c
Examining data/orc-0.4.32/testsuite/generate_opcodes_sys.c
Examining data/orc-0.4.32/testsuite/generate_xml_table.c
Examining data/orc-0.4.32/testsuite/generate_xml_table2.c
Examining data/orc-0.4.32/testsuite/memcpy_speed.c
Examining data/orc-0.4.32/testsuite/orcc/test2.c
Examining data/orc-0.4.32/testsuite/orcc/test3.c
Examining data/orc-0.4.32/testsuite/perf_opcodes_sys.c
Examining data/orc-0.4.32/testsuite/perf_opcodes_sys_compare.c
Examining data/orc-0.4.32/testsuite/perf_parse.c
Examining data/orc-0.4.32/testsuite/perf_parse_compare.c
Examining data/orc-0.4.32/testsuite/show_parse.c
Examining data/orc-0.4.32/testsuite/test-limits.c
Examining data/orc-0.4.32/testsuite/test-schro.c
Examining data/orc-0.4.32/testsuite/test_accsadubl.c
Examining data/orc-0.4.32/testsuite/test_parse.c
Examining data/orc-0.4.32/tools/orc-bugreport.c
Examining data/orc-0.4.32/tools/orcc.c

FINAL RESULTS:

data/orc-0.4.32/orc-test/orctest.c:44: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.
#define snprintf _snprintf
data/orc-0.4.32/orc-test/orctest.c:44:18:  [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.
#define snprintf _snprintf
data/orc-0.4.32/orc-test/orctest.c:131:9:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  ret = system (cmd);
data/orc-0.4.32/orc-test/orctest.c:144:9:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  ret = system (cmd);
data/orc-0.4.32/orc-test/orctest.c:164:9:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  ret = system (cmd);
data/orc-0.4.32/orc-test/orctest.c:176:9:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  ret = system (cmd);
data/orc-0.4.32/orc-test/orctest.c:184:9:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  ret = system (cmd);
data/orc-0.4.32/orc-test/orctest.c:220:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(source_filename, "%s-source.s", base);
data/orc-0.4.32/orc-test/orctest.c:221:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(obj_filename, "%s.o", base);
data/orc-0.4.32/orc-test/orctest.c:222:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(dis_filename, "%s-source.dis", base);
data/orc-0.4.32/orc-test/orctest.c:223:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(dump_filename, "%s-dump.bin", base);
data/orc-0.4.32/orc-test/orctest.c:224:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(dump_dis_filename, "%s-dump.dis", base);
data/orc-0.4.32/orc-test/orctest.c:246:3:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  sprintf (cmd, PREFIX "gcc -march=armv6t2 -mcpu=cortex-a8 -mfpu=neon -Wall "
data/orc-0.4.32/orc-test/orctest.c:248:9:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  ret = system (cmd);
data/orc-0.4.32/orc-test/orctest.c:254:3:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  sprintf (cmd, PREFIX "objdump -dr %s >%s", obj_filename, dis_filename);
data/orc-0.4.32/orc-test/orctest.c:255:9:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  ret = system (cmd);
data/orc-0.4.32/orc-test/orctest.c:261:3:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  sprintf (cmd, PREFIX "objcopy -I binary "
data/orc-0.4.32/orc-test/orctest.c:266:9:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  ret = system (cmd);
data/orc-0.4.32/orc-test/orctest.c:272:3:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  sprintf (cmd, PREFIX "objdump -Dr %s >%s", obj_filename, dump_dis_filename);
data/orc-0.4.32/orc-test/orctest.c:273:9:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  ret = system (cmd);
data/orc-0.4.32/orc-test/orctest.c:279:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf (cmd, "diff -u %s %s", dis_filename, dump_dis_filename);
data/orc-0.4.32/orc-test/orctest.c:280:9:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  ret = system (cmd);
data/orc-0.4.32/orc-test/orctest.c:315:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(source_filename, "%s-source.c", base);
data/orc-0.4.32/orc-test/orctest.c:316:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(obj_filename, "%s-source.obj", base);
data/orc-0.4.32/orc-test/orctest.c:317:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(dis_filename, "%s-source.dis", base);
data/orc-0.4.32/orc-test/orctest.c:318:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(dump_filename, "%s-dump.bin", base);
data/orc-0.4.32/orc-test/orctest.c:319:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(dump_dis_filename, "%s-dump.dis", base);
data/orc-0.4.32/orc-test/orctest.c:341:3:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  sprintf (cmd, C64X_PREFIX "cl6x -mv=6400+ "
data/orc-0.4.32/orc-test/orctest.c:343:9:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  ret = system (cmd);
data/orc-0.4.32/orc-test/orctest.c:350:3:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  sprintf (cmd, C64X_PREFIX "dis6x %s >%s", obj_filename, dis_filename);
data/orc-0.4.32/orc-test/orctest.c:351:9:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  ret = system (cmd);
data/orc-0.4.32/orc-test/orctest.c:358:3:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  sprintf (cmd, C64X_PREFIX "objcopy -I binary "
data/orc-0.4.32/orc-test/orctest.c:363:9:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  ret = system (cmd);
data/orc-0.4.32/orc-test/orctest.c:371:3:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  sprintf (cmd, C64X_PREFIX "dis6x %s >%s", dump_filename, dump_dis_filename);
data/orc-0.4.32/orc-test/orctest.c:372:9:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  ret = system (cmd);
data/orc-0.4.32/orc-test/orctest.c:378:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf (cmd, "diff -u %s %s", dis_filename, dump_dis_filename);
data/orc-0.4.32/orc-test/orctest.c:379:9:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  ret = system (cmd);
data/orc-0.4.32/orc-test/orctest.c:848:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(s, "test_%s", opcode->name);
data/orc-0.4.32/orc-test/orctest.c:897:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(s, "test_const_%s", opcode->name);
data/orc-0.4.32/orc-test/orctest.c:945:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(s, "test_p_%s", opcode->name);
data/orc-0.4.32/orc-test/orctest.c:1104:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(source_filename, "%s-source.s", base);
data/orc-0.4.32/orc-test/orctest.c:1105:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(obj_filename, "%s.o", base);
data/orc-0.4.32/orc-test/orctest.c:1106:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(dis_filename, "%s-source.dis", base);
data/orc-0.4.32/orc-test/orctest.c:1107:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(dump_filename, "%s-dump.bin", base);
data/orc-0.4.32/orc-test/orctest.c:1108:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(dump_dis_filename, "%s-dump.dis", base);
data/orc-0.4.32/orc-test/orctest.c:1131:3:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  sprintf (cmd, MIPS_PREFIX "gcc -mips32r2 -mdspr2 -Wall "
data/orc-0.4.32/orc-test/orctest.c:1133:9:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  ret = system (cmd);
data/orc-0.4.32/orc-test/orctest.c:1139:3:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  sprintf (cmd, MIPS_PREFIX "objdump -Dr -j .text %s >%s", obj_filename, dis_filename);
data/orc-0.4.32/orc-test/orctest.c:1140:9:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  ret = system (cmd);
data/orc-0.4.32/orc-test/orctest.c:1146:3:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  sprintf (cmd, MIPS_PREFIX "objcopy -I binary "
data/orc-0.4.32/orc-test/orctest.c:1151:9:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  ret = system (cmd);
data/orc-0.4.32/orc-test/orctest.c:1157:3:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
  sprintf (cmd, MIPS_PREFIX "objdump -Dr %s >%s", obj_filename, dump_dis_filename);
data/orc-0.4.32/orc-test/orctest.c:1158:9:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  ret = system (cmd);
data/orc-0.4.32/orc-test/orctest.c:1164:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf (cmd, "diff -u %s %s", dis_filename, dump_dis_filename);
data/orc-0.4.32/orc-test/orctest.c:1165:9:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  ret = system (cmd);
data/orc-0.4.32/orc/generate-emulation.c:131:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(s, "emulate_%s", opcode->name);
data/orc-0.4.32/orc/orcarm.c:547:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf (shifter, "%s", orc_arm_reg_name (Rm));
data/orc-0.4.32/orc/orcarm.c:552:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf (shifter, "%s, %s #%d",
data/orc-0.4.32/orc/orcarm.c:558:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf (shifter, "%s, %s %s",
data/orc-0.4.32/orc/orcarm.c:564:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf (shifter, "%s, RRX",
data/orc-0.4.32/orc/orcarm.c:697:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf (shifter, ", %s #%d",
data/orc-0.4.32/orc/orcarm.c:735:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf (shifter, ", %s #%d",
data/orc-0.4.32/orc/orccodemem.c:221:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(filename, "%s/orcexec.XXXXXX", dir);
data/orc-0.4.32/orc/orccompiler.c:1081:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(compiler->vars[i].name, "%s.dup%d", compiler->vars[var].name, j);
data/orc-0.4.32/orc/orccompiler.c:1132:3:  [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(tmp, 200 - 1, fmt, varargs);
data/orc-0.4.32/orc/orccompiler.c:1314:3:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
  vsprintf (s, fmt, args);
data/orc-0.4.32/orc/orcdebug.c:130:3:  [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 (stderr, format, args);
data/orc-0.4.32/orc/orcparse.c:408:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(s, "In function %s:\n", parser->program->name);
data/orc-0.4.32/orc/orcparse.c:416:5:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
    strcpy (parser->log + parser->log_size, s);
data/orc-0.4.32/orc/orcparse.c:421:3:  [4] (format) vsprintf:
  Potential format string problem (CWE-134). Make format string constant.
  vsprintf(s, format, args);
data/orc-0.4.32/orc/orcparse.c:429:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  strcpy (parser->log + parser->log_size, s);
data/orc-0.4.32/orc/orcprogram-c.c:175:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy (s, varnames[var]);
data/orc-0.4.32/orc/orcprogram-c.c:197:5:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
    sprintf(s, "%s_stride", varnames[var]);
data/orc-0.4.32/orc/orcprogram-c.c:474:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(name,"%s", varnames[var]);
data/orc-0.4.32/orc/orcprogram-c64x-c.c:522:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(name, "(*(%sint8_t *)var%d)",
data/orc-0.4.32/orc/orcprogram-c64x-c.c:525:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(name, "_%smem%d%s(var%d)",
data/orc-0.4.32/orc/orcprogram.c:364:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(program->vars[i].name, "%s.dup%d", program->vars[var].name, j);
data/orc-0.4.32/orc/orcx86insn.c:365:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(op1_str, "%%%s, ",
data/orc-0.4.32/orc/orcx86insn.c:368:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(op1_str, "%d(%%%s), ", xinsn->offset,
data/orc-0.4.32/orc/orcx86insn.c:371:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(op1_str, "%d(%%%s,%%%s,%d), ", xinsn->offset,
data/orc-0.4.32/orc/orcx86insn.c:383:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(op1_str, "%%%s, ",
data/orc-0.4.32/orc/orcx86insn.c:390:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(op1_str, "%%%s, ", orc_x86_get_regname_size (xinsn->src,
data/orc-0.4.32/orc/orcx86insn.c:393:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(op1_str, "%d(%%%s), ", xinsn->offset,
data/orc-0.4.32/orc/orcx86insn.c:396:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(op1_str, "%d(%%%s,%%%s,%d), ", xinsn->offset,
data/orc-0.4.32/orc/orcx86insn.c:419:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(op1_str, "%%%s, ", orc_x86_get_regname (xinsn->src));
data/orc-0.4.32/orc/orcx86insn.c:422:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(op1_str, "%%%s, ", orc_x86_get_regname_8 (xinsn->src));
data/orc-0.4.32/orc/orcx86insn.c:425:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(op1_str, "%%%s, ", orc_x86_get_regname_16 (xinsn->src));
data/orc-0.4.32/orc/orcx86insn.c:440:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(op2_str, "%%%s",
data/orc-0.4.32/orc/orcx86insn.c:446:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(op2_str, "%%%s",
data/orc-0.4.32/orc/orcx86insn.c:449:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(op2_str, "%d(%%%s)", xinsn->offset,
data/orc-0.4.32/orc/orcx86insn.c:452:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(op1_str, "%d(%%%s,%%%s,%d), ", xinsn->offset,
data/orc-0.4.32/orc/orcx86insn.c:470:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(op2_str, "%%%s", orc_x86_get_regname (xinsn->dest));
data/orc-0.4.32/orc/orcx86insn.c:472:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(op2_str, "%d(%%%s)", xinsn->offset,
data/orc-0.4.32/orc/orcx86insn.c:475:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(op1_str, "%d(%%%s,%%%s,%d), ", xinsn->offset,
data/orc-0.4.32/orc/orcx86insn.c:485:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(op2_str, "%%%s", orc_x86_get_regname_size (xinsn->dest,
data/orc-0.4.32/orc/orcx86insn.c:494:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(op2_str, "%d(%%%s)", xinsn->offset,
data/orc-0.4.32/orc/orcx86insn.c:511:7:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
      sprintf(op2_str, "%%%s", orc_x86_get_regname_size (X86_EAX, xinsn->size));
data/orc-0.4.32/testsuite/exec_opcodes_float.c:81:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(s, "test_s_%s", opcode->name);
data/orc-0.4.32/testsuite/exec_opcodes_float.c:107:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(s, "test_c_%s", opcode->name);
data/orc-0.4.32/testsuite/exec_opcodes_float.c:133:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(s, "test_c_%s", opcode->name);
data/orc-0.4.32/testsuite/exec_opcodes_float.c:162:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(s, "test_inplace_%s", opcode->name);
data/orc-0.4.32/testsuite/exec_opcodes_sys.c:139:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(s, "test_s_%s", opcode->name);
data/orc-0.4.32/testsuite/exec_opcodes_sys.c:210:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(s, "test_const_%s", opcode->name);
data/orc-0.4.32/testsuite/exec_opcodes_sys.c:286:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(s, "test_p_%s", opcode->name);
data/orc-0.4.32/testsuite/exec_opcodes_sys.c:329:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(s, "test_inplace_%s", opcode->name);
data/orc-0.4.32/testsuite/exec_opcodes_sys.c:373:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(s, "test_s_%s", opcode->name);
data/orc-0.4.32/testsuite/exec_opcodes_sys.c:422:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(s, "test_s_%s", opcode->name);
data/orc-0.4.32/testsuite/exec_opcodes_sys.c:471:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(s, "test_s_%s", opcode->name);
data/orc-0.4.32/testsuite/perf_opcodes_sys_compare.c:64:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(s, "test_s_%s ", opcode->name);
data/orc-0.4.32/tools/orc-bugreport.c:239:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(s, "test_s_%s", opcode->name);
data/orc-0.4.32/tools/orc-bugreport.c:297:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(s, "test_const_%s", opcode->name);
data/orc-0.4.32/tools/orc-bugreport.c:351:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(s, "test_p_%s", opcode->name);
data/orc-0.4.32/tools/orc-bugreport.c:395:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(s, "test_inplace_%s", opcode->name);
data/orc-0.4.32/tools/orc-bugreport.c:440:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(s, "test_s_%s", opcode->name);
data/orc-0.4.32/tools/orc-bugreport.c:490:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(s, "test_s_%s", opcode->name);
data/orc-0.4.32/tools/orc-bugreport.c:540:3:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
  sprintf(s, "test_s_%s", opcode->name);
data/orc-0.4.32/orc/orc.c:120:17:  [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.
  char *value = getenv (key);
data/orc-0.4.32/orc/orccodemem.c:285:12:  [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.
  tmpdir = getenv ("XDG_RUNTIME_DIR");
data/orc-0.4.32/orc/orccodemem.c:289:12:  [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.
  tmpdir = getenv ("HOME");
data/orc-0.4.32/orc/orccodemem.c:293:12:  [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.
  tmpdir = getenv ("TMPDIR");
data/orc-0.4.32/orc/orconce.c:51:3:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
  EnterCriticalSection (&once_mutex);
data/orc-0.4.32/orc/orconce.c:63:3:  [3] (misc) EnterCriticalSection:
  On some versions of Windows, exceptions can be thrown in low-memory
  situations. Use InitializeCriticalSectionAndSpinCount instead.
  EnterCriticalSection (&global_mutex);
data/orc-0.4.32/orc/orconce.c:79:3:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
  InitializeCriticalSection (&once_mutex);
data/orc-0.4.32/orc/orconce.c:80:3:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
  InitializeCriticalSection (&global_mutex);
data/orc-0.4.32/orc/orconce.c:93:3:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
  InitializeCriticalSection (&once_mutex);
data/orc-0.4.32/orc/orconce.c:94:3:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
  InitializeCriticalSection (&global_mutex);
data/orc-0.4.32/orc/orconce.c:106:5:  [3] (misc) InitializeCriticalSection:
  Exceptions can be thrown in low-memory situations. Use
  InitializeCriticalSectionAndSpinCount instead.
    InitializeCriticalSection (&once_mutex);
data/orc-0.4.32/testsuite/bytecode_parse.c:34:16:  [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.
    filename = getenv ("testfile");
data/orc-0.4.32/testsuite/compile_opcodes_sys.c:25:3:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  srand(time(NULL));
data/orc-0.4.32/testsuite/compile_parse.c:32:16:  [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.
    filename = getenv ("testfile");
data/orc-0.4.32/testsuite/compile_parse_neon.c:32:16:  [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.
    filename = getenv ("testfile");
data/orc-0.4.32/testsuite/exec_parse.c:34:16:  [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.
    filename = getenv ("testfile");
data/orc-0.4.32/testsuite/perf_parse.c:32:16:  [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.
    filename = getenv ("testfile");
data/orc-0.4.32/testsuite/perf_parse_compare.c:32:16:  [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.
    filename = getenv ("testfile");
data/orc-0.4.32/testsuite/show_parse.c:65:16:  [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.
    filename = getenv ("testfile");
data/orc-0.4.32/examples/example3.c:6: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.
unsigned char input_y[640*480];
data/orc-0.4.32/examples/example3.c:7: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.
unsigned char input_u[320*240];
data/orc-0.4.32/examples/example3.c:8: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.
unsigned char input_v[320*240];
data/orc-0.4.32/orc-test/orctest.c:66: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 cmd[300];
data/orc-0.4.32/orc-test/orctest.c:68: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 source_filename[100];
data/orc-0.4.32/orc-test/orctest.c:69: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 obj_filename[100];
data/orc-0.4.32/orc-test/orctest.c:70: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 dis_filename[100];
data/orc-0.4.32/orc-test/orctest.c:71: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 dump_filename[100];
data/orc-0.4.32/orc-test/orctest.c:72: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 dump_dis_filename[100];
data/orc-0.4.32/orc-test/orctest.c:115:10:  [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 = fopen (source_filename, "w");
data/orc-0.4.32/orc-test/orctest.c:119:10:  [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 = fopen (dump_filename, "w");
data/orc-0.4.32/orc-test/orctest.c:205: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 cmd[400];
data/orc-0.4.32/orc-test/orctest.c:207: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 source_filename[100];
data/orc-0.4.32/orc-test/orctest.c:208: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 obj_filename[100];
data/orc-0.4.32/orc-test/orctest.c:209: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 dis_filename[100];
data/orc-0.4.32/orc-test/orctest.c:210: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 dump_filename[100];
data/orc-0.4.32/orc-test/orctest.c:211: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 dump_dis_filename[100];
data/orc-0.4.32/orc-test/orctest.c:238:10:  [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 = fopen (source_filename, "w");
data/orc-0.4.32/orc-test/orctest.c:242:10:  [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 = fopen (dump_filename, "w");
data/orc-0.4.32/orc-test/orctest.c:300: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 cmd[300];
data/orc-0.4.32/orc-test/orctest.c:302: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 source_filename[100];
data/orc-0.4.32/orc-test/orctest.c:303: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 obj_filename[100];
data/orc-0.4.32/orc-test/orctest.c:304: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 dis_filename[100];
data/orc-0.4.32/orc-test/orctest.c:305: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 dump_filename[100];
data/orc-0.4.32/orc-test/orctest.c:306: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 dump_dis_filename[100];
data/orc-0.4.32/orc-test/orctest.c:332:10:  [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 = fopen (source_filename, "w");
data/orc-0.4.32/orc-test/orctest.c:337:10:  [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 = fopen (dump_filename, "w");
data/orc-0.4.32/orc-test/orctest.c:805: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 s[40];
data/orc-0.4.32/orc-test/orctest.c:861: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 s[40];
data/orc-0.4.32/orc-test/orctest.c:910: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 s[40];
data/orc-0.4.32/orc-test/orctest.c:1089: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 cmd[400];
data/orc-0.4.32/orc-test/orctest.c:1091: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 source_filename[100];
data/orc-0.4.32/orc-test/orctest.c:1092: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 obj_filename[100];
data/orc-0.4.32/orc-test/orctest.c:1093: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 dis_filename[100];
data/orc-0.4.32/orc-test/orctest.c:1094: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 dump_filename[100];
data/orc-0.4.32/orc-test/orctest.c:1095: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 dump_dis_filename[100];
data/orc-0.4.32/orc-test/orctest.c:1122:10:  [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 = fopen (source_filename, "w");
data/orc-0.4.32/orc-test/orctest.c:1127:10:  [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 = fopen (dump_filename, "w");
data/orc-0.4.32/orc/generate-bytecode.c:84:12:  [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).
  output = fopen (output_file, "w");
data/orc-0.4.32/orc/generate-emulation.c:85:12:  [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).
  output = fopen (output_file, "w");
data/orc-0.4.32/orc/generate-emulation.c:123: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 s[40];
data/orc-0.4.32/orc/orc.c:98: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 check[1], *value;
data/orc-0.4.32/orc/orcarm.c:508: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 shifter[64];
data/orc-0.4.32/orc/orcarm.c:541: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 (shifter, "#0x%08x", val);
data/orc-0.4.32/orc/orcarm.c:653: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 shifter[64];
data/orc-0.4.32/orc/orcarm.c:663:5:  [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 (shifter, ", ROR #%d", r8 & 0x18);
data/orc-0.4.32/orc/orcarm.c:692: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 shifter[64];
data/orc-0.4.32/orc/orcarm.c:728: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 shifter[64];
data/orc-0.4.32/orc/orcbytecode.c:208:12:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    static char *codes[32] = {
data/orc-0.4.32/orc/orccodemem.c:223:8:  [2] (tmpfile) mkstemp:
  Potential for temporary file vulnerability in some circumstances. Some
  older Unix-like systems create temp files with permission to write by all
  by default, so be sure to set the umask to override this. Also, some older
  Unix systems might fail to use O_EXCL when opening the file, so make sure
  that O_EXCL is used by the library (CWE-377).
  fd = mkstemp (filename);
data/orc-0.4.32/orc/orccompiler.c:336: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 (compiler->insns, program->insns,
data/orc-0.4.32/orc/orccompiler.c:340: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 (compiler->vars, program->vars,
data/orc-0.4.32/orc/orccompiler.c:398: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 (program->orccode->insns, compiler->insns,
data/orc-0.4.32/orc/orccompiler.c:455: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 (program->orccode->code, compiler->code, program->orccode->code_size);
data/orc-0.4.32/orc/orccompiler.c:652: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 (&insn, program->insns + j, sizeof(OrcInstruction));
data/orc-0.4.32/orc/orccompiler.c:728: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 (xinsn, &insn, sizeof(OrcInstruction));
data/orc-0.4.32/orc/orccompiler.c:1095: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(compiler->vars[i].name, "tmp%d", i);
data/orc-0.4.32/orc/orccompiler.c:1127: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 tmp[200];
data/orc-0.4.32/orc/orccompiler.c:1137: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->asm_code + p->asm_code_len, tmp, n + 1);
data/orc-0.4.32/orc/orccompiler.h:90: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 *labels[ORC_N_LABELS];
data/orc-0.4.32/orc/orccpu-arm.c:70:8:  [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("/proc/self/auxv", O_RDONLY);
data/orc-0.4.32/orc/orccpu-arm.c:89:36:  [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.
      ORC_INFO("arm platform %s", (char *)aux[1]);
data/orc-0.4.32/orc/orccpu-powerpc.c:136:8:  [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("/proc/self/auxv", O_RDONLY);
data/orc-0.4.32/orc/orccpu-x86.c:271:8:  [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 orc_x86_processor_string[49];
data/orc-0.4.32/orc/orccpuinsn.h:26: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 name[16];
data/orc-0.4.32/orc/orcopcode.h:22: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 prefix[8];
data/orc-0.4.32/orc/orcopcode.h:41: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 name[16];
data/orc-0.4.32/orc/orcparse.c:80: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 *token[10];
data/orc-0.4.32/orc/orcparse.c:299: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.
        char *args[4] = { NULL };
data/orc-0.4.32/orc/orcparse.c:310: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.
          char varname[80];
data/orc-0.4.32/orc/orcparse.c:404: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 s[100];
data/orc-0.4.32/orc/orcparse.c:461: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 (parser->line, parser->p, n);
data/orc-0.4.32/orc/orcprogram-c.c:177: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(s, "t%d", var-32);
data/orc-0.4.32/orc/orcprogram-c.c:181: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(s, "ex->dest_ptrs[%d]", var-ORC_VAR_D1);
data/orc-0.4.32/orc/orcprogram-c.c:183: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(s, "ex->src_ptrs[%d]", var-ORC_VAR_S1);
data/orc-0.4.32/orc/orcprogram-c.c:186:5:  [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(s, "ex->arrays[%d]", var);
data/orc-0.4.32/orc/orcprogram-c.c:199:5:  [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(s, "ex->params[%d]", var);
data/orc-0.4.32/orc/orcprogram-c.c:303: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.
            char s1[40], s2[40];
data/orc-0.4.32/orc/orcprogram-c.c:313: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.
            char s1[40], s2[40];
data/orc-0.4.32/orc/orcprogram-c.c:328: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 s[40];
data/orc-0.4.32/orc/orcprogram-c.c:424: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 varname[40];
data/orc-0.4.32/orc/orcprogram-c.c:476: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(name,"((orc_union64 *)(ex->src_ptrs[%d]))->i",
data/orc-0.4.32/orc/orcprogram-c.c:481:11:  [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(name,"ex->params[%d]", var);
data/orc-0.4.32/orc/orcprogram-c.c:484:11:  [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(name,"((orc_union32 *)(ex->params+%d))->i", var);
data/orc-0.4.32/orc/orcprogram-c.c:488:11:  [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(name,"((orc_union32 *)(ex->params+%d))->i", var);
data/orc-0.4.32/orc/orcprogram-c.c:492:11:  [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(name,"((orc_union32 *)(ex->params+%d))->i", var);
data/orc-0.4.32/orc/orcprogram-c.c:500: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(name,"0x80000000");
data/orc-0.4.32/orc/orcprogram-c.c:503:9:  [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(name, "%d", (int)p->vars[var].value.i);
data/orc-0.4.32/orc/orcprogram-c.c:511:9:  [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(name, "var%d.x2[%d]", var, p->unroll_index);
data/orc-0.4.32/orc/orcprogram-c.c:513:9:  [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(name, "var%d.x4[%d]", var, p->unroll_index);
data/orc-0.4.32/orc/orcprogram-c.c:515:9:  [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(name, "var%d.i", var);
data/orc-0.4.32/orc/orcprogram-c.c:518: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(name, "var%d", var);
data/orc-0.4.32/orc/orcprogram-c.c:527:5:  [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(name, "var%d.x2f[%d]", var, p->unroll_index);
data/orc-0.4.32/orc/orcprogram-c.c:529:5:  [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(name, "var%d.x4f[%d]", var, p->unroll_index);
data/orc-0.4.32/orc/orcprogram-c.c:537:9:  [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(name, "var%d.f", var);
data/orc-0.4.32/orc/orcprogram-c.c:540:9:  [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(name, "var%d", var);
data/orc-0.4.32/orc/orcprogram-c.c:544:9:  [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(name, "ERROR");
data/orc-0.4.32/orc/orcprogram-c.c:572: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 dest[40], src1[40]; \
data/orc-0.4.32/orc/orcprogram-c.c:584: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 dest[40], src1[40], src2[40]; \
data/orc-0.4.32/orc/orcprogram-c.c:597: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 dest[40], src1[40]; \
data/orc-0.4.32/orc/orcprogram-c.c:615: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 dest[40], src1[40], src2[40]; \
data/orc-0.4.32/orc/orcprogram-c.c:636: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 dest[40], src1[40], src2[40]; \
data/orc-0.4.32/orc/orcprogram-c.c:655: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 dest[40], src1[40]; \
data/orc-0.4.32/orc/orcprogram-c.c:673: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 dest[40], src1[40], src2[40]; \
data/orc-0.4.32/orc/orcprogram-c.c:694: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 dest[40], src1[40], src2[40]; \
data/orc-0.4.32/orc/orcprogram-c.c:799: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 dest[40];
data/orc-0.4.32/orc/orcprogram-c.c:845: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 dest[40];
data/orc-0.4.32/orc/orcprogram-c.c:846: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 src[40];
data/orc-0.4.32/orc/orcprogram-c.c:874: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 src[40];
data/orc-0.4.32/orc/orcprogram-c.c:919: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 src1[40];
data/orc-0.4.32/orc/orcprogram-c.c:920: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 src2[40];
data/orc-0.4.32/orc/orcprogram-c.c:938: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 src1[40];
data/orc-0.4.32/orc/orcprogram-c.c:939: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 src2[40];
data/orc-0.4.32/orc/orcprogram-c.c:960: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 src1[40];
data/orc-0.4.32/orc/orcprogram-c.c:961: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 src2[40];
data/orc-0.4.32/orc/orcprogram-c.c:999: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 dest[40], src1[40];
data/orc-0.4.32/orc/orcprogram-c.c:1010: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 dest[40], src1[40];
data/orc-0.4.32/orc/orcprogram-c.c:1021: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 dest[40], src1[40], src2[40];
data/orc-0.4.32/orc/orcprogram-c.c:1035: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 dest1[40], dest2[40], src[40];
data/orc-0.4.32/orc/orcprogram-c.c:1052: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 dest1[40], dest2[40], src[40];
data/orc-0.4.32/orc/orcprogram-c.c:1069: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 dest1[40], dest2[40], src[40];
data/orc-0.4.32/orc/orcprogram-c.c:1086: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 dest[40], src[40];
data/orc-0.4.32/orc/orcprogram-c.c:1101: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 dest[40], src[40];
data/orc-0.4.32/orc/orcprogram-c.c:1116: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 dest[40], src[40];
data/orc-0.4.32/orc/orcprogram-c.c:1131: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 dest[40], src[40];
data/orc-0.4.32/orc/orcprogram-c.c:1146: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 dest[40], src[40];
data/orc-0.4.32/orc/orcprogram-c.c:1161: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 dest[40], src[40];
data/orc-0.4.32/orc/orcprogram-c.c:1176: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 dest[40], src[40];
data/orc-0.4.32/orc/orcprogram-c.c:1187: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 dest[40], src[40];
data/orc-0.4.32/orc/orcprogram-c.c:1201: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 dest[40], src[40];
data/orc-0.4.32/orc/orcprogram-c.c:1217: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 dest[40], src[40];
data/orc-0.4.32/orc/orcprogram-c.c:1230: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 dest[40], src1[40], src2[40];
data/orc-0.4.32/orc/orcprogram-c.c:1244: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 dest[40], src1[40];
data/orc-0.4.32/orc/orcprogram-c.c:1255: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 dest[40], src1[40];
data/orc-0.4.32/orc/orcprogram-c.c:1266: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 dest[40], src1[40];
data/orc-0.4.32/orc/orcprogram-c.c:1281: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 dest[40], src1[40];
data/orc-0.4.32/orc/orcprogram-c.c:1298: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 dest[40], src[40], src_i[40];
data/orc-0.4.32/orc/orcprogram-c.c:1315: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 dest[40], src[40], src_i[40];
data/orc-0.4.32/orc/orcprogram-c.c:1332: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 dest[40], src1[40], src2[40];
data/orc-0.4.32/orc/orcprogram-c.c:1352: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 dest[40], src1[40], src2[40];
data/orc-0.4.32/orc/orcprogram-c.c:1372: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 dest[40], src1[40], src2[40];
data/orc-0.4.32/orc/orcprogram-c.c:1392: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 dest[40], src1[40], src2[40];
data/orc-0.4.32/orc/orcprogram-c.c:1412: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 dest[40], src[40];
data/orc-0.4.32/orc/orcprogram-c.c:1424: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 dest[40], src[40];
data/orc-0.4.32/orc/orcprogram-c.c:1436: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 dest[40], src1[40], src2[40];
data/orc-0.4.32/orc/orcprogram-c.c:1453: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 dest[40], src1[40], src2[40];
data/orc-0.4.32/orc/orcprogram-c.c:1470: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 dest[40], src1[40], src2[40];
data/orc-0.4.32/orc/orcprogram-c64x-c.c:517: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(name, "var%d", var);
data/orc-0.4.32/orc/orcprogram-c64x-c.c:532: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(name, "ERROR");
data/orc-0.4.32/orc/orcprogram-c64x-c.c:545: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(name, "(*(float *)(&var%d))", var);
data/orc-0.4.32/orc/orcprogram-c64x-c.c:549: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(name, "((float *)var%d)[i]", var);
data/orc-0.4.32/orc/orcprogram-c64x-c.c:553: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(name, "ERROR");
data/orc-0.4.32/orc/orcprogram-c64x-c.c:582: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 dest[40], src1[40]; \
data/orc-0.4.32/orc/orcprogram-c64x-c.c:594: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 dest[40], src1[40], src2[40]; \
data/orc-0.4.32/orc/orcprogram-c64x-c.c:607: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 dest[40], src1[40]; \
data/orc-0.4.32/orc/orcprogram-c64x-c.c:619: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 dest[40], src1[40], src2[40]; \
data/orc-0.4.32/orc/orcprogram-c64x-c.c:632: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 dest[40], src1[40], src2[40]; \
data/orc-0.4.32/orc/orcprogram-c64x-c.c:645: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 dest[40], src1[40]; \
data/orc-0.4.32/orc/orcprogram-c64x-c.c:657: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 dest[40], src1[40]; \
data/orc-0.4.32/orc/orcprogram-c64x-c.c:817: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 dest[40], src1[40];
data/orc-0.4.32/orc/orcprogram-c64x-c.c:828: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 dest[40], src1[40], src2[40];
data/orc-0.4.32/orc/orcprogram-c64x-c.c:843: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 dest[40], src1[40], src2[40];
data/orc-0.4.32/orc/orcprogram-c64x-c.c:858: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 dest[40], src1[40], src2[40];
data/orc-0.4.32/orc/orcprogram-c64x-c.c:873: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 dest[40], src1[40], src2[40];
data/orc-0.4.32/orc/orcprogram-c64x-c.c:886: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 dest[40], src1[40];
data/orc-0.4.32/orc/orcprogram-c64x-c.c:898: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 dest[40], src1[40], src2[40];
data/orc-0.4.32/orc/orcprogram-c64x-c.c:911: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 dest[40], src1[40];
data/orc-0.4.32/orc/orcprogram-c64x-c.c:922: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 dest[40], src1[40];
data/orc-0.4.32/orc/orcprogram-c64x-c.c:933: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 dest[40], src1[40], src2[40];
data/orc-0.4.32/orc/orcprogram.c:39: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(p->name, "func_%p", p);
data/orc-0.4.32/orc/orcutils.c:59:8:  [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("/proc/cpuinfo", O_RDONLY);
data/orc-0.4.32/orc/orcutils.c:84: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(r,s,n);
data/orc-0.4.32/orc/orcx86insn.c:305: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 imm_str[40] = { 0 };
data/orc-0.4.32/orc/orcx86insn.c:306: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 op1_str[40] = { 0 };
data/orc-0.4.32/orc/orcx86insn.c:307: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 op2_str[40] = { 0 };
data/orc-0.4.32/orc/orcx86insn.c:352: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(imm_str, "$%d, ", xinsn->imm);
data/orc-0.4.32/orc/orcx86insn.c:491:9:  [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(op2_str, "ERROR");
data/orc-0.4.32/orc/orcx86insn.c:501: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 (op2_str, "%d%c", xinsn->label,
data/orc-0.4.32/testsuite/benchmorc/benchmorc.c:96:10:  [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 = fopen (filename, "rb");
data/orc-0.4.32/testsuite/bytecode_parse.c:76:10:  [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 = fopen (filename, "rb");
data/orc-0.4.32/testsuite/compile_parse.c:68:10:  [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 = fopen (filename, "rb");
data/orc-0.4.32/testsuite/compile_parse_c.c:62:10:  [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 = fopen (filename, "rb");
data/orc-0.4.32/testsuite/compile_parse_neon.c:68:10:  [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 = fopen (filename, "rb");
data/orc-0.4.32/testsuite/exec_opcodes_float.c:71: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 s[40];
data/orc-0.4.32/testsuite/exec_opcodes_float.c:98: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 s[40];
data/orc-0.4.32/testsuite/exec_opcodes_float.c:124: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 s[40];
data/orc-0.4.32/testsuite/exec_opcodes_float.c:150: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 s[40];
data/orc-0.4.32/testsuite/exec_opcodes_sys.c:113: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 s[40];
data/orc-0.4.32/testsuite/exec_opcodes_sys.c:161: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 s[40];
data/orc-0.4.32/testsuite/exec_opcodes_sys.c:229: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 s[40];
data/orc-0.4.32/testsuite/exec_opcodes_sys.c:305: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 s[40];
data/orc-0.4.32/testsuite/exec_opcodes_sys.c:347: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 s[40];
data/orc-0.4.32/testsuite/exec_opcodes_sys.c:396: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 s[40];
data/orc-0.4.32/testsuite/exec_opcodes_sys.c:445: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 s[40];
data/orc-0.4.32/testsuite/exec_parse.c:71:10:  [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 = fopen (filename, "rb");
data/orc-0.4.32/testsuite/memcpy_speed.c:154: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 (dest, src, size);
data/orc-0.4.32/testsuite/perf_opcodes_sys_compare.c:38: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 s[40];
data/orc-0.4.32/testsuite/perf_parse.c:66:10:  [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 = fopen (filename, "rb");
data/orc-0.4.32/testsuite/perf_parse_compare.c:69:10:  [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 = fopen (filename, "rb");
data/orc-0.4.32/testsuite/show_parse.c:107:10:  [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 = fopen (filename, "rb");
data/orc-0.4.32/testsuite/test-schro.c:215: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 s[40];
data/orc-0.4.32/testsuite/test-schro.c:220: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(s, "test_schro_%d", type);
data/orc-0.4.32/tools/orc-bugreport.c:137:10:  [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 = fopen (filename, "rb");
data/orc-0.4.32/tools/orc-bugreport.c:212: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 s[40];
data/orc-0.4.32/tools/orc-bugreport.c:261: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 s[40];
data/orc-0.4.32/tools/orc-bugreport.c:316: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 s[40];
data/orc-0.4.32/tools/orc-bugreport.c:370: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 s[40];
data/orc-0.4.32/tools/orc-bugreport.c:413: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 s[40];
data/orc-0.4.32/tools/orc-bugreport.c:463: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 s[40];
data/orc-0.4.32/tools/orc-bugreport.c:513: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 s[40];
data/orc-0.4.32/tools/orcc.c:279:12:  [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).
  output = fopen (output_file, "w");
data/orc-0.4.32/tools/orcc.c:454:10:  [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 = fopen (filename, "rb");
data/orc-0.4.32/orc/orcbytecode.c:292:13:  [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).
  int len = strlen(s);
data/orc-0.4.32/orc/orccodemem.c:219: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).
  filename = malloc (strlen ("/orcexec..") +
data/orc-0.4.32/orc/orccodemem.c:220:7:  [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).
      strlen (dir) + 6 + 1);
data/orc-0.4.32/orc/orccodemem.c:222:10:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
  mask = umask (0066);
data/orc-0.4.32/orc/orccodemem.c:224:3:  [1] (access) umask:
  Ensure that umask is given most restrictive possible setting (e.g., 066 or
  077) (CWE-732).
  umask (mask);
data/orc-0.4.32/orc/orccompiler.c:1080:36:  [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).
  compiler->vars[i].name = malloc (strlen(compiler->vars[var].name) + 10);
data/orc-0.4.32/orc/orccompiler.c:1135:7:  [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).
  n = strlen (tmp);
data/orc-0.4.32/orc/orccpu-arm.c:77:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    count = read(fd, aux, sizeof(aux));
data/orc-0.4.32/orc/orccpu-powerpc.c:141:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    count = read(fd, buf, sizeof(buf));
data/orc-0.4.32/orc/orconce.c:74:28:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
#pragma section(".CRT$XCU",read)
data/orc-0.4.32/orc/orcopcodes.c:219:3:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
  strncpy(opcode_sets[major].prefix, prefix, sizeof(opcode_sets[major].prefix)-1);
data/orc-0.4.32/orc/orcparse.c:68: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).
  parser->code_length = strlen (code);
data/orc-0.4.32/orc/orcparse.c:87:15:  [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).
    end = p + strlen (p);
data/orc-0.4.32/orc/orcparse.c:409: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/orc-0.4.32/orc/orcparse.c:422: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(s);
data/orc-0.4.32/orc/orcprogram.c:363:35:  [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).
  program->vars[i].name = malloc (strlen(program->vars[var].name) + 10);
data/orc-0.4.32/orc/orcutils.c:65:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  n = read(fd, cpuinfo, 4095);

ANALYSIS SUMMARY:

Hits = 364
Lines analyzed = 52782 in approximately 1.30 seconds (40696 lines/second)
Physical Source Lines of Code (SLOC) = 42723
Hits@level = [0] 856 [1]  17 [2] 212 [3]  19 [4] 116 [5]   0
Hits@level+ = [0+] 1220 [1+] 364 [2+] 347 [3+] 135 [4+] 116 [5+]   0
Hits/KSLOC@level+ = [0+] 28.556 [1+] 8.52 [2+] 8.12209 [3+] 3.15989 [4+] 2.71517 [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.