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/golang-android-soong-0.0~git20201014.17e97d9/cc/libbuildversion/include/build/version.h
Examining data/golang-android-soong-0.0~git20201014.17e97d9/cc/libbuildversion/libbuildversion.cpp
Examining data/golang-android-soong-0.0~git20201014.17e97d9/cc/libbuildversion/tests/build_version_test.cpp
Examining data/golang-android-soong-0.0~git20201014.17e97d9/cc/libbuildversion/tests/build_version_test_lib.cpp
Examining data/golang-android-soong-0.0~git20201014.17e97d9/cc/libbuildversion/tests/build_version_test_lib.h

FINAL RESULTS:

data/golang-android-soong-0.0~git20201014.17e97d9/cc/libbuildversion/libbuildversion.cpp:29:3:  [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 soong_build_number[128] = PLACEHOLDER;

ANALYSIS SUMMARY:

Hits = 1
Lines analyzed = 174 in approximately 0.09 seconds (1974 lines/second)
Physical Source Lines of Code (SLOC) = 66
Hits@level = [0]   2 [1]   0 [2]   1 [3]   0 [4]   0 [5]   0
Hits@level+ = [0+]   3 [1+]   1 [2+]   1 [3+]   0 [4+]   0 [5+]   0
Hits/KSLOC@level+ = [0+] 45.4545 [1+] 15.1515 [2+] 15.1515 [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.