encyclopegia.org

Code property graph

In computer science, a code property graph (CPG) is a computer program representation that captures syntactic structure, control flow, and data dependencies in a property graph. The concept was originally introduced to identify security vulnerabilities in C and C++ system code, but has since been employed to analyze web applications, cloud deployments, and smart contracts. Beyond vulnerability discovery, code property graphs find applications in code clone detection, attack-surface detection, exploit generation, measuring code testability, and backporting of security patches.

In computer science, a code property graph (CPG) is a computer program representation that captures syntactic structure, control flow, and data dependencies in a property graph. The concept was originally introduced to identify security vulnerabilities in C and C++ system code, but has since been employed to analyze web applications, cloud deployments, and smart contracts. Beyond vulnerability discovery, code property graphs find applications in code clone detection, attack-surface detection, exploit generation, measuring code testability, and backporting of security patches. void foo() { int x = source(); if (x The code property graph of the function is obtained by merging its abstract syntax tree, control-flow graph, and program dependence graph at statements and predicates as seen in the following figure:

References

No reference rows published for this article.

Cite this article

MLA

"Code property graph." encyclopegia.org, 2026, https://encyclopegia.org/wiki/code-property-graph. Accessed 24 November 2026.

Chicago

"Code property graph." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/code-property-graph.

APA

encyclopegia.org. (2026). Code property graph. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/code-property-graph

Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

Afindi Yati Tuah

enwiki · references available

Liam Kapeikis

enwiki · references available

Maya Alcantara

enwiki · references available

Rings Beach

enwiki · references available

Frestelse

enwiki · references available

Mikko Hautala

enwiki · references available

1958 Eastern Illinois Panthers football team

enwiki · references available

CD Utrillas

enwiki · references available

Zhyngyldyozek

enwiki · references available

Yukon (Interlude)

enwiki · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1348584993 · 0.5 · snapshot enwiki-001348584993

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.