avast / avast/retdec

bin2llvmir: Contents of wide-string information lost

Open
#38 7 comments 0 reactions 1 assignee Claimed by @PeterMatula View on GitHub
bug C-bin2llvmir P-output
Dominant language
C++
Stars
8.6k
Forks
1k
PR merge metrics
No merged PRs in 30d

Description

When lifting binary code to LLVM IR, the contents of wide-strings seem to be lost in the process. Note the use of the pseudo-name `%wide-string` rather than the actual contents of the string. Which in this case happens to be `"(null)", 0` in UTF-16 Little Endian format.

```llvm
@global_var_48039c.3418 = constant [7 x i16] %wide-string
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.