memalloc 1

Link to this paste: http://bugs.dragonflybsd.org/pastes/387

Added by tuxillo over 2 years ago.
Syntax: Plain Text

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
Dump of assembler code for function memalloc:
   0x0000000801503af6 <+0>:     push   %r15
   0x0000000801503af8 <+2>:     push   %r14
   0x0000000801503afa <+4>:     push   %r13
   0x0000000801503afc <+6>:     push   %r12
   0x0000000801503afe <+8>:     push   %rbp
   0x0000000801503aff <+9>:     push   %rbx
   0x0000000801503b00 <+10>:    sub    $0x98,%rsp
   0x0000000801503b07 <+17>:    mov    %rdi,%r12
   0x0000000801503b0a <+20>:    test   %rdi,%rdi
   0x0000000801503b0d <+23>:    je     0x801504634 <memalloc+2878>
   0x0000000801503b13 <+29>:    or     0x2a39af(%rip),%esi        # 0x8017a74c8
=> 0x0000000801503b19 <+35>:    mov    %esi,0x1c(%rsp)
   0x0000000801503b1d <+39>:    cmp    $0x7f,%rdi
   0x0000000801503b21 <+43>:    ja     0x801503b43 <memalloc+77>
   0x0000000801503b23 <+45>:    add    $0x7,%r12
   0x0000000801503b27 <+49>:    mov    %r12,%r14
   0x0000000801503b2a <+52>:    and    $0xfffffffffffffff8,%r14
   0x0000000801503b2e <+56>:    mov    %r14,%rax
   0x0000000801503b31 <+59>:    shr    $0x3,%rax
   0x0000000801503b35 <+63>:    mov    %eax,(%rsp)
   0x0000000801503b38 <+66>:    mov    $0x8,%r13d
   0x0000000801503b3e <+72>:    jmpq   0x801503bcd <memalloc+215>
   0x0000000801503b43 <+77>:    cmp    $0x1000,%rdi
   0x0000000801503b4a <+84>:    sbb    %ebp,%ebp
   0x0000000801503b4c <+86>:    and    $0xffffffd8,%ebp
   0x0000000801503b4f <+89>:    add    $0x38,%ebp
   0x0000000801503b52 <+92>:    cmp    $0x1000,%rdi
   0x0000000801503b59 <+99>:    sbb    %r13,%r13
   0x0000000801503b5c <+102>:   and    $0xfffffffffffffe10,%r13
   0x0000000801503b63 <+109>:   add    $0x200,%r13
   0x0000000801503b6a <+116>:   cmp    $0x1000,%rdi
   0x0000000801503b71 <+123>:   sbb    %rbx,%rbx
   0x0000000801503b74 <+126>:   and    $0xffffffffffffe100,%rbx
   0x0000000801503b7b <+133>:   add    $0x2000,%rbx
   0x0000000801503b82 <+140>:   cmp    %rbx,%rdi
   0x0000000801503b85 <+143>:   jb     0x801503bad <memalloc+183>
   0x0000000801503b87 <+145>:   lea    0x7249a(%rip),%r14        # 0x801576028
   0x0000000801503b8e <+152>:   add    %r13,%r13
   0x0000000801503b91 <+155>:   add    $0x8,%ebp
   0x0000000801503b94 <+158>:   add    %rbx,%rbx
   0x0000000801503b97 <+161>:   jne    0x801503ba8 <memalloc+178>
   0x0000000801503b99 <+163>:   mov    %r14,%rdi
   0x0000000801503b9c <+166>:   mov    $0x0,%eax
   0x0000000801503ba1 <+171>:   callq  0x8015033e0 <_mpanic>
   0x0000000801503ba6 <+176>:   jmp    0x801503b8e <memalloc+152>
   0x0000000801503ba8 <+178>:   cmp    %rbx,%r12
   0x0000000801503bab <+181>:   jae    0x801503b8e <memalloc+152>
   0x0000000801503bad <+183>:   lea    -0x1(%r13,%r12,1),%rax
   0x0000000801503bb2 <+188>:   mov    %r13,%r14

Download