Created
January 27, 2019 22:27
-
-
Save nickdesaulniers/9c222dbe4e71ad384bbaa4bff9045fc8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.text | |
.file "rndis.i" | |
.globl f # -- Begin function f | |
.p2align 4, 0x90 | |
.type f,@function | |
f: # @f | |
.cfi_startproc | |
# %bb.0: # %entry | |
pushq %rbp | |
.cfi_def_cfa_offset 16 | |
.cfi_offset %rbp, -16 | |
movq %rsp, %rbp | |
.cfi_def_cfa_register %rbp | |
pushq %r15 | |
pushq %r14 | |
pushq %r13 | |
pushq %r12 | |
pushq %rbx | |
andq $-32, %rsp | |
subq $96, %rsp | |
.cfi_offset %rbx, -56 | |
.cfi_offset %r12, -48 | |
.cfi_offset %r13, -40 | |
.cfi_offset %r14, -32 | |
.cfi_offset %r15, -24 | |
movq %fs:40, %rax | |
movq %rax, 64(%rsp) | |
leaq 32(%rsp), %r14 | |
movq $1102416563, (%rsp) # imm = 0x41B58AB3 | |
movq $.L___asan_gen_, 8(%rsp) | |
movq $f, 16(%rsp) | |
movq %rsp, %r12 | |
shrq $3, %r12 | |
movabsq $-868082052615769615, %rax # imm = 0xF3F3F3F8F1F1F1F1 | |
movabsq $-2305847407260205056, %rcx # imm = 0xDFFFFC0000000000 | |
movq %rax, (%r12,%rcx) | |
callq __sanitizer_cov_trace_pc | |
#APP | |
#NO_APP | |
movabsq $-2305847407260205052, %r13 # imm = 0xDFFFFC0000000004 | |
movb $4, (%r12,%r13) | |
movl $e, %edi | |
callq __asan_load8_noabort | |
movq e(%rip), %rbx | |
leaq 4(%rbx), %rdi | |
callq __asan_load4_noabort | |
movslq 4(%rbx), %r15 | |
movq %r14, %rdi | |
callq c | |
movl $d, %edi | |
callq __asan_load4_noabort | |
movl d(%rip), %ebx | |
cmpl $3, %ebx | |
je .LBB0_5 | |
# %bb.1: # %entry | |
cmpl $2, %ebx | |
jne .LBB0_9 | |
# %bb.2: # %sw.bb | |
#APP | |
1:.byte 15,31,8,0x000 | |
#NO_APP | |
# %bb.3: # %normal0 | |
callq __sanitizer_cov_trace_pc | |
#APP | |
#NO_APP | |
.LBB0_4: # %l_yes | |
jmp .LBB0_7 | |
.LBB0_9: # %sw.default | |
callq __sanitizer_cov_trace_pc | |
#APP | |
#NO_APP | |
movsbl %bl, %edi | |
callq b | |
movabsq $-2305847407260205056, %rbx # imm = 0xDFFFFC0000000000 | |
jmp .LBB0_10 | |
.LBB0_12: # %sw.bb.l_yes_crit_edge | |
callq __sanitizer_cov_trace_pc | |
#APP | |
#NO_APP | |
jmp .LBB0_4 | |
.LBB0_5: # %sw.bb1 | |
#APP | |
.pushsection __jump_table, "aw" | |
.long 1b - ., .Ltmp0 - . | |
.quad 0 + .Ltmp0 - . | |
.popsection | |
#NO_APP | |
# %bb.6: # %normal1 | |
callq __sanitizer_cov_trace_pc | |
#APP | |
#NO_APP | |
.LBB0_7: # %l_yes2 | |
movabsq $-2305847407260205056, %rbx # imm = 0xDFFFFC0000000000 | |
.Ltmp1: # Block address taken | |
# %bb.8: # %l_yes | |
movq %r15, %rdi | |
callq __asan_store4_noabort | |
movl $0, (%r15) | |
.LBB0_10: # %sw.epilog | |
callq gen_ndis_set_resp | |
movb $-8, (%r12,%r13) | |
movq $1172321806, (%rsp) # imm = 0x45E0360E | |
movq $0, (%r12,%rbx) | |
movq %fs:40, %rax | |
cmpq 64(%rsp), %rax | |
jne .LBB0_14 | |
# %bb.11: # %SP_return | |
leaq -40(%rbp), %rsp | |
popq %rbx | |
popq %r12 | |
popq %r13 | |
popq %r14 | |
popq %r15 | |
popq %rbp | |
.cfi_def_cfa %rsp, 8 | |
retq | |
.LBB0_13: # %sw.bb1.l_yes2_crit_edge | |
.cfi_def_cfa %rbp, 16 | |
callq __sanitizer_cov_trace_pc | |
#APP | |
#NO_APP | |
jmp .LBB0_7 | |
.LBB0_14: # %CallStackCheckFailBlk | |
callq __stack_chk_fail | |
.Ltmp0: # Address of block that was removed by CodeGen | |
.Lfunc_end0: | |
.size f, .Lfunc_end0-f | |
.cfi_endproc | |
# -- End function | |
.p2align 4, 0x90 # -- Begin function gen_ndis_set_resp | |
.type gen_ndis_set_resp,@function | |
gen_ndis_set_resp: # @gen_ndis_set_resp | |
.cfi_startproc | |
# %bb.0: # %entry | |
pushq %rax | |
.cfi_def_cfa_offset 16 | |
callq __sanitizer_cov_trace_pc | |
#APP | |
#NO_APP | |
#APP | |
#NO_APP | |
# %bb.2: # %normal0 | |
callq __sanitizer_cov_trace_pc | |
#APP | |
#NO_APP | |
.Ltmp2: # Block address taken | |
.LBB1_3: # %l_yes | |
popq %rcx | |
.cfi_def_cfa_offset 8 | |
retq | |
.LBB1_1: # %entry.l_yes_crit_edge | |
.cfi_def_cfa_offset 16 | |
callq __sanitizer_cov_trace_pc | |
#APP | |
#NO_APP | |
jmp .LBB1_3 | |
.Lfunc_end1: | |
.size gen_ndis_set_resp, .Lfunc_end1-gen_ndis_set_resp | |
.cfi_endproc | |
# -- End function | |
.type e,@object # @e | |
.comm e,8,8 | |
.type d,@object # @d | |
.comm d,4,4 | |
.type .L___asan_gen_,@object # @___asan_gen_ | |
.section .rodata.str1.1,"aMS",@progbits,1 | |
.L___asan_gen_: | |
.asciz "1 32 4 1 h" | |
.size .L___asan_gen_, 11 | |
.ident "clang version 9.0.0 " | |
.section ".note.GNU-stack","",@progbits |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment