bmarcot / vega

vega -- The Unix-like Operating System for micro-controllers (ARM Cortex-M4)
6 stars 1 forks source link

Check user-passed pointers with LDRT/STRT #8

Open bmarcot opened 8 years ago

bmarcot commented 8 years ago

User-passed pointers in syscalls are not checked. One option is to compare the pointer address against each entries of the address-space. Another is to use the translated load/stores, and kill the process if it takes a MemManage fault.