Using the Static Analyzer

Scott Knaster, Waqar Malik, Mark Dalrymple · Apress eBooks · 2012

When you build applications, most compilers can detect code that looks fishy and issue a warning, indicating code that might turn into a bug at runtime. In an effort to move beyond this kind of warning, a few years ago, Apple added a static analyzer to Xcode version 3.2. The static analyzer is a tool that logically examines your code without actually running it, looking for errors that can turn into bugs. In this chapter, we’ll take a look at how you can use the static analyzer to find problems in your code. These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Read the paper · More papers on PaperTik