- Use memset_s instead of memset when zero-ing internal structure, to prevent compiler optimization.
- Update project settings.
- Fix some test according to 'Analyze' Xcode function.