Real register names in output C
Open
C-llvmir2hll
enhancement
P-output
- Dominant language
- C++
- Stars
- 8.6k
- Forks
- 1k
- PR merge metrics
- No merged PRs in 30d
Description
Right now, global variables that are created from registers get `g` name in output C. This is ideal. Use pattern `g_` instead. All the necessary information are in JSON config file and are currently use to print comments.
Current output:
```c
int32_t g1 = 0; // eax
int32_t g2 = 0; // ebp
int32_t g3 = 0; // ecx
int32_t g4 = 0; // edi
int32_t g5 = 0; // esi
```
Expected output:
```c
int32_t g_eax = 0; // eax
int32_t g_ebp = 0; // ebp
int32_t g_ecx = 0; // ecx
int32_t g_edi = 0; // edi
int32_t g_esi = 0; // esi
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.