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/pysha3-1.0.2/Modules/hashlib.h
Examining data/pysha3-1.0.2/Modules/pymemsets.c
Examining data/pysha3-1.0.2/Modules/_sha3/sha3module.c
Examining data/pysha3-1.0.2/Modules/_sha3/kcp/KeccakP-1600-SnP-opt32.h
Examining data/pysha3-1.0.2/Modules/_sha3/kcp/SnP-Relaned.h
Examining data/pysha3-1.0.2/Modules/_sha3/kcp/KeccakHash.c
Examining data/pysha3-1.0.2/Modules/_sha3/kcp/brg_endian.h
Examining data/pysha3-1.0.2/Modules/_sha3/kcp/KeccakP-1600-opt64-config.h
Examining data/pysha3-1.0.2/Modules/_sha3/kcp/KeccakSponge.h
Examining data/pysha3-1.0.2/Modules/_sha3/kcp/KeccakP-1600-inplace32BI.c
Examining data/pysha3-1.0.2/Modules/_sha3/kcp/KeccakP-1600-opt64.c
Examining data/pysha3-1.0.2/Modules/_sha3/kcp/align.h
Examining data/pysha3-1.0.2/Modules/_sha3/kcp/KeccakP-1600-SnP.h
Examining data/pysha3-1.0.2/Modules/_sha3/kcp/KeccakSponge.c
Examining data/pysha3-1.0.2/Modules/_sha3/kcp/KeccakHash.h
Examining data/pysha3-1.0.2/Modules/_sha3/kcp/KeccakP-1600-SnP-opt64.h
Examining data/pysha3-1.0.2/Modules/_sha3/clinic/sha3module.c.h
Examining data/pysha3-1.0.2/Modules/pymemsets.h

FINAL RESULTS:

data/pysha3-1.0.2/Modules/_sha3/kcp/KeccakHash.c:54:26:  [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.
                unsigned char oneByte[1];
data/pysha3-1.0.2/Modules/_sha3/kcp/KeccakP-1600-inplace32BI.c:150:5:  [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(laneAsBytes+offset, data, length);
data/pysha3-1.0.2/Modules/_sha3/kcp/KeccakP-1600-inplace32BI.c:180:9:  [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(&low, pI++, 4);
data/pysha3-1.0.2/Modules/_sha3/kcp/KeccakP-1600-inplace32BI.c:181:9:  [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(&high, pI++, 4);
data/pysha3-1.0.2/Modules/_sha3/kcp/KeccakP-1600-inplace32BI.c:191:9:  [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(laneAsBytes, data+lanePosition*8, 8);
data/pysha3-1.0.2/Modules/_sha3/kcp/KeccakP-1600-inplace32BI.c:235:9:  [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(&low, pI++, 4);
data/pysha3-1.0.2/Modules/_sha3/kcp/KeccakP-1600-inplace32BI.c:236:9:  [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(&high, pI++, 4);
data/pysha3-1.0.2/Modules/_sha3/kcp/KeccakP-1600-inplace32BI.c:246:9:  [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(laneAsBytes, data+lanePosition*8, 8);
data/pysha3-1.0.2/Modules/_sha3/kcp/KeccakP-1600-inplace32BI.c:306:5:  [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(data, laneAsBytes+offset, length);
data/pysha3-1.0.2/Modules/_sha3/kcp/KeccakP-1600-inplace32BI.c:323:9:  [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(pI++, &low, 4);
data/pysha3-1.0.2/Modules/_sha3/kcp/KeccakP-1600-inplace32BI.c:324:9:  [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(pI++, &high, 4);
data/pysha3-1.0.2/Modules/_sha3/kcp/KeccakP-1600-inplace32BI.c:344:9:  [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(data+lanePosition*8, laneAsBytes, 8);
data/pysha3-1.0.2/Modules/_sha3/kcp/KeccakP-1600-opt64.c:105:9:  [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(&lane, data, length);
data/pysha3-1.0.2/Modules/_sha3/kcp/KeccakP-1600-opt64.c:209:9:  [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((unsigned char*)state+lanePosition*8+offset, data, length);
data/pysha3-1.0.2/Modules/_sha3/kcp/KeccakP-1600-opt64.c:230:5:  [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(state, data, laneCount*8);
data/pysha3-1.0.2/Modules/_sha3/kcp/KeccakP-1600-opt64.c:315:9:  [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(data, (UINT8*)lane1+offset, length);
data/pysha3-1.0.2/Modules/_sha3/kcp/KeccakP-1600-opt64.c:342:5:  [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(data, state, laneCount*8);
data/pysha3-1.0.2/Modules/_sha3/kcp/KeccakP-1600-opt64.c:411:14:  [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.
    unsigned char temp[8];
data/pysha3-1.0.2/Modules/_sha3/kcp/KeccakSponge.h:135:18:  [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.
        unsigned char state[size]; \
data/pysha3-1.0.2/Modules/_sha3/sha3module.c:123:35:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
#define SHA3_copystate(dest, src) memcpy(&(dest), &(src), sizeof(SHA3_state))
data/pysha3-1.0.2/Modules/_sha3/sha3module.c:312:14:  [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.
    unsigned char digest[SHA3_MAX_DIGESTSIZE + SHA3_LANESIZE];
data/pysha3-1.0.2/Modules/_sha3/sha3module.c:340:14:  [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.
    unsigned char digest[SHA3_MAX_DIGESTSIZE + SHA3_LANESIZE];
data/pysha3-1.0.2/Modules/_sha3/sha3module.c:488:14:  [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.
    unsigned char suffix[2];

ANALYSIS SUMMARY:

Hits = 23
Lines analyzed = 3611 in approximately 0.15 seconds (24888 lines/second)
Physical Source Lines of Code (SLOC) = 2626
Hits@level = [0]   0 [1]   0 [2]  23 [3]   0 [4]   0 [5]   0
Hits@level+ = [0+]  23 [1+]  23 [2+]  23 [3+]   0 [4+]   0 [5+]   0
Hits/KSLOC@level+ = [0+] 8.75857 [1+] 8.75857 [2+] 8.75857 [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.