Applications for [http://www.cubewano.org/oink/ Oink] static analysis tools for [[Mozilla 2]]:
* Develop the AST-pattern-matching [http://weblogs.mozillazine.org/roadmap/archives/2006/11/oinkbased_patch_generation.html patch generation[Squash]] tool.
** Automate part of deCOMtamination. [[Gecko:DeCOMtamination Algorithm]]
** Automation of ownership cleanups (see below).
* Control flow analysis
** Find lock/unlock pairs that need try-catch.
** Develop [[DeHydra]], an [http://www.spinroot.com/uno/ UNO] port or rip-off inspired tool for general analysis.
** A [http://osl.cs.uiuc.edu/~ksen/cute/ CUTE] "plusplus" (CUTE++) on Oink.
* Generate patches to convert from nsresults to C++ exceptions.