-
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 3 replies
-
GEF hints you that it's an ascii string, so you can use the normal GDB command |
Beta Was this translation helpful? Give feedback.
-
yeah that's how I've been doing it. but it is easier to see the full ASCII string printed in UI rather than typing the command every time. Iirc peda prints the full ascii text |
Beta Was this translation helpful? Give feedback.
-
Ummm could you please make sure changing GEF_MAX_STRING_LENGTH has an effect on your end? |
Beta Was this translation helpful? Give feedback.
-
Seems we hardcode it in |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
That's maybe why it's hardcoded. While we are hardcoding it, we have no reason to check for this sort of thing. |
Beta Was this translation helpful? Give feedback.
Well this value is hardcoded on purpose because having unterminated strings can get quickly out of hands from a UI and performance perspective .
So I guess, you have 2 options:
GEF_MAX_STRING_LENGTH
to a bigger value that you find suitablegef.memory.read_cstring($addr, max_length=$whatever_you_want)
Option 1 is faster, but more quick'n dirty.
Option 2 is the more suitable IMO since it's a personal UI preference