Video details

LLVM meets Code Property Graphs


by Alex Denisov and Fabian Yamaguchi
At: FOSDEM 2020
❮p❯The security of computer systems fundamentally depends on the quality of its underlying software. Despite a long series of research in academia and industry, security vulnerabilities regularly manifest in program code. Consequently, they remain one of the primary causes of security breaches today. The discovery of software vulnerabilities is a classic yet challenging problem of the security domain. In the last decade, there appeared several production-graded solutions with a favorable outcome.❮/p❯
❮p❯Code Property Graph[1] (or CPG) is one such solution. CPG is a representation of a program that combines properties of abstract syntax trees, control flow graphs, and program dependence graphs in a joint data structure. There exist two counterparts[2][3] that allow traversals over code property graphs in order to find vulnerabilities and to extract any other interesting properties.❮/p❯
❮p❯In this talk, we want to cover the following topics:❮/p❯
❮ul❯ ❮li❯an intro to the code property graphs❮/li❯ ❮li❯how we built llvm2cpg, a tool that converts LLVM Bitcode to the CPG representation❮/li❯ ❮li❯how we teach the tool to reason about properties of high-level languages (C/C++/ObjC) based on the low-level representation only❮/li❯ ❮li❯interesting findings and some results❮/li❯ ❮/ul❯
❮p❯[1] [2] [3]❮/p❯
Room: K.4.201 Scheduled start: 2020-02-01 12:50:00