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/octave-level-set-0.3.0/src/marching.cpp
Examining data/octave-level-set-0.3.0/src/heapsort.cpp
Examining data/octave-level-set-0.3.0/src/Utils.hpp
Examining data/octave-level-set-0.3.0/src/Utils.cpp
Examining data/octave-level-set-0.3.0/src/Heap.hpp
Examining data/octave-level-set-0.3.0/src/FastMarching.hpp
Examining data/octave-level-set-0.3.0/src/FastMarching.cpp
Examining data/octave-level-set-0.3.0/src/internal_mesh.cpp
Examining data/octave-level-set-0.3.0/src/geomBoundary.cpp
Examining data/octave-level-set-0.3.0/src/geomElements.cpp
Examining data/octave-level-set-0.3.0/src/geomGamma.cpp
Examining data/octave-level-set-0.3.0/src/internal_fastmarching.cpp
Examining data/octave-level-set-0.3.0/src/internal_init_narrowband.cpp
Examining data/octave-level-set-0.3.0/src/nbFromGeom.cpp
Examining data/octave-level-set-0.3.0/src/upwindGrad.cpp

FINAL RESULTS:

data/octave-level-set-0.3.0/src/heapsort.cpp:38:3:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  vprintf (fmt.c_str (), args);
data/octave-level-set-0.3.0/src/marching.cpp:39:3:  [4] (format) vprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  vprintf (fmt.c_str (), args);

ANALYSIS SUMMARY:

Hits = 2
Lines analyzed = 3648 in approximately 0.13 seconds (27359 lines/second)
Physical Source Lines of Code (SLOC) = 1840
Hits@level = [0]   7 [1]   0 [2]   0 [3]   0 [4]   2 [5]   0
Hits@level+ = [0+]   9 [1+]   2 [2+]   2 [3+]   2 [4+]   2 [5+]   0
Hits/KSLOC@level+ = [0+] 4.8913 [1+] 1.08696 [2+] 1.08696 [3+] 1.08696 [4+] 1.08696 [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.