Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .file "test.cpp"
- .section .rodata.str1.1,"aMS",@progbits,1
- .LC0:
- .string "not a palindrome"
- .section .text.startup,"ax",@progbits
- .p2align 4,,15
- .globl main
- .type main, @function
- main:
- .LFB785:
- .cfi_startproc
- pushq %rbx
- .cfi_def_cfa_offset 16
- .cfi_offset 3, -16
- movl $.LC0, %esi
- movl $1, %ebx
- subq $16, %rsp
- .cfi_def_cfa_offset 32
- leaq 15(%rsp), %rdx
- movq %rsp, %rdi
- call _ZNSsC1EPKcRKSaIcE
- movq (%rsp), %rax
- movq -24(%rax), %rdx
- movq %rdx, %rsi
- shrq %rsi
- addq %rax, %rsi
- cmpq %rsi, %rax
- je .L4
- addq %rax, %rdx
- xorb %bl, %bl
- movzbl -1(%rdx), %ecx
- cmpb %cl, (%rax)
- je .L5
- jmp .L4
- .p2align 4,,10
- .p2align 3
- .L6:
- subq $1, %rdx
- movzbl -1(%rdx), %ebx
- cmpb %bl, 1(%rax)
- jne .L9
- movq %rcx, %rax
- .L5:
- leaq 1(%rax), %rcx
- cmpq %rcx, %rsi
- jne .L6
- movl $1, %ebx
- .L4:
- movq %rsp, %rdi
- call _ZNSsD1Ev
- addq $16, %rsp
- .cfi_remember_state
- .cfi_def_cfa_offset 16
- movl %ebx, %eax
- popq %rbx
- .cfi_def_cfa_offset 8
- ret
- .L9:
- .cfi_restore_state
- xorl %ebx, %ebx
- jmp .L4
- .cfi_endproc
- .LFE785:
- .size main, .-main
- .weakref _ZL20__gthrw_pthread_oncePiPFvvE,pthread_once
- .weakref _ZL27__gthrw_pthread_getspecificj,pthread_getspecific
- .weakref _ZL27__gthrw_pthread_setspecificjPKv,pthread_setspecific
- .weakref _ZL22__gthrw_pthread_createPmPK14pthread_attr_tPFPvS3_ES3_,pthread_create
- .weakref _ZL20__gthrw_pthread_joinmPPv,pthread_join
- .weakref _ZL21__gthrw_pthread_equalmm,pthread_equal
- .weakref _ZL20__gthrw_pthread_selfv,pthread_self
- .weakref _ZL22__gthrw_pthread_detachm,pthread_detach
- .weakref _ZL22__gthrw_pthread_cancelm,pthread_cancel
- .weakref _ZL19__gthrw_sched_yieldv,sched_yield
- .weakref _ZL26__gthrw_pthread_mutex_lockP15pthread_mutex_t,pthread_mutex_lock
- .weakref _ZL29__gthrw_pthread_mutex_trylockP15pthread_mutex_t,pthread_mutex_trylock
- .weakref _ZL31__gthrw_pthread_mutex_timedlockP15pthread_mutex_tPK8timespec,pthread_mutex_timedlock
- .weakref _ZL28__gthrw_pthread_mutex_unlockP15pthread_mutex_t,pthread_mutex_unlock
- .weakref _ZL26__gthrw_pthread_mutex_initP15pthread_mutex_tPK19pthread_mutexattr_t,pthread_mutex_init
- .weakref _ZL29__gthrw_pthread_mutex_destroyP15pthread_mutex_t,pthread_mutex_destroy
- .weakref _ZL30__gthrw_pthread_cond_broadcastP14pthread_cond_t,pthread_cond_broadcast
- .weakref _ZL27__gthrw_pthread_cond_signalP14pthread_cond_t,pthread_cond_signal
- .weakref _ZL25__gthrw_pthread_cond_waitP14pthread_cond_tP15pthread_mutex_t,pthread_cond_wait
- .weakref _ZL30__gthrw_pthread_cond_timedwaitP14pthread_cond_tP15pthread_mutex_tPK8timespec,pthread_cond_timedwait
- .weakref _ZL28__gthrw_pthread_cond_destroyP14pthread_cond_t,pthread_cond_destroy
- .weakref _ZL26__gthrw_pthread_key_createPjPFvPvE,pthread_key_create
- .weakref _ZL26__gthrw_pthread_key_deletej,pthread_key_delete
- .weakref _ZL30__gthrw_pthread_mutexattr_initP19pthread_mutexattr_t,pthread_mutexattr_init
- .weakref _ZL33__gthrw_pthread_mutexattr_settypeP19pthread_mutexattr_ti,pthread_mutexattr_settype
- .weakref _ZL33__gthrw_pthread_mutexattr_destroyP19pthread_mutexattr_t,pthread_mutexattr_destroy
- .ident "GCC: (Ubuntu 4.6.0-3~ppa1) 4.6.1 20110409 (prerelease)"
- .section .note.GNU-stack,"",@progbits
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement