Git Product home page Git Product logo

llvm2cpg's Introduction

llvm2cpg's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

llvm2cpg's Issues

LLVM2CPG doesn't work for the lifted IR

Hello

Thanks for the wonderful tool you have invented. Here I have a issue in IR from lifter.

  1. I Lifted the binary into IR using Retdec and the LLVM IR can be re-compiled pass the clang and opt compiler.
  2. Then I use the LLVM2CPG to generate CPG from the LLVM IR (from lifter)
  3. then it reports Segmentation fault, and in log, there's nothing [x]
  4. I tried to compile the source code into LLVM IR, it works [v]
  5. I lifted the binary into C, re-compile it into LLVM IR, it doesn't work [x]

Can you help me to understand why it doesn't work in LLVM IR from the lifter, since it can pass the clang check.

use global variables

When using global variables, addressof[global variable value] instead of addressof[global variable name].how can we get global variable name in CPG?

How to install llvm2cpg

維護者是否能夠給一個具體的安裝流程,我在本地嘗試多次,都出現error
1)llvm2cpg/vendor 應該缺少相關CMakeList.txt吧?
2)googletest需要安裝吧,但是具體的操作沒有指出來?
3)cmake -G "Unix Makefiles" -DPATH_TO_LLVM=YOUR_LLVM_DIR ~/.joern/llvm2cpg?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.