Hi there. 

I am creating a static analysis tool using clang-tidy for the Ceph codebase to quickly find out potential bugs. 

I wanted references to or examples of bad code or code which is frequently used which when written badly can result in failures. 

With this I hope to create the tool to check for bad code. 

Any help would be appreciated. 

Thank you. 

Regards,
Suyash