.file "m_libcassert.c" .section .rodata.str1.1,"aMS",@progbits,1 .LC0: .string "\nsched status:\n" .LC1: .string " running_tid=%d\n" .LC2: .string "\nThread %d: status = %s\n" .LC3: .string "\n" .text .p2align 4,,15 .globl vgPlain_show_sched_status .type vgPlain_show_sched_status, @function vgPlain_show_sched_status: pushl %ebp movl %esp, %ebp pushl %esi movl $vgPlain_threads+3268, %esi pushl %ebx movl $1, %ebx subl $16, %esp movl $.LC0, (%esp) call vgPlain_printf call vgPlain_get_running_tid movl $.LC1, (%esp) movl %eax, 4(%esp) call vgPlain_printf jmp .L3 .p2align 4,,10 .p2align 3 .L2: incl %ebx addl $3264, %esi cmpl $300, %ebx je .L7 .L3: movl (%esi), %eax testl %eax, %eax .p2align 4,,2 .p2align 3 je .L2 movl %eax, (%esp) addl $3264, %esi call vgPlain_name_of_ThreadStatus movl %ebx, 4(%esp) movl %eax, 8(%esp) movl $.LC2, (%esp) call vgPlain_printf movl %ebx, (%esp) movl $100, 4(%esp) incl %ebx call vgPlain_get_and_pp_StackTrace cmpl $300, %ebx jne .L3 .L7: movl $.LC3, (%esp) call vgPlain_printf addl $16, %esp popl %ebx popl %esi leave ret .size vgPlain_show_sched_status, .-vgPlain_show_sched_status .section .rodata.str1.1 .LC4: .string "" .LC5: .string "m_libcassert.c" .LC6: .string "2+2 == 5" .LC7: .string "www.valgrind.org" .LC8: .string "valgrind" .LC9: .string "\n" .LC10: .string "0" .section .rodata.str1.4,"aMS",@progbits,1 .align 4 .LC11: .string "\n%s: %s:%d (%s): the 'impossible' happened.\n" .align 4 .LC12: .string "\n%s: %s:%d (%s): Assertion '%s' failed.\n" .section .rodata.str1.1 .LC13: .string "%s: %s\n" .text .p2align 4,,15 .globl vgPlain_assert_fail .type vgPlain_assert_fail, @function vgPlain_assert_fail: pushl %ebp movl %esp, %ebp pushl %edi pushl %esi pushl %ebx subl $348, %esp movl 12(%ebp), %ebx movzbl 8(%ebp), %edx cmpb $0, entered.5368 je .L9 leal -296(%ebp), %ebx movl $0, 36(%esp) movl $0, 32(%esp) movl $0, 28(%esp) movl $0, 24(%esp) movl $0, 20(%esp) movl $0, 16(%esp) movl $0, 12(%esp) movl $2, 8(%esp) movl $252, 4(%esp) movl %ebx, (%esp) call vgPlain_do_syscall subl $4, %esp movl $0, 36(%esp) movl $0, 32(%esp) movl $0, 28(%esp) movl $0, 24(%esp) movl $0, 20(%esp) movl $0, 16(%esp) movl $0, 12(%esp) movl $2, 8(%esp) movl $1, 4(%esp) movl %ebx, (%esp) call vgPlain_do_syscall movl $120, 0 subl $4, %esp movl $.LC4, 20(%esp) movl $__PRETTY_FUNCTION__.5321, 16(%esp) movl $109, 12(%esp) movl $.LC5, 8(%esp) movl $.LC6, 4(%esp) movl $1, (%esp) call vgPlain_assert_fail .p2align 4,,10 .p2align 3 .L9: leal 32(%ebp), %eax movb %dl, -304(%ebp) movl %eax, 8(%esp) movb $1, entered.5368 movl 28(%ebp), %eax leal -280(%ebp), %esi movl %eax, 4(%esp) movl %esi, (%esp) movl $.LC8, %edi call vgPlain_vsprintf movzbl -304(%ebp), %edx movl $.LC7, -300(%ebp) testb %dl, %dl jne .L11 movl vgPlain_details+16, %eax movl vgPlain_details, %edi movl %eax, -300(%ebp) .L11: cmpb $0, vgPlain_clo_xml jne .L17 testl %ebx, %ebx je .L13 .L20: movl $.LC10, 4(%esp) movl %ebx, (%esp) call vgPlain_strcmp testl %eax, %eax je .L18 .L13: movl 24(%ebp), %eax movl %ebx, 20(%esp) movl %eax, 16(%esp) movl %edi, 4(%esp) movl 20(%ebp), %eax movl $.LC12, (%esp) movl %eax, 12(%esp) movl 16(%ebp), %eax movl %eax, 8(%esp) call vgPlain_printf .L14: movl $.LC4, 4(%esp) movl %esi, (%esp) call vgPlain_strcmp testl %eax, %eax jne .L19 .L15: movl $0, 4(%esp) movl $0, (%esp) xorl %ecx, %ecx xorl %edx, %edx movl -300(%ebp), %eax call report_and_quit .p2align 4,,10 .p2align 3 .L17: movl $.LC9, 4(%esp) movl $0, (%esp) call vgPlain_message testl %ebx, %ebx jne .L20 jmp .L13 .p2align 4,,10 .p2align 3 .L19: movl %esi, 8(%esp) movl %edi, 4(%esp) movl $.LC13, (%esp) call vgPlain_printf jmp .L15 .p2align 4,,10 .p2align 3 .L18: movl 24(%ebp), %eax movl %edi, 4(%esp) movl %eax, 16(%esp) movl $.LC11, (%esp) movl 20(%ebp), %eax movl %eax, 12(%esp) movl 16(%ebp), %eax movl %eax, 8(%esp) call vgPlain_printf jmp .L14 .size vgPlain_assert_fail, .-vgPlain_assert_fail .p2align 4,,15 .globl vgPlain_exit .type vgPlain_exit, @function vgPlain_exit: pushl %ebp movl %esp, %ebp pushl %esi pushl %ebx leal -24(%ebp), %ebx subl $64, %esp movl 8(%ebp), %esi movl $0, 36(%esp) movl $0, 32(%esp) movl $0, 28(%esp) movl $0, 24(%esp) movl $0, 20(%esp) movl $0, 16(%esp) movl $0, 12(%esp) movl %esi, 8(%esp) movl $252, 4(%esp) movl %ebx, (%esp) call vgPlain_do_syscall subl $4, %esp movl $0, 36(%esp) movl $0, 32(%esp) movl $0, 28(%esp) movl $0, 24(%esp) movl $0, 20(%esp) movl $0, 16(%esp) movl $0, 12(%esp) movl %esi, 8(%esp) movl $1, 4(%esp) movl %ebx, (%esp) call vgPlain_do_syscall movl $120, 0 subl $4, %esp movl $.LC4, 20(%esp) movl $__PRETTY_FUNCTION__.5321, 16(%esp) movl $109, 12(%esp) movl $.LC5, 8(%esp) movl $.LC6, 4(%esp) movl $1, (%esp) call vgPlain_assert_fail .size vgPlain_exit, .-vgPlain_exit .section .rodata.str1.4 .align 4 .LC14: .string "Valgrind detected that your program requires" .align 4 .LC15: .string "the following unimplemented functionality:" .section .rodata.str1.1 .LC16: .string " %s" .section .rodata.str1.4 .align 4 .LC17: .string "This may be because the functionality is hard to implement," .align 4 .LC18: .string "or because no reasonable program would behave this way," .align 4 .LC19: .string "or because nobody has yet needed it. In any case, let us know at" .align 4 .LC20: .string "%s and/or try to work around the problem, if you can." .align 4 .LC21: .string "Valgrind has to exit now. Sorry. Bye!" .text .p2align 4,,15 .globl vgPlain_unimplemented .type vgPlain_unimplemented, @function vgPlain_unimplemented: pushl %ebp movl %esp, %ebp pushl %ebx subl $68, %esp cmpb $0, vgPlain_clo_xml jne .L26 .L24: movl $.LC4, 4(%esp) movl $0, (%esp) leal -24(%ebp), %ebx call vgPlain_message movl $.LC14, 4(%esp) movl $0, (%esp) call vgPlain_message movl $.LC15, 4(%esp) movl $0, (%esp) call vgPlain_message movl 8(%ebp), %eax movl $.LC16, 4(%esp) movl %eax, 8(%esp) movl $0, (%esp) call vgPlain_message movl $.LC17, 4(%esp) movl $0, (%esp) call vgPlain_message movl $.LC18, 4(%esp) movl $0, (%esp) call vgPlain_message movl $.LC19, 4(%esp) movl $0, (%esp) call vgPlain_message movl $.LC7, 8(%esp) movl $.LC20, 4(%esp) movl $0, (%esp) call vgPlain_message movl $.LC4, 4(%esp) movl $0, (%esp) call vgPlain_message movl $.LC21, 4(%esp) movl $0, (%esp) call vgPlain_message movl $.LC4, 4(%esp) movl $0, (%esp) call vgPlain_message call vgPlain_show_sched_status movl $0, 36(%esp) movl $0, 32(%esp) movl $0, 28(%esp) movl $0, 24(%esp) movl $0, 20(%esp) movl $0, 16(%esp) movl $0, 12(%esp) movl $1, 8(%esp) movl $252, 4(%esp) movl %ebx, (%esp) call vgPlain_do_syscall subl $4, %esp movl $0, 36(%esp) movl $0, 32(%esp) movl $0, 28(%esp) movl $0, 24(%esp) movl $0, 20(%esp) movl $0, 16(%esp) movl $0, 12(%esp) movl $1, 8(%esp) movl $1, 4(%esp) movl %ebx, (%esp) call vgPlain_do_syscall movl $120, 0 subl $4, %esp movl $.LC4, 20(%esp) movl $__PRETTY_FUNCTION__.5321, 16(%esp) movl $109, 12(%esp) movl $.LC5, 8(%esp) movl $.LC6, 4(%esp) movl $1, (%esp) call vgPlain_assert_fail .p2align 4,,10 .p2align 3 .L26: movl $.LC9, 4(%esp) movl $0, (%esp) call vgPlain_message jmp .L24 .size vgPlain_unimplemented, .-vgPlain_unimplemented .section .rodata.str1.4 .align 4 .LC22: .string "Note: see also the FAQ.txt in the source distribution.\n" .align 4 .LC23: .string "It contains workarounds to several common problems.\n" .align 4 .LC24: .string "If that doesn't help, please report this bug to: %s\n\n" .align 4 .LC25: .string "In the bug report, send all the above text, the valgrind\n" .align 4 .LC26: .string "version, and what Linux distro you are using. Thanks.\n\n" .text .p2align 4,,15 .type report_and_quit, @function report_and_quit: pushl %ebp movl %esp, %ebp pushl %edi movl %ecx, %edi pushl %esi movl %edx, %esi pushl %ebx movl %eax, %ebx subl $476, %esp call vgPlain_gettid movl %eax, (%esp) call vgPlain_lwpid_to_vgtid movl %eax, (%esp) call vgPlain_get_ThreadState testl %edi, %edi jne .L28 testl %esi, %esi .p2align 4,,2 .p2align 3 je .L30 .p2align 4,,10 .p2align 3 .L28: movl 3080(%eax), %eax movl %esi, 20(%esp) movl %eax, 40(%esp) movl %edi, 36(%esp) movl 12(%ebp), %eax movl %edi, 24(%esp) movl %eax, 32(%esp) movl $0, 16(%esp) movl 8(%ebp), %eax movl $0, 12(%esp) movl %eax, 28(%esp) movl $100, 8(%esp) leal -424(%ebp), %esi movl $0, (%esp) movl %esi, 4(%esp) call vgPlain_get_StackTrace_wrk movl $100, 4(%esp) movl %esi, (%esp) call vgPlain_pp_StackTrace call vgPlain_show_sched_status movl $.LC3, (%esp) call vgPlain_printf movl $.LC22, (%esp) call vgPlain_printf movl $.LC23, (%esp) call vgPlain_printf movl $.LC3, (%esp) call vgPlain_printf movl %ebx, 4(%esp) movl $.LC24, (%esp) leal -440(%ebp), %ebx call vgPlain_printf movl $.LC25, (%esp) call vgPlain_printf movl $.LC26, (%esp) call vgPlain_printf movl $0, 36(%esp) movl $0, 32(%esp) movl $0, 28(%esp) movl $0, 24(%esp) movl $0, 20(%esp) movl $0, 16(%esp) movl $0, 12(%esp) movl $1, 8(%esp) movl $252, 4(%esp) movl %ebx, (%esp) call vgPlain_do_syscall subl $4, %esp movl $0, 36(%esp) movl $0, 32(%esp) movl $0, 28(%esp) movl $0, 24(%esp) movl $0, 20(%esp) movl $0, 16(%esp) movl $0, 12(%esp) movl $1, 8(%esp) movl $1, 4(%esp) movl %ebx, (%esp) call vgPlain_do_syscall movl $120, 0 subl $4, %esp movl $.LC4, 20(%esp) movl $__PRETTY_FUNCTION__.5321, 16(%esp) movl $109, 12(%esp) movl $.LC5, 8(%esp) movl $.LC6, 4(%esp) movl $1, (%esp) call vgPlain_assert_fail .p2align 4,,10 .p2align 3 .L30: movl 8(%ebp), %edx testl %edx, %edx jne .L28 #APP # 140 "m_libcassert.c" 1 call m_libcassert_get_ip;m_libcassert_get_ip: popl %esi;movl %esp, %edi;movl %ebp, %edx; # 0 "" 2 #NO_APP movl %edx, 8(%ebp) jmp .L28 .size report_and_quit, .-report_and_quit .section .rodata.str1.4 .align 4 .LC27: .string "\n%s: the 'impossible' happened:\n %s\n" .text .p2align 4,,15 .globl vgPlain_core_panic .type vgPlain_core_panic, @function vgPlain_core_panic: pushl %ebp movl %esp, %ebp subl $24, %esp cmpb $0, vgPlain_clo_xml jne .L34 .L32: movl 8(%ebp), %eax movl $.LC8, 4(%esp) movl %eax, 8(%esp) movl $.LC27, (%esp) call vgPlain_printf movl $0, 4(%esp) movl $0, (%esp) xorl %ecx, %ecx xorl %edx, %edx movl $.LC7, %eax call report_and_quit .p2align 4,,10 .p2align 3 .L34: movl $.LC9, 4(%esp) movl $0, (%esp) call vgPlain_message jmp .L32 .size vgPlain_core_panic, .-vgPlain_core_panic .p2align 4,,15 .globl vgPlain_tool_panic .type vgPlain_tool_panic, @function vgPlain_tool_panic: pushl %ebp movl %esp, %ebp subl $24, %esp movl %esi, -4(%ebp) movl %ebx, -8(%ebp) movl vgPlain_details, %esi movl vgPlain_details+16, %ebx cmpb $0, vgPlain_clo_xml jne .L38 .L36: movl 8(%ebp), %eax movl %esi, 4(%esp) movl %eax, 8(%esp) movl $.LC27, (%esp) call vgPlain_printf movl $0, 4(%esp) movl $0, (%esp) xorl %ecx, %ecx xorl %edx, %edx movl %ebx, %eax call report_and_quit .p2align 4,,10 .p2align 3 .L38: movl $.LC9, 4(%esp) movl $0, (%esp) call vgPlain_message jmp .L36 .size vgPlain_tool_panic, .-vgPlain_tool_panic .p2align 4,,15 .globl vgPlain_core_panic_at .type vgPlain_core_panic_at, @function vgPlain_core_panic_at: pushl %ebp movl %esp, %ebp subl $24, %esp cmpb $0, vgPlain_clo_xml jne .L42 .L40: movl 8(%ebp), %eax movl $.LC8, 4(%esp) movl %eax, 8(%esp) movl $.LC27, (%esp) call vgPlain_printf movl 24(%ebp), %eax movl 16(%ebp), %ecx movl %eax, 4(%esp) movl 12(%ebp), %edx movl 20(%ebp), %eax movl %eax, (%esp) movl $.LC7, %eax call report_and_quit .p2align 4,,10 .p2align 3 .L42: movl $.LC9, 4(%esp) movl $0, (%esp) call vgPlain_message jmp .L40 .size vgPlain_core_panic_at, .-vgPlain_core_panic_at .local entered.5368 .comm entered.5368,1,1 .section .rodata .type __PRETTY_FUNCTION__.5321, @object .size __PRETTY_FUNCTION__.5321, 13 __PRETTY_FUNCTION__.5321: .string "vgPlain_exit" .ident "GCC: (Gentoo SVN) 4.4.0-pre9999 built 20090226 (experimental) rev. 144460" .section .note.GNU-stack,"",@progbits