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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user