看一看:
(gdb) x/x $esp
0xb720a621: 0x00000000
(gdb) info register eflags
eflags 0x200286 [ PF SF IF ID ]
(gdb) x/5i $pc
=> 0x15a965d <tables+11901>: popf
0x15a965e <tables+11902>: mov $0xd7fb0aa3,%ecx
0x15a9663 <tables+11907>: ret $0x849d
0x15a9666 <tables+11910>: xor (%ebx),%esi
0x15a9668 <tables+11912>: aam $0x78
(gdb) stepi
0x015a965e in tables () from /usr/local/apache2/modules/libphp5.so
(gdb) info register eflags
eflags 0x202 [ IF ]
(gdb) stepi
0x015a9663 in tables () from /usr/local/apache2/modules/libphp5.so
(gdb) info register eflags
eflags 0x302 [ TF IF ]
不确定为什么在下一条指令后设置 TF。