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

(gdb) p (char*)0x7fffffffe9c8
$16 = 0x7fffffffe9c8 "\363\353\377\377\377\177"

It doesn't look like ascii or multibyte, what is it?

+4
source share
4 answers

These are octal escape characters. They are usually used to insert bytes into a string that does not matter as text or must have a specific binary value. \377For example, a hexadecimal value ffor a decimal 255, that would be so ÿin the ASCII, but is likely to have in the context of a very different meaning.

+7
source

This is not text. It looks like the address you are looking at contains another pointer to something on the stack. Try this like (char **)0x7fffffffe9c8or some other type of double pointer.

: , OP . , . 0x7fffffffebf3 ( - ), , , , char ** not char *.

+5

The part you requested may be the shell code for this address.

0
source

try p / x

This should print the value in hexadecimal

0
source

All Articles