fix armelf sanitization and checks for mentions of sanitized files