Closed 0152la closed 5 months ago
Somehow I missed this one -- sorry!
https://github.com/capablevms/CHERI-ELF-comp/pull/27/commits/bd730889c5f622ccedaf4ee0f2625732405dfc21 says "Remove some currently not working tests" but it adds two tests and removes none?
Please squash.
Squashed.
@0152la I guess the new commit fixes things and this can be squashed? If so, please squash.
I wanted to do a bit further testing before going forward with this PR, in case anything else slipped through the cracks. I'll either squash it, or push further commits, based on how it goes.
Ready for review.
Please squash.
Squashed.
Since this has quite a bit of changes, including lots of removals, I decided to open the PR as multiple commits, to make reviewing easier.
malloc
and friends compartment library to be used internally, overriding the previous interception implementation. We use the DDC capability to get the are of memory that is designated as heap space. This is done in a new library,libcomputils.so
, to be loaded in a compartment. This means further libraries loaded will also use our own internalmalloc
implementation;malloc
;