What is \363\353\377\377\377\177?

These are octal character escapes. They are usually used to insert bytes into a string that don't have a meaning as text or need to have a certain binary value. \377 for instance is the hexadecimal value ff or decimal 255 which would be this ÿ in ASCII but most likely has a very different meaning in this context.


It's not text. It looks like the address you're examining contains another pointer to something on the stack. Try it as (char **)0x7fffffffe9c8, or some other double pointer type.

Edit: To elaborate, OP is examining non-text data in a debugger and asking the encoding. The correct answer is simply that it's not text. It's an integer 0x7fffffffebf3 and it's almost certainly a pointer to a string (since it's not aligned and points somewhere on the stack), meaning that the original pointer was probably of type char ** not char *.

Tags:

C

Gdb