All pastes #1598790 Raw Edit

Miscellany

public text v1 · immutable
#1598790 ·published 2009-10-06 17:03 UTC
rendered paste body
./test2:     file format elf32-i386


Disassembly of section .init:

08048298 <_init>:
 8048298:	55                   	push   %ebp
 8048299:	89 e5                	mov    %esp,%ebp
 804829b:	53                   	push   %ebx
 804829c:	83 ec 04             	sub    $0x4,%esp
 804829f:	e8 00 00 00 00       	call   80482a4 <_init+0xc>
 80482a4:	5b                   	pop    %ebx
 80482a5:	81 c3 50 1d 00 00    	add    $0x1d50,%ebx
 80482ab:	8b 93 fc ff ff ff    	mov    -0x4(%ebx),%edx
 80482b1:	85 d2                	test   %edx,%edx
 80482b3:	74 05                	je     80482ba <_init+0x22>
 80482b5:	e8 1e 00 00 00       	call   80482d8 <__gmon_start__@plt>
 80482ba:	e8 e1 00 00 00       	call   80483a0 <frame_dummy>
 80482bf:	e8 0c 02 00 00       	call   80484d0 <__do_global_ctors_aux>
 80482c4:	58                   	pop    %eax
 80482c5:	5b                   	pop    %ebx
 80482c6:	c9                   	leave  
 80482c7:	c3                   	ret    

Disassembly of section .plt:

080482c8 <__gmon_start__@plt-0x10>:
 80482c8:	ff 35 f8 9f 04 08    	pushl  0x8049ff8
 80482ce:	ff 25 fc 9f 04 08    	jmp    *0x8049ffc
 80482d4:	00 00                	add    %al,(%eax)
	...

080482d8 <__gmon_start__@plt>:
 80482d8:	ff 25 00 a0 04 08    	jmp    *0x804a000
 80482de:	68 00 00 00 00       	push   $0x0
 80482e3:	e9 e0 ff ff ff       	jmp    80482c8 <_init+0x30>

080482e8 <__libc_start_main@plt>:
 80482e8:	ff 25 04 a0 04 08    	jmp    *0x804a004
 80482ee:	68 08 00 00 00       	push   $0x8
 80482f3:	e9 d0 ff ff ff       	jmp    80482c8 <_init+0x30>

080482f8 <printf@plt>:
 80482f8:	ff 25 08 a0 04 08    	jmp    *0x804a008
 80482fe:	68 10 00 00 00       	push   $0x10
 8048303:	e9 c0 ff ff ff       	jmp    80482c8 <_init+0x30>

Disassembly of section .text:

08048310 <_start>:
 8048310:	31 ed                	xor    %ebp,%ebp
 8048312:	5e                   	pop    %esi
 8048313:	89 e1                	mov    %esp,%ecx
 8048315:	83 e4 f0             	and    $0xfffffff0,%esp
 8048318:	50                   	push   %eax
 8048319:	54                   	push   %esp
 804831a:	52                   	push   %edx
 804831b:	68 60 84 04 08       	push   $0x8048460
 8048320:	68 70 84 04 08       	push   $0x8048470
 8048325:	51                   	push   %ecx
 8048326:	56                   	push   %esi
 8048327:	68 c4 83 04 08       	push   $0x80483c4
 804832c:	e8 b7 ff ff ff       	call   80482e8 <__libc_start_main@plt>
 8048331:	f4                   	hlt    
 8048332:	90                   	nop    
 8048333:	90                   	nop    
 8048334:	90                   	nop    
 8048335:	90                   	nop    
 8048336:	90                   	nop    
 8048337:	90                   	nop    
 8048338:	90                   	nop    
 8048339:	90                   	nop    
 804833a:	90                   	nop    
 804833b:	90                   	nop    
 804833c:	90                   	nop    
 804833d:	90                   	nop    
 804833e:	90                   	nop    
 804833f:	90                   	nop    

08048340 <__do_global_dtors_aux>:
 8048340:	55                   	push   %ebp
 8048341:	89 e5                	mov    %esp,%ebp
 8048343:	53                   	push   %ebx
 8048344:	83 ec 04             	sub    $0x4,%esp
 8048347:	80 3d 14 a0 04 08 00 	cmpb   $0x0,0x804a014
 804834e:	75 40                	jne    8048390 <__do_global_dtors_aux+0x50>
 8048350:	8b 15 18 a0 04 08    	mov    0x804a018,%edx
 8048356:	b8 18 9f 04 08       	mov    $0x8049f18,%eax
 804835b:	2d 14 9f 04 08       	sub    $0x8049f14,%eax
 8048360:	c1 f8 02             	sar    $0x2,%eax
 8048363:	8d 58 ff             	lea    -0x1(%eax),%ebx
 8048366:	39 da                	cmp    %ebx,%edx
 8048368:	73 1f                	jae    8048389 <__do_global_dtors_aux+0x49>
 804836a:	8d b6 00 00 00 00    	lea    0x0(%esi),%esi
 8048370:	8d 42 01             	lea    0x1(%edx),%eax
 8048373:	a3 18 a0 04 08       	mov    %eax,0x804a018
 8048378:	ff 14 85 14 9f 04 08 	call   *0x8049f14(,%eax,4)
 804837f:	8b 15 18 a0 04 08    	mov    0x804a018,%edx
 8048385:	39 da                	cmp    %ebx,%edx
 8048387:	72 e7                	jb     8048370 <__do_global_dtors_aux+0x30>
 8048389:	c6 05 14 a0 04 08 01 	movb   $0x1,0x804a014
 8048390:	83 c4 04             	add    $0x4,%esp
 8048393:	5b                   	pop    %ebx
 8048394:	5d                   	pop    %ebp
 8048395:	c3                   	ret    
 8048396:	8d 76 00             	lea    0x0(%esi),%esi
 8048399:	8d bc 27 00 00 00 00 	lea    0x0(%edi,%eiz,1),%edi

080483a0 <frame_dummy>:
 80483a0:	55                   	push   %ebp
 80483a1:	89 e5                	mov    %esp,%ebp
 80483a3:	83 ec 08             	sub    $0x8,%esp
 80483a6:	a1 1c 9f 04 08       	mov    0x8049f1c,%eax
 80483ab:	85 c0                	test   %eax,%eax
 80483ad:	74 12                	je     80483c1 <frame_dummy+0x21>
 80483af:	b8 00 00 00 00       	mov    $0x0,%eax
 80483b4:	85 c0                	test   %eax,%eax
 80483b6:	74 09                	je     80483c1 <frame_dummy+0x21>
 80483b8:	c7 04 24 1c 9f 04 08 	movl   $0x8049f1c,(%esp)
 80483bf:	ff d0                	call   *%eax
 80483c1:	c9                   	leave  
 80483c2:	c3                   	ret    
 80483c3:	90                   	nop    

080483c4 <main>:
 80483c4:	8d 4c 24 04          	lea    0x4(%esp),%ecx
 80483c8:	83 e4 f0             	and    $0xfffffff0,%esp
 80483cb:	ff 71 fc             	pushl  -0x4(%ecx)
 80483ce:	55                   	push   %ebp
 80483cf:	89 e5                	mov    %esp,%ebp
 80483d1:	51                   	push   %ecx
 80483d2:	83 ec 74             	sub    $0x74,%esp
 80483d5:	b8 00 00 80 3f       	mov    $0x3f800000,%eax
 80483da:	89 45 e8             	mov    %eax,-0x18(%ebp)
 80483dd:	b8 00 00 00 40       	mov    $0x40000000,%eax
 80483e2:	89 45 ec             	mov    %eax,-0x14(%ebp)
 80483e5:	b8 00 00 40 40       	mov    $0x40400000,%eax
 80483ea:	89 45 f0             	mov    %eax,-0x10(%ebp)
 80483ed:	b8 00 00 80 40       	mov    $0x40800000,%eax
 80483f2:	89 45 f4             	mov    %eax,-0xc(%ebp)
 80483f5:	b8 00 00 a0 40       	mov    $0x40a00000,%eax
 80483fa:	89 45 d8             	mov    %eax,-0x28(%ebp)
 80483fd:	b8 00 00 c0 40       	mov    $0x40c00000,%eax
 8048402:	89 45 dc             	mov    %eax,-0x24(%ebp)
 8048405:	b8 00 00 e0 40       	mov    $0x40e00000,%eax
 804840a:	89 45 e0             	mov    %eax,-0x20(%ebp)
 804840d:	b8 00 00 00 41       	mov    $0x41000000,%eax
 8048412:	89 45 e4             	mov    %eax,-0x1c(%ebp)
 8048415:	66 0f 6f 4d e8       	movdqa -0x18(%ebp),%xmm1
 804841a:	66 0f 6f 45 d8       	movdqa -0x28(%ebp),%xmm0
 804841f:	66 0f fe c1          	paddd  %xmm1,%xmm0
 8048423:	66 0f 7f 45 c8       	movdqa %xmm0,-0x38(%ebp)
 8048428:	d9 45 d4             	flds   -0x2c(%ebp)
 804842b:	d9 45 d0             	flds   -0x30(%ebp)
 804842e:	d9 45 cc             	flds   -0x34(%ebp)
 8048431:	d9 45 c8             	flds   -0x38(%ebp)
 8048434:	d9 cb                	fxch   %st(3)
 8048436:	dd 5c 24 1c          	fstpl  0x1c(%esp)
 804843a:	d9 c9                	fxch   %st(1)
 804843c:	dd 5c 24 14          	fstpl  0x14(%esp)
 8048440:	dd 5c 24 0c          	fstpl  0xc(%esp)
 8048444:	dd 5c 24 04          	fstpl  0x4(%esp)
 8048448:	c7 04 24 20 85 04 08 	movl   $0x8048520,(%esp)
 804844f:	e8 a4 fe ff ff       	call   80482f8 <printf@plt>
 8048454:	83 c4 74             	add    $0x74,%esp
 8048457:	59                   	pop    %ecx
 8048458:	5d                   	pop    %ebp
 8048459:	8d 61 fc             	lea    -0x4(%ecx),%esp
 804845c:	c3                   	ret    
 804845d:	90                   	nop    
 804845e:	90                   	nop    
 804845f:	90                   	nop    

08048460 <__libc_csu_fini>:
 8048460:	55                   	push   %ebp
 8048461:	89 e5                	mov    %esp,%ebp
 8048463:	5d                   	pop    %ebp
 8048464:	c3                   	ret    
 8048465:	8d 74 26 00          	lea    0x0(%esi,%eiz,1),%esi
 8048469:	8d bc 27 00 00 00 00 	lea    0x0(%edi,%eiz,1),%edi

08048470 <__libc_csu_init>:
 8048470:	55                   	push   %ebp
 8048471:	89 e5                	mov    %esp,%ebp
 8048473:	57                   	push   %edi
 8048474:	56                   	push   %esi
 8048475:	53                   	push   %ebx
 8048476:	e8 4f 00 00 00       	call   80484ca <__i686.get_pc_thunk.bx>
 804847b:	81 c3 79 1b 00 00    	add    $0x1b79,%ebx
 8048481:	83 ec 0c             	sub    $0xc,%esp
 8048484:	e8 0f fe ff ff       	call   8048298 <_init>
 8048489:	8d bb 18 ff ff ff    	lea    -0xe8(%ebx),%edi
 804848f:	8d 83 18 ff ff ff    	lea    -0xe8(%ebx),%eax
 8048495:	29 c7                	sub    %eax,%edi
 8048497:	c1 ff 02             	sar    $0x2,%edi
 804849a:	85 ff                	test   %edi,%edi
 804849c:	74 24                	je     80484c2 <__libc_csu_init+0x52>
 804849e:	31 f6                	xor    %esi,%esi
 80484a0:	8b 45 10             	mov    0x10(%ebp),%eax
 80484a3:	89 44 24 08          	mov    %eax,0x8(%esp)
 80484a7:	8b 45 0c             	mov    0xc(%ebp),%eax
 80484aa:	89 44 24 04          	mov    %eax,0x4(%esp)
 80484ae:	8b 45 08             	mov    0x8(%ebp),%eax
 80484b1:	89 04 24             	mov    %eax,(%esp)
 80484b4:	ff 94 b3 18 ff ff ff 	call   *-0xe8(%ebx,%esi,4)
 80484bb:	83 c6 01             	add    $0x1,%esi
 80484be:	39 fe                	cmp    %edi,%esi
 80484c0:	72 de                	jb     80484a0 <__libc_csu_init+0x30>
 80484c2:	83 c4 0c             	add    $0xc,%esp
 80484c5:	5b                   	pop    %ebx
 80484c6:	5e                   	pop    %esi
 80484c7:	5f                   	pop    %edi
 80484c8:	5d                   	pop    %ebp
 80484c9:	c3                   	ret    

080484ca <__i686.get_pc_thunk.bx>:
 80484ca:	8b 1c 24             	mov    (%esp),%ebx
 80484cd:	c3                   	ret    
 80484ce:	90                   	nop    
 80484cf:	90                   	nop    

080484d0 <__do_global_ctors_aux>:
 80484d0:	55                   	push   %ebp
 80484d1:	89 e5                	mov    %esp,%ebp
 80484d3:	53                   	push   %ebx
 80484d4:	83 ec 04             	sub    $0x4,%esp
 80484d7:	a1 0c 9f 04 08       	mov    0x8049f0c,%eax
 80484dc:	83 f8 ff             	cmp    $0xffffffff,%eax
 80484df:	74 13                	je     80484f4 <__do_global_ctors_aux+0x24>
 80484e1:	bb 0c 9f 04 08       	mov    $0x8049f0c,%ebx
 80484e6:	66 90                	xchg   %ax,%ax
 80484e8:	83 eb 04             	sub    $0x4,%ebx
 80484eb:	ff d0                	call   *%eax
 80484ed:	8b 03                	mov    (%ebx),%eax
 80484ef:	83 f8 ff             	cmp    $0xffffffff,%eax
 80484f2:	75 f4                	jne    80484e8 <__do_global_ctors_aux+0x18>
 80484f4:	83 c4 04             	add    $0x4,%esp
 80484f7:	5b                   	pop    %ebx
 80484f8:	5d                   	pop    %ebp
 80484f9:	c3                   	ret    
 80484fa:	90                   	nop    
 80484fb:	90                   	nop    

Disassembly of section .fini:

080484fc <_fini>:
 80484fc:	55                   	push   %ebp
 80484fd:	89 e5                	mov    %esp,%ebp
 80484ff:	53                   	push   %ebx
 8048500:	83 ec 04             	sub    $0x4,%esp
 8048503:	e8 00 00 00 00       	call   8048508 <_fini+0xc>
 8048508:	5b                   	pop    %ebx
 8048509:	81 c3 ec 1a 00 00    	add    $0x1aec,%ebx
 804850f:	e8 2c fe ff ff       	call   8048340 <__do_global_dtors_aux>
 8048514:	59                   	pop    %ecx
 8048515:	5b                   	pop    %ebx
 8048516:	c9                   	leave  
 8048517:	c3                   	ret