Text this: Vulnerability Analysis and Risk Assessment for SoCs Used in Safety-Critical Embedded Systems