Marian Buschsieweke
e93b5e4b98
core/thread: fix thread_measure_stack_free()
...
`thread_measure_stack_free()` previously assumed that reading past the
stack is safe. When the stack was indeed part of a thread, the
`thread_t` structure is put after the stack, increasing the odds of
this assumption to hold. However, `thread_measure_stack_free()` could
also be used on the ISR stack, which may be allocated at the end of
SRAM.
A second parameter had to be added to indicate the stack size, so that
reading past the stack can now be prevented.
This also makes valgrind happy on `native`/`native64`.
2024-05-31 19:54:10 +02:00
..
2024-03-26 14:54:22 +01:00
2024-03-26 14:54:22 +01:00
2024-03-26 14:54:22 +01:00
2024-03-28 09:52:26 +01:00
2024-03-26 14:54:22 +01:00
2024-03-26 14:54:22 +01:00
2024-03-26 14:54:22 +01:00
2024-03-26 14:54:22 +01:00
2024-03-26 14:54:22 +01:00
2024-03-26 14:54:22 +01:00
2023-12-21 12:02:19 +01:00
2024-03-26 14:54:22 +01:00
2024-03-26 14:54:22 +01:00
2024-03-27 10:28:12 +01:00
2024-03-26 14:54:22 +01:00
2024-03-26 14:54:22 +01:00
2024-03-26 14:54:22 +01:00
2024-03-27 10:28:12 +01:00
2024-03-26 14:54:22 +01:00
2024-03-26 14:54:22 +01:00
2024-03-26 14:54:22 +01:00
2024-03-26 14:54:22 +01:00
2024-03-27 10:28:12 +01:00
2024-03-26 14:54:22 +01:00
2024-03-26 14:54:22 +01:00
2024-03-26 14:54:22 +01:00
2024-04-03 13:22:51 +02:00
2024-03-27 10:28:12 +01:00
2024-03-26 14:54:22 +01:00
2024-03-26 14:54:22 +01:00
2024-03-27 10:28:12 +01:00
2024-03-26 14:54:22 +01:00
2024-03-26 14:54:22 +01:00
2024-03-26 14:54:22 +01:00
2022-12-19 13:03:45 +01:00
2024-05-14 17:06:39 +02:00
2024-05-29 15:00:24 +00:00
2024-03-26 14:54:22 +01:00
2024-04-08 16:42:45 +02:00
2024-03-26 14:54:22 +01:00
2024-03-26 14:54:22 +01:00
2024-03-26 14:54:22 +01:00
2024-03-26 14:54:22 +01:00
2024-03-26 10:00:24 +01:00
2024-03-26 10:00:24 +01:00
2024-03-26 14:54:22 +01:00
2024-03-26 14:54:22 +01:00
2024-03-26 14:54:22 +01:00
2024-05-29 15:00:24 +00:00
2024-04-08 11:20:14 +02:00
2024-03-26 14:54:22 +01:00
2024-03-26 14:54:22 +01:00
2024-04-04 11:24:04 +00:00
2024-04-08 11:20:14 +02:00
2024-03-26 14:54:22 +01:00
2024-03-26 14:54:22 +01:00
2024-03-26 14:54:22 +01:00
2024-03-26 14:54:22 +01:00
2024-03-27 10:28:12 +01:00
2024-05-31 19:54:10 +02:00
2024-05-17 09:20:03 +00:00
2023-06-15 10:24:54 +02:00
2024-03-26 14:54:22 +01:00
2024-02-28 11:49:05 +01:00
2024-03-26 14:54:22 +01:00
2024-03-27 16:39:56 +00:00
2024-05-31 18:26:48 +02:00
2024-03-26 14:54:22 +01:00
2024-03-26 14:54:22 +01:00
2024-03-26 14:54:22 +01:00
2024-03-26 14:54:22 +01:00
2024-03-26 14:54:22 +01:00
2024-03-26 14:54:22 +01:00
2024-03-26 14:54:22 +01:00
2024-05-22 18:53:37 +02:00
2024-03-27 10:28:12 +01:00
2024-02-28 11:49:05 +01:00
2024-03-26 14:54:22 +01:00
2024-02-09 15:24:22 +01:00
2024-02-09 15:24:22 +01:00
2024-02-09 15:24:22 +01:00
2024-02-09 15:24:22 +01:00
2024-02-09 15:31:21 +01:00
2024-02-09 15:24:22 +01:00
2024-02-09 15:24:22 +01:00
2024-04-09 10:48:09 +02:00
2024-05-31 19:54:10 +02:00
2024-03-26 14:54:22 +01:00
2024-03-26 14:54:22 +01:00
2024-03-26 14:54:22 +01:00
2024-03-26 14:54:22 +01:00
2024-03-26 14:54:22 +01:00
2023-12-21 12:02:19 +01:00
2024-03-26 14:54:22 +01:00
2024-03-27 10:28:12 +01:00
2024-03-26 14:54:22 +01:00
2024-03-26 14:54:22 +01:00
2024-03-26 14:54:22 +01:00
2024-05-15 11:20:38 +02:00
2024-05-15 11:20:38 +02:00
2024-03-26 14:54:22 +01:00
2024-03-26 14:54:22 +01:00
2024-05-24 19:19:40 +02:00
2023-02-27 15:09:08 +01:00
2024-03-27 10:28:12 +01:00
2023-08-31 14:38:49 +02:00
2024-05-29 11:32:22 +02:00
2024-02-28 11:49:05 +01:00