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/gr-iqbal-0.38/include/gnuradio/iqbalance/api.h
Examining data/gr-iqbal-0.38/include/gnuradio/iqbalance/fix_cc.h
Examining data/gr-iqbal-0.38/include/gnuradio/iqbalance/optimize_c.h
Examining data/gr-iqbal-0.38/lib/fix_cc.cc
Examining data/gr-iqbal-0.38/lib/optimize_c.cc
Examining data/gr-iqbal-0.38/libosmo-dsp/include/osmocom/dsp/cfile.h
Examining data/gr-iqbal-0.38/libosmo-dsp/include/osmocom/dsp/cxvec.h
Examining data/gr-iqbal-0.38/libosmo-dsp/include/osmocom/dsp/cxvec_math.h
Examining data/gr-iqbal-0.38/libosmo-dsp/include/osmocom/dsp/iqbal.h
Examining data/gr-iqbal-0.38/libosmo-dsp/src/cfile.c
Examining data/gr-iqbal-0.38/libosmo-dsp/src/cxvec.c
Examining data/gr-iqbal-0.38/libosmo-dsp/src/cxvec_math.c
Examining data/gr-iqbal-0.38/libosmo-dsp/src/iqbal.c

FINAL RESULTS:

data/gr-iqbal-0.38/lib/fix_cc.cc:77: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(out, in, noutput_items * sizeof(gr_complex));
data/gr-iqbal-0.38/libosmo-dsp/src/cfile.c:62:7:  [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(filename, O_RDONLY);
data/gr-iqbal-0.38/libosmo-dsp/src/cxvec.c:121: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).
	FILE *f = fopen(fname, "wb");
data/gr-iqbal-0.38/libosmo-dsp/src/iqbal.c:164: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(fft, &data[i*fft_size], sizeof(float complex) * fft_size);

ANALYSIS SUMMARY:

Hits = 4
Lines analyzed = 1992 in approximately 0.11 seconds (17868 lines/second)
Physical Source Lines of Code (SLOC) = 1014
Hits@level = [0]   1 [1]   0 [2]   4 [3]   0 [4]   0 [5]   0
Hits@level+ = [0+]   5 [1+]   4 [2+]   4 [3+]   0 [4+]   0 [5+]   0
Hits/KSLOC@level+ = [0+] 4.93097 [1+] 3.94477 [2+] 3.94477 [3+]   0 [4+]   0 [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.