riscv-openocd/src
Tomas Vanek a2e822834d helper/binarybuffer: fix clang static analyzer warnings
Writing bits to an uninitialized buffer generated false warnings.
Zero buffers before setting them by buf_set_u32|64()
(do it only if bit-by-bit copy loop is used,
zeroed buffer is not necessary if a fast path write is used)

Change-Id: I2f7f8ddb45b0cbd08d3e249534fc51f4b5cc6694
Signed-off-by: Tomas Vanek <vanekt@fbl.cz>
Reviewed-on: http://openocd.zylin.com/5383
Tested-by: jenkins
Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
2020-03-07 15:30:05 +00:00
..
flash helper/binarybuffer: fix clang static analyzer warnings 2020-03-07 15:30:05 +00:00
helper helper/binarybuffer: fix clang static analyzer warnings 2020-03-07 15:30:05 +00:00
jtag helper/binarybuffer: fix clang static analyzer warnings 2020-03-07 15:30:05 +00:00
pld helper/command: change prototype of command_print/command_print_sameline 2019-05-14 19:37:11 +01:00
rtos rtos/linux: fix use of memory after it is freed 2020-03-07 15:29:37 +00:00
server coding style: fix space around pointer's asterisk 2020-02-24 10:30:36 +00:00
svf openocd: fix minor inconsistencies after renaming "adapter" command 2020-01-29 05:36:30 +00:00
target helper/binarybuffer: fix clang static analyzer warnings 2020-03-07 15:30:05 +00:00
transport adi_v5_dapdirect: add support for adapter drivers that provide DAP API 2020-01-14 11:40:25 +00:00
xsvf xsvf: fix memory leak 2020-01-16 09:44:33 +00:00
Makefile.am Convert to non-recursive make 2016-12-08 16:23:10 +00:00
hello.c helper/command: change prototype of command_print/command_print_sameline 2019-05-14 19:37:11 +01:00
hello.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
main.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
openocd.c mflash: Remove this broken flash driver 2019-07-28 21:17:47 +01:00
openocd.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00