Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LLVM2CPG doesn't work for the lifted IR #7

Open
damaoooo opened this issue May 14, 2023 · 0 comments
Open

LLVM2CPG doesn't work for the lifted IR #7

damaoooo opened this issue May 14, 2023 · 0 comments

Comments

@damaoooo
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant