Printing global variables in C output #7487
Unanswered
ignatirabo
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Given a binary, I would like to print all global variables to a C file.
I wrote the following code which almost does the work, except, I cannot seem to print pointers properly.
When looking at the output, I get the following code.
Can anyone guide in the right direction? Also, is there already an option to print this global variables? I haven't found any. Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions