Subversion Repositories Code-Repo

Compare Revisions

Ignore whitespace Rev 140 → Rev 141

/Classwork/CS3214 - Computer Systems/Project 1 - Buffer Bomb/Test/test3.s
0,0 → 1,103
.file "test3.c"
.text
.globl main
.type main, @function
main:
.LFB0:
.cfi_startproc
movl $0, %eax
ret
.cfi_endproc
.LFE0:
.size main, .-main
.globl tmp_func
.type tmp_func, @function
tmp_func:
.LFB1:
.cfi_startproc
subq $8, %rsp
.cfi_def_cfa_offset 16
cmpl $26, %edi
ja .L4
mov %edi, %edi
jmp *.L12(,%rdi,8)
.section .rodata
.align 8
.align 4
.L12:
.quad .L4
.quad .L4
.quad .L5
.quad .L4
.quad .L4
.quad .L4
.quad .L6
.quad .L4
.quad .L4
.quad .L4
.quad .L7
.quad .L4
.quad .L4
.quad .L4
.quad .L8
.quad .L4
.quad .L4
.quad .L4
.quad .L9
.quad .L4
.quad .L4
.quad .L4
.quad .L10
.quad .L4
.quad .L4
.quad .L4
.quad .L11
.text
.L5:
movl $65, %edi
call tmp
jmp .L15
.L6:
movl $66, %edi
call tmp
.p2align 4,,3
jmp .L15
.L7:
movl $67, %edi
call tmp
.p2align 4,,3
jmp .L15
.L8:
movl $68, %edi
call tmp
.p2align 4,,3
jmp .L15
.L9:
movl $69, %edi
call tmp
.p2align 4,,3
jmp .L15
.L10:
movl $70, %edi
call tmp
.p2align 4,,3
jmp .L15
.L11:
movl $71, %edi
call tmp
.p2align 4,,3
jmp .L15
.L4:
movl $63, %eax
jmp .L14
.L15:
.L14:
addq $8, %rsp
.cfi_def_cfa_offset 8
.p2align 4,,2
ret
.cfi_endproc
.LFE1:
.size tmp_func, .-tmp_func
.ident "GCC: (GNU) 4.4.4 20100726 (Red Hat 4.4.4-13)"
.section .note.GNU-stack,"",@progbits