x86
stringlengths 335
88.6k
| arm
stringlengths 349
86.1k
|
---|---|
.file "extr_macro.c_undef.c"
.intel_syntax noprefix
.text
.p2align 4
.type undef, @function
undef:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
mov esi, 10
mov edi, 10
call expect@PLT
mov esi, 3
mov edi, 3
call expect@PLT
mov esi, 16
mov edi, 16
add rsp, 8
.cfi_def_cfa_offset 8
jmp expect@PLT
.cfi_endproc
.LFE0:
.size undef, .-undef
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_macro.c_undef.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type undef, %function
undef:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
mov r1, #10
push {r4, lr}
mov r0, r1
bl expect
mov r1, #3
mov r0, r1
bl expect
pop {r4, lr}
mov r1, #16
mov r0, r1
b expect
.size undef, .-undef
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_noreturn.c_f3.c"
.intel_syntax noprefix
.text
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_noreturn.c_f3.c"
.text
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_noreturn.c_testmain.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "noreturn"
.text
.p2align 4
.globl testmain
.type testmain, @function
testmain:
.LFB0:
.cfi_startproc
endbr64
lea rdi, .LC0[rip]
jmp print@PLT
.cfi_endproc
.LFE0:
.size testmain, .-testmain
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_noreturn.c_testmain.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "noreturn\000"
.text
.align 2
.global testmain
.syntax unified
.arm
.fpu softvfp
.type testmain, %function
testmain:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr r0, .L3
b print
.L4:
.align 2
.L3:
.word .LC0
.size testmain, .-testmain
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_oldstyle.c_no_declaration.c"
.intel_syntax noprefix
.text
.p2align 4
.globl no_declaration
.type no_declaration, @function
no_declaration:
.LFB0:
.cfi_startproc
endbr64
mov eax, 3
ret
.cfi_endproc
.LFE0:
.size no_declaration, .-no_declaration
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_oldstyle.c_no_declaration.c"
.text
.align 2
.global no_declaration
.syntax unified
.arm
.fpu softvfp
.type no_declaration, %function
no_declaration:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
mov r0, #3
bx lr
.size no_declaration, .-no_declaration
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_oldstyle.c_oldstyle2.c"
.intel_syntax noprefix
.text
.p2align 4
.globl oldstyle2
.type oldstyle2, @function
oldstyle2:
.LFB0:
.cfi_startproc
endbr64
mov eax, 4
ret
.cfi_endproc
.LFE0:
.size oldstyle2, .-oldstyle2
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_oldstyle.c_oldstyle2.c"
.text
.align 2
.global oldstyle2
.syntax unified
.arm
.fpu softvfp
.type oldstyle2, %function
oldstyle2:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
mov r0, #4
bx lr
.size oldstyle2, .-oldstyle2
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_oldstyle.c_testmain.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "K&R"
.text
.p2align 4
.globl testmain
.type testmain, @function
testmain:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
lea rdi, .LC0[rip]
call print@PLT
xor eax, eax
call no_declaration@PLT
mov edi, 3
mov esi, eax
call expect@PLT
mov esi, 4
mov edi, 3
call oldstyle1@PLT
mov edi, 7
mov esi, eax
call expect@PLT
xor eax, eax
call oldstyle2@PLT
mov edi, 4
mov esi, eax
call expect@PLT
mov edi, 5
call oldstyle3@PLT
mov edi, 5
mov esi, eax
call expect@PLT
movsd xmm0, QWORD PTR .LC1[rip]
mov edi, 5
call oldstyle4@PLT
mov edi, 9
add rsp, 8
.cfi_def_cfa_offset 8
mov esi, eax
jmp expect@PLT
.cfi_endproc
.LFE0:
.size testmain, .-testmain
.section .rodata.cst8,"aM",@progbits,8
.align 8
.LC1:
.long 0
.long 1074790400
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_oldstyle.c_testmain.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "K&R\000"
.text
.align 2
.global testmain
.syntax unified
.arm
.fpu softvfp
.type testmain, %function
testmain:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
ldr r0, .L4
bl print
bl no_declaration
mov r1, r0
mov r0, #3
bl expect
mov r1, #4
mov r0, #3
bl oldstyle1
mov r1, r0
mov r0, #7
bl expect
bl oldstyle2
mov r1, r0
mov r0, #4
bl expect
mov r0, #5
bl oldstyle3
mov r1, r0
mov r0, #5
bl expect
mov r2, #0
mov r0, #5
ldr r3, .L4+4
bl oldstyle4
pop {r4, lr}
mov r1, r0
mov r0, #9
b expect
.L5:
.align 2
.L4:
.word .LC0
.word 1074790400
.size testmain, .-testmain
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_pointer.c_compare.c"
.intel_syntax noprefix
.text
.p2align 4
.type compare, @function
compare:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
xor esi, esi
xor edi, edi
call expect@PLT
mov esi, 1
mov edi, 1
call expect@PLT
xor esi, esi
xor edi, edi
call expect@PLT
mov esi, 1
mov edi, 1
call expect@PLT
xor esi, esi
xor edi, edi
call expect@PLT
mov esi, 1
mov edi, 1
call expect@PLT
xor esi, esi
xor edi, edi
call expect@PLT
mov esi, 1
mov edi, 1
call expect@PLT
mov esi, 1
mov edi, 1
call expect@PLT
mov esi, 1
mov edi, 1
call expect@PLT
xor esi, esi
xor edi, edi
call expect@PLT
mov esi, 1
mov edi, 1
call expect@PLT
mov esi, 1
mov edi, 1
call expect@PLT
xor esi, esi
xor edi, edi
call expect@PLT
mov esi, 4
mov edi, 4
call expect@PLT
mov esi, 4
mov edi, 4
call expect@PLT
mov esi, 4
mov edi, 4
call expect@PLT
mov esi, 4
mov edi, 4
call expect@PLT
mov esi, 4
mov edi, 4
call expect@PLT
mov esi, 4
mov edi, 4
add rsp, 8
.cfi_def_cfa_offset 8
jmp expect@PLT
.cfi_endproc
.LFE0:
.size compare, .-compare
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_pointer.c_compare.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type compare, %function
compare:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
mov r1, #0
push {r4, lr}
mov r0, r1
bl expect
mov r1, #1
mov r0, r1
bl expect
mov r1, #0
mov r0, r1
bl expect
mov r1, #1
mov r0, r1
bl expect
mov r1, #0
mov r0, r1
bl expect
mov r1, #1
mov r0, r1
bl expect
mov r1, #0
mov r0, r1
bl expect
mov r1, #1
mov r0, r1
bl expect
mov r1, #1
mov r0, r1
bl expect
mov r1, #1
mov r0, r1
bl expect
mov r1, #0
mov r0, r1
bl expect
mov r1, #1
mov r0, r1
bl expect
mov r1, #1
mov r0, r1
bl expect
mov r1, #0
mov r0, r1
bl expect
mov r1, #4
mov r0, r1
bl expect
mov r1, #4
mov r0, r1
bl expect
mov r1, #4
mov r0, r1
bl expect
mov r1, #4
mov r0, r1
bl expect
mov r1, #4
mov r0, r1
bl expect
pop {r4, lr}
mov r1, #4
mov r0, r1
b expect
.size compare, .-compare
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_pointer.c_subtract.c"
.intel_syntax noprefix
.text
.p2align 4
.type subtract, @function
subtract:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
mov esi, 8
mov edi, 8
call expect@PLT
mov esi, 5
mov edi, 5
add rsp, 8
.cfi_def_cfa_offset 8
jmp expect@PLT
.cfi_endproc
.LFE0:
.size subtract, .-subtract
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_pointer.c_subtract.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type subtract, %function
subtract:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
mov r1, #4
push {r4, lr}
mov r0, #8
bl expect
pop {r4, lr}
mov r1, #5
mov r0, r1
b expect
.size subtract, .-subtract
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_pointer.c_t1.c"
.intel_syntax noprefix
.text
.p2align 4
.type t1, @function
t1:
.LFB0:
.cfi_startproc
endbr64
mov esi, 61
mov edi, 61
jmp expect@PLT
.cfi_endproc
.LFE0:
.size t1, .-t1
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_pointer.c_t1.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type t1, %function
t1:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
mov r1, #61
mov r0, r1
b expect
.size t1, .-t1
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_pointer.c_t2.c"
.intel_syntax noprefix
.text
.p2align 4
.type t2, @function
t2:
.LFB0:
.cfi_startproc
endbr64
mov esi, 97
mov edi, 97
jmp expect@PLT
.cfi_endproc
.LFE0:
.size t2, .-t2
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_pointer.c_t2.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type t2, %function
t2:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
mov r1, #97
mov r0, r1
b expect
.size t2, .-t2
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_pointer.c_t3.c"
.intel_syntax noprefix
.text
.p2align 4
.type t3, @function
t3:
.LFB0:
.cfi_startproc
endbr64
mov esi, 98
mov edi, 98
jmp expect@PLT
.cfi_endproc
.LFE0:
.size t3, .-t3
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_pointer.c_t3.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type t3, %function
t3:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
mov r1, #98
mov r0, r1
b expect
.size t3, .-t3
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_pointer.c_t4.c"
.intel_syntax noprefix
.text
.p2align 4
.type t4, @function
t4:
.LFB0:
.cfi_startproc
endbr64
mov esi, 122
mov edi, 122
jmp expect@PLT
.cfi_endproc
.LFE0:
.size t4, .-t4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_pointer.c_t4.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type t4, %function
t4:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
mov r1, #122
mov r0, r1
b expect
.size t4, .-t4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_pointer.c_t5.c"
.intel_syntax noprefix
.text
.p2align 4
.type t5, @function
t5:
.LFB0:
.cfi_startproc
endbr64
mov esi, 65
mov edi, 65
jmp expect@PLT
.cfi_endproc
.LFE0:
.size t5, .-t5
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_pointer.c_t5.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type t5, %function
t5:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
mov r1, #65
mov r0, r1
b expect
.size t5, .-t5
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_pointer.c_t6.c"
.intel_syntax noprefix
.text
.p2align 4
.type t6, @function
t6:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
mov esi, 3
mov edi, 3
call expect@PLT
mov esi, 2
mov edi, 2
call expect@PLT
mov esi, 1
mov edi, 1
call expect@PLT
mov esi, 1
mov edi, 1
add rsp, 8
.cfi_def_cfa_offset 8
jmp expect@PLT
.cfi_endproc
.LFE0:
.size t6, .-t6
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_pointer.c_t6.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type t6, %function
t6:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
mov r1, #3
push {r4, lr}
mov r0, r1
bl expect
mov r1, #2
mov r0, r1
bl expect
mov r1, #1
mov r0, r1
bl expect
pop {r4, lr}
mov r1, #1
mov r0, r1
b expect
.size t6, .-t6
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_pointer.c_t7.c"
.intel_syntax noprefix
.text
.p2align 4
.type t7, @function
t7:
.LFB0:
.cfi_startproc
endbr64
xor esi, esi
xor edi, edi
jmp expect@PLT
.cfi_endproc
.LFE0:
.size t7, .-t7
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_pointer.c_t7.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type t7, %function
t7:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
mov r1, #0
mov r0, r1
b expect
.size t7, .-t7
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_pointer.c_testmain.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "pointer"
.text
.p2align 4
.globl testmain
.type testmain, @function
testmain:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
lea rdi, .LC0[rip]
call print@PLT
xor eax, eax
call t1@PLT
xor eax, eax
call t2@PLT
xor eax, eax
call t3@PLT
xor eax, eax
call t4@PLT
xor eax, eax
call t5@PLT
xor eax, eax
call t6@PLT
xor eax, eax
call t7@PLT
xor eax, eax
call subtract@PLT
xor eax, eax
add rsp, 8
.cfi_def_cfa_offset 8
jmp compare@PLT
.cfi_endproc
.LFE0:
.size testmain, .-testmain
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_pointer.c_testmain.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "pointer\000"
.text
.align 2
.global testmain
.syntax unified
.arm
.fpu softvfp
.type testmain, %function
testmain:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
ldr r0, .L4
bl print
bl t1
bl t2
bl t3
bl t4
bl t5
bl t6
bl t7
bl subtract
pop {r4, lr}
b compare
.L5:
.align 2
.L4:
.word .LC0
.size testmain, .-testmain
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_scope.c_testmain.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "scope"
.text
.p2align 4
.globl testmain
.type testmain, @function
testmain:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
lea rdi, .LC0[rip]
call print@PLT
mov esi, 31
mov edi, 31
call expect@PLT
mov esi, 64
mov edi, 64
add rsp, 8
.cfi_def_cfa_offset 8
jmp expect@PLT
.cfi_endproc
.LFE0:
.size testmain, .-testmain
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_scope.c_testmain.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "scope\000"
.text
.align 2
.global testmain
.syntax unified
.arm
.fpu softvfp
.type testmain, %function
testmain:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
ldr r0, .L4
bl print
mov r1, #31
mov r0, r1
bl expect
pop {r4, lr}
mov r1, #64
mov r0, r1
b expect
.L5:
.align 2
.L4:
.word .LC0
.size testmain, .-testmain
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_sizeof.c_test_arrays.c"
.intel_syntax noprefix
.text
.p2align 4
.type test_arrays, @function
test_arrays:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
mov esi, 1
mov edi, 1
call expect@PLT
mov esi, 7
mov edi, 7
call expect@PLT
mov esi, 30
mov edi, 30
call expect@PLT
mov esi, 32
mov edi, 32
add rsp, 8
.cfi_def_cfa_offset 8
jmp expect@PLT
.cfi_endproc
.LFE0:
.size test_arrays, .-test_arrays
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_sizeof.c_test_arrays.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type test_arrays, %function
test_arrays:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
mov r1, #1
push {r4, lr}
mov r0, r1
bl expect
mov r1, #7
mov r0, r1
bl expect
mov r1, #30
mov r0, r1
bl expect
pop {r4, lr}
mov r1, #32
mov r0, r1
b expect
.size test_arrays, .-test_arrays
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_sizeof.c_test_constexpr.c"
.intel_syntax noprefix
.text
.p2align 4
.type test_constexpr, @function
test_constexpr:
.LFB0:
.cfi_startproc
endbr64
mov esi, 4
mov edi, 4
jmp expect@PLT
.cfi_endproc
.LFE0:
.size test_constexpr, .-test_constexpr
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_sizeof.c_test_constexpr.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type test_constexpr, %function
test_constexpr:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
mov r1, #4
mov r0, r1
b expect
.size test_constexpr, .-test_constexpr
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_sizeof.c_test_literals.c"
.intel_syntax noprefix
.text
.p2align 4
.type test_literals, @function
test_literals:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
mov esi, 4
mov edi, 4
call expect@PLT
mov esi, 4
mov edi, 4
call expect@PLT
mov esi, 4
mov edi, 4
call expect@PLT
mov esi, 8
mov edi, 8
call expect@PLT
mov esi, 8
mov edi, 8
call expect@PLT
mov esi, 8
mov edi, 8
add rsp, 8
.cfi_def_cfa_offset 8
jmp expect@PLT
.cfi_endproc
.LFE0:
.size test_literals, .-test_literals
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_sizeof.c_test_literals.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type test_literals, %function
test_literals:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
mov r1, #4
push {r4, lr}
mov r0, r1
bl expect
mov r1, #4
mov r0, r1
bl expect
mov r1, #4
mov r0, r1
bl expect
mov r1, #4
mov r0, #8
bl expect
mov r1, #8
mov r0, r1
bl expect
pop {r4, lr}
mov r1, #8
mov r0, r1
b expect
.size test_literals, .-test_literals
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_sizeof.c_test_pointers.c"
.intel_syntax noprefix
.text
.p2align 4
.type test_pointers, @function
test_pointers:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
mov esi, 8
mov edi, 8
call expect@PLT
mov esi, 8
mov edi, 8
call expect@PLT
mov esi, 8
mov edi, 8
call expect@PLT
mov esi, 8
mov edi, 8
add rsp, 8
.cfi_def_cfa_offset 8
jmp expect@PLT
.cfi_endproc
.LFE0:
.size test_pointers, .-test_pointers
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_sizeof.c_test_pointers.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type test_pointers, %function
test_pointers:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
mov r1, #4
mov r0, #8
bl expect
mov r1, #4
mov r0, #8
bl expect
mov r1, #4
mov r0, #8
bl expect
pop {r4, lr}
mov r1, #4
mov r0, #8
b expect
.size test_pointers, .-test_pointers
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_sizeof.c_test_unsigned.c"
.intel_syntax noprefix
.text
.p2align 4
.type test_unsigned, @function
test_unsigned:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
mov esi, 1
mov edi, 1
call expect@PLT
mov esi, 2
mov edi, 2
call expect@PLT
mov esi, 4
mov edi, 4
call expect@PLT
mov esi, 8
mov edi, 8
add rsp, 8
.cfi_def_cfa_offset 8
jmp expect@PLT
.cfi_endproc
.LFE0:
.size test_unsigned, .-test_unsigned
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_sizeof.c_test_unsigned.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type test_unsigned, %function
test_unsigned:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
mov r1, #1
push {r4, lr}
mov r0, r1
bl expect
mov r1, #2
mov r0, r1
bl expect
mov r1, #4
mov r0, r1
bl expect
pop {r4, lr}
mov r1, #4
mov r0, #8
b expect
.size test_unsigned, .-test_unsigned
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_sizeof.c_test_vars.c"
.intel_syntax noprefix
.text
.p2align 4
.type test_vars, @function
test_vars:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
mov esi, 3
mov edi, 3
call expect@PLT
mov esi, 4
mov edi, 4
call expect@PLT
mov esi, 1
mov edi, 1
call expect@PLT
mov esi, 1
mov edi, 1
call expect@PLT
mov esi, 1
mov edi, 1
call expect@PLT
mov esi, 40
mov edi, 40
call expect@PLT
mov esi, 8
mov edi, 8
call expect@PLT
mov esi, 24
mov edi, 24
call expect@PLT
mov esi, 8
mov edi, 8
call expect@PLT
mov esi, 1
mov edi, 1
call expect@PLT
mov esi, 4
mov edi, 4
add rsp, 8
.cfi_def_cfa_offset 8
jmp expect@PLT
.cfi_endproc
.LFE0:
.size test_vars, .-test_vars
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_sizeof.c_test_vars.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type test_vars, %function
test_vars:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
mov r1, #3
push {r4, lr}
mov r0, r1
bl expect
mov r1, #4
mov r0, r1
bl expect
mov r1, #1
mov r0, r1
bl expect
mov r1, #1
mov r0, r1
bl expect
mov r1, #1
mov r0, r1
bl expect
mov r1, #20
mov r0, #40
bl expect
mov r1, #4
mov r0, #8
bl expect
mov r1, #12
mov r0, #24
bl expect
mov r1, #4
mov r0, #8
bl expect
mov r1, #1
mov r0, r1
bl expect
pop {r4, lr}
mov r1, #4
mov r0, r1
b expect
.size test_vars, .-test_vars
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_sizeof.c_testmain.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "sizeof"
.text
.p2align 4
.globl testmain
.type testmain, @function
testmain:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
lea rdi, .LC0[rip]
call print@PLT
xor eax, eax
call test_primitives@PLT
xor eax, eax
call test_pointers@PLT
xor eax, eax
call test_unsigned@PLT
xor eax, eax
call test_literals@PLT
xor eax, eax
call test_arrays@PLT
xor eax, eax
call test_vars@PLT
xor eax, eax
call test_struct@PLT
xor eax, eax
add rsp, 8
.cfi_def_cfa_offset 8
jmp test_constexpr@PLT
.cfi_endproc
.LFE0:
.size testmain, .-testmain
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_sizeof.c_testmain.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "sizeof\000"
.text
.align 2
.global testmain
.syntax unified
.arm
.fpu softvfp
.type testmain, %function
testmain:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
ldr r0, .L4
bl print
bl test_primitives
bl test_pointers
bl test_unsigned
bl test_literals
bl test_arrays
bl test_vars
bl test_struct
pop {r4, lr}
b test_constexpr
.L5:
.align 2
.L4:
.word .LC0
.size testmain, .-testmain
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_stmtexpr.c_testmain.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "statement expression"
.text
.p2align 4
.globl testmain
.type testmain, @function
testmain:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
lea rdi, .LC0[rip]
call print@PLT
mov esi, 3
mov edi, 3
call expect@PLT
movsd xmm0, QWORD PTR .LC1[rip]
mov edi, 3
call expectf@PLT
mov esi, 5
mov edi, 5
add rsp, 8
.cfi_def_cfa_offset 8
jmp expect@PLT
.cfi_endproc
.LFE0:
.size testmain, .-testmain
.section .rodata.cst8,"aM",@progbits,8
.align 8
.LC1:
.long 0
.long 1074266112
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_stmtexpr.c_testmain.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "statement expression\000"
.text
.align 2
.global testmain
.syntax unified
.arm
.fpu softvfp
.type testmain, %function
testmain:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
ldr r0, .L4
bl print
mov r1, #3
mov r0, r1
bl expect
ldr r1, .L4+4
mov r2, #3
mov r0, #0
bl expectf
pop {r4, lr}
mov r1, #5
mov r0, r1
b expect
.L5:
.align 2
.L4:
.word .LC0
.word 1074266112
.size testmain, .-testmain
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_struct.c_address.c"
.intel_syntax noprefix
.text
.p2align 4
.type address, @function
address:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
mov esi, 6
mov edi, 6
xor eax, eax
call expect@PLT
mov esi, 7
mov edi, 7
xor eax, eax
call expect@PLT
mov esi, 6
mov edi, 6
xor eax, eax
call expect@PLT
mov esi, 7
mov edi, 7
xor eax, eax
call expect@PLT
mov esi, 6
mov edi, 6
xor eax, eax
call expect@PLT
mov esi, 7
mov edi, 7
xor eax, eax
call expect@PLT
mov esi, 6
mov edi, 6
xor eax, eax
call expect@PLT
mov esi, 7
xor eax, eax
add rsp, 8
.cfi_def_cfa_offset 8
mov edi, 7
jmp expect@PLT
.cfi_endproc
.LFE0:
.size address, .-address
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_struct.c_address.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type address, %function
address:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
mov r1, #6
push {r4, lr}
mov r0, r1
bl expect
mov r1, #7
mov r0, r1
bl expect
mov r1, #6
mov r0, r1
bl expect
mov r1, #7
mov r0, r1
bl expect
mov r1, #6
mov r0, r1
bl expect
mov r1, #7
mov r0, r1
bl expect
mov r1, #6
mov r0, r1
bl expect
pop {r4, lr}
mov r1, #7
mov r0, r1
b expect
.size address, .-address
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_struct.c_arrow.c"
.intel_syntax noprefix
.text
.p2align 4
.type arrow, @function
arrow:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
mov esi, 7
mov edi, 7
call expect@PLT
mov esi, 7
mov edi, 7
call expect@PLT
mov esi, 6
mov edi, 6
call expect@PLT
mov esi, 5
mov edi, 5
call expect@PLT
mov esi, 10
mov edi, 10
call expect@PLT
mov esi, 11
mov edi, 11
call expect@PLT
mov esi, 12
mov edi, 12
add rsp, 8
.cfi_def_cfa_offset 8
jmp expect@PLT
.cfi_endproc
.LFE0:
.size arrow, .-arrow
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_struct.c_arrow.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type arrow, %function
arrow:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
mov r1, #7
push {r4, lr}
mov r0, r1
bl expect
mov r1, #7
mov r0, r1
bl expect
mov r1, #6
mov r0, r1
bl expect
mov r1, #5
mov r0, r1
bl expect
mov r1, #10
mov r0, r1
bl expect
mov r1, #11
mov r0, r1
bl expect
pop {r4, lr}
mov r1, #12
mov r0, r1
b expect
.size arrow, .-arrow
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_struct.c_assign.c"
.intel_syntax noprefix
.text
.p2align 4
.type assign, @function
assign:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
mov esi, 3
mov edi, 3
call expect@PLT
mov esi, 5
mov edi, 5
call expect@PLT
mov esi, 7
mov edi, 7
call expect@PLT
mov esi, 9
mov edi, 9
call expect@PLT
mov esi, 11
mov edi, 11
add rsp, 8
.cfi_def_cfa_offset 8
jmp expect@PLT
.cfi_endproc
.LFE0:
.size assign, .-assign
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_struct.c_assign.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type assign, %function
assign:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
mov r1, #3
push {r4, lr}
mov r0, r1
bl expect
mov r1, #5
mov r0, r1
bl expect
mov r1, #7
mov r0, r1
bl expect
mov r1, #9
mov r0, r1
bl expect
pop {r4, lr}
mov r1, #11
mov r0, r1
b expect
.size assign, .-assign
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_struct.c_bitfield_basic.c"
.intel_syntax noprefix
.text
.p2align 4
.type bitfield_basic, @function
bitfield_basic:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
mov esi, 10
mov edi, 10
call expect@PLT
mov esi, 11
mov edi, 11
call expect@PLT
mov esi, 362
mov edi, 362
add rsp, 8
.cfi_def_cfa_offset 8
jmp expect@PLT
.cfi_endproc
.LFE0:
.size bitfield_basic, .-bitfield_basic
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_struct.c_bitfield_basic.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type bitfield_basic, %function
bitfield_basic:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
mov r1, #10
push {r4, lr}
mov r0, r1
bl expect
mov r1, #11
ldr r4, .L4
mov r0, r1
bl expect
mov r1, r4
mov r0, r4
pop {r4, lr}
b expect
.L5:
.align 2
.L4:
.word 362
.size bitfield_basic, .-bitfield_basic
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_struct.c_bitfield_initializer.c"
.intel_syntax noprefix
.text
.p2align 4
.type bitfield_initializer, @function
bitfield_initializer:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
movsx esi, BYTE PTR inittest[rip]
mov edi, 2
call expect@PLT
movsx esi, BYTE PTR inittest[rip+1]
mov edi, 4
call expect@PLT
mov esi, 2
mov edi, 2
call expect@PLT
mov esi, 4
mov edi, 4
add rsp, 8
.cfi_def_cfa_offset 8
jmp expect@PLT
.cfi_endproc
.LFE0:
.size bitfield_initializer, .-bitfield_initializer
.globl inittest
.bss
.type inittest, @object
.size inittest, 2
inittest:
.zero 2
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_struct.c_bitfield_initializer.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type bitfield_initializer, %function
bitfield_initializer:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
ldr r4, .L4
mov r0, #2
ldrb r1, [r4] @ zero_extendqisi2
bl expect
ldrb r1, [r4, #1] @ zero_extendqisi2
mov r0, #4
bl expect
mov r1, #2
mov r0, r1
bl expect
pop {r4, lr}
mov r1, #4
mov r0, r1
b expect
.L5:
.align 2
.L4:
.word inittest
.size bitfield_initializer, .-bitfield_initializer
.comm inittest,2,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_struct.c_bitfield_mix.c"
.intel_syntax noprefix
.text
.p2align 4
.type bitfield_mix, @function
bitfield_mix:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov esi, 10
mov edi, 10
mov ebp, 362
call expect@PLT
mov esi, 11
mov edi, 11
call expect@PLT
mov esi, ebp
mov edi, 362
pop rbp
.cfi_def_cfa_offset 8
jmp expect@PLT
.cfi_endproc
.LFE0:
.size bitfield_mix, .-bitfield_mix
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_struct.c_bitfield_mix.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type bitfield_mix, %function
bitfield_mix:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
mov r1, #10
push {r4, lr}
mov r0, r1
bl expect
mov r1, #11
ldr r4, .L4
mov r0, r1
bl expect
mov r1, r4
mov r0, r4
pop {r4, lr}
b expect
.L5:
.align 2
.L4:
.word 362
.size bitfield_mix, .-bitfield_mix
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_struct.c_bitfield_union.c"
.intel_syntax noprefix
.text
.p2align 4
.type bitfield_union, @function
bitfield_union:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
mov esi, 2
mov edi, 2
call expect@PLT
mov esi, 2
mov edi, 2
call expect@PLT
mov esi, 2
mov edi, 2
add rsp, 8
.cfi_def_cfa_offset 8
jmp expect@PLT
.cfi_endproc
.LFE0:
.size bitfield_union, .-bitfield_union
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_struct.c_bitfield_union.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type bitfield_union, %function
bitfield_union:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
mov r1, #2
push {r4, lr}
mov r4, r1
mov r0, r1
bl expect
mov r1, r4
mov r0, r4
bl expect
mov r1, r4
mov r0, r4
pop {r4, lr}
b expect
.size bitfield_union, .-bitfield_union
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_struct.c_bitfield_unnamed.c"
.intel_syntax noprefix
.text
.p2align 4
.type bitfield_unnamed, @function
bitfield_unnamed:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
mov esi, 2
mov edi, 2
call expect@PLT
mov esi, 4
mov edi, 4
call expect@PLT
mov esi, 66
mov edi, 66
call expect@PLT
mov esi, 2
mov edi, 2
call expect@PLT
mov esi, 4
mov edi, 4
call expect@PLT
mov esi, 1026
mov edi, 1026
add rsp, 8
.cfi_def_cfa_offset 8
jmp expect@PLT
.cfi_endproc
.LFE0:
.size bitfield_unnamed, .-bitfield_unnamed
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_struct.c_bitfield_unnamed.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type bitfield_unnamed, %function
bitfield_unnamed:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
mov r1, #2
push {r4, lr}
mov r0, r1
bl expect
mov r1, #4
mov r4, #66
mov r0, r1
bl expect
mov r1, r4
mov r0, r4
bl expect
mov r1, #2
mov r0, r1
bl expect
mov r1, #4
add r4, r4, #960
mov r0, r1
bl expect
mov r1, r4
mov r0, r4
pop {r4, lr}
b expect
.size bitfield_unnamed, .-bitfield_unnamed
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_struct.c_empty_struct.c"
.intel_syntax noprefix
.text
.p2align 4
.type empty_struct, @function
empty_struct:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
xor esi, esi
xor edi, edi
call expect@PLT
xor esi, esi
xor edi, edi
add rsp, 8
.cfi_def_cfa_offset 8
jmp expect@PLT
.cfi_endproc
.LFE0:
.size empty_struct, .-empty_struct
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_struct.c_empty_struct.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type empty_struct, %function
empty_struct:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
mov r1, #0
push {r4, lr}
mov r0, r1
bl expect
pop {r4, lr}
mov r1, #0
mov r0, r1
b expect
.size empty_struct, .-empty_struct
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_struct.c_flexible_member.c"
.intel_syntax noprefix
.text
.p2align 4
.type flexible_member, @function
flexible_member:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
mov esi, 4
mov edi, 4
xor eax, eax
call expect@PLT
mov esi, 4
mov edi, 4
xor eax, eax
call expect@PLT
xor esi, esi
xor edi, edi
xor eax, eax
add rsp, 8
.cfi_def_cfa_offset 8
jmp expect@PLT
.cfi_endproc
.LFE0:
.size flexible_member, .-flexible_member
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_struct.c_flexible_member.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type flexible_member, %function
flexible_member:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
mov r1, #4
push {r4, lr}
mov r0, r1
bl expect
mov r1, #4
mov r0, r1
bl expect
pop {r4, lr}
mov r1, #0
mov r0, r1
b expect
.size flexible_member, .-flexible_member
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_struct.c_incdec_struct.c"
.intel_syntax noprefix
.text
.p2align 4
.type incdec_struct, @function
incdec_struct:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
mov esi, 1
mov edi, 1
call expect@PLT
mov esi, 2
mov edi, 2
call expect@PLT
mov esi, 3
mov edi, 3
call expect@PLT
mov esi, 4
mov edi, 4
call expect@PLT
mov esi, 1
mov edi, 1
call expect@PLT
mov esi, 2
mov edi, 2
call expect@PLT
mov esi, 3
mov edi, 3
call expect@PLT
mov esi, 4
mov edi, 4
call expect@PLT
mov esi, 1
mov edi, 1
call expect@PLT
mov esi, 2
mov edi, 2
add rsp, 8
.cfi_def_cfa_offset 8
jmp expect@PLT
.cfi_endproc
.LFE0:
.size incdec_struct, .-incdec_struct
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_struct.c_incdec_struct.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type incdec_struct, %function
incdec_struct:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
mov r1, #1
push {r4, lr}
mov r0, r1
bl expect
mov r1, #2
mov r0, r1
bl expect
mov r1, #3
mov r0, r1
bl expect
mov r1, #4
mov r0, r1
bl expect
mov r1, #1
mov r0, r1
bl expect
mov r1, #2
mov r0, r1
bl expect
mov r1, #3
mov r0, r1
bl expect
mov r1, #4
mov r0, r1
bl expect
mov r1, #1
mov r0, r1
bl expect
pop {r4, lr}
mov r1, #2
mov r0, r1
b expect
.size incdec_struct, .-incdec_struct
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_struct.c_incomplete.c"
.intel_syntax noprefix
.text
.p2align 4
.type incomplete, @function
incomplete:
.LFB0:
.cfi_startproc
endbr64
mov esi, 3
mov edi, 3
jmp expect@PLT
.cfi_endproc
.LFE0:
.size incomplete, .-incomplete
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_struct.c_incomplete.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type incomplete, %function
incomplete:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
mov r1, #3
mov r0, r1
b expect
.size incomplete, .-incomplete
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_struct.c_t1.c"
.intel_syntax noprefix
.text
.p2align 4
.type t1, @function
t1:
.LFB0:
.cfi_startproc
endbr64
mov esi, 61
mov edi, 61
jmp expect@PLT
.cfi_endproc
.LFE0:
.size t1, .-t1
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_struct.c_t1.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type t1, %function
t1:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
mov r1, #61
mov r0, r1
b expect
.size t1, .-t1
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_struct.c_t10.c"
.intel_syntax noprefix
.text
.p2align 4
.type t10, @function
t10:
.LFB0:
.cfi_startproc
endbr64
movabs rax, 12884901959
mov esi, 77
mov edi, 77
mov DWORD PTR v10[rip+8], 3
mov QWORD PTR v10[rip], rax
jmp expect@PLT
.cfi_endproc
.LFE0:
.size t10, .-t10
.globl v10
.bss
.align 8
.type v10, @object
.size v10, 12
v10:
.zero 12
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_struct.c_t10.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type t10, %function
t10:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
mov r1, #77
mov r2, #3
mov ip, #71
ldr r3, .L3
mov r0, r1
str ip, [r3]
str r2, [r3, #4]
str r2, [r3, #8]
b expect
.L4:
.align 2
.L3:
.word v10
.size t10, .-t10
.comm v10,12,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_struct.c_t11.c"
.intel_syntax noprefix
.text
.p2align 4
.type t11, @function
t11:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
mov esi, 78
mov edi, 78
mov DWORD PTR v11[rip], 78
call expect@PLT
mov esi, DWORD PTR v11[rip]
mov edi, 78
call expect@PLT
mov esi, DWORD PTR v11[rip]
mov edi, 78
call expect@PLT
mov esi, 79
mov edi, 79
mov DWORD PTR v11[rip], 79
call expect@PLT
mov esi, DWORD PTR v11[rip]
mov edi, 79
call expect@PLT
mov esi, DWORD PTR v11[rip]
mov edi, 79
add rsp, 8
.cfi_def_cfa_offset 8
jmp expect@PLT
.cfi_endproc
.LFE0:
.size t11, .-t11
.globl v11
.bss
.align 4
.type v11, @object
.size v11, 4
v11:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_struct.c_t11.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type t11, %function
t11:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r6, #78
mov r5, #79
ldr r4, .L4
mov r1, r6
mov r0, r6
str r6, [r4]
bl expect
ldr r1, [r4]
mov r0, r6
bl expect
ldr r1, [r4]
mov r0, r6
bl expect
mov r1, r5
mov r0, r5
str r5, [r4]
bl expect
ldr r1, [r4]
mov r0, r5
bl expect
mov r0, r5
ldr r1, [r4]
pop {r4, r5, r6, lr}
b expect
.L5:
.align 2
.L4:
.word v11
.size t11, .-t11
.comm v11,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_struct.c_t12.c"
.intel_syntax noprefix
.text
.p2align 4
.type t12, @function
t12:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
mov esi, 83
mov edi, 83
call expect@PLT
mov esi, 84
mov edi, 84
call expect@PLT
mov esi, 85
mov edi, 85
call expect@PLT
mov esi, 85
mov edi, 85
add rsp, 8
.cfi_def_cfa_offset 8
jmp expect@PLT
.cfi_endproc
.LFE0:
.size t12, .-t12
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_struct.c_t12.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type t12, %function
t12:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
mov r1, #83
push {r4, lr}
mov r0, r1
bl expect
mov r1, #84
mov r0, r1
bl expect
mov r1, #85
mov r0, r1
bl expect
pop {r4, lr}
mov r1, #85
mov r0, r1
b expect
.size t12, .-t12
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_struct.c_t13.c"
.intel_syntax noprefix
.text
.p2align 4
.type t13, @function
t13:
.LFB0:
.cfi_startproc
endbr64
mov esi, 97
mov edi, 97
jmp expect@PLT
.cfi_endproc
.LFE0:
.size t13, .-t13
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_struct.c_t13.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type t13, %function
t13:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
mov r1, #97
mov r0, r1
b expect
.size t13, .-t13
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_struct.c_t14.c"
.intel_syntax noprefix
.text
.p2align 4
.type t14, @function
t14:
.LFB0:
.cfi_startproc
endbr64
mov esi, 2
mov edi, 2
jmp expect@PLT
.cfi_endproc
.LFE0:
.size t14, .-t14
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_struct.c_t14.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type t14, %function
t14:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
mov r1, #2
mov r0, r1
b expect
.size t14, .-t14
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_struct.c_t2.c"
.intel_syntax noprefix
.text
.p2align 4
.type t2, @function
t2:
.LFB0:
.cfi_startproc
endbr64
mov esi, 63
mov edi, 63
jmp expect@PLT
.cfi_endproc
.LFE0:
.size t2, .-t2
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_struct.c_t2.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type t2, %function
t2:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
mov r1, #63
mov r0, r1
b expect
.size t2, .-t2
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_struct.c_t3.c"
.intel_syntax noprefix
.text
.p2align 4
.type t3, @function
t3:
.LFB0:
.cfi_startproc
endbr64
mov esi, 67
mov edi, 67
jmp expect@PLT
.cfi_endproc
.LFE0:
.size t3, .-t3
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_struct.c_t3.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type t3, %function
t3:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
mov r1, #67
mov r0, r1
b expect
.size t3, .-t3
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_struct.c_t4.c"
.intel_syntax noprefix
.text
.p2align 4
.type t4, @function
t4:
.LFB0:
.cfi_startproc
endbr64
mov esi, 67
mov edi, 67
jmp expect@PLT
.cfi_endproc
.LFE0:
.size t4, .-t4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_struct.c_t4.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type t4, %function
t4:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
mov r1, #67
mov r0, r1
b expect
.size t4, .-t4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_struct.c_t5.c"
.intel_syntax noprefix
.text
.p2align 4
.type t5, @function
t5:
.LFB0:
.cfi_startproc
endbr64
mov esi, 68
mov edi, 68
xor eax, eax
jmp expect@PLT
.cfi_endproc
.LFE0:
.size t5, .-t5
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_struct.c_t5.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type t5, %function
t5:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
mov r1, #68
mov r0, r1
b expect
.size t5, .-t5
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_struct.c_t6.c"
.intel_syntax noprefix
.text
.p2align 4
.type t6, @function
t6:
.LFB0:
.cfi_startproc
endbr64
mov esi, 69
mov edi, 69
xor eax, eax
jmp expect@PLT
.cfi_endproc
.LFE0:
.size t6, .-t6
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_struct.c_t6.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type t6, %function
t6:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
mov r1, #69
mov r0, r1
b expect
.size t6, .-t6
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_struct.c_t7.c"
.intel_syntax noprefix
.text
.p2align 4
.type t7, @function
t7:
.LFB0:
.cfi_startproc
endbr64
mov esi, 71
mov edi, 71
xor eax, eax
jmp expect@PLT
.cfi_endproc
.LFE0:
.size t7, .-t7
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_struct.c_t7.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type t7, %function
t7:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
mov r1, #71
mov r0, r1
b expect
.size t7, .-t7
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_struct.c_t8.c"
.intel_syntax noprefix
.text
.p2align 4
.type t8, @function
t8:
.LFB0:
.cfi_startproc
endbr64
mov esi, 72
mov edi, 72
xor eax, eax
jmp expect@PLT
.cfi_endproc
.LFE0:
.size t8, .-t8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_struct.c_t8.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type t8, %function
t8:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
mov r1, #72
mov r0, r1
b expect
.size t8, .-t8
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_struct.c_t9.c"
.intel_syntax noprefix
.text
.p2align 4
.type t9, @function
t9:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
mov esi, 73
mov edi, 73
call expect@PLT
mov esi, 74
mov edi, 74
call expect@PLT
mov esi, 74
mov edi, 74
add rsp, 8
.cfi_def_cfa_offset 8
jmp expect@PLT
.cfi_endproc
.LFE0:
.size t9, .-t9
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_struct.c_t9.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type t9, %function
t9:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
mov r1, #73
push {r4, lr}
mov r0, r1
bl expect
mov r1, #74
mov r0, r1
bl expect
pop {r4, lr}
mov r1, #74
mov r0, r1
b expect
.size t9, .-t9
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_struct.c_testmain.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "struct"
.text
.p2align 4
.globl testmain
.type testmain, @function
testmain:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
lea rdi, .LC0[rip]
call print@PLT
xor eax, eax
call t1@PLT
xor eax, eax
call t2@PLT
xor eax, eax
call t3@PLT
xor eax, eax
call t4@PLT
xor eax, eax
call t5@PLT
xor eax, eax
call t6@PLT
xor eax, eax
call t7@PLT
xor eax, eax
call t8@PLT
xor eax, eax
call t9@PLT
xor eax, eax
call t10@PLT
xor eax, eax
call t11@PLT
xor eax, eax
call t12@PLT
xor eax, eax
call t13@PLT
xor eax, eax
call t14@PLT
xor eax, eax
call unnamed@PLT
xor eax, eax
call assign@PLT
xor eax, eax
call arrow@PLT
xor eax, eax
call incomplete@PLT
xor eax, eax
call bitfield_basic@PLT
xor eax, eax
call bitfield_mix@PLT
xor eax, eax
call bitfield_union@PLT
xor eax, eax
call bitfield_unnamed@PLT
xor eax, eax
call bitfield_initializer@PLT
xor eax, eax
call test_offsetof@PLT
xor eax, eax
call flexible_member@PLT
xor eax, eax
add rsp, 8
.cfi_def_cfa_offset 8
jmp empty_struct@PLT
.cfi_endproc
.LFE0:
.size testmain, .-testmain
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_struct.c_testmain.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "struct\000"
.text
.align 2
.global testmain
.syntax unified
.arm
.fpu softvfp
.type testmain, %function
testmain:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
ldr r0, .L4
bl print
bl t1
bl t2
bl t3
bl t4
bl t5
bl t6
bl t7
bl t8
bl t9
bl t10
bl t11
bl t12
bl t13
bl t14
bl unnamed
bl assign
bl arrow
bl incomplete
bl bitfield_basic
bl bitfield_mix
bl bitfield_union
bl bitfield_unnamed
bl bitfield_initializer
bl test_offsetof
bl flexible_member
pop {r4, lr}
b empty_struct
.L5:
.align 2
.L4:
.word .LC0
.size testmain, .-testmain
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_struct.c_unnamed.c"
.intel_syntax noprefix
.text
.p2align 4
.type unnamed, @function
unnamed:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
mov esi, 1
mov edi, 1
call expect@PLT
mov esi, 7
mov edi, 7
add rsp, 8
.cfi_def_cfa_offset 8
jmp expect@PLT
.cfi_endproc
.LFE0:
.size unnamed, .-unnamed
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_struct.c_unnamed.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type unnamed, %function
unnamed:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
mov r1, #1
push {r4, lr}
mov r0, r1
bl expect
pop {r4, lr}
mov r1, #7
mov r0, r1
b expect
.size unnamed, .-unnamed
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_testmain.c_booltest1.c"
.intel_syntax noprefix
.text
.p2align 4
.globl booltest1
.type booltest1, @function
booltest1:
.LFB0:
.cfi_startproc
endbr64
mov eax, edi
ret
.cfi_endproc
.LFE0:
.size booltest1, .-booltest1
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_testmain.c_booltest1.c"
.text
.align 2
.global booltest1
.syntax unified
.arm
.fpu softvfp
.type booltest1, %function
booltest1:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
bx lr
.size booltest1, .-booltest1
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_testmain.c_fexpect.c"
.intel_syntax noprefix
.text
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC0:
.string "%s:%d: %d expected, but got %d\n"
.text
.p2align 4
.globl fexpect
.type fexpect, @function
fexpect:
.LFB0:
.cfi_startproc
endbr64
cmp edx, ecx
je .L1
push r13
.cfi_def_cfa_offset 16
.cfi_offset 13, -16
xor eax, eax
mov r13d, esi
push r12
.cfi_def_cfa_offset 24
.cfi_offset 12, -24
mov r12d, edx
push rbp
.cfi_def_cfa_offset 32
.cfi_offset 6, -32
mov rbp, rdi
push rbx
.cfi_def_cfa_offset 40
.cfi_offset 3, -40
mov ebx, ecx
sub rsp, 8
.cfi_def_cfa_offset 48
call printfail@PLT
mov r8d, ebx
mov ecx, r12d
mov edx, r13d
mov rsi, rbp
lea rdi, .LC0[rip]
call printf@PLT
add rsp, 8
.cfi_def_cfa_offset 40
mov edi, 1
pop rbx
.cfi_restore 3
.cfi_def_cfa_offset 32
pop rbp
.cfi_restore 6
.cfi_def_cfa_offset 24
pop r12
.cfi_restore 12
.cfi_def_cfa_offset 16
pop r13
.cfi_restore 13
.cfi_def_cfa_offset 8
jmp exit@PLT
.p2align 4,,10
.p2align 3
.L1:
ret
.cfi_endproc
.LFE0:
.size fexpect, .-fexpect
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_testmain.c_fexpect.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "%s:%d: %d expected, but got %d\012\000"
.text
.align 2
.global fexpect
.syntax unified
.arm
.fpu softvfp
.type fexpect, %function
fexpect:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
cmp r2, r3
bxeq lr
push {r4, r5, r6, r7, lr}
mov r4, r2
mov r5, r3
mov r7, r1
mov r6, r0
sub sp, sp, #12
bl printfail
mov r3, r4
mov r2, r7
mov r1, r6
str r5, [sp]
ldr r0, .L7
bl printf
mov r0, #1
add sp, sp, #12
@ sp needed
pop {r4, r5, r6, r7, lr}
b exit
.L8:
.align 2
.L7:
.word .LC0
.size fexpect, .-fexpect
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_testmain.c_fexpect_string.c"
.intel_syntax noprefix
.text
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC0:
.string "%s:%d: \"%s\" expected, but got \"%s\"\n"
.text
.p2align 4
.globl fexpect_string
.type fexpect_string, @function
fexpect_string:
.LFB0:
.cfi_startproc
endbr64
push r13
.cfi_def_cfa_offset 16
.cfi_offset 13, -16
mov r13d, esi
mov rsi, rcx
push r12
.cfi_def_cfa_offset 24
.cfi_offset 12, -24
mov r12, rdx
push rbp
.cfi_def_cfa_offset 32
.cfi_offset 6, -32
mov rbp, rdi
mov rdi, rdx
push rbx
.cfi_def_cfa_offset 40
.cfi_offset 3, -40
mov rbx, rcx
sub rsp, 8
.cfi_def_cfa_offset 48
call strcmp@PLT
test eax, eax
jne .L5
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 40
pop rbx
.cfi_def_cfa_offset 32
pop rbp
.cfi_def_cfa_offset 24
pop r12
.cfi_def_cfa_offset 16
pop r13
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L5:
.cfi_restore_state
xor eax, eax
call printfail@PLT
mov r8, rbx
mov rcx, r12
mov edx, r13d
mov rsi, rbp
lea rdi, .LC0[rip]
call printf@PLT
add rsp, 8
.cfi_def_cfa_offset 40
mov edi, 1
pop rbx
.cfi_def_cfa_offset 32
pop rbp
.cfi_def_cfa_offset 24
pop r12
.cfi_def_cfa_offset 16
pop r13
.cfi_def_cfa_offset 8
jmp exit@PLT
.cfi_endproc
.LFE0:
.size fexpect_string, .-fexpect_string
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_testmain.c_fexpect_string.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "%s:%d: \"%s\" expected, but got \"%s\"\012\000"
.text
.align 2
.global fexpect_string
.syntax unified
.arm
.fpu softvfp
.type fexpect_string, %function
fexpect_string:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, lr}
mov r6, r0
mov r7, r1
mov r0, r2
mov r1, r3
sub sp, sp, #12
mov r4, r2
mov r5, r3
bl strcmp
cmp r0, #0
bne .L5
add sp, sp, #12
@ sp needed
pop {r4, r5, r6, r7, pc}
.L5:
bl printfail
mov r3, r4
mov r2, r7
mov r1, r6
str r5, [sp]
ldr r0, .L6
bl printf
mov r0, #1
add sp, sp, #12
@ sp needed
pop {r4, r5, r6, r7, lr}
b exit
.L7:
.align 2
.L6:
.word .LC0
.size fexpect_string, .-fexpect_string
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_testmain.c_fexpectd.c"
.intel_syntax noprefix
.text
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC0:
.string "%s:%d: %lf expected, but got %lf\n"
.text
.p2align 4
.globl fexpectd
.type fexpectd, @function
fexpectd:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
mov r12d, esi
push rbp
.cfi_def_cfa_offset 24
.cfi_offset 6, -24
mov rbp, rdi
sub rsp, 24
.cfi_def_cfa_offset 48
ucomisd xmm0, xmm1
jp .L4
jne .L4
add rsp, 24
.cfi_remember_state
.cfi_def_cfa_offset 24
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L4:
.cfi_restore_state
xor eax, eax
movsd QWORD PTR 8[rsp], xmm1
movsd QWORD PTR [rsp], xmm0
call printfail@PLT
movsd xmm0, QWORD PTR [rsp]
mov edx, r12d
mov rsi, rbp
movsd xmm1, QWORD PTR 8[rsp]
lea rdi, .LC0[rip]
call printf@PLT
add rsp, 24
.cfi_def_cfa_offset 24
mov edi, 1
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
jmp exit@PLT
.cfi_endproc
.LFE0:
.size fexpectd, .-fexpectd
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_testmain.c_fexpectd.c"
.text
.global __aeabi_dcmpeq
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "%s:%d: %lf expected, but got %lf\012\000"
.text
.align 2
.global fexpectd
.syntax unified
.arm
.fpu softvfp
.type fexpectd, %function
fexpectd:
@ args = 8, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, r9, lr}
mov r4, r2
mov r5, r3
sub sp, sp, #20
add r7, sp, #48
ldmia r7, {r6-r7}
mov r8, r0
mov r9, r1
mov r2, r6
mov r3, r7
mov r0, r4
mov r1, r5
bl __aeabi_dcmpeq
cmp r0, #0
beq .L5
add sp, sp, #20
@ sp needed
pop {r4, r5, r6, r7, r8, r9, pc}
.L5:
bl printfail
mov r2, r9
mov r1, r8
str r6, [sp, #8]
str r7, [sp, #12]
stm sp, {r4-r5}
ldr r0, .L6
bl printf
mov r0, #1
add sp, sp, #20
@ sp needed
pop {r4, r5, r6, r7, r8, r9, lr}
b exit
.L7:
.align 2
.L6:
.word .LC0
.size fexpectd, .-fexpectd
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_testmain.c_fexpectf.c"
.intel_syntax noprefix
.text
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC0:
.string "%s:%d: %f expected, but got %f\n"
.text
.p2align 4
.globl fexpectf
.type fexpectf, @function
fexpectf:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
mov r12d, esi
push rbp
.cfi_def_cfa_offset 24
.cfi_offset 6, -24
mov rbp, rdi
sub rsp, 24
.cfi_def_cfa_offset 48
ucomiss xmm0, xmm1
jp .L4
jne .L4
add rsp, 24
.cfi_remember_state
.cfi_def_cfa_offset 24
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L4:
.cfi_restore_state
xor eax, eax
movss DWORD PTR 12[rsp], xmm1
movss DWORD PTR 8[rsp], xmm0
call printfail@PLT
movss xmm1, DWORD PTR 12[rsp]
mov edx, r12d
mov rsi, rbp
movss xmm0, DWORD PTR 8[rsp]
lea rdi, .LC0[rip]
call printf@PLT
add rsp, 24
.cfi_def_cfa_offset 24
mov edi, 1
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
jmp exit@PLT
.cfi_endproc
.LFE0:
.size fexpectf, .-fexpectf
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_testmain.c_fexpectf.c"
.text
.global __aeabi_fcmpeq
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "%s:%d: %f expected, but got %f\012\000"
.text
.align 2
.global fexpectf
.syntax unified
.arm
.fpu softvfp
.type fexpectf, %function
fexpectf:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, lr}
mov r6, r0
mov r7, r1
mov r0, r2
mov r1, r3
sub sp, sp, #12
mov r4, r2
mov r5, r3
bl __aeabi_fcmpeq
cmp r0, #0
beq .L5
add sp, sp, #12
@ sp needed
pop {r4, r5, r6, r7, pc}
.L5:
bl printfail
mov r3, r4
mov r2, r7
mov r1, r6
str r5, [sp] @ float
ldr r0, .L6
bl printf
mov r0, #1
add sp, sp, #12
@ sp needed
pop {r4, r5, r6, r7, lr}
b exit
.L7:
.align 2
.L6:
.word .LC0
.size fexpectf, .-fexpectf
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_testmain.c_fexpectl.c"
.intel_syntax noprefix
.text
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC0:
.string "%s:%d: %ld expected, but got %ld\n"
.text
.p2align 4
.globl fexpectl
.type fexpectl, @function
fexpectl:
.LFB0:
.cfi_startproc
endbr64
cmp rdx, rcx
je .L1
push r13
.cfi_def_cfa_offset 16
.cfi_offset 13, -16
xor eax, eax
mov r13d, esi
push r12
.cfi_def_cfa_offset 24
.cfi_offset 12, -24
mov r12, rdx
push rbp
.cfi_def_cfa_offset 32
.cfi_offset 6, -32
mov rbp, rdi
push rbx
.cfi_def_cfa_offset 40
.cfi_offset 3, -40
mov rbx, rcx
sub rsp, 8
.cfi_def_cfa_offset 48
call printfail@PLT
mov r8, rbx
mov rcx, r12
mov edx, r13d
mov rsi, rbp
lea rdi, .LC0[rip]
call printf@PLT
add rsp, 8
.cfi_def_cfa_offset 40
mov edi, 1
pop rbx
.cfi_restore 3
.cfi_def_cfa_offset 32
pop rbp
.cfi_restore 6
.cfi_def_cfa_offset 24
pop r12
.cfi_restore 12
.cfi_def_cfa_offset 16
pop r13
.cfi_restore 13
.cfi_def_cfa_offset 8
jmp exit@PLT
.p2align 4,,10
.p2align 3
.L1:
ret
.cfi_endproc
.LFE0:
.size fexpectl, .-fexpectl
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_testmain.c_fexpectl.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "%s:%d: %ld expected, but got %ld\012\000"
.text
.align 2
.global fexpectl
.syntax unified
.arm
.fpu softvfp
.type fexpectl, %function
fexpectl:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
cmp r2, r3
bxeq lr
push {r4, r5, r6, r7, lr}
mov r4, r2
mov r5, r3
mov r7, r1
mov r6, r0
sub sp, sp, #12
bl printfail
mov r3, r4
mov r2, r7
mov r1, r6
str r5, [sp]
ldr r0, .L7
bl printf
mov r0, #1
add sp, sp, #12
@ sp needed
pop {r4, r5, r6, r7, lr}
b exit
.L8:
.align 2
.L7:
.word .LC0
.size fexpectl, .-fexpectl
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_testmain.c_ffail.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "%s:%d: %s\n"
.text
.p2align 4
.globl ffail
.type ffail, @function
ffail:
.LFB0:
.cfi_startproc
endbr64
push r13
.cfi_def_cfa_offset 16
.cfi_offset 13, -16
xor eax, eax
mov r13, rdx
push r12
.cfi_def_cfa_offset 24
.cfi_offset 12, -24
mov r12d, esi
push rbp
.cfi_def_cfa_offset 32
.cfi_offset 6, -32
mov rbp, rdi
call printfail@PLT
mov rcx, r13
mov edx, r12d
mov rsi, rbp
lea rdi, .LC0[rip]
call printf@PLT
pop rbp
.cfi_def_cfa_offset 24
mov edi, 1
pop r12
.cfi_def_cfa_offset 16
pop r13
.cfi_def_cfa_offset 8
jmp exit@PLT
.cfi_endproc
.LFE0:
.size ffail, .-ffail
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_testmain.c_ffail.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "%s:%d: %s\012\000"
.text
.align 2
.global ffail
.syntax unified
.arm
.fpu softvfp
.type ffail, %function
ffail:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r5, r1
mov r6, r2
mov r4, r0
bl printfail
mov r3, r6
mov r2, r5
mov r1, r4
ldr r0, .L4
bl printf
pop {r4, r5, r6, lr}
mov r0, #1
b exit
.L5:
.align 2
.L4:
.word .LC0
.size ffail, .-ffail
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_testmain.c_main.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "\033[32mOK\033[0m\n"
.LC1:
.string "OK\n"
.section .text.startup,"ax",@progbits
.p2align 4
.globl main
.type main, @function
main:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
xor eax, eax
call testmain@PLT
mov edi, DWORD PTR stdout[rip]
call fileno@PLT
mov edi, eax
call isatty@PLT
lea rdi, .LC0[rip]
test rax, rax
lea rax, .LC1[rip]
cmove rdi, rax
call printf@PLT
xor eax, eax
add rsp, 8
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size main, .-main
.globl stdout
.bss
.align 4
.type stdout, @object
.size stdout, 4
stdout:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_testmain.c_main.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "\033[32mOK\033[0m\012\000"
.align 2
.LC1:
.ascii "OK\012\000"
.section .text.startup,"ax",%progbits
.align 2
.global main
.syntax unified
.arm
.fpu softvfp
.type main, %function
main:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
bl testmain
ldr r3, .L6
ldr r0, [r3]
bl fileno
bl isatty
ldr r2, .L6+4
ldr r3, .L6+8
cmp r0, #0
movne r0, r2
moveq r0, r3
bl printf
mov r0, #0
pop {r4, pc}
.L7:
.align 2
.L6:
.word stdout
.word .LC0
.word .LC1
.size main, .-main
.comm stdout,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_testmain.c_oldstyle1.c"
.intel_syntax noprefix
.text
.p2align 4
.globl oldstyle1
.type oldstyle1, @function
oldstyle1:
.LFB0:
.cfi_startproc
endbr64
lea eax, [rdi+rsi]
ret
.cfi_endproc
.LFE0:
.size oldstyle1, .-oldstyle1
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_testmain.c_oldstyle1.c"
.text
.align 2
.global oldstyle1
.syntax unified
.arm
.fpu softvfp
.type oldstyle1, %function
oldstyle1:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
add r0, r0, r1
bx lr
.size oldstyle1, .-oldstyle1
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_testmain.c_print.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "Testing %s ... "
.text
.p2align 4
.globl print
.type print, @function
print:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
mov rsi, rdi
lea rdi, .LC0[rip]
call printf@PLT
mov edi, DWORD PTR stdout[rip]
add rsp, 8
.cfi_def_cfa_offset 8
jmp fflush@PLT
.cfi_endproc
.LFE0:
.size print, .-print
.globl stdout
.bss
.align 4
.type stdout, @object
.size stdout, 4
stdout:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_testmain.c_print.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "Testing %s ... \000"
.text
.align 2
.global print
.syntax unified
.arm
.fpu softvfp
.type print, %function
print:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
mov r1, r0
ldr r0, .L4
bl printf
pop {r4, lr}
ldr r3, .L4+4
ldr r0, [r3]
b fflush
.L5:
.align 2
.L4:
.word .LC0
.word stdout
.size print, .-print
.comm stdout,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_testmain.c_printfail.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "\033[1;31mFailed\033[0m\n"
.LC1:
.string "Failed\n"
.text
.p2align 4
.globl printfail
.type printfail, @function
printfail:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
mov edi, DWORD PTR stdout[rip]
call fileno@PLT
mov edi, eax
call isatty@PLT
lea rdi, .LC0[rip]
test rax, rax
lea rax, .LC1[rip]
cmove rdi, rax
add rsp, 8
.cfi_def_cfa_offset 8
jmp printf@PLT
.cfi_endproc
.LFE0:
.size printfail, .-printfail
.globl stdout
.bss
.align 4
.type stdout, @object
.size stdout, 4
stdout:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_testmain.c_printfail.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "\033[1;31mFailed\033[0m\012\000"
.align 2
.LC1:
.ascii "Failed\012\000"
.text
.align 2
.global printfail
.syntax unified
.arm
.fpu softvfp
.type printfail, %function
printfail:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
ldr r3, .L6
push {r4, lr}
ldr r0, [r3]
bl fileno
bl isatty
pop {r4, lr}
ldr r2, .L6+4
ldr r3, .L6+8
cmp r0, #0
movne r0, r2
moveq r0, r3
b printf
.L7:
.align 2
.L6:
.word stdout
.word .LC0
.word .LC1
.size printfail, .-printfail
.comm stdout,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_type.c_test_align.c"
.intel_syntax noprefix
.text
.p2align 4
.type test_align, @function
test_align:
.LFB0:
.cfi_startproc
endbr64
ret
.cfi_endproc
.LFE0:
.size test_align, .-test_align
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_type.c_test_align.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type test_align, %function
test_align:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
bx lr
.size test_align, .-test_align
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_type.c_test_pointer.c"
.intel_syntax noprefix
.text
.p2align 4
.type test_pointer, @function
test_pointer:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
mov esi, 8
mov edi, 8
call expect@PLT
mov esi, 40
mov edi, 40
call expect@PLT
mov esi, 8
mov edi, 8
add rsp, 8
.cfi_def_cfa_offset 8
jmp expect@PLT
.cfi_endproc
.LFE0:
.size test_pointer, .-test_pointer
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_type.c_test_pointer.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type test_pointer, %function
test_pointer:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
mov r1, #4
mov r0, #8
bl expect
mov r1, #20
mov r0, #40
bl expect
pop {r4, lr}
mov r1, #4
mov r0, #8
b expect
.size test_pointer, .-test_pointer
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_type.c_test_signed.c"
.intel_syntax noprefix
.text
.p2align 4
.type test_signed, @function
test_signed:
.LFB0:
.cfi_startproc
endbr64
ret
.cfi_endproc
.LFE0:
.size test_signed, .-test_signed
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_type.c_test_signed.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type test_signed, %function
test_signed:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
bx lr
.size test_signed, .-test_signed
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_type.c_test_storage_class.c"
.intel_syntax noprefix
.text
.p2align 4
.type test_storage_class, @function
test_storage_class:
.LFB0:
.cfi_startproc
endbr64
ret
.cfi_endproc
.LFE0:
.size test_storage_class, .-test_storage_class
.globl c
.bss
.align 4
.type c, @object
.size c, 4
c:
.zero 4
.globl a
.align 4
.type a, @object
.size a, 4
a:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_type.c_test_storage_class.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type test_storage_class, %function
test_storage_class:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
bx lr
.size test_storage_class, .-test_storage_class
.comm c,4,4
.comm a,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_type.c_test_type.c"
.intel_syntax noprefix
.text
.p2align 4
.type test_type, @function
test_type:
.LFB0:
.cfi_startproc
endbr64
ret
.cfi_endproc
.LFE0:
.size test_type, .-test_type
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_type.c_test_type.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type test_type, %function
test_type:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
bx lr
.size test_type, .-test_type
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_type.c_test_typedef.c"
.intel_syntax noprefix
.text
.p2align 4
.type test_typedef, @function
test_typedef:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
mov esi, 5
mov edi, 5
call expect@PLT
mov esi, 2
mov edi, 2
call expect@PLT
mov esi, 5
mov edi, 5
call expect@PLT
mov esi, 3
mov edi, 3
call expect@PLT
mov esi, 1
mov edi, 1
call expect@PLT
mov esi, 5
mov edi, 5
call expect@PLT
mov esi, 4
mov edi, 4
add rsp, 8
.cfi_def_cfa_offset 8
jmp expect@PLT
.cfi_endproc
.LFE0:
.size test_typedef, .-test_typedef
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_type.c_test_typedef.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type test_typedef, %function
test_typedef:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
mov r1, #5
push {r4, lr}
mov r0, r1
bl expect
mov r1, #2
mov r0, r1
bl expect
mov r1, #5
mov r0, r1
bl expect
mov r1, #3
mov r0, r1
bl expect
mov r1, #1
mov r0, r1
bl expect
mov r1, #5
mov r0, r1
bl expect
pop {r4, lr}
mov r1, #4
mov r0, r1
b expect
.size test_typedef, .-test_typedef
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_type.c_test_unsigned.c"
.intel_syntax noprefix
.text
.p2align 4
.type test_unsigned, @function
test_unsigned:
.LFB0:
.cfi_startproc
endbr64
ret
.cfi_endproc
.LFE0:
.size test_unsigned, .-test_unsigned
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_type.c_test_unsigned.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type test_unsigned, %function
test_unsigned:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
bx lr
.size test_unsigned, .-test_unsigned
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_type.c_test_unusual_order.c"
.intel_syntax noprefix
.text
.p2align 4
.type test_unusual_order, @function
test_unusual_order:
.LFB0:
.cfi_startproc
endbr64
ret
.cfi_endproc
.LFE0:
.size test_unusual_order, .-test_unusual_order
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_type.c_test_unusual_order.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type test_unusual_order, %function
test_unusual_order:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
bx lr
.size test_unusual_order, .-test_unusual_order
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_type.c_testmain.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "type system"
.text
.p2align 4
.globl testmain
.type testmain, @function
testmain:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
lea rdi, .LC0[rip]
call print@PLT
xor eax, eax
call test_type@PLT
xor eax, eax
call test_signed@PLT
xor eax, eax
call test_unsigned@PLT
xor eax, eax
call test_storage_class@PLT
xor eax, eax
call test_pointer@PLT
xor eax, eax
call test_unusual_order@PLT
xor eax, eax
call test_typedef@PLT
xor eax, eax
add rsp, 8
.cfi_def_cfa_offset 8
jmp test_align@PLT
.cfi_endproc
.LFE0:
.size testmain, .-testmain
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_type.c_testmain.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "type system\000"
.text
.align 2
.global testmain
.syntax unified
.arm
.fpu softvfp
.type testmain, %function
testmain:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
ldr r0, .L4
bl print
bl test_type
bl test_signed
bl test_unsigned
bl test_storage_class
bl test_pointer
bl test_unusual_order
bl test_typedef
pop {r4, lr}
b test_align
.L5:
.align 2
.L4:
.word .LC0
.size testmain, .-testmain
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_typeof.c_testmain.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "typeof"
.text
.p2align 4
.globl testmain
.type testmain, @function
testmain:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
lea rdi, .LC0[rip]
call print@PLT
xor eax, eax
call test_basic@PLT
xor eax, eax
call test_array@PLT
xor eax, eax
add rsp, 8
.cfi_def_cfa_offset 8
jmp test_alt@PLT
.cfi_endproc
.LFE0:
.size testmain, .-testmain
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_typeof.c_testmain.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "typeof\000"
.text
.align 2
.global testmain
.syntax unified
.arm
.fpu softvfp
.type testmain, %function
testmain:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
ldr r0, .L4
bl print
bl test_basic
bl test_array
pop {r4, lr}
b test_alt
.L5:
.align 2
.L4:
.word .LC0
.size testmain, .-testmain
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_union.c_t1.c"
.intel_syntax noprefix
.text
.p2align 4
.type t1, @function
t1:
.LFB0:
.cfi_startproc
endbr64
mov esi, 90
mov edi, 90
jmp expect@PLT
.cfi_endproc
.LFE0:
.size t1, .-t1
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_union.c_t1.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type t1, %function
t1:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
mov r1, #90
mov r0, r1
b expect
.size t1, .-t1
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_union.c_t2.c"
.intel_syntax noprefix
.text
.p2align 4
.type t2, @function
t2:
.LFB0:
.cfi_startproc
endbr64
mov esi, 256
mov edi, 256
jmp expect@PLT
.cfi_endproc
.LFE0:
.size t2, .-t2
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_union.c_t2.c"
.text
.section .rodata.cst4,"aM",%progbits,4
.align 2
.LC0:
.word __stack_chk_guard
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type t2, %function
t2:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 0, uses_anonymous_args = 0
str lr, [sp, #-4]!
ldr r3, .L7
sub sp, sp, #12
ldr r3, [r3]
str r3, [sp, #4]
mov r3,#0
ldr r3, .L7
ldr r2, [r3]
ldr r3, [sp, #4]
eors r2, r3, r2
mov r3, #0
bne .L6
mov r1, #256
mov r0, r1
add sp, sp, #12
@ sp needed
ldr lr, [sp], #4
b expect
.L6:
bl __stack_chk_fail
.L8:
.align 2
.L7:
.word .LC0
.size t2, .-t2
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_union.c_t3.c"
.intel_syntax noprefix
.text
.p2align 4
.type t3, @function
t3:
.LFB0:
.cfi_startproc
endbr64
mov esi, 256
mov edi, 256
jmp expect@PLT
.cfi_endproc
.LFE0:
.size t3, .-t3
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_union.c_t3.c"
.text
.section .rodata.cst4,"aM",%progbits,4
.align 2
.LC0:
.word __stack_chk_guard
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type t3, %function
t3:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 0, uses_anonymous_args = 0
str lr, [sp, #-4]!
ldr r3, .L7
sub sp, sp, #12
ldr r3, [r3]
str r3, [sp, #4]
mov r3,#0
ldr r3, .L7
ldr r2, [r3]
ldr r3, [sp, #4]
eors r2, r3, r2
mov r3, #0
bne .L6
mov r1, #256
mov r0, r1
add sp, sp, #12
@ sp needed
ldr lr, [sp], #4
b expect
.L6:
bl __stack_chk_fail
.L8:
.align 2
.L7:
.word .LC0
.size t3, .-t3
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_union.c_testmain.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "union"
.text
.p2align 4
.globl testmain
.type testmain, @function
testmain:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
lea rdi, .LC0[rip]
call print@PLT
xor eax, eax
call t1@PLT
xor eax, eax
call t2@PLT
xor eax, eax
call t3@PLT
xor eax, eax
add rsp, 8
.cfi_def_cfa_offset 8
jmp test_sizeof@PLT
.cfi_endproc
.LFE0:
.size testmain, .-testmain
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_union.c_testmain.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "union\000"
.text
.align 2
.global testmain
.syntax unified
.arm
.fpu softvfp
.type testmain, %function
testmain:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
ldr r0, .L4
bl print
bl t1
bl t2
bl t3
pop {r4, lr}
b test_sizeof
.L5:
.align 2
.L4:
.word .LC0
.size testmain, .-testmain
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_usualconv.c_testmain.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "usual conversion"
.text
.p2align 4
.globl testmain
.type testmain, @function
testmain:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
lea rdi, .LC0[rip]
call print@PLT
xor eax, eax
add rsp, 8
.cfi_def_cfa_offset 8
jmp test_usual_conv@PLT
.cfi_endproc
.LFE0:
.size testmain, .-testmain
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_usualconv.c_testmain.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "usual conversion\000"
.text
.align 2
.global testmain
.syntax unified
.arm
.fpu softvfp
.type testmain, %function
testmain:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
ldr r0, .L4
bl print
pop {r4, lr}
b test_usual_conv
.L5:
.align 2
.L4:
.word .LC0
.size testmain, .-testmain
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_varargs.c_test_va_list.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string ""
.LC1:
.string "%d"
.LC2:
.string "3"
.LC3:
.string "abc"
.LC6:
.string "%d,%.1f,%d,%.1f,%s"
.LC7:
.string "3,1.0,6,2.0,abc"
.text
.p2align 4
.type test_va_list, @function
test_va_list:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
lea rdi, .LC0[rip]
xor eax, eax
call fmt@PLT
lea rdi, .LC0[rip]
mov esi, eax
call expect_string@PLT
mov esi, 3
lea rdi, .LC1[rip]
xor eax, eax
call fmt@PLT
lea rdi, .LC2[rip]
mov esi, eax
call expect_string@PLT
mov esi, 3
movsd xmm1, QWORD PTR .LC4[rip]
movsd xmm0, QWORD PTR .LC5[rip]
lea rdi, .LC6[rip]
mov edx, 6
mov eax, 2
lea rcx, .LC3[rip]
call fmt@PLT
lea rdi, .LC7[rip]
add rsp, 8
.cfi_def_cfa_offset 8
mov esi, eax
jmp expect_string@PLT
.cfi_endproc
.LFE0:
.size test_va_list, .-test_va_list
.section .rodata.cst8,"aM",@progbits,8
.align 8
.LC4:
.long 0
.long 1073741824
.align 8
.LC5:
.long 0
.long 1072693248
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_varargs.c_test_va_list.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "\000"
.align 2
.LC1:
.ascii "%d\000"
.align 2
.LC2:
.ascii "3\000"
.align 2
.LC3:
.ascii "%d,%.1f,%d,%.1f,%s\000"
.align 2
.LC4:
.ascii "abc\000"
.align 2
.LC5:
.ascii "3,1.0,6,2.0,abc\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type test_va_list, %function
test_va_list:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
ldr r4, .L4
sub sp, sp, #24
mov r0, r4
bl fmt
mov r1, r0
mov r0, r4
bl expect_string
mov r1, #3
ldr r0, .L4+4
bl fmt
mov r1, r0
ldr r0, .L4+8
bl expect_string
mov r0, #0
mov r1, #1073741824
mov r2, #6
ldr r3, .L4+12
str r0, [sp, #8]
str r1, [sp, #12]
str r2, [sp]
str r3, [sp, #16]
mov r2, #0
mov r1, #3
ldr r3, .L4+16
ldr r0, .L4+20
bl fmt
mov r1, r0
ldr r0, .L4+24
add sp, sp, #24
@ sp needed
pop {r4, lr}
b expect_string
.L5:
.align 2
.L4:
.word .LC0
.word .LC1
.word .LC2
.word .LC4
.word 1072693248
.word .LC3
.word .LC5
.size test_va_list, .-test_va_list
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_varargs.c_testmain.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "varargs"
.LC5:
.string "d"
.LC6:
.string "abc"
.text
.p2align 4
.globl testmain
.type testmain, @function
testmain:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
lea rdi, .LC0[rip]
call print@PLT
xor eax, eax
call test_builtin@PLT
mov r8d, 8
mov ecx, 5
mov edx, 3
mov esi, 2
mov edi, 1
call test_int@PLT
movsd xmm1, QWORD PTR .LC3[rip]
movsd xmm3, QWORD PTR .LC1[rip]
movsd xmm2, QWORD PTR .LC2[rip]
movsd xmm0, QWORD PTR .LC4[rip]
call test_float@PLT
mov ecx, 5
mov esi, 4
mov rax, QWORD PTR .LC3[rip]
lea rdx, .LC5[rip]
lea rdi, .LC6[rip]
movq xmm0, rax
call test_mix@PLT
xor eax, eax
add rsp, 8
.cfi_def_cfa_offset 8
jmp test_va_list@PLT
.cfi_endproc
.LFE0:
.size testmain, .-testmain
.section .rodata.cst8,"aM",@progbits,8
.align 8
.LC1:
.long 0
.long 1075838976
.align 8
.LC2:
.long 0
.long 1074790400
.align 8
.LC3:
.long 0
.long 1073741824
.align 8
.LC4:
.long 0
.long 1072693248
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_varargs.c_testmain.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "varargs\000"
.align 2
.LC1:
.ascii "abc\000"
.align 2
.LC2:
.ascii "d\000"
.text
.align 2
.global testmain
.syntax unified
.arm
.fpu softvfp
.type testmain, %function
testmain:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, lr}
ldr r0, .L4
sub sp, sp, #20
bl print
bl test_builtin
mov r2, #8
mov r3, #5
str r2, [sp]
mov r1, #2
mov r2, #3
mov r0, #1
bl test_int
mov r4, #0
mov r5, #1073741824
mov r6, #0
mov r0, #0
ldr r7, .L4+4
ldr r1, .L4+8
mov r2, r4
stm sp, {r0-r1}
mov r3, r5
str r6, [sp, #8]
str r7, [sp, #12]
ldr r1, .L4+12
mov r0, #0
bl test_float
mov ip, #5
mov r0, #4
ldr r1, .L4+16
mov r2, r4
stm sp, {r0, r1, ip}
mov r3, r5
ldr r0, .L4+20
bl test_mix
add sp, sp, #20
@ sp needed
pop {r4, r5, r6, r7, lr}
b test_va_list
.L5:
.align 2
.L4:
.word .LC0
.word 1075838976
.word 1074790400
.word 1072693248
.word .LC2
.word .LC1
.size testmain, .-testmain
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_AppRun.c_filter.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string ".desktop"
.text
.p2align 4
.globl filter
.type filter, @function
filter:
.LFB0:
.cfi_startproc
endbr64
mov esi, 46
sub rsp, 8
.cfi_def_cfa_offset 16
call strrchr@PLT
mov rsi, rax
xor eax, eax
test rsi, rsi
je .L1
mov ecx, 9
lea rdi, .LC0[rip]
repz cmpsb
seta al
sbb al, 0
test al, al
sete al
movzx eax, al
.L1:
add rsp, 8
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size filter, .-filter
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_AppRun.c_filter.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii ".desktop\000"
.text
.align 2
.global filter
.syntax unified
.arm
.fpu softvfp
.type filter, %function
filter:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
mov r1, #46
push {r4, lr}
bl strrchr
subs r3, r0, #0
beq .L3
ldr r1, .L6
bl strcmp
clz r0, r0
lsr r0, r0, #5
pop {r4, pc}
.L3:
mov r0, r3
pop {r4, pc}
.L7:
.align 2
.L6:
.word .LC0
.size filter, .-filter
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_AppRun.c_main.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string ""
.LC1:
.string "/usr/local/share/:/usr/share/"
.LC2:
.string "/proc/self/exe"
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC3:
.string "Could not access /proc/self/exe\n"
.section .rodata.str1.1
.LC4:
.string "No .desktop files found\n"
.LC5:
.string "Could not scan directory %s\n"
.LC6:
.string "%s/%s"
.LC7:
.string "r"
.section .rodata.str1.8
.align 8
.LC8:
.string "Executable not found, make sure there is a line starting with 'Exec='\n"
.section .rodata.str1.1
.LC9:
.string "Exec="
.section .rodata.str1.8
.align 8
.LC10:
.string "WARNING: Desktop file field code %%%c is not currently supported\n"
.align 8
.LC11:
.string "WARNING: Invalid desktop file field code %%%c\n"
.section .rodata.str1.1
.LC12:
.string "%s/usr"
.LC13:
.string "Could not cd into %s\n"
.LC14:
.string "PYTHONHOME=%s/usr/"
.LC15:
.string "PATH"
.section .rodata.str1.8
.align 8
.LC16:
.string "PATH=%s/usr/bin/:%s/usr/sbin/:%s/usr/games/:%s/bin/:%s/sbin/:%s"
.section .rodata.str1.1
.LC17:
.string "LD_LIBRARY_PATH"
.section .rodata.str1.8
.align 8
.LC18:
.string "LD_LIBRARY_PATH=%s/usr/lib/:%s/usr/lib/i386-linux-gnu/:%s/usr/lib/x86_64-linux-gnu/:%s/usr/lib32/:%s/usr/lib64/:%s/lib/:%s/lib/i386-linux-gnu/:%s/lib/x86_64-linux-gnu/:%s/lib32/:%s/lib64/:%s"
.section .rodata.str1.1
.LC19:
.string "PYTHONPATH"
.section .rodata.str1.8
.align 8
.LC20:
.string "PYTHONPATH=%s/usr/share/pyshared/:%s"
.section .rodata.str1.1
.LC21:
.string "XDG_DATA_DIRS"
.section .rodata.str1.8
.align 8
.LC22:
.string "XDG_DATA_DIRS=%s/usr/share/:%s"
.section .rodata.str1.1
.LC23:
.string "PERLLIB"
.section .rodata.str1.8
.align 8
.LC24:
.string "PERLLIB=%s/usr/share/perl5/:%s/usr/lib/perl5/:%s"
.section .rodata.str1.1
.LC25:
.string "GSETTINGS_SCHEMA_DIR"
.section .rodata.str1.8
.align 8
.LC26:
.string "GSETTINGS_SCHEMA_DIR=%s/usr/share/glib-2.0/schemas/:%s"
.section .rodata.str1.1
.LC27:
.string "QT_PLUGIN_PATH"
.section .rodata.str1.8
.align 8
.LC28:
.ascii "QT_PLUGIN_PATH=%s/usr/lib/qt4/plugins/:%s/usr/lib/i386-linux"
.ascii "-gnu/qt4/plug"
.string "ins/:%s/usr/lib/x86_64-linux-gnu/qt4/plugins/:%s/usr/lib32/qt4/plugins/:%s/usr/lib64/qt4/plugins/:%s/usr/lib/qt5/plugins/:%s/usr/lib/i386-linux-gnu/qt5/plugins/:%s/usr/lib/x86_64-linux-gnu/qt5/plugins/:%s/usr/lib32/qt5/plugins/:%s/usr/lib64/qt5/plugins/:%s"
.align 8
.LC29:
.string "GST_PLUGIN_SYSTEM_PATH=%s/usr/lib/gstreamer:%s"
.align 8
.LC30:
.string "GST_PLUGIN_SYSTEM_PATH_1_0=%s/usr/lib/gstreamer-1.0:%s"
.section .rodata.str1.1
.LC31:
.string "PYTHONDONTWRITEBYTECODE=1"
.LC32:
.string "Error executing '%s': %s\n"
.section .text.startup,"ax",@progbits
.p2align 4
.globl main
.type main, @function
main:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
push r15
push r14
push r13
push r12
push rbx
sub rsp, 72
.cfi_offset 15, -24
.cfi_offset 14, -32
.cfi_offset 13, -40
.cfi_offset 12, -48
.cfi_offset 3, -56
mov DWORD PTR -88[rbp], edi
lea rdi, .LC2[rip]
mov QWORD PTR -112[rbp], rsi
xor esi, esi
mov rax, QWORD PTR fs:40
mov QWORD PTR -56[rbp], rax
xor eax, eax
call realpath@PLT
mov edi, eax
call dirname@PLT
mov r12, rax
test rax, rax
je .L62
.L2:
mov edx, DWORD PTR filter[rip]
xor ecx, ecx
lea rsi, -80[rbp]
mov rdi, r12
call scandir@PLT
test eax, eax
je .L63
cmp eax, -1
je .L64
.L4:
mov rdi, QWORD PTR LINE_SIZE[rip]
mov esi, 1
lea r14, -64[rbp]
lea r15, .LC8[rip]
call calloc@PLT
mov rsi, QWORD PTR LINE_SIZE[rip]
mov rcx, r12
lea rdx, .LC6[rip]
mov rbx, rax
mov QWORD PTR -104[rbp], rax
mov rax, QWORD PTR -80[rbp]
mov rdi, rbx
mov rax, QWORD PTR [rax]
mov r8, QWORD PTR [rax]
xor eax, eax
call snprintf@PLT
mov rdi, rbx
lea rsi, .LC7[rip]
call fopen@PLT
mov rbx, QWORD PTR LINE_SIZE[rip]
mov r13, rax
mov rdi, rbx
call malloc@PLT
mov QWORD PTR -64[rbp], rbx
lea rbx, -72[rbp]
mov QWORD PTR -72[rbp], rax
jmp .L6
.p2align 4,,10
.p2align 3
.L5:
mov rdi, QWORD PTR -72[rbp]
mov edx, 5
lea rsi, .LC9[rip]
call strncmp@PLT
test rax, rax
je .L65
.L6:
mov rdx, r13
mov rsi, r14
mov rdi, rbx
call getline@PLT
cmp eax, -1
jne .L5
mov rdi, r15
xor eax, eax
call die@PLT
jmp .L5
.p2align 4,,10
.p2align 3
.L65:
mov rdi, r13
call fclose@PLT
mov rdx, QWORD PTR -72[rbp]
cmp QWORD PTR LINE_SIZE[rip], 0
mov QWORD PTR -64[rbp], 0
lea rax, 5[rdx]
mov QWORD PTR -96[rbp], rax
je .L10
xor ecx, ecx
xor eax, eax
jmp .L13
.p2align 4,,10
.p2align 3
.L11:
cmp dl, 32
je .L66
.L12:
mov rax, QWORD PTR -64[rbp]
add rax, 1
cmp rax, QWORD PTR LINE_SIZE[rip]
mov QWORD PTR -64[rbp], rax
jnb .L10
mov rdx, QWORD PTR -72[rbp]
.L13:
add rax, rdx
movzx edx, BYTE PTR [rax]
test dl, dl
je .L10
cmp dl, 10
je .L49
cmp dl, 13
je .L49
cmp dl, 34
jne .L11
xor ecx, 1
jmp .L12
.p2align 4,,10
.p2align 3
.L66:
test ecx, ecx
jne .L12
mov BYTE PTR [rax], 0
jmp .L12
.L49:
mov BYTE PTR [rax], 0
mov rdx, QWORD PTR -72[rbp]
mov rax, QWORD PTR -64[rbp]
mov BYTE PTR 1[rdx+rax], 0
mov rdx, QWORD PTR -72[rbp]
mov rax, QWORD PTR -64[rbp]
mov BYTE PTR 2[rdx+rax], 0
.L10:
mov r13, QWORD PTR -96[rbp]
xor ebx, ebx
jmp .L14
.p2align 4,,10
.p2align 3
.L15:
add ebx, 1
.L14:
mov rdi, r13
call strlen@PLT
lea r13, 1[r13+rax]
cmp BYTE PTR 0[r13], 0
jne .L15
mov eax, DWORD PTR -88[rbp]
mov rcx, rsp
lea eax, 1[rbx+rax]
cdqe
lea rax, 15[0+rax*8]
mov rdx, rax
and rax, -4096
sub rcx, rax
and rdx, -16
cmp rsp, rcx
je .L17
.L67:
sub rsp, 4096
or QWORD PTR 4088[rsp], 0
cmp rsp, rcx
jne .L67
.L17:
and edx, 4095
sub rsp, rdx
test rdx, rdx
jne .L68
.L18:
lea r14, 7[rsp]
mov r15, QWORD PTR -96[rbp]
mov r13d, DWORD PTR -88[rbp]
mov ebx, 1
mov rax, r14
and r14, -8
shr rax, 3
sub r13d, 1
mov QWORD PTR 0[0+rax*8], r15
mov rax, QWORD PTR -112[rbp]
add rax, 8
mov QWORD PTR -88[rbp], rax
.p2align 4,,10
.p2align 3
.L19:
mov rdi, r15
call strlen@PLT
lea r15, 1[r15+rax]
movzx eax, BYTE PTR [r15]
test al, al
je .L69
cmp al, 37
je .L41
cmp al, 34
je .L70
.L21:
movsx rax, ebx
add ebx, 1
mov QWORD PTR [r14+rax*8], r15
jmp .L19
.p2align 4,,10
.p2align 3
.L41:
mov eax, 1
.L20:
movsx edx, BYTE PTR [r15+rax]
mov eax, edx
sub eax, 70
cmp al, 47
ja .L22
lea rcx, .L24[rip]
movzx eax, al
movsx rax, DWORD PTR [rcx+rax*4]
add rax, rcx
notrack jmp rax
.section .rodata
.align 4
.align 4
.L24:
.long .L26-.L24
.long .L22-.L24
.long .L22-.L24
.long .L22-.L24
.long .L22-.L24
.long .L22-.L24
.long .L22-.L24
.long .L22-.L24
.long .L22-.L24
.long .L22-.L24
.long .L22-.L24
.long .L22-.L24
.long .L22-.L24
.long .L22-.L24
.long .L22-.L24
.long .L26-.L24
.long .L22-.L24
.long .L22-.L24
.long .L22-.L24
.long .L22-.L24
.long .L22-.L24
.long .L22-.L24
.long .L22-.L24
.long .L22-.L24
.long .L22-.L24
.long .L22-.L24
.long .L22-.L24
.long .L22-.L24
.long .L22-.L24
.long .L25-.L24
.long .L22-.L24
.long .L22-.L24
.long .L23-.L24
.long .L22-.L24
.long .L22-.L24
.long .L25-.L24
.long .L22-.L24
.long .L25-.L24
.long .L22-.L24
.long .L22-.L24
.long .L22-.L24
.long .L22-.L24
.long .L22-.L24
.long .L22-.L24
.long .L22-.L24
.long .L22-.L24
.long .L22-.L24
.long .L23-.L24
.section .text.startup
.p2align 4,,10
.p2align 3
.L22:
mov edi, DWORD PTR stderr[rip]
lea rsi, .LC11[rip]
call fprintf@PLT
jmp .L19
.p2align 4,,10
.p2align 3
.L25:
mov edi, DWORD PTR stderr[rip]
lea rsi, .LC10[rip]
call fprintf@PLT
jmp .L19
.p2align 4,,10
.p2align 3
.L23:
test r13d, r13d
jle .L19
mov rcx, QWORD PTR -88[rbp]
movsx rax, ebx
sub r13d, 1
add ebx, 1
mov rdx, QWORD PTR [rcx]
mov QWORD PTR [r14+rax*8], rdx
lea rax, 8[rcx]
mov QWORD PTR -88[rbp], rax
jmp .L19
.p2align 4,,10
.p2align 3
.L26:
test r13d, r13d
jle .L19
movsx rax, ebx
movsx rdx, r13d
mov rsi, QWORD PTR -88[rbp]
add ebx, r13d
sal rdx, 3
lea rdi, [r14+rax*8]
xor r13d, r13d
mov QWORD PTR -112[rbp], rdx
call memcpy@PLT
mov rdx, QWORD PTR -112[rbp]
add QWORD PTR -88[rbp], rdx
jmp .L19
.p2align 4,,10
.p2align 3
.L70:
cmp BYTE PTR 1[r15], 37
mov eax, 2
jne .L21
jmp .L20
.p2align 4,,10
.p2align 3
.L69:
test r13d, r13d
jle .L30
movsx rax, ebx
mov rsi, QWORD PTR -88[rbp]
movsx rdx, r13d
add ebx, r13d
lea rdi, [r14+rax*8]
sal rdx, 3
call memcpy@PLT
.L30:
movsx rbx, ebx
mov rdi, r12
mov QWORD PTR [r14+rbx*8], 0
call strlen@PLT
lea r13, 5[rax]
mov rbx, rax
mov rdi, r13
call malloc@PLT
mov rcx, r12
lea rdx, .LC12[rip]
mov rsi, r13
mov rdi, rax
mov r15, rax
xor eax, eax
call snprintf@PLT
mov rdi, r15
call chdir@PLT
test eax, eax
jne .L71
.L31:
mov rdi, QWORD PTR new_pythonhome[rip]
mov rcx, r12
mov rsi, rbx
xor eax, eax
lea rdx, .LC14[rip]
lea r13, .LC0[rip]
call SET_NEW_ENV@PLT
lea rdi, .LC15[rip]
call getenv@PLT
test rax, rax
cmove rax, r13
mov rdi, rax
mov QWORD PTR -112[rbp], rax
call strlen@PLT
mov rdx, QWORD PTR -112[rbp]
sub rsp, 8
mov r9, r12
lea r10, [rbx+rbx*4]
mov rdi, QWORD PTR new_path[rip]
mov r8, r12
mov rcx, r12
push rdx
lea rsi, [r10+rax]
lea rdx, .LC16[rip]
xor eax, eax
push r12
push r12
mov QWORD PTR -88[rbp], r10
call SET_NEW_ENV@PLT
add rsp, 32
lea rdi, .LC17[rip]
call getenv@PLT
mov r10, QWORD PTR -88[rbp]
test rax, rax
cmove rax, r13
mov rdx, rax
lea rax, [r10+r10]
mov rdi, rdx
mov QWORD PTR -112[rbp], rdx
mov QWORD PTR -88[rbp], rax
call strlen@PLT
mov rdx, QWORD PTR -112[rbp]
mov rcx, QWORD PTR -88[rbp]
mov r9, r12
mov rdi, QWORD PTR new_ld_library_path[rip]
mov r8, r12
push rdx
lea rsi, [rcx+rax]
lea rdx, .LC18[rip]
mov rcx, r12
push r12
xor eax, eax
push r12
push r12
push r12
push r12
push r12
push r12
call SET_NEW_ENV@PLT
add rsp, 64
lea rdi, .LC19[rip]
call getenv@PLT
test rax, rax
mov r8, rax
cmove r8, r13
mov rdi, r8
mov QWORD PTR -112[rbp], r8
call strlen@PLT
mov r8, QWORD PTR -112[rbp]
mov rcx, r12
mov rdi, QWORD PTR new_pythonpath[rip]
lea rsi, [rax+rbx]
lea rdx, .LC20[rip]
xor eax, eax
call SET_NEW_ENV@PLT
lea rdi, .LC21[rip]
call getenv@PLT
lea r8, .LC1[rip]
test rax, rax
cmovne r8, rax
mov rdi, r8
mov QWORD PTR -112[rbp], r8
call strlen@PLT
mov r8, QWORD PTR -112[rbp]
mov rcx, r12
mov rdi, QWORD PTR new_xdg_data_dirs[rip]
lea rsi, [rax+rbx]
lea rdx, .LC22[rip]
xor eax, eax
call SET_NEW_ENV@PLT
lea rdi, .LC23[rip]
call getenv@PLT
test rax, rax
mov r9, rax
cmove r9, r13
mov rdi, r9
mov QWORD PTR -112[rbp], r9
call strlen@PLT
mov r9, QWORD PTR -112[rbp]
mov rcx, r12
mov r8, r12
mov rdi, QWORD PTR new_perllib[rip]
lea rsi, [rax+rbx*2]
xor eax, eax
lea rdx, .LC24[rip]
call SET_NEW_ENV@PLT
lea rdi, .LC25[rip]
call getenv@PLT
test rax, rax
mov r8, rax
cmove r8, r13
mov rdi, r8
mov QWORD PTR -112[rbp], r8
call strlen@PLT
mov r8, QWORD PTR -112[rbp]
mov rcx, r12
mov rdi, QWORD PTR new_gsettings_schema_dir[rip]
lea rsi, [rax+rbx]
lea rdx, .LC26[rip]
xor eax, eax
call SET_NEW_ENV@PLT
lea rdi, .LC27[rip]
call getenv@PLT
test rax, rax
cmovne r13, rax
mov rdi, r13
call strlen@PLT
push r13
mov rcx, QWORD PTR -88[rbp]
mov r9, r12
push r12
mov rdi, QWORD PTR new_qt_plugin_path[rip]
mov r8, r12
lea rdx, .LC28[rip]
push r12
lea rsi, [rcx+rax]
mov rcx, r12
xor eax, eax
push r12
push r12
push r12
push r12
push r12
call SET_NEW_ENV@PLT
add rsp, 64
mov rdi, r13
call strlen@PLT
mov rdi, QWORD PTR new_gspath[rip]
mov r8, r13
mov rcx, r12
lea rsi, [rax+rbx]
lea rdx, .LC29[rip]
xor eax, eax
call SET_NEW_ENV@PLT
mov rdi, r13
call strlen@PLT
mov rdi, QWORD PTR new_gspath1[rip]
mov r8, r13
mov rcx, r12
lea rsi, [rax+rbx]
lea rdx, .LC30[rip]
xor eax, eax
call SET_NEW_ENV@PLT
lea rdi, .LC31[rip]
call putenv@PLT
mov rdi, QWORD PTR -96[rbp]
mov rsi, r14
call execvp@PLT
cmp eax, -1
je .L72
.L39:
mov rdi, QWORD PTR -72[rbp]
call free@PLT
mov rdi, QWORD PTR -104[rbp]
call free@PLT
mov rdi, r15
call free@PLT
mov rdi, QWORD PTR new_pythonhome[rip]
call free@PLT
mov rdi, QWORD PTR new_path[rip]
call free@PLT
mov rdi, QWORD PTR new_ld_library_path[rip]
call free@PLT
mov rdi, QWORD PTR new_pythonpath[rip]
call free@PLT
mov rdi, QWORD PTR new_xdg_data_dirs[rip]
call free@PLT
mov rdi, QWORD PTR new_perllib[rip]
call free@PLT
mov rdi, QWORD PTR new_gsettings_schema_dir[rip]
call free@PLT
mov rdi, QWORD PTR new_qt_plugin_path[rip]
call free@PLT
mov rax, QWORD PTR -56[rbp]
sub rax, QWORD PTR fs:40
jne .L73
lea rsp, -40[rbp]
xor eax, eax
pop rbx
pop r12
pop r13
pop r14
pop r15
pop rbp
.cfi_remember_state
.cfi_def_cfa 7, 8
ret
.L63:
.cfi_restore_state
lea rdi, .LC4[rip]
call die@PLT
jmp .L4
.L71:
mov rsi, r15
lea rdi, .LC13[rip]
xor eax, eax
call die@PLT
jmp .L31
.L72:
mov edi, DWORD PTR errno[rip]
call strerror@PLT
mov rsi, QWORD PTR -96[rbp]
lea rdi, .LC32[rip]
mov edx, eax
xor eax, eax
call die@PLT
jmp .L39
.L68:
or QWORD PTR -8[rsp+rdx], 0
jmp .L18
.L62:
lea rdi, .LC3[rip]
xor eax, eax
call die@PLT
jmp .L2
.L64:
mov rsi, r12
lea rdi, .LC5[rip]
xor eax, eax
call die@PLT
jmp .L4
.L73:
call __stack_chk_fail@PLT
.cfi_endproc
.LFE0:
.size main, .-main
.globl stderr
.bss
.align 4
.type stderr, @object
.size stderr, 4
stderr:
.zero 4
.globl new_xdg_data_dirs
.align 8
.type new_xdg_data_dirs, @object
.size new_xdg_data_dirs, 8
new_xdg_data_dirs:
.zero 8
.globl new_qt_plugin_path
.align 8
.type new_qt_plugin_path, @object
.size new_qt_plugin_path, 8
new_qt_plugin_path:
.zero 8
.globl new_pythonpath
.align 8
.type new_pythonpath, @object
.size new_pythonpath, 8
new_pythonpath:
.zero 8
.globl new_pythonhome
.align 8
.type new_pythonhome, @object
.size new_pythonhome, 8
new_pythonhome:
.zero 8
.globl new_perllib
.align 8
.type new_perllib, @object
.size new_perllib, 8
new_perllib:
.zero 8
.globl new_path
.align 8
.type new_path, @object
.size new_path, 8
new_path:
.zero 8
.globl new_ld_library_path
.align 8
.type new_ld_library_path, @object
.size new_ld_library_path, 8
new_ld_library_path:
.zero 8
.globl new_gspath1
.align 8
.type new_gspath1, @object
.size new_gspath1, 8
new_gspath1:
.zero 8
.globl new_gspath
.align 8
.type new_gspath, @object
.size new_gspath, 8
new_gspath:
.zero 8
.globl new_gsettings_schema_dir
.align 8
.type new_gsettings_schema_dir, @object
.size new_gsettings_schema_dir, 8
new_gsettings_schema_dir:
.zero 8
.globl filter
.align 4
.type filter, @object
.size filter, 4
filter:
.zero 4
.globl errno
.align 4
.type errno, @object
.size errno, 4
errno:
.zero 4
.globl LINE_SIZE
.align 8
.type LINE_SIZE, @object
.size LINE_SIZE, 8
LINE_SIZE:
.zero 8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_AppRun.c_main.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "\000"
.align 2
.LC1:
.ascii "/usr/local/share/:/usr/share/\000"
.align 2
.LC2:
.ascii "/proc/self/exe\000"
.align 2
.LC3:
.ascii "Could not access /proc/self/exe\012\000"
.align 2
.LC4:
.ascii "No .desktop files found\012\000"
.align 2
.LC5:
.ascii "Could not scan directory %s\012\000"
.align 2
.LC6:
.ascii "%s/%s\000"
.align 2
.LC7:
.ascii "r\000"
.align 2
.LC8:
.ascii "Executable not found, make sure there is a line sta"
.ascii "rting with 'Exec='\012\000"
.align 2
.LC9:
.ascii "Exec=\000"
.align 2
.LC10:
.ascii "WARNING: Desktop file field code %%%c is not curren"
.ascii "tly supported\012\000"
.align 2
.LC11:
.ascii "WARNING: Invalid desktop file field code %%%c\012\000"
.align 2
.LC12:
.ascii "%s/usr\000"
.align 2
.LC13:
.ascii "Could not cd into %s\012\000"
.align 2
.LC14:
.ascii "PYTHONHOME=%s/usr/\000"
.align 2
.LC15:
.ascii "PATH\000"
.align 2
.LC16:
.ascii "PATH=%s/usr/bin/:%s/usr/sbin/:%s/usr/games/:%s/bin/"
.ascii ":%s/sbin/:%s\000"
.align 2
.LC17:
.ascii "LD_LIBRARY_PATH\000"
.align 2
.LC18:
.ascii "LD_LIBRARY_PATH=%s/usr/lib/:%s/usr/lib/i386-linux-g"
.ascii "nu/:%s/usr/lib/x86_64-linux-gnu/:%s/usr/lib32/:%s/u"
.ascii "sr/lib64/:%s/lib/:%s/lib/i386-linux-gnu/:%s/lib/x86"
.ascii "_64-linux-gnu/:%s/lib32/:%s/lib64/:%s\000"
.align 2
.LC19:
.ascii "PYTHONPATH\000"
.align 2
.LC20:
.ascii "PYTHONPATH=%s/usr/share/pyshared/:%s\000"
.align 2
.LC21:
.ascii "XDG_DATA_DIRS\000"
.align 2
.LC22:
.ascii "XDG_DATA_DIRS=%s/usr/share/:%s\000"
.align 2
.LC23:
.ascii "PERLLIB\000"
.align 2
.LC24:
.ascii "PERLLIB=%s/usr/share/perl5/:%s/usr/lib/perl5/:%s\000"
.align 2
.LC25:
.ascii "GSETTINGS_SCHEMA_DIR\000"
.align 2
.LC26:
.ascii "GSETTINGS_SCHEMA_DIR=%s/usr/share/glib-2.0/schemas/"
.ascii ":%s\000"
.align 2
.LC27:
.ascii "QT_PLUGIN_PATH\000"
.align 2
.LC28:
.ascii "QT_PLUGIN_PATH=%s/usr/lib/qt4/plugins/:%s/usr/lib/i"
.ascii "386-linux-gnu/qt4/plugins/:%s/usr/lib/x86_64-linux-"
.ascii "gnu/qt4/plugins/:%s/usr/lib32/qt4/plugins/:%s/usr/l"
.ascii "ib64/qt4/plugins/:%s/usr/lib/qt5/plugins/:%s/usr/li"
.ascii "b/i386-linux-gnu/qt5/plugins/:%s/usr/lib/x86_64-lin"
.ascii "ux-gnu/qt5/plugins/:%s/usr/lib32/qt5/plugins/:%s/us"
.ascii "r/lib64/qt5/plugins/:%s\000"
.align 2
.LC29:
.ascii "GST_PLUGIN_SYSTEM_PATH=%s/usr/lib/gstreamer:%s\000"
.align 2
.LC30:
.ascii "GST_PLUGIN_SYSTEM_PATH_1_0=%s/usr/lib/gstreamer-1.0"
.ascii ":%s\000"
.align 2
.LC31:
.ascii "PYTHONDONTWRITEBYTECODE=1\000"
.align 2
.LC32:
.ascii "Error executing '%s': %s\012\000"
.section .rodata.cst4,"aM",%progbits,4
.align 2
.LC33:
.word __stack_chk_guard
.section .text.startup,"ax",%progbits
.align 2
.global main
.syntax unified
.arm
.fpu softvfp
.type main, %function
main:
@ args = 0, pretend = 0, frame = 32
@ frame_needed = 1, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, r9, r10, fp, lr}
mov r6, r1
add fp, sp, #32
sub sp, sp, #76
ldr r3, .L74
mov r1, #0
str r6, [fp, #-64]
mov r7, r0
ldr r0, .L74+4
ldr r3, [r3]
str r3, [fp, #-40]
mov r3,#0
bl realpath
bl dirname
subs r4, r0, #0
beq .L63
.L2:
ldr r2, .L74+8
mov r3, #0
mov r0, r4
ldr r2, [r2]
sub r1, fp, #52
bl scandir
cmp r0, #0
beq .L64
cmn r0, #1
beq .L65
.L4:
ldr r8, .L74+12
mov r1, #1
ldr r5, [r8]
ldr r10, .L74+16
mov r0, r5
bl calloc
mov r6, r0
ldr r3, [fp, #-52]
mov r1, r5
ldr r2, [r3]
mov r3, r4
ldr ip, [r2]
ldr r2, .L74+20
str ip, [sp]
str r0, [fp, #-60]
bl snprintf
mov r0, r6
ldr r1, .L74+24
bl fopen
ldr r6, [r8]
mov r5, r0
mov r0, r6
bl malloc
ldr r9, .L74+28
str r6, [fp, #-44]
str r0, [fp, #-48]
b .L6
.L5:
mov r2, #5
mov r1, r9
ldr r0, [fp, #-48]
bl strncmp
cmp r0, #0
beq .L66
.L6:
mov r2, r5
sub r1, fp, #44
sub r0, fp, #48
bl getline
cmn r0, #1
bne .L5
mov r0, r10
bl die
b .L5
.L66:
mov r6, r0
mov r0, r5
bl fclose
ldr r2, [r8]
ldr r0, [fp, #-48]
cmp r2, #0
add r3, r0, #5
str r6, [fp, #-44]
str r3, [fp, #-56]
beq .L9
mov ip, r6
mov r2, r6
b .L12
.L68:
cmp r3, #13
cmpne r3, #10
beq .L67
cmp r3, #34
eoreq ip, ip, #1
beq .L11
cmp r3, #32
bne .L11
cmp ip, #0
strbeq ip, [r2]
.L11:
ldr r2, [fp, #-44]
ldr r3, [r8]
add r2, r2, #1
cmp r2, r3
str r2, [fp, #-44]
bcs .L9
ldr r0, [fp, #-48]
.L12:
ldrb r3, [r0, r2] @ zero_extendqisi2
add r2, r0, r2
cmp r3, #0
bne .L68
.L9:
ldr r5, [fp, #-56]
b .L13
.L14:
add r6, r6, #1
.L13:
mov r0, r5
bl strlen
add r0, r0, #1
ldrb r3, [r5, r0]! @ zero_extendqisi2
cmp r3, #0
bne .L14
add r3, r6, r7
lsl r3, r3, #2
add r3, r3, #11
bic r3, r3, #7
sub sp, sp, r3
ldr r3, [fp, #-64]
mov r9, #1
add r6, r3, #4
ldr r3, [fp, #-56]
ldr r8, .L74+32
mov r5, r3
add r10, sp, #40
sub r7, r7, #1
str r3, [r10]
.L15:
mov r0, r5
bl strlen
add r0, r0, #1
ldrb r3, [r5, r0]! @ zero_extendqisi2
cmp r3, #0
beq .L69
cmp r3, #37
beq .L39
cmp r3, #34
beq .L70
.L17:
str r5, [r10, r9, lsl #2]
add r9, r9, #1
b .L15
.L39:
mov r3, #1
.L16:
ldrb r2, [r5, r3] @ zero_extendqisi2
sub r3, r2, #70
cmp r3, #47
ldrls pc, [pc, r3, asl #2]
b .L18
.L20:
.word .L22
.word .L18
.word .L18
.word .L18
.word .L18
.word .L18
.word .L18
.word .L18
.word .L18
.word .L18
.word .L18
.word .L18
.word .L18
.word .L18
.word .L18
.word .L22
.word .L18
.word .L18
.word .L18
.word .L18
.word .L18
.word .L18
.word .L18
.word .L18
.word .L18
.word .L18
.word .L18
.word .L18
.word .L18
.word .L21
.word .L18
.word .L18
.word .L19
.word .L18
.word .L18
.word .L21
.word .L18
.word .L21
.word .L18
.word .L18
.word .L18
.word .L18
.word .L18
.word .L18
.word .L18
.word .L18
.word .L18
.word .L19
.L18:
ldr r1, .L74+36
ldr r0, [r8]
bl fprintf
b .L15
.L21:
ldr r1, .L74+40
ldr r0, [r8]
bl fprintf
b .L15
.L19:
cmp r7, #0
ldrgt r3, [r6], #4
subgt r7, r7, #1
strgt r3, [r10, r9, lsl #2]
addgt r9, r9, #1
b .L15
.L22:
cmp r7, #0
addgt r2, r10, r9, lsl #2
movgt r1, r6
movgt r3, r7
subgt r2, r2, #4
ble .L15
.L25:
ldr r0, [r1], #4
subs r3, r3, #1
str r0, [r2, #4]!
bne .L25
add r6, r6, r7, lsl #2
add r9, r7, r9
mov r7, r3
b .L15
.L70:
ldrb r3, [r5, #1] @ zero_extendqisi2
cmp r3, #37
moveq r3, #2
bne .L17
b .L16
.L69:
cmp r7, #0
ble .L27
mov r2, r7
add r1, r10, r9, lsl #2
sub r1, r1, #4
.L28:
ldr r3, [r6], #4
subs r2, r2, #1
str r3, [r1, #4]!
bne .L28
add r9, r7, r9
.L27:
mov r2, #0
mov r0, r4
str r2, [r10, r9, lsl #2]
bl strlen
add r6, r0, #5
mov r5, r0
mov r0, r6
bl malloc
mov r7, r0
mov r1, r6
mov r3, r4
ldr r2, .L74+44
bl snprintf
mov r0, r7
bl chdir
cmp r0, #0
bne .L71
.L29:
ldr r2, .L74+48
mov r3, r4
mov r1, r5
ldr r0, [r2]
ldr r2, .L74+52
bl SET_NEW_ENV
ldr r0, .L74+56
bl getenv
ldr r8, .L74+60
cmp r0, #0
moveq r6, r8
movne r6, r0
mov r0, r6
bl strlen
ldr r3, .L74+64
str r6, [sp, #16]
add r9, r5, r5, lsl #2
str r4, [sp, #12]
str r4, [sp, #8]
str r4, [sp, #4]
str r4, [sp]
add r1, r9, r0
ldr r2, .L74+68
ldr r0, [r3]
mov r3, r4
bl SET_NEW_ENV
ldr r0, .L74+72
bl getenv
cmp r0, #0
moveq r6, r8
movne r6, r0
mov r0, r6
bl strlen
ldr r3, .L74+76
str r6, [sp, #36]
lsl r9, r9, #1
str r4, [sp, #32]
str r4, [sp, #28]
str r4, [sp, #24]
str r4, [sp, #20]
str r4, [sp, #16]
str r4, [sp, #12]
str r4, [sp, #8]
str r4, [sp, #4]
str r4, [sp]
add r1, r9, r0
ldr r2, .L74+80
ldr r0, [r3]
mov r3, r4
bl SET_NEW_ENV
ldr r0, .L74+84
bl getenv
cmp r0, #0
moveq r6, r8
movne r6, r0
mov r0, r6
bl strlen
ldr r3, .L74+88
str r6, [sp]
add r1, r0, r5
ldr r2, .L74+92
ldr r0, [r3]
mov r3, r4
bl SET_NEW_ENV
ldr r0, .L74+96
bl getenv
cmp r0, #0
ldr r6, .L74+100
movne r6, r0
mov r0, r6
bl strlen
ldr r3, .L74+104
str r6, [sp]
add r1, r0, r5
ldr r2, .L74+108
ldr r0, [r3]
mov r3, r4
bl SET_NEW_ENV
ldr r0, .L74+112
bl getenv
cmp r0, #0
moveq r6, r8
movne r6, r0
mov r0, r6
bl strlen
ldr r3, .L74+116
str r6, [sp, #4]
str r4, [sp]
add r1, r0, r5, lsl #1
ldr r2, .L74+120
ldr r0, [r3]
mov r3, r4
bl SET_NEW_ENV
ldr r0, .L74+124
bl getenv
cmp r0, #0
moveq r6, r8
movne r6, r0
mov r0, r6
bl strlen
ldr r3, .L74+128
str r6, [sp]
add r1, r0, r5
ldr r2, .L74+132
ldr r0, [r3]
mov r3, r4
bl SET_NEW_ENV
ldr r0, .L74+136
bl getenv
cmp r0, #0
moveq r6, r8
movne r6, r0
mov r0, r6
bl strlen
ldr r8, .L74+140
str r6, [sp, #36]
str r4, [sp, #32]
str r4, [sp, #28]
str r4, [sp, #24]
str r4, [sp, #20]
str r4, [sp, #16]
str r4, [sp, #12]
str r4, [sp, #8]
str r4, [sp, #4]
str r4, [sp]
add r1, r9, r0
mov r3, r4
ldr r2, .L74+144
ldr r0, [r8]
bl SET_NEW_ENV
mov r0, r6
bl strlen
ldr r3, .L74+148
str r6, [sp]
add r1, r0, r5
ldr r2, .L74+152
ldr r0, [r3]
mov r3, r4
bl SET_NEW_ENV
mov r0, r6
bl strlen
ldr r2, .L74+156
str r6, [sp]
add r1, r0, r5
mov r3, r4
ldr r0, [r2]
ldr r2, .L74+160
bl SET_NEW_ENV
ldr r0, .L74+164
bl putenv
mov r1, r10
ldr r0, [fp, #-56]
bl execvp
cmn r0, #1
beq .L72
.L37:
ldr r0, [fp, #-48]
bl free
ldr r0, [fp, #-60]
bl free
mov r0, r7
bl free
ldr r3, .L74+48
ldr r0, [r3]
bl free
ldr r3, .L74+64
ldr r0, [r3]
bl free
ldr r3, .L74+76
ldr r0, [r3]
bl free
ldr r3, .L74+88
ldr r0, [r3]
bl free
ldr r3, .L74+104
ldr r0, [r3]
bl free
ldr r3, .L74+116
ldr r0, [r3]
bl free
ldr r3, .L74+128
ldr r0, [r3]
bl free
ldr r0, [r8]
bl free
ldr r3, .L74
ldr r2, [r3]
ldr r3, [fp, #-40]
eors r2, r3, r2
mov r3, #0
bne .L73
mov r0, #0
sub sp, fp, #32
@ sp needed
pop {r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L64:
ldr r0, .L74+168
bl die
b .L4
.L71:
mov r1, r7
ldr r0, .L74+172
bl die
b .L29
.L67:
mov r1, #0
strb r1, [r2]
ldr r0, [fp, #-44]
ldr r2, [fp, #-48]
add r2, r2, r0
strb r1, [r2, #1]
ldr r2, [fp, #-48]
ldr r0, [fp, #-44]
add r2, r2, r0
strb r1, [r2, #2]
b .L9
.L72:
ldr r3, .L74+176
ldr r0, [r3]
bl strerror
ldr r1, [fp, #-56]
mov r2, r0
ldr r0, .L74+180
bl die
b .L37
.L63:
ldr r0, .L74+184
bl die
b .L2
.L65:
mov r1, r4
ldr r0, .L74+188
bl die
b .L4
.L73:
bl __stack_chk_fail
.L75:
.align 2
.L74:
.word .LC33
.word .LC2
.word filter
.word LINE_SIZE
.word .LC8
.word .LC6
.word .LC7
.word .LC9
.word stderr
.word .LC11
.word .LC10
.word .LC12
.word new_pythonhome
.word .LC14
.word .LC15
.word .LC0
.word new_path
.word .LC16
.word .LC17
.word new_ld_library_path
.word .LC18
.word .LC19
.word new_pythonpath
.word .LC20
.word .LC21
.word .LC1
.word new_xdg_data_dirs
.word .LC22
.word .LC23
.word new_perllib
.word .LC24
.word .LC25
.word new_gsettings_schema_dir
.word .LC26
.word .LC27
.word new_qt_plugin_path
.word .LC28
.word new_gspath
.word .LC29
.word new_gspath1
.word .LC30
.word .LC31
.word .LC4
.word .LC13
.word errno
.word .LC32
.word .LC3
.word .LC5
.size main, .-main
.comm stderr,4,4
.comm new_xdg_data_dirs,4,4
.comm new_qt_plugin_path,4,4
.comm new_pythonpath,4,4
.comm new_pythonhome,4,4
.comm new_perllib,4,4
.comm new_path,4,4
.comm new_ld_library_path,4,4
.comm new_gspath1,4,4
.comm new_gspath,4,4
.comm new_gsettings_schema_dir,4,4
.comm filter,4,4
.comm errno,4,4
.comm LINE_SIZE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_appimagetool.c_count_archs.c"
.intel_syntax noprefix
.text
.p2align 4
.globl count_archs
.type count_archs, @function
count_archs:
.LFB0:
.cfi_startproc
endbr64
mov eax, DWORD PTR 4[rdi]
add eax, DWORD PTR [rdi]
add eax, DWORD PTR 8[rdi]
add eax, DWORD PTR 12[rdi]
ret
.cfi_endproc
.LFE0:
.size count_archs, .-count_archs
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_appimagetool.c_count_archs.c"
.text
.align 2
.global count_archs
.syntax unified
.arm
.fpu softvfp
.type count_archs, %function
count_archs:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr r3, [r0]
ldmib r0, {r1, r2}
ldr r0, [r0, #12]
add r3, r3, r1
add r3, r3, r2
add r0, r3, r0
bx lr
.size count_archs, .-count_archs
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_appimagetool.c_die.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "%s\n"
.text
.p2align 4
.type die, @function
die:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
mov rdx, rdi
mov edi, DWORD PTR stderr[rip]
lea rsi, .LC0[rip]
call fprintf@PLT
mov edi, 1
add rsp, 8
.cfi_def_cfa_offset 8
jmp exit@PLT
.cfi_endproc
.LFE0:
.size die, .-die
.globl stderr
.bss
.align 4
.type stderr, @object
.size stderr, 4
stderr:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_appimagetool.c_die.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "%s\012\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type die, %function
die:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
ldr r3, .L4
mov r2, r0
ldr r1, .L4+4
ldr r0, [r3]
bl fprintf
pop {r4, lr}
mov r0, #1
b exit
.L5:
.align 2
.L4:
.word stderr
.word .LC0
.size die, .-die
.comm stderr,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_appimagetool.c_extract_arch_from_e_machine_field.c"
.intel_syntax noprefix
.text
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC0:
.string "%s used for determining architecture i386\n"
.align 8
.LC1:
.string "%s used for determining architecture x86_64\n"
.align 8
.LC2:
.string "%s used for determining architecture armhf\n"
.align 8
.LC3:
.string "%s used for determining architecture aarch64\n"
.text
.p2align 4
.globl extract_arch_from_e_machine_field
.type extract_arch_from_e_machine_field, @function
extract_arch_from_e_machine_field:
.LFB0:
.cfi_startproc
endbr64
cmp edi, 3
je .L12
cmp edi, 62
jne .L13
mov rax, QWORD PTR fARCH_x86_64[rip]
cmp QWORD PTR verbose[rip], 0
mov DWORD PTR [rdx+rax*4], 1
jne .L14
.L1:
ret
.p2align 4,,10
.p2align 3
.L13:
cmp edi, 40
jne .L15
mov rax, QWORD PTR fARCH_arm[rip]
cmp QWORD PTR verbose[rip], 0
mov DWORD PTR [rdx+rax*4], 1
je .L1
mov edi, DWORD PTR stderr[rip]
mov rdx, rsi
lea rsi, .LC2[rip]
jmp fprintf@PLT
.p2align 4,,10
.p2align 3
.L12:
mov rax, QWORD PTR fARCH_i386[rip]
cmp QWORD PTR verbose[rip], 0
mov DWORD PTR [rdx+rax*4], 1
je .L1
mov edi, DWORD PTR stderr[rip]
mov rdx, rsi
lea rsi, .LC0[rip]
jmp fprintf@PLT
.L15:
cmp edi, 183
jne .L1
mov rax, QWORD PTR fARCH_aarch64[rip]
cmp QWORD PTR verbose[rip], 0
mov DWORD PTR [rdx+rax*4], 1
je .L1
mov edi, DWORD PTR stderr[rip]
mov rdx, rsi
lea rsi, .LC3[rip]
jmp fprintf@PLT
.p2align 4,,10
.p2align 3
.L14:
mov edi, DWORD PTR stderr[rip]
mov rdx, rsi
lea rsi, .LC1[rip]
jmp fprintf@PLT
.cfi_endproc
.LFE0:
.size extract_arch_from_e_machine_field, .-extract_arch_from_e_machine_field
.globl verbose
.bss
.align 8
.type verbose, @object
.size verbose, 8
verbose:
.zero 8
.globl stderr
.align 4
.type stderr, @object
.size stderr, 4
stderr:
.zero 4
.globl fARCH_x86_64
.align 8
.type fARCH_x86_64, @object
.size fARCH_x86_64, 8
fARCH_x86_64:
.zero 8
.globl fARCH_i386
.align 8
.type fARCH_i386, @object
.size fARCH_i386, 8
fARCH_i386:
.zero 8
.globl fARCH_arm
.align 8
.type fARCH_arm, @object
.size fARCH_arm, 8
fARCH_arm:
.zero 8
.globl fARCH_aarch64
.align 8
.type fARCH_aarch64, @object
.size fARCH_aarch64, 8
fARCH_aarch64:
.zero 8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_appimagetool.c_extract_arch_from_e_machine_field.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "%s used for determining architecture i386\012\000"
.align 2
.LC1:
.ascii "%s used for determining architecture x86_64\012\000"
.align 2
.LC2:
.ascii "%s used for determining architecture armhf\012\000"
.align 2
.LC3:
.ascii "%s used for determining architecture aarch64\012\000"
.text
.align 2
.global extract_arch_from_e_machine_field
.syntax unified
.arm
.fpu softvfp
.type extract_arch_from_e_machine_field, %function
extract_arch_from_e_machine_field:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
cmp r0, #3
mov r3, r2
beq .L24
cmp r0, #62
bne .L25
mov r0, #1
ldr ip, .L27
ldr r2, .L27+4
ldr ip, [ip]
ldr r2, [r2]
cmp ip, #0
str r0, [r3, r2, lsl #2]
bxeq lr
ldr r3, .L27+8
mov r2, r1
ldr r0, [r3]
ldr r1, .L27+12
b fprintf
.L25:
cmp r0, #40
bne .L26
mov r0, #1
ldr ip, .L27
ldr r2, .L27+16
ldr ip, [ip]
ldr r2, [r2]
cmp ip, #0
str r0, [r3, r2, lsl #2]
bxeq lr
ldr r3, .L27+8
mov r2, r1
ldr r0, [r3]
ldr r1, .L27+20
b fprintf
.L24:
mov r0, #1
ldr ip, .L27
ldr r2, .L27+24
ldr ip, [ip]
ldr r2, [r2]
cmp ip, #0
str r0, [r3, r2, lsl #2]
bxeq lr
ldr r3, .L27+8
mov r2, r1
ldr r0, [r3]
ldr r1, .L27+28
b fprintf
.L26:
cmp r0, #183
bxne lr
mov r0, #1
ldr ip, .L27
ldr r2, .L27+32
ldr ip, [ip]
ldr r2, [r2]
cmp ip, #0
str r0, [r3, r2, lsl #2]
bxeq lr
ldr r3, .L27+8
mov r2, r1
ldr r0, [r3]
ldr r1, .L27+36
b fprintf
.L28:
.align 2
.L27:
.word verbose
.word fARCH_x86_64
.word stderr
.word .LC1
.word fARCH_arm
.word .LC2
.word fARCH_i386
.word .LC0
.word fARCH_aarch64
.word .LC3
.size extract_arch_from_e_machine_field, .-extract_arch_from_e_machine_field
.comm verbose,4,4
.comm stderr,4,4
.comm fARCH_x86_64,4,4
.comm fARCH_i386,4,4
.comm fARCH_arm,4,4
.comm fARCH_aarch64,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_appimagetool.c_extract_arch_from_text.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "_"
.LC1:
.string "-"
.LC2:
.string " "
.LC3:
.string "i386"
.LC4:
.string "i486"
.LC5:
.string "i586"
.LC6:
.string "i686"
.LC7:
.string "intel_80386"
.LC8:
.string "intel_80486"
.LC9:
.string "intel_80586"
.LC10:
.string "intel_80686"
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC11:
.string "%s used for determining architecture i386\n"
.section .rodata.str1.1
.LC12:
.string "x86_64"
.section .rodata.str1.8
.align 8
.LC13:
.string "%s used for determining architecture x86_64\n"
.section .rodata.str1.1
.LC14:
.string "arm"
.section .rodata.str1.8
.align 8
.LC15:
.string "%s used for determining architecture ARM\n"
.section .rodata.str1.1
.LC16:
.string "arm_aarch64"
.section .rodata.str1.8
.align 8
.LC17:
.string "%s used for determining architecture ARM aarch64\n"
.text
.p2align 4
.globl extract_arch_from_text
.type extract_arch_from_text, @function
extract_arch_from_text:
.LFB0:
.cfi_startproc
endbr64
test rdi, rdi
je .L37
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
mov r12, rsi
push rbp
.cfi_def_cfa_offset 24
.cfi_offset 6, -24
push rbx
.cfi_def_cfa_offset 32
.cfi_offset 3, -32
mov rbx, rdx
call g_strstrip@PLT
mov rbp, rax
test rax, rax
je .L1
lea rdx, .LC0[rip]
lea rsi, .LC1[rip]
mov rdi, rax
call replacestr@PLT
lea rdx, .LC0[rip]
lea rsi, .LC2[rip]
mov rdi, rbp
call replacestr@PLT
mov edx, 20
mov rsi, rbp
lea rdi, .LC3[rip]
call g_ascii_strncasecmp@PLT
test rax, rax
jne .L5
.L7:
mov rax, QWORD PTR fARCH_i386[rip]
cmp QWORD PTR verbose[rip], 0
mov DWORD PTR [rbx+rax*4], 1
jne .L42
.L1:
pop rbx
.cfi_def_cfa_offset 24
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L37:
.cfi_restore 3
.cfi_restore 6
.cfi_restore 12
ret
.p2align 4,,10
.p2align 3
.L42:
.cfi_def_cfa_offset 32
.cfi_offset 3, -32
.cfi_offset 6, -24
.cfi_offset 12, -16
mov rdx, r12
lea rsi, .LC11[rip]
.L40:
mov edi, DWORD PTR stderr[rip]
pop rbx
.cfi_remember_state
.cfi_restore 3
.cfi_def_cfa_offset 24
pop rbp
.cfi_restore 6
.cfi_def_cfa_offset 16
pop r12
.cfi_restore 12
.cfi_def_cfa_offset 8
jmp fprintf@PLT
.p2align 4,,10
.p2align 3
.L5:
.cfi_restore_state
mov edx, 20
mov rsi, rbp
lea rdi, .LC4[rip]
call g_ascii_strncasecmp@PLT
test rax, rax
je .L7
mov edx, 20
mov rsi, rbp
lea rdi, .LC5[rip]
call g_ascii_strncasecmp@PLT
test rax, rax
je .L7
mov edx, 20
mov rsi, rbp
lea rdi, .LC6[rip]
call g_ascii_strncasecmp@PLT
test rax, rax
je .L7
mov edx, 20
mov rsi, rbp
lea rdi, .LC7[rip]
call g_ascii_strncasecmp@PLT
test rax, rax
je .L7
mov edx, 20
mov rsi, rbp
lea rdi, .LC8[rip]
call g_ascii_strncasecmp@PLT
test rax, rax
je .L7
mov edx, 20
mov rsi, rbp
lea rdi, .LC9[rip]
call g_ascii_strncasecmp@PLT
test rax, rax
je .L7
mov edx, 20
mov rsi, rbp
lea rdi, .LC10[rip]
call g_ascii_strncasecmp@PLT
test rax, rax
je .L7
mov edx, 20
mov rsi, rbp
lea rdi, .LC12[rip]
call g_ascii_strncasecmp@PLT
test rax, rax
jne .L9
mov rax, QWORD PTR fARCH_x86_64[rip]
cmp QWORD PTR verbose[rip], 0
mov rdx, r12
lea rsi, .LC13[rip]
mov DWORD PTR [rbx+rax*4], 1
je .L1
jmp .L40
.L9:
mov edx, 20
mov rsi, rbp
lea rdi, .LC14[rip]
call g_ascii_strncasecmp@PLT
test rax, rax
jne .L10
mov rax, QWORD PTR fARCH_arm[rip]
cmp QWORD PTR verbose[rip], 0
mov rdx, r12
lea rsi, .LC15[rip]
mov DWORD PTR [rbx+rax*4], 1
je .L1
jmp .L40
.L10:
mov edx, 20
mov rsi, rbp
lea rdi, .LC16[rip]
call g_ascii_strncasecmp@PLT
test rax, rax
jne .L1
mov rax, QWORD PTR fARCH_aarch64[rip]
cmp QWORD PTR verbose[rip], 0
mov DWORD PTR [rbx+rax*4], 1
je .L1
mov rdx, r12
lea rsi, .LC17[rip]
jmp .L40
.cfi_endproc
.LFE0:
.size extract_arch_from_text, .-extract_arch_from_text
.globl verbose
.bss
.align 8
.type verbose, @object
.size verbose, 8
verbose:
.zero 8
.globl stderr
.align 4
.type stderr, @object
.size stderr, 4
stderr:
.zero 4
.globl fARCH_x86_64
.align 8
.type fARCH_x86_64, @object
.size fARCH_x86_64, 8
fARCH_x86_64:
.zero 8
.globl fARCH_i386
.align 8
.type fARCH_i386, @object
.size fARCH_i386, 8
fARCH_i386:
.zero 8
.globl fARCH_arm
.align 8
.type fARCH_arm, @object
.size fARCH_arm, 8
fARCH_arm:
.zero 8
.globl fARCH_aarch64
.align 8
.type fARCH_aarch64, @object
.size fARCH_aarch64, 8
fARCH_aarch64:
.zero 8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_appimagetool.c_extract_arch_from_text.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "_\000"
.align 2
.LC1:
.ascii "-\000"
.align 2
.LC2:
.ascii " \000"
.align 2
.LC3:
.ascii "i386\000"
.align 2
.LC4:
.ascii "i486\000"
.align 2
.LC5:
.ascii "i586\000"
.align 2
.LC6:
.ascii "i686\000"
.align 2
.LC7:
.ascii "intel_80386\000"
.align 2
.LC8:
.ascii "intel_80486\000"
.align 2
.LC9:
.ascii "intel_80586\000"
.align 2
.LC10:
.ascii "intel_80686\000"
.align 2
.LC11:
.ascii "%s used for determining architecture i386\012\000"
.align 2
.LC12:
.ascii "x86_64\000"
.align 2
.LC13:
.ascii "%s used for determining architecture x86_64\012\000"
.align 2
.LC14:
.ascii "arm\000"
.align 2
.LC15:
.ascii "%s used for determining architecture ARM\012\000"
.align 2
.LC16:
.ascii "arm_aarch64\000"
.align 2
.LC17:
.ascii "%s used for determining architecture ARM aarch64\012"
.ascii "\000"
.text
.align 2
.global extract_arch_from_text
.syntax unified
.arm
.fpu softvfp
.type extract_arch_from_text, %function
extract_arch_from_text:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
cmp r0, #0
bxeq lr
push {r4, r5, r6, lr}
mov r5, r1
mov r4, r2
bl g_strstrip
subs r6, r0, #0
popeq {r4, r5, r6, pc}
ldr r2, .L50
ldr r1, .L50+4
bl replacestr
ldr r2, .L50
ldr r1, .L50+8
mov r0, r6
bl replacestr
mov r2, #20
mov r1, r6
ldr r0, .L50+12
bl g_ascii_strncasecmp
cmp r0, #0
bne .L5
.L7:
mov r2, #1
ldr r1, .L50+16
ldr r3, .L50+20
ldr r1, [r1]
ldr r3, [r3]
cmp r1, #0
str r2, [r4, r3, lsl #2]
popeq {r4, r5, r6, pc}
ldr r3, .L50+24
mov r2, r5
pop {r4, r5, r6, lr}
ldr r0, [r3]
ldr r1, .L50+28
b fprintf
.L5:
mov r2, #20
mov r1, r6
ldr r0, .L50+32
bl g_ascii_strncasecmp
cmp r0, #0
beq .L7
mov r2, #20
mov r1, r6
ldr r0, .L50+36
bl g_ascii_strncasecmp
cmp r0, #0
beq .L7
mov r2, #20
mov r1, r6
ldr r0, .L50+40
bl g_ascii_strncasecmp
cmp r0, #0
beq .L7
mov r2, #20
mov r1, r6
ldr r0, .L50+44
bl g_ascii_strncasecmp
cmp r0, #0
beq .L7
mov r2, #20
mov r1, r6
ldr r0, .L50+48
bl g_ascii_strncasecmp
cmp r0, #0
beq .L7
mov r2, #20
mov r1, r6
ldr r0, .L50+52
bl g_ascii_strncasecmp
cmp r0, #0
beq .L7
mov r2, #20
mov r1, r6
ldr r0, .L50+56
bl g_ascii_strncasecmp
cmp r0, #0
beq .L7
mov r2, #20
mov r1, r6
ldr r0, .L50+60
bl g_ascii_strncasecmp
cmp r0, #0
bne .L9
mov r2, #1
ldr r1, .L50+16
ldr r3, .L50+64
ldr r1, [r1]
ldr r3, [r3]
cmp r1, #0
str r2, [r4, r3, lsl #2]
popeq {r4, r5, r6, pc}
ldr r3, .L50+24
mov r2, r5
pop {r4, r5, r6, lr}
ldr r0, [r3]
ldr r1, .L50+68
b fprintf
.L9:
mov r2, #20
mov r1, r6
ldr r0, .L50+72
bl g_ascii_strncasecmp
cmp r0, #0
bne .L10
mov r2, #1
ldr r1, .L50+16
ldr r3, .L50+76
ldr r1, [r1]
ldr r3, [r3]
cmp r1, #0
str r2, [r4, r3, lsl #2]
popeq {r4, r5, r6, pc}
ldr r3, .L50+24
mov r2, r5
pop {r4, r5, r6, lr}
ldr r0, [r3]
ldr r1, .L50+80
b fprintf
.L10:
mov r1, r6
mov r2, #20
ldr r0, .L50+84
bl g_ascii_strncasecmp
cmp r0, #0
popne {r4, r5, r6, pc}
mov r2, #1
ldr r1, .L50+16
ldr r3, .L50+88
ldr r1, [r1]
ldr r3, [r3]
cmp r1, #0
str r2, [r4, r3, lsl #2]
popeq {r4, r5, r6, pc}
ldr r3, .L50+24
mov r2, r5
pop {r4, r5, r6, lr}
ldr r0, [r3]
ldr r1, .L50+92
b fprintf
.L51:
.align 2
.L50:
.word .LC0
.word .LC1
.word .LC2
.word .LC3
.word verbose
.word fARCH_i386
.word stderr
.word .LC11
.word .LC4
.word .LC5
.word .LC6
.word .LC7
.word .LC8
.word .LC9
.word .LC10
.word .LC12
.word fARCH_x86_64
.word .LC13
.word .LC14
.word fARCH_arm
.word .LC15
.word .LC16
.word fARCH_aarch64
.word .LC17
.size extract_arch_from_text, .-extract_arch_from_text
.comm verbose,4,4
.comm stderr,4,4
.comm fARCH_x86_64,4,4
.comm fARCH_i386,4,4
.comm fARCH_arm,4,4
.comm fARCH_aarch64,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_appimagetool.c_find_arch.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "%s: %s"
.text
.p2align 4
.globl find_arch
.type find_arch, @function
find_arch:
.LFB0:
.cfi_startproc
endbr64
push r15
.cfi_def_cfa_offset 16
.cfi_offset 15, -16
push r14
.cfi_def_cfa_offset 24
.cfi_offset 14, -24
mov r14, rsi
xor esi, esi
push r13
.cfi_def_cfa_offset 32
.cfi_offset 13, -32
mov r13, rdi
push r12
.cfi_def_cfa_offset 40
.cfi_offset 12, -40
push rbp
.cfi_def_cfa_offset 48
.cfi_offset 6, -48
push rbx
.cfi_def_cfa_offset 56
.cfi_offset 3, -56
mov rbx, rdx
xor edx, edx
sub rsp, 8
.cfi_def_cfa_offset 64
call g_dir_open@PLT
mov r12, rax
test rax, rax
jne .L4
jmp .L15
.p2align 4,,10
.p2align 3
.L9:
xor edx, edx
mov rsi, rbp
mov rdi, r13
call g_build_filename@PLT
mov esi, DWORD PTR G_FILE_TEST_IS_SYMLINK[rip]
mov rdi, rax
mov r15, rax
call g_file_test@PLT
test rax, rax
je .L16
.L4:
mov rdi, r12
call g_dir_read_name@PLT
mov rbp, rax
test rax, rax
jne .L9
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 56
mov rdi, r12
pop rbx
.cfi_def_cfa_offset 48
pop rbp
.cfi_def_cfa_offset 40
pop r12
.cfi_def_cfa_offset 32
pop r13
.cfi_def_cfa_offset 24
pop r14
.cfi_def_cfa_offset 16
pop r15
.cfi_def_cfa_offset 8
jmp g_dir_close@PLT
.p2align 4,,10
.p2align 3
.L16:
.cfi_restore_state
mov esi, DWORD PTR G_FILE_TEST_IS_DIR[rip]
mov rdi, r15
call g_file_test@PLT
test rax, rax
je .L5
mov rdx, rbx
mov rsi, r14
mov rdi, r15
call find_arch
jmp .L4
.p2align 4,,10
.p2align 3
.L5:
mov esi, DWORD PTR G_FILE_TEST_IS_EXECUTABLE[rip]
mov rdi, r15
call g_file_test@PLT
test rax, rax
je .L7
.L8:
mov rsi, rbx
mov rdi, r15
call guess_arch_of_file@PLT
jmp .L4
.p2align 4,,10
.p2align 3
.L7:
mov rsi, rbp
mov rdi, r14
call g_pattern_match_simple@PLT
test rax, rax
jne .L8
jmp .L4
.p2align 4,,10
.p2align 3
.L15:
mov edi, DWORD PTR errno[rip]
call g_strerror@PLT
add rsp, 8
.cfi_def_cfa_offset 56
mov rsi, r13
lea rdi, .LC0[rip]
pop rbx
.cfi_def_cfa_offset 48
mov edx, eax
pop rbp
.cfi_def_cfa_offset 40
pop r12
.cfi_def_cfa_offset 32
pop r13
.cfi_def_cfa_offset 24
pop r14
.cfi_def_cfa_offset 16
pop r15
.cfi_def_cfa_offset 8
jmp g_warning@PLT
.cfi_endproc
.LFE0:
.size find_arch, .-find_arch
.globl errno
.bss
.align 4
.type errno, @object
.size errno, 4
errno:
.zero 4
.globl G_FILE_TEST_IS_SYMLINK
.align 4
.type G_FILE_TEST_IS_SYMLINK, @object
.size G_FILE_TEST_IS_SYMLINK, 4
G_FILE_TEST_IS_SYMLINK:
.zero 4
.globl G_FILE_TEST_IS_EXECUTABLE
.align 4
.type G_FILE_TEST_IS_EXECUTABLE, @object
.size G_FILE_TEST_IS_EXECUTABLE, 4
G_FILE_TEST_IS_EXECUTABLE:
.zero 4
.globl G_FILE_TEST_IS_DIR
.align 4
.type G_FILE_TEST_IS_DIR, @object
.size G_FILE_TEST_IS_DIR, 4
G_FILE_TEST_IS_DIR:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_appimagetool.c_find_arch.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "%s: %s\000"
.text
.align 2
.global find_arch
.syntax unified
.arm
.fpu softvfp
.type find_arch, %function
find_arch:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
mov r7, r2
mov r2, #0
mov r8, r1
mov r1, r2
mov r5, r0
bl g_dir_open
subs r4, r0, #0
beq .L12
ldr r6, .L16
ldr r9, .L16+4
b .L4
.L9:
mov r2, #0
mov r1, r10
mov r0, r5
bl g_build_filename
ldr r1, [r6]
mov fp, r0
bl g_file_test
cmp r0, #0
beq .L15
.L4:
mov r0, r4
bl g_dir_read_name
subs r10, r0, #0
bne .L9
mov r0, r4
pop {r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
b g_dir_close
.L15:
mov r0, fp
ldr r1, [r9]
bl g_file_test
cmp r0, #0
beq .L5
mov r0, fp
mov r2, r7
mov r1, r8
bl find_arch
b .L4
.L5:
ldr r3, .L16+8
mov r0, fp
ldr r1, [r3]
bl g_file_test
cmp r0, #0
beq .L7
.L8:
mov r0, fp
mov r1, r7
bl guess_arch_of_file
b .L4
.L7:
mov r1, r10
mov r0, r8
bl g_pattern_match_simple
cmp r0, #0
bne .L8
b .L4
.L12:
ldr r3, .L16+12
ldr r0, [r3]
bl g_strerror
mov r1, r5
pop {r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
mov r2, r0
ldr r0, .L16+16
b g_warning
.L17:
.align 2
.L16:
.word G_FILE_TEST_IS_SYMLINK
.word G_FILE_TEST_IS_DIR
.word G_FILE_TEST_IS_EXECUTABLE
.word errno
.word .LC0
.size find_arch, .-find_arch
.comm errno,4,4
.comm G_FILE_TEST_IS_SYMLINK,4,4
.comm G_FILE_TEST_IS_EXECUTABLE,4,4
.comm G_FILE_TEST_IS_DIR,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_appimagetool.c_find_first_matching_file_nonrecursive.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "%s: %s"
.text
.p2align 4
.globl find_first_matching_file_nonrecursive
.type find_first_matching_file_nonrecursive, @function
find_first_matching_file_nonrecursive:
.LFB0:
.cfi_startproc
endbr64
push r14
.cfi_def_cfa_offset 16
.cfi_offset 14, -16
xor edx, edx
mov r14, rsi
xor esi, esi
push r13
.cfi_def_cfa_offset 24
.cfi_offset 13, -24
mov r13, rdi
push r12
.cfi_def_cfa_offset 32
.cfi_offset 12, -32
push rbp
.cfi_def_cfa_offset 40
.cfi_offset 6, -40
push rbx
.cfi_def_cfa_offset 48
.cfi_offset 3, -48
call g_dir_open@PLT
mov rbp, rax
test rax, rax
jne .L4
jmp .L14
.p2align 4,,10
.p2align 3
.L6:
xor edx, edx
mov rsi, r12
mov rdi, r13
call g_build_filename@PLT
mov esi, DWORD PTR G_FILE_TEST_IS_REGULAR[rip]
mov rdi, rax
mov rbx, rax
call g_file_test@PLT
test rax, rax
jne .L15
.L4:
mov rdi, rbp
call g_dir_read_name@PLT
mov r12, rax
test rax, rax
jne .L6
mov rdi, rbp
call g_dir_close@PLT
.L1:
pop rbx
.cfi_remember_state
.cfi_def_cfa_offset 40
mov rax, r12
pop rbp
.cfi_def_cfa_offset 32
pop r12
.cfi_def_cfa_offset 24
pop r13
.cfi_def_cfa_offset 16
pop r14
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L15:
.cfi_restore_state
mov rsi, r12
mov rdi, r14
call g_pattern_match_simple@PLT
test rax, rax
je .L4
mov r12, rbx
jmp .L1
.L14:
mov edi, DWORD PTR errno[rip]
xor r12d, r12d
call g_strerror@PLT
mov rsi, r13
lea rdi, .LC0[rip]
mov edx, eax
call g_warning@PLT
jmp .L1
.cfi_endproc
.LFE0:
.size find_first_matching_file_nonrecursive, .-find_first_matching_file_nonrecursive
.globl errno
.bss
.align 4
.type errno, @object
.size errno, 4
errno:
.zero 4
.globl G_FILE_TEST_IS_REGULAR
.align 4
.type G_FILE_TEST_IS_REGULAR, @object
.size G_FILE_TEST_IS_REGULAR, 4
G_FILE_TEST_IS_REGULAR:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_appimagetool.c_find_first_matching_file_nonrecursive.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "%s: %s\000"
.text
.align 2
.global find_first_matching_file_nonrecursive
.syntax unified
.arm
.fpu softvfp
.type find_first_matching_file_nonrecursive, %function
find_first_matching_file_nonrecursive:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
mov r2, #0
push {r4, r5, r6, r7, r8, r9, r10, lr}
mov r9, r1
mov r1, r2
mov r7, r0
bl g_dir_open
subs r6, r0, #0
beq .L11
ldr r8, .L15
b .L4
.L6:
mov r2, #0
mov r1, r4
mov r0, r7
bl g_build_filename
ldr r1, [r8]
mov r5, r0
bl g_file_test
cmp r0, #0
bne .L14
.L4:
mov r0, r6
bl g_dir_read_name
subs r4, r0, #0
bne .L6
mov r0, r6
bl g_dir_close
.L1:
mov r0, r4
pop {r4, r5, r6, r7, r8, r9, r10, pc}
.L14:
mov r1, r4
mov r0, r9
bl g_pattern_match_simple
cmp r0, #0
beq .L4
mov r4, r5
b .L1
.L11:
ldr r3, .L15+4
mov r4, r6
ldr r0, [r3]
bl g_strerror
mov r1, r7
mov r2, r0
ldr r0, .L15+8
bl g_warning
b .L1
.L16:
.align 2
.L15:
.word G_FILE_TEST_IS_REGULAR
.word errno
.word .LC0
.size find_first_matching_file_nonrecursive, .-find_first_matching_file_nonrecursive
.comm errno,4,4
.comm G_FILE_TEST_IS_REGULAR,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_appimagetool.c_getArchName.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "armhf"
.LC1:
.string "aarch64"
.LC2:
.string "i386"
.LC3:
.string "x86_64"
.LC4:
.string "all"
.text
.p2align 4
.globl getArchName
.type getArchName, @function
getArchName:
.LFB0:
.cfi_startproc
endbr64
mov rdx, QWORD PTR fARCH_i386[rip]
lea rax, .LC2[rip]
mov esi, DWORD PTR [rdi+rdx*4]
test esi, esi
jne .L1
mov rdx, QWORD PTR fARCH_x86_64[rip]
lea rax, .LC3[rip]
mov ecx, DWORD PTR [rdi+rdx*4]
test ecx, ecx
jne .L1
mov rdx, QWORD PTR fARCH_arm[rip]
lea rax, .LC0[rip]
mov edx, DWORD PTR [rdi+rdx*4]
test edx, edx
jne .L1
mov rax, QWORD PTR fARCH_aarch64[rip]
lea rdx, .LC4[rip]
mov eax, DWORD PTR [rdi+rax*4]
test eax, eax
lea rax, .LC1[rip]
cmove rax, rdx
.L1:
ret
.cfi_endproc
.LFE0:
.size getArchName, .-getArchName
.globl fARCH_x86_64
.bss
.align 8
.type fARCH_x86_64, @object
.size fARCH_x86_64, 8
fARCH_x86_64:
.zero 8
.globl fARCH_i386
.align 8
.type fARCH_i386, @object
.size fARCH_i386, 8
fARCH_i386:
.zero 8
.globl fARCH_arm
.align 8
.type fARCH_arm, @object
.size fARCH_arm, 8
fARCH_arm:
.zero 8
.globl fARCH_aarch64
.align 8
.type fARCH_aarch64, @object
.size fARCH_aarch64, 8
fARCH_aarch64:
.zero 8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_appimagetool.c_getArchName.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "armhf\000"
.align 2
.LC1:
.ascii "aarch64\000"
.align 2
.LC2:
.ascii "i386\000"
.align 2
.LC3:
.ascii "x86_64\000"
.align 2
.LC4:
.ascii "all\000"
.text
.align 2
.global getArchName
.syntax unified
.arm
.fpu softvfp
.type getArchName, %function
getArchName:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr r3, .L8
ldr r3, [r3]
ldr r3, [r0, r3, lsl #2]
cmp r3, #0
bne .L3
ldr r3, .L8+4
ldr r3, [r3]
ldr r3, [r0, r3, lsl #2]
cmp r3, #0
bne .L4
ldr r3, .L8+8
ldr r3, [r3]
ldr r3, [r0, r3, lsl #2]
cmp r3, #0
bne .L5
ldr r2, .L8+12
ldr r3, .L8+16
ldr r1, [r2]
ldr r2, .L8+20
ldr r0, [r0, r1, lsl #2]
cmp r0, #0
movne r0, r3
moveq r0, r2
bx lr
.L4:
ldr r0, .L8+24
bx lr
.L3:
ldr r0, .L8+28
bx lr
.L5:
ldr r0, .L8+32
bx lr
.L9:
.align 2
.L8:
.word fARCH_i386
.word fARCH_x86_64
.word fARCH_arm
.word fARCH_aarch64
.word .LC1
.word .LC4
.word .LC3
.word .LC2
.word .LC0
.size getArchName, .-getArchName
.comm fARCH_x86_64,4,4
.comm fARCH_i386,4,4
.comm fARCH_arm,4,4
.comm fARCH_aarch64,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_appimagetool.c_get_desktop_entry.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "Desktop Entry"
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC1:
.string "%s entry not found in desktop file\n"
.text
.p2align 4
.globl get_desktop_entry
.type get_desktop_entry, @function
get_desktop_entry:
.LFB0:
.cfi_startproc
endbr64
push r13
.cfi_def_cfa_offset 16
.cfi_offset 13, -16
mov rdx, rsi
mov r13, rsi
xor ecx, ecx
push r12
.cfi_def_cfa_offset 24
.cfi_offset 12, -24
lea rsi, .LC0[rip]
sub rsp, 8
.cfi_def_cfa_offset 32
call g_key_file_get_string@PLT
mov r12, rax
test rax, rax
je .L5
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
mov rax, r12
pop r12
.cfi_def_cfa_offset 16
pop r13
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L5:
.cfi_restore_state
mov edi, DWORD PTR stderr[rip]
mov rdx, r13
lea rsi, .LC1[rip]
call fprintf@PLT
add rsp, 8
.cfi_def_cfa_offset 24
mov rax, r12
pop r12
.cfi_def_cfa_offset 16
pop r13
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size get_desktop_entry, .-get_desktop_entry
.globl stderr
.bss
.align 4
.type stderr, @object
.size stderr, 4
stderr:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_appimagetool.c_get_desktop_entry.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "Desktop Entry\000"
.align 2
.LC1:
.ascii "%s entry not found in desktop file\012\000"
.text
.align 2
.global get_desktop_entry
.syntax unified
.arm
.fpu softvfp
.type get_desktop_entry, %function
get_desktop_entry:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r2, r1
mov r5, r1
mov r3, #0
ldr r1, .L6
bl g_key_file_get_string
subs r4, r0, #0
beq .L5
mov r0, r4
pop {r4, r5, r6, pc}
.L5:
ldr r3, .L6+4
mov r2, r5
ldr r0, [r3]
ldr r1, .L6+8
bl fprintf
mov r0, r4
pop {r4, r5, r6, pc}
.L7:
.align 2
.L6:
.word .LC0
.word stderr
.word .LC1
.size get_desktop_entry, .-get_desktop_entry
.comm stderr,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_appimagetool.c_guess_arch_of_file.c"
.intel_syntax noprefix
.text
.p2align 4
.globl guess_arch_of_file
.type guess_arch_of_file, @function
guess_arch_of_file:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
mov r12, rsi
push rbp
.cfi_def_cfa_offset 24
.cfi_offset 6, -24
mov rbp, rdi
sub rsp, 8
.cfi_def_cfa_offset 32
call read_elf_e_machine_field@PLT
add rsp, 8
.cfi_def_cfa_offset 24
mov rdx, r12
mov rsi, rbp
mov edi, eax
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
jmp extract_arch_from_e_machine_field@PLT
.cfi_endproc
.LFE0:
.size guess_arch_of_file, .-guess_arch_of_file
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_appimagetool.c_guess_arch_of_file.c"
.text
.align 2
.global guess_arch_of_file
.syntax unified
.arm
.fpu softvfp
.type guess_arch_of_file, %function
guess_arch_of_file:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r5, r1
mov r4, r0
bl read_elf_e_machine_field
mov r2, r5
mov r1, r4
pop {r4, r5, r6, lr}
b extract_arch_from_e_machine_field
.size guess_arch_of_file, .-guess_arch_of_file
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_appimagetool.c_read_elf_e_machine_field.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "rb"
.text
.p2align 4
.globl read_elf_e_machine_field
.type read_elf_e_machine_field, @function
read_elf_e_machine_field:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
lea rsi, .LC0[rip]
sub rsp, 16
.cfi_def_cfa_offset 32
mov rax, QWORD PTR fs:40
mov QWORD PTR 8[rsp], rax
xor eax, eax
mov DWORD PTR 4[rsp], 0
call fopen@PLT
test rax, rax
je .L2
mov edx, DWORD PTR SEEK_SET[rip]
mov rbp, rax
mov esi, 18
mov rdi, rax
call fseek@PLT
lea rdi, 4[rsp]
mov rdx, rbp
mov esi, 2
call fgets@PLT
mov rdi, rbp
call fclose@PLT
.L2:
mov eax, DWORD PTR 4[rsp]
mov rcx, QWORD PTR 8[rsp]
sub rcx, QWORD PTR fs:40
jne .L9
add rsp, 16
.cfi_remember_state
.cfi_def_cfa_offset 16
pop rbp
.cfi_def_cfa_offset 8
ret
.L9:
.cfi_restore_state
call __stack_chk_fail@PLT
.cfi_endproc
.LFE0:
.size read_elf_e_machine_field, .-read_elf_e_machine_field
.globl SEEK_SET
.bss
.align 4
.type SEEK_SET, @object
.size SEEK_SET, 4
SEEK_SET:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_appimagetool.c_read_elf_e_machine_field.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "rb\000"
.section .rodata.cst4,"aM",%progbits,4
.align 2
.LC1:
.word __stack_chk_guard
.text
.align 2
.global read_elf_e_machine_field
.syntax unified
.arm
.fpu softvfp
.type read_elf_e_machine_field, %function
read_elf_e_machine_field:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 0, uses_anonymous_args = 0
mov r3, #0
push {r4, lr}
ldr r2, .L10
sub sp, sp, #8
ldr r1, .L10+4
ldr r2, [r2]
str r2, [sp, #4]
mov r2,#0
str r3, [sp]
bl fopen
subs r4, r0, #0
beq .L2
ldr r3, .L10+8
mov r1, #18
ldr r2, [r3]
bl fseek
mov r2, r4
mov r1, #2
mov r0, sp
bl fgets
mov r0, r4
bl fclose
.L2:
ldr r3, .L10
ldr r0, [sp]
ldr r2, [r3]
ldr r3, [sp, #4]
eors r2, r3, r2
mov r3, #0
bne .L9
add sp, sp, #8
@ sp needed
pop {r4, pc}
.L9:
bl __stack_chk_fail
.L11:
.align 2
.L10:
.word .LC1
.word .LC0
.word SEEK_SET
.size read_elf_e_machine_field, .-read_elf_e_machine_field
.comm SEEK_SET,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_appimagetool.c_replacestr.c"
.intel_syntax noprefix
.text
.p2align 4
.type replacestr, @function
replacestr:
.LFB0:
.cfi_startproc
endbr64
push r15
.cfi_def_cfa_offset 16
.cfi_offset 15, -16
push r14
.cfi_def_cfa_offset 24
.cfi_offset 14, -24
mov r14, rdi
push r13
.cfi_def_cfa_offset 32
.cfi_offset 13, -32
mov r13, rdx
push r12
.cfi_def_cfa_offset 40
.cfi_offset 12, -40
push rbp
.cfi_def_cfa_offset 48
.cfi_offset 6, -48
push rbx
.cfi_def_cfa_offset 56
.cfi_offset 3, -56
mov rbx, rsi
sub rsp, 8
.cfi_def_cfa_offset 64
call strstr@PLT
mov r15, rax
jmp .L3
.p2align 4,,10
.p2align 3
.L8:
mov rdi, rbx
call strlen@PLT
mov rdi, r13
movsx rbp, eax
call strlen@PLT
add rbp, r15
mov r12d, eax
mov rdi, rbp
call strlen@PLT
movsx rdi, r12d
mov rsi, rbp
add rdi, r15
lea edx, 1[rax]
call memmove@PLT
mov rdi, r15
mov edx, r12d
mov rsi, r13
call memcpy@PLT
mov rsi, rbx
mov rdi, r14
call strstr@PLT
mov r15, rax
test rax, rax
je .L1
.L3:
test r15, r15
jne .L8
.L1:
add rsp, 8
.cfi_def_cfa_offset 56
pop rbx
.cfi_def_cfa_offset 48
pop rbp
.cfi_def_cfa_offset 40
pop r12
.cfi_def_cfa_offset 32
pop r13
.cfi_def_cfa_offset 24
pop r14
.cfi_def_cfa_offset 16
pop r15
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size replacestr, .-replacestr
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_appimagetool.c_replacestr.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type replacestr, %function
replacestr:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, r9, r10, lr}
mov r8, r2
mov r9, r0
mov r7, r1
bl strstr
mov r4, r0
cmp r4, #0
popeq {r4, r5, r6, r7, r8, r9, r10, pc}
.L8:
mov r0, r7
bl strlen
mov r5, r0
mov r0, r8
bl strlen
add r5, r4, r5
mov r6, r0
mov r0, r5
bl strlen
mov r1, r5
add r2, r0, #1
add r0, r4, r6
bl memmove
mov r2, r6
mov r1, r8
mov r0, r4
bl memcpy
mov r1, r7
mov r0, r9
bl strstr
subs r4, r0, #0
popeq {r4, r5, r6, r7, r8, r9, r10, pc}
cmp r4, #0
bne .L8
pop {r4, r5, r6, r7, r8, r9, r10, pc}
.size replacestr, .-replacestr
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_appimagetool.c_sfs_ls.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "failed to read elf size"
.LC1:
.string "sqfs_open_image error"
.LC2:
.string "sqfs_traverse_open error"
.LC3:
.string "%s\n"
.LC4:
.string "sqfs_traverse_next error"
.text
.p2align 4
.globl sfs_ls
.type sfs_ls, @function
sfs_ls:
.LFB0:
.cfi_startproc
endbr64
push r13
.cfi_def_cfa_offset 16
.cfi_offset 13, -16
push r12
.cfi_def_cfa_offset 24
.cfi_offset 12, -24
push rbp
.cfi_def_cfa_offset 32
.cfi_offset 6, -32
mov rbp, rdi
push rbx
.cfi_def_cfa_offset 40
.cfi_offset 3, -40
sub rsp, 56
.cfi_def_cfa_offset 96
mov rax, QWORD PTR fs:40
mov QWORD PTR 40[rsp], rax
mov rax, QWORD PTR SQFS_OK[rip]
mov QWORD PTR 8[rsp], rax
call appimage_get_elf_size@PLT
mov r13, rax
test rax, rax
js .L19
.L2:
lea r12, 4[rsp]
mov rdx, r13
mov rsi, rbp
mov rdi, r12
call sqfs_open_image@PLT
mov QWORD PTR 8[rsp], rax
test rax, rax
jne .L20
.L3:
mov rdi, r12
lea rbp, 16[rsp]
call sqfs_inode_root@PLT
mov rsi, r12
mov rdi, rbp
mov edx, eax
call sqfs_traverse_open@PLT
mov QWORD PTR 8[rsp], rax
test rax, rax
jne .L21
.L4:
lea rbx, 8[rsp]
lea r12, .LC3[rip]
jmp .L6
.p2align 4,,10
.p2align 3
.L7:
mov eax, DWORD PTR 24[rsp]
test eax, eax
je .L22
.L6:
mov rsi, rbx
mov rdi, rbp
call sqfs_traverse_next@PLT
test rax, rax
jne .L7
cmp QWORD PTR 8[rsp], 0
jne .L23
.L8:
mov rdi, rbp
call sqfs_traverse_close@PLT
mov edi, DWORD PTR 4[rsp]
call sqfs_fd_close@PLT
mov rax, QWORD PTR 40[rsp]
sub rax, QWORD PTR fs:40
jne .L24
add rsp, 56
.cfi_remember_state
.cfi_def_cfa_offset 40
xor eax, eax
pop rbx
.cfi_def_cfa_offset 32
pop rbp
.cfi_def_cfa_offset 24
pop r12
.cfi_def_cfa_offset 16
pop r13
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L22:
.cfi_restore_state
mov rsi, QWORD PTR 16[rsp]
mov rdi, r12
call printf@PLT
jmp .L6
.p2align 4,,10
.p2align 3
.L20:
lea rdi, .LC1[rip]
call die@PLT
jmp .L3
.p2align 4,,10
.p2align 3
.L23:
lea rdi, .LC4[rip]
call die@PLT
jmp .L8
.p2align 4,,10
.p2align 3
.L21:
lea rdi, .LC2[rip]
call die@PLT
jmp .L4
.p2align 4,,10
.p2align 3
.L19:
lea rdi, .LC0[rip]
call die@PLT
jmp .L2
.L24:
call __stack_chk_fail@PLT
.cfi_endproc
.LFE0:
.size sfs_ls, .-sfs_ls
.globl SQFS_OK
.bss
.align 8
.type SQFS_OK, @object
.size SQFS_OK, 8
SQFS_OK:
.zero 8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_appimagetool.c_sfs_ls.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "failed to read elf size\000"
.align 2
.LC1:
.ascii "sqfs_open_image error\000"
.align 2
.LC2:
.ascii "sqfs_traverse_open error\000"
.align 2
.LC3:
.ascii "%s\012\000"
.align 2
.LC4:
.ascii "sqfs_traverse_next error\000"
.section .rodata.cst4,"aM",%progbits,4
.align 2
.LC5:
.word __stack_chk_guard
.text
.align 2
.global sfs_ls
.syntax unified
.arm
.fpu softvfp
.type sfs_ls, %function
sfs_ls:
@ args = 0, pretend = 0, frame = 24
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, lr}
ldr r3, .L28
ldr r2, .L28+4
ldr r3, [r3]
sub sp, sp, #28
ldr r2, [r2]
str r2, [sp, #20]
mov r2,#0
mov r5, r0
str r3, [sp, #4]
bl appimage_get_elf_size
subs r4, r0, #0
blt .L22
.L2:
mov r2, r4
mov r1, r5
add r0, sp, #8
bl sqfs_open_image
cmp r0, #0
str r0, [sp, #4]
bne .L23
.L3:
add r0, sp, #8
bl sqfs_inode_root
add r1, sp, #8
mov r2, r0
add r0, sp, #12
bl sqfs_traverse_open
cmp r0, #0
str r0, [sp, #4]
bne .L24
.L4:
ldr r4, .L28+8
b .L6
.L7:
ldr r3, [sp, #16]
cmp r3, #0
beq .L25
.L6:
add r1, sp, #4
add r0, sp, #12
bl sqfs_traverse_next
cmp r0, #0
bne .L7
ldr r3, [sp, #4]
cmp r3, #0
bne .L26
.L8:
add r0, sp, #12
bl sqfs_traverse_close
ldr r0, [sp, #8]
bl sqfs_fd_close
ldr r3, .L28+4
ldr r2, [r3]
ldr r3, [sp, #20]
eors r2, r3, r2
mov r3, #0
bne .L27
mov r0, #0
add sp, sp, #28
@ sp needed
pop {r4, r5, pc}
.L25:
mov r0, r4
ldr r1, [sp, #12]
bl printf
b .L6
.L23:
ldr r0, .L28+12
bl die
b .L3
.L26:
ldr r0, .L28+16
bl die
b .L8
.L24:
ldr r0, .L28+20
bl die
b .L4
.L22:
ldr r0, .L28+24
bl die
b .L2
.L27:
bl __stack_chk_fail
.L29:
.align 2
.L28:
.word SQFS_OK
.word .LC5
.word .LC3
.word .LC1
.word .LC4
.word .LC2
.word .LC0
.size sfs_ls, .-sfs_ls
.comm SQFS_OK,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_appimagetool.c_sfs_mksquashfs.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "%i"
.LC1:
.string "xz"
.LC2:
.string "mksquashfs"
.LC3:
.string "-offset"
.LC4:
.string "-comp"
.LC5:
.string "-root-owned"
.LC6:
.string "-noappend"
.LC7:
.string "-Xdict-size"
.LC8:
.string "100%"
.LC9:
.string "-b"
.LC10:
.string "16384"
.LC11:
.string "Including %s"
.LC12:
.string "-wildcards"
.LC13:
.string "-ef"
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC14:
.string "WARNING: exclude file %s not found!"
.section .rodata.str1.1
.LC15:
.string "-mkfs-time"
.LC16:
.string "0"
.LC17:
.string "mksquashfs commandline: "
.LC18:
.string "%s "
.LC19:
.string "execlp"
.text
.p2align 4
.globl sfs_mksquashfs
.type sfs_mksquashfs, @function
sfs_mksquashfs:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
mov r12, rsi
push rbp
.cfi_def_cfa_offset 24
.cfi_offset 6, -24
mov ebp, edx
push rbx
.cfi_def_cfa_offset 32
.cfi_offset 3, -32
mov rbx, rdi
sub rsp, 288
.cfi_def_cfa_offset 320
mov rax, QWORD PTR fs:40
mov QWORD PTR 280[rsp], rax
xor eax, eax
call fork@PLT
cmp eax, -1
je .L1
test eax, eax
jle .L3
lea rsi, 12[rsp]
xor edx, edx
mov edi, eax
call waitpid@PLT
xor eax, eax
.L1:
mov rcx, QWORD PTR 280[rsp]
sub rcx, QWORD PTR fs:40
jne .L29
add rsp, 288
.cfi_remember_state
.cfi_def_cfa_offset 32
pop rbx
.cfi_def_cfa_offset 24
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L3:
.cfi_restore_state
mov esi, ebp
lea rdi, .LC0[rip]
call g_strdup_printf@PLT
mov rdi, QWORD PTR sqfs_comp[rip]
lea rsi, .LC1[rip]
mov rbp, rax
call strcmp@PLT
lea rcx, .LC2[rip]
mov QWORD PTR 24[rsp], rbx
mov QWORD PTR 16[rsp], rcx
lea rcx, .LC3[rip]
mov QWORD PTR 40[rsp], rcx
lea rcx, .LC4[rip]
mov QWORD PTR 32[rsp], r12
mov QWORD PTR 48[rsp], rbp
mov QWORD PTR 56[rsp], rcx
test rax, rax
js .L4
lea rax, .LC1[rip]
mov ebx, 13
mov QWORD PTR 64[rsp], rax
lea rax, .LC5[rip]
mov QWORD PTR 72[rsp], rax
lea rax, .LC6[rip]
mov QWORD PTR 80[rsp], rax
lea rax, .LC7[rip]
mov QWORD PTR 88[rsp], rax
lea rax, .LC8[rip]
mov QWORD PTR 96[rsp], rax
lea rax, .LC9[rip]
mov QWORD PTR 104[rsp], rax
lea rax, .LC10[rip]
mov QWORD PTR 112[rsp], rax
.L5:
mov esi, DWORD PTR F_OK[rip]
mov rdi, QWORD PTR APPIMAGEIGNORE[rip]
call access@PLT
test rax, rax
js .L6
mov rsi, QWORD PTR APPIMAGEIGNORE[rip]
lea rdi, .LC11[rip]
xor eax, eax
lea ebp, 2[rbx]
movsx rbp, ebp
call printf@PLT
movsx rax, ebx
lea rcx, .LC12[rip]
mov rdi, QWORD PTR APPIMAGEIGNORE[rip]
mov QWORD PTR 16[rsp+rax*8], rcx
lea eax, 1[rbx]
lea rcx, .LC13[rip]
add ebx, 3
cdqe
mov QWORD PTR 16[rsp+rax*8], rcx
call strdup@PLT
mov QWORD PTR 16[rsp+rbp*8], rax
.L6:
mov rbp, QWORD PTR exclude_file[rip]
test rbp, rbp
je .L7
mov rdi, rbp
call strlen@PLT
test rax, rax
je .L7
mov esi, DWORD PTR F_OK[rip]
mov rdi, rbp
call access@PLT
test rax, rax
js .L30
movsx rax, ebx
lea rcx, .LC12[rip]
lea edx, 1[rbx]
mov QWORD PTR 16[rsp+rax*8], rcx
movsx rdx, edx
lea rcx, .LC13[rip]
lea eax, 2[rbx]
mov QWORD PTR 16[rsp+rdx*8], rcx
mov rdx, QWORD PTR exclude_file[rip]
cdqe
add ebx, 3
mov QWORD PTR 16[rsp+rax*8], rdx
.L7:
movsx rax, ebx
lea rcx, .LC15[rip]
lea r12, 16[rsp]
cmp QWORD PTR verbose[rip], 0
mov QWORD PTR 16[rsp+rax*8], rcx
lea eax, 1[rbx]
lea rcx, .LC16[rip]
cdqe
mov QWORD PTR 16[rsp+rax*8], rcx
lea eax, 2[rbx]
cdqe
mov QWORD PTR 16[rsp+rax*8], 0
jne .L31
.L10:
lea rdi, .LC2[rip]
mov rsi, r12
call execvp@PLT
lea rdi, .LC19[rip]
call perror@PLT
.L9:
mov eax, -1
jmp .L1
.L4:
mov rax, QWORD PTR sqfs_comp[rip]
mov ebx, 9
mov QWORD PTR 64[rsp], rax
lea rax, .LC5[rip]
mov QWORD PTR 72[rsp], rax
lea rax, .LC6[rip]
mov QWORD PTR 80[rsp], rax
jmp .L5
.L31:
lea rdi, .LC17[rip]
xor eax, eax
call printf@PLT
mov rsi, QWORD PTR 16[rsp]
test rsi, rsi
je .L11
mov rbx, r12
lea rbp, .LC18[rip]
.p2align 4,,10
.p2align 3
.L12:
mov rdi, rbp
xor eax, eax
add rbx, 8
call printf@PLT
mov rsi, QWORD PTR [rbx]
test rsi, rsi
jne .L12
.L11:
mov edi, 10
call putchar@PLT
jmp .L10
.L30:
mov rsi, QWORD PTR exclude_file[rip]
lea rdi, .LC14[rip]
xor eax, eax
call printf@PLT
jmp .L9
.L29:
call __stack_chk_fail@PLT
.cfi_endproc
.LFE0:
.size sfs_mksquashfs, .-sfs_mksquashfs
.globl verbose
.bss
.align 8
.type verbose, @object
.size verbose, 8
verbose:
.zero 8
.globl sqfs_comp
.align 8
.type sqfs_comp, @object
.size sqfs_comp, 8
sqfs_comp:
.zero 8
.globl pathToMksquashfs
.align 8
.type pathToMksquashfs, @object
.size pathToMksquashfs, 8
pathToMksquashfs:
.zero 8
.globl exclude_file
.align 8
.type exclude_file, @object
.size exclude_file, 8
exclude_file:
.zero 8
.globl F_OK
.align 4
.type F_OK, @object
.size F_OK, 4
F_OK:
.zero 4
.globl APPIMAGEIGNORE
.align 8
.type APPIMAGEIGNORE, @object
.size APPIMAGEIGNORE, 8
APPIMAGEIGNORE:
.zero 8
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_appimagetool.c_sfs_mksquashfs.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "%i\000"
.align 2
.LC1:
.ascii "mksquashfs\000"
.align 2
.LC2:
.ascii "-offset\000"
.align 2
.LC3:
.ascii "-comp\000"
.align 2
.LC4:
.ascii "xz\000"
.align 2
.LC5:
.ascii "-root-owned\000"
.align 2
.LC6:
.ascii "-noappend\000"
.align 2
.LC7:
.ascii "-Xdict-size\000"
.align 2
.LC8:
.ascii "100%\000"
.align 2
.LC9:
.ascii "-b\000"
.align 2
.LC10:
.ascii "16384\000"
.align 2
.LC11:
.ascii "Including %s\000"
.align 2
.LC12:
.ascii "-wildcards\000"
.align 2
.LC13:
.ascii "-ef\000"
.align 2
.LC14:
.ascii "WARNING: exclude file %s not found!\000"
.align 2
.LC15:
.ascii "-mkfs-time\000"
.align 2
.LC16:
.ascii "0\000"
.align 2
.LC17:
.ascii "mksquashfs commandline: \000"
.align 2
.LC18:
.ascii "%s \000"
.align 2
.LC19:
.ascii "execlp\000"
.section .rodata.cst4,"aM",%progbits,4
.align 2
.LC20:
.word __stack_chk_guard
.text
.align 2
.global sfs_mksquashfs
.syntax unified
.arm
.fpu softvfp
.type sfs_mksquashfs, %function
sfs_mksquashfs:
@ args = 0, pretend = 0, frame = 136
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, lr}
ldr r3, .L36
sub sp, sp, #140
ldr r3, [r3]
str r3, [sp, #132]
mov r3,#0
mov r6, r0
mov r5, r1
mov r4, r2
bl fork
cmn r0, #1
mov r3, r0
beq .L1
cmp r0, #0
ble .L3
mov r2, #0
mov r1, sp
bl waitpid
mov r3, #0
.L1:
ldr r2, .L36
ldr r1, [r2]
ldr r2, [sp, #132]
eors r1, r2, r1
mov r2, #0
bne .L33
mov r0, r3
add sp, sp, #140
@ sp needed
pop {r4, r5, r6, r7, pc}
.L3:
mov r1, r4
ldr r0, .L36+4
bl g_strdup_printf
ldr r3, .L36+8
ldr r2, [r3]
ldrb r3, [r2] @ zero_extendqisi2
subs r3, r3, #120
bne .L4
ldrb r3, [r2, #1] @ zero_extendqisi2
subs r3, r3, #122
ldrbeq r3, [r2, #2] @ zero_extendqisi2
.L4:
ldr ip, .L36+12
ldr r1, .L36+16
cmp r3, #0
ldr r3, .L36+20
str r6, [sp, #8]
str r5, [sp, #12]
str r0, [sp, #20]
str ip, [sp, #4]
str r1, [sp, #16]
str r3, [sp, #24]
blt .L5
mov r4, #13
ldr r3, .L36+24
ldr lr, .L36+28
ldr ip, .L36+32
ldr r0, .L36+36
ldr r1, .L36+40
ldr r2, .L36+44
str r3, [sp, #28]
ldr r3, .L36+48
str lr, [sp, #32]
str ip, [sp, #36]
str r0, [sp, #40]
str r1, [sp, #44]
str r2, [sp, #48]
str r3, [sp, #52]
.L6:
ldr r7, .L36+52
ldr r5, .L36+56
ldr r1, [r7]
ldr r0, [r5]
bl access
cmp r0, #0
blt .L7
ldr r1, [r5]
ldr r0, .L36+60
bl printf
ldr r1, .L36+64
add r3, sp, #136
add r3, r3, r4, lsl #2
ldr r2, .L36+68
str r1, [r3, #-132]
add r3, sp, #136
add r3, r3, r4, lsl #2
ldr r0, [r5]
str r2, [r3, #-128]
bl strdup
add r3, r4, #2
add r2, sp, #136
add r3, r2, r3, lsl #2
str r0, [r3, #-132]
add r4, r4, #3
.L7:
ldr r6, .L36+72
ldr r5, [r6]
cmp r5, #0
beq .L8
mov r0, r5
bl strlen
cmp r0, #0
beq .L8
mov r0, r5
ldr r1, [r7]
bl access
cmp r0, #0
blt .L34
ldr ip, .L36+64
add r1, sp, #136
add r1, r1, r4, lsl #2
add r3, r4, #2
add lr, sp, #136
ldr r2, [r6]
ldr r0, .L36+68
str ip, [r1, #-132]
add r3, lr, r3, lsl #2
add r1, lr, r4, lsl #2
str r0, [r1, #-128]
add r4, r4, #3
str r2, [r3, #-132]
.L8:
mov r2, #0
ldr r3, .L36+76
ldr ip, .L36+80
ldr r3, [r3]
ldr r1, .L36+84
cmp r3, r2
add r0, sp, #136
add r3, r4, #2
add lr, sp, #136
add r0, r0, r4, lsl #2
add r3, lr, r3, lsl #2
str ip, [r0, #-132]
str r1, [r0, #-128]
mov r4, r0
str r2, [r3, #-132]
addeq r6, sp, #4
bne .L35
.L11:
mov r1, r6
ldr r0, .L36+12
bl execvp
ldr r0, .L36+88
bl perror
.L10:
mvn r3, #0
b .L1
.L5:
ldr r1, .L36+28
ldr r3, .L36+32
mov r4, #9
str r2, [sp, #28]
str r1, [sp, #32]
str r3, [sp, #36]
b .L6
.L35:
ldr r0, .L36+92
bl printf
ldr r1, [sp, #4]
add r6, sp, #4
cmp r1, #0
movne r4, r6
ldrne r5, .L36+96
beq .L12
.L13:
mov r0, r5
bl printf
ldr r1, [r4, #4]!
cmp r1, #0
bne .L13
.L12:
mov r0, #10
bl putchar
b .L11
.L34:
ldr r1, [r6]
ldr r0, .L36+100
bl printf
b .L10
.L33:
bl __stack_chk_fail
.L37:
.align 2
.L36:
.word .LC20
.word .LC0
.word sqfs_comp
.word .LC1
.word .LC2
.word .LC3
.word .LC4
.word .LC5
.word .LC6
.word .LC7
.word .LC8
.word .LC9
.word .LC10
.word F_OK
.word APPIMAGEIGNORE
.word .LC11
.word .LC12
.word .LC13
.word exclude_file
.word verbose
.word .LC15
.word .LC16
.word .LC19
.word .LC17
.word .LC18
.word .LC14
.size sfs_mksquashfs, .-sfs_mksquashfs
.comm verbose,4,4
.comm sqfs_comp,4,4
.comm pathToMksquashfs,4,4
.comm exclude_file,4,4
.comm F_OK,4,4
.comm APPIMAGEIGNORE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_appimagetool.c_validate_desktop_file.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "could not fork! \n"
.LC1:
.string "desktop-file-validate"
.text
.p2align 4
.globl validate_desktop_file
.type validate_desktop_file, @function
validate_desktop_file:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
mov r12, rdi
sub rsp, 16
.cfi_def_cfa_offset 32
mov rax, QWORD PTR fs:40
mov QWORD PTR 8[rsp], rax
xor eax, eax
call fork@PLT
cmp eax, -1
je .L9
mov edi, eax
test eax, eax
je .L10
mov edx, DWORD PTR WUNTRACED[rip]
lea rsi, 4[rsp]
or edx, DWORD PTR WCONTINUED[rip]
call waitpid@PLT
mov edi, DWORD PTR 4[rsp]
call WIFEXITED@PLT
test rax, rax
je .L6
mov edi, DWORD PTR 4[rsp]
call WEXITSTATUS@PLT
.L1:
mov rcx, QWORD PTR 8[rsp]
sub rcx, QWORD PTR fs:40
jne .L11
add rsp, 16
.cfi_remember_state
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L9:
.cfi_restore_state
lea rdi, .LC0[rip]
call printf@PLT
mov eax, 1
jmp .L1
.p2align 4,,10
.p2align 3
.L6:
mov eax, -1
jmp .L1
.p2align 4,,10
.p2align 3
.L10:
lea rsi, .LC1[rip]
xor ecx, ecx
mov rdx, r12
mov rdi, rsi
call execlp@PLT
mov eax, -1
jmp .L1
.L11:
call __stack_chk_fail@PLT
.cfi_endproc
.LFE0:
.size validate_desktop_file, .-validate_desktop_file
.globl WUNTRACED
.bss
.align 4
.type WUNTRACED, @object
.size WUNTRACED, 4
WUNTRACED:
.zero 4
.globl WCONTINUED
.align 4
.type WCONTINUED, @object
.size WCONTINUED, 4
WCONTINUED:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_appimagetool.c_validate_desktop_file.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "could not fork! \012\000"
.align 2
.LC1:
.ascii "desktop-file-validate\000"
.section .rodata.cst4,"aM",%progbits,4
.align 2
.LC2:
.word __stack_chk_guard
.text
.align 2
.global validate_desktop_file
.syntax unified
.arm
.fpu softvfp
.type validate_desktop_file, %function
validate_desktop_file:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
ldr r3, .L12
sub sp, sp, #8
ldr r3, [r3]
str r3, [sp, #4]
mov r3,#0
mov r4, r0
bl fork
cmn r0, #1
beq .L9
cmp r0, #0
mov r3, r0
beq .L10
ldr r2, .L12+4
ldr r3, .L12+8
ldr r2, [r2]
ldr r3, [r3]
mov r1, sp
orr r2, r2, r3
bl waitpid
ldr r0, [sp]
bl WIFEXITED
cmp r0, #0
beq .L6
ldr r0, [sp]
bl WEXITSTATUS
.L1:
ldr r3, .L12
ldr r2, [r3]
ldr r3, [sp, #4]
eors r2, r3, r2
mov r3, #0
bne .L11
add sp, sp, #8
@ sp needed
pop {r4, pc}
.L9:
ldr r0, .L12+12
bl printf
mov r0, #1
b .L1
.L6:
mvn r0, #0
b .L1
.L10:
ldr r1, .L12+16
mov r2, r4
mov r0, r1
bl execlp
mvn r0, #0
b .L1
.L11:
bl __stack_chk_fail
.L13:
.align 2
.L12:
.word .LC2
.word WUNTRACED
.word WCONTINUED
.word .LC0
.word .LC1
.size validate_desktop_file, .-validate_desktop_file
.comm WUNTRACED,4,4
.comm WCONTINUED,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_appimagetoolnoglib.c_die.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "%s\n"
.text
.p2align 4
.type die, @function
die:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
mov rdx, rdi
mov edi, DWORD PTR stderr[rip]
lea rsi, .LC0[rip]
call fprintf@PLT
mov edi, 1
add rsp, 8
.cfi_def_cfa_offset 8
jmp exit@PLT
.cfi_endproc
.LFE0:
.size die, .-die
.globl stderr
.bss
.align 4
.type stderr, @object
.size stderr, 4
stderr:
.zero 4
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_appimagetoolnoglib.c_die.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "%s\012\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type die, %function
die:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
ldr r3, .L4
mov r2, r0
ldr r1, .L4+4
ldr r0, [r3]
bl fprintf
pop {r4, lr}
mov r0, #1
b exit
.L5:
.align 2
.L4:
.word stderr
.word .LC0
.size die, .-die
.comm stderr,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_appimagetoolnoglib.c_is_directory.c"
.intel_syntax noprefix
.text
.p2align 4
.globl is_directory
.type is_directory, @function
is_directory:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 24
.cfi_def_cfa_offset 32
mov rax, QWORD PTR fs:40
mov QWORD PTR 8[rsp], rax
xor eax, eax
lea rsi, 4[rsp]
call stat@PLT
mov r8, rax
xor eax, eax
test r8, r8
jne .L1
mov edi, DWORD PTR 4[rsp]
call S_ISDIR@PLT
.L1:
mov rdx, QWORD PTR 8[rsp]
sub rdx, QWORD PTR fs:40
jne .L8
add rsp, 24
.cfi_remember_state
.cfi_def_cfa_offset 8
ret
.L8:
.cfi_restore_state
call __stack_chk_fail@PLT
.cfi_endproc
.LFE0:
.size is_directory, .-is_directory
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_appimagetoolnoglib.c_is_directory.c"
.text
.section .rodata.cst4,"aM",%progbits,4
.align 2
.LC0:
.word __stack_chk_guard
.text
.align 2
.global is_directory
.syntax unified
.arm
.fpu softvfp
.type is_directory, %function
is_directory:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 0, uses_anonymous_args = 0
str lr, [sp, #-4]!
ldr r3, .L8
sub sp, sp, #12
mov r1, sp
ldr r3, [r3]
str r3, [sp, #4]
mov r3,#0
bl stat
cmp r0, #0
movne r0, #0
bne .L1
ldr r0, [sp]
bl S_ISDIR
.L1:
ldr r3, .L8
ldr r2, [r3]
ldr r3, [sp, #4]
eors r2, r3, r2
mov r3, #0
bne .L7
add sp, sp, #12
@ sp needed
ldr pc, [sp], #4
.L7:
bl __stack_chk_fail
.L9:
.align 2
.L8:
.word .LC0
.size is_directory, .-is_directory
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_appimagetoolnoglib.c_is_regular_file.c"
.intel_syntax noprefix
.text
.p2align 4
.globl is_regular_file
.type is_regular_file, @function
is_regular_file:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 24
.cfi_def_cfa_offset 32
mov rax, QWORD PTR fs:40
mov QWORD PTR 8[rsp], rax
xor eax, eax
lea rsi, 4[rsp]
call stat@PLT
mov edi, DWORD PTR 4[rsp]
call S_ISREG@PLT
mov rdx, QWORD PTR 8[rsp]
sub rdx, QWORD PTR fs:40
jne .L5
add rsp, 24
.cfi_remember_state
.cfi_def_cfa_offset 8
ret
.L5:
.cfi_restore_state
call __stack_chk_fail@PLT
.cfi_endproc
.LFE0:
.size is_regular_file, .-is_regular_file
.ident "GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
.section .note.GNU-stack,"",@progbits
.section .note.gnu.property,"a"
.align 8
.long 1f - 0f
.long 4f - 1f
.long 5
0:
.string "GNU"
1:
.align 8
.long 0xc0000002
.long 3f - 2f
2:
.long 0x3
3:
.align 8
4:
| .arch armv5t
.eabi_attribute 20, 1
.eabi_attribute 21, 1
.eabi_attribute 23, 3
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.eabi_attribute 26, 2
.eabi_attribute 30, 2
.eabi_attribute 34, 0
.eabi_attribute 18, 4
.file "extr_appimagetoolnoglib.c_is_regular_file.c"
.text
.section .rodata.cst4,"aM",%progbits,4
.align 2
.LC0:
.word __stack_chk_guard
.text
.align 2
.global is_regular_file
.syntax unified
.arm
.fpu softvfp
.type is_regular_file, %function
is_regular_file:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 0, uses_anonymous_args = 0
str lr, [sp, #-4]!
ldr r3, .L6
sub sp, sp, #12
mov r1, sp
ldr r3, [r3]
str r3, [sp, #4]
mov r3,#0
bl stat
ldr r0, [sp]
bl S_ISREG
ldr r3, .L6
ldr r2, [r3]
ldr r3, [sp, #4]
eors r2, r3, r2
mov r3, #0
bne .L5
add sp, sp, #12
@ sp needed
ldr pc, [sp], #4
.L5:
bl __stack_chk_fail
.L7:
.align 2
.L6:
.word .LC0
.size is_regular_file, .-is_regular_file
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
Subsets and Splits