Merge branch 'feature/mem-corruption-check-when-comprehensif-poisoning' into 'master'

heap: provide the tlsf_check_hook() definition to implement a check of memory corruption

Closes IDFGH-5643

See merge request espressif/esp-idf!19485
This commit is contained in:
Jiang Jiang Jian
2022-08-29 12:21:43 +08:00
12 changed files with 428 additions and 5 deletions
@@ -18,6 +18,15 @@ extern "C" {
*/
void tlsf_poison_fill_pfunc_set(void *pfunc);
/*!
* @brief Set the function to call for checking memory region when
* poisoning is configured.
*
* @param pfunc The callback function to trigger for checking
* the content of a memory region.
*/
void tlsf_poison_check_pfunc_set(void *pfunc);
#ifdef __cplusplus
}
#endif