gdbã§ããã¢ãã¬ã¹ãã¢ãã¬ã¹ãæãã¦ããå ´åã®dereferenceãç°¡åã«ããããã£ãã®ã§pythonã§ã³ãã³ãä½ã£ã¦ã¿ã¾ããã ããã¯ä¾ãã°cã®ã³ã¼ããããã§ã void func(char *p) { printf("[*] %s\n", p); } func()ã®ãã£ã¹ã¢ã»ã³ãã«çµæã«ãã®ãããªå¦çãããã¨ãã¾ãã 0x000000000040066e <+8>: mov %rdi,-0x8(%rbp) ãã®ã¨ããrbp - 8ã®ã¢ãã¬ã¹ã¯0x7fffffffdc68ã§ãããã¯ã¢ãã¬ã¹0x0000000000602010ãæãã¦ãã¾ãã (gdb) x/gx $rbp - 8 0x7fffffffdc68: 0x0000000000602010 ãã®ã¢ãã¬ã¹ãæãå 容ã¯ä»¥ä¸ã®ããã«ãã¦dereferenceã§ãã¾ãããã¡ãã£ã¨é¢åã§ãããã (gdb) x/s *(char **
{{#tags}}- {{label}}
{{/tags}}