1 / 7

Code Review: Essential for Security and Efficiency

Learn why performing regular code reviews is crucial for improving security, identifying vulnerabilities, and ensuring optimal performance. Discover best practices for running static analysis tools and implementing fixes.

sboozer
Télécharger la présentation

Code Review: Essential for Security and Efficiency

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Running Static Analisys Tools Chapter 3

  2. Why Perform a code review? • Routinely (recommended)‏ • To prove a point. • To retrofit security into a project. • At least every release period, every project should receive a security review. At Microsoft, security reviews take about 20% of initial release time and 10% in subsequent iterations.

  3. The Review Cycle • Establish goals (subdivide up to, at most, program level)‏ • Run the static analysis tool (be sure the code compiles!)‏ • Review the code (using the output from the tool)‏ • Make fixes

  4. Some Gotchas • The Exploitability trap • Lame excuses (page 55)‏ • Adoption Anxiety. • Who runs the tool? • When is the tool run? • What happens to the results?

  5. Who runs the tool? • Canonical answers: • Programmers • Security • Better answer: • All of the above

  6. When is the tool run? • While the code is being written. • At build time • At major milestones

  7. What Happens to the results • Output feeds a Release Gate • A Central authority doles out individual results • A Central Authority sets Pinpoint Focus • Start Small, ratchet up.

More Related