avast / avast/retdec

Compiling back LLVM IR

Open
#45 15 comments 4 reactions 0 assignees View on GitHub
Q-discussion Q-question
Dominant language
C++
Stars
8.6k
Forks
1k
PR merge metrics
No merged PRs in 30d

Description

Hi there and congratulations with open-sourcing such a useful tool. :)

As an experiment, I tried to compile back generated *.bc file. And got many undefined reference errors on ```_asm_smth()```, ```pseudo_smth()``` calls and many ```unknown_smth``` symbols. Is there any future possibility to recompile binaries?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by examining the generated .bc file and the reported undefined _asm_smth(), pseudo_smth(), and unknown_smth symbols. Determine whether recompiling generated LLVM IR is an intended capability and what changes would be needed to make those symbols resolvable; done means a defined scope and demonstrated recompilation path.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
compilers
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.