5 int main(int argc, char* argv[])
10 printf("TEB dumpper\n");
11 __asm__("movl %%fs:0x18, %0\n\t"
14 printf("fs[0x18] %x\n", x);
18 printf("StackBase: 0x%08lX\n", Teb->Tib.StackBase);
19 printf("StackLimit: 0x%08lX\n", Teb->Tib.StackLimit);
20 printf("DeallocationStack: 0x%08lX\n", Teb->DeallocationStack);