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/exadrums-0.4.1/Source/Controllers/CoachController.cpp
Examining data/exadrums-0.4.1/Source/Controllers/CoachController.h
Examining data/exadrums-0.4.1/Source/Controllers/ConfigController.cpp
Examining data/exadrums-0.4.1/Source/Controllers/ConfigController.h
Examining data/exadrums-0.4.1/Source/Controllers/KitController.cpp
Examining data/exadrums-0.4.1/Source/Controllers/KitController.h
Examining data/exadrums-0.4.1/Source/Controllers/MainController.cpp
Examining data/exadrums-0.4.1/Source/Controllers/MainController.h
Examining data/exadrums-0.4.1/Source/Controllers/MetronomeController.cpp
Examining data/exadrums-0.4.1/Source/Controllers/MetronomeController.h
Examining data/exadrums-0.4.1/Source/MainWindow/MainWindow.cpp
Examining data/exadrums-0.4.1/Source/MainWindow/MainWindow.h
Examining data/exadrums-0.4.1/Source/Util/ErrorHandler.h
Examining data/exadrums-0.4.1/Source/Util/Util.h
Examining data/exadrums-0.4.1/Source/Widgets/Fader.cpp
Examining data/exadrums-0.4.1/Source/Widgets/Fader.h
Examining data/exadrums-0.4.1/Source/Widgets/InstrumentSelector.cpp
Examining data/exadrums-0.4.1/Source/Widgets/InstrumentSelector.h
Examining data/exadrums-0.4.1/Source/Widgets/SoundTypeAndPath.cpp
Examining data/exadrums-0.4.1/Source/Widgets/SoundTypeAndPath.h
Examining data/exadrums-0.4.1/Source/Widgets/TriggerIdAndLocation.cpp
Examining data/exadrums-0.4.1/Source/Widgets/TriggerIdAndLocation.h
Examining data/exadrums-0.4.1/Source/Widgets/TriggerSelector.cpp
Examining data/exadrums-0.4.1/Source/Widgets/TriggerSelector.h
Examining data/exadrums-0.4.1/Source/Widgets/VirtualPad.h
Examining data/exadrums-0.4.1/Source/exadrumsConfig.h
Examining data/exadrums-0.4.1/Source/main.cpp

FINAL RESULTS:

data/exadrums-0.4.1/Source/Controllers/ConfigController.cpp:288:8:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
		std::strcpy(alsaParameters.device, mixerDevices->get_active_text().data());
data/exadrums-0.4.1/Source/exadrumsConfig.h:230:37:  [3] (buffer) getenv:
  Environment variables are untrustable input if they can be set by an
  attacker. They can have any content and length, and the same variable can
  be set more than once (CWE-807, CWE-20). Check environment variables
  carefully before using them.
		fs::path userPath = fs::path{std::getenv("HOME")}/".eXaDrums";
data/exadrums-0.4.1/Source/Controllers/KitController.cpp:294:25:  [1] (buffer) mismatch:
  Function does not check the second iterator for over-read conditions
  (CWE-126). This function is often discouraged by most C++ coding standards
  in favor of its safer alternatives provided since C++14. Consider using a
  form of this function that checks the second iterator before potentially
  overflowing it.
		auto newOldKit = std::mismatch(oldKitsNames.cbegin(), oldKitsNames.cend(), newkitsNames.cbegin());

ANALYSIS SUMMARY:

Hits = 3
Lines analyzed = 3821 in approximately 0.09 seconds (42443 lines/second)
Physical Source Lines of Code (SLOC) = 2372
Hits@level = [0]   0 [1]   1 [2]   0 [3]   1 [4]   1 [5]   0
Hits@level+ = [0+]   3 [1+]   3 [2+]   2 [3+]   2 [4+]   1 [5+]   0
Hits/KSLOC@level+ = [0+] 1.26476 [1+] 1.26476 [2+] 0.84317 [3+] 0.84317 [4+] 0.421585 [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.