• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Static Analyzer doesn't always analyze all touched files?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Static Analyzer doesn't always analyze all touched files?


  • Subject: Re: Static Analyzer doesn't always analyze all touched files?
  • From: Kyle Sluder <email@hidden>
  • Date: Tue, 21 Jan 2014 09:03:13 -0800

On Tue, Jan 21, 2014, at 12:25 AM, Jerry Krinock wrote:
>
> Does anyone know how this works?  I’d like to have a procedure as part of
> my automatic build and ship that would be guaranteed to analyze
> everything.  During my testing, I also tried a Product > Clean, before
> Analyze, but that did not help, just took much longer to analyze.

Starting in Xcode 5, the analyzer does a "shallow" analysis by default.
We were bitten by the same thing—Analyze is part of our build process,
and the analyzer was just blithely skipping some errors.

But I would not expect that to happen for explicit Product > Analyze
invocations.

See if adding CLANG_STATIC_ANALYZER_MODE = deep to your project settings
makes Product > Analyze work correctly. If so, file a bug.

--Kyle Sluder

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: Static Analyzer doesn't always analyze all touched files?
      • From: Jens Alfke <email@hidden>
References: 
 >Static Analyzer doesn't always analyze all touched files? (From: Jerry Krinock <email@hidden>)

  • Prev by Date: Re: Static Analyzer doesn't always analyze all touched files?
  • Next by Date: Re: Static Analyzer doesn't always analyze all touched files?
  • Previous by thread: Re: Static Analyzer doesn't always analyze all touched files?
  • Next by thread: Re: Static Analyzer doesn't always analyze all touched files?
  • Index(es):
    • Date
    • Thread