How to lift asm codes in text files into llvmir
- Dominant language
- C++
- Stars
- 8.6k
- Forks
- 1k
- PR merge metrics
- No merged PRs in 30d
Description
Hi, I am trying to lift a bunch of asm codes which stored in text files into llvmir using capstone2llvmir, but I have no idea how to let capstone2llvmir to do that
I've tried commands like these:

```shell
./retdec-capstone2llvmir -a arm -m arm -t `echo $code`
./retdec-capstone2llvmir -a arm -m arm -t $(cat ~/Desktop/Project/small_opt/orig_exe/test.ass)
./retdec-capstone2llvmir -a arm -m arm -t $code
./retdec-capstone2llvmir -a arm -m arm -t "~/Desktop/Project/small_opt/orig_exe/test.ass"
```
but none of which works
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the retdec-capstone2llvmir command and the assembly text-file usage shown in the issue. Determine which input form the tool supports, then document a working invocation and the expected LLVM IR output or error behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- shell
- Domain
- cli, compilers
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100