Machine Learning for Embedded System Security