Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cory@cory-cnc:~$ objdump -d /home/cory/emc/emc2-dev/src/hal/drivers/mesa-hostmot2/bitfile.o
- /home/cory/emc/emc2-dev/src/hal/drivers/mesa-hostmot2/bitfile.o: file format elf64-x86-64
- Disassembly of section .text:
- 0000000000000000 <bitfile_reverse_bits_of_chunk>:
- 0: 55 push %rbp
- 1: 31 c0 xor %eax,%eax
- 3: 48 89 e5 mov %rsp,%rbp
- 6: eb 14 jmp 1c <bitfile_reverse_bits_of_chunk+0x1c>
- 8: 48 63 d0 movslq %eax,%rdx
- b: 48 03 57 08 add 0x8(%rdi),%rdx
- f: ff c0 inc %eax
- 11: 0f b6 0a movzbl (%rdx),%ecx
- 14: 8a 89 00 00 00 00 mov 0x0(%rcx),%cl
- 1a: 88 0a mov %cl,(%rdx)
- 1c: 3b 07 cmp (%rdi),%eax
- 1e: 7c e8 jl 8 <bitfile_reverse_bits_of_chunk+0x8>
- 20: c9 leaveq
- 21: c3 retq
- 0000000000000022 <bitfile_do_small_chunk>:
- 22: 8b 0a mov (%rdx),%ecx
- 24: 55 push %rbp
- 25: 48 89 e5 mov %rsp,%rbp
- 28: 8d 41 02 lea 0x2(%rcx),%eax
- 2b: 48 98 cltq
- 2d: 48 3b 07 cmp (%rdi),%rax
- 30: 77 30 ja 62 <bitfile_do_small_chunk+0x40>
- 32: 4c 8b 47 08 mov 0x8(%rdi),%r8
- 36: 48 63 c9 movslq %ecx,%rcx
- 39: 41 0f b6 04 08 movzbl (%r8,%rcx,1),%eax
- 3e: 45 0f b6 4c 08 01 movzbl 0x1(%r8,%rcx,1),%r9d
- 44: c1 e0 08 shl $0x8,%eax
- 47: 41 8d 04 01 lea (%r9,%rax,1),%eax
- 4b: 89 06 mov %eax,(%rsi)
- 4d: 8b 02 mov (%rdx),%eax
- 4f: 83 c0 02 add $0x2,%eax
- 52: 89 02 mov %eax,(%rdx)
- 54: 8b 0e mov (%rsi),%ecx
- 56: 44 8d 04 08 lea (%rax,%rcx,1),%r8d
- 5a: 4d 63 c0 movslq %r8d,%r8
- 5d: 4c 3b 07 cmp (%rdi),%r8
- 60: 76 15 jbe 77 <bitfile_do_small_chunk+0x55>
- 62: 31 c0 xor %eax,%eax
- 64: 48 c7 c7 00 00 00 00 mov $0x0,%rdi
- 6b: e8 00 00 00 00 callq 70 <bitfile_do_small_chunk+0x4e>
- 70: b8 c3 ff ff ff mov $0xffffffc3,%eax
- 75: eb 2d jmp a4 <bitfile_do_small_chunk+0x82>
- 77: 48 98 cltq
- 79: 48 03 47 08 add 0x8(%rdi),%rax
- 7d: 48 89 46 08 mov %rax,0x8(%rsi)
- 81: 48 63 f1 movslq %ecx,%rsi
- 84: 80 7c 30 ff 00 cmpb $0x0,-0x1(%rax,%rsi,1)
- 89: 74 15 je a0 <bitfile_do_small_chunk+0x7e>
- 8b: 31 c0 xor %eax,%eax
- 8d: 48 c7 c7 00 00 00 00 mov $0x0,%rdi
- 94: e8 00 00 00 00 callq 99 <bitfile_do_small_chunk+0x77>
- 99: b8 ea ff ff ff mov $0xffffffea,%eax
- 9e: eb 04 jmp a4 <bitfile_do_small_chunk+0x82>
- a0: 01 0a add %ecx,(%rdx)
- a2: 31 c0 xor %eax,%eax
- a4: c9 leaveq
- a5: c3 retq
- 00000000000000a6 <bitfile_parse_and_verify>:
- a6: 55 push %rbp
- a7: b9 0d 00 00 00 mov $0xd,%ecx
- ac: 48 89 e5 mov %rsp,%rbp
- af: 41 57 push %r15
- b1: 41 56 push %r14
- b3: 41 55 push %r13
- b5: 41 54 push %r12
- b7: 49 89 fc mov %rdi,%r12
- ba: 48 8d 7d b0 lea -0x50(%rbp),%rdi
- be: 53 push %rbx
- bf: 48 89 f3 mov %rsi,%rbx
- c2: 48 c7 c6 00 00 00 00 mov $0x0,%rsi
- c9: 48 83 ec 48 sub $0x48,%rsp
- cd: 65 48 8b 04 25 28 00 mov %gs:0x28,%rax
- d4: 00 00
- d6: 48 89 45 c8 mov %rax,-0x38(%rbp)
- da: 31 c0 xor %eax,%eax
- dc: f3 a4 rep movsb %ds:(%rsi),%es:(%rdi)
- de: c7 03 00 00 00 00 movl $0x0,(%rbx)
- e4: 48 c7 43 08 00 00 00 movq $0x0,0x8(%rbx)
- eb: 00
- ec: 48 c7 c7 00 00 00 00 mov $0x0,%rdi
- f3: c7 43 10 00 00 00 00 movl $0x0,0x10(%rbx)
- fa: 48 c7 43 18 00 00 00 movq $0x0,0x18(%rbx)
- 101: 00
- 102: c7 43 20 00 00 00 00 movl $0x0,0x20(%rbx)
- 109: 48 c7 43 28 00 00 00 movq $0x0,0x28(%rbx)
- 110: 00
- 111: c7 43 30 00 00 00 00 movl $0x0,0x30(%rbx)
- 118: 48 c7 43 38 00 00 00 movq $0x0,0x38(%rbx)
- 11f: 00
- 120: c7 43 40 00 00 00 00 movl $0x0,0x40(%rbx)
- 127: 48 c7 43 48 00 00 00 movq $0x0,0x48(%rbx)
- 12e: 00
- 12f: 49 83 3c 24 0c cmpq $0xc,(%r12)
- 134: 0f 86 fd 00 00 00 jbe 237 <bitfile_parse_and_verify+0x191>
- 13a: c7 45 ac 00 00 00 00 movl $0x0,-0x54(%rbp)
- 141: eb 22 jmp 165 <bitfile_parse_and_verify+0xbf>
- 143: 49 8b 4c 24 08 mov 0x8(%r12),%rcx
- 148: 48 63 d0 movslq %eax,%rdx
- 14b: 8a 0c 11 mov (%rcx,%rdx,1),%cl
- 14e: 3a 4c 15 b0 cmp -0x50(%rbp,%rdx,1),%cl
- 152: 74 0c je 160 <bitfile_parse_and_verify+0xba>
- 154: 48 c7 c7 00 00 00 00 mov $0x0,%rdi
- 15b: e9 25 01 00 00 jmpq 285 <bitfile_parse_and_verify+0x1df>
- 160: ff c0 inc %eax
- 162: 89 45 ac mov %eax,-0x54(%rbp)
- 165: 8b 45 ac mov -0x54(%rbp),%eax
- 168: 83 f8 0c cmp $0xc,%eax
- 16b: 7e d6 jle 143 <bitfile_parse_and_verify+0x9d>
- 16d: 48 8d 53 10 lea 0x10(%rbx),%rdx
- 171: 4c 8d 7b 20 lea 0x20(%rbx),%r15
- 175: 4c 8d 73 30 lea 0x30(%rbx),%r14
- 179: 4c 8d 6d ac lea -0x54(%rbp),%r13
- 17d: 48 89 55 98 mov %rdx,-0x68(%rbp)
- 181: e9 e1 00 00 00 jmpq 267 <bitfile_parse_and_verify+0x1c1>
- 186: 49 8b 4c 24 08 mov 0x8(%r12),%rcx
- 18b: ff c0 inc %eax
- 18d: 40 8a 34 11 mov (%rcx,%rdx,1),%sil
- 191: 89 45 ac mov %eax,-0x54(%rbp)
- 194: 8d 56 9f lea -0x61(%rsi),%edx
- 197: 80 fa 04 cmp $0x4,%dl
- 19a: 0f 87 b3 00 00 00 ja 253 <bitfile_parse_and_verify+0x1ad>
- 1a0: 0f b6 d2 movzbl %dl,%edx
- 1a3: ff 24 d5 00 00 00 00 jmpq *0x0(,%rdx,8)
- 1aa: 4c 89 ea mov %r13,%rdx
- 1ad: 48 89 de mov %rbx,%rsi
- 1b0: eb 17 jmp 1c9 <bitfile_parse_and_verify+0x123>
- 1b2: 4c 89 ea mov %r13,%rdx
- 1b5: 48 8b 75 98 mov -0x68(%rbp),%rsi
- 1b9: eb 0e jmp 1c9 <bitfile_parse_and_verify+0x123>
- 1bb: 4c 89 ea mov %r13,%rdx
- 1be: 4c 89 fe mov %r15,%rsi
- 1c1: eb 06 jmp 1c9 <bitfile_parse_and_verify+0x123>
- 1c3: 4c 89 ea mov %r13,%rdx
- 1c6: 4c 89 f6 mov %r14,%rsi
- 1c9: 4c 89 e7 mov %r12,%rdi
- 1cc: e8 51 fe ff ff callq 22 <bitfile_do_small_chunk>
- 1d1: 85 c0 test %eax,%eax
- 1d3: 0f 84 8e 00 00 00 je 267 <bitfile_parse_and_verify+0x1c1>
- 1d9: e9 c5 00 00 00 jmpq 2a3 <bitfile_parse_and_verify+0x1fd>
- 1de: 8d 50 04 lea 0x4(%rax),%edx
- 1e1: 48 63 d2 movslq %edx,%rdx
- 1e4: 49 3b 14 24 cmp (%r12),%rdx
- 1e8: 77 44 ja 22e <bitfile_parse_and_verify+0x188>
- 1ea: 49 8b 54 24 08 mov 0x8(%r12),%rdx
- 1ef: 48 98 cltq
- 1f1: 0f b6 0c 02 movzbl (%rdx,%rax,1),%ecx
- 1f5: 0f b6 74 02 03 movzbl 0x3(%rdx,%rax,1),%esi
- 1fa: c1 e1 18 shl $0x18,%ecx
- 1fd: 01 ce add %ecx,%esi
- 1ff: 0f b6 4c 02 01 movzbl 0x1(%rdx,%rax,1),%ecx
- 204: 0f b6 44 02 02 movzbl 0x2(%rdx,%rax,1),%eax
- 209: c1 e1 10 shl $0x10,%ecx
- 20c: c1 e0 08 shl $0x8,%eax
- 20f: 8d 0c 0e lea (%rsi,%rcx,1),%ecx
- 212: 01 c1 add %eax,%ecx
- 214: 8b 45 ac mov -0x54(%rbp),%eax
- 217: 89 4b 40 mov %ecx,0x40(%rbx)
- 21a: 8b 53 40 mov 0x40(%rbx),%edx
- 21d: 83 c0 04 add $0x4,%eax
- 220: 01 c2 add %eax,%edx
- 222: 89 45 ac mov %eax,-0x54(%rbp)
- 225: 48 63 d2 movslq %edx,%rdx
- 228: 49 3b 14 24 cmp (%r12),%rdx
- 22c: 76 15 jbe 243 <bitfile_parse_and_verify+0x19d>
- 22e: 48 c7 c7 00 00 00 00 mov $0x0,%rdi
- 235: 31 c0 xor %eax,%eax
- 237: e8 00 00 00 00 callq 23c <bitfile_parse_and_verify+0x196>
- 23c: b8 c3 ff ff ff mov $0xffffffc3,%eax
- 241: eb 60 jmp 2a3 <bitfile_parse_and_verify+0x1fd>
- 243: 48 98 cltq
- 245: 49 03 44 24 08 add 0x8(%r12),%rax
- 24a: 01 4d ac add %ecx,-0x54(%rbp)
- 24d: 48 89 43 48 mov %rax,0x48(%rbx)
- 251: eb 14 jmp 267 <bitfile_parse_and_verify+0x1c1>
- 253: 40 0f be f6 movsbl %sil,%esi
- 257: 48 c7 c7 00 00 00 00 mov $0x0,%rdi
- 25e: 31 c0 xor %eax,%eax
- 260: e8 00 00 00 00 callq 265 <bitfile_parse_and_verify+0x1bf>
- 265: eb 37 jmp 29e <bitfile_parse_and_verify+0x1f8>
- 267: 8b 45 ac mov -0x54(%rbp),%eax
- 26a: 48 63 d0 movslq %eax,%rdx
- 26d: 49 3b 14 24 cmp (%r12),%rdx
- 271: 0f 82 0f ff ff ff jb 186 <bitfile_parse_and_verify+0xe0>
- 277: 48 83 7b 18 00 cmpq $0x0,0x18(%rbx)
- 27c: 75 0b jne 289 <bitfile_parse_and_verify+0x1e3>
- 27e: 48 c7 c7 00 00 00 00 mov $0x0,%rdi
- 285: 31 c0 xor %eax,%eax
- 287: eb 10 jmp 299 <bitfile_parse_and_verify+0x1f3>
- 289: 31 c0 xor %eax,%eax
- 28b: 48 83 7b 48 00 cmpq $0x0,0x48(%rbx)
- 290: 75 11 jne 2a3 <bitfile_parse_and_verify+0x1fd>
- 292: 48 c7 c7 00 00 00 00 mov $0x0,%rdi
- 299: e8 00 00 00 00 callq 29e <bitfile_parse_and_verify+0x1f8>
- 29e: b8 ea ff ff ff mov $0xffffffea,%eax
- 2a3: 48 8b 55 c8 mov -0x38(%rbp),%rdx
- 2a7: 65 48 33 14 25 28 00 xor %gs:0x28,%rdx
- 2ae: 00 00
- 2b0: 74 05 je 2b7 <bitfile_parse_and_verify+0x211>
- 2b2: e8 00 00 00 00 callq 2b7 <bitfile_parse_and_verify+0x211>
- 2b7: 48 83 c4 48 add $0x48,%rsp
- 2bb: 5b pop %rbx
- 2bc: 41 5c pop %r12
- 2be: 41 5d pop %r13
- 2c0: 41 5e pop %r14
- 2c2: 41 5f pop %r15
- 2c4: c9 leaveq
- 2c5: c3 retq
- cory@cory-cnc:~$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement