Klocwork ‚«‚¹‚ƒ ƒ‚§ƒƒ‚«ƒ¼ç´¹»‹

  • View
    331

  • Download
    3

Embed Size (px)

Text of Klocwork...

  1. 1. 1 2016 Rogue Wave Software, Inc. All Rights Reserved. 1
  2. 2. 2 2016 Rogue Wave Software, Inc. All Rights Reserved. 2 Klocwork Masaru Horioka( Sales Engineering Manager , APAC
  3. 3. 3 2016 Rogue Wave Software, Inc. All Rights Reserved. 3 Klocwork C/C++, Java, C# https://support.roguewave.com/documentation/klocwork/jp/curr ent/checkersintro/ MISRA MISRA
  4. 4. 4 2016 Rogue Wave Software, Inc. All Rights Reserved. 4 KAST AST Rogue Wave Professional Service PATH Rogue Wave Professional Service Rogue Wave Professional Service
  5. 5. 5 2016 Rogue Wave Software, Inc. All Rights Reserved. 5 Rogue Wave Professional Service Rogue Wave: Rogue Wave: /Rogue Wave: SOW Rogue Wave: Rogue Wave: 10-50 K USD : 10K USD / (5 professional.services@roguewave.com
  6. 6. 6 2016 Rogue Wave Software, Inc. All Rights Reserved. 6 KAST
  7. 7. 7 2016 Rogue Wave Software, Inc. All Rights Reserved. 7 KAST 1 Translation Unit)( )AST :https://support.roguewave.com/documentation/klocwork/jp/current/ccka stexamples/#concept447
  8. 8. 8 2016 Rogue Wave Software, Inc. All Rights Reserved. 8 KAST Global if breakcare
  9. 9. 9 2016 Rogue Wave Software, Inc. All Rights Reserved. 9 KAST #define AAA 111 #if xxx Translation Unit.c/.cc MISRA
  10. 10. 10 2016 Rogue Wave Software, Inc. All Rights Reserved. 10 KAST 1. 2. 3. MISRAON 4. Checker StudioChecker 5. kwcreatechecker 6. 7. / 8. taxonomy 9.
  11. 11. 11 2016 Rogue Wave Software, Inc. All Rights Reserved. 11 Klocwork windows visual studio .cppmake linux gcc https://support.roguewave.com/documentation/klocwork/jp/current/creatingcckastchecker s/#concept671 5. nmake install checker name>.zip checker name>.zip 6. xml/. klocwork// Step 5checker name>.zip.xml.jar .cpp /
  12. 12. 12 2016 Rogue Wave Software, Inc. All Rights Reserved. 12 1 KAST https://support.roguewave.com/documentation/klocwork/jp/current/kastcheck ers/ https://support.roguewave.com/documentation/klocwork/jp/current/cckaste xamples/#concept447 MISRA misra.xml /plugins/builtin_ccxx_plugins.xml
  13. 13. 13 2016 Rogue Wave Software, Inc. All Rights Reserved. 13 https://support.roguewave.com/documentation/klocwork/jp/current/cckasts yntaxreference/#concept455
  14. 14. 14 2016 Rogue Wave Software, Inc. All Rights Reserved. 14 Checker Studio AST KAST Attribute( ) attributes KAST
  15. 15. 15 2016 Rogue Wave Software, Inc. All Rights Reserved. 15 Checker Studio Select node and press F1 or View > Context help window
  16. 16. 16 2016 Rogue Wave Software, Inc. All Rights Reserved. 16 Checker Studio Help > Help Topics:
  17. 17. 17 2016 Rogue Wave Software, Inc. All Rights Reserved. 17 Checker file // // locale titlemessage encodingutf-8 enabled="false"
  18. 18. 18 2016 Rogue Wave Software, Inc. All Rights Reserved. 18 taxonomy OS categories namelocale="ja" taxonomy Checker filetaxonomy
  19. 19. 19 2016 Rogue Wave Software, Inc. All Rights Reserved. 19 Klocwork xxx KlocworkKAST API KlocworkKASTAPI APIOK
  20. 20. 20 2016 Rogue Wave Software, Inc. All Rights Reserved. 20 MISRA.LITERAL.SUFFIX.CASE (Literal suffix in lower case) u/U, f/F u/U - f/F misra.xml
  21. 21. 21 2016 Rogue Wave Software, Inc. All Rights Reserved. 21 MISRA.VAR.HIDDEN (Variable declaration hides declaration in upper scope) MISRA.VAR.HIDDENKAST
  22. 22. 22 2016 Rogue Wave Software, Inc. All Rights Reserved. 22