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/yeahconsole-0.3.4/yeahconsole.c

FINAL RESULTS:

data/yeahconsole-0.3.4/yeahconsole.c:352:5:  [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.
    system(command);
data/yeahconsole-0.3.4/yeahconsole.c:382:6:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	    sprintf(pos, "%s -b 0 -embed %d -name %s ", opt_term, (int) win,
data/yeahconsole-0.3.4/yeahconsole.c:386:6:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	    sprintf(pos, "%s -b 0 -into %d -name %s ", opt_term, (int) win,
data/yeahconsole-0.3.4/yeahconsole.c:389:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
	pos += sprintf(pos, "%s ", argv[i]);
data/yeahconsole-0.3.4/yeahconsole.c:47:1:  [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 *progname, command[256];
data/yeahconsole-0.3.4/yeahconsole.c:253:23:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    opt_width = opt ? atoi(opt) : DisplayWidth(dpy, screen);
data/yeahconsole-0.3.4/yeahconsole.c:257:20:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    opt_bw = opt ? atoi(opt) : 3;
data/yeahconsole-0.3.4/yeahconsole.c:259:24:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    opt_height = opt ? atoi(opt) : 10;
data/yeahconsole-0.3.4/yeahconsole.c:261:19:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    opt_x = opt ? atoi(opt) : 0;
data/yeahconsole-0.3.4/yeahconsole.c:263:23:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    opt_delay = opt ? atoi(opt) : 40;
data/yeahconsole-0.3.4/yeahconsole.c:265:22:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    opt_step = opt ? atoi(opt) : 1;
data/yeahconsole-0.3.4/yeahconsole.c:267:25:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
    opt_restart = opt ? atoi(opt) : 0;
data/yeahconsole-0.3.4/yeahconsole.c:223:2:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
	usleep(opt_delay * 100);
data/yeahconsole-0.3.4/yeahconsole.c:392:5:  [1] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source is a constant character.
    sprintf(pos, "&");

ANALYSIS SUMMARY:

Hits = 14
Lines analyzed = 432 in approximately 0.02 seconds (21290 lines/second)
Physical Source Lines of Code (SLOC) = 365
Hits@level = [0]   3 [1]   2 [2]   8 [3]   0 [4]   4 [5]   0
Hits@level+ = [0+]  17 [1+]  14 [2+]  12 [3+]   4 [4+]   4 [5+]   0
Hits/KSLOC@level+ = [0+] 46.5753 [1+] 38.3562 [2+] 32.8767 [3+] 10.9589 [4+] 10.9589 [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.