AVATAR: A framework to support dynamic security analysis of embedded systems' firmwares