Detection of Snapshot Isolation Anomalies in Software Transactional Memory: A Statical Analysis Approach