Replies: 6 comments 3 replies
|
GEF hints you that it's an ascii string, so you can use the normal GDB command |
0 replies
|
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 |
1 reply
|
Ummm could you please make sure changing GEF_MAX_STRING_LENGTH has an effect on your end? |
1 reply
|
Seems we hardcode it in |
1 reply
|
That's maybe why it's hardcoded. While we are hardcoding it, we have no reason to check for this sort of thing. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


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_LENGTHto 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