Files
openocd/src/target
Cody P Schafer a28dea0fe4 target/cortex_m: avoid dwt comparator overflow
Avoid ever overflowing the DWT_COMPARATOR array by allocating space for
16 comparators (the field is masked by 0xf).

On a stm32f767zi chip (on a nucleo-767zi board) I've been seeing crashes
with address sanitizer enabled due to its (apparent) 10 present
comparators. This appears to be due to
https://sourceforge.net/p/openocd/tickets/178/.

In non-address sanitizer builds, this would likely cause some random
memory to be written to in some cases. (see above bug for observations).

Change-Id: I2b7d599eb326236dbc93f74b350c442c9a502c4b
Signed-off-by: Cody P Schafer <openocd@codyps.com>
Reviewed-on: http://openocd.zylin.com/4458
Tested-by: jenkins
Reviewed-by: Christopher Head <chead@zaber.com>
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
2018-04-04 21:24:53 +01:00
..
2018-03-30 09:58:21 +01:00
2018-01-16 09:05:41 +00:00
2018-03-30 09:58:21 +01:00
2018-03-30 09:58:21 +01:00
2016-07-19 10:45:16 +01:00
2016-05-24 22:30:55 +01:00
2016-05-24 22:30:01 +01:00
2018-03-30 09:58:21 +01:00
2018-03-30 09:58:21 +01:00
2018-03-30 09:58:21 +01:00
2018-03-30 09:48:03 +01:00
2018-03-30 09:58:21 +01:00
2017-02-10 14:18:34 +01:00
2016-05-24 22:30:01 +01:00
2018-03-30 09:58:21 +01:00
2018-03-30 09:58:21 +01:00
2018-03-16 08:58:06 +00:00
2018-03-16 08:58:06 +00:00
2018-03-30 09:58:21 +01:00
2016-05-24 22:30:55 +01:00
2018-03-30 09:58:21 +01:00
2018-01-25 16:43:49 +00:00
2016-05-24 22:30:01 +01:00
2016-05-24 22:30:55 +01:00
2016-05-24 22:30:01 +01:00
2016-05-24 22:30:55 +01:00
2016-05-24 22:30:01 +01:00
2018-03-30 09:58:21 +01:00
2018-03-30 09:58:21 +01:00
2017-05-08 18:04:56 +01:00
2017-05-08 18:04:56 +01:00
2017-05-08 18:04:56 +01:00
2016-05-24 22:30:01 +01:00
2018-03-27 09:15:27 +01:00
2016-12-08 12:34:53 +00:00
2016-05-24 22:30:55 +01:00
2018-02-24 17:49:33 +00:00
2017-12-07 07:53:13 +00:00
2018-01-13 09:25:00 +00:00
2016-05-24 22:30:01 +01:00
2016-05-24 22:30:01 +01:00
2016-05-24 22:30:55 +01:00
2018-01-25 16:43:49 +00:00
2016-05-24 22:30:55 +01:00