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/autodock-vina-1.1.2/src/lib/grid.h
Examining data/autodock-vina-1.1.2/src/lib/incrementable.h
Examining data/autodock-vina-1.1.2/src/lib/scoring_function.h
Examining data/autodock-vina-1.1.2/src/lib/quasi_newton.h
Examining data/autodock-vina-1.1.2/src/lib/quasi_newton.cpp
Examining data/autodock-vina-1.1.2/src/lib/recent_history.h
Examining data/autodock-vina-1.1.2/src/lib/parse_pdbqt.h
Examining data/autodock-vina-1.1.2/src/lib/parallel_progress.cpp
Examining data/autodock-vina-1.1.2/src/lib/atom.h
Examining data/autodock-vina-1.1.2/src/lib/int_pow.h
Examining data/autodock-vina-1.1.2/src/lib/parallel.h
Examining data/autodock-vina-1.1.2/src/lib/coords.h
Examining data/autodock-vina-1.1.2/src/lib/parse_pdbqt.cpp
Examining data/autodock-vina-1.1.2/src/lib/current_weights.h
Examining data/autodock-vina-1.1.2/src/lib/monte_carlo.cpp
Examining data/autodock-vina-1.1.2/src/lib/statistics.h
Examining data/autodock-vina-1.1.2/src/lib/current_weights.cpp
Examining data/autodock-vina-1.1.2/src/lib/mutate.cpp
Examining data/autodock-vina-1.1.2/src/lib/ssd.cpp
Examining data/autodock-vina-1.1.2/src/lib/grid.cpp
Examining data/autodock-vina-1.1.2/src/lib/terms.h
Examining data/autodock-vina-1.1.2/src/lib/weighted_terms.h
Examining data/autodock-vina-1.1.2/src/lib/parallel_mc.cpp
Examining data/autodock-vina-1.1.2/src/lib/random.cpp
Examining data/autodock-vina-1.1.2/src/lib/igrid.h
Examining data/autodock-vina-1.1.2/src/lib/triangular_matrix_index.h
Examining data/autodock-vina-1.1.2/src/lib/everything.h
Examining data/autodock-vina-1.1.2/src/lib/tree.h
Examining data/autodock-vina-1.1.2/src/lib/weighted_terms.cpp
Examining data/autodock-vina-1.1.2/src/lib/terms.cpp
Examining data/autodock-vina-1.1.2/src/lib/bfgs.h
Examining data/autodock-vina-1.1.2/src/lib/macros.h
Examining data/autodock-vina-1.1.2/src/lib/atom_constants.h
Examining data/autodock-vina-1.1.2/src/lib/naive_non_cache.cpp
Examining data/autodock-vina-1.1.2/src/lib/matrix.h
Examining data/autodock-vina-1.1.2/src/lib/everything.cpp
Examining data/autodock-vina-1.1.2/src/lib/brick.h
Examining data/autodock-vina-1.1.2/src/lib/non_cache.h
Examining data/autodock-vina-1.1.2/src/lib/monte_carlo.h
Examining data/autodock-vina-1.1.2/src/lib/quaternion.cpp
Examining data/autodock-vina-1.1.2/src/lib/my_pid.cpp
Examining data/autodock-vina-1.1.2/src/lib/curl.h
Examining data/autodock-vina-1.1.2/src/lib/model.h
Examining data/autodock-vina-1.1.2/src/lib/quaternion.h
Examining data/autodock-vina-1.1.2/src/lib/conf.h
Examining data/autodock-vina-1.1.2/src/lib/random.h
Examining data/autodock-vina-1.1.2/src/lib/ssd.h
Examining data/autodock-vina-1.1.2/src/lib/precalculate.h
Examining data/autodock-vina-1.1.2/src/lib/file.h
Examining data/autodock-vina-1.1.2/src/lib/my_pid.h
Examining data/autodock-vina-1.1.2/src/lib/szv_grid.h
Examining data/autodock-vina-1.1.2/src/lib/non_cache.cpp
Examining data/autodock-vina-1.1.2/src/lib/pdb.cpp
Examining data/autodock-vina-1.1.2/src/lib/cache.h
Examining data/autodock-vina-1.1.2/src/lib/grid_dim.h
Examining data/autodock-vina-1.1.2/src/lib/parallel_progress.h
Examining data/autodock-vina-1.1.2/src/lib/atom_base.h
Examining data/autodock-vina-1.1.2/src/lib/parse_error.h
Examining data/autodock-vina-1.1.2/src/lib/pdb.h
Examining data/autodock-vina-1.1.2/src/lib/model.cpp
Examining data/autodock-vina-1.1.2/src/lib/common.h
Examining data/autodock-vina-1.1.2/src/lib/coords.cpp
Examining data/autodock-vina-1.1.2/src/lib/convert_substring.h
Examining data/autodock-vina-1.1.2/src/lib/parallel_mc.h
Examining data/autodock-vina-1.1.2/src/lib/szv_grid.cpp
Examining data/autodock-vina-1.1.2/src/lib/tee.h
Examining data/autodock-vina-1.1.2/src/lib/cache.cpp
Examining data/autodock-vina-1.1.2/src/lib/array3d.h
Examining data/autodock-vina-1.1.2/src/lib/mutate.h
Examining data/autodock-vina-1.1.2/src/lib/atom_type.h
Examining data/autodock-vina-1.1.2/src/lib/manifold.h
Examining data/autodock-vina-1.1.2/src/lib/manifold.cpp
Examining data/autodock-vina-1.1.2/src/lib/naive_non_cache.h
Examining data/autodock-vina-1.1.2/src/split/split.cpp
Examining data/autodock-vina-1.1.2/src/main/main.cpp

FINAL RESULTS:

data/autodock-vina-1.1.2/src/lib/array3d.h:45:37:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	friend class boost::serialization::access;
data/autodock-vina-1.1.2/src/lib/atom.h:34:37:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	friend class boost::serialization::access;
data/autodock-vina-1.1.2/src/lib/atom.h:53:37:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	friend class boost::serialization::access;
data/autodock-vina-1.1.2/src/lib/atom.h:67:37:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	friend class boost::serialization::access;
data/autodock-vina-1.1.2/src/lib/atom_base.h:32:37:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	friend class boost::serialization::access;
data/autodock-vina-1.1.2/src/lib/atom_type.h:68:37:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	friend class boost::serialization::access;
data/autodock-vina-1.1.2/src/lib/cache.h:53:37:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	friend class boost::serialization::access;
data/autodock-vina-1.1.2/src/lib/common.h:125:37:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	friend class boost::serialization::access;
data/autodock-vina-1.1.2/src/lib/conf.h:140:37:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	friend class boost::serialization::access;
data/autodock-vina-1.1.2/src/lib/conf.h:177:37:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	friend class boost::serialization::access;
data/autodock-vina-1.1.2/src/lib/conf.h:207:37:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	friend class boost::serialization::access;
data/autodock-vina-1.1.2/src/lib/conf.h:350:37:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	friend class boost::serialization::access;
data/autodock-vina-1.1.2/src/lib/grid.h:53:37:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	friend class boost::serialization::access;
data/autodock-vina-1.1.2/src/lib/grid_dim.h:38:37:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	friend class boost::serialization::access;
data/autodock-vina-1.1.2/src/lib/terms.h:78:37:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	friend class boost::serialization::access;
data/autodock-vina-1.1.2/src/lib/terms.h:144:37:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
	friend class boost::serialization::access;
data/autodock-vina-1.1.2/src/lib/cache.cpp:81:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void cache::read(const path& p) {
data/autodock-vina-1.1.2/src/lib/cache.h:41:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	void read(const path& name); // can throw cache_mismatch

ANALYSIS SUMMARY:

Hits = 18
Lines analyzed = 9275 in approximately 0.32 seconds (28583 lines/second)
Physical Source Lines of Code (SLOC) = 6486
Hits@level = [0]   0 [1]   2 [2]   0 [3]   0 [4]  16 [5]   0
Hits@level+ = [0+]  18 [1+]  18 [2+]  16 [3+]  16 [4+]  16 [5+]   0
Hits/KSLOC@level+ = [0+] 2.77521 [1+] 2.77521 [2+] 2.46685 [3+] 2.46685 [4+] 2.46685 [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.