Can I supply symbol information?
- Dominant language
- C++
- Stars
- 8.6k
- Forks
- 1k
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
My image is bytecode extracted from a video game ROM, which uses global variables with fixed memory addresses and has known C structs.
If possible, I would like to add my own symbol information so the resulting C file is more readable. Specifically, I would like to:
* Define a map of memory addresses and function names, so retdec can name my functions according to my list rather than `function_
`.* Define the known C structs that are used in the program.
* Define a map of memory addresses and variable types & names (eg. variable at address `X` is a `struct foo` named `bar`).
I think PDB files might be what I'm after, but it looks like that's a proprietary format and only used for Windows executables.
Is this something that I can do with retdec, or do I need to apply my own post processing on retdec's generated C file?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.