3

How can i settings IDA show me string instead of offset_xxx?

enter image description here

1
  • 2
    could you please add a text dump of the screenshot as well as the disassembly listing of the highlighted locations?
    – Igor Skochinsky
    Jun 12, 2018 at 18:35

2 Answers 2

9

Go to the menu Edit -> Plugins -> Hex-Rays Decompiler. A window will appear with information about the Hex-Rays plugin. Click Options and you should see a dialog like this:

hex rays options

Click on Analysis options and uncheck Print only constant string literals:

option

I learned about this option from the great Life In Hex blog, but I cannot find the post right now...

1

Have you tried changing the prototype of the function licensed_to() so the 2nd argument is "const char *" and, also, have you made a string at the given offset? If not, go to the address in that offset and press 'a' (or Alt+A and then select "Unicode").

2

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.