Skip to Content
Code as Data
book

Code as Data

by Bryan Friedman, Pat Johnson, Olga Kundzich
July 2026
Intermediate
35 pages
52m
English
O'Reilly Media, Inc.
Content preview from Code as Data

Chapter 4. Code Security and Advanced Program Analysis

Software composition analysis (SCA) tools inventory known vulnerable dependencies. Static application security testing (SAST) tools flag vulnerabilities in first-party code. And now frontier AI models are surfacing zero-day vulnerabilities not yet described in vulnerability databases. The volume of findings keeps rising. But these tools mostly answer the question What do you have? Advanced program analysis answers the harder questions, enabling you to identify vulnerabilities accurately by tracing calls across systems.

That distinction matters everywhere software change happens (whether by human or agent), including vulnerability remediation, framework migrations, dead code elimination, and architectural governance. These problems require reasoning about software behavior, execution paths, data flow, and relationships across entire portfolios. Built on the LST and composable in deterministic recipes, advanced program analysis turns code as data into something operational: a system for producing accurate, actionable answers.

Tracing Data Through the Codebase

Tracing calls across systems rests on two long-standing techniques. Control flow analysis maps how a program can execute, such as which statements are reachable, which branches are dead, or which exceptions can escape. Data flow analysis walks through that map and tracks where values come from and where they end up. What lets it scale is method summarization: it computes ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

RAG-Ready Patterns for Data Platforms

RAG-Ready Patterns for Data Platforms

Ravi Vedula, Gerardo Bodegas Martinez, Maruti Chittajallu, Jack Pullikottil
Implementing Data Mesh

Implementing Data Mesh

Jean-Georges Perrin, Eric Broda
Data Mesh

Data Mesh

Zhamak Dehghani

Publisher Resources

ISBN: 0642572333225