Reference to undeclared variable in output C file.
- Dominant language
- C++
- Stars
- 8.6k
- Forks
- 1k
- PR merge metrics
- No merged PRs in 30d
Description
I was able to decompile an arm .so file with docker but when I tried to compile the .c file I got:
```
x.c:919:22: error: use of undeclared identifier 'g112'
char (***g57)[13] = &g112;
```
That's the only error in the C file other than a couple structs being redefined. Is anyone interested in this? Thanks.
(Github won't let me attach me the .so file, maybe because it's binary?)
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the reported x.c error at line 919 and the missing ARM .so input, then inspect how the generated C declares g112 and the redefined structs. Done means reproducing the decompilation and producing C output that compiles without the undeclared-variable error or struct redefinition errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, cpp
- Domain
- compilers, reverse-engineering
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100