Hello,
Recently,i‘ve researched about M0 processer.I've 2 questions about the feature,vector table remapping.
Will this feature increase the safety of the product?
What kind of attack can this feature guard against?
Hi there, thank you for your question. I have now moved it to the Architectures and Processors forum. Many thanks.
I'm not sure if I understand your question correctly.
Cortex-M0 has the Vector Table fixed at 0x0:https://developer.arm.com/documentation/dui0497/a/the-cortex-m0-processor/exception-model/vector-table
Cortex-M0+ can relocate the vector table with VTOR:https://developer.arm.com/documentation/dui0662/b/Cortex-M0--Peripherals/System-Control-Block/Vector-Table-Offset-Register
The reason for this feature is not really security orientated, more to match the memory map of the system. Some systems do allow for memory remapping so that different memory (usually swapping in SRAM instead of Flash) can be located at 0x0, allowing the vector table to be reprogrammed.
Thanks to your reply!This feature seems like to change the current address from exception table address to a new address,and then handle the exception.So,i wander if the handler needs to be stored at the new address,and what kind of attack can this feature guard against.
:)