📄 tlspic.s
字号:
.section ".tdata", "awT", @progbits .globl foofoo: .long 25 .text .globl fn .type fn,@functionfn: pushl %ebp movl %esp, %ebp pushl %ebx pushl %eax call 1f1: popl %ebx addl $_GLOBAL_OFFSET_TABLE_+[.-1b], %ebx /* foo can be anywhere in the startup TLS */ movl %gs:0, %eax /* Arbitrary instructions in between. */ leal 0(%esi, 1), %esi subl foo@GOTTPOFF(%ebx), %eax /* %eax now contains &foo */ /* Now the GNU sequence. */ movl foo@GOTNTPOFF(%ebx), %eax /* Arbitrary instructions in between. */ leal 0(%esi, 1), %esi movl %gs:(%eax), %eax /* %eax now contains foo */ movl %gs:0, %ecx addl foo@GOTNTPOFF(%ebx), %ecx movl -4(%ebp), %ebx leave ret
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -