As an exercise for Sonata, we demonstrate usage of cheriot-audit by changing an array from stack to heap allocated, and showing that this results in an import of a sealed capability to allocate memory. An update to CHERIoT-RTOS has caused this import to not be included anymore in the emitted json, and it seems to be caused by this commit: #460. Is it intentional for some heap allocation calls to be optimised out?
See also: lowRISC/sonata-software#81.