Stories
Slash Boxes
Comments

SoylentNews is people

posted by Fnord666 on Friday August 23 2019, @10:44AM   Printer-friendly
from the static-code-analysis dept.

Submitted via IRC for SoyCow2718

Facebook doesn't have the most stellar privacy and security track record, especially given that many of its notable gaffes were avoidable. But with billions of users and a gargantuan platform to defend, it's not easy to catch every flaw in the company's 100 million lines of code. So four years ago, Facebook engineers began building a customized assessment tool that not only checks for known types of bugs but can fully scan the entire codebase in under 30 minutes—helping engineers catch issues in tweaks, changes, or major new features before they go live.

The platform, dubbed Zoncolan, is a "static analysis" tool that maps the behavior and functions of the codebase and looks for potential problems in individual branches, as well as in the interactions of various paths through the program. Having people manually review endless code changes all the time is impractical at such a large scale. But static analysis scales extremely well, because it sets "rules" about undesirable architecture or code behavior, and automatically scans the system for these classes of bugs. See it once, catch it forever. Ideally, the system not only flags potential problems but gives engineers real-time feedback and helps them learn to avoid pitfalls.

"Every time an engineer makes a proposed change to our codebase, Zoncolan will start running in the background, and it will either report to that engineer directly or it will flag to one of our security engineers who's on call," says Pieter Hooimeijer, a security engineering manager at Facebook. "So it runs thousands of times a day, and found on the order of 1,500 issues in calendar year 2018."

Source: https://www.wired.com/story/facebook-zoncolan-static-analysis-tool/?verso=true


Original Submission

 
This discussion has been archived. No new comments can be posted.
Display Options Threshold/Breakthrough Mark All as Read Mark All as Unread
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
  • (Score: 2) by inertnet on Friday August 23 2019, @12:57PM (3 children)

    by inertnet (4071) on Friday August 23 2019, @12:57PM (#884075) Journal

    I wonder if even a single line of his original code is still among those millions.

    Starting Score:    1  point
    Karma-Bonus Modifier   +1  

    Total Score:   2  
  • (Score: 0) by Anonymous Coward on Friday August 23 2019, @01:09PM

    by Anonymous Coward on Friday August 23 2019, @01:09PM (#884078)

    what's original code?
    first commit, version 0.0.1 ...?

  • (Score: 3, Insightful) by jmichaelhudsondotnet on Friday August 23 2019, @04:31PM

    by jmichaelhudsondotnet (8122) on Friday August 23 2019, @04:31PM (#884216) Journal

    the most important thing as far as the people up top are concerned is that it is impossible to audit so the carefully placed backdoors will survive for as long as possible, they hope for generations i bet.

    Anyone who is still using facegag after what we know about what the company really is, a cult, are delusionally trying to cling to a byegone era.

  • (Score: 0) by Anonymous Coward on Saturday August 24 2019, @09:32AM

    by Anonymous Coward on Saturday August 24 2019, @09:32AM (#884643)

    do you mean what he stole from the twins?
    yeah right