avast / avast/retdec

llvmir2hll - Support of Array Allocation Instruction

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

Description

Here's my simple question, is it right that llvm ir code generated by bin2llvmir does not contains array allocation instructions, like `%ptr = alloca i32, i32 4 `? Or in other words, llvmir2hll currently does not handle such kind of instructions?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by examining how llvmir2hll handles LLVM IR allocation instructions and compare that with the array allocation form produced by bin2llvmir, such as `%ptr = alloca i32, i32 4`. Confirm whether this instruction is currently unsupported; done means llvmir2hll correctly handles the reported array allocation case.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
compilers
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.