Skip to content

LLVM2CPG doesn't work for the lifted IR #7

@damaoooo

Description

@damaoooo

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions