Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 306941 Details for
Bug 448743
O2 optimization fails to generate code for statement
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
disassembled machine code with annotations
packet.asm (text/plain), 5.83 KB, created by
John Dennis
on 2008-05-28 15:22:38 UTC
(
hide
)
Description:
disassembled machine code with annotations
Filename:
MIME Type:
Creator:
John Dennis
Created:
2008-05-28 15:22:38 UTC
Size:
5.83 KB
patch
obsolete
>% gdb packet.o >(gdb) file packet.o >Reading symbols from /home/jdennis/src/fedora/freeradius/F-9/packet.o...done. >(gdb) disassemble fr_socket >Dump of assembler code for function fr_socket: >0x00000fb0 <fr_socket+0>: push %ebp >0x00000fb1 <fr_socket+1>: mov %esp,%ebp >0x00000fb3 <fr_socket+3>: sub $0xb8,%esp >0x00000fb9 <fr_socket+9>: mov %ebx,-0xc(%ebp) >0x00000fbc <fr_socket+12>: mov %gs:0x14,%eax >0x00000fc2 <fr_socket+18>: mov %eax,-0x10(%ebp) >0x00000fc5 <fr_socket+21>: xor %eax,%eax >0x00000fc7 <fr_socket+23>: call 0xfc8 <fr_socket+24> >0x00000fcc <fr_socket+28>: add $0x2,%ebx >0x00000fd2 <fr_socket+34>: cmpl $0xffff,0xc(%ebp) >0x00000fd9 <fr_socket+41>: mov %esi,-0x8(%ebp) >0x00000fdc <fr_socket+44>: mov 0x8(%ebp),%esi >0x00000fdf <fr_socket+47>: mov %edi,-0x4(%ebp) >0x00000fe2 <fr_socket+50>: ja 0x1138 <fr_socket+392> >0x00000fe8 <fr_socket+56>: movl $0x0,0x8(%esp) >0x00000ff0 <fr_socket+64>: movl $0x2,0x4(%esp) >0x00000ff8 <fr_socket+72>: mov (%esi),%eax >0x00000ffa <fr_socket+74>: mov %eax,(%esp) >0x00000ffd <fr_socket+77>: call 0xffe <fr_socket+78> >0x00001002 <fr_socket+82>: test %eax,%eax >0x00001004 <fr_socket+84>: mov %eax,-0xa4(%ebp) # sockfd >0x0000100a <fr_socket+90>: js 0x102d <fr_socket+125> 187: if (sockfd) < 0) { >0x0000100c <fr_socket+92>: xor %eax,%eax >0x0000100e <fr_socket+94>: mov $0x20,%ecx >0x00001013 <fr_socket+99>: lea -0x90(%ebp),%edi >0x00001019 <fr_socket+105>: mov %edi,-0xa0(%ebp) >0x0000101f <fr_socket+111>: rep stos %eax,%es:(%edi) 201: memset(&salocal, 0, sizeof(salocal)); >0x00001021 <fr_socket+113>: mov (%esi),%eax >0x00001023 <fr_socket+115>: cmp $0x2,%eax 202: if (ipaddr->af == AF_INET) { >0x00001026 <fr_socket+118>: je 0x1050 <fr_socket+160> >0x00001028 <fr_socket+120>: cmp $0xa,%eax >0x0000102b <fr_socket+123>: je 0x10a0 <fr_socket+240> >0x0000102d <fr_socket+125>: mov -0x10(%ebp),%edx >0x00001030 <fr_socket+128>: xor %gs:0x14,%edx >0x00001037 <fr_socket+135>: mov -0xa4(%ebp),%eax >0x0000103d <fr_socket+141>: jne 0x115c <fr_socket+428> >0x00001043 <fr_socket+147>: mov -0xc(%ebp),%ebx >0x00001046 <fr_socket+150>: mov -0x8(%ebp),%esi >0x00001049 <fr_socket+153>: mov -0x4(%ebp),%edi >0x0000104c <fr_socket+156>: mov %ebp,%esp >0x0000104e <fr_socket+158>: pop %ebp >0x0000104f <fr_socket+159>: ret >0x00001050 <fr_socket+160>: movw $0x2,-0x90(%ebp) 206: sa->sin_family = AF_INET; >0x00001059 <fr_socket+169>: mov 0x4(%esi),%eax >0x0000105c <fr_socket+172>: mov %eax,-0x8c(%ebp) 207: sa->sin_addr = ipaddr->ipaddr.ip4addr; >0x00001062 <fr_socket+178>: mov $0x10,%eax 209: salen = sizeof(*sa); >0x00001067 <fr_socket+183>: mov -0xa0(%ebp),%edx # &salocal >0x0000106d <fr_socket+189>: mov -0xa4(%ebp),%edi # sockfd >0x00001073 <fr_socket+195>: mov %eax,0x8(%esp) # salen >0x00001077 <fr_socket+199>: mov %edx,0x4(%esp) # &salocal >0x0000107b <fr_socket+203>: mov %edi,(%esp) # sockfd >0x0000107e <fr_socket+206>: call 0x107f <fr_socket+207> 243: if (bind(sockfd, (struct sockaddr *) &salocal, salen) < 0) { >0x00001083 <fr_socket+211>: test %eax,%eax >0x00001085 <fr_socket+213>: jns 0x102d <fr_socket+125> >0x00001087 <fr_socket+215>: mov %edi,(%esp) >0x0000108a <fr_socket+218>: call 0x108b <fr_socket+219> >0x0000108f <fr_socket+223>: movl $0xffffffff,-0xa4(%ebp) >0x00001099 <fr_socket+233>: jmp 0x102d <fr_socket+125> >0x0000109b <fr_socket+235>: nop >0x0000109c <fr_socket+236>: lea 0x0(%esi,%eiz,1),%esi >0x000010a0 <fr_socket+240>: movw $0xa,-0x90(%ebp) 216: sa->sin6_family = AF_INET6; >0x000010a9 <fr_socket+249>: mov 0x4(%esi),%eax >0x000010ac <fr_socket+252>: mov %eax,-0x88(%ebp) >0x000010b2 <fr_socket+258>: mov 0x8(%esi),%eax >0x000010b5 <fr_socket+261>: mov %eax,-0x84(%ebp) >0x000010bb <fr_socket+267>: mov 0xc(%esi),%eax >0x000010be <fr_socket+270>: mov %eax,-0x80(%ebp) >0x000010c1 <fr_socket+273>: mov 0x10(%esi),%eax >0x000010c4 <fr_socket+276>: mov %eax,-0x7c(%ebp) >0x000010c7 <fr_socket+279>: mov 0x4(%esi),%edx >0x000010ca <fr_socket+282>: test %edx,%edx >0x000010cc <fr_socket+284>: jne 0x1128 <fr_socket+376> >0x000010ce <fr_socket+286>: mov 0x8(%esi),%eax >0x000010d1 <fr_socket+289>: test %eax,%eax >0x000010d3 <fr_socket+291>: jne 0x1128 <fr_socket+376> >0x000010d5 <fr_socket+293>: mov 0xc(%esi),%eax >0x000010d8 <fr_socket+296>: test %eax,%eax >0x000010da <fr_socket+298>: jne 0x1128 <fr_socket+376> >0x000010dc <fr_socket+300>: mov 0x10(%esi),%eax >0x000010df <fr_socket+303>: test %eax,%eax >0x000010e1 <fr_socket+305>: jne 0x1128 <fr_socket+376> >0x000010e3 <fr_socket+307>: lea -0x94(%ebp),%eax >0x000010e9 <fr_socket+313>: mov %eax,0xc(%esp) >0x000010ed <fr_socket+317>: mov -0xa4(%ebp),%eax >0x000010f3 <fr_socket+323>: movl $0x1,-0x94(%ebp) >0x000010fd <fr_socket+333>: movl $0x4,0x10(%esp) >0x00001105 <fr_socket+341>: movl $0x1a,0x8(%esp) >0x0000110d <fr_socket+349>: movl $0x29,0x4(%esp) >0x00001115 <fr_socket+357>: mov %eax,(%esp) >0x00001118 <fr_socket+360>: call 0x1119 <fr_socket+361> >0x0000111d <fr_socket+365>: mov $0x1c,%eax 219: salen = sizeof(*sa); note: sa == sockaddr_in6 >0x00001122 <fr_socket+370>: jmp 0x1067 <fr_socket+183> >0x00001127 <fr_socket+375>: nop >0x00001128 <fr_socket+376>: mov $0x1c,%eax 219: salen = sizeof(*sa); note: sa == sockaddr_in6 >0x0000112d <fr_socket+381>: jmp 0x1067 <fr_socket+183> >0x00001132 <fr_socket+386>: lea 0x0(%esi),%esi >0x00001138 <fr_socket+392>: mov 0xc(%ebp),%edx >0x0000113b <fr_socket+395>: lea 0x0(%ebx),%eax >0x00001141 <fr_socket+401>: mov %eax,(%esp) >0x00001144 <fr_socket+404>: mov %edx,0x4(%esp) >0x00001148 <fr_socket+408>: call 0x1149 <fr_socket+409> >0x0000114d <fr_socket+413>: movl $0xffffffff,-0xa4(%ebp) >0x00001157 <fr_socket+423>: jmp 0x102d <fr_socket+125> >0x0000115c <fr_socket+428>: call 0x115d <fr_socket+429> >End of assembler dump. >(gdb) >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 448743
:
306938
|
306939
|
306940
| 306941