A toolset for automated failure analysis