facebook / infer

A static analyzer for Java, C, C++, and Objective-C
http://fbinfer.com/
MIT License
14.8k stars 2k forks source link

--skip-analysis-in-path does not work #1754

Closed pastel001 closed 1 year ago

pastel001 commented 1 year ago

Please make sure your issue is not addressed in the FAQ.

Please include the following information:

elhoangvu commented 1 year ago

Try using the following cmd

infer capture --skip-analysis-in-path ".+/Pods" -- xcodebuild clean build xxx

A path is skipped if its prefix matches the given regex

pastel001 commented 1 year ago

Try using the following cmd

infer capture --skip-analysis-in-path ".+/Pods" -- xcodebuild clean build xxx

A path is skipped if its prefix matches the given regex

thank you very much,it works

coooliang commented 1 year ago

.inferconfig

{
  "report-blacklist-path-regex": [
    "Pods"
  ]
}
SolomonSun2010 commented 7 months ago

Good