Also playing catchup trying to get some CHERI BSD examples built up as
recipes. Might ping you on the basics here if poss. and try to write up.
Having more purecap libraries would be great, thank you.
One really basic question is when you build the your demo app how is it
build for PureCap/compatibility API? I can's see this using llvm-objdump
You can tell that the app is "purcap" by reading the elf header. Entry point address LSB set to 1 will load the app in C64 mode, the flags field will also be set to 0x1000.
Pawel
On 15/03/2023 08:20, Pawel Zalewski wrote:
Also playing catchup trying to get some CHERI BSD examples built up as recipes. Might ping you on the basics here if poss. and try to write up.
Having more purecap libraries would be great, thank you.
One really basic question is when you build the your demo app how is it build for PureCap/compatibility API? I can's see this using llvm-objdump
You can tell that the app is "purcap" by reading the elf header. Entry point address LSB set to 1 will load the app in C64 mode, the flags field will also be set to 0x1000.
Lovely stuff - this is all working really well here. Excepting I can't ping out from the FVP. Need to work out what's going on there.
Cheers!
Alex
Pawel
linux-morello-distros@op-lists.linaro.org