1 .section .rodata.str1.1,"aMS",@progbits,1 2.LC0: 3 .string "PASS" 4 .text 5 .p2align 4,,15 6 .globl check 7 .type check, @function 8check: 9 pushl %ebx 10 call __x86.get_pc_thunk.bx 11 addl $_GLOBAL_OFFSET_TABLE_, %ebx 12 subl $8, %esp 13 call *get_func@GOT(%ebx) 14 cmpl func@GOT(%ebx), %eax 15 jne .L3 16 movl func_p@GOT(%ebx), %edx 17 cmpl %eax, (%edx) 18 jne .L3 19 call *func@GOT(%ebx) 20 cmpl $305419896, %eax 21 jne .L3 22 call *call_func@GOT(%ebx) 23 cmpl $305419896, %eax 24 jne .L3 25 leal .LC0@GOTOFF(%ebx), %eax 26 subl $12, %esp 27 pushl %eax 28 call *puts@GOT(%ebx) 29 addl $24, %esp 30 popl %ebx 31 ret 32.L3: 33 call *abort@GOT(%ebx) 34 .size check, .-check 35 .section .text.__x86.get_pc_thunk.bx,"axG",@progbits,__x86.get_pc_thunk.bx,comdat 36 .globl __x86.get_pc_thunk.bx 37 .hidden __x86.get_pc_thunk.bx 38 .type __x86.get_pc_thunk.bx, @function 39__x86.get_pc_thunk.bx: 40 movl (%esp), %ebx 41 ret 42 .section .note.GNU-stack,"",@progbits 43