Automated Verification Of Advanced Correctness And Security Properties