Skip to content

Heap allocation no longer importing allocation capability #645

@ziuziakowska

Description

@ziuziakowska

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions