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/r-cran-irace-3.4.1/src/iracebin/irace.c
Examining data/r-cran-irace-3.4.1/src/iracebin/irace.h
Examining data/r-cran-irace-3.4.1/src/iracebin/irace2pyimp.c

FINAL RESULTS:

data/r-cran-irace-3.4.1/src/iracebin/irace.h:76:12:  [4] (shell) execvp:
  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.
    return execvp(file, cmd_args);
data/r-cran-irace-3.4.1/src/iracebin/irace.h:3:29:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    return (void *) ((char*)memcpy(dest, src, n) + n);
data/r-cran-irace-3.4.1/src/iracebin/irace.h:23:24:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
          size_t len = strlen (s);

ANALYSIS SUMMARY:

Hits = 3
Lines analyzed = 98 in approximately 0.02 seconds (5026 lines/second)
Physical Source Lines of Code (SLOC) = 75
Hits@level = [0]   0 [1]   1 [2]   1 [3]   0 [4]   1 [5]   0
Hits@level+ = [0+]   3 [1+]   3 [2+]   2 [3+]   1 [4+]   1 [5+]   0
Hits/KSLOC@level+ = [0+]  40 [1+]  40 [2+] 26.6667 [3+] 13.3333 [4+] 13.3333 [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.