[pwnpwnpwn-15] codegate 2019 aeiou
Summary Thread Local Storage(TLS) 리눅스는 x86: gs, x86_64: fs 레지스터로 TLS를 관리한다. TLS란 쓰레드를 관리하기 위한 전역변수이며 해당 변수의 0번 째 인덱스에는 TCB(Thread Control Block)의 주소가 저장된다. TCB는 해당 쓰레드를 관리하기 위한 구조체. typedef struct { void *tcb; /* Pointer to the TCB. Not necessarily the thread descriptor used by libpthread. */ dtv_t *dtv; void *self; /* Pointer to the thread descriptor. */ int multiple_threads; int gscope_flag; u..
pwnable/CTF write-up 2020. 1. 28. 14:09
최근에 올라온 글
최근에 달린 댓글
TAG
- 해킹
- fastbindup
- exit
- SQLi
- FSB
- stack reusing
- tcache
- rt_sigreturn
- srop
- heap
- shellcoding
- ebp change
- hacking
- oob
- 본선가고싶다
- pwnable
- HackCTF
- codegate
- pwnable.tw
- TLS
- pwable
- overflow
- glibc
- fastbin
- fsop
- Total
- Today
- Yesterday