capablevms / CHERI-ELF-comp

Other
4 stars 1 forks source link

Add support for Linux compilation #40

Closed 0152la closed 2 days ago

0152la commented 3 days ago

Can now compile compartment.c and its dependents on Linux. Added a compartment_harness.c file which can be used to also execute on Linux. Currently only executing the compartment data gathering (mostly reading in ELF data and doing the relocation stuff), and cleaning up. No mapping or execution happening.

Fix various bugs found during the porting process.

ltratt commented 2 days ago

Please squash.

0152la commented 2 days ago

Squashed.