pjht
823a255e1a
Unfortunately, this breaks the VFS, so the rest of this commit attempts (and fails) to fix it.
1503 lines
50 KiB
Plaintext
1503 lines
50 KiB
Plaintext
|
|
fsdrv/fsdrv: file format ELF32-i386
|
|
|
|
Disassembly of section .text:
|
|
main:
|
|
8048080: 8d 4c 24 04 leal 4(%esp), %ecx
|
|
8048084: 83 e4 f0 andl $-16, %esp
|
|
8048087: ff 71 fc pushl -4(%ecx)
|
|
804808a: 55 pushl %ebp
|
|
804808b: 89 e5 movl %esp, %ebp
|
|
804808d: 51 pushl %ecx
|
|
804808e: 83 ec 24 subl $36, %esp
|
|
8048091: 83 ec 0c subl $12, %esp
|
|
8048094: 6a 10 pushl $16
|
|
8048096: e8 90 00 00 00 calll 144 <mailbox_new>
|
|
804809b: 83 c4 10 addl $16, %esp
|
|
804809e: 89 45 f4 movl %eax, -12(%ebp)
|
|
80480a1: e8 a1 0d 00 00 calll 3489 <yield>
|
|
80480a6: 83 ec 0c subl $12, %esp
|
|
80480a9: 68 24 10 00 00 pushl $4132
|
|
80480ae: e8 ec 05 00 00 calll 1516 <malloc>
|
|
80480b3: 83 c4 10 addl $16, %esp
|
|
80480b6: 89 45 e0 movl %eax, -32(%ebp)
|
|
80480b9: 83 ec 04 subl $4, %esp
|
|
80480bc: 68 24 10 00 00 pushl $4132
|
|
80480c1: 8d 45 e0 leal -32(%ebp), %eax
|
|
80480c4: 50 pushl %eax
|
|
80480c5: ff 75 f4 pushl -12(%ebp)
|
|
80480c8: e8 9a 00 00 00 calll 154 <mailbox_get_msg>
|
|
80480cd: 83 c4 10 addl $16, %esp
|
|
80480d0: 8b 45 e4 movl -28(%ebp), %eax
|
|
80480d3: 85 c0 testl %eax, %eax
|
|
80480d5: 75 07 jne 7 <main+0x5e>
|
|
80480d7: e8 6b 0d 00 00 calll 3435 <yield>
|
|
80480dc: eb 30 jmp 48 <main+0x8e>
|
|
80480de: 8b 45 e0 movl -32(%ebp), %eax
|
|
80480e1: 89 45 f0 movl %eax, -16(%ebp)
|
|
80480e4: 8b 45 e4 movl -28(%ebp), %eax
|
|
80480e7: 89 45 e8 movl %eax, -24(%ebp)
|
|
80480ea: 8b 45 f4 movl -12(%ebp), %eax
|
|
80480ed: 89 45 e4 movl %eax, -28(%ebp)
|
|
80480f0: 8b 45 f0 movl -16(%ebp), %eax
|
|
80480f3: c6 80 1c 10 00 00 00 movb $0, 4124(%eax)
|
|
80480fa: 83 ec 0c subl $12, %esp
|
|
80480fd: 8d 45 e0 leal -32(%ebp), %eax
|
|
8048100: 50 pushl %eax
|
|
8048101: e8 4d 00 00 00 calll 77 <mailbox_send_msg>
|
|
8048106: 83 c4 10 addl $16, %esp
|
|
8048109: e8 39 0d 00 00 calll 3385 <yield>
|
|
804810e: 8b 45 e0 movl -32(%ebp), %eax
|
|
8048111: 83 ec 0c subl $12, %esp
|
|
8048114: 50 pushl %eax
|
|
8048115: e8 f2 07 00 00 calll 2034 <free>
|
|
804811a: 83 c4 10 addl $16, %esp
|
|
804811d: eb 82 jmp -126 <main+0x21>
|
|
804811f: 90 nop
|
|
|
|
_start:
|
|
8048120: e8 5c 00 00 00 calll 92 <__stdio_init>
|
|
8048125: e8 56 ff ff ff calll -170 <main>
|
|
804812a: c3 retl
|
|
|
|
mailbox_new:
|
|
804812b: 55 pushl %ebp
|
|
804812c: 89 e5 movl %esp, %ebp
|
|
804812e: 53 pushl %ebx
|
|
804812f: 83 ec 14 subl $20, %esp
|
|
8048132: 8b 45 08 movl 8(%ebp), %eax
|
|
8048135: 66 89 45 e8 movw %ax, -24(%ebp)
|
|
8048139: 8b 45 e8 movl -24(%ebp), %eax
|
|
804813c: 89 c3 movl %eax, %ebx
|
|
804813e: b8 0e 00 00 00 movl $14, %eax
|
|
8048143: cd 50 int $80
|
|
8048145: 89 d8 movl %ebx, %eax
|
|
8048147: 89 45 f8 movl %eax, -8(%ebp)
|
|
804814a: 8b 45 f8 movl -8(%ebp), %eax
|
|
804814d: 83 c4 14 addl $20, %esp
|
|
8048150: 5b popl %ebx
|
|
8048151: 5d popl %ebp
|
|
8048152: c3 retl
|
|
|
|
mailbox_send_msg:
|
|
8048153: 55 pushl %ebp
|
|
8048154: 89 e5 movl %esp, %ebp
|
|
8048156: 53 pushl %ebx
|
|
8048157: 8b 45 08 movl 8(%ebp), %eax
|
|
804815a: 89 c3 movl %eax, %ebx
|
|
804815c: b8 07 00 00 00 movl $7, %eax
|
|
8048161: cd 50 int $80
|
|
8048163: 90 nop
|
|
8048164: 5b popl %ebx
|
|
8048165: 5d popl %ebp
|
|
8048166: c3 retl
|
|
|
|
mailbox_get_msg:
|
|
8048167: 55 pushl %ebp
|
|
8048168: 89 e5 movl %esp, %ebp
|
|
804816a: 53 pushl %ebx
|
|
804816b: 8b 45 08 movl 8(%ebp), %eax
|
|
804816e: 8b 4d 0c movl 12(%ebp), %ecx
|
|
8048171: 8b 55 10 movl 16(%ebp), %edx
|
|
8048174: 89 c3 movl %eax, %ebx
|
|
8048176: b8 06 00 00 00 movl $6, %eax
|
|
804817b: cd 50 int $80
|
|
804817d: 90 nop
|
|
804817e: 5b popl %ebx
|
|
804817f: 5d popl %ebp
|
|
8048180: c3 retl
|
|
|
|
__stdio_init:
|
|
8048181: 55 pushl %ebp
|
|
8048182: 89 e5 movl %esp, %ebp
|
|
8048184: 83 ec 08 subl $8, %esp
|
|
8048187: 83 ec 0c subl $12, %esp
|
|
804818a: 6a 10 pushl $16
|
|
804818c: e8 9a ff ff ff calll -102 <mailbox_new>
|
|
8048191: 83 c4 10 addl $16, %esp
|
|
8048194: a3 80 a5 04 08 movl %eax, 134522240
|
|
8048199: 90 nop
|
|
804819a: c9 leave
|
|
804819b: c3 retl
|
|
|
|
make_msg:
|
|
804819c: 55 pushl %ebp
|
|
804819d: 89 e5 movl %esp, %ebp
|
|
804819f: 83 ec 18 subl $24, %esp
|
|
80481a2: 83 ec 0c subl $12, %esp
|
|
80481a5: 68 24 10 00 00 pushl $4132
|
|
80481aa: e8 f0 04 00 00 calll 1264 <malloc>
|
|
80481af: 83 c4 10 addl $16, %esp
|
|
80481b2: 89 45 f4 movl %eax, -12(%ebp)
|
|
80481b5: 8b 45 f4 movl -12(%ebp), %eax
|
|
80481b8: 8b 55 08 movl 8(%ebp), %edx
|
|
80481bb: 89 10 movl %edx, (%eax)
|
|
80481bd: 8b 15 84 a5 04 08 movl 134522244, %edx
|
|
80481c3: 8b 45 f4 movl -12(%ebp), %eax
|
|
80481c6: 89 50 04 movl %edx, 4(%eax)
|
|
80481c9: 8b 45 f4 movl -12(%ebp), %eax
|
|
80481cc: 8b 55 14 movl 20(%ebp), %edx
|
|
80481cf: 89 50 14 movl %edx, 20(%eax)
|
|
80481d2: 8b 45 f4 movl -12(%ebp), %eax
|
|
80481d5: 8b 55 18 movl 24(%ebp), %edx
|
|
80481d8: 89 90 20 10 00 00 movl %edx, 4128(%eax)
|
|
80481de: a1 84 a5 04 08 movl 134522244, %eax
|
|
80481e3: 40 incl %eax
|
|
80481e4: a3 84 a5 04 08 movl %eax, 134522244
|
|
80481e9: 83 7d 0c 00 cmpl $0, 12(%ebp)
|
|
80481ed: 74 15 je 21 <make_msg+0x68>
|
|
80481ef: 8b 45 f4 movl -12(%ebp), %eax
|
|
80481f2: 83 c0 08 addl $8, %eax
|
|
80481f5: 83 ec 08 subl $8, %esp
|
|
80481f8: ff 75 0c pushl 12(%ebp)
|
|
80481fb: 50 pushl %eax
|
|
80481fc: e8 94 08 00 00 calll 2196 <strcpy>
|
|
8048201: 83 c4 10 addl $16, %esp
|
|
8048204: 83 7d 10 00 cmpl $0, 16(%ebp)
|
|
8048208: 74 15 je 21 <make_msg+0x83>
|
|
804820a: 8b 45 f4 movl -12(%ebp), %eax
|
|
804820d: 83 c0 18 addl $24, %eax
|
|
8048210: 83 ec 08 subl $8, %esp
|
|
8048213: ff 75 10 pushl 16(%ebp)
|
|
8048216: 50 pushl %eax
|
|
8048217: e8 79 08 00 00 calll 2169 <strcpy>
|
|
804821c: 83 c4 10 addl $16, %esp
|
|
804821f: 8b 45 f4 movl -12(%ebp), %eax
|
|
8048222: c9 leave
|
|
8048223: c3 retl
|
|
|
|
fopen:
|
|
8048224: 55 pushl %ebp
|
|
8048225: 89 e5 movl %esp, %ebp
|
|
8048227: 83 ec 28 subl $40, %esp
|
|
804822a: 83 ec 0c subl $12, %esp
|
|
804822d: ff 75 08 pushl 8(%ebp)
|
|
8048230: e8 3b 08 00 00 calll 2107 <strlen>
|
|
8048235: 83 c4 10 addl $16, %esp
|
|
8048238: 3d 00 10 00 00 cmpl $4096, %eax
|
|
804823d: 77 13 ja 19 <fopen+0x2e>
|
|
804823f: 83 ec 0c subl $12, %esp
|
|
8048242: ff 75 0c pushl 12(%ebp)
|
|
8048245: e8 26 08 00 00 calll 2086 <strlen>
|
|
804824a: 83 c4 10 addl $16, %esp
|
|
804824d: 83 f8 0a cmpl $10, %eax
|
|
8048250: 76 0a jbe 10 <fopen+0x38>
|
|
8048252: b8 00 00 00 00 movl $0, %eax
|
|
8048257: e9 09 01 00 00 jmp 265 <fopen+0x141>
|
|
804825c: 83 ec 0c subl $12, %esp
|
|
804825f: 6a 00 pushl $0
|
|
8048261: 6a 00 pushl $0
|
|
8048263: ff 75 08 pushl 8(%ebp)
|
|
8048266: ff 75 0c pushl 12(%ebp)
|
|
8048269: 6a 00 pushl $0
|
|
804826b: e8 2c ff ff ff calll -212 <make_msg>
|
|
8048270: 83 c4 20 addl $32, %esp
|
|
8048273: 89 45 f4 movl %eax, -12(%ebp)
|
|
8048276: a1 80 a5 04 08 movl 134522240, %eax
|
|
804827b: 89 45 e0 movl %eax, -32(%ebp)
|
|
804827e: c7 45 e4 03 00 00 00 movl $3, -28(%ebp)
|
|
8048285: 8b 45 f4 movl -12(%ebp), %eax
|
|
8048288: 89 45 dc movl %eax, -36(%ebp)
|
|
804828b: c7 45 e8 24 10 00 00 movl $4132, -24(%ebp)
|
|
8048292: 83 ec 0c subl $12, %esp
|
|
8048295: 8d 45 dc leal -36(%ebp), %eax
|
|
8048298: 50 pushl %eax
|
|
8048299: e8 b5 fe ff ff calll -331 <mailbox_send_msg>
|
|
804829e: 83 c4 10 addl $16, %esp
|
|
80482a1: 8b 45 dc movl -36(%ebp), %eax
|
|
80482a4: 83 ec 0c subl $12, %esp
|
|
80482a7: 50 pushl %eax
|
|
80482a8: e8 5f 06 00 00 calll 1631 <free>
|
|
80482ad: 83 c4 10 addl $16, %esp
|
|
80482b0: e8 92 0b 00 00 calll 2962 <yield>
|
|
80482b5: 83 ec 0c subl $12, %esp
|
|
80482b8: 68 24 10 00 00 pushl $4132
|
|
80482bd: e8 dd 03 00 00 calll 989 <malloc>
|
|
80482c2: 83 c4 10 addl $16, %esp
|
|
80482c5: 89 45 dc movl %eax, -36(%ebp)
|
|
80482c8: e8 7a 0b 00 00 calll 2938 <yield>
|
|
80482cd: a1 80 a5 04 08 movl 134522240, %eax
|
|
80482d2: 83 ec 04 subl $4, %esp
|
|
80482d5: 68 24 10 00 00 pushl $4132
|
|
80482da: 8d 55 dc leal -36(%ebp), %edx
|
|
80482dd: 52 pushl %edx
|
|
80482de: 50 pushl %eax
|
|
80482df: e8 83 fe ff ff calll -381 <mailbox_get_msg>
|
|
80482e4: 83 c4 10 addl $16, %esp
|
|
80482e7: eb 1f jmp 31 <fopen+0xe4>
|
|
80482e9: e8 59 0b 00 00 calll 2905 <yield>
|
|
80482ee: a1 80 a5 04 08 movl 134522240, %eax
|
|
80482f3: 83 ec 04 subl $4, %esp
|
|
80482f6: 68 24 10 00 00 pushl $4132
|
|
80482fb: 8d 55 dc leal -36(%ebp), %edx
|
|
80482fe: 52 pushl %edx
|
|
80482ff: 50 pushl %eax
|
|
8048300: e8 62 fe ff ff calll -414 <mailbox_get_msg>
|
|
8048305: 83 c4 10 addl $16, %esp
|
|
8048308: 8b 45 e0 movl -32(%ebp), %eax
|
|
804830b: 85 c0 testl %eax, %eax
|
|
804830d: 74 da je -38 <fopen+0xc5>
|
|
804830f: 8b 45 dc movl -36(%ebp), %eax
|
|
8048312: 89 45 f0 movl %eax, -16(%ebp)
|
|
8048315: 8b 45 f0 movl -16(%ebp), %eax
|
|
8048318: 8a 80 1c 10 00 00 movb 4124(%eax), %al
|
|
804831e: 84 c0 testb %al, %al
|
|
8048320: 74 16 je 22 <fopen+0x114>
|
|
8048322: 8b 45 dc movl -36(%ebp), %eax
|
|
8048325: 83 ec 0c subl $12, %esp
|
|
8048328: 50 pushl %eax
|
|
8048329: e8 de 05 00 00 calll 1502 <free>
|
|
804832e: 83 c4 10 addl $16, %esp
|
|
8048331: b8 00 00 00 00 movl $0, %eax
|
|
8048336: eb 2d jmp 45 <fopen+0x141>
|
|
8048338: 83 ec 0c subl $12, %esp
|
|
804833b: 6a 04 pushl $4
|
|
804833d: e8 5d 03 00 00 calll 861 <malloc>
|
|
8048342: 83 c4 10 addl $16, %esp
|
|
8048345: 89 45 ec movl %eax, -20(%ebp)
|
|
8048348: 8b 45 f0 movl -16(%ebp), %eax
|
|
804834b: 8b 50 14 movl 20(%eax), %edx
|
|
804834e: 8b 45 ec movl -20(%ebp), %eax
|
|
8048351: 89 10 movl %edx, (%eax)
|
|
8048353: 8b 45 dc movl -36(%ebp), %eax
|
|
8048356: 83 ec 0c subl $12, %esp
|
|
8048359: 50 pushl %eax
|
|
804835a: e8 ad 05 00 00 calll 1453 <free>
|
|
804835f: 83 c4 10 addl $16, %esp
|
|
8048362: 8b 45 ec movl -20(%ebp), %eax
|
|
8048365: c9 leave
|
|
8048366: c3 retl
|
|
|
|
fputc:
|
|
8048367: 55 pushl %ebp
|
|
8048368: 89 e5 movl %esp, %ebp
|
|
804836a: 83 ec 28 subl $40, %esp
|
|
804836d: 8b 45 0c movl 12(%ebp), %eax
|
|
8048370: 8b 00 movl (%eax), %eax
|
|
8048372: 83 ec 0c subl $12, %esp
|
|
8048375: ff 75 08 pushl 8(%ebp)
|
|
8048378: 50 pushl %eax
|
|
8048379: 6a 00 pushl $0
|
|
804837b: 6a 00 pushl $0
|
|
804837d: 6a 01 pushl $1
|
|
804837f: e8 18 fe ff ff calll -488 <make_msg>
|
|
8048384: 83 c4 20 addl $32, %esp
|
|
8048387: 89 45 f4 movl %eax, -12(%ebp)
|
|
804838a: a1 80 a5 04 08 movl 134522240, %eax
|
|
804838f: 89 45 e4 movl %eax, -28(%ebp)
|
|
8048392: c7 45 e8 03 00 00 00 movl $3, -24(%ebp)
|
|
8048399: 8b 45 f4 movl -12(%ebp), %eax
|
|
804839c: 89 45 e0 movl %eax, -32(%ebp)
|
|
804839f: c7 45 ec 24 10 00 00 movl $4132, -20(%ebp)
|
|
80483a6: 83 ec 0c subl $12, %esp
|
|
80483a9: 8d 45 e0 leal -32(%ebp), %eax
|
|
80483ac: 50 pushl %eax
|
|
80483ad: e8 a1 fd ff ff calll -607 <mailbox_send_msg>
|
|
80483b2: 83 c4 10 addl $16, %esp
|
|
80483b5: 8b 45 e0 movl -32(%ebp), %eax
|
|
80483b8: 83 ec 0c subl $12, %esp
|
|
80483bb: 50 pushl %eax
|
|
80483bc: e8 4b 05 00 00 calll 1355 <free>
|
|
80483c1: 83 c4 10 addl $16, %esp
|
|
80483c4: e8 7e 0a 00 00 calll 2686 <yield>
|
|
80483c9: 83 ec 0c subl $12, %esp
|
|
80483cc: 68 24 10 00 00 pushl $4132
|
|
80483d1: e8 c9 02 00 00 calll 713 <malloc>
|
|
80483d6: 83 c4 10 addl $16, %esp
|
|
80483d9: 89 45 e0 movl %eax, -32(%ebp)
|
|
80483dc: e8 66 0a 00 00 calll 2662 <yield>
|
|
80483e1: a1 80 a5 04 08 movl 134522240, %eax
|
|
80483e6: 83 ec 04 subl $4, %esp
|
|
80483e9: 68 24 10 00 00 pushl $4132
|
|
80483ee: 8d 55 e0 leal -32(%ebp), %edx
|
|
80483f1: 52 pushl %edx
|
|
80483f2: 50 pushl %eax
|
|
80483f3: e8 6f fd ff ff calll -657 <mailbox_get_msg>
|
|
80483f8: 83 c4 10 addl $16, %esp
|
|
80483fb: eb 1f jmp 31 <fputc+0xb5>
|
|
80483fd: e8 45 0a 00 00 calll 2629 <yield>
|
|
8048402: a1 80 a5 04 08 movl 134522240, %eax
|
|
8048407: 83 ec 04 subl $4, %esp
|
|
804840a: 68 24 10 00 00 pushl $4132
|
|
804840f: 8d 55 e0 leal -32(%ebp), %edx
|
|
8048412: 52 pushl %edx
|
|
8048413: 50 pushl %eax
|
|
8048414: e8 4e fd ff ff calll -690 <mailbox_get_msg>
|
|
8048419: 83 c4 10 addl $16, %esp
|
|
804841c: 8b 45 e4 movl -28(%ebp), %eax
|
|
804841f: 85 c0 testl %eax, %eax
|
|
8048421: 74 da je -38 <fputc+0x96>
|
|
8048423: 8b 45 e0 movl -32(%ebp), %eax
|
|
8048426: 89 45 f0 movl %eax, -16(%ebp)
|
|
8048429: 8b 45 f0 movl -16(%ebp), %eax
|
|
804842c: 8a 80 1c 10 00 00 movb 4124(%eax), %al
|
|
8048432: 84 c0 testb %al, %al
|
|
8048434: 74 16 je 22 <fputc+0xe5>
|
|
8048436: 8b 45 e0 movl -32(%ebp), %eax
|
|
8048439: 83 ec 0c subl $12, %esp
|
|
804843c: 50 pushl %eax
|
|
804843d: e8 ca 04 00 00 calll 1226 <free>
|
|
8048442: 83 c4 10 addl $16, %esp
|
|
8048445: b8 ff ff ff ff movl $4294967295, %eax
|
|
804844a: eb 12 jmp 18 <fputc+0xf7>
|
|
804844c: 8b 45 e0 movl -32(%ebp), %eax
|
|
804844f: 83 ec 0c subl $12, %esp
|
|
8048452: 50 pushl %eax
|
|
8048453: e8 b4 04 00 00 calll 1204 <free>
|
|
8048458: 83 c4 10 addl $16, %esp
|
|
804845b: 8b 45 08 movl 8(%ebp), %eax
|
|
804845e: c9 leave
|
|
804845f: c3 retl
|
|
|
|
get_bmap_bit:
|
|
8048460: 55 pushl %ebp
|
|
8048461: 89 e5 movl %esp, %ebp
|
|
8048463: 53 pushl %ebx
|
|
8048464: 83 ec 10 subl $16, %esp
|
|
8048467: 8b 45 0c movl 12(%ebp), %eax
|
|
804846a: c1 e8 03 shrl $3, %eax
|
|
804846d: 89 45 f8 movl %eax, -8(%ebp)
|
|
8048470: 8b 45 0c movl 12(%ebp), %eax
|
|
8048473: 83 e0 07 andl $7, %eax
|
|
8048476: 89 45 f4 movl %eax, -12(%ebp)
|
|
8048479: 8b 55 08 movl 8(%ebp), %edx
|
|
804847c: 8b 45 f8 movl -8(%ebp), %eax
|
|
804847f: 01 d0 addl %edx, %eax
|
|
8048481: 8a 00 movb (%eax), %al
|
|
8048483: 88 45 f3 movb %al, -13(%ebp)
|
|
8048486: 0f be 55 f3 movsbl -13(%ebp), %edx
|
|
804848a: 8b 45 f4 movl -12(%ebp), %eax
|
|
804848d: bb 01 00 00 00 movl $1, %ebx
|
|
8048492: 88 c1 movb %al, %cl
|
|
8048494: d3 e3 shll %cl, %ebx
|
|
8048496: 89 d8 movl %ebx, %eax
|
|
8048498: 21 d0 andl %edx, %eax
|
|
804849a: 85 c0 testl %eax, %eax
|
|
804849c: 0f 9f c0 setg %al
|
|
804849f: 83 c4 10 addl $16, %esp
|
|
80484a2: 5b popl %ebx
|
|
80484a3: 5d popl %ebp
|
|
80484a4: c3 retl
|
|
|
|
set_bmap_bit:
|
|
80484a5: 55 pushl %ebp
|
|
80484a6: 89 e5 movl %esp, %ebp
|
|
80484a8: 53 pushl %ebx
|
|
80484a9: 83 ec 10 subl $16, %esp
|
|
80484ac: 8b 45 0c movl 12(%ebp), %eax
|
|
80484af: c1 e8 03 shrl $3, %eax
|
|
80484b2: 89 45 f8 movl %eax, -8(%ebp)
|
|
80484b5: 8b 45 0c movl 12(%ebp), %eax
|
|
80484b8: 83 e0 07 andl $7, %eax
|
|
80484bb: 89 45 f4 movl %eax, -12(%ebp)
|
|
80484be: 8b 55 08 movl 8(%ebp), %edx
|
|
80484c1: 8b 45 f8 movl -8(%ebp), %eax
|
|
80484c4: 01 d0 addl %edx, %eax
|
|
80484c6: 8a 10 movb (%eax), %dl
|
|
80484c8: 8b 45 f4 movl -12(%ebp), %eax
|
|
80484cb: bb 01 00 00 00 movl $1, %ebx
|
|
80484d0: 88 c1 movb %al, %cl
|
|
80484d2: d3 e3 shll %cl, %ebx
|
|
80484d4: 89 d8 movl %ebx, %eax
|
|
80484d6: 88 c3 movb %al, %bl
|
|
80484d8: 8b 4d 08 movl 8(%ebp), %ecx
|
|
80484db: 8b 45 f8 movl -8(%ebp), %eax
|
|
80484de: 01 c8 addl %ecx, %eax
|
|
80484e0: 09 da orl %ebx, %edx
|
|
80484e2: 88 10 movb %dl, (%eax)
|
|
80484e4: 90 nop
|
|
80484e5: 83 c4 10 addl $16, %esp
|
|
80484e8: 5b popl %ebx
|
|
80484e9: 5d popl %ebp
|
|
80484ea: c3 retl
|
|
|
|
clear_bmap_bit:
|
|
80484eb: 55 pushl %ebp
|
|
80484ec: 89 e5 movl %esp, %ebp
|
|
80484ee: 53 pushl %ebx
|
|
80484ef: 83 ec 10 subl $16, %esp
|
|
80484f2: 8b 45 0c movl 12(%ebp), %eax
|
|
80484f5: c1 e8 03 shrl $3, %eax
|
|
80484f8: 89 45 f8 movl %eax, -8(%ebp)
|
|
80484fb: 8b 45 0c movl 12(%ebp), %eax
|
|
80484fe: 83 e0 07 andl $7, %eax
|
|
8048501: 89 45 f4 movl %eax, -12(%ebp)
|
|
8048504: 8b 55 08 movl 8(%ebp), %edx
|
|
8048507: 8b 45 f8 movl -8(%ebp), %eax
|
|
804850a: 01 d0 addl %edx, %eax
|
|
804850c: 8a 10 movb (%eax), %dl
|
|
804850e: 8b 45 f4 movl -12(%ebp), %eax
|
|
8048511: bb 01 00 00 00 movl $1, %ebx
|
|
8048516: 88 c1 movb %al, %cl
|
|
8048518: d3 e3 shll %cl, %ebx
|
|
804851a: 89 d8 movl %ebx, %eax
|
|
804851c: f7 d0 notl %eax
|
|
804851e: 88 c3 movb %al, %bl
|
|
8048520: 8b 4d 08 movl 8(%ebp), %ecx
|
|
8048523: 8b 45 f8 movl -8(%ebp), %eax
|
|
8048526: 01 c8 addl %ecx, %eax
|
|
8048528: 21 da andl %ebx, %edx
|
|
804852a: 88 10 movb %dl, (%eax)
|
|
804852c: 90 nop
|
|
804852d: 83 c4 10 addl $16, %esp
|
|
8048530: 5b popl %ebx
|
|
8048531: 5d popl %ebp
|
|
8048532: c3 retl
|
|
|
|
reserve_block:
|
|
8048533: 55 pushl %ebp
|
|
8048534: 89 e5 movl %esp, %ebp
|
|
8048536: 53 pushl %ebx
|
|
8048537: 83 ec 34 subl $52, %esp
|
|
804853a: 8b 45 08 movl 8(%ebp), %eax
|
|
804853d: c1 e0 0c shll $12, %eax
|
|
8048540: c1 e8 05 shrl $5, %eax
|
|
8048543: 89 45 f0 movl %eax, -16(%ebp)
|
|
8048546: 8b 45 f0 movl -16(%ebp), %eax
|
|
8048549: ba 00 00 00 00 movl $0, %edx
|
|
804854e: 89 45 c8 movl %eax, -56(%ebp)
|
|
8048551: 89 55 cc movl %edx, -52(%ebp)
|
|
8048554: df 6d c8 fildll -56(%ebp)
|
|
8048557: dd 5d e0 fstpl -32(%ebp)
|
|
804855a: dd 45 e0 fldl -32(%ebp)
|
|
804855d: dd 05 f8 8f 04 08 fldl 134516728
|
|
8048563: de f9 fdivrp %st(1)
|
|
8048565: d9 5d dc fstps -36(%ebp)
|
|
8048568: 8b 45 dc movl -36(%ebp), %eax
|
|
804856b: 83 ec 0c subl $12, %esp
|
|
804856e: 50 pushl %eax
|
|
804856f: e8 2c 09 00 00 calll 2348 <ceilf>
|
|
8048574: 83 c4 10 addl $16, %esp
|
|
8048577: d9 7d da fnstcw -38(%ebp)
|
|
804857a: 66 8b 45 da movw -38(%ebp), %ax
|
|
804857e: 80 cc 0c orb $12, %ah
|
|
8048581: 66 89 45 d8 movw %ax, -40(%ebp)
|
|
8048585: d9 6d d8 fldcw -40(%ebp)
|
|
8048588: df 7d d0 fistpll -48(%ebp)
|
|
804858b: d9 6d da fldcw -38(%ebp)
|
|
804858e: 8b 45 d0 movl -48(%ebp), %eax
|
|
8048591: 8b 55 d4 movl -44(%ebp), %edx
|
|
8048594: 8b 1d a0 cd 04 08 movl 134532512, %ebx
|
|
804859a: 83 ec 0c subl $12, %esp
|
|
804859d: 50 pushl %eax
|
|
804859e: e8 8f 09 00 00 calll 2447 <alloc_memory>
|
|
80485a3: 83 c4 10 addl $16, %esp
|
|
80485a6: 89 c2 movl %eax, %edx
|
|
80485a8: 89 d8 movl %ebx, %eax
|
|
80485aa: c1 e0 02 shll $2, %eax
|
|
80485ad: 01 d8 addl %ebx, %eax
|
|
80485af: c1 e0 02 shll $2, %eax
|
|
80485b2: 05 a0 a5 04 08 addl $134522272, %eax
|
|
80485b7: 89 10 movl %edx, (%eax)
|
|
80485b9: 8b 15 a0 cd 04 08 movl 134532512, %edx
|
|
80485bf: 89 d0 movl %edx, %eax
|
|
80485c1: c1 e0 02 shll $2, %eax
|
|
80485c4: 01 d0 addl %edx, %eax
|
|
80485c6: c1 e0 02 shll $2, %eax
|
|
80485c9: 8d 90 a4 a5 04 08 leal 134522276(%eax), %edx
|
|
80485cf: 8b 45 f0 movl -16(%ebp), %eax
|
|
80485d2: 89 02 movl %eax, (%edx)
|
|
80485d4: 8b 15 a0 cd 04 08 movl 134532512, %edx
|
|
80485da: 8b 45 f0 movl -16(%ebp), %eax
|
|
80485dd: 8d 0c c5 00 00 00 00 leal (,%eax,8), %ecx
|
|
80485e4: 89 d0 movl %edx, %eax
|
|
80485e6: c1 e0 02 shll $2, %eax
|
|
80485e9: 01 d0 addl %edx, %eax
|
|
80485eb: c1 e0 02 shll $2, %eax
|
|
80485ee: 05 a8 a5 04 08 addl $134522280, %eax
|
|
80485f3: 89 08 movl %ecx, (%eax)
|
|
80485f5: 8b 15 a0 cd 04 08 movl 134532512, %edx
|
|
80485fb: 89 d0 movl %edx, %eax
|
|
80485fd: c1 e0 02 shll $2, %eax
|
|
8048600: 01 d0 addl %edx, %eax
|
|
8048602: c1 e0 02 shll $2, %eax
|
|
8048605: 05 a0 a5 04 08 addl $134522272, %eax
|
|
804860a: 8b 00 movl (%eax), %eax
|
|
804860c: 89 45 ec movl %eax, -20(%ebp)
|
|
804860f: 8b 15 a0 cd 04 08 movl 134532512, %edx
|
|
8048615: 89 d0 movl %edx, %eax
|
|
8048617: c1 e0 02 shll $2, %eax
|
|
804861a: 01 d0 addl %edx, %eax
|
|
804861c: c1 e0 02 shll $2, %eax
|
|
804861f: 05 a4 a5 04 08 addl $134522276, %eax
|
|
8048624: 8b 00 movl (%eax), %eax
|
|
8048626: 89 45 e8 movl %eax, -24(%ebp)
|
|
8048629: c7 45 f4 00 00 00 00 movl $0, -12(%ebp)
|
|
8048630: eb 0e jmp 14 <reserve_block+0x10d>
|
|
8048632: 8b 55 ec movl -20(%ebp), %edx
|
|
8048635: 8b 45 f4 movl -12(%ebp), %eax
|
|
8048638: 01 d0 addl %edx, %eax
|
|
804863a: c6 00 00 movb $0, (%eax)
|
|
804863d: ff 45 f4 incl -12(%ebp)
|
|
8048640: 8b 45 f4 movl -12(%ebp), %eax
|
|
8048643: 3b 45 e8 cmpl -24(%ebp), %eax
|
|
8048646: 72 ea jb -22 <reserve_block+0xff>
|
|
8048648: 8b 15 a0 cd 04 08 movl 134532512, %edx
|
|
804864e: 8b 45 08 movl 8(%ebp), %eax
|
|
8048651: c1 e0 0c shll $12, %eax
|
|
8048654: 89 c1 movl %eax, %ecx
|
|
8048656: 89 d0 movl %edx, %eax
|
|
8048658: c1 e0 02 shll $2, %eax
|
|
804865b: 01 d0 addl %edx, %eax
|
|
804865d: c1 e0 02 shll $2, %eax
|
|
8048660: 05 ac a5 04 08 addl $134522284, %eax
|
|
8048665: 89 08 movl %ecx, (%eax)
|
|
8048667: 8b 1d a0 cd 04 08 movl 134532512, %ebx
|
|
804866d: 83 ec 0c subl $12, %esp
|
|
8048670: ff 75 08 pushl 8(%ebp)
|
|
8048673: e8 ba 08 00 00 calll 2234 <alloc_memory>
|
|
8048678: 83 c4 10 addl $16, %esp
|
|
804867b: 89 c2 movl %eax, %edx
|
|
804867d: 89 d8 movl %ebx, %eax
|
|
804867f: c1 e0 02 shll $2, %eax
|
|
8048682: 01 d8 addl %ebx, %eax
|
|
8048684: c1 e0 02 shll $2, %eax
|
|
8048687: 05 b0 a5 04 08 addl $134522288, %eax
|
|
804868c: 89 10 movl %edx, (%eax)
|
|
804868e: a1 a0 cd 04 08 movl 134532512, %eax
|
|
8048693: 40 incl %eax
|
|
8048694: a3 a0 cd 04 08 movl %eax, 134532512
|
|
8048699: 90 nop
|
|
804869a: 8b 5d fc movl -4(%ebp), %ebx
|
|
804869d: c9 leave
|
|
804869e: c3 retl
|
|
|
|
malloc:
|
|
804869f: 55 pushl %ebp
|
|
80486a0: 89 e5 movl %esp, %ebp
|
|
80486a2: 57 pushl %edi
|
|
80486a3: 56 pushl %esi
|
|
80486a4: 53 pushl %ebx
|
|
80486a5: 83 ec 7c subl $124, %esp
|
|
80486a8: 8b 45 08 movl 8(%ebp), %eax
|
|
80486ab: ba 00 00 00 00 movl $0, %edx
|
|
80486b0: 89 45 80 movl %eax, -128(%ebp)
|
|
80486b3: 89 55 84 movl %edx, -124(%ebp)
|
|
80486b6: df 6d 80 fildll -128(%ebp)
|
|
80486b9: d9 5d 94 fstps -108(%ebp)
|
|
80486bc: d9 45 94 flds -108(%ebp)
|
|
80486bf: d9 05 00 90 04 08 flds 134516736
|
|
80486c5: de f9 fdivrp %st(1)
|
|
80486c7: 83 ec 0c subl $12, %esp
|
|
80486ca: 8d 64 24 fc leal -4(%esp), %esp
|
|
80486ce: d9 1c 24 fstps (%esp)
|
|
80486d1: e8 ca 07 00 00 calll 1994 <ceilf>
|
|
80486d6: 83 c4 10 addl $16, %esp
|
|
80486d9: d9 7d 92 fnstcw -110(%ebp)
|
|
80486dc: 66 8b 45 92 movw -110(%ebp), %ax
|
|
80486e0: 80 cc 0c orb $12, %ah
|
|
80486e3: 66 89 45 90 movw %ax, -112(%ebp)
|
|
80486e7: d9 6d 90 fldcw -112(%ebp)
|
|
80486ea: df 7d 88 fistpll -120(%ebp)
|
|
80486ed: d9 6d 92 fldcw -110(%ebp)
|
|
80486f0: 8b 45 88 movl -120(%ebp), %eax
|
|
80486f3: 8b 55 8c movl -116(%ebp), %edx
|
|
80486f6: 89 45 c0 movl %eax, -64(%ebp)
|
|
80486f9: 83 45 c0 03 addl $3, -64(%ebp)
|
|
80486fd: c7 45 e4 ff ff ff ff movl $4294967295, -28(%ebp)
|
|
8048704: c7 45 dc 00 00 00 00 movl $0, -36(%ebp)
|
|
804870b: e9 ec 00 00 00 jmp 236 <malloc+0x15d>
|
|
8048710: 8b 55 dc movl -36(%ebp), %edx
|
|
8048713: 89 d0 movl %edx, %eax
|
|
8048715: c1 e0 02 shll $2, %eax
|
|
8048718: 01 d0 addl %edx, %eax
|
|
804871a: c1 e0 02 shll $2, %eax
|
|
804871d: 8d 90 a0 a5 04 08 leal 134522272(%eax), %edx
|
|
8048723: 8d 45 98 leal -104(%ebp), %eax
|
|
8048726: 89 d3 movl %edx, %ebx
|
|
8048728: ba 05 00 00 00 movl $5, %edx
|
|
804872d: 89 c7 movl %eax, %edi
|
|
804872f: 89 de movl %ebx, %esi
|
|
8048731: 89 d1 movl %edx, %ecx
|
|
8048733: f3 a5 rep movsl (%esi), %es:(%edi)
|
|
8048735: 8b 45 a4 movl -92(%ebp), %eax
|
|
8048738: 39 45 08 cmpl %eax, 8(%ebp)
|
|
804873b: 0f 87 aa 00 00 00 ja 170 <malloc+0x14c>
|
|
8048741: 8b 45 98 movl -104(%ebp), %eax
|
|
8048744: 89 45 bc movl %eax, -68(%ebp)
|
|
8048747: 8b 45 9c movl -100(%ebp), %eax
|
|
804874a: 89 45 b8 movl %eax, -72(%ebp)
|
|
804874d: c7 45 d4 00 00 00 00 movl $0, -44(%ebp)
|
|
8048754: e9 83 00 00 00 jmp 131 <malloc+0x13d>
|
|
8048759: c6 45 d3 00 movb $0, -45(%ebp)
|
|
804875d: 8b 45 c0 movl -64(%ebp), %eax
|
|
8048760: 89 45 d8 movl %eax, -40(%ebp)
|
|
8048763: 8b 45 d4 movl -44(%ebp), %eax
|
|
8048766: c1 e0 03 shll $3, %eax
|
|
8048769: 89 45 c8 movl %eax, -56(%ebp)
|
|
804876c: 83 ec 08 subl $8, %esp
|
|
804876f: ff 75 c8 pushl -56(%ebp)
|
|
8048772: ff 75 bc pushl -68(%ebp)
|
|
8048775: e8 e6 fc ff ff calll -794 <get_bmap_bit>
|
|
804877a: 83 c4 10 addl $16, %esp
|
|
804877d: 88 45 b7 movb %al, -73(%ebp)
|
|
8048780: 80 7d d3 00 cmpb $0, -45(%ebp)
|
|
8048784: 74 27 je 39 <malloc+0x10e>
|
|
8048786: 80 7d b7 00 cmpb $0, -73(%ebp)
|
|
804878a: 74 1c je 28 <malloc+0x109>
|
|
804878c: 83 7d d8 00 cmpl $0, -40(%ebp)
|
|
8048790: 75 08 jne 8 <malloc+0xfb>
|
|
8048792: 8b 45 cc movl -52(%ebp), %eax
|
|
8048795: 89 45 e0 movl %eax, -32(%ebp)
|
|
8048798: eb 39 jmp 57 <malloc+0x134>
|
|
804879a: 8b 45 c8 movl -56(%ebp), %eax
|
|
804879d: c1 e8 03 shrl $3, %eax
|
|
80487a0: 01 45 d4 addl %eax, -44(%ebp)
|
|
80487a3: ff 4d d4 decl -44(%ebp)
|
|
80487a6: eb 2b jmp 43 <malloc+0x134>
|
|
80487a8: ff 4d d8 decl -40(%ebp)
|
|
80487ab: eb 13 jmp 19 <malloc+0x121>
|
|
80487ad: 80 7d b7 00 cmpb $0, -73(%ebp)
|
|
80487b1: 75 0d jne 13 <malloc+0x121>
|
|
80487b3: c6 45 d3 01 movb $1, -45(%ebp)
|
|
80487b7: 8b 45 c8 movl -56(%ebp), %eax
|
|
80487ba: 89 45 cc movl %eax, -52(%ebp)
|
|
80487bd: ff 4d d8 decl -40(%ebp)
|
|
80487c0: 83 7d d8 00 cmpl $0, -40(%ebp)
|
|
80487c4: 75 08 jne 8 <malloc+0x12f>
|
|
80487c6: 8b 45 cc movl -52(%ebp), %eax
|
|
80487c9: 89 45 e0 movl %eax, -32(%ebp)
|
|
80487cc: eb 05 jmp 5 <malloc+0x134>
|
|
80487ce: ff 45 c8 incl -56(%ebp)
|
|
80487d1: eb 99 jmp -103 <malloc+0xcd>
|
|
80487d3: 83 7d d8 00 cmpl $0, -40(%ebp)
|
|
80487d7: 74 11 je 17 <malloc+0x14b>
|
|
80487d9: ff 45 d4 incl -44(%ebp)
|
|
80487dc: 8b 45 d4 movl -44(%ebp), %eax
|
|
80487df: 3b 45 b8 cmpl -72(%ebp), %eax
|
|
80487e2: 0f 82 71 ff ff ff jb -143 <malloc+0xba>
|
|
80487e8: eb 01 jmp 1 <malloc+0x14c>
|
|
80487ea: 90 nop
|
|
80487eb: 83 7d d8 00 cmpl $0, -40(%ebp)
|
|
80487ef: 75 08 jne 8 <malloc+0x15a>
|
|
80487f1: 8b 45 dc movl -36(%ebp), %eax
|
|
80487f4: 89 45 e4 movl %eax, -28(%ebp)
|
|
80487f7: eb 11 jmp 17 <malloc+0x16b>
|
|
80487f9: ff 45 dc incl -36(%ebp)
|
|
80487fc: a1 a0 cd 04 08 movl 134532512, %eax
|
|
8048801: 39 45 dc cmpl %eax, -36(%ebp)
|
|
8048804: 0f 82 06 ff ff ff jb -250 <malloc+0x71>
|
|
804880a: 83 7d e4 ff cmpl $-1, -28(%ebp)
|
|
804880e: 75 20 jne 32 <malloc+0x191>
|
|
8048810: 83 ec 0c subl $12, %esp
|
|
8048813: 68 00 01 00 00 pushl $256
|
|
8048818: e8 16 fd ff ff calll -746 <reserve_block>
|
|
804881d: 83 c4 10 addl $16, %esp
|
|
8048820: 83 ec 0c subl $12, %esp
|
|
8048823: ff 75 08 pushl 8(%ebp)
|
|
8048826: e8 74 fe ff ff calll -396 <malloc>
|
|
804882b: 83 c4 10 addl $16, %esp
|
|
804882e: eb 78 jmp 120 <malloc+0x209>
|
|
8048830: c7 45 c4 00 00 00 00 movl $0, -60(%ebp)
|
|
8048837: eb 1b jmp 27 <malloc+0x1b5>
|
|
8048839: 8b 55 e0 movl -32(%ebp), %edx
|
|
804883c: 8b 45 c4 movl -60(%ebp), %eax
|
|
804883f: 01 c2 addl %eax, %edx
|
|
8048841: 8b 45 98 movl -104(%ebp), %eax
|
|
8048844: 83 ec 08 subl $8, %esp
|
|
8048847: 52 pushl %edx
|
|
8048848: 50 pushl %eax
|
|
8048849: e8 57 fc ff ff calll -937 <set_bmap_bit>
|
|
804884e: 83 c4 10 addl $16, %esp
|
|
8048851: ff 45 c4 incl -60(%ebp)
|
|
8048854: 8b 45 c4 movl -60(%ebp), %eax
|
|
8048857: 3b 45 c0 cmpl -64(%ebp), %eax
|
|
804885a: 72 dd jb -35 <malloc+0x19a>
|
|
804885c: 8b 45 e0 movl -32(%ebp), %eax
|
|
804885f: c1 e0 03 shll $3, %eax
|
|
8048862: 83 c0 0c addl $12, %eax
|
|
8048865: 89 45 b0 movl %eax, -80(%ebp)
|
|
8048868: 8b 45 a8 movl -88(%ebp), %eax
|
|
804886b: 8b 55 b0 movl -80(%ebp), %edx
|
|
804886e: 83 ea 0c subl $12, %edx
|
|
8048871: 01 d0 addl %edx, %eax
|
|
8048873: 89 45 ac movl %eax, -84(%ebp)
|
|
8048876: 8b 45 ac movl -84(%ebp), %eax
|
|
8048879: 8b 55 c0 movl -64(%ebp), %edx
|
|
804887c: 89 10 movl %edx, (%eax)
|
|
804887e: 8b 45 ac movl -84(%ebp), %eax
|
|
8048881: 8d 50 04 leal 4(%eax), %edx
|
|
8048884: 8b 45 e0 movl -32(%ebp), %eax
|
|
8048887: 89 02 movl %eax, (%edx)
|
|
8048889: 8b 45 ac movl -84(%ebp), %eax
|
|
804888c: 8d 50 08 leal 8(%eax), %edx
|
|
804888f: 8b 45 e4 movl -28(%ebp), %eax
|
|
8048892: 89 02 movl %eax, (%edx)
|
|
8048894: 8b 45 a4 movl -92(%ebp), %eax
|
|
8048897: 2b 45 08 subl 8(%ebp), %eax
|
|
804889a: 83 e8 0c subl $12, %eax
|
|
804889d: 89 45 a4 movl %eax, -92(%ebp)
|
|
80488a0: 8b 55 a8 movl -88(%ebp), %edx
|
|
80488a3: 8b 45 b0 movl -80(%ebp), %eax
|
|
80488a6: 01 d0 addl %edx, %eax
|
|
80488a8: 8d 65 f4 leal -12(%ebp), %esp
|
|
80488ab: 5b popl %ebx
|
|
80488ac: 5e popl %esi
|
|
80488ad: 5f popl %edi
|
|
80488ae: 5d popl %ebp
|
|
80488af: c3 retl
|
|
|
|
realloc:
|
|
80488b0: 55 pushl %ebp
|
|
80488b1: 89 e5 movl %esp, %ebp
|
|
80488b3: 83 ec 18 subl $24, %esp
|
|
80488b6: 83 ec 0c subl $12, %esp
|
|
80488b9: ff 75 0c pushl 12(%ebp)
|
|
80488bc: e8 de fd ff ff calll -546 <malloc>
|
|
80488c1: 83 c4 10 addl $16, %esp
|
|
80488c4: 89 45 f4 movl %eax, -12(%ebp)
|
|
80488c7: 83 7d 08 00 cmpl $0, 8(%ebp)
|
|
80488cb: 75 05 jne 5 <realloc+0x22>
|
|
80488cd: 8b 45 f4 movl -12(%ebp), %eax
|
|
80488d0: eb 38 jmp 56 <realloc+0x5a>
|
|
80488d2: 8b 45 08 movl 8(%ebp), %eax
|
|
80488d5: 8b 40 f4 movl -12(%eax), %eax
|
|
80488d8: 89 45 f0 movl %eax, -16(%ebp)
|
|
80488db: 8b 45 f0 movl -16(%ebp), %eax
|
|
80488de: c1 e0 02 shll $2, %eax
|
|
80488e1: 83 ec 04 subl $4, %esp
|
|
80488e4: 50 pushl %eax
|
|
80488e5: ff 75 08 pushl 8(%ebp)
|
|
80488e8: ff 75 f4 pushl -12(%ebp)
|
|
80488eb: e8 b0 00 00 00 calll 176 <memcpy>
|
|
80488f0: 83 c4 10 addl $16, %esp
|
|
80488f3: 83 ec 0c subl $12, %esp
|
|
80488f6: ff 75 08 pushl 8(%ebp)
|
|
80488f9: e8 0e 00 00 00 calll 14 <free>
|
|
80488fe: 83 c4 10 addl $16, %esp
|
|
8048901: 8b 45 f4 movl -12(%ebp), %eax
|
|
8048904: 89 45 08 movl %eax, 8(%ebp)
|
|
8048907: 8b 45 f4 movl -12(%ebp), %eax
|
|
804890a: c9 leave
|
|
804890b: c3 retl
|
|
|
|
free:
|
|
804890c: 55 pushl %ebp
|
|
804890d: 89 e5 movl %esp, %ebp
|
|
804890f: 57 pushl %edi
|
|
8048910: 56 pushl %esi
|
|
8048911: 53 pushl %ebx
|
|
8048912: 83 ec 30 subl $48, %esp
|
|
8048915: 8b 45 08 movl 8(%ebp), %eax
|
|
8048918: 83 e8 0c subl $12, %eax
|
|
804891b: 89 45 ec movl %eax, -20(%ebp)
|
|
804891e: 8b 45 ec movl -20(%ebp), %eax
|
|
8048921: 8b 00 movl (%eax), %eax
|
|
8048923: 89 45 e8 movl %eax, -24(%ebp)
|
|
8048926: 8b 45 ec movl -20(%ebp), %eax
|
|
8048929: 8b 40 04 movl 4(%eax), %eax
|
|
804892c: 89 45 e4 movl %eax, -28(%ebp)
|
|
804892f: 8b 45 ec movl -20(%ebp), %eax
|
|
8048932: 8b 40 08 movl 8(%eax), %eax
|
|
8048935: 89 45 e0 movl %eax, -32(%ebp)
|
|
8048938: 8b 55 e0 movl -32(%ebp), %edx
|
|
804893b: 89 d0 movl %edx, %eax
|
|
804893d: c1 e0 02 shll $2, %eax
|
|
8048940: 01 d0 addl %edx, %eax
|
|
8048942: c1 e0 02 shll $2, %eax
|
|
8048945: 8d 90 a0 a5 04 08 leal 134522272(%eax), %edx
|
|
804894b: 8d 45 cc leal -52(%ebp), %eax
|
|
804894e: 89 d3 movl %edx, %ebx
|
|
8048950: ba 05 00 00 00 movl $5, %edx
|
|
8048955: 89 c7 movl %eax, %edi
|
|
8048957: 89 de movl %ebx, %esi
|
|
8048959: 89 d1 movl %edx, %ecx
|
|
804895b: f3 a5 rep movsl (%esi), %es:(%edi)
|
|
804895d: c7 45 f0 00 00 00 00 movl $0, -16(%ebp)
|
|
8048964: eb 18 jmp 24 <free+0x72>
|
|
8048966: 8b 55 e4 movl -28(%ebp), %edx
|
|
8048969: 8b 45 f0 movl -16(%ebp), %eax
|
|
804896c: 01 c2 addl %eax, %edx
|
|
804896e: 8b 45 cc movl -52(%ebp), %eax
|
|
8048971: 52 pushl %edx
|
|
8048972: 50 pushl %eax
|
|
8048973: e8 73 fb ff ff calll -1165 <clear_bmap_bit>
|
|
8048978: 83 c4 08 addl $8, %esp
|
|
804897b: ff 45 f0 incl -16(%ebp)
|
|
804897e: 8b 45 f0 movl -16(%ebp), %eax
|
|
8048981: 3b 45 e8 cmpl -24(%ebp), %eax
|
|
8048984: 72 e0 jb -32 <free+0x5a>
|
|
8048986: 8b 45 d8 movl -40(%ebp), %eax
|
|
8048989: 8b 55 e8 movl -24(%ebp), %edx
|
|
804898c: 83 c2 03 addl $3, %edx
|
|
804898f: c1 e2 02 shll $2, %edx
|
|
8048992: 01 d0 addl %edx, %eax
|
|
8048994: 89 45 d8 movl %eax, -40(%ebp)
|
|
8048997: 90 nop
|
|
8048998: 8d 65 f4 leal -12(%ebp), %esp
|
|
804899b: 5b popl %ebx
|
|
804899c: 5e popl %esi
|
|
804899d: 5f popl %edi
|
|
804899e: 5d popl %ebp
|
|
804899f: c3 retl
|
|
|
|
memcpy:
|
|
80489a0: 55 pushl %ebp
|
|
80489a1: 89 e5 movl %esp, %ebp
|
|
80489a3: 83 ec 10 subl $16, %esp
|
|
80489a6: 8b 45 0c movl 12(%ebp), %eax
|
|
80489a9: 89 45 f8 movl %eax, -8(%ebp)
|
|
80489ac: 8b 45 08 movl 8(%ebp), %eax
|
|
80489af: 89 45 f4 movl %eax, -12(%ebp)
|
|
80489b2: c7 45 fc 00 00 00 00 movl $0, -4(%ebp)
|
|
80489b9: eb 17 jmp 23 <memcpy+0x32>
|
|
80489bb: 8b 55 f8 movl -8(%ebp), %edx
|
|
80489be: 8b 45 fc movl -4(%ebp), %eax
|
|
80489c1: 01 d0 addl %edx, %eax
|
|
80489c3: 8b 4d f4 movl -12(%ebp), %ecx
|
|
80489c6: 8b 55 fc movl -4(%ebp), %edx
|
|
80489c9: 01 ca addl %ecx, %edx
|
|
80489cb: 8a 00 movb (%eax), %al
|
|
80489cd: 88 02 movb %al, (%edx)
|
|
80489cf: ff 45 fc incl -4(%ebp)
|
|
80489d2: 8b 45 fc movl -4(%ebp), %eax
|
|
80489d5: 3b 45 10 cmpl 16(%ebp), %eax
|
|
80489d8: 72 e1 jb -31 <memcpy+0x1b>
|
|
80489da: 8b 45 08 movl 8(%ebp), %eax
|
|
80489dd: c9 leave
|
|
80489de: c3 retl
|
|
|
|
memset:
|
|
80489df: 55 pushl %ebp
|
|
80489e0: 89 e5 movl %esp, %ebp
|
|
80489e2: 83 ec 10 subl $16, %esp
|
|
80489e5: 8b 45 08 movl 8(%ebp), %eax
|
|
80489e8: 89 45 f8 movl %eax, -8(%ebp)
|
|
80489eb: c7 45 fc 00 00 00 00 movl $0, -4(%ebp)
|
|
80489f2: eb 10 jmp 16 <memset+0x25>
|
|
80489f4: 8b 55 f8 movl -8(%ebp), %edx
|
|
80489f7: 8b 45 fc movl -4(%ebp), %eax
|
|
80489fa: 01 d0 addl %edx, %eax
|
|
80489fc: 8b 55 0c movl 12(%ebp), %edx
|
|
80489ff: 88 10 movb %dl, (%eax)
|
|
8048a01: ff 45 fc incl -4(%ebp)
|
|
8048a04: 8b 45 fc movl -4(%ebp), %eax
|
|
8048a07: 3b 45 10 cmpl 16(%ebp), %eax
|
|
8048a0a: 72 e8 jb -24 <memset+0x15>
|
|
8048a0c: 8b 45 08 movl 8(%ebp), %eax
|
|
8048a0f: c9 leave
|
|
8048a10: c3 retl
|
|
|
|
strcmp:
|
|
8048a11: 55 pushl %ebp
|
|
8048a12: 89 e5 movl %esp, %ebp
|
|
8048a14: 83 ec 10 subl $16, %esp
|
|
8048a17: c7 45 fc 00 00 00 00 movl $0, -4(%ebp)
|
|
8048a1e: eb 18 jmp 24 <strcmp+0x27>
|
|
8048a20: 8b 55 fc movl -4(%ebp), %edx
|
|
8048a23: 8b 45 08 movl 8(%ebp), %eax
|
|
8048a26: 01 d0 addl %edx, %eax
|
|
8048a28: 8a 00 movb (%eax), %al
|
|
8048a2a: 84 c0 testb %al, %al
|
|
8048a2c: 75 07 jne 7 <strcmp+0x24>
|
|
8048a2e: b8 00 00 00 00 movl $0, %eax
|
|
8048a33: eb 39 jmp 57 <strcmp+0x5d>
|
|
8048a35: ff 45 fc incl -4(%ebp)
|
|
8048a38: 8b 55 fc movl -4(%ebp), %edx
|
|
8048a3b: 8b 45 08 movl 8(%ebp), %eax
|
|
8048a3e: 01 d0 addl %edx, %eax
|
|
8048a40: 8a 10 movb (%eax), %dl
|
|
8048a42: 8b 4d fc movl -4(%ebp), %ecx
|
|
8048a45: 8b 45 0c movl 12(%ebp), %eax
|
|
8048a48: 01 c8 addl %ecx, %eax
|
|
8048a4a: 8a 00 movb (%eax), %al
|
|
8048a4c: 38 c2 cmpb %al, %dl
|
|
8048a4e: 74 d0 je -48 <strcmp+0xf>
|
|
8048a50: 8b 55 fc movl -4(%ebp), %edx
|
|
8048a53: 8b 45 08 movl 8(%ebp), %eax
|
|
8048a56: 01 d0 addl %edx, %eax
|
|
8048a58: 8a 00 movb (%eax), %al
|
|
8048a5a: 0f be d0 movsbl %al, %edx
|
|
8048a5d: 8b 4d fc movl -4(%ebp), %ecx
|
|
8048a60: 8b 45 0c movl 12(%ebp), %eax
|
|
8048a63: 01 c8 addl %ecx, %eax
|
|
8048a65: 8a 00 movb (%eax), %al
|
|
8048a67: 0f be c0 movsbl %al, %eax
|
|
8048a6a: 29 c2 subl %eax, %edx
|
|
8048a6c: 89 d0 movl %edx, %eax
|
|
8048a6e: c9 leave
|
|
8048a6f: c3 retl
|
|
|
|
strlen:
|
|
8048a70: 55 pushl %ebp
|
|
8048a71: 89 e5 movl %esp, %ebp
|
|
8048a73: 83 ec 10 subl $16, %esp
|
|
8048a76: c7 45 fc 00 00 00 00 movl $0, -4(%ebp)
|
|
8048a7d: eb 03 jmp 3 <strlen+0x12>
|
|
8048a7f: ff 45 fc incl -4(%ebp)
|
|
8048a82: 8b 55 08 movl 8(%ebp), %edx
|
|
8048a85: 8b 45 fc movl -4(%ebp), %eax
|
|
8048a88: 01 d0 addl %edx, %eax
|
|
8048a8a: 8a 00 movb (%eax), %al
|
|
8048a8c: 84 c0 testb %al, %al
|
|
8048a8e: 75 ef jne -17 <strlen+0xf>
|
|
8048a90: 8b 45 fc movl -4(%ebp), %eax
|
|
8048a93: c9 leave
|
|
8048a94: c3 retl
|
|
|
|
strcpy:
|
|
8048a95: 55 pushl %ebp
|
|
8048a96: 89 e5 movl %esp, %ebp
|
|
8048a98: 83 ec 10 subl $16, %esp
|
|
8048a9b: c7 45 fc 00 00 00 00 movl $0, -4(%ebp)
|
|
8048aa2: eb 17 jmp 23 <strcpy+0x26>
|
|
8048aa4: 8b 55 0c movl 12(%ebp), %edx
|
|
8048aa7: 8b 45 fc movl -4(%ebp), %eax
|
|
8048aaa: 01 d0 addl %edx, %eax
|
|
8048aac: 8b 4d 08 movl 8(%ebp), %ecx
|
|
8048aaf: 8b 55 fc movl -4(%ebp), %edx
|
|
8048ab2: 01 ca addl %ecx, %edx
|
|
8048ab4: 8a 00 movb (%eax), %al
|
|
8048ab6: 88 02 movb %al, (%edx)
|
|
8048ab8: ff 45 fc incl -4(%ebp)
|
|
8048abb: ff 75 0c pushl 12(%ebp)
|
|
8048abe: e8 ad ff ff ff calll -83 <strlen>
|
|
8048ac3: 83 c4 04 addl $4, %esp
|
|
8048ac6: 39 45 fc cmpl %eax, -4(%ebp)
|
|
8048ac9: 72 d9 jb -39 <strcpy+0xf>
|
|
8048acb: 8b 55 08 movl 8(%ebp), %edx
|
|
8048ace: 8b 45 fc movl -4(%ebp), %eax
|
|
8048ad1: 01 d0 addl %edx, %eax
|
|
8048ad3: c6 00 00 movb $0, (%eax)
|
|
8048ad6: 8b 45 08 movl 8(%ebp), %eax
|
|
8048ad9: c9 leave
|
|
8048ada: c3 retl
|
|
|
|
strrev:
|
|
8048adb: 55 pushl %ebp
|
|
8048adc: 89 e5 movl %esp, %ebp
|
|
8048ade: 83 ec 10 subl $16, %esp
|
|
8048ae1: c7 45 fc 00 00 00 00 movl $0, -4(%ebp)
|
|
8048ae8: ff 75 08 pushl 8(%ebp)
|
|
8048aeb: e8 80 ff ff ff calll -128 <strlen>
|
|
8048af0: 83 c4 04 addl $4, %esp
|
|
8048af3: 48 decl %eax
|
|
8048af4: 89 45 f8 movl %eax, -8(%ebp)
|
|
8048af7: eb 34 jmp 52 <strrev+0x52>
|
|
8048af9: 8b 55 fc movl -4(%ebp), %edx
|
|
8048afc: 8b 45 08 movl 8(%ebp), %eax
|
|
8048aff: 01 d0 addl %edx, %eax
|
|
8048b01: 8a 00 movb (%eax), %al
|
|
8048b03: 88 45 f7 movb %al, -9(%ebp)
|
|
8048b06: 8b 55 f8 movl -8(%ebp), %edx
|
|
8048b09: 8b 45 08 movl 8(%ebp), %eax
|
|
8048b0c: 01 d0 addl %edx, %eax
|
|
8048b0e: 8b 4d fc movl -4(%ebp), %ecx
|
|
8048b11: 8b 55 08 movl 8(%ebp), %edx
|
|
8048b14: 01 ca addl %ecx, %edx
|
|
8048b16: 8a 00 movb (%eax), %al
|
|
8048b18: 88 02 movb %al, (%edx)
|
|
8048b1a: 8b 55 f8 movl -8(%ebp), %edx
|
|
8048b1d: 8b 45 08 movl 8(%ebp), %eax
|
|
8048b20: 01 c2 addl %eax, %edx
|
|
8048b22: 8a 45 f7 movb -9(%ebp), %al
|
|
8048b25: 88 02 movb %al, (%edx)
|
|
8048b27: ff 45 fc incl -4(%ebp)
|
|
8048b2a: ff 4d f8 decl -8(%ebp)
|
|
8048b2d: 8b 45 fc movl -4(%ebp), %eax
|
|
8048b30: 3b 45 f8 cmpl -8(%ebp), %eax
|
|
8048b33: 7c c4 jl -60 <strrev+0x1e>
|
|
8048b35: 8b 45 08 movl 8(%ebp), %eax
|
|
8048b38: c9 leave
|
|
8048b39: c3 retl
|
|
|
|
int_to_ascii:
|
|
8048b3a: 55 pushl %ebp
|
|
8048b3b: 89 e5 movl %esp, %ebp
|
|
8048b3d: 83 ec 10 subl $16, %esp
|
|
8048b40: 8b 45 08 movl 8(%ebp), %eax
|
|
8048b43: 89 45 f8 movl %eax, -8(%ebp)
|
|
8048b46: 83 7d f8 00 cmpl $0, -8(%ebp)
|
|
8048b4a: 79 03 jns 3 <int_to_ascii+0x15>
|
|
8048b4c: f7 5d 08 negl 8(%ebp)
|
|
8048b4f: c7 45 fc 00 00 00 00 movl $0, -4(%ebp)
|
|
8048b56: 8b 45 08 movl 8(%ebp), %eax
|
|
8048b59: b9 0a 00 00 00 movl $10, %ecx
|
|
8048b5e: 99 cltd
|
|
8048b5f: f7 f9 idivl %ecx
|
|
8048b61: 89 d0 movl %edx, %eax
|
|
8048b63: 8d 48 30 leal 48(%eax), %ecx
|
|
8048b66: 8b 45 fc movl -4(%ebp), %eax
|
|
8048b69: 8d 50 01 leal 1(%eax), %edx
|
|
8048b6c: 89 55 fc movl %edx, -4(%ebp)
|
|
8048b6f: 89 c2 movl %eax, %edx
|
|
8048b71: 8b 45 0c movl 12(%ebp), %eax
|
|
8048b74: 01 d0 addl %edx, %eax
|
|
8048b76: 88 ca movb %cl, %dl
|
|
8048b78: 88 10 movb %dl, (%eax)
|
|
8048b7a: 8b 4d 08 movl 8(%ebp), %ecx
|
|
8048b7d: b8 67 66 66 66 movl $1717986919, %eax
|
|
8048b82: f7 e9 imull %ecx
|
|
8048b84: c1 fa 02 sarl $2, %edx
|
|
8048b87: 89 c8 movl %ecx, %eax
|
|
8048b89: c1 f8 1f sarl $31, %eax
|
|
8048b8c: 29 c2 subl %eax, %edx
|
|
8048b8e: 89 d0 movl %edx, %eax
|
|
8048b90: 89 45 08 movl %eax, 8(%ebp)
|
|
8048b93: 83 7d 08 00 cmpl $0, 8(%ebp)
|
|
8048b97: 7f bd jg -67 <int_to_ascii+0x1c>
|
|
8048b99: 83 7d f8 00 cmpl $0, -8(%ebp)
|
|
8048b9d: 79 13 jns 19 <int_to_ascii+0x78>
|
|
8048b9f: 8b 45 fc movl -4(%ebp), %eax
|
|
8048ba2: 8d 50 01 leal 1(%eax), %edx
|
|
8048ba5: 89 55 fc movl %edx, -4(%ebp)
|
|
8048ba8: 89 c2 movl %eax, %edx
|
|
8048baa: 8b 45 0c movl 12(%ebp), %eax
|
|
8048bad: 01 d0 addl %edx, %eax
|
|
8048baf: c6 00 2d movb $45, (%eax)
|
|
8048bb2: 8b 55 fc movl -4(%ebp), %edx
|
|
8048bb5: 8b 45 0c movl 12(%ebp), %eax
|
|
8048bb8: 01 d0 addl %edx, %eax
|
|
8048bba: c6 00 00 movb $0, (%eax)
|
|
8048bbd: ff 75 0c pushl 12(%ebp)
|
|
8048bc0: e8 16 ff ff ff calll -234 <strrev>
|
|
8048bc5: 83 c4 04 addl $4, %esp
|
|
8048bc8: 90 nop
|
|
8048bc9: c9 leave
|
|
8048bca: c3 retl
|
|
|
|
hex_to_ascii:
|
|
8048bcb: 55 pushl %ebp
|
|
8048bcc: 89 e5 movl %esp, %ebp
|
|
8048bce: 83 ec 18 subl $24, %esp
|
|
8048bd1: 83 ec 08 subl $8, %esp
|
|
8048bd4: 6a 30 pushl $48
|
|
8048bd6: ff 75 0c pushl 12(%ebp)
|
|
8048bd9: e8 cb 00 00 00 calll 203 <append>
|
|
8048bde: 83 c4 10 addl $16, %esp
|
|
8048be1: 83 ec 08 subl $8, %esp
|
|
8048be4: 6a 78 pushl $120
|
|
8048be6: ff 75 0c pushl 12(%ebp)
|
|
8048be9: e8 bb 00 00 00 calll 187 <append>
|
|
8048bee: 83 c4 10 addl $16, %esp
|
|
8048bf1: c6 45 f7 00 movb $0, -9(%ebp)
|
|
8048bf5: c7 45 f0 1c 00 00 00 movl $28, -16(%ebp)
|
|
8048bfc: eb 61 jmp 97 <hex_to_ascii+0x94>
|
|
8048bfe: 8b 45 f0 movl -16(%ebp), %eax
|
|
8048c01: 8b 55 08 movl 8(%ebp), %edx
|
|
8048c04: 88 c1 movb %al, %cl
|
|
8048c06: d3 fa sarl %cl, %edx
|
|
8048c08: 89 d0 movl %edx, %eax
|
|
8048c0a: 83 e0 0f andl $15, %eax
|
|
8048c0d: 89 45 ec movl %eax, -20(%ebp)
|
|
8048c10: 83 7d ec 00 cmpl $0, -20(%ebp)
|
|
8048c14: 75 06 jne 6 <hex_to_ascii+0x51>
|
|
8048c16: 80 7d f7 00 cmpb $0, -9(%ebp)
|
|
8048c1a: 74 3e je 62 <hex_to_ascii+0x8f>
|
|
8048c1c: c6 45 f7 01 movb $1, -9(%ebp)
|
|
8048c20: 83 7d ec 0a cmpl $10, -20(%ebp)
|
|
8048c24: 76 1a jbe 26 <hex_to_ascii+0x75>
|
|
8048c26: 8b 45 ec movl -20(%ebp), %eax
|
|
8048c29: 83 c0 57 addl $87, %eax
|
|
8048c2c: 0f be c0 movsbl %al, %eax
|
|
8048c2f: 83 ec 08 subl $8, %esp
|
|
8048c32: 50 pushl %eax
|
|
8048c33: ff 75 0c pushl 12(%ebp)
|
|
8048c36: e8 6e 00 00 00 calll 110 <append>
|
|
8048c3b: 83 c4 10 addl $16, %esp
|
|
8048c3e: eb 1b jmp 27 <hex_to_ascii+0x90>
|
|
8048c40: 8b 45 ec movl -20(%ebp), %eax
|
|
8048c43: 83 c0 30 addl $48, %eax
|
|
8048c46: 0f be c0 movsbl %al, %eax
|
|
8048c49: 83 ec 08 subl $8, %esp
|
|
8048c4c: 50 pushl %eax
|
|
8048c4d: ff 75 0c pushl 12(%ebp)
|
|
8048c50: e8 54 00 00 00 calll 84 <append>
|
|
8048c55: 83 c4 10 addl $16, %esp
|
|
8048c58: eb 01 jmp 1 <hex_to_ascii+0x90>
|
|
8048c5a: 90 nop
|
|
8048c5b: 83 6d f0 04 subl $4, -16(%ebp)
|
|
8048c5f: 83 7d f0 00 cmpl $0, -16(%ebp)
|
|
8048c63: 7f 99 jg -103 <hex_to_ascii+0x33>
|
|
8048c65: 8b 45 08 movl 8(%ebp), %eax
|
|
8048c68: 83 e0 0f andl $15, %eax
|
|
8048c6b: 89 45 ec movl %eax, -20(%ebp)
|
|
8048c6e: 83 7d ec 09 cmpl $9, -20(%ebp)
|
|
8048c72: 76 1a jbe 26 <hex_to_ascii+0xc3>
|
|
8048c74: 8b 45 ec movl -20(%ebp), %eax
|
|
8048c77: 83 c0 57 addl $87, %eax
|
|
8048c7a: 0f be c0 movsbl %al, %eax
|
|
8048c7d: 83 ec 08 subl $8, %esp
|
|
8048c80: 50 pushl %eax
|
|
8048c81: ff 75 0c pushl 12(%ebp)
|
|
8048c84: e8 20 00 00 00 calll 32 <append>
|
|
8048c89: 83 c4 10 addl $16, %esp
|
|
8048c8c: eb 18 jmp 24 <hex_to_ascii+0xdb>
|
|
8048c8e: 8b 45 ec movl -20(%ebp), %eax
|
|
8048c91: 83 c0 30 addl $48, %eax
|
|
8048c94: 0f be c0 movsbl %al, %eax
|
|
8048c97: 83 ec 08 subl $8, %esp
|
|
8048c9a: 50 pushl %eax
|
|
8048c9b: ff 75 0c pushl 12(%ebp)
|
|
8048c9e: e8 06 00 00 00 calll 6 <append>
|
|
8048ca3: 83 c4 10 addl $16, %esp
|
|
8048ca6: 90 nop
|
|
8048ca7: c9 leave
|
|
8048ca8: c3 retl
|
|
|
|
append:
|
|
8048ca9: 55 pushl %ebp
|
|
8048caa: 89 e5 movl %esp, %ebp
|
|
8048cac: 83 ec 14 subl $20, %esp
|
|
8048caf: 8b 45 0c movl 12(%ebp), %eax
|
|
8048cb2: 88 45 ec movb %al, -20(%ebp)
|
|
8048cb5: ff 75 08 pushl 8(%ebp)
|
|
8048cb8: e8 b3 fd ff ff calll -589 <strlen>
|
|
8048cbd: 83 c4 04 addl $4, %esp
|
|
8048cc0: 89 45 fc movl %eax, -4(%ebp)
|
|
8048cc3: 8b 55 fc movl -4(%ebp), %edx
|
|
8048cc6: 8b 45 08 movl 8(%ebp), %eax
|
|
8048cc9: 01 c2 addl %eax, %edx
|
|
8048ccb: 8a 45 ec movb -20(%ebp), %al
|
|
8048cce: 88 02 movb %al, (%edx)
|
|
8048cd0: 8b 45 fc movl -4(%ebp), %eax
|
|
8048cd3: 8d 50 01 leal 1(%eax), %edx
|
|
8048cd6: 8b 45 08 movl 8(%ebp), %eax
|
|
8048cd9: 01 d0 addl %edx, %eax
|
|
8048cdb: c6 00 00 movb $0, (%eax)
|
|
8048cde: 90 nop
|
|
8048cdf: c9 leave
|
|
8048ce0: c3 retl
|
|
|
|
backspace:
|
|
8048ce1: 55 pushl %ebp
|
|
8048ce2: 89 e5 movl %esp, %ebp
|
|
8048ce4: 83 ec 10 subl $16, %esp
|
|
8048ce7: ff 75 08 pushl 8(%ebp)
|
|
8048cea: e8 81 fd ff ff calll -639 <strlen>
|
|
8048cef: 83 c4 04 addl $4, %esp
|
|
8048cf2: 89 45 fc movl %eax, -4(%ebp)
|
|
8048cf5: 8b 45 fc movl -4(%ebp), %eax
|
|
8048cf8: 8d 50 ff leal -1(%eax), %edx
|
|
8048cfb: 8b 45 08 movl 8(%ebp), %eax
|
|
8048cfe: 01 d0 addl %edx, %eax
|
|
8048d00: c6 00 00 movb $0, (%eax)
|
|
8048d03: 90 nop
|
|
8048d04: c9 leave
|
|
8048d05: c3 retl
|
|
|
|
strtok_delim_check:
|
|
8048d06: 55 pushl %ebp
|
|
8048d07: 89 e5 movl %esp, %ebp
|
|
8048d09: 83 ec 10 subl $16, %esp
|
|
8048d0c: c7 45 fc 00 00 00 00 movl $0, -4(%ebp)
|
|
8048d13: eb 37 jmp 55 <strtok_delim_check+0x46>
|
|
8048d15: 8b 15 a4 cd 04 08 movl 134532516, %edx
|
|
8048d1b: a1 a8 cd 04 08 movl 134532520, %eax
|
|
8048d20: 01 d0 addl %edx, %eax
|
|
8048d22: 8a 10 movb (%eax), %dl
|
|
8048d24: 8b 4d 08 movl 8(%ebp), %ecx
|
|
8048d27: 8b 45 fc movl -4(%ebp), %eax
|
|
8048d2a: 01 c8 addl %ecx, %eax
|
|
8048d2c: 8a 00 movb (%eax), %al
|
|
8048d2e: 38 c2 cmpb %al, %dl
|
|
8048d30: 74 13 je 19 <strtok_delim_check+0x3f>
|
|
8048d32: 8b 15 a4 cd 04 08 movl 134532516, %edx
|
|
8048d38: a1 a8 cd 04 08 movl 134532520, %eax
|
|
8048d3d: 01 d0 addl %edx, %eax
|
|
8048d3f: 8a 00 movb (%eax), %al
|
|
8048d41: 84 c0 testb %al, %al
|
|
8048d43: 75 04 jne 4 <strtok_delim_check+0x43>
|
|
8048d45: b0 00 movb $0, %al
|
|
8048d47: eb 15 jmp 21 <strtok_delim_check+0x58>
|
|
8048d49: ff 45 fc incl -4(%ebp)
|
|
8048d4c: ff 75 08 pushl 8(%ebp)
|
|
8048d4f: e8 1c fd ff ff calll -740 <strlen>
|
|
8048d54: 83 c4 04 addl $4, %esp
|
|
8048d57: 39 45 fc cmpl %eax, -4(%ebp)
|
|
8048d5a: 72 b9 jb -71 <strtok_delim_check+0xf>
|
|
8048d5c: b0 01 movb $1, %al
|
|
8048d5e: c9 leave
|
|
8048d5f: c3 retl
|
|
|
|
strtok:
|
|
8048d60: 55 pushl %ebp
|
|
8048d61: 89 e5 movl %esp, %ebp
|
|
8048d63: 83 ec 18 subl $24, %esp
|
|
8048d66: 83 7d 08 00 cmpl $0, 8(%ebp)
|
|
8048d6a: 74 12 je 18 <strtok+0x1e>
|
|
8048d6c: 8b 45 08 movl 8(%ebp), %eax
|
|
8048d6f: a3 a4 cd 04 08 movl %eax, 134532516
|
|
8048d74: c7 05 a8 cd 04 08 00 00 00 00 movl $0, 134532520
|
|
8048d7e: a1 a4 cd 04 08 movl 134532516, %eax
|
|
8048d83: 85 c0 testl %eax, %eax
|
|
8048d85: 74 19 je 25 <strtok+0x40>
|
|
8048d87: a1 a4 cd 04 08 movl 134532516, %eax
|
|
8048d8c: 50 pushl %eax
|
|
8048d8d: e8 de fc ff ff calll -802 <strlen>
|
|
8048d92: 83 c4 04 addl $4, %esp
|
|
8048d95: 89 c2 movl %eax, %edx
|
|
8048d97: a1 a8 cd 04 08 movl 134532520, %eax
|
|
8048d9c: 39 c2 cmpl %eax, %edx
|
|
8048d9e: 73 0a jae 10 <strtok+0x4a>
|
|
8048da0: b8 00 00 00 00 movl $0, %eax
|
|
8048da5: e9 9b 00 00 00 jmp 155 <strtok+0xe5>
|
|
8048daa: 83 ec 0c subl $12, %esp
|
|
8048dad: 6a 20 pushl $32
|
|
8048daf: e8 eb f8 ff ff calll -1813 <malloc>
|
|
8048db4: 83 c4 10 addl $16, %esp
|
|
8048db7: 89 45 f4 movl %eax, -12(%ebp)
|
|
8048dba: 8b 45 f4 movl -12(%ebp), %eax
|
|
8048dbd: c6 00 00 movb $0, (%eax)
|
|
8048dc0: c7 45 f0 20 00 00 00 movl $32, -16(%ebp)
|
|
8048dc7: eb 5c jmp 92 <strtok+0xc5>
|
|
8048dc9: 83 ec 0c subl $12, %esp
|
|
8048dcc: ff 75 f4 pushl -12(%ebp)
|
|
8048dcf: e8 9c fc ff ff calll -868 <strlen>
|
|
8048dd4: 83 c4 10 addl $16, %esp
|
|
8048dd7: 40 incl %eax
|
|
8048dd8: 39 45 f0 cmpl %eax, -16(%ebp)
|
|
8048ddb: 75 1c jne 28 <strtok+0x99>
|
|
8048ddd: 8b 45 f0 movl -16(%ebp), %eax
|
|
8048de0: 83 c0 20 addl $32, %eax
|
|
8048de3: 83 ec 08 subl $8, %esp
|
|
8048de6: 50 pushl %eax
|
|
8048de7: ff 75 f4 pushl -12(%ebp)
|
|
8048dea: e8 c1 fa ff ff calll -1343 <realloc>
|
|
8048def: 83 c4 10 addl $16, %esp
|
|
8048df2: 89 45 f4 movl %eax, -12(%ebp)
|
|
8048df5: 83 45 f0 20 addl $32, -16(%ebp)
|
|
8048df9: 8b 15 a4 cd 04 08 movl 134532516, %edx
|
|
8048dff: a1 a8 cd 04 08 movl 134532520, %eax
|
|
8048e04: 01 d0 addl %edx, %eax
|
|
8048e06: 8a 00 movb (%eax), %al
|
|
8048e08: 0f be c0 movsbl %al, %eax
|
|
8048e0b: 83 ec 08 subl $8, %esp
|
|
8048e0e: 50 pushl %eax
|
|
8048e0f: ff 75 f4 pushl -12(%ebp)
|
|
8048e12: e8 92 fe ff ff calll -366 <append>
|
|
8048e17: 83 c4 10 addl $16, %esp
|
|
8048e1a: a1 a8 cd 04 08 movl 134532520, %eax
|
|
8048e1f: 40 incl %eax
|
|
8048e20: a3 a8 cd 04 08 movl %eax, 134532520
|
|
8048e25: 83 ec 0c subl $12, %esp
|
|
8048e28: ff 75 0c pushl 12(%ebp)
|
|
8048e2b: e8 d6 fe ff ff calll -298 <strtok_delim_check>
|
|
8048e30: 83 c4 10 addl $16, %esp
|
|
8048e33: 84 c0 testb %al, %al
|
|
8048e35: 75 92 jne -110 <strtok+0x69>
|
|
8048e37: a1 a8 cd 04 08 movl 134532520, %eax
|
|
8048e3c: 40 incl %eax
|
|
8048e3d: a3 a8 cd 04 08 movl %eax, 134532520
|
|
8048e42: 8b 45 f4 movl -12(%ebp), %eax
|
|
8048e45: c9 leave
|
|
8048e46: c3 retl
|
|
|
|
yield:
|
|
8048e47: 55 pushl %ebp
|
|
8048e48: 89 e5 movl %esp, %ebp
|
|
8048e4a: b8 01 00 00 00 movl $1, %eax
|
|
8048e4f: cd 50 int $80
|
|
8048e51: 90 nop
|
|
8048e52: 5d popl %ebp
|
|
8048e53: c3 retl
|
|
|
|
createTask:
|
|
8048e54: 55 pushl %ebp
|
|
8048e55: 89 e5 movl %esp, %ebp
|
|
8048e57: 53 pushl %ebx
|
|
8048e58: 8b 45 08 movl 8(%ebp), %eax
|
|
8048e5b: 89 c3 movl %eax, %ebx
|
|
8048e5d: b8 02 00 00 00 movl $2, %eax
|
|
8048e62: cd 50 int $80
|
|
8048e64: 90 nop
|
|
8048e65: 5b popl %ebx
|
|
8048e66: 5d popl %ebp
|
|
8048e67: c3 retl
|
|
|
|
createTaskCr3:
|
|
8048e68: 55 pushl %ebp
|
|
8048e69: 89 e5 movl %esp, %ebp
|
|
8048e6b: 53 pushl %ebx
|
|
8048e6c: 8b 45 08 movl 8(%ebp), %eax
|
|
8048e6f: 8b 55 0c movl 12(%ebp), %edx
|
|
8048e72: 89 c3 movl %eax, %ebx
|
|
8048e74: 89 d1 movl %edx, %ecx
|
|
8048e76: b8 09 00 00 00 movl $9, %eax
|
|
8048e7b: cd 50 int $80
|
|
8048e7d: 90 nop
|
|
8048e7e: 5b popl %ebx
|
|
8048e7f: 5d popl %ebp
|
|
8048e80: c3 retl
|
|
|
|
createTaskCr3Param:
|
|
8048e81: 55 pushl %ebp
|
|
8048e82: 89 e5 movl %esp, %ebp
|
|
8048e84: 56 pushl %esi
|
|
8048e85: 53 pushl %ebx
|
|
8048e86: 8b 45 08 movl 8(%ebp), %eax
|
|
8048e89: 8b 4d 0c movl 12(%ebp), %ecx
|
|
8048e8c: 8b 55 10 movl 16(%ebp), %edx
|
|
8048e8f: 8b 75 14 movl 20(%ebp), %esi
|
|
8048e92: 89 c3 movl %eax, %ebx
|
|
8048e94: b8 0c 00 00 00 movl $12, %eax
|
|
8048e99: cd 50 int $80
|
|
8048e9b: 90 nop
|
|
8048e9c: 5b popl %ebx
|
|
8048e9d: 5e popl %esi
|
|
8048e9e: 5d popl %ebp
|
|
8048e9f: c3 retl
|
|
|
|
ceilf:
|
|
8048ea0: 55 pushl %ebp
|
|
8048ea1: 89 e5 movl %esp, %ebp
|
|
8048ea3: 83 ec 18 subl $24, %esp
|
|
8048ea6: d9 45 08 flds 8(%ebp)
|
|
8048ea9: d9 7d ee fnstcw -18(%ebp)
|
|
8048eac: 66 8b 45 ee movw -18(%ebp), %ax
|
|
8048eb0: 80 cc 0c orb $12, %ah
|
|
8048eb3: 66 89 45 ec movw %ax, -20(%ebp)
|
|
8048eb7: d9 6d ec fldcw -20(%ebp)
|
|
8048eba: db 5d fc fistpl -4(%ebp)
|
|
8048ebd: d9 6d ee fldcw -18(%ebp)
|
|
8048ec0: db 45 fc fildl -4(%ebp)
|
|
8048ec3: d9 45 08 flds 8(%ebp)
|
|
8048ec6: da e9 fucompp
|
|
8048ec8: df e0 fnstsw %ax
|
|
8048eca: 80 e4 45 andb $69, %ah
|
|
8048ecd: 80 f4 40 xorb $64, %ah
|
|
8048ed0: 75 05 jne 5 <ceilf+0x37>
|
|
8048ed2: db 45 fc fildl -4(%ebp)
|
|
8048ed5: eb 0a jmp 10 <ceilf+0x41>
|
|
8048ed7: 8b 45 fc movl -4(%ebp), %eax
|
|
8048eda: 40 incl %eax
|
|
8048edb: 89 45 e8 movl %eax, -24(%ebp)
|
|
8048ede: db 45 e8 fildl -24(%ebp)
|
|
8048ee1: c9 leave
|
|
8048ee2: c3 retl
|
|
|
|
ceil:
|
|
8048ee3: 55 pushl %ebp
|
|
8048ee4: 89 e5 movl %esp, %ebp
|
|
8048ee6: 83 ec 20 subl $32, %esp
|
|
8048ee9: 8b 45 08 movl 8(%ebp), %eax
|
|
8048eec: 89 45 e8 movl %eax, -24(%ebp)
|
|
8048eef: 8b 45 0c movl 12(%ebp), %eax
|
|
8048ef2: 89 45 ec movl %eax, -20(%ebp)
|
|
8048ef5: dd 45 e8 fldl -24(%ebp)
|
|
8048ef8: d9 7d e6 fnstcw -26(%ebp)
|
|
8048efb: 66 8b 45 e6 movw -26(%ebp), %ax
|
|
8048eff: 80 cc 0c orb $12, %ah
|
|
8048f02: 66 89 45 e4 movw %ax, -28(%ebp)
|
|
8048f06: d9 6d e4 fldcw -28(%ebp)
|
|
8048f09: db 5d fc fistpl -4(%ebp)
|
|
8048f0c: d9 6d e6 fldcw -26(%ebp)
|
|
8048f0f: db 45 fc fildl -4(%ebp)
|
|
8048f12: dd 45 e8 fldl -24(%ebp)
|
|
8048f15: da e9 fucompp
|
|
8048f17: df e0 fnstsw %ax
|
|
8048f19: 80 e4 45 andb $69, %ah
|
|
8048f1c: 80 f4 40 xorb $64, %ah
|
|
8048f1f: 75 05 jne 5 <ceil+0x43>
|
|
8048f21: db 45 fc fildl -4(%ebp)
|
|
8048f24: eb 0a jmp 10 <ceil+0x4d>
|
|
8048f26: 8b 45 fc movl -4(%ebp), %eax
|
|
8048f29: 40 incl %eax
|
|
8048f2a: 89 45 e0 movl %eax, -32(%ebp)
|
|
8048f2d: db 45 e0 fildl -32(%ebp)
|
|
8048f30: c9 leave
|
|
8048f31: c3 retl
|
|
|
|
alloc_memory:
|
|
8048f32: 55 pushl %ebp
|
|
8048f33: 89 e5 movl %esp, %ebp
|
|
8048f35: 53 pushl %ebx
|
|
8048f36: 83 ec 10 subl $16, %esp
|
|
8048f39: 8b 45 08 movl 8(%ebp), %eax
|
|
8048f3c: 89 c3 movl %eax, %ebx
|
|
8048f3e: b8 03 00 00 00 movl $3, %eax
|
|
8048f43: cd 50 int $80
|
|
8048f45: 89 d8 movl %ebx, %eax
|
|
8048f47: 89 45 f8 movl %eax, -8(%ebp)
|
|
8048f4a: 8b 45 f8 movl -8(%ebp), %eax
|
|
8048f4d: 83 c4 10 addl $16, %esp
|
|
8048f50: 5b popl %ebx
|
|
8048f51: 5d popl %ebp
|
|
8048f52: c3 retl
|
|
|
|
alloc_memory_virt:
|
|
8048f53: 55 pushl %ebp
|
|
8048f54: 89 e5 movl %esp, %ebp
|
|
8048f56: 53 pushl %ebx
|
|
8048f57: 8b 45 08 movl 8(%ebp), %eax
|
|
8048f5a: 8b 55 0c movl 12(%ebp), %edx
|
|
8048f5d: 89 c3 movl %eax, %ebx
|
|
8048f5f: 89 d1 movl %edx, %ecx
|
|
8048f61: b8 04 00 00 00 movl $4, %eax
|
|
8048f66: cd 50 int $80
|
|
8048f68: 90 nop
|
|
8048f69: 5b popl %ebx
|
|
8048f6a: 5d popl %ebp
|
|
8048f6b: c3 retl
|
|
|
|
new_address_space:
|
|
8048f6c: 55 pushl %ebp
|
|
8048f6d: 89 e5 movl %esp, %ebp
|
|
8048f6f: 53 pushl %ebx
|
|
8048f70: 83 ec 10 subl $16, %esp
|
|
8048f73: b8 08 00 00 00 movl $8, %eax
|
|
8048f78: cd 50 int $80
|
|
8048f7a: 89 d8 movl %ebx, %eax
|
|
8048f7c: 89 45 f8 movl %eax, -8(%ebp)
|
|
8048f7f: 8b 45 f8 movl -8(%ebp), %eax
|
|
8048f82: 83 c4 10 addl $16, %esp
|
|
8048f85: 5b popl %ebx
|
|
8048f86: 5d popl %ebp
|
|
8048f87: c3 retl
|
|
|
|
copy_data:
|
|
8048f88: 55 pushl %ebp
|
|
8048f89: 89 e5 movl %esp, %ebp
|
|
8048f8b: 56 pushl %esi
|
|
8048f8c: 53 pushl %ebx
|
|
8048f8d: 8b 45 08 movl 8(%ebp), %eax
|
|
8048f90: 8b 4d 0c movl 12(%ebp), %ecx
|
|
8048f93: 8b 55 10 movl 16(%ebp), %edx
|
|
8048f96: 8b 75 14 movl 20(%ebp), %esi
|
|
8048f99: 89 c3 movl %eax, %ebx
|
|
8048f9b: b8 0a 00 00 00 movl $10, %eax
|
|
8048fa0: cd 50 int $80
|
|
8048fa2: 90 nop
|
|
8048fa3: 5b popl %ebx
|
|
8048fa4: 5e popl %esi
|
|
8048fa5: 5d popl %ebp
|
|
8048fa6: c3 retl
|
|
|
|
put_data:
|
|
8048fa7: 55 pushl %ebp
|
|
8048fa8: 89 e5 movl %esp, %ebp
|
|
8048faa: 53 pushl %ebx
|
|
8048fab: 83 ec 10 subl $16, %esp
|
|
8048fae: 8b 45 08 movl 8(%ebp), %eax
|
|
8048fb1: 8b 4d 0c movl 12(%ebp), %ecx
|
|
8048fb4: 8b 55 10 movl 16(%ebp), %edx
|
|
8048fb7: 89 c3 movl %eax, %ebx
|
|
8048fb9: b8 0d 00 00 00 movl $13, %eax
|
|
8048fbe: cd 50 int $80
|
|
8048fc0: 89 d8 movl %ebx, %eax
|
|
8048fc2: 89 45 f8 movl %eax, -8(%ebp)
|
|
8048fc5: 8b 45 f8 movl -8(%ebp), %eax
|
|
8048fc8: 83 c4 10 addl $16, %esp
|
|
8048fcb: 5b popl %ebx
|
|
8048fcc: 5d popl %ebp
|
|
8048fcd: c3 retl
|
|
|
|
map_phys:
|
|
8048fce: 55 pushl %ebp
|
|
8048fcf: 89 e5 movl %esp, %ebp
|
|
8048fd1: 53 pushl %ebx
|
|
8048fd2: 83 ec 10 subl $16, %esp
|
|
8048fd5: 8b 45 08 movl 8(%ebp), %eax
|
|
8048fd8: 8b 55 0c movl 12(%ebp), %edx
|
|
8048fdb: 89 c3 movl %eax, %ebx
|
|
8048fdd: 89 d1 movl %edx, %ecx
|
|
8048fdf: b8 0b 00 00 00 movl $11, %eax
|
|
8048fe4: cd 50 int $80
|
|
8048fe6: 89 d8 movl %ebx, %eax
|
|
8048fe8: 89 45 f8 movl %eax, -8(%ebp)
|
|
8048feb: 8b 45 f8 movl -8(%ebp), %eax
|
|
8048fee: 83 c4 10 addl $16, %esp
|
|
8048ff1: 5b popl %ebx
|
|
8048ff2: 5d popl %ebp
|
|
8048ff3: c3 retl
|