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/ixo-usb-jtag-0.0.1/eeprom.c Examining data/ixo-usb-jtag-0.0.1/eeprom.h Examining data/ixo-usb-jtag-0.0.1/fx2/delay.c Examining data/ixo-usb-jtag-0.0.1/fx2/delay.h Examining data/ixo-usb-jtag-0.0.1/fx2/fx2regs.h Examining data/ixo-usb-jtag-0.0.1/fx2/fx2utils.c Examining data/ixo-usb-jtag-0.0.1/fx2/fx2utils.h Examining data/ixo-usb-jtag-0.0.1/fx2/i2c.c Examining data/ixo-usb-jtag-0.0.1/fx2/i2c.h Examining data/ixo-usb-jtag-0.0.1/fx2/isr.c Examining data/ixo-usb-jtag-0.0.1/fx2/isr.h Examining data/ixo-usb-jtag-0.0.1/fx2/syncdelay.h Examining data/ixo-usb-jtag-0.0.1/fx2/timer.c Examining data/ixo-usb-jtag-0.0.1/fx2/timer.h Examining data/ixo-usb-jtag-0.0.1/fx2/usb_common.c Examining data/ixo-usb-jtag-0.0.1/fx2/usb_common.h Examining data/ixo-usb-jtag-0.0.1/fx2/usb_descriptors.h Examining data/ixo-usb-jtag-0.0.1/fx2/usb_requests.h Examining data/ixo-usb-jtag-0.0.1/hardware.h Examining data/ixo-usb-jtag-0.0.1/hw_basic.c Examining data/ixo-usb-jtag-0.0.1/hw_dj_usb.c Examining data/ixo-usb-jtag-0.0.1/hw_nexys.c Examining data/ixo-usb-jtag-0.0.1/hw_opsis.c Examining data/ixo-usb-jtag-0.0.1/hw_saxo_l.c Examining data/ixo-usb-jtag-0.0.1/hw_xpcu_i.c Examining data/ixo-usb-jtag-0.0.1/hw_xpcu_x.c Examining data/ixo-usb-jtag-0.0.1/usbjtag.c FINAL RESULTS: data/ixo-usb-jtag-0.0.1/eeprom.c:22:16: [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. xdata unsigned char eeprom[128]; data/ixo-usb-jtag-0.0.1/eeprom.c:24: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. extern xdata char dscr_vidpidver[6]; data/ixo-usb-jtag-0.0.1/eeprom.c:25: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. extern xdata char dscr_attrpow[2]; data/ixo-usb-jtag-0.0.1/eeprom.c:26: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. extern xdata char dscr_usbver[2]; data/ixo-usb-jtag-0.0.1/eeprom.c:27: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. extern xdata char dscr_strorder[4]; data/ixo-usb-jtag-0.0.1/eeprom.h:22:25: [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. extern __xdata unsigned char eeprom[128]; data/ixo-usb-jtag-0.0.1/hw_xpcu_x.c:41:16: [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. const unsigned char wavedata[64] = ANALYSIS SUMMARY: Hits = 7 Lines analyzed = 4629 in approximately 0.13 seconds (35049 lines/second) Physical Source Lines of Code (SLOC) = 2572 Hits@level = [0] 0 [1] 0 [2] 7 [3] 0 [4] 0 [5] 0 Hits@level+ = [0+] 7 [1+] 7 [2+] 7 [3+] 0 [4+] 0 [5+] 0 Hits/KSLOC@level+ = [0+] 2.72162 [1+] 2.72162 [2+] 2.72162 [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.