7 .section __libc_freeres_fn,"ax",@progbits
9 .type release_libc_mem, @function
11 cmpq $
0, mallstream
(%rip
)
13 jmp __GI___libc_freeres
18 .size release_libc_mem, .-release_libc_mem
21 .type lock_and_info, @function
42 # 47 "../sysdeps/unix/sysv/linux/x86/lowlevellock.h" 1
43 cmpxchgl
%edx
, lock
(%rip
)
55 lock cmpxchgl
%edx
, lock
(%rip
)
58 call __lll_lock_wait_private
65 .size lock_and_info, .-lock_and_info
66 .section .rodata.str1.1,"aMS",@progbits,1
72 .string "@ %s%s%s[%p] "
77 .type tr_where, @function
111 call __GI_mempcpy@PLT
114 movl $
7876651, (%rax
)
124 leaq
.LC1(%rip), %rcx
128 movq mallstream
(%rip
), %rdi
129 leaq
.LC2(%rip), %rsi
152 call __GI_mempcpy@PLT
154 movl $
7876653, (%rax
)
161 leaq
.LC0(%rip), %rcx
168 movq mallstream
(%rip
), %rdi
169 leaq
.LC3(%rip), %rsi
180 .size tr_where, .-tr_where
181 .section .rodata.str1.1
183 .string "+ %p %#lx\n"
186 .type tr_memalignhook, @function
201 movq __free_hook@GOTPCREL
(%rip
), %r12
203 movq tr_old_free_hook
(%rip
), %rax
204 movq __malloc_hook@GOTPCREL
(%rip
), %rbp
205 movq __realloc_hook@GOTPCREL
(%rip
), %rcx
206 movq __memalign_hook@GOTPCREL
(%rip
), %rdx
208 movq tr_old_malloc_hook
(%rip
), %rax
210 movq tr_old_realloc_hook
(%rip
), %rax
212 movq tr_old_memalign_hook
(%rip
), %rax
222 leaq tr_freehook
(%rip
), %rax
223 leaq tr_reallochook
(%rip
), %rcx
224 leaq tr_memalignhook
(%rip
), %rdx
228 leaq tr_mallochook
(%rip
), %rax
230 movq __realloc_hook@GOTPCREL
(%rip
), %rax
232 movq __memalign_hook@GOTPCREL
(%rip
), %rax
235 movq mallstream
(%rip
), %rdi
236 leaq
.LC4(%rip), %rsi
265 xchgl
%eax
, lock
(%rip
)
273 leaq lock
(%rip
), %rdi
290 .size tr_memalignhook, .-tr_memalignhook
292 .type tr_mallochook, @function
306 movq __free_hook@GOTPCREL
(%rip
), %r12
308 movq tr_old_free_hook
(%rip
), %rax
309 movq tr_old_realloc_hook
(%rip
), %rdx
310 movq __realloc_hook@GOTPCREL
(%rip
), %rcx
311 movq __malloc_hook@GOTPCREL
(%rip
), %rbp
313 movq tr_old_malloc_hook
(%rip
), %rax
315 movq tr_old_memalign_hook
(%rip
), %rdx
316 movq __memalign_hook@GOTPCREL
(%rip
), %rcx
326 leaq tr_freehook
(%rip
), %rax
327 leaq tr_reallochook
(%rip
), %rcx
328 leaq tr_memalignhook
(%rip
), %rdi
331 leaq tr_mallochook
(%rip
), %rax
333 movq __realloc_hook@GOTPCREL
(%rip
), %rax
335 movq __memalign_hook@GOTPCREL
(%rip
), %rax
339 movq mallstream
(%rip
), %rdi
340 leaq
.LC4(%rip), %rsi
369 xchgl
%eax
, lock
(%rip
)
377 leaq lock
(%rip
), %rdi
393 .size tr_mallochook, .-tr_mallochook
394 .section .rodata.str1.1
396 .string "! %p %#lx\n"
402 .string "> %p %#lx\n"
405 .type tr_reallochook, @function
420 movq __free_hook@GOTPCREL
(%rip
), %r14
422 movq tr_old_free_hook
(%rip
), %rax
423 movq __malloc_hook@GOTPCREL
(%rip
), %rcx
424 movq tr_old_memalign_hook
(%rip
), %rdx
426 movq tr_old_malloc_hook
(%rip
), %rax
428 movq tr_old_realloc_hook
(%rip
), %rax
429 movq __realloc_hook@GOTPCREL
(%rip
), %rcx
432 movq __memalign_hook@GOTPCREL
(%rip
), %rcx
441 leaq tr_freehook
(%rip
), %rax
442 leaq tr_mallochook
(%rip
), %rdx
443 leaq tr_reallochook
(%rip
), %rcx
447 movq __malloc_hook@GOTPCREL
(%rip
), %rax
449 movq __realloc_hook@GOTPCREL
(%rip
), %rax
450 leaq tr_memalignhook
(%rip
), %rdx
452 movq __memalign_hook@GOTPCREL
(%rip
), %rax
456 movq mallstream
(%rip
), %rdi
460 leaq
.LC7(%rip), %rsi
467 movq mallstream
(%rip
), %rdi
468 leaq
.LC8(%rip), %rsi
495 leaq
.LC4(%rip), %rsi
506 leaq
.LC5(%rip), %rsi
515 leaq
.LC6(%rip), %rsi
526 xchgl
%eax
, lock
(%rip
)
534 leaq lock
(%rip
), %rdi
551 .size tr_reallochook, .-tr_reallochook
553 .type tr_freehook, @function
572 movq mallstream
(%rip
), %rdi
573 leaq
.LC6(%rip), %rsi
577 movq mallwatch@GOTPCREL
(%rip
), %rax
581 movq tr_old_malloc_hook
(%rip
), %rdx
582 movq __malloc_hook@GOTPCREL
(%rip
), %r14
583 movq __realloc_hook@GOTPCREL
(%rip
), %r13
584 movq tr_old_free_hook
(%rip
), %rax
585 movq __free_hook@GOTPCREL
(%rip
), %r15
586 movq __memalign_hook@GOTPCREL
(%rip
), %r12
588 movq tr_old_realloc_hook
(%rip
), %rdx
592 movq tr_old_memalign_hook
(%rip
), %rdx
599 leaq tr_freehook
(%rip
), %rax
601 leaq tr_mallochook
(%rip
), %rax
603 leaq tr_reallochook
(%rip
), %rax
605 leaq tr_memalignhook
(%rip
), %rax
649 # 47 "../sysdeps/unix/sysv/linux/x86/lowlevellock.h" 1
650 cmpxchgl
%edx
, lock
(%rip
)
660 xchgl
%eax
, lock
(%rip
)
668 leaq lock
(%rip
), %rdi
688 lock cmpxchgl
%edx
, lock
(%rip
)
690 leaq lock
(%rip
), %rdi
691 call __lll_lock_wait_private
699 xchgl
%eax
, lock
(%rip
)
707 leaq lock
(%rip
), %rdi
716 .size tr_freehook, .-tr_freehook
719 .hidden __GI_tr_break
720 .type __GI_tr_break, @function
723 .size __GI_tr_break, .-__GI_tr_break
725 .set tr_break,__GI_tr_break
726 .section .rodata.str1.1
736 .type mtrace, @function
738 cmpq $
0, mallstream
(%rip
)
746 leaq mallenv
(%rip
), %rdi
748 call __GI___libc_secure_getenv
758 leaq
.LC10(%rip), %rsi
760 call _IO_new_fopen@PLT
762 movq
%rax
, mallstream
(%rip
)
768 leaq tr_freehook
(%rip
), %rbx
769 call __GI__IO_setvbuf
770 movq mallstream
(%rip
), %rcx
771 leaq
.LC11(%rip), %rdi
775 movq __free_hook@GOTPCREL
(%rip
), %rsi
776 movq __malloc_hook@GOTPCREL
(%rip
), %rcx
777 movq __realloc_hook@GOTPCREL
(%rip
), %rdx
780 leaq tr_mallochook
(%rip
), %rsi
781 movq
%rax
, tr_old_free_hook
(%rip
)
784 leaq tr_reallochook
(%rip
), %rcx
785 movq
%rax
, tr_old_malloc_hook
(%rip
)
788 leaq tr_memalignhook
(%rip
), %rdx
789 movq
%rax
, tr_old_realloc_hook
(%rip
)
790 movq __memalign_hook@GOTPCREL
(%rip
), %rax
793 movl added_atexit_handler.9682
(%rip
), %eax
794 movq
%rdi
, tr_old_memalign_hook
(%rip
)
805 movq mallwatch@GOTPCREL
(%rip
), %rax
809 leaq
.LC9(%rip), %rbx
826 movl $
1, added_atexit_handler.9682
(%rip
)
827 movq __dso_handle
(%rip
), %rdx
831 leaq release_libc_mem
(%rip
), %rdi
833 jmp __GI___cxa_atexit
834 .size mtrace, .-mtrace
835 .section .rodata.str1.1
841 .type muntrace, @function
844 movq mallstream
(%rip
), %rbx
847 movq __free_hook@GOTPCREL
(%rip
), %rax
848 movq tr_old_free_hook
(%rip
), %rdx
849 leaq
.LC12(%rip), %rdi
852 movq $
0, mallstream
(%rip
)
854 movq __malloc_hook@GOTPCREL
(%rip
), %rax
855 movq tr_old_malloc_hook
(%rip
), %rdx
857 movq __realloc_hook@GOTPCREL
(%rip
), %rax
858 movq tr_old_realloc_hook
(%rip
), %rdx
860 movq tr_old_memalign_hook
(%rip
), %rdx
861 movq __memalign_hook@GOTPCREL
(%rip
), %rax
867 jmp _IO_new_fclose@PLT
873 .size muntrace, .-muntrace
874 .local added_atexit_handler.9682
875 .comm added_atexit_handler.9682,4,4
876 .local tr_old_memalign_hook
877 .comm tr_old_memalign_hook,8,8
878 .local tr_old_realloc_hook
879 .comm tr_old_realloc_hook,8,8
880 .local tr_old_malloc_hook
881 .comm tr_old_malloc_hook,8,8
882 .local tr_old_free_hook
883 .comm tr_old_free_hook,8,8
887 .section .rodata.str1.8,"aMS",@progbits,1
889 .type mallenv, @object
892 .string "MALLOC_TRACE"
897 .hidden __lll_lock_wait_private