Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .file "main.c"
- .section .rodata.str1.1,"aMS",@progbits,1
- .LC0:
- .string "THR STARTED"
- .section .text.unlikely,"ax",@progbits
- .LCOLDB1:
- .text
- .LHOTB1:
- .p2align 4,,15
- .globl func2
- .type func2, @function
- func2:
- .LFB15:
- .cfi_startproc
- subq $8, %rsp
- .cfi_def_cfa_offset 16
- movl $.LC0, %edi
- call puts
- movl $1, flag(%rip)
- .L2:
- jmp .L2
- .cfi_endproc
- .LFE15:
- .size func2, .-func2
- .section .text.unlikely
- .LCOLDE1:
- .text
- .LHOTE1:
- .section .text.unlikely
- .LCOLDB2:
- .text
- .LHOTB2:
- .p2align 4,,15
- .globl func1
- .type func1, @function
- func1:
- .LFB14:
- .cfi_startproc
- movl $0, flag(%rip)
- ret
- .cfi_endproc
- .LFE14:
- .size func1, .-func1
- .section .text.unlikely
- .LCOLDE2:
- .text
- .LHOTE2:
- .section .text.unlikely
- .LCOLDB3:
- .section .text.startup,"ax",@progbits
- .LHOTB3:
- .p2align 4,,15
- .globl main
- .type main, @function
- main:
- .LFB16:
- .cfi_startproc
- subq $24, %rsp
- .cfi_def_cfa_offset 32
- xorl %ecx, %ecx
- movl $func2, %edx
- leaq 8(%rsp), %rdi
- xorl %esi, %esi
- call pthread_create
- movl $0, flag(%rip)
- .L7:
- jmp .L7
- .cfi_endproc
- .LFE16:
- .size main, .-main
- .section .text.unlikely
- .LCOLDE3:
- .section .text.startup
- .LHOTE3:
- .local flag
- .comm flag,4,4
- .ident "GCC: (Debian 4.9.2-10) 4.9.2"
- .section .note.GNU-stack,"",@progbits
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement