To implement a plugin for statically checking if a program has followed secure coding techniques.
We will use Google's Error-Prone tool for creating our own secure checker. We will be using selected secure coding practices from "CERT Java Secure Coding.pdf" for our project.
We will use source codes from some open source projects for secure coding analysis of these projects.
-
Error-Prone Main Page: http://errorprone.info/
-
Custom Check using plugin: https://github.com/google/error-prone/tree/master/examples/plugin/gradle
-
Concrete Example of a Custom Check (The Syntax Tree Stuff :P): https://github.com/google/error-prone/blob/master/examples/plugin/gradle/sample_plugin/src/main/java/com/google/errorprone/sample/MyCustomCheck.java