x86
stringlengths 335
106k
| arm
stringlengths 349
104k
|
---|---|
.file "extr_zbufftest.c_findDiff.c"
.intel_syntax noprefix
.text
.p2align 4
.type findDiff, @function
findDiff:
.LFB0:
.cfi_startproc
endbr64
mov r8, rdx
test rdx, rdx
je .L2
xor eax, eax
jmp .L3
.p2align 4,,10
.p2align 3
.L10:
add rax, 1
cmp r8, rax
je .L2
.L3:
mov rcx, QWORD PTR [rsi+rax*8]
cmp QWORD PTR [rdi+rax*8], rcx
je .L10
mov r8, rax
.L2:
mov rax, r8
ret
.cfi_endproc
.LFE0:
.size findDiff, .-findDiff
.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_zbufftest.c_findDiff.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type findDiff, %function
findDiff:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
cmp r2, #0
beq .L4
mov r3, r0
mov r0, #0
str lr, [sp, #-4]!
sub r3, r3, #4
sub r1, r1, #4
.L3:
ldr lr, [r3, #4]!
ldr ip, [r1, #4]!
cmp lr, ip
ldrne pc, [sp], #4
add r0, r0, #1
cmp r2, r0
bne .L3
ldr pc, [sp], #4
.L4:
mov r0, r2
bx lr
.size findDiff, .-findDiff
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_zstreamtest.c_FUZ_createDictionary.c"
.intel_syntax noprefix
.text
.p2align 4
.type FUZ_createDictionary, @function
FUZ_createDictionary:
.LFB0:
.cfi_startproc
endbr64
push r15
.cfi_def_cfa_offset 16
.cfi_offset 15, -16
lea rax, -1[rdx+rcx]
mov r15, rdi
push r14
.cfi_def_cfa_offset 24
.cfi_offset 14, -24
push r13
.cfi_def_cfa_offset 32
.cfi_offset 13, -32
mov r13, r8
push r12
.cfi_def_cfa_offset 40
.cfi_offset 12, -40
mov r12, rdx
xor edx, edx
div rcx
push rbp
.cfi_def_cfa_offset 48
.cfi_offset 6, -48
push rbx
.cfi_def_cfa_offset 56
.cfi_offset 3, -56
sub rsp, 56
.cfi_def_cfa_offset 112
movdqa xmm0, XMMWORD PTR kBuffNull[rip]
mov rbx, rcx
mov QWORD PTR 8[rsp], rsi
movups XMMWORD PTR 16[rsp], xmm0
lea rbp, 0[0+rax*8]
mov QWORD PTR [rsp], rax
mov rdi, rbp
call malloc@PLT
test rax, rax
jne .L2
mov rax, QWORD PTR kBuffNull[rip+16]
movdqa xmm1, XMMWORD PTR kBuffNull[rip]
mov QWORD PTR 16[r15], rax
movups XMMWORD PTR [r15], xmm1
.L1:
add rsp, 56
.cfi_remember_state
.cfi_def_cfa_offset 56
mov rax, r15
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
.p2align 4,,10
.p2align 3
.L2:
.cfi_restore_state
mov rdi, r13
mov r14, rax
call malloc@PLT
mov r9, rax
test rax, rax
je .L4
mov rcx, QWORD PTR [rsp]
mov rdx, r14
lea rax, -8[rbp+r14]
sub rcx, 1
je .L6
.p2align 4,,10
.p2align 3
.L7:
mov QWORD PTR [rdx], rbx
add rdx, 8
cmp rax, rdx
jne .L7
imul rbx, rcx
sub r12, rbx
.L6:
mov QWORD PTR -8[rbp+r14], r12
mov r8d, DWORD PTR [rsp]
mov rdi, r9
mov rcx, r14
mov rdx, QWORD PTR 8[rsp]
mov rsi, r13
mov QWORD PTR [rsp], r9
call ZDICT_trainFromBuffer@PLT
mov rdi, r14
mov rbx, rax
call free@PLT
mov rdi, rbx
call ZDICT_isError@PLT
mov r9, QWORD PTR [rsp]
test rax, rax
jne .L13
mov QWORD PTR [r15], r13
mov QWORD PTR 8[r15], rbx
mov QWORD PTR 16[r15], r9
jmp .L1
.p2align 4,,10
.p2align 3
.L4:
mov rdi, r14
call free@PLT
movdqa xmm2, XMMWORD PTR kBuffNull[rip]
mov rax, QWORD PTR kBuffNull[rip+16]
movups XMMWORD PTR [r15], xmm2
mov QWORD PTR 16[r15], rax
jmp .L1
.p2align 4,,10
.p2align 3
.L13:
mov QWORD PTR 32[rsp], r9
sub rsp, 8
.cfi_def_cfa_offset 120
push QWORD PTR 40[rsp]
.cfi_def_cfa_offset 128
push QWORD PTR 40[rsp]
.cfi_def_cfa_offset 136
push QWORD PTR 40[rsp]
.cfi_def_cfa_offset 144
call FUZ_freeDictionary@PLT
mov rax, QWORD PTR kBuffNull[rip+16]
add rsp, 32
.cfi_def_cfa_offset 112
movdqa xmm3, XMMWORD PTR kBuffNull[rip]
mov QWORD PTR 16[r15], rax
movups XMMWORD PTR [r15], xmm3
jmp .L1
.cfi_endproc
.LFE0:
.size FUZ_createDictionary, .-FUZ_createDictionary
.globl kBuffNull
.bss
.align 16
.type kBuffNull, @object
.size kBuffNull, 24
kBuffNull:
.zero 24
.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_zstreamtest.c_FUZ_createDictionary.c"
.text
.global __aeabi_uidiv
.align 2
.syntax unified
.arm
.fpu softvfp
.type FUZ_createDictionary, %function
FUZ_createDictionary:
@ args = 4, pretend = 0, frame = 32
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, r9, r10, fp, lr}
mov r4, r3
mov r8, r2
ldr r3, .L14
mov r10, r1
mov r6, r0
ldm r3, {r0, r1, r2}
mov lr, r0
mov ip, r1
sub sp, sp, #44
add r3, sp, #28
sub r5, r8, #1
stm r3, {r0, r1, r2}
mov r1, r4
add r0, r5, r4
str r10, [sp, #12]
str lr, [sp, #16]
str ip, [sp, #20]
bl __aeabi_uidiv
lsl r10, r0, #2
mov r9, r0
mov r0, r10
ldr fp, [sp, #80]
bl malloc
subs r5, r0, #0
beq .L11
mov r0, fp
bl malloc
subs r7, r0, #0
beq .L4
subs lr, r9, #1
subne ip, r10, #4
movne r0, r5
addne ip, ip, r5
beq .L6
.L7:
str r4, [r0], #4
cmp ip, r0
bne .L7
mul r4, lr, r4
sub r8, r8, r4
.L6:
add r2, r5, r10
mov r3, r5
mov r1, fp
str r8, [r2, #-4]
mov r0, r7
ldr r2, [sp, #12]
str r9, [sp]
bl ZDICT_trainFromBuffer
mov r4, r0
mov r0, r5
bl free
mov r0, r4
bl ZDICT_isError
cmp r0, #0
bne .L13
stmib r6, {r4, r7}
str fp, [r6]
.L1:
mov r0, r6
add sp, sp, #44
@ sp needed
pop {r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L13:
ldr r3, [sp, #16]
str r7, [sp, #36]
str r3, [sp, #28]
ldr r3, [sp, #20]
str r3, [sp, #32]
add r3, sp, #28
ldm r3, {r0, r1, r2}
bl FUZ_freeDictionary
ldr r3, .L14
ldm r3, {r0, r1, r2}
stm r6, {r0, r1, r2}
mov r0, r6
add sp, sp, #44
@ sp needed
pop {r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L4:
mov r0, r5
bl free
.L11:
ldr r3, .L14
ldm r3, {r0, r1, r2}
stm r6, {r0, r1, r2}
b .L1
.L15:
.align 2
.L14:
.word kBuffNull
.size FUZ_createDictionary, .-FUZ_createDictionary
.comm kBuffNull,12,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_zstreamtest.c_FUZ_freeDictionary.c"
.intel_syntax noprefix
.text
.p2align 4
.type FUZ_freeDictionary, @function
FUZ_freeDictionary:
.LFB0:
.cfi_startproc
endbr64
jmp free@PLT
.cfi_endproc
.LFE0:
.size FUZ_freeDictionary, .-FUZ_freeDictionary
.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_zstreamtest.c_FUZ_freeDictionary.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type FUZ_freeDictionary, %function
FUZ_freeDictionary:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
b free
.size FUZ_freeDictionary, .-FUZ_freeDictionary
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_zstreamtest.c_FUZ_rLogLength.c"
.intel_syntax noprefix
.text
.p2align 4
.type FUZ_rLogLength, @function
FUZ_rLogLength:
.LFB0:
.cfi_startproc
endbr64
push rbx
.cfi_def_cfa_offset 16
.cfi_offset 3, -16
mov ecx, esi
mov eax, 1
sal rax, cl
mov rbx, rax
call FUZ_rand@PLT
mov r8, rax
lea rax, -1[rbx]
and rax, r8
add rax, rbx
pop rbx
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size FUZ_rLogLength, .-FUZ_rLogLength
.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_zstreamtest.c_FUZ_rLogLength.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type FUZ_rLogLength, %function
FUZ_rLogLength:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
mov r4, #1
lsl r4, r4, r1
bl FUZ_rand
sub r3, r4, #1
and r0, r0, r3
add r0, r0, r4
pop {r4, pc}
.size FUZ_rLogLength, .-FUZ_rLogLength
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_zstreamtest.c_FUZ_rand.c"
.intel_syntax noprefix
.text
.p2align 4
.type FUZ_rand, @function
FUZ_rand:
.LFB0:
.cfi_startproc
endbr64
push rbx
.cfi_def_cfa_offset 16
.cfi_offset 3, -16
mov rbx, rdi
mov edi, DWORD PTR [rdi]
mov esi, 13
imul edi, DWORD PTR prime32[rip]
sub edi, 2048144777
call FUZ_rotl32@PLT
mov DWORD PTR [rbx], eax
sar eax, 5
pop rbx
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size FUZ_rand, .-FUZ_rand
.globl prime32
.bss
.align 4
.type prime32, @object
.size prime32, 4
prime32:
.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_zstreamtest.c_FUZ_rand.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type FUZ_rand, %function
FUZ_rand:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
ldr r3, .L4
ldr r2, [r0]
push {r4, lr}
mov r4, r0
ldr r0, [r3]
ldr r3, .L4+4
mov r1, #13
mla r0, r2, r0, r3
bl FUZ_rotl32
str r0, [r4]
asr r0, r0, #5
pop {r4, pc}
.L5:
.align 2
.L4:
.word prime32
.word -2048144777
.size FUZ_rand, .-FUZ_rand
.comm prime32,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_zstreamtest.c_FUZ_randomClampedLength.c"
.intel_syntax noprefix
.text
.p2align 4
.type FUZ_randomClampedLength, @function
FUZ_randomClampedLength:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov eax, 1
mov rbp, rsi
push rbx
.cfi_def_cfa_offset 24
.cfi_offset 3, -24
lea rbx, 1[rdx]
sub rbx, rsi
sub rsp, 8
.cfi_def_cfa_offset 32
cmp rdx, rsi
cmovl rbx, rax
call FUZ_rand@PLT
add rsp, 8
.cfi_def_cfa_offset 24
cqo
idiv rbx
pop rbx
.cfi_def_cfa_offset 16
lea rax, [rdx+rbp]
pop rbp
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size FUZ_randomClampedLength, .-FUZ_randomClampedLength
.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_zstreamtest.c_FUZ_randomClampedLength.c"
.text
.global __aeabi_idivmod
.align 2
.syntax unified
.arm
.fpu softvfp
.type FUZ_randomClampedLength, %function
FUZ_randomClampedLength:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
cmp r2, r1
push {r4, r5, r6, lr}
movlt r4, #1
addge r2, r2, #1
subge r4, r2, r1
mov r5, r1
bl FUZ_rand
mov r1, r4
bl __aeabi_idivmod
add r0, r1, r5
pop {r4, r5, r6, pc}
.size FUZ_randomClampedLength, .-FUZ_randomClampedLength
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_zstreamtest.c_FUZ_randomLength.c"
.intel_syntax noprefix
.text
.p2align 4
.type FUZ_randomLength, @function
FUZ_randomLength:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rdi
push rbx
.cfi_def_cfa_offset 24
.cfi_offset 3, -24
mov ebx, esi
sub rsp, 8
.cfi_def_cfa_offset 32
call FUZ_rand@PLT
add rsp, 8
.cfi_def_cfa_offset 24
mov rdi, rbp
cdq
idiv ebx
pop rbx
.cfi_def_cfa_offset 16
pop rbp
.cfi_def_cfa_offset 8
mov esi, edx
jmp FUZ_rLogLength@PLT
.cfi_endproc
.LFE0:
.size FUZ_randomLength, .-FUZ_randomLength
.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_zstreamtest.c_FUZ_randomLength.c"
.text
.global __aeabi_idivmod
.align 2
.syntax unified
.arm
.fpu softvfp
.type FUZ_randomLength, %function
FUZ_randomLength:
@ 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 FUZ_rand
mov r1, r5
bl __aeabi_idivmod
mov r0, r4
pop {r4, r5, r6, lr}
b FUZ_rLogLength
.size FUZ_randomLength, .-FUZ_randomLength
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_zstreamtest.c_FUZ_usage.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "Usage :\n"
.LC1:
.string " %s [args]\n"
.LC2:
.string "\n"
.LC3:
.string "Arguments :\n"
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC4:
.string " -i# : Nb of tests (default:%u) \n"
.align 8
.LC5:
.string " -s# : Select seed (default:prompt user)\n"
.align 8
.LC6:
.string " -t# : Select starting test number (default:0)\n"
.align 8
.LC7:
.string " -P# : Select compressibility in %% (default:%i%%)\n"
.section .rodata.str1.1
.LC8:
.string " -v : verbose\n"
.LC9:
.string " -p : pause at the end\n"
.section .rodata.str1.8
.align 8
.LC10:
.string " -h : display help and exit\n"
.text
.p2align 4
.type FUZ_usage, @function
FUZ_usage:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
xor eax, eax
mov rbp, rdi
lea rdi, .LC0[rip]
call DISPLAY@PLT
mov rsi, rbp
lea rdi, .LC1[rip]
xor eax, eax
call DISPLAY@PLT
lea rdi, .LC2[rip]
xor eax, eax
call DISPLAY@PLT
lea rdi, .LC3[rip]
xor eax, eax
call DISPLAY@PLT
mov esi, DWORD PTR nbTestsDefault[rip]
lea rdi, .LC4[rip]
xor eax, eax
call DISPLAY@PLT
lea rdi, .LC5[rip]
xor eax, eax
call DISPLAY@PLT
lea rdi, .LC6[rip]
xor eax, eax
call DISPLAY@PLT
mov esi, DWORD PTR FUZ_COMPRESSIBILITY_DEFAULT[rip]
lea rdi, .LC7[rip]
xor eax, eax
call DISPLAY@PLT
lea rdi, .LC8[rip]
xor eax, eax
call DISPLAY@PLT
lea rdi, .LC9[rip]
xor eax, eax
call DISPLAY@PLT
lea rdi, .LC10[rip]
xor eax, eax
call DISPLAY@PLT
xor eax, eax
pop rbp
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size FUZ_usage, .-FUZ_usage
.globl nbTestsDefault
.bss
.align 4
.type nbTestsDefault, @object
.size nbTestsDefault, 4
nbTestsDefault:
.zero 4
.globl FUZ_COMPRESSIBILITY_DEFAULT
.align 4
.type FUZ_COMPRESSIBILITY_DEFAULT, @object
.size FUZ_COMPRESSIBILITY_DEFAULT, 4
FUZ_COMPRESSIBILITY_DEFAULT:
.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_zstreamtest.c_FUZ_usage.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "Usage :\012\000"
.align 2
.LC1:
.ascii " %s [args]\012\000"
.align 2
.LC2:
.ascii "\012\000"
.align 2
.LC3:
.ascii "Arguments :\012\000"
.align 2
.LC4:
.ascii " -i# : Nb of tests (default:%u) \012\000"
.align 2
.LC5:
.ascii " -s# : Select seed (default:prompt user)\012\000"
.align 2
.LC6:
.ascii " -t# : Select starting test number (default:0)\012"
.ascii "\000"
.align 2
.LC7:
.ascii " -P# : Select compressibility in %% (default:%i%"
.ascii "%)\012\000"
.align 2
.LC8:
.ascii " -v : verbose\012\000"
.align 2
.LC9:
.ascii " -p : pause at the end\012\000"
.align 2
.LC10:
.ascii " -h : display help and exit\012\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type FUZ_usage, %function
FUZ_usage:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
mov r4, r0
ldr r0, .L4
bl DISPLAY
mov r1, r4
ldr r0, .L4+4
bl DISPLAY
ldr r0, .L4+8
bl DISPLAY
ldr r0, .L4+12
bl DISPLAY
ldr r3, .L4+16
ldr r0, .L4+20
ldr r1, [r3]
bl DISPLAY
ldr r0, .L4+24
bl DISPLAY
ldr r0, .L4+28
bl DISPLAY
ldr r3, .L4+32
ldr r0, .L4+36
ldr r1, [r3]
bl DISPLAY
ldr r0, .L4+40
bl DISPLAY
ldr r0, .L4+44
bl DISPLAY
ldr r0, .L4+48
bl DISPLAY
mov r0, #0
pop {r4, pc}
.L5:
.align 2
.L4:
.word .LC0
.word .LC1
.word .LC2
.word .LC3
.word nbTestsDefault
.word .LC4
.word .LC5
.word .LC6
.word FUZ_COMPRESSIBILITY_DEFAULT
.word .LC7
.word .LC8
.word .LC9
.word .LC10
.size FUZ_usage, .-FUZ_usage
.comm nbTestsDefault,4,4
.comm FUZ_COMPRESSIBILITY_DEFAULT,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_zstreamtest.c_SEQ_generateRoundTrip.c"
.intel_syntax noprefix
.text
.p2align 4
.type SEQ_generateRoundTrip, @function
SEQ_generateRoundTrip:
.LFB0:
.cfi_startproc
endbr64
push r15
.cfi_def_cfa_offset 16
.cfi_offset 15, -16
mov r15, rdi
push r14
.cfi_def_cfa_offset 24
.cfi_offset 14, -24
mov r14, rsi
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
mov ebp, r8d
push rbx
.cfi_def_cfa_offset 56
.cfi_offset 3, -56
sub rsp, 72
.cfi_def_cfa_offset 128
mov QWORD PTR 8[rsp], rcx
mov DWORD PTR 20[rsp], r9d
mov rax, QWORD PTR fs:40
mov QWORD PTR 56[rsp], rax
lea rax, data.0[rip]
mov DWORD PTR 16[rsp], eax
lea rax, 32[rsp]
mov QWORD PTR 24[rsp], rax
jmp .L4
.p2align 4,,10
.p2align 3
.L2:
test r12, r12
je .L1
.L4:
mov eax, DWORD PTR 16[rsp]
mov rcx, QWORD PTR 24[rsp]
pxor xmm0, xmm0
mov esi, ebp
mov edx, DWORD PTR 20[rsp]
mov rdi, QWORD PTR 8[rsp]
movups XMMWORD PTR 40[rsp], xmm0
mov DWORD PTR 32[rsp], eax
mov DWORD PTR 36[rsp], 4096
call SEQ_gen@PLT
mov r8d, DWORD PTR 36[rsp]
mov rdi, r15
mov rdx, r13
mov r9d, DWORD PTR ZSTD_e_continue[rip]
mov ecx, DWORD PTR 40[rsp]
mov rsi, r14
mov r12, rax
call SEQ_roundTrip@PLT
mov rdi, rax
mov rbx, rax
call ZSTD_isError@PLT
test rax, rax
je .L2
mov r12, rbx
.L1:
mov rax, QWORD PTR 56[rsp]
sub rax, QWORD PTR fs:40
jne .L9
add rsp, 72
.cfi_remember_state
.cfi_def_cfa_offset 56
mov rax, 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
ret
.L9:
.cfi_restore_state
call __stack_chk_fail@PLT
.cfi_endproc
.LFE0:
.size SEQ_generateRoundTrip, .-SEQ_generateRoundTrip
.local data.0
.comm data.0,4096,32
.globl ZSTD_e_continue
.bss
.align 4
.type ZSTD_e_continue, @object
.size ZSTD_e_continue, 4
ZSTD_e_continue:
.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_zstreamtest.c_SEQ_generateRoundTrip.c"
.text
.section .rodata.cst4,"aM",%progbits,4
.align 2
.LC0:
.word __stack_chk_guard
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type SEQ_generateRoundTrip, %function
SEQ_generateRoundTrip:
@ args = 8, pretend = 0, frame = 32
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, r9, r10, fp, lr}
mov r7, r3
ldr r3, .L10
sub sp, sp, #44
mov r10, r0
mov r9, r1
mov r8, r2
ldr r3, [r3]
str r3, [sp, #36]
mov r3,#0
mov r5, #0
ldr r6, [sp, #84]
ldr fp, .L10+4
b .L4
.L2:
cmp r4, #0
beq .L1
.L4:
ldr ip, .L10+8
mov r2, r6
str ip, [sp, #16]
mov ip, #4096
ldr r1, [sp, #80]
add r3, sp, #16
mov r0, r7
str ip, [sp, #20]
str r5, [sp, #24]
str r5, [sp, #28]
str r5, [sp, #32]
bl SEQ_gen
ldr r2, [fp]
ldr r3, [sp, #20]
mov r1, r9
str r2, [sp, #4]
str r3, [sp]
mov r2, r8
ldr r3, [sp, #24]
mov r4, r0
mov r0, r10
bl SEQ_roundTrip
str r0, [sp, #12]
bl ZSTD_isError
cmp r0, #0
beq .L2
ldr r4, [sp, #12]
.L1:
ldr r3, .L10
ldr r2, [r3]
ldr r3, [sp, #36]
eors r2, r3, r2
mov r3, #0
bne .L9
mov r0, r4
add sp, sp, #44
@ sp needed
pop {r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L9:
bl __stack_chk_fail
.L11:
.align 2
.L10:
.word .LC0
.word ZSTD_e_continue
.word data.4237
.size SEQ_generateRoundTrip, .-SEQ_generateRoundTrip
.comm ZSTD_e_continue,4,4
.bss
.align 2
.type data.4237, %object
.size data.4237, 4096
data.4237:
.space 4096
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_zstreamtest.c_badParameters.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "windowLog"
.LC1:
.string "hashLog"
.LC2:
.string "chainLog"
.LC3:
.string "searchLog"
.LC4:
.string "minMatch"
.LC5:
.string "targetLength"
.LC6:
.string "checksumFlag"
.LC7:
.string "contentSizeFlag"
.LC8:
.string "noDictIDFlag"
.text
.p2align 4
.type badParameters, @function
badParameters:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 88
.cfi_def_cfa_offset 96
mov rax, QWORD PTR fs:40
mov QWORD PTR 72[rsp], rax
xor eax, eax
mov rsi, rsp
call getCCtxParams@PLT
mov edi, eax
call ZSTD_isError@PLT
mov r8, rax
mov eax, 10
test r8, r8
jne .L1
mov rax, QWORD PTR 120[rsp]
xor esi, esi
cmp QWORD PTR 24[rsp], rax
lea rdx, .LC0[rip]
setne sil
mov edi, 1
call CHECK_RET@PLT
mov rax, QWORD PTR 128[rsp]
xor esi, esi
cmp QWORD PTR 32[rsp], rax
setne sil
lea rdx, .LC1[rip]
mov edi, 2
call CHECK_RET@PLT
mov rax, QWORD PTR 136[rsp]
xor esi, esi
cmp QWORD PTR 40[rsp], rax
setne sil
lea rdx, .LC2[rip]
mov edi, 3
call CHECK_RET@PLT
mov rax, QWORD PTR 144[rsp]
xor esi, esi
cmp QWORD PTR 48[rsp], rax
setne sil
lea rdx, .LC3[rip]
mov edi, 4
call CHECK_RET@PLT
mov rax, QWORD PTR 152[rsp]
xor esi, esi
cmp QWORD PTR 56[rsp], rax
setne sil
lea rdx, .LC4[rip]
mov edi, 5
call CHECK_RET@PLT
mov rax, QWORD PTR 160[rsp]
xor esi, esi
cmp QWORD PTR 64[rsp], rax
setne sil
lea rdx, .LC5[rip]
mov edi, 6
call CHECK_RET@PLT
mov rax, QWORD PTR 96[rsp]
xor esi, esi
cmp QWORD PTR [rsp], rax
setne sil
lea rdx, .LC6[rip]
mov edi, 7
call CHECK_RET@PLT
mov rax, QWORD PTR 104[rsp]
xor esi, esi
cmp QWORD PTR 8[rsp], rax
setne sil
lea rdx, .LC7[rip]
mov edi, 8
call CHECK_RET@PLT
mov rax, QWORD PTR 112[rsp]
xor esi, esi
cmp QWORD PTR 16[rsp], rax
setne sil
lea rdx, .LC8[rip]
mov edi, 9
call CHECK_RET@PLT
xor eax, eax
.L1:
mov rcx, QWORD PTR 72[rsp]
sub rcx, QWORD PTR fs:40
jne .L8
add rsp, 88
.cfi_remember_state
.cfi_def_cfa_offset 8
ret
.L8:
.cfi_restore_state
call __stack_chk_fail@PLT
.cfi_endproc
.LFE0:
.size badParameters, .-badParameters
.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_zstreamtest.c_badParameters.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "windowLog\000"
.align 2
.LC1:
.ascii "hashLog\000"
.align 2
.LC2:
.ascii "chainLog\000"
.align 2
.LC3:
.ascii "searchLog\000"
.align 2
.LC4:
.ascii "minMatch\000"
.align 2
.LC5:
.ascii "targetLength\000"
.align 2
.LC6:
.ascii "checksumFlag\000"
.align 2
.LC7:
.ascii "contentSizeFlag\000"
.align 2
.LC8:
.ascii "noDictIDFlag\000"
.section .rodata.cst4,"aM",%progbits,4
.align 2
.LC9:
.word __stack_chk_guard
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type badParameters, %function
badParameters:
@ args = 40, pretend = 16, frame = 40
@ frame_needed = 0, uses_anonymous_args = 0
sub sp, sp, #16
push {r4, lr}
sub sp, sp, #40
add ip, sp, #52
stm ip, {r1, r2, r3}
ldr r3, .L8
mov r1, sp
ldr r3, [r3]
str r3, [sp, #36]
mov r3,#0
bl getCCtxParams
bl ZSTD_isError
subs r4, r0, #0
movne r4, #10
bne .L1
ldr r3, [sp, #64]
ldr r1, [sp, #12]
ldr r2, .L8+4
subs r1, r1, r3
movne r1, #1
mov r0, #1
bl CHECK_RET
ldr r3, [sp, #68]
ldr r1, [sp, #16]
ldr r2, .L8+8
subs r1, r1, r3
movne r1, #1
mov r0, #2
bl CHECK_RET
ldr r3, [sp, #72]
ldr r1, [sp, #20]
ldr r2, .L8+12
subs r1, r1, r3
movne r1, #1
mov r0, #3
bl CHECK_RET
ldr r3, [sp, #76]
ldr r1, [sp, #24]
ldr r2, .L8+16
subs r1, r1, r3
movne r1, #1
mov r0, #4
bl CHECK_RET
ldr r3, [sp, #80]
ldr r1, [sp, #28]
ldr r2, .L8+20
subs r1, r1, r3
movne r1, #1
mov r0, #5
bl CHECK_RET
ldr r3, [sp, #84]
ldr r1, [sp, #32]
ldr r2, .L8+24
subs r1, r1, r3
movne r1, #1
mov r0, #6
bl CHECK_RET
ldr r3, [sp, #52]
ldr r1, [sp]
ldr r2, .L8+28
subs r1, r1, r3
movne r1, #1
mov r0, #7
bl CHECK_RET
ldr r3, [sp, #56]
ldr r1, [sp, #4]
ldr r2, .L8+32
subs r1, r1, r3
movne r1, #1
mov r0, #8
bl CHECK_RET
ldr r1, [sp, #8]
ldr r3, [sp, #60]
mov r0, #9
subs r1, r1, r3
movne r1, #1
ldr r2, .L8+36
bl CHECK_RET
.L1:
ldr r3, .L8
ldr r2, [r3]
ldr r3, [sp, #36]
eors r2, r3, r2
mov r3, #0
bne .L7
mov r0, r4
add sp, sp, #40
@ sp needed
pop {r4, lr}
add sp, sp, #16
bx lr
.L7:
bl __stack_chk_fail
.L9:
.align 2
.L8:
.word .LC9
.word .LC0
.word .LC1
.word .LC2
.word .LC3
.word .LC4
.word .LC5
.word .LC6
.word .LC7
.word .LC8
.size badParameters, .-badParameters
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_zstreamtest.c_findDiff.c"
.intel_syntax noprefix
.text
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC0:
.string "=> No difference detected within %u bytes \n"
.section .rodata.str1.1,"aMS",@progbits,1
.LC1:
.string "Error at position %u / %u \n"
.LC2:
.string " %02X %02X %02X "
.section .rodata.str1.8
.align 8
.LC3:
.string " :%02X: %02X %02X %02X %02X %02X \n"
.text
.p2align 4
.type findDiff, @function
findDiff:
.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
push r13
.cfi_def_cfa_offset 32
.cfi_offset 13, -32
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
sub rsp, 24
.cfi_def_cfa_offset 80
test rdx, rdx
je .L8
mov r15, rdi
mov r14, rsi
mov rbp, rdi
mov rbx, rsi
xor eax, eax
jmp .L4
.p2align 4,,10
.p2align 3
.L13:
add rbp, 8
add rbx, 8
cmp rdx, rax
je .L12
.L4:
lea r13, 0[0+rax*8]
mov r12, rax
mov rdi, QWORD PTR [rbx]
lea rax, 1[rax]
cmp QWORD PTR 0[rbp], rdi
je .L13
xor eax, eax
mov esi, r12d
lea rdi, .LC1[rip]
call DISPLAY@PLT
cmp r12, 2
ja .L14
.L6:
lea r11, 5[r12]
sub rsp, 8
.cfi_def_cfa_offset 88
xor eax, eax
lea r10, 0[0+r11*8]
lea rdi, .LC3[rip]
mov rcx, QWORD PTR -24[r15+r10]
mov r9, QWORD PTR -8[r15+r10]
mov QWORD PTR 16[rsp], r10
mov r8, QWORD PTR -16[r15+r10]
mov rdx, QWORD PTR -32[r15+r10]
push QWORD PTR [r15+r11*8]
.cfi_def_cfa_offset 96
mov rsi, QWORD PTR 0[rbp]
mov QWORD PTR 16[rsp], r11
call DISPLAY@PLT
cmp r12, 2
pop rcx
.cfi_def_cfa_offset 88
pop rsi
.cfi_def_cfa_offset 80
mov r11, QWORD PTR [rsp]
mov r10, QWORD PTR 8[rsp]
ja .L15
.L7:
sub rsp, 8
.cfi_def_cfa_offset 88
mov rdx, QWORD PTR -32[r14+r10]
mov r9, QWORD PTR -8[r14+r10]
xor eax, eax
mov r8, QWORD PTR -16[r14+r10]
mov rcx, QWORD PTR -24[r14+r10]
push QWORD PTR [r14+r11*8]
.cfi_def_cfa_offset 96
lea rdi, .LC3[rip]
mov rsi, QWORD PTR [rbx]
call DISPLAY@PLT
pop rax
.cfi_def_cfa_offset 88
pop rdx
.cfi_def_cfa_offset 80
.L1:
add rsp, 24
.cfi_remember_state
.cfi_def_cfa_offset 56
mov rax, 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
ret
.p2align 4,,10
.p2align 3
.L14:
.cfi_restore_state
mov rcx, QWORD PTR -8[r15+r13]
mov rdx, QWORD PTR -16[r15+r13]
lea rdi, .LC2[rip]
xor eax, eax
mov rsi, QWORD PTR -24[r15+r13]
call DISPLAY@PLT
jmp .L6
.p2align 4,,10
.p2align 3
.L12:
mov r12, rdx
.L2:
mov esi, edx
lea rdi, .LC0[rip]
xor eax, eax
call DISPLAY@PLT
jmp .L1
.p2align 4,,10
.p2align 3
.L15:
mov rcx, QWORD PTR -8[r14+r13]
mov rdx, QWORD PTR -16[r14+r13]
xor eax, eax
mov QWORD PTR [rsp], r10
mov rsi, QWORD PTR -24[r14+r13]
lea rdi, .LC2[rip]
mov QWORD PTR 8[rsp], r11
call DISPLAY@PLT
mov r11, QWORD PTR 8[rsp]
mov r10, QWORD PTR [rsp]
jmp .L7
.L8:
xor r12d, r12d
jmp .L2
.cfi_endproc
.LFE0:
.size findDiff, .-findDiff
.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_zstreamtest.c_findDiff.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "=> No difference detected within %u bytes \012\000"
.align 2
.LC1:
.ascii "Error at position %u / %u \012\000"
.align 2
.LC2:
.ascii " %02X %02X %02X \000"
.align 2
.LC3:
.ascii " :%02X: %02X %02X %02X %02X %02X \012\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type findDiff, %function
findDiff:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, r9, r10, fp, lr}
cmp r2, #0
sub sp, sp, #36
beq .L8
mov r8, r0
mov r9, r1
mov r3, r1
mov r4, #0
b .L4
.L12:
cmp r2, r4
beq .L2
.L4:
ldr ip, [r0]
ldr r1, [r3]
mov r6, r0
cmp ip, r1
mov r5, r3
mov r7, r4
add r0, r0, #4
add r3, r3, #4
add r4, r4, #1
beq .L12
mov r1, r7
ldr r0, .L15
bl DISPLAY
cmp r7, #2
bhi .L13
.L6:
add ip, r7, #2
lsl r10, ip, #2
add r3, r10, #8
add r1, r10, #12
add fp, r10, #4
ldr r2, [r8, r3]
ldr r0, [r8, fp]
str r3, [sp, #20]
ldr r3, [r8, r1]
str r1, [sp, #24]
ldr r1, [r6]
stm sp, {r0, r2, r3}
ldr r0, .L15+4
ldr r2, [r8, r4, lsl #2]
ldr r3, [r8, ip, lsl #2]
str ip, [sp, #28]
bl DISPLAY
cmp r7, #2
lsl r4, r4, #2
bhi .L14
.L7:
ldr r3, [sp, #24]
ldr r0, .L15+4
ldr r1, [r9, r3]
ldr r3, [sp, #20]
ldr r2, [r9, r3]
ldr r3, [r9, fp]
str r1, [sp, #8]
str r3, [sp]
ldr r3, [sp, #28]
str r2, [sp, #4]
ldr r3, [r9, r3, lsl #2]
ldr r2, [r9, r4]
ldr r1, [r5]
bl DISPLAY
mov r0, r7
add sp, sp, #36
@ sp needed
pop {r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L13:
sub r3, r7, #-1073741821
add r2, r8, r3, lsl #2
ldr r1, [r8, r3, lsl #2]
ldr r0, .L15+8
ldmib r2, {r2, r3}
bl DISPLAY
b .L6
.L14:
add r10, r9, r10
sub r1, r10, #20
ldm r1, {r1, r2, r3}
ldr r0, .L15+8
bl DISPLAY
b .L7
.L8:
mov r4, r2
.L2:
mov r7, r4
mov r1, r2
ldr r0, .L15+12
bl DISPLAY
mov r0, r7
add sp, sp, #36
@ sp needed
pop {r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L16:
.align 2
.L15:
.word .LC1
.word .LC3
.word .LC2
.word .LC0
.size findDiff, .-findDiff
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_zstreamtest.c_getCCtxParams.c"
.intel_syntax noprefix
.text
.p2align 4
.type getCCtxParams, @function
getCCtxParams:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
lea rdx, 36[rsi]
push rbp
.cfi_def_cfa_offset 24
.cfi_offset 6, -24
mov rbp, rdi
push rbx
.cfi_def_cfa_offset 32
.cfi_offset 3, -32
mov rbx, rsi
sub rsp, 16
.cfi_def_cfa_offset 48
mov esi, DWORD PTR ZSTD_c_windowLog[rip]
mov rax, QWORD PTR fs:40
mov QWORD PTR 8[rsp], rax
xor eax, eax
lea r12, 4[rsp]
call ZSTD_CCtx_getParameter@PLT
mov edi, eax
call CHECK_RET_Z@PLT
mov esi, DWORD PTR ZSTD_c_hashLog[rip]
lea rdx, 32[rbx]
mov rdi, rbp
call ZSTD_CCtx_getParameter@PLT
mov edi, eax
call CHECK_RET_Z@PLT
mov esi, DWORD PTR ZSTD_c_chainLog[rip]
lea rdx, 28[rbx]
mov rdi, rbp
call ZSTD_CCtx_getParameter@PLT
mov edi, eax
call CHECK_RET_Z@PLT
mov esi, DWORD PTR ZSTD_c_searchLog[rip]
lea rdx, 24[rbx]
mov rdi, rbp
call ZSTD_CCtx_getParameter@PLT
mov edi, eax
call CHECK_RET_Z@PLT
mov esi, DWORD PTR ZSTD_c_minMatch[rip]
lea rdx, 20[rbx]
mov rdi, rbp
call ZSTD_CCtx_getParameter@PLT
mov edi, eax
call CHECK_RET_Z@PLT
mov esi, DWORD PTR ZSTD_c_targetLength[rip]
lea rdx, 16[rbx]
mov rdi, rbp
call ZSTD_CCtx_getParameter@PLT
mov edi, eax
call CHECK_RET_Z@PLT
mov esi, DWORD PTR ZSTD_c_strategy[rip]
mov rdx, r12
mov rdi, rbp
call ZSTD_CCtx_getParameter@PLT
mov edi, eax
call CHECK_RET_Z@PLT
mov eax, DWORD PTR 4[rsp]
mov rdx, rbx
mov rdi, rbp
mov esi, DWORD PTR ZSTD_c_checksumFlag[rip]
mov DWORD PTR 12[rbx], eax
call ZSTD_CCtx_getParameter@PLT
mov edi, eax
call CHECK_RET_Z@PLT
mov esi, DWORD PTR ZSTD_c_contentSizeFlag[rip]
lea rdx, 4[rbx]
mov rdi, rbp
call ZSTD_CCtx_getParameter@PLT
mov edi, eax
call CHECK_RET_Z@PLT
mov esi, DWORD PTR ZSTD_c_dictIDFlag[rip]
mov rdx, r12
mov rdi, rbp
call ZSTD_CCtx_getParameter@PLT
mov edi, eax
call CHECK_RET_Z@PLT
mov edx, DWORD PTR 4[rsp]
xor eax, eax
test edx, edx
sete al
mov DWORD PTR 8[rbx], eax
mov rax, QWORD PTR 8[rsp]
sub rax, QWORD PTR fs:40
jne .L5
add rsp, 16
.cfi_remember_state
.cfi_def_cfa_offset 32
xor eax, eax
pop rbx
.cfi_def_cfa_offset 24
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.L5:
.cfi_restore_state
call __stack_chk_fail@PLT
.cfi_endproc
.LFE0:
.size getCCtxParams, .-getCCtxParams
.globl ZSTD_c_windowLog
.bss
.align 4
.type ZSTD_c_windowLog, @object
.size ZSTD_c_windowLog, 4
ZSTD_c_windowLog:
.zero 4
.globl ZSTD_c_targetLength
.align 4
.type ZSTD_c_targetLength, @object
.size ZSTD_c_targetLength, 4
ZSTD_c_targetLength:
.zero 4
.globl ZSTD_c_strategy
.align 4
.type ZSTD_c_strategy, @object
.size ZSTD_c_strategy, 4
ZSTD_c_strategy:
.zero 4
.globl ZSTD_c_searchLog
.align 4
.type ZSTD_c_searchLog, @object
.size ZSTD_c_searchLog, 4
ZSTD_c_searchLog:
.zero 4
.globl ZSTD_c_minMatch
.align 4
.type ZSTD_c_minMatch, @object
.size ZSTD_c_minMatch, 4
ZSTD_c_minMatch:
.zero 4
.globl ZSTD_c_hashLog
.align 4
.type ZSTD_c_hashLog, @object
.size ZSTD_c_hashLog, 4
ZSTD_c_hashLog:
.zero 4
.globl ZSTD_c_dictIDFlag
.align 4
.type ZSTD_c_dictIDFlag, @object
.size ZSTD_c_dictIDFlag, 4
ZSTD_c_dictIDFlag:
.zero 4
.globl ZSTD_c_contentSizeFlag
.align 4
.type ZSTD_c_contentSizeFlag, @object
.size ZSTD_c_contentSizeFlag, 4
ZSTD_c_contentSizeFlag:
.zero 4
.globl ZSTD_c_checksumFlag
.align 4
.type ZSTD_c_checksumFlag, @object
.size ZSTD_c_checksumFlag, 4
ZSTD_c_checksumFlag:
.zero 4
.globl ZSTD_c_chainLog
.align 4
.type ZSTD_c_chainLog, @object
.size ZSTD_c_chainLog, 4
ZSTD_c_chainLog:
.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_zstreamtest.c_getCCtxParams.c"
.text
.section .rodata.cst4,"aM",%progbits,4
.align 2
.LC0:
.word __stack_chk_guard
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type getCCtxParams, %function
getCCtxParams:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, lr}
mov r4, r1
mov r5, r0
ldr r3, .L6
add r2, r1, #36
ldr r1, [r3]
ldr r3, .L6+4
sub sp, sp, #12
ldr r3, [r3]
str r3, [sp, #4]
mov r3,#0
bl ZSTD_CCtx_getParameter
bl CHECK_RET_Z
ldr r3, .L6+8
add r2, r4, #32
ldr r1, [r3]
mov r0, r5
bl ZSTD_CCtx_getParameter
bl CHECK_RET_Z
ldr r3, .L6+12
add r2, r4, #28
ldr r1, [r3]
mov r0, r5
bl ZSTD_CCtx_getParameter
bl CHECK_RET_Z
ldr r3, .L6+16
add r2, r4, #24
ldr r1, [r3]
mov r0, r5
bl ZSTD_CCtx_getParameter
bl CHECK_RET_Z
ldr r3, .L6+20
add r2, r4, #20
ldr r1, [r3]
mov r0, r5
bl ZSTD_CCtx_getParameter
bl CHECK_RET_Z
ldr r3, .L6+24
add r2, r4, #16
ldr r1, [r3]
mov r0, r5
bl ZSTD_CCtx_getParameter
bl CHECK_RET_Z
ldr r3, .L6+28
mov r2, sp
ldr r1, [r3]
mov r0, r5
bl ZSTD_CCtx_getParameter
bl CHECK_RET_Z
ldr r3, .L6+32
ldr r2, [sp]
ldr r1, [r3]
str r2, [r4, #12]
mov r0, r5
mov r2, r4
bl ZSTD_CCtx_getParameter
bl CHECK_RET_Z
ldr r3, .L6+36
add r2, r4, #4
ldr r1, [r3]
mov r0, r5
bl ZSTD_CCtx_getParameter
bl CHECK_RET_Z
ldr r3, .L6+40
mov r2, sp
ldr r1, [r3]
mov r0, r5
bl ZSTD_CCtx_getParameter
bl CHECK_RET_Z
ldr r3, [sp]
clz r3, r3
lsr r3, r3, #5
str r3, [r4, #8]
ldr r3, .L6+4
ldr r2, [r3]
ldr r3, [sp, #4]
eors r2, r3, r2
mov r3, #0
bne .L5
mov r0, #0
add sp, sp, #12
@ sp needed
pop {r4, r5, pc}
.L5:
bl __stack_chk_fail
.L7:
.align 2
.L6:
.word ZSTD_c_windowLog
.word .LC0
.word ZSTD_c_hashLog
.word ZSTD_c_chainLog
.word ZSTD_c_searchLog
.word ZSTD_c_minMatch
.word ZSTD_c_targetLength
.word ZSTD_c_strategy
.word ZSTD_c_checksumFlag
.word ZSTD_c_contentSizeFlag
.word ZSTD_c_dictIDFlag
.size getCCtxParams, .-getCCtxParams
.comm ZSTD_c_windowLog,4,4
.comm ZSTD_c_targetLength,4,4
.comm ZSTD_c_strategy,4,4
.comm ZSTD_c_searchLog,4,4
.comm ZSTD_c_minMatch,4,4
.comm ZSTD_c_hashLog,4,4
.comm ZSTD_c_dictIDFlag,4,4
.comm ZSTD_c_contentSizeFlag,4,4
.comm ZSTD_c_checksumFlag,4,4
.comm ZSTD_c_chainLog,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_zstreamtest.c_main.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "--mt"
.LC1:
.string "--newapi"
.LC2:
.string "--no-big-tests"
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC3:
.string "Starting zstream tester (%i-bits, %s)\n"
.section .rodata.str1.1
.LC4:
.string "Seed = %u\n"
.LC5:
.string "Compressibility : %i%%\n"
.LC7:
.string "Press Enter \n"
.section .text.startup,"ax",@progbits
.p2align 4
.globl main
.type main, @function
main:
.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
push r13
.cfi_def_cfa_offset 32
.cfi_offset 13, -32
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
sub rsp, 56
.cfi_def_cfa_offset 112
mov ebp, DWORD PTR nbTestsDefault[rip]
mov rax, QWORD PTR fs:40
mov QWORD PTR 40[rsp], rax
xor eax, eax
mov eax, DWORD PTR FUZ_COMPRESSIBILITY_DEFAULT[rip]
mov DWORD PTR 8[rsp], eax
mov rax, QWORD PTR [rsi]
mov QWORD PTR 24[rsp], rax
cmp edi, 1
jle .L2
lea eax, -2[rdi]
mov DWORD PTR [rsp], 128
xor r12d, r12d
xor r13d, r13d
mov DWORD PTR 4[rsp], 1
lea r15, 8[rsi]
lea rbx, 16[rsi+rax*8]
mov DWORD PTR 16[rsp], 0
mov DWORD PTR 20[rsp], 0
jmp .L31
.p2align 4,,10
.p2align 3
.L3:
add r15, 8
cmp rbx, r15
je .L70
.L31:
mov r14, QWORD PTR [r15]
xor edi, edi
test r14, r14
setne dil
call assert@PLT
cmp BYTE PTR [r14], 45
jne .L3
mov ecx, 5
mov rsi, r14
lea rdi, .LC0[rip]
repz cmpsb
seta al
sbb al, 0
test al, al
je .L71
mov ecx, 9
mov rsi, r14
lea rdi, .LC1[rip]
repz cmpsb
seta al
sbb al, 0
test al, al
je .L72
mov ecx, 15
lea rdi, .LC2[rip]
mov rsi, r14
repz cmpsb
seta al
sbb al, 0
test al, al
jne .L73
add r15, 8
mov DWORD PTR 4[rsp], 0
cmp rbx, r15
jne .L31
.L70:
mov edx, DWORD PTR ZSTD_VERSION_STRING[rip]
xor eax, eax
mov esi, 64
lea rdi, .LC3[rip]
call DISPLAY@PLT
cmp DWORD PTR 20[rsp], 0
je .L41
.L32:
xor eax, eax
mov esi, r13d
lea rdi, .LC4[rip]
call DISPLAY@PLT
mov eax, DWORD PTR 8[rsp]
cmp DWORD PTR FUZ_COMPRESSIBILITY_DEFAULT[rip], eax
je .L33
mov esi, eax
lea rdi, .LC5[rip]
xor eax, eax
call DISPLAY@PLT
.L33:
test ebp, ebp
mov esi, 1
pxor xmm0, xmm0
cvtsi2sd xmm0, DWORD PTR 8[rsp]
cmovle ebp, esi
divsd xmm0, QWORD PTR .LC6[rip]
test r12d, r12d
je .L34
.L38:
mov eax, DWORD PTR [rsp]
cmp eax, 129
je .L35
cmp eax, 130
jne .L74
mov ecx, DWORD PTR 4[rsp]
mov edx, r12d
mov esi, ebp
mov edi, r13d
call fuzzerTests_newAPI@PLT
mov r14d, eax
.L39:
cmp DWORD PTR 16[rsp], 0
jne .L75
.L1:
mov rax, QWORD PTR 40[rsp]
sub rax, QWORD PTR fs:40
jne .L68
add rsp, 56
.cfi_remember_state
.cfi_def_cfa_offset 56
mov eax, r14d
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
.p2align 4,,10
.p2align 3
.L71:
.cfi_restore_state
cmp r12d, 1
mov DWORD PTR [rsp], 129
adc r12d, 0
jmp .L3
.p2align 4,,10
.p2align 3
.L72:
cmp r12d, 1
mov DWORD PTR [rsp], 130
adc r12d, 0
jmp .L3
.p2align 4,,10
.p2align 3
.L73:
movzx ecx, BYTE PTR 1[r14]
lea rax, 1[r14]
test cl, cl
je .L3
mov r8d, DWORD PTR SEC_TO_MICRO[rip]
mov edi, 100
xor esi, esi
.L30:
sub ecx, 80
cmp cl, 38
ja .L6
lea r10, .L8[rip]
movzx ecx, cl
movsx rdx, DWORD PTR [r10+rcx*4]
add rdx, r10
notrack jmp rdx
.section .rodata
.align 4
.align 4
.L8:
.long .L16-.L8
.long .L6-.L8
.long .L6-.L8
.long .L6-.L8
.long .L15-.L8
.long .L6-.L8
.long .L6-.L8
.long .L6-.L8
.long .L6-.L8
.long .L6-.L8
.long .L6-.L8
.long .L6-.L8
.long .L6-.L8
.long .L6-.L8
.long .L6-.L8
.long .L6-.L8
.long .L6-.L8
.long .L6-.L8
.long .L6-.L8
.long .L6-.L8
.long .L6-.L8
.long .L6-.L8
.long .L6-.L8
.long .L6-.L8
.long .L6-.L8
.long .L13-.L8
.long .L6-.L8
.long .L6-.L8
.long .L6-.L8
.long .L6-.L8
.long .L6-.L8
.long .L6-.L8
.long .L12-.L8
.long .L11-.L8
.long .L6-.L8
.long .L10-.L8
.long .L9-.L8
.long .L6-.L8
.long .L7-.L8
.section .text.startup
.L6:
mov rax, QWORD PTR 40[rsp]
sub rax, QWORD PTR fs:40
jne .L68
mov rdi, QWORD PTR 24[rsp]
add rsp, 56
.cfi_remember_state
.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
jmp FUZ_usage@PLT
.L9:
.cfi_restore_state
movzx edx, BYTE PTR 1[rax]
lea rcx, 1[rax]
mov r12d, 0
lea eax, -48[rdx]
cmp al, 9
mov rax, rcx
ja .L18
.p2align 4,,10
.p2align 3
.L26:
sub edx, 48
lea ecx, [r12+r12*4]
add rax, 1
movsx edx, dl
lea r12d, [rdx+rcx*2]
movzx edx, BYTE PTR [rax]
lea ecx, -48[rdx]
cmp cl, 9
jbe .L26
.p2align 4,,10
.p2align 3
.L18:
movzx ecx, BYTE PTR [rax]
test cl, cl
jne .L30
jmp .L3
.L10:
movzx edx, BYTE PTR 1[rax]
lea rcx, 1[rax]
lea eax, -48[rdx]
cmp al, 9
mov rax, rcx
ja .L45
xor r13d, r13d
.p2align 4,,10
.p2align 3
.L25:
sub edx, 48
lea ecx, 0[r13+r13*4]
add rax, 1
movsx edx, dl
lea r13d, [rdx+rcx*2]
movzx edx, BYTE PTR [rax]
lea ecx, -48[rdx]
cmp cl, 9
jbe .L25
mov DWORD PTR 20[rsp], 1
jmp .L18
.L11:
sub DWORD PTR g_displayLevel[rip], 1
add rax, 1
jmp .L18
.L12:
mov DWORD PTR 16[rsp], 1
add rax, 1
jmp .L18
.L13:
mov DWORD PTR g_clockTime[rip], esi
movzx edx, BYTE PTR 1[rax]
lea rcx, 1[rax]
mov ebp, 0
lea eax, -48[rdx]
cmp al, 9
mov rax, rcx
ja .L18
.p2align 4,,10
.p2align 3
.L19:
sub edx, 48
lea ecx, 0[rbp+rbp*4]
add rax, 1
movsx edx, dl
lea ebp, [rdx+rcx*2]
movzx edx, BYTE PTR [rax]
lea ecx, -48[rdx]
cmp cl, 9
jbe .L19
jmp .L18
.L7:
add DWORD PTR g_displayLevel[rip], 1
add rax, 1
jmp .L18
.L15:
mov DWORD PTR g_clockTime[rip], esi
movzx ecx, BYTE PTR 1[rax]
lea rdx, 1[rax]
lea eax, -48[rcx]
cmp al, 9
ja .L20
xor eax, eax
.p2align 4,,10
.p2align 3
.L21:
lea eax, [rax+rax*4]
add rdx, 1
add eax, eax
mov DWORD PTR g_clockTime[rip], eax
movsx ecx, BYTE PTR -1[rdx]
lea eax, -48[rax+rcx]
mov DWORD PTR g_clockTime[rip], eax
movzx ecx, BYTE PTR [rdx]
lea r9d, -48[rcx]
cmp r9b, 9
jbe .L21
.L20:
cmp cl, 109
je .L76
mov eax, DWORD PTR g_clockTime[rip]
cmp cl, 115
je .L67
.L24:
imul eax, r8d
xor ebp, ebp
mov DWORD PTR g_clockTime[rip], eax
mov rax, rdx
jmp .L18
.L16:
lea rcx, 1[rax]
movzx eax, BYTE PTR 1[rax]
lea edx, -48[rax]
cmp dl, 9
mov edx, 0
ja .L27
.p2align 4,,10
.p2align 3
.L28:
sub eax, 48
lea edx, [rdx+rdx*4]
add rcx, 1
movsx eax, al
lea edx, [rax+rdx*2]
movzx eax, BYTE PTR [rcx]
lea r9d, -48[rax]
cmp r9b, 9
jbe .L28
.L27:
cmp edx, 100
mov rax, rcx
cmovg edx, edi
mov DWORD PTR 8[rsp], edx
jmp .L18
.L76:
imul eax, DWORD PTR g_clockTime[rip], 60
mov DWORD PTR g_clockTime[rip], eax
cmp BYTE PTR 1[rdx], 110
je .L23
.L67:
add rdx, 1
jmp .L24
.L75:
lea rdi, .LC7[rip]
xor eax, eax
call DISPLAY@PLT
xor eax, eax
call getchar@PLT
jmp .L1
.L34:
xor edi, edi
movsd QWORD PTR 8[rsp], xmm0
call basicUnitTests@PLT
movsd xmm0, QWORD PTR 8[rsp]
test eax, eax
mov r14d, eax
je .L38
jmp .L39
.L2:
mov edx, DWORD PTR ZSTD_VERSION_STRING[rip]
mov esi, 64
xor eax, eax
xor r12d, r12d
lea rdi, .LC3[rip]
call DISPLAY@PLT
mov DWORD PTR [rsp], 128
mov DWORD PTR 4[rsp], 1
mov DWORD PTR 16[rsp], 0
.L41:
xor edi, edi
mov ebx, 10000
call time@PLT
mov edx, 1
lea rdi, 36[rsp]
mov esi, 4
mov DWORD PTR 36[rsp], eax
call XXH32@PLT
cdq
idiv ebx
mov r13d, edx
jmp .L32
.L74:
mov ecx, DWORD PTR 4[rsp]
mov edx, r12d
mov esi, ebp
mov edi, r13d
call fuzzerTests@PLT
mov r14d, eax
jmp .L39
.L35:
mov ecx, DWORD PTR 4[rsp]
mov edx, r12d
mov esi, ebp
mov edi, r13d
call fuzzerTests_MT@PLT
mov r14d, eax
jmp .L39
.L23:
add rdx, 2
jmp .L24
.L45:
mov DWORD PTR 20[rsp], 1
xor r13d, r13d
jmp .L18
.L68:
call __stack_chk_fail@PLT
.cfi_endproc
.LFE0:
.size main, .-main
.globl nbTestsDefault
.bss
.align 4
.type nbTestsDefault, @object
.size nbTestsDefault, 4
nbTestsDefault:
.zero 4
.globl g_displayLevel
.align 4
.type g_displayLevel, @object
.size g_displayLevel, 4
g_displayLevel:
.zero 4
.globl g_clockTime
.align 4
.type g_clockTime, @object
.size g_clockTime, 4
g_clockTime:
.zero 4
.globl ZSTD_VERSION_STRING
.align 4
.type ZSTD_VERSION_STRING, @object
.size ZSTD_VERSION_STRING, 4
ZSTD_VERSION_STRING:
.zero 4
.globl SEC_TO_MICRO
.align 4
.type SEC_TO_MICRO, @object
.size SEC_TO_MICRO, 4
SEC_TO_MICRO:
.zero 4
.globl FUZ_COMPRESSIBILITY_DEFAULT
.align 4
.type FUZ_COMPRESSIBILITY_DEFAULT, @object
.size FUZ_COMPRESSIBILITY_DEFAULT, 4
FUZ_COMPRESSIBILITY_DEFAULT:
.zero 4
.section .rodata.cst8,"aM",@progbits,8
.align 8
.LC6:
.long 0
.long 1079574528
.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_zstreamtest.c_main.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "--mt\000"
.align 2
.LC1:
.ascii "--newapi\000"
.align 2
.LC2:
.ascii "--no-big-tests\000"
.align 2
.LC3:
.ascii "Starting zstream tester (%i-bits, %s)\012\000"
.global __aeabi_idivmod
.align 2
.LC4:
.ascii "Seed = %u\012\000"
.align 2
.LC5:
.ascii "Compressibility : %i%%\012\000"
.global __aeabi_i2d
.global __aeabi_ddiv
.align 2
.LC6:
.ascii "Press Enter \012\000"
.section .rodata.cst4,"aM",%progbits,4
.align 2
.LC7:
.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 = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, r9, r10, fp, lr}
ldr r3, .L74
ldr r2, .L74+4
ldr r7, [r3]
ldr r3, .L74+8
sub sp, sp, #52
ldr r2, [r2]
str r2, [sp, #44]
mov r2,#0
ldr r3, [r3]
ldr r2, [r1]
cmp r0, #1
str r2, [sp, #36]
str r3, [sp, #24]
ble .L2
mov r8, #0
mov r3, #128
mov r9, r0
mov r5, r1
mov r6, r8
mov r4, #1
ldr r10, .L74+12
str r8, [sp, #28]
str r8, [sp, #32]
str r3, [sp, #20]
b .L30
.L3:
add r4, r4, #1
cmp r9, r4
beq .L68
.L30:
ldr fp, [r5, #4]!
subs r0, fp, #0
movne r0, #1
bl assert
ldrb r3, [fp] @ zero_extendqisi2
cmp r3, #45
bne .L3
mov r1, r10
mov r0, fp
bl strcmp
cmp r0, #0
beq .L69
mov r0, fp
ldr r1, .L74+16
bl strcmp
cmp r0, #0
beq .L70
mov r0, fp
ldr r1, .L74+20
bl strcmp
cmp r0, #0
beq .L3
ldrb r2, [fp, #1] @ zero_extendqisi2
add r3, fp, #1
cmp r2, #0
beq .L3
mov ip, #0
mov fp, #60
ldr r1, .L74+24
ldr lr, [r1]
.L29:
sub r2, r2, #80
cmp r2, #38
ldrls pc, [pc, r2, asl #2]
b .L6
.L8:
.word .L16
.word .L6
.word .L6
.word .L6
.word .L15
.word .L6
.word .L6
.word .L6
.word .L6
.word .L6
.word .L6
.word .L6
.word .L6
.word .L6
.word .L6
.word .L6
.word .L6
.word .L6
.word .L6
.word .L6
.word .L6
.word .L6
.word .L6
.word .L6
.word .L6
.word .L13
.word .L6
.word .L6
.word .L6
.word .L6
.word .L6
.word .L6
.word .L12
.word .L11
.word .L6
.word .L10
.word .L9
.word .L6
.word .L7
.L6:
ldr r0, [sp, #36]
bl FUZ_usage
mov r9, r0
.L1:
ldr r3, .L74+4
ldr r2, [r3]
ldr r3, [sp, #44]
eors r2, r3, r2
mov r3, #0
bne .L71
mov r0, r9
add sp, sp, #52
@ sp needed
pop {r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L69:
mov r3, #129
add r4, r4, #1
cmp r6, #0
addeq r6, r6, #1
cmp r9, r4
str r3, [sp, #20]
bne .L30
.L68:
ldr r3, .L74+28
mov r1, #32
ldr r2, [r3]
ldr r0, .L74+32
bl DISPLAY
ldr r3, [sp, #32]
cmp r3, #0
beq .L39
.L31:
mov r1, r8
ldr r0, .L74+36
bl DISPLAY
ldr r3, .L74+8
ldr r2, [sp, #24]
ldr r3, [r3]
cmp r3, r2
beq .L32
mov r1, r2
ldr r0, .L74+40
bl DISPLAY
.L32:
cmp r7, #1
ldr r0, [sp, #24]
movlt r7, #1
bl __aeabi_i2d
mov r2, #0
ldr r3, .L74+44
bl __aeabi_ddiv
cmp r6, #0
mov r4, r0
mov r5, r1
beq .L33
.L37:
ldr r3, [sp, #20]
cmp r3, #129
beq .L34
cmp r3, #130
bne .L72
mov r3, #0
mov r2, r6
mov r1, r7
mov r0, r8
stm sp, {r4-r5}
str r3, [sp, #8]
bl fuzzerTests_newAPI
mov r9, r0
.L38:
ldr r3, [sp, #28]
cmp r3, #0
beq .L1
ldr r0, .L74+48
bl DISPLAY
bl getchar
b .L1
.L70:
mov r3, #130
cmp r6, #0
addeq r6, r6, #1
str r3, [sp, #20]
b .L3
.L9:
ldrb r2, [r3, #1] @ zero_extendqisi2
mov r6, #0
sub r2, r2, #48
and r1, r2, #255
cmp r1, #9
add r3, r3, #1
bhi .L18
.L26:
ldrb r1, [r3, #1]! @ zero_extendqisi2
add r6, r6, r6, lsl #2
add r6, r2, r6, lsl #1
sub r2, r1, #48
and r1, r2, #255
cmp r1, #9
bls .L26
.L18:
ldrb r2, [r3] @ zero_extendqisi2
cmp r2, #0
bne .L29
b .L3
.L10:
ldrb r2, [r3, #1] @ zero_extendqisi2
add r3, r3, #1
sub r2, r2, #48
and r1, r2, #255
cmp r1, #9
bhi .L42
mov r8, #0
.L25:
ldrb r1, [r3, #1]! @ zero_extendqisi2
add r8, r8, r8, lsl #2
add r8, r2, r8, lsl #1
sub r2, r1, #48
and r1, r2, #255
cmp r1, #9
bls .L25
mov r2, #1
str r2, [sp, #32]
b .L18
.L11:
ldr r1, .L74+52
add r3, r3, #1
ldr r2, [r1]
sub r2, r2, #1
str r2, [r1]
b .L18
.L12:
mov r2, #1
add r3, r3, #1
str r2, [sp, #28]
b .L18
.L13:
ldr r2, .L74+56
mov r7, #0
str ip, [r2]
ldrb r2, [r3, #1] @ zero_extendqisi2
add r3, r3, #1
sub r2, r2, #48
and r1, r2, #255
cmp r1, #9
bhi .L18
.L19:
ldrb r1, [r3, #1]! @ zero_extendqisi2
add r7, r7, r7, lsl #2
add r7, r2, r7, lsl #1
sub r2, r1, #48
and r1, r2, #255
cmp r1, #9
bls .L19
b .L18
.L7:
ldr r1, .L74+52
add r3, r3, #1
ldr r2, [r1]
add r2, r2, #1
str r2, [r1]
b .L18
.L15:
ldr r2, .L74+56
add r3, r3, #1
str ip, [r2]
ldrb r1, [r3] @ zero_extendqisi2
sub r2, r1, #48
cmp r2, #9
bhi .L20
mov r2, #0
.L21:
ldr r0, .L74+56
add r2, r2, r2, lsl #2
lsl r2, r2, #1
str r2, [r0]
ldrb r1, [r3] @ zero_extendqisi2
sub r1, r1, #48
add r2, r1, r2
str r2, [r0]
ldrb r1, [r3, #1]! @ zero_extendqisi2
sub r0, r1, #48
cmp r0, #9
bls .L21
.L20:
cmp r1, #109
beq .L73
cmp r1, #115
beq .L66
.L24:
ldr r1, .L74+56
mov r7, #0
ldr r2, [r1]
mul r2, lr, r2
str r2, [r1]
b .L18
.L16:
ldrb r1, [r3, #1] @ zero_extendqisi2
add r3, r3, #1
sub r1, r1, #48
and r2, r1, #255
cmp r2, #9
mov r2, #0
bhi .L27
.L28:
ldrb r0, [r3, #1]! @ zero_extendqisi2
add r2, r2, r2, lsl #2
add r2, r1, r2, lsl #1
sub r1, r0, #48
and r0, r1, #255
cmp r0, #9
bls .L28
.L27:
cmp r2, #100
movge r2, #100
str r2, [sp, #24]
b .L18
.L73:
ldr r1, .L74+56
ldr r2, [r1]
mul r2, fp, r2
str r2, [r1]
ldrb r2, [r3, #1] @ zero_extendqisi2
cmp r2, #110
addeq r3, r3, #2
beq .L24
.L66:
add r3, r3, #1
b .L24
.L2:
mov r3, #0
str r3, [sp, #28]
mov r6, r3
ldr r3, .L74+28
mov r1, #32
ldr r2, [r3]
ldr r0, .L74+32
bl DISPLAY
mov r3, #128
str r3, [sp, #20]
.L39:
mov r0, #0
bl time
mov r3, r0
mov r2, #1
mov r1, #4
add r0, sp, #40
str r3, [sp, #40]
bl XXH32
ldr r1, .L74+60
bl __aeabi_idivmod
mov r8, r1
b .L31
.L33:
mov r2, r0
mov r3, r1
mov r0, r6
bl basicUnitTests
subs r9, r0, #0
beq .L37
b .L38
.L34:
mov r3, #0
mov r2, r6
mov r1, r7
mov r0, r8
stm sp, {r4-r5}
str r3, [sp, #8]
bl fuzzerTests_MT
mov r9, r0
b .L38
.L72:
mov r3, #0
mov r2, r6
mov r1, r7
mov r0, r8
stm sp, {r4-r5}
str r3, [sp, #8]
bl fuzzerTests
mov r9, r0
b .L38
.L42:
mov r2, #1
mov r8, #0
str r2, [sp, #32]
b .L18
.L71:
bl __stack_chk_fail
.L75:
.align 2
.L74:
.word nbTestsDefault
.word .LC7
.word FUZ_COMPRESSIBILITY_DEFAULT
.word .LC0
.word .LC1
.word .LC2
.word SEC_TO_MICRO
.word ZSTD_VERSION_STRING
.word .LC3
.word .LC4
.word .LC5
.word 1079574528
.word .LC6
.word g_displayLevel
.word g_clockTime
.word 10000
.size main, .-main
.comm nbTestsDefault,4,4
.comm g_displayLevel,4,4
.comm g_clockTime,4,4
.comm ZSTD_VERSION_STRING,4,4
.comm SEC_TO_MICRO,4,4
.comm FUZ_COMPRESSIBILITY_DEFAULT,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_zstreamtest.c_setCCtxParameter.c"
.intel_syntax noprefix
.text
.p2align 4
.type setCCtxParameter, @function
setCCtxParameter:
.LFB0:
.cfi_startproc
endbr64
mov r9, rsi
mov esi, edx
mov edx, ecx
test r8d, r8d
je .L2
mov rdi, r9
jmp ZSTD_CCtxParams_setParameter@PLT
.p2align 4,,10
.p2align 3
.L2:
jmp ZSTD_CCtx_setParameter@PLT
.cfi_endproc
.LFE0:
.size setCCtxParameter, .-setCCtxParameter
.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_zstreamtest.c_setCCtxParameter.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type setCCtxParameter, %function
setCCtxParameter:
@ args = 4, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
str lr, [sp, #-4]!
ldr lr, [sp, #4]
mov ip, r1
cmp lr, #0
mov r1, r2
mov r2, r3
beq .L2
mov r0, ip
ldr lr, [sp], #4
b ZSTD_CCtxParams_setParameter
.L2:
ldr lr, [sp], #4
b ZSTD_CCtx_setParameter
.size setCCtxParameter, .-setCCtxParameter
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_block_round_trip.c_LLVMFuzzerTestOneInput.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "Incorrect regenerated size"
.LC1:
.string "Corruption!"
.text
.p2align 4
.globl LLVMFuzzerTestOneInput
.type LLVMFuzzerTestOneInput, @function
LLVMFuzzerTestOneInput:
.LFB0:
.cfi_startproc
endbr64
push r14
.cfi_def_cfa_offset 16
.cfi_offset 14, -16
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 FUZZ_dataProducer_create@PLT
mov rdi, rax
mov r12, rax
call FUZZ_dataProducer_reserveDataPrefix@PLT
mov edx, DWORD PTR kMaxClevel[rip]
mov esi, DWORD PTR kMinClevel[rip]
mov rdi, r12
mov rbp, rax
call FUZZ_dataProducer_int32Range@PLT
mov r14, rbp
cmp QWORD PTR ZSTD_BLOCKSIZE_MAX[rip], rbp
cmovbe r14, QWORD PTR ZSTD_BLOCKSIZE_MAX[rip]
cmp QWORD PTR bufSize[rip], rbp
mov rdi, QWORD PTR cBuf[rip]
mov ebx, eax
jb .L3
test rdi, rdi
jne .L13
.L3:
call free@PLT
mov rdi, QWORD PTR rBuf[rip]
call free@PLT
mov rdi, rbp
call malloc@PLT
mov rdi, rbp
mov QWORD PTR cBuf[rip], rax
call malloc@PLT
cmp QWORD PTR cBuf[rip], 0
mov QWORD PTR bufSize[rip], rbp
setne dl
xor edi, edi
test rax, rax
mov QWORD PTR rBuf[rip], rax
setne dil
and edi, edx
call FUZZ_ASSERT@PLT
cmp QWORD PTR cctx[rip], 0
je .L14
.L5:
cmp QWORD PTR dctx[rip], 0
je .L15
.L6:
sub rsp, 8
.cfi_def_cfa_offset 56
mov r9, r14
mov r8, r13
mov rcx, rbp
push rbx
.cfi_def_cfa_offset 64
mov rdx, QWORD PTR cBuf[rip]
mov rsi, rbp
mov rdi, QWORD PTR rBuf[rip]
call roundTripTest@PLT
mov rbp, rax
mov rdi, rax
call FUZZ_ZASSERT@PLT
xor edi, edi
cmp r14, rbp
lea rsi, .LC0[rip]
sete dil
call FUZZ_ASSERT_MSG@PLT
mov rsi, QWORD PTR rBuf[rip]
mov rdx, r14
mov rdi, r13
call memcmp@PLT
xor edi, edi
lea rsi, .LC1[rip]
test eax, eax
sete dil
call FUZZ_ASSERT_MSG@PLT
mov rdi, r12
call FUZZ_dataProducer_free@PLT
mov rdi, QWORD PTR cctx[rip]
call ZSTD_freeCCtx@PLT
mov rdi, QWORD PTR dctx[rip]
mov QWORD PTR cctx[rip], 0
call ZSTD_freeDCtx@PLT
pop rax
.cfi_def_cfa_offset 56
xor eax, eax
pop rdx
.cfi_def_cfa_offset 48
mov QWORD PTR dctx[rip], 0
pop rbx
.cfi_remember_state
.cfi_def_cfa_offset 40
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
.L13:
.cfi_restore_state
cmp QWORD PTR rBuf[rip], 0
je .L3
cmp QWORD PTR cctx[rip], 0
jne .L5
.p2align 4,,10
.p2align 3
.L14:
xor eax, eax
call ZSTD_createCCtx@PLT
mov rdi, rax
mov QWORD PTR cctx[rip], rax
call FUZZ_ASSERT@PLT
cmp QWORD PTR dctx[rip], 0
jne .L6
.p2align 4,,10
.p2align 3
.L15:
xor eax, eax
call ZSTD_createDCtx@PLT
mov rdi, rax
mov QWORD PTR dctx[rip], rax
call FUZZ_ASSERT@PLT
jmp .L6
.cfi_endproc
.LFE0:
.size LLVMFuzzerTestOneInput, .-LLVMFuzzerTestOneInput
.globl rBuf
.bss
.align 8
.type rBuf, @object
.size rBuf, 8
rBuf:
.zero 8
.globl kMinClevel
.align 4
.type kMinClevel, @object
.size kMinClevel, 4
kMinClevel:
.zero 4
.globl kMaxClevel
.align 4
.type kMaxClevel, @object
.size kMaxClevel, 4
kMaxClevel:
.zero 4
.globl dctx
.align 8
.type dctx, @object
.size dctx, 8
dctx:
.zero 8
.globl cctx
.align 8
.type cctx, @object
.size cctx, 8
cctx:
.zero 8
.globl cBuf
.align 8
.type cBuf, @object
.size cBuf, 8
cBuf:
.zero 8
.globl bufSize
.align 8
.type bufSize, @object
.size bufSize, 8
bufSize:
.zero 8
.globl ZSTD_BLOCKSIZE_MAX
.align 8
.type ZSTD_BLOCKSIZE_MAX, @object
.size ZSTD_BLOCKSIZE_MAX, 8
ZSTD_BLOCKSIZE_MAX:
.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_block_round_trip.c_LLVMFuzzerTestOneInput.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "Incorrect regenerated size\000"
.align 2
.LC1:
.ascii "Corruption!\000"
.text
.align 2
.global LLVMFuzzerTestOneInput
.syntax unified
.arm
.fpu softvfp
.type LLVMFuzzerTestOneInput, %function
LLVMFuzzerTestOneInput:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, r9, r10, fp, lr}
sub sp, sp, #28
mov r6, r0
bl FUZZ_dataProducer_create
mov r5, r0
bl FUZZ_dataProducer_reserveDataPrefix
ldr r2, .L16
ldr r1, .L16+4
mov r10, r0
ldr r2, [r2]
mov r0, r5
ldr r1, [r1]
bl FUZZ_dataProducer_int32Range
ldr r2, .L16+8
ldr r9, .L16+12
ldr r4, [r2]
ldr r2, [r9]
cmp r10, r4
movcc r4, r10
cmp r2, r10
ldr fp, .L16+16
str r0, [sp, #20]
bcc .L13
ldr r0, [fp]
ldr r7, .L16+20
cmp r0, #0
bne .L9
.L3:
bl free
ldr r0, [r7]
bl free
mov r0, r10
bl malloc
mov r8, r0
mov r0, r10
str r8, [fp]
bl malloc
subs r8, r8, #0
movne r8, #1
mov r2, r0
cmp r0, #0
str r10, [r9]
ldr r9, .L16+24
movne r0, r8
moveq r0, #0
str r2, [r7]
bl FUZZ_ASSERT
ldr r2, [r9]
cmp r2, #0
beq .L14
.L5:
ldr r8, .L16+28
ldr r2, [r8]
cmp r2, #0
beq .L15
.L6:
ldr r3, [sp, #20]
ldr r2, [fp]
mov r1, r10
str r3, [sp, #8]
str r4, [sp, #4]
mov r3, r10
ldr r0, [r7]
str r6, [sp]
bl roundTripTest
mov r10, r0
bl FUZZ_ZASSERT
sub r0, r4, r10
clz r0, r0
ldr r1, .L16+32
lsr r0, r0, #5
bl FUZZ_ASSERT_MSG
mov r2, r4
ldr r1, [r7]
mov r0, r6
bl memcmp
clz r0, r0
mov r4, #0
ldr r1, .L16+36
lsr r0, r0, #5
bl FUZZ_ASSERT_MSG
mov r0, r5
bl FUZZ_dataProducer_free
ldr r0, [r9]
bl ZSTD_freeCCtx
ldr r0, [r8]
str r4, [r9]
bl ZSTD_freeDCtx
mov r0, r4
str r4, [r8]
add sp, sp, #28
@ sp needed
pop {r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L9:
ldr r2, [r7]
cmp r2, #0
beq .L3
ldr r9, .L16+24
ldr r2, [r9]
cmp r2, #0
bne .L5
.L14:
bl ZSTD_createCCtx
ldr r8, .L16+28
str r0, [r9]
bl FUZZ_ASSERT
ldr r2, [r8]
cmp r2, #0
bne .L6
.L15:
bl ZSTD_createDCtx
str r0, [r8]
bl FUZZ_ASSERT
b .L6
.L13:
ldr r7, .L16+20
ldr r0, [fp]
b .L3
.L17:
.align 2
.L16:
.word kMaxClevel
.word kMinClevel
.word ZSTD_BLOCKSIZE_MAX
.word bufSize
.word cBuf
.word rBuf
.word cctx
.word dctx
.word .LC0
.word .LC1
.size LLVMFuzzerTestOneInput, .-LLVMFuzzerTestOneInput
.comm rBuf,4,4
.comm kMinClevel,4,4
.comm kMaxClevel,4,4
.comm dctx,4,4
.comm cctx,4,4
.comm cBuf,4,4
.comm bufSize,4,4
.comm ZSTD_BLOCKSIZE_MAX,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_block_round_trip.c_roundTripTest.c"
.intel_syntax noprefix
.text
.p2align 4
.type roundTripTest, @function
roundTripTest:
.LFB0:
.cfi_startproc
endbr64
push r15
.cfi_def_cfa_offset 16
.cfi_offset 15, -16
mov r15, rsi
mov rsi, r9
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
xor edx, edx
push r12
.cfi_def_cfa_offset 40
.cfi_offset 12, -40
mov r12, r9
push rbp
.cfi_def_cfa_offset 48
.cfi_offset 6, -48
mov rbp, r8
push rbx
.cfi_def_cfa_offset 56
.cfi_offset 3, -56
mov rbx, rcx
sub rsp, 8
.cfi_def_cfa_offset 64
mov edi, DWORD PTR 64[rsp]
call ZSTD_getParams@PLT
mov edi, DWORD PTR cctx[rip]
xor edx, edx
xor esi, esi
mov ecx, eax
mov r8, r12
call ZSTD_compressBegin_advanced@PLT
mov rdi, rax
call FUZZ_ZASSERT@PLT
mov rdx, rbx
mov r8, r12
mov rcx, rbp
mov edi, DWORD PTR cctx[rip]
mov rsi, r13
call ZSTD_compressBlock@PLT
mov rbx, rax
mov rdi, rax
call FUZZ_ZASSERT@PLT
test rbx, rbx
je .L5
mov edi, DWORD PTR dctx[rip]
call ZSTD_decompressBegin@PLT
mov r8, rbx
mov rcx, r13
mov rdx, r15
mov edi, DWORD PTR dctx[rip]
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 56
mov rsi, r14
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 ZSTD_decompressBlock@PLT
.p2align 4,,10
.p2align 3
.L5:
.cfi_restore_state
xor edi, edi
cmp r12, r15
setbe dil
call FUZZ_ASSERT@PLT
mov rdx, r12
mov rsi, rbp
mov rdi, r14
call memcpy@PLT
add rsp, 8
.cfi_def_cfa_offset 56
mov rax, 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
ret
.cfi_endproc
.LFE0:
.size roundTripTest, .-roundTripTest
.globl dctx
.bss
.align 4
.type dctx, @object
.size dctx, 4
dctx:
.zero 4
.globl cctx
.align 4
.type cctx, @object
.size cctx, 4
cctx:
.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_block_round_trip.c_roundTripTest.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type roundTripTest, %function
roundTripTest:
@ args = 12, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, r9, r10, lr}
sub sp, sp, #8
ldr r4, [sp, #44]
mov r5, r2
mov r7, r0
mov r2, #0
mov r8, r1
ldr r0, [sp, #48]
mov r1, r4
mov r6, r3
ldr r9, [sp, #40]
bl ZSTD_getParams
mov r2, #0
ldr r10, .L8
mov r3, r0
mov r1, r2
ldr r0, [r10]
str r4, [sp]
bl ZSTD_compressBegin_advanced
bl FUZZ_ZASSERT
mov r2, r6
mov r1, r5
mov r3, r9
ldr r0, [r10]
str r4, [sp]
bl ZSTD_compressBlock
mov r6, r0
bl FUZZ_ZASSERT
cmp r6, #0
beq .L5
ldr r4, .L8+4
ldr r0, [r4]
bl ZSTD_decompressBegin
mov r3, r5
mov r2, r8
mov r1, r7
ldr r0, [r4]
str r6, [sp, #40]
add sp, sp, #8
@ sp needed
pop {r4, r5, r6, r7, r8, r9, r10, lr}
b ZSTD_decompressBlock
.L5:
cmp r4, r8
movhi r0, #0
movls r0, #1
bl FUZZ_ASSERT
mov r2, r4
mov r1, r9
mov r0, r7
bl memcpy
mov r0, r4
add sp, sp, #8
@ sp needed
pop {r4, r5, r6, r7, r8, r9, r10, pc}
.L9:
.align 2
.L8:
.word cctx
.word dctx
.size roundTripTest, .-roundTripTest
.comm dctx,4,4
.comm cctx,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_dictionary_decompress.c_LLVMFuzzerTestOneInput.c"
.intel_syntax noprefix
.text
.p2align 4
.globl LLVMFuzzerTestOneInput
.type LLVMFuzzerTestOneInput, @function
LLVMFuzzerTestOneInput:
.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
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
sub rsp, 24
.cfi_def_cfa_offset 80
call FUZZ_dataProducer_create@PLT
mov rdi, rax
mov rbp, rax
call FUZZ_dataProducer_reserveDataPrefix@PLT
cmp QWORD PTR dctx[rip], 0
mov rbx, rax
je .L9
.L2:
mov rsi, rbx
mov rdi, r13
lea r12d, [rbx+rbx*4]
mov rdx, rbp
call FUZZ_train@PLT
xor esi, esi
mov rdi, rbp
add r12d, r12d
mov r15, rdx
mov edx, 1
mov r14, rax
call FUZZ_dataProducer_uint32Range@PLT
test rax, rax
je .L10
mov edx, 2
xor esi, esi
mov rdi, rbp
call FUZZ_dataProducer_uint32Range@PLT
mov edx, 1
xor esi, esi
mov rdi, rbp
mov QWORD PTR 8[rsp], rax
call FUZZ_dataProducer_uint32Range@PLT
mov r8, QWORD PTR 8[rsp]
mov edx, r15d
mov rsi, r14
mov rdi, QWORD PTR dctx[rip]
mov rcx, rax
call ZSTD_DCtx_loadDictionary_advanced@PLT
mov edi, eax
call FUZZ_ZASSERT@PLT
mov edx, r12d
xor esi, esi
mov rdi, rbp
call FUZZ_dataProducer_uint32Range@PLT
mov rdi, rax
mov r15, rax
call malloc@PLT
mov rdi, rax
mov r12, rax
call FUZZ_ASSERT@PLT
.L5:
mov rdi, QWORD PTR dctx[rip]
mov r8, rbx
mov rcx, r13
mov rdx, r15
mov rsi, r12
call ZSTD_decompressDCtx@PLT
xor r9d, r9d
.L6:
mov rdi, r12
mov QWORD PTR 8[rsp], r9
call free@PLT
mov rdi, r14
call free@PLT
mov rdi, rbp
call FUZZ_dataProducer_free@PLT
mov r9, QWORD PTR 8[rsp]
mov rdi, r9
call ZSTD_freeDDict@PLT
mov rdi, QWORD PTR dctx[rip]
call ZSTD_freeDCtx@PLT
xor eax, eax
mov QWORD PTR dctx[rip], 0
add rsp, 24
.cfi_remember_state
.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
.p2align 4,,10
.p2align 3
.L10:
.cfi_restore_state
mov esi, r15d
mov rdi, r14
call ZSTD_createDDict@PLT
mov rdi, rax
mov QWORD PTR 8[rsp], rax
call FUZZ_ASSERT@PLT
mov edx, r12d
xor esi, esi
mov rdi, rbp
call FUZZ_dataProducer_uint32Range@PLT
mov rdi, rax
mov r15, rax
call malloc@PLT
mov rdi, rax
mov r12, rax
call FUZZ_ASSERT@PLT
mov r9, QWORD PTR 8[rsp]
test r9, r9
je .L5
mov rdi, QWORD PTR dctx[rip]
mov r8, rbx
mov rcx, r13
mov rdx, r15
mov rsi, r12
mov QWORD PTR 8[rsp], r9
call ZSTD_decompress_usingDDict@PLT
mov r9, QWORD PTR 8[rsp]
jmp .L6
.p2align 4,,10
.p2align 3
.L9:
xor eax, eax
call ZSTD_createDCtx@PLT
mov rdi, rax
mov QWORD PTR dctx[rip], rax
call FUZZ_ASSERT@PLT
jmp .L2
.cfi_endproc
.LFE0:
.size LLVMFuzzerTestOneInput, .-LLVMFuzzerTestOneInput
.globl dctx
.bss
.align 8
.type dctx, @object
.size dctx, 8
dctx:
.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_dictionary_decompress.c_LLVMFuzzerTestOneInput.c"
.text
.section .rodata.cst4,"aM",%progbits,4
.align 2
.LC0:
.word __stack_chk_guard
.text
.align 2
.global LLVMFuzzerTestOneInput
.syntax unified
.arm
.fpu softvfp
.type LLVMFuzzerTestOneInput, %function
LLVMFuzzerTestOneInput:
@ args = 0, pretend = 0, frame = 24
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, r9, r10, fp, lr}
ldr r3, .L13
sub sp, sp, #36
ldr r3, [r3]
str r3, [sp, #28]
mov r3,#0
mov r8, r0
bl FUZZ_dataProducer_create
mov r4, r0
bl FUZZ_dataProducer_reserveDataPrefix
ldr r7, .L13+4
mov r5, r0
ldr r3, [r7]
cmp r3, #0
beq .L10
.L2:
mov r3, r4
mov r2, r5
mov r1, r8
add r0, sp, #20
bl FUZZ_train
mov r2, #1
mov r1, #0
mov r0, r4
ldr r10, [sp, #20]
ldr r9, [sp, #24]
bl FUZZ_dataProducer_uint32Range
add r6, r5, r5, lsl #2
subs fp, r0, #0
lsl r6, r6, #1
beq .L11
mov r2, #1
mov r1, #0
mov r0, r4
ldr fp, [r7]
bl FUZZ_dataProducer_uint32Range
mov r3, r0
mov r2, #2
mov r1, #0
mov r0, r4
str r3, [sp, #12]
bl FUZZ_dataProducer_uint32Range
ldr r3, [sp, #12]
mov r2, r9
mov r1, r10
str r0, [sp]
mov r0, fp
bl ZSTD_DCtx_loadDictionary_advanced
bl FUZZ_ZASSERT
mov r2, r6
mov r1, #0
mov r0, r4
bl FUZZ_dataProducer_uint32Range
mov fp, r0
bl malloc
mov r6, r0
bl FUZZ_ASSERT
.L5:
mov r3, r8
mov r2, fp
mov r1, r6
ldr r0, [r7]
str r5, [sp]
bl ZSTD_decompressDCtx
mov r9, #0
.L6:
mov r0, r6
bl free
mov r0, r10
bl free
mov r0, r4
bl FUZZ_dataProducer_free
mov r0, r9
bl ZSTD_freeDDict
ldr r0, [r7]
bl ZSTD_freeDCtx
mov r0, #0
ldr r3, .L13
str r0, [r7]
ldr r2, [r3]
ldr r3, [sp, #28]
eors r2, r3, r2
mov r3, #0
bne .L12
add sp, sp, #36
@ sp needed
pop {r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L11:
mov r1, r9
mov r0, r10
bl ZSTD_createDDict
mov r9, r0
bl FUZZ_ASSERT
mov r2, r6
mov r1, fp
mov r0, r4
bl FUZZ_dataProducer_uint32Range
mov fp, r0
bl malloc
mov r6, r0
bl FUZZ_ASSERT
cmp r9, #0
beq .L5
mov r3, r8
mov r2, fp
mov r1, r6
stm sp, {r5, r9}
ldr r0, [r7]
bl ZSTD_decompress_usingDDict
b .L6
.L10:
bl ZSTD_createDCtx
str r0, [r7]
bl FUZZ_ASSERT
b .L2
.L12:
bl __stack_chk_fail
.L14:
.align 2
.L13:
.word .LC0
.word dctx
.size LLVMFuzzerTestOneInput, .-LLVMFuzzerTestOneInput
.comm dctx,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_dictionary_loader.c_LLVMFuzzerTestOneInput.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "Dict load method %d"
.LC1:
.string "Dict content type %d"
.LC2:
.string "Dict size %u"
.LC3:
.string "Raw must always succeed!"
.LC4:
.string "Incorrect regenerated size"
.LC5:
.string "Corruption!"
.text
.p2align 4
.globl LLVMFuzzerTestOneInput
.type LLVMFuzzerTestOneInput, @function
LLVMFuzzerTestOneInput:
.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
push r13
.cfi_def_cfa_offset 32
.cfi_offset 13, -32
push r12
.cfi_def_cfa_offset 40
.cfi_offset 12, -40
push rbp
.cfi_def_cfa_offset 48
.cfi_offset 6, -48
mov rbp, rdi
push rbx
.cfi_def_cfa_offset 56
.cfi_offset 3, -56
sub rsp, 24
.cfi_def_cfa_offset 80
call FUZZ_dataProducer_create@PLT
xor esi, esi
mov edx, 1
mov r13, rax
mov rdi, rax
call FUZZ_dataProducer_uint32Range@PLT
xor esi, esi
mov edx, 2
mov rdi, r13
mov r14, rax
call FUZZ_dataProducer_uint32Range@PLT
mov rdi, r13
mov rbx, rax
call FUZZ_dataProducer_remainingBytes@PLT
mov edx, r14d
lea rsi, .LC0[rip]
mov edi, 2
mov QWORD PTR [rsp], r14
mov r12, rax
call DEBUGLOG@PLT
mov edx, ebx
mov edi, 2
lea rsi, .LC1[rip]
call DEBUGLOG@PLT
mov edx, r12d
mov edi, 2
lea rsi, .LC2[rip]
call DEBUGLOG@PLT
mov rdi, r12
call malloc@PLT
mov rdi, rax
mov r14, rax
call FUZZ_ASSERT@PLT
mov rdi, r12
call ZSTD_compressBound@PLT
mov rdi, rax
mov QWORD PTR 8[rsp], rax
call malloc@PLT
mov rdi, rax
mov r15, rax
call FUZZ_ASSERT@PLT
push rbx
.cfi_def_cfa_offset 88
mov eax, DWORD PTR 8[rsp]
mov rcx, r12
mov r9, r12
mov r8, rbp
mov rdx, rbp
mov rdi, r15
push rax
.cfi_def_cfa_offset 96
mov rsi, QWORD PTR 24[rsp]
call compress@PLT
mov rdi, rax
mov QWORD PTR 24[rsp], rax
call ZSTD_isError@PLT
pop rcx
.cfi_def_cfa_offset 88
pop rsi
.cfi_def_cfa_offset 80
test rax, rax
mov rcx, QWORD PTR 8[rsp]
jne .L6
push rbx
.cfi_def_cfa_offset 88
mov eax, DWORD PTR 8[rsp]
mov r9, r12
mov r8, rbp
mov rdx, r15
mov rsi, r12
mov rdi, r14
push rax
.cfi_def_cfa_offset 96
call decompress@PLT
xor edi, edi
lea rsi, .LC4[rip]
cmp r12, rax
sete dil
call FUZZ_ASSERT_MSG@PLT
mov rdx, r12
mov rsi, r14
mov rdi, rbp
call memcmp@PLT
xor edi, edi
lea rsi, .LC5[rip]
test eax, eax
sete dil
call FUZZ_ASSERT_MSG@PLT
pop rax
.cfi_def_cfa_offset 88
pop rdx
.cfi_def_cfa_offset 80
.L3:
mov rdi, r15
call free@PLT
mov rdi, r14
call free@PLT
mov rdi, r13
call FUZZ_dataProducer_free@PLT
add rsp, 24
.cfi_remember_state
.cfi_def_cfa_offset 56
xor eax, eax
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
.p2align 4,,10
.p2align 3
.L6:
.cfi_restore_state
xor edi, edi
test rbx, rbx
lea rsi, .LC3[rip]
setne dil
call FUZZ_ASSERT_MSG@PLT
jmp .L3
.cfi_endproc
.LFE0:
.size LLVMFuzzerTestOneInput, .-LLVMFuzzerTestOneInput
.globl ZSTD_dct_rawContent
.section .rodata
.align 8
.type ZSTD_dct_rawContent, @object
.size ZSTD_dct_rawContent, 8
ZSTD_dct_rawContent:
.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_dictionary_loader.c_LLVMFuzzerTestOneInput.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "Dict load method %d\000"
.align 2
.LC1:
.ascii "Dict content type %d\000"
.align 2
.LC2:
.ascii "Dict size %u\000"
.align 2
.LC3:
.ascii "Raw must always succeed!\000"
.align 2
.LC4:
.ascii "Incorrect regenerated size\000"
.align 2
.LC5:
.ascii "Corruption!\000"
.text
.align 2
.global LLVMFuzzerTestOneInput
.syntax unified
.arm
.fpu softvfp
.type LLVMFuzzerTestOneInput, %function
LLVMFuzzerTestOneInput:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, r9, r10, fp, lr}
sub sp, sp, #20
mov r5, r0
bl FUZZ_dataProducer_create
mov r2, #1
mov r1, #0
mov r6, r0
bl FUZZ_dataProducer_uint32Range
mov r2, #2
mov r9, r0
mov r1, #0
mov r0, r6
bl FUZZ_dataProducer_uint32Range
mov r7, r0
mov r0, r6
bl FUZZ_dataProducer_remainingBytes
mov r4, r0
mov r2, r9
ldr r1, .L7
mov r0, #2
bl DEBUGLOG
mov r2, r7
ldr r1, .L7+4
mov r0, #2
bl DEBUGLOG
mov r2, r4
ldr r1, .L7+8
mov r0, #2
bl DEBUGLOG
mov r0, r4
bl malloc
mov r10, r0
bl FUZZ_ASSERT
mov r0, r4
bl ZSTD_compressBound
mov fp, r0
bl malloc
mov r8, r0
bl FUZZ_ASSERT
mov r1, fp
mov r3, r4
mov r2, r5
mov r0, r8
stmib sp, {r4, r9}
str r7, [sp, #12]
str r5, [sp]
bl compress
mov fp, r0
bl ZSTD_isError
cmp r0, #0
bne .L6
mov r3, fp
mov r2, r8
mov r1, r4
mov r0, r10
stmib sp, {r4, r9}
str r7, [sp, #12]
str r5, [sp]
bl decompress
sub r0, r4, r0
clz r0, r0
ldr r1, .L7+12
lsr r0, r0, #5
bl FUZZ_ASSERT_MSG
mov r1, r10
mov r2, r4
mov r0, r5
bl memcmp
clz r0, r0
ldr r1, .L7+16
lsr r0, r0, #5
bl FUZZ_ASSERT_MSG
.L3:
mov r0, r8
bl free
mov r0, r10
bl free
mov r0, r6
bl FUZZ_dataProducer_free
mov r0, #0
add sp, sp, #20
@ sp needed
pop {r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L6:
ldr r3, .L7+20
ldr r1, .L7+24
ldr r0, [r3]
subs r0, r7, r0
movne r0, #1
bl FUZZ_ASSERT_MSG
b .L3
.L8:
.align 2
.L7:
.word .LC0
.word .LC1
.word .LC2
.word .LC4
.word .LC5
.word ZSTD_dct_rawContent
.word .LC3
.size LLVMFuzzerTestOneInput, .-LLVMFuzzerTestOneInput
.comm ZSTD_dct_rawContent,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_dictionary_loader.c_compress.c"
.intel_syntax noprefix
.text
.p2align 4
.type compress, @function
compress:
.LFB0:
.cfi_startproc
endbr64
push r15
.cfi_def_cfa_offset 16
.cfi_offset 15, -16
xor eax, eax
mov r15, r8
push r14
.cfi_def_cfa_offset 24
.cfi_offset 14, -24
mov r14, rdx
push r13
.cfi_def_cfa_offset 32
.cfi_offset 13, -32
mov r13, rsi
push r12
.cfi_def_cfa_offset 40
.cfi_offset 12, -40
mov r12, rdi
push rbp
.cfi_def_cfa_offset 48
.cfi_offset 6, -48
push rbx
.cfi_def_cfa_offset 56
.cfi_offset 3, -56
mov rbx, rcx
sub rsp, 24
.cfi_def_cfa_offset 80
mov QWORD PTR 8[rsp], r9
call ZSTD_createCCtx@PLT
mov r8d, DWORD PTR 88[rsp]
mov ecx, DWORD PTR 80[rsp]
mov rsi, r15
mov rdx, QWORD PTR 8[rsp]
mov rdi, rax
mov rbp, rax
call ZSTD_CCtx_loadDictionary_advanced@PLT
mov edi, eax
call FUZZ_ZASSERT@PLT
mov r8, rbx
mov rcx, r14
mov rdx, r13
mov rsi, r12
mov rdi, rbp
call ZSTD_compress2@PLT
mov rdi, rbp
mov r12, rax
call ZSTD_freeCCtx@PLT
add rsp, 24
.cfi_def_cfa_offset 56
mov rax, 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
ret
.cfi_endproc
.LFE0:
.size compress, .-compress
.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_dictionary_loader.c_compress.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type compress, %function
compress:
@ args = 16, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, r9, lr}
sub sp, sp, #12
mov r6, r1
mov r7, r2
mov r8, r3
mov r5, r0
ldr r9, [sp, #52]
bl ZSTD_createCCtx
mov r4, r0
str r9, [sp]
add r1, sp, #40
ldm r1, {r1, r2, r3}
bl ZSTD_CCtx_loadDictionary_advanced
bl FUZZ_ZASSERT
mov r3, r7
mov r2, r6
mov r1, r5
mov r0, r4
str r8, [sp]
bl ZSTD_compress2
mov r3, r0
mov r0, r4
mov r4, r3
bl ZSTD_freeCCtx
mov r0, r4
add sp, sp, #12
@ sp needed
pop {r4, r5, r6, r7, r8, r9, pc}
.size compress, .-compress
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_dictionary_loader.c_decompress.c"
.intel_syntax noprefix
.text
.p2align 4
.type decompress, @function
decompress:
.LFB0:
.cfi_startproc
endbr64
push r15
.cfi_def_cfa_offset 16
.cfi_offset 15, -16
xor eax, eax
mov r15, r8
push r14
.cfi_def_cfa_offset 24
.cfi_offset 14, -24
mov r14, rdx
push r13
.cfi_def_cfa_offset 32
.cfi_offset 13, -32
mov r13, rsi
push r12
.cfi_def_cfa_offset 40
.cfi_offset 12, -40
mov r12, rdi
push rbp
.cfi_def_cfa_offset 48
.cfi_offset 6, -48
push rbx
.cfi_def_cfa_offset 56
.cfi_offset 3, -56
mov rbx, rcx
sub rsp, 24
.cfi_def_cfa_offset 80
mov QWORD PTR 8[rsp], r9
call ZSTD_createDCtx@PLT
mov r8d, DWORD PTR 88[rsp]
mov ecx, DWORD PTR 80[rsp]
mov rsi, r15
mov rdx, QWORD PTR 8[rsp]
mov rdi, rax
mov rbp, rax
call ZSTD_DCtx_loadDictionary_advanced@PLT
mov rdi, rax
call FUZZ_ZASSERT@PLT
mov r8, rbx
mov rcx, r14
mov rdx, r13
mov rsi, r12
mov rdi, rbp
call ZSTD_decompressDCtx@PLT
mov rdi, rax
mov r12, rax
call FUZZ_ZASSERT@PLT
mov rdi, rbp
call ZSTD_freeDCtx@PLT
add rsp, 24
.cfi_def_cfa_offset 56
mov rax, 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
ret
.cfi_endproc
.LFE0:
.size decompress, .-decompress
.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_dictionary_loader.c_decompress.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type decompress, %function
decompress:
@ args = 16, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, r9, lr}
sub sp, sp, #12
mov r6, r1
mov r7, r2
mov r8, r3
mov r5, r0
ldr r9, [sp, #52]
bl ZSTD_createDCtx
mov r4, r0
str r9, [sp]
add r1, sp, #40
ldm r1, {r1, r2, r3}
bl ZSTD_DCtx_loadDictionary_advanced
bl FUZZ_ZASSERT
mov r1, r5
mov r3, r7
mov r2, r6
mov r0, r4
str r8, [sp]
bl ZSTD_decompressDCtx
mov r5, r0
bl FUZZ_ZASSERT
mov r0, r4
bl ZSTD_freeDCtx
mov r0, r5
add sp, sp, #12
@ sp needed
pop {r4, r5, r6, r7, r8, r9, pc}
.size decompress, .-decompress
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_dictionary_round_trip.c_LLVMFuzzerTestOneInput.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "Incorrect regenerated size"
.LC1:
.string "Corruption!"
.text
.p2align 4
.globl LLVMFuzzerTestOneInput
.type LLVMFuzzerTestOneInput, @function
LLVMFuzzerTestOneInput:
.LFB0:
.cfi_startproc
endbr64
push r15
.cfi_def_cfa_offset 16
.cfi_offset 15, -16
mov r15, rdi
push r14
.cfi_def_cfa_offset 24
.cfi_offset 14, -24
push r13
.cfi_def_cfa_offset 32
.cfi_offset 13, -32
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
sub rsp, 8
.cfi_def_cfa_offset 64
call FUZZ_dataProducer_create@PLT
mov rdi, rax
mov rbp, rax
call FUZZ_dataProducer_reserveDataPrefix@PLT
mov r12, rax
mov rdi, rax
call malloc@PLT
mov rdi, r12
mov r14, rax
call ZSTD_compressBound@PLT
xor esi, esi
mov edx, 1
mov rdi, rbp
mov r13, rax
call FUZZ_dataProducer_uint32Range@PLT
sub r13, rax
mov rdi, r13
call malloc@PLT
cmp QWORD PTR cctx[rip], 0
mov rbx, rax
je .L6
cmp QWORD PTR dctx[rip], 0
je .L7
.L3:
sub rsp, 8
.cfi_def_cfa_offset 72
mov r9, r12
mov r8, r15
mov rcx, r13
push rbp
.cfi_def_cfa_offset 80
mov rdx, rbx
mov rsi, r12
mov rdi, r14
call roundTripTest@PLT
mov r13, rax
mov rdi, rax
call FUZZ_ZASSERT@PLT
xor edi, edi
cmp r12, r13
lea rsi, .LC0[rip]
sete dil
call FUZZ_ASSERT_MSG@PLT
mov rdx, r12
mov rsi, r14
mov rdi, r15
call memcmp@PLT
xor edi, edi
lea rsi, .LC1[rip]
test eax, eax
sete dil
call FUZZ_ASSERT_MSG@PLT
mov rdi, r14
call free@PLT
mov rdi, rbx
call free@PLT
mov rdi, rbp
call FUZZ_dataProducer_free@PLT
mov rdi, QWORD PTR cctx[rip]
call ZSTD_freeCCtx@PLT
mov rdi, QWORD PTR dctx[rip]
mov QWORD PTR cctx[rip], 0
call ZSTD_freeDCtx@PLT
xor eax, eax
mov QWORD PTR dctx[rip], 0
add rsp, 24
.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
.p2align 4,,10
.p2align 3
.L6:
.cfi_def_cfa_offset 64
xor eax, eax
call ZSTD_createCCtx@PLT
mov rdi, rax
mov QWORD PTR cctx[rip], rax
call FUZZ_ASSERT@PLT
cmp QWORD PTR dctx[rip], 0
jne .L3
.p2align 4,,10
.p2align 3
.L7:
xor eax, eax
call ZSTD_createDCtx@PLT
mov rdi, rax
mov QWORD PTR dctx[rip], rax
call FUZZ_ASSERT@PLT
jmp .L3
.cfi_endproc
.LFE0:
.size LLVMFuzzerTestOneInput, .-LLVMFuzzerTestOneInput
.globl dctx
.bss
.align 8
.type dctx, @object
.size dctx, 8
dctx:
.zero 8
.globl cctx
.align 8
.type cctx, @object
.size cctx, 8
cctx:
.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_dictionary_round_trip.c_LLVMFuzzerTestOneInput.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "Incorrect regenerated size\000"
.align 2
.LC1:
.ascii "Corruption!\000"
.text
.align 2
.global LLVMFuzzerTestOneInput
.syntax unified
.arm
.fpu softvfp
.type LLVMFuzzerTestOneInput, %function
LLVMFuzzerTestOneInput:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, r9, r10, fp, lr}
sub sp, sp, #20
mov r9, r0
bl FUZZ_dataProducer_create
mov r6, r0
bl FUZZ_dataProducer_reserveDataPrefix
mov r4, r0
bl malloc
mov r7, r0
mov r0, r4
bl ZSTD_compressBound
mov r2, #1
mov r5, r0
mov r1, #0
mov r0, r6
bl FUZZ_dataProducer_uint32Range
sub r5, r5, r0
mov r0, r5
bl malloc
ldr fp, .L8
mov r8, r0
ldr r3, [fp]
cmp r3, #0
beq .L6
ldr r10, .L8+4
ldr r3, [r10]
cmp r3, #0
beq .L7
.L3:
mov r3, r5
mov r2, r8
mov r1, r4
stmib sp, {r4, r6}
mov r0, r7
str r9, [sp]
bl roundTripTest
mov r5, r0
bl FUZZ_ZASSERT
sub r0, r4, r5
clz r0, r0
ldr r1, .L8+8
lsr r0, r0, #5
bl FUZZ_ASSERT_MSG
mov r2, r4
mov r1, r7
mov r0, r9
bl memcmp
clz r0, r0
mov r4, #0
ldr r1, .L8+12
lsr r0, r0, #5
bl FUZZ_ASSERT_MSG
mov r0, r7
bl free
mov r0, r8
bl free
mov r0, r6
bl FUZZ_dataProducer_free
ldr r0, [fp]
bl ZSTD_freeCCtx
ldr r0, [r10]
str r4, [fp]
bl ZSTD_freeDCtx
mov r0, r4
str r4, [r10]
add sp, sp, #20
@ sp needed
pop {r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L6:
bl ZSTD_createCCtx
ldr r10, .L8+4
str r0, [fp]
bl FUZZ_ASSERT
ldr r3, [r10]
cmp r3, #0
bne .L3
.L7:
bl ZSTD_createDCtx
str r0, [r10]
bl FUZZ_ASSERT
b .L3
.L9:
.align 2
.L8:
.word cctx
.word dctx
.word .LC0
.word .LC1
.size LLVMFuzzerTestOneInput, .-LLVMFuzzerTestOneInput
.comm dctx,4,4
.comm cctx,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_dictionary_round_trip.c_roundTripTest.c"
.intel_syntax noprefix
.text
.p2align 4
.type roundTripTest, @function
roundTripTest:
.LFB0:
.cfi_startproc
endbr64
push r15
.cfi_def_cfa_offset 16
.cfi_offset 15, -16
mov r15, r9
push r14
.cfi_def_cfa_offset 24
.cfi_offset 14, -24
mov r14, r8
push r13
.cfi_def_cfa_offset 32
.cfi_offset 13, -32
push r12
.cfi_def_cfa_offset 40
.cfi_offset 12, -40
mov r12, rdx
push rbp
.cfi_def_cfa_offset 48
.cfi_offset 6, -48
push rbx
.cfi_def_cfa_offset 56
.cfi_offset 3, -56
sub rsp, 40
.cfi_def_cfa_offset 96
mov r13, QWORD PTR ZSTD_dct_auto[rip]
mov rbp, QWORD PTR 96[rsp]
mov QWORD PTR 8[rsp], rdi
mov rdi, r8
mov QWORD PTR 16[rsp], rsi
mov rsi, r9
mov rdx, rbp
mov QWORD PTR 24[rsp], rcx
call FUZZ_train@PLT
xor esi, esi
mov edx, 15
mov rdi, rbp
mov rbx, rax
sar rax, 32
mov QWORD PTR [rsp], rax
call FUZZ_dataProducer_uint32Range@PLT
test rax, rax
jne .L2
mov edx, DWORD PTR kMaxClevel[rip]
mov esi, DWORD PTR kMinClevel[rip]
mov rdi, rbp
call FUZZ_dataProducer_int32Range@PLT
mov rcx, r14
mov r9d, ebx
mov r8, r15
push rax
.cfi_def_cfa_offset 104
mov eax, DWORD PTR 8[rsp]
mov rsi, r12
mov edi, DWORD PTR cctx[rip]
push rax
.cfi_def_cfa_offset 112
mov rdx, QWORD PTR 40[rsp]
call ZSTD_compress_usingDict@PLT
mov r14, rax
pop rax
.cfi_def_cfa_offset 104
pop rdx
.cfi_def_cfa_offset 96
.L3:
mov rdi, r14
call FUZZ_ZASSERT@PLT
mov rdi, rbp
mov edx, 1
xor esi, esi
call FUZZ_dataProducer_uint32Range@PLT
mov edx, DWORD PTR [rsp]
mov edi, DWORD PTR dctx[rip]
mov esi, ebx
mov r8, r13
mov rcx, rax
call ZSTD_DCtx_loadDictionary_advanced@PLT
mov rdi, rax
call FUZZ_ZASSERT@PLT
mov rdx, QWORD PTR 16[rsp]
mov r8, r14
mov rcx, r12
mov rsi, QWORD PTR 8[rsp]
mov edi, DWORD PTR dctx[rip]
call ZSTD_decompressDCtx@PLT
mov edi, ebx
mov r12, rax
call free@PLT
add rsp, 40
.cfi_remember_state
.cfi_def_cfa_offset 56
mov rax, 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
ret
.p2align 4,,10
.p2align 3
.L2:
.cfi_restore_state
mov edx, 2
xor esi, esi
mov rdi, rbp
call FUZZ_dataProducer_uint32Range@PLT
mov edi, DWORD PTR cctx[rip]
mov rdx, rbp
mov rsi, r15
mov r13, rax
call FUZZ_setRandomParameters@PLT
mov esi, DWORD PTR ZSTD_c_checksumFlag[rip]
mov edi, DWORD PTR cctx[rip]
xor edx, edx
call ZSTD_CCtx_setParameter@PLT
mov rdi, rax
call FUZZ_ZASSERT@PLT
mov edx, 1
xor esi, esi
mov rdi, rbp
call FUZZ_dataProducer_uint32Range@PLT
mov edx, DWORD PTR [rsp]
mov edi, DWORD PTR cctx[rip]
mov esi, ebx
mov rcx, rax
mov r8, r13
call ZSTD_CCtx_loadDictionary_advanced@PLT
mov rdi, rax
call FUZZ_ZASSERT@PLT
mov rdx, QWORD PTR 24[rsp]
mov rcx, r14
mov r8, r15
mov edi, DWORD PTR cctx[rip]
mov rsi, r12
call ZSTD_compress2@PLT
mov r14, rax
jmp .L3
.cfi_endproc
.LFE0:
.size roundTripTest, .-roundTripTest
.globl kMinClevel
.bss
.align 4
.type kMinClevel, @object
.size kMinClevel, 4
kMinClevel:
.zero 4
.globl kMaxClevel
.align 4
.type kMaxClevel, @object
.size kMaxClevel, 4
kMaxClevel:
.zero 4
.globl dctx
.align 4
.type dctx, @object
.size dctx, 4
dctx:
.zero 4
.globl cctx
.align 4
.type cctx, @object
.size cctx, 4
cctx:
.zero 4
.globl ZSTD_dct_auto
.align 8
.type ZSTD_dct_auto, @object
.size ZSTD_dct_auto, 8
ZSTD_dct_auto:
.zero 8
.globl ZSTD_c_checksumFlag
.align 4
.type ZSTD_c_checksumFlag, @object
.size ZSTD_c_checksumFlag, 4
ZSTD_c_checksumFlag:
.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_dictionary_round_trip.c_roundTripTest.c"
.text
.section .rodata.cst4,"aM",%progbits,4
.align 2
.LC0:
.word __stack_chk_guard
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type roundTripTest, %function
roundTripTest:
@ args = 12, pretend = 0, frame = 24
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, r9, r10, fp, lr}
ldr ip, .L8
sub sp, sp, #44
ldr r4, [sp, #88]
ldr fp, [sp, #80]
ldr lr, .L8+4
ldr ip, [ip]
mov r7, r0
mov r8, r1
add r0, sp, #28
mov r1, fp
mov r5, r2
mov r9, r3
ldr r2, [sp, #84]
mov r3, r4
ldr lr, [lr]
str lr, [sp, #36]
mov lr,#0
str ip, [sp, #16]
bl FUZZ_train
mov r0, r4
mov r2, #15
mov r1, #0
ldr r6, [sp, #28]
ldr r10, [sp, #32]
bl FUZZ_dataProducer_uint32Range
cmp r0, #0
bne .L2
ldr r3, .L8+8
ldr r2, .L8+12
ldr r1, [r3]
ldr r2, [r2]
mov r0, r4
bl FUZZ_dataProducer_int32Range
ldr r3, [sp, #84]
stmib sp, {r6, r10}
ldr r1, .L8+16
str r3, [sp]
str r0, [sp, #12]
mov r2, r9
ldr r0, [r1]
mov r3, fp
mov r1, r5
bl ZSTD_compress_usingDict
mov r9, r0
.L3:
ldr fp, .L8+20
mov r0, r9
bl FUZZ_ZASSERT
mov r0, r4
mov r2, #1
mov r1, #0
ldr r4, [fp]
bl FUZZ_dataProducer_uint32Range
ldr r2, [sp, #16]
mov r3, r0
mov r1, r6
mov r0, r4
str r2, [sp]
mov r2, r10
bl ZSTD_DCtx_loadDictionary_advanced
bl FUZZ_ZASSERT
mov r3, r5
mov r2, r8
mov r1, r7
ldr r0, [fp]
str r9, [sp]
bl ZSTD_decompressDCtx
mov r4, r0
mov r0, r6
bl free
ldr r3, .L8+4
ldr r2, [r3]
ldr r3, [sp, #36]
eors r2, r3, r2
mov r3, #0
bne .L7
mov r0, r4
add sp, sp, #44
@ sp needed
pop {r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L2:
mov r2, #2
mov r1, #0
mov r0, r4
bl FUZZ_dataProducer_uint32Range
mov r3, r0
ldr r1, .L8+16
mov r2, r4
ldr r0, [r1]
ldr r1, [sp, #84]
str r3, [sp, #16]
bl FUZZ_setRandomParameters
ldr r3, .L8+24
ldr r1, .L8+16
mov r2, #0
ldr r0, [r1]
ldr r1, [r3]
bl ZSTD_CCtx_setParameter
bl FUZZ_ZASSERT
ldr ip, .L8+16
mov r2, #1
ldr r3, [ip]
mov r1, #0
mov r0, r4
str r3, [sp, #20]
bl FUZZ_dataProducer_uint32Range
mov r2, r0
ldr r3, [sp, #16]
mov r1, r6
str r3, [sp]
ldr r3, [sp, #20]
mov r0, r3
mov r3, r2
mov r2, r10
bl ZSTD_CCtx_loadDictionary_advanced
bl FUZZ_ZASSERT
ldr r3, [sp, #84]
ldr ip, .L8+16
mov r2, r9
ldr r0, [ip]
mov r1, r5
str r3, [sp]
mov r3, fp
bl ZSTD_compress2
mov r9, r0
b .L3
.L7:
bl __stack_chk_fail
.L9:
.align 2
.L8:
.word ZSTD_dct_auto
.word .LC0
.word kMinClevel
.word kMaxClevel
.word cctx
.word dctx
.word ZSTD_c_checksumFlag
.size roundTripTest, .-roundTripTest
.comm kMinClevel,4,4
.comm kMaxClevel,4,4
.comm dctx,4,4
.comm cctx,4,4
.comm ZSTD_dct_auto,4,4
.comm ZSTD_c_checksumFlag,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_fuzz_data_producer.c_FUZZ_dataProducer_contract.c"
.intel_syntax noprefix
.text
.p2align 4
.globl FUZZ_dataProducer_contract
.type FUZZ_dataProducer_contract, @function
FUZZ_dataProducer_contract:
.LFB0:
.cfi_startproc
endbr64
mov rax, QWORD PTR [rdi]
cmp rax, rsi
cmovbe rsi, rax
sub rax, rsi
mov QWORD PTR [rdi], rsi
add QWORD PTR 8[rdi], rax
ret
.cfi_endproc
.LFE0:
.size FUZZ_dataProducer_contract, .-FUZZ_dataProducer_contract
.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_fuzz_data_producer.c_FUZZ_dataProducer_contract.c"
.text
.align 2
.global FUZZ_dataProducer_contract
.syntax unified
.arm
.fpu softvfp
.type FUZZ_dataProducer_contract, %function
FUZZ_dataProducer_contract:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldm r0, {r3, ip}
cmp r3, r1
movcc r1, r3
mov r2, r0
sub r0, r3, r1
add ip, ip, r0
stm r2, {r1, ip}
bx lr
.size FUZZ_dataProducer_contract, .-FUZZ_dataProducer_contract
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_fuzz_data_producer.c_FUZZ_dataProducer_create.c"
.intel_syntax noprefix
.text
.p2align 4
.globl FUZZ_dataProducer_create
.type FUZZ_dataProducer_create, @function
FUZZ_dataProducer_create:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
push rbp
.cfi_def_cfa_offset 24
.cfi_offset 6, -24
mov rbp, rdi
mov edi, 16
push rbx
.cfi_def_cfa_offset 32
.cfi_offset 3, -32
mov rbx, rsi
call malloc@PLT
xor edi, edi
test rax, rax
mov r12, rax
setne dil
call FUZZ_ASSERT@PLT
mov QWORD PTR 8[r12], rbp
mov rax, r12
mov QWORD PTR [r12], rbx
pop rbx
.cfi_def_cfa_offset 24
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size FUZZ_dataProducer_create, .-FUZZ_dataProducer_create
.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_fuzz_data_producer.c_FUZZ_dataProducer_create.c"
.text
.align 2
.global FUZZ_dataProducer_create
.syntax unified
.arm
.fpu softvfp
.type FUZZ_dataProducer_create, %function
FUZZ_dataProducer_create:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r6, r0
mov r0, #8
mov r5, r1
bl malloc
mov r4, r0
subs r0, r0, #0
movne r0, #1
bl FUZZ_ASSERT
mov r0, r4
stm r4, {r5, r6}
pop {r4, r5, r6, pc}
.size FUZZ_dataProducer_create, .-FUZZ_dataProducer_create
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_fuzz_data_producer.c_FUZZ_dataProducer_free.c"
.intel_syntax noprefix
.text
.p2align 4
.globl FUZZ_dataProducer_free
.type FUZZ_dataProducer_free, @function
FUZZ_dataProducer_free:
.LFB0:
.cfi_startproc
endbr64
jmp free@PLT
.cfi_endproc
.LFE0:
.size FUZZ_dataProducer_free, .-FUZZ_dataProducer_free
.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_fuzz_data_producer.c_FUZZ_dataProducer_free.c"
.text
.align 2
.global FUZZ_dataProducer_free
.syntax unified
.arm
.fpu softvfp
.type FUZZ_dataProducer_free, %function
FUZZ_dataProducer_free:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
b free
.size FUZZ_dataProducer_free, .-FUZZ_dataProducer_free
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_fuzz_data_producer.c_FUZZ_dataProducer_int32Range.c"
.intel_syntax noprefix
.text
.p2align 4
.globl FUZZ_dataProducer_int32Range
.type FUZZ_dataProducer_int32Range, @function
FUZZ_dataProducer_int32Range:
.LFB0:
.cfi_startproc
endbr64
push r13
.cfi_def_cfa_offset 16
.cfi_offset 13, -16
mov r13, rdi
xor edi, edi
cmp rsi, rdx
push r12
.cfi_def_cfa_offset 24
.cfi_offset 12, -24
setle dil
mov r12, rdx
push rbp
.cfi_def_cfa_offset 32
.cfi_offset 6, -32
mov rbp, rsi
call FUZZ_ASSERT@PLT
mov rdx, r12
test rbp, rbp
js .L5
mov rsi, rbp
mov rdi, r13
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 24
pop r12
.cfi_def_cfa_offset 16
pop r13
.cfi_def_cfa_offset 8
jmp FUZZ_dataProducer_uint32Range@PLT
.p2align 4,,10
.p2align 3
.L5:
.cfi_restore_state
sub rdx, rbp
mov rdi, r13
xor esi, esi
call FUZZ_dataProducer_uint32Range@PLT
cdqe
add rax, rbp
pop rbp
.cfi_def_cfa_offset 24
pop r12
.cfi_def_cfa_offset 16
pop r13
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size FUZZ_dataProducer_int32Range, .-FUZZ_dataProducer_int32Range
.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_fuzz_data_producer.c_FUZZ_dataProducer_int32Range.c"
.text
.align 2
.global FUZZ_dataProducer_int32Range
.syntax unified
.arm
.fpu softvfp
.type FUZZ_dataProducer_int32Range, %function
FUZZ_dataProducer_int32Range:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r4, r1
cmp r1, r2
mov r6, r0
movgt r0, #0
movle r0, #1
mov r5, r2
bl FUZZ_ASSERT
cmp r4, #0
blt .L7
mov r2, r5
mov r1, r4
mov r0, r6
pop {r4, r5, r6, lr}
b FUZZ_dataProducer_uint32Range
.L7:
mov r0, r6
mov r1, #0
sub r2, r5, r4
bl FUZZ_dataProducer_uint32Range
add r0, r0, r4
pop {r4, r5, r6, pc}
.size FUZZ_dataProducer_int32Range, .-FUZZ_dataProducer_int32Range
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_fuzz_data_producer.c_FUZZ_dataProducer_remainingBytes.c"
.intel_syntax noprefix
.text
.p2align 4
.globl FUZZ_dataProducer_remainingBytes
.type FUZZ_dataProducer_remainingBytes, @function
FUZZ_dataProducer_remainingBytes:
.LFB0:
.cfi_startproc
endbr64
mov rax, QWORD PTR [rdi]
ret
.cfi_endproc
.LFE0:
.size FUZZ_dataProducer_remainingBytes, .-FUZZ_dataProducer_remainingBytes
.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_fuzz_data_producer.c_FUZZ_dataProducer_remainingBytes.c"
.text
.align 2
.global FUZZ_dataProducer_remainingBytes
.syntax unified
.arm
.fpu softvfp
.type FUZZ_dataProducer_remainingBytes, %function
FUZZ_dataProducer_remainingBytes:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr r0, [r0]
bx lr
.size FUZZ_dataProducer_remainingBytes, .-FUZZ_dataProducer_remainingBytes
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_fuzz_data_producer.c_FUZZ_dataProducer_reserveDataPrefix.c"
.intel_syntax noprefix
.text
.p2align 4
.globl FUZZ_dataProducer_reserveDataPrefix
.type FUZZ_dataProducer_reserveDataPrefix, @function
FUZZ_dataProducer_reserveDataPrefix:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov edx, DWORD PTR [rdi]
xor esi, esi
mov rbp, rdi
call FUZZ_dataProducer_uint32Range@PLT
mov rdi, rbp
pop rbp
.cfi_def_cfa_offset 8
mov rsi, rax
jmp FUZZ_dataProducer_contract@PLT
.cfi_endproc
.LFE0:
.size FUZZ_dataProducer_reserveDataPrefix, .-FUZZ_dataProducer_reserveDataPrefix
.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_fuzz_data_producer.c_FUZZ_dataProducer_reserveDataPrefix.c"
.text
.align 2
.global FUZZ_dataProducer_reserveDataPrefix
.syntax unified
.arm
.fpu softvfp
.type FUZZ_dataProducer_reserveDataPrefix, %function
FUZZ_dataProducer_reserveDataPrefix:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
mov r1, #0
ldr r2, [r0]
mov r4, r0
bl FUZZ_dataProducer_uint32Range
mov r1, r0
mov r0, r4
pop {r4, lr}
b FUZZ_dataProducer_contract
.size FUZZ_dataProducer_reserveDataPrefix, .-FUZZ_dataProducer_reserveDataPrefix
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_fuzz_data_producer.c_FUZZ_dataProducer_uint32.c"
.intel_syntax noprefix
.text
.p2align 4
.globl FUZZ_dataProducer_uint32
.type FUZZ_dataProducer_uint32, @function
FUZZ_dataProducer_uint32:
.LFB0:
.cfi_startproc
endbr64
mov edx, -1
xor esi, esi
jmp FUZZ_dataProducer_uint32Range@PLT
.cfi_endproc
.LFE0:
.size FUZZ_dataProducer_uint32, .-FUZZ_dataProducer_uint32
.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_fuzz_data_producer.c_FUZZ_dataProducer_uint32.c"
.text
.align 2
.global FUZZ_dataProducer_uint32
.syntax unified
.arm
.fpu softvfp
.type FUZZ_dataProducer_uint32, %function
FUZZ_dataProducer_uint32:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
mvn r2, #0
mov r1, #0
b FUZZ_dataProducer_uint32Range
.size FUZZ_dataProducer_uint32, .-FUZZ_dataProducer_uint32
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_fuzz_data_producer.c_FUZZ_dataProducer_uint32Range.c"
.intel_syntax noprefix
.text
.p2align 4
.globl FUZZ_dataProducer_uint32Range
.type FUZZ_dataProducer_uint32Range, @function
FUZZ_dataProducer_uint32Range:
.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, rdx
push rbx
.cfi_def_cfa_offset 32
.cfi_offset 3, -32
mov rbx, rdi
xor edi, edi
cmp rsi, rdx
setle dil
call FUZZ_ASSERT@PLT
mov r8, rbp
sub r8, r12
test r8, r8
jle .L7
mov rdx, QWORD PTR [rbx]
mov rcx, r8
xor eax, eax
lea rsi, -8[0+rdx*8]
jmp .L3
.p2align 4,,10
.p2align 3
.L5:
mov rdi, QWORD PTR 8[rbx]
sal rax, 8
sub rdx, 1
mov rdi, QWORD PTR [rdi+rsi]
sub rsi, 8
mov QWORD PTR [rbx], rdx
or rax, rdi
sar rcx, 8
je .L4
.L3:
test rdx, rdx
jg .L5
.L4:
mov edx, 4294967295
cmp r8, rdx
je .L1
.L2:
add r8, 1
cqo
idiv r8
lea rax, [rdx+r12]
.L1:
pop rbx
.cfi_remember_state
.cfi_def_cfa_offset 24
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.L7:
.cfi_restore_state
xor eax, eax
jmp .L2
.cfi_endproc
.LFE0:
.size FUZZ_dataProducer_uint32Range, .-FUZZ_dataProducer_uint32Range
.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_fuzz_data_producer.c_FUZZ_dataProducer_uint32Range.c"
.text
.global __aeabi_idivmod
.align 2
.global FUZZ_dataProducer_uint32Range
.syntax unified
.arm
.fpu softvfp
.type FUZZ_dataProducer_uint32Range, %function
FUZZ_dataProducer_uint32Range:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r5, r1
mov r6, r2
cmp r1, r2
mov r4, r0
sub r6, r6, r5
movgt r0, #0
movle r0, #1
bl FUZZ_ASSERT
cmp r6, #0
ble .L2
mov ip, r6
mov r0, #0
ldr r3, [r4]
b .L3
.L5:
ldr r2, [r4, #4]
asrs ip, ip, #8
add r2, r2, r3, lsl #2
ldr r2, [r2, #-4]
sub r3, r3, #1
orr r0, r2, r0, lsl #8
str r3, [r4]
beq .L7
.L3:
cmp r3, #0
bgt .L5
.L7:
add r1, r6, #1
bl __aeabi_idivmod
add r0, r1, r5
pop {r4, r5, r6, pc}
.L2:
cmn r6, #1
mov r0, #0
popeq {r4, r5, r6, pc}
b .L7
.size FUZZ_dataProducer_uint32Range, .-FUZZ_dataProducer_uint32Range
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_regression_driver.c_main.c"
.intel_syntax noprefix
.text
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC0:
.string "WARNING: No files passed to %s\n"
.section .rodata.str1.1,"aMS",@progbits,1
.LC1:
.string "Running %s"
.LC2:
.string "rb"
.section .text.startup,"ax",@progbits
.p2align 4
.globl main
.type main, @function
main:
.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
push r13
.cfi_def_cfa_offset 32
.cfi_offset 13, -32
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
sub rsp, 24
.cfi_def_cfa_offset 80
cmp edi, 1
je .L13
lea eax, -2[rdi]
lea rbx, 8[rsi]
xor r13d, r13d
mov QWORD PTR 8[rsp], 0
lea rax, 16[rsi+rax*8]
lea r14, .LC1[rip]
mov QWORD PTR [rsp], rax
jmp .L6
.p2align 4,,10
.p2align 3
.L5:
lea rsi, .LC2[rip]
mov rdi, rbp
call fopen@PLT
mov rsi, rbp
mov r15, rax
mov edi, eax
call FUZZ_ASSERT_MSG@PLT
mov rcx, r15
mov rdx, r12
mov esi, 1
mov rdi, r13
call fread@PLT
xor edi, edi
mov rsi, rbp
cmp r12, rax
sete dil
call FUZZ_ASSERT_MSG@PLT
mov rdi, r15
call fclose@PLT
mov rsi, r12
mov rdi, r13
call LLVMFuzzerTestOneInput@PLT
.L4:
add rbx, 8
cmp rbx, QWORD PTR [rsp]
je .L3
.L6:
mov rbp, QWORD PTR [rbx]
mov rsi, r14
mov edi, 3
mov rdx, rbp
call DEBUGLOG@PLT
mov rdi, rbp
call UTIL_getFileSize@PLT
mov rdi, rbp
mov r12, rax
call UTIL_isRegularFile@PLT
test eax, eax
je .L4
xor edi, edi
cmp r12, 134217728
mov rsi, rbp
setbe dil
call FUZZ_ASSERT_MSG@PLT
cmp QWORD PTR 8[rsp], r12
jnb .L5
mov rdi, r13
call free@PLT
mov rdi, r12
call malloc@PLT
mov rsi, rbp
mov edi, eax
mov r13, rax
call FUZZ_ASSERT_MSG@PLT
mov QWORD PTR 8[rsp], r12
jmp .L5
.L13:
mov rdx, QWORD PTR [rsi]
mov edi, DWORD PTR stderr[rip]
lea rsi, .LC0[rip]
xor r13d, r13d
call fprintf@PLT
.L3:
mov rdi, r13
call free@PLT
add rsp, 24
.cfi_def_cfa_offset 56
xor eax, eax
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 main, .-main
.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_regression_driver.c_main.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "WARNING: No files passed to %s\012\000"
.align 2
.LC1:
.ascii "Running %s\000"
.align 2
.LC2:
.ascii "rb\000"
.section .text.startup,"ax",%progbits
.align 2
.global main
.syntax unified
.arm
.fpu softvfp
.type main, %function
main:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, r9, r10, fp, lr}
cmp r0, #1
sub sp, sp, #12
beq .L13
mov r7, #0
add r0, r1, r0, lsl #2
mov r6, r1
ldr r9, .L14
ldr fp, .L14+4
str r7, [sp, #4]
sub r8, r0, #4
b .L6
.L5:
mov r1, fp
mov r0, r4
bl fopen
mov r10, r0
mov r1, r4
bl FUZZ_ASSERT_MSG
mov r3, r10
mov r2, r5
mov r1, #1
mov r0, r7
bl fread
sub r0, r5, r0
clz r0, r0
mov r1, r4
lsr r0, r0, #5
bl FUZZ_ASSERT_MSG
mov r0, r10
bl fclose
mov r1, r5
mov r0, r7
bl LLVMFuzzerTestOneInput
.L4:
cmp r6, r8
beq .L3
.L6:
ldr r4, [r6, #4]!
mov r1, r9
mov r2, r4
mov r0, #3
bl DEBUGLOG
mov r0, r4
bl UTIL_getFileSize
mov r5, r0
mov r0, r4
bl UTIL_isRegularFile
cmp r0, #0
beq .L4
cmp r5, #134217728
movhi r0, #0
movls r0, #1
mov r1, r4
bl FUZZ_ASSERT_MSG
ldr r3, [sp, #4]
cmp r3, r5
bcs .L5
mov r0, r7
bl free
mov r0, r5
bl malloc
mov r1, r4
mov r7, r0
bl FUZZ_ASSERT_MSG
str r5, [sp, #4]
b .L5
.L13:
ldr r3, .L14+8
ldr r2, [r1]
ldr r0, [r3]
ldr r1, .L14+12
bl fprintf
mov r7, #0
.L3:
mov r0, r7
bl free
mov r0, #0
add sp, sp, #12
@ sp needed
pop {r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L15:
.align 2
.L14:
.word .LC1
.word .LC2
.word stderr
.word .LC0
.size main, .-main
.comm stderr,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_simple_compress.c_LLVMFuzzerTestOneInput.c"
.intel_syntax noprefix
.text
.p2align 4
.globl LLVMFuzzerTestOneInput
.type LLVMFuzzerTestOneInput, @function
LLVMFuzzerTestOneInput:
.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
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
sub rsp, 8
.cfi_def_cfa_offset 64
call FUZZ_dataProducer_create@PLT
mov rdi, rax
mov rbp, rax
call FUZZ_dataProducer_reserveDataPrefix@PLT
mov rdi, rax
mov rbx, rax
call ZSTD_compressBound@PLT
xor esi, esi
mov rdi, rbp
mov rdx, rax
call FUZZ_dataProducer_uint32Range@PLT
mov edx, DWORD PTR kMaxClevel[rip]
mov esi, DWORD PTR kMinClevel[rip]
mov rdi, rbp
mov r13, rax
call FUZZ_dataProducer_int32Range@PLT
cmp QWORD PTR cctx[rip], 0
mov r15d, eax
je .L5
.L2:
mov rdi, r13
call malloc@PLT
mov rdi, rax
mov r12, rax
call FUZZ_ASSERT@PLT
mov r9d, r15d
mov r8, rbx
mov rcx, r14
mov rdi, QWORD PTR cctx[rip]
mov rdx, r13
mov rsi, r12
call ZSTD_compressCCtx@PLT
mov rdi, r12
call free@PLT
mov rdi, rbp
call FUZZ_dataProducer_free@PLT
mov rdi, QWORD PTR cctx[rip]
call ZSTD_freeCCtx@PLT
xor eax, eax
mov QWORD PTR cctx[rip], 0
add rsp, 8
.cfi_remember_state
.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
.p2align 4,,10
.p2align 3
.L5:
.cfi_restore_state
xor eax, eax
call ZSTD_createCCtx@PLT
mov rdi, rax
mov QWORD PTR cctx[rip], rax
call FUZZ_ASSERT@PLT
jmp .L2
.cfi_endproc
.LFE0:
.size LLVMFuzzerTestOneInput, .-LLVMFuzzerTestOneInput
.globl kMinClevel
.bss
.align 4
.type kMinClevel, @object
.size kMinClevel, 4
kMinClevel:
.zero 4
.globl kMaxClevel
.align 4
.type kMaxClevel, @object
.size kMaxClevel, 4
kMaxClevel:
.zero 4
.globl cctx
.align 8
.type cctx, @object
.size cctx, 8
cctx:
.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_simple_compress.c_LLVMFuzzerTestOneInput.c"
.text
.align 2
.global LLVMFuzzerTestOneInput
.syntax unified
.arm
.fpu softvfp
.type LLVMFuzzerTestOneInput, %function
LLVMFuzzerTestOneInput:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, r9, r10, lr}
sub sp, sp, #8
mov r8, r0
bl FUZZ_dataProducer_create
mov r4, r0
bl FUZZ_dataProducer_reserveDataPrefix
mov r9, r0
bl ZSTD_compressBound
mov r1, #0
mov r2, r0
mov r0, r4
bl FUZZ_dataProducer_uint32Range
ldr r3, .L6
ldr r2, .L6+4
ldr r1, [r3]
mov r7, r0
ldr r2, [r2]
mov r0, r4
bl FUZZ_dataProducer_int32Range
ldr r5, .L6+8
mov r10, r0
ldr r3, [r5]
cmp r3, #0
beq .L5
.L2:
mov r0, r7
bl malloc
mov r6, r0
bl FUZZ_ASSERT
mov r3, r8
mov r2, r7
mov r1, r6
stm sp, {r9, r10}
ldr r0, [r5]
bl ZSTD_compressCCtx
mov r0, r6
bl free
mov r0, r4
bl FUZZ_dataProducer_free
ldr r0, [r5]
bl ZSTD_freeCCtx
mov r0, #0
str r0, [r5]
add sp, sp, #8
@ sp needed
pop {r4, r5, r6, r7, r8, r9, r10, pc}
.L5:
bl ZSTD_createCCtx
str r0, [r5]
bl FUZZ_ASSERT
b .L2
.L7:
.align 2
.L6:
.word kMinClevel
.word kMaxClevel
.word cctx
.size LLVMFuzzerTestOneInput, .-LLVMFuzzerTestOneInput
.comm kMinClevel,4,4
.comm kMaxClevel,4,4
.comm cctx,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_simple_decompress.c_LLVMFuzzerTestOneInput.c"
.intel_syntax noprefix
.text
.p2align 4
.globl LLVMFuzzerTestOneInput
.type LLVMFuzzerTestOneInput, @function
LLVMFuzzerTestOneInput:
.LFB0:
.cfi_startproc
endbr64
push r14
.cfi_def_cfa_offset 16
.cfi_offset 14, -16
mov r14, rdi
push r13
.cfi_def_cfa_offset 24
.cfi_offset 13, -24
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 FUZZ_dataProducer_create@PLT
mov rdi, rax
mov rbp, rax
call FUZZ_dataProducer_reserveDataPrefix@PLT
cmp QWORD PTR dctx[rip], 0
mov rbx, rax
je .L5
.L2:
lea edx, [rbx+rbx*4]
xor esi, esi
mov rdi, rbp
add edx, edx
call FUZZ_dataProducer_uint32Range@PLT
mov rdi, rax
mov r13, rax
call malloc@PLT
mov rdi, rax
mov r12, rax
call FUZZ_ASSERT@PLT
mov r8, rbx
mov rcx, r14
mov rdx, r13
mov rdi, QWORD PTR dctx[rip]
mov rsi, r12
call ZSTD_decompressDCtx@PLT
mov rdi, r12
call free@PLT
mov rdi, rbp
call FUZZ_dataProducer_free@PLT
mov rdi, QWORD PTR dctx[rip]
call ZSTD_freeDCtx@PLT
pop rbx
.cfi_remember_state
.cfi_def_cfa_offset 40
xor eax, eax
pop rbp
.cfi_def_cfa_offset 32
mov QWORD PTR dctx[rip], 0
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
.L5:
.cfi_restore_state
xor eax, eax
call ZSTD_createDCtx@PLT
mov rdi, rax
mov QWORD PTR dctx[rip], rax
call FUZZ_ASSERT@PLT
jmp .L2
.cfi_endproc
.LFE0:
.size LLVMFuzzerTestOneInput, .-LLVMFuzzerTestOneInput
.globl dctx
.bss
.align 8
.type dctx, @object
.size dctx, 8
dctx:
.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_simple_decompress.c_LLVMFuzzerTestOneInput.c"
.text
.align 2
.global LLVMFuzzerTestOneInput
.syntax unified
.arm
.fpu softvfp
.type LLVMFuzzerTestOneInput, %function
LLVMFuzzerTestOneInput:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, r9, lr}
sub sp, sp, #12
mov r8, r0
bl FUZZ_dataProducer_create
mov r6, r0
bl FUZZ_dataProducer_reserveDataPrefix
ldr r5, .L6
mov r4, r0
ldr r3, [r5]
cmp r3, #0
beq .L5
.L2:
add r2, r4, r4, lsl #2
mov r1, #0
lsl r2, r2, #1
mov r0, r6
bl FUZZ_dataProducer_uint32Range
mov r9, r0
bl malloc
mov r7, r0
bl FUZZ_ASSERT
mov r2, r9
mov r3, r8
mov r1, r7
ldr r0, [r5]
str r4, [sp]
bl ZSTD_decompressDCtx
mov r0, r7
bl free
mov r0, r6
bl FUZZ_dataProducer_free
ldr r0, [r5]
bl ZSTD_freeDCtx
mov r0, #0
str r0, [r5]
add sp, sp, #12
@ sp needed
pop {r4, r5, r6, r7, r8, r9, pc}
.L5:
bl ZSTD_createDCtx
str r0, [r5]
bl FUZZ_ASSERT
b .L2
.L7:
.align 2
.L6:
.word dctx
.size LLVMFuzzerTestOneInput, .-LLVMFuzzerTestOneInput
.comm dctx,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_simple_round_trip.c_LLVMFuzzerTestOneInput.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "Incorrect regenerated size"
.LC1:
.string "Corruption!"
.text
.p2align 4
.globl LLVMFuzzerTestOneInput
.type LLVMFuzzerTestOneInput, @function
LLVMFuzzerTestOneInput:
.LFB0:
.cfi_startproc
endbr64
push r15
.cfi_def_cfa_offset 16
.cfi_offset 15, -16
mov r15, rdi
mov rdi, rsi
push r14
.cfi_def_cfa_offset 24
.cfi_offset 14, -24
push r13
.cfi_def_cfa_offset 32
.cfi_offset 13, -32
mov r13, rsi
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
sub rsp, 24
.cfi_def_cfa_offset 80
call malloc@PLT
mov rdi, r13
mov r12, rax
call ZSTD_compressBound@PLT
mov rsi, r13
mov rdi, r15
mov r14, rax
call FUZZ_dataProducer_create@PLT
mov rbp, rax
mov rdi, rax
call FUZZ_dataProducer_reserveDataPrefix@PLT
xor esi, esi
mov edx, 1
mov rdi, rbp
mov rbx, rax
call FUZZ_dataProducer_uint32Range@PLT
mov rcx, r14
sub rcx, rax
mov rdi, rcx
mov QWORD PTR 8[rsp], rcx
call malloc@PLT
test rax, rax
mov r14, rax
setne al
xor edi, edi
test r12, r12
setne dil
and edi, eax
call FUZZ_ASSERT@PLT
cmp QWORD PTR cctx[rip], 0
mov rcx, QWORD PTR 8[rsp]
je .L6
cmp QWORD PTR dctx[rip], 0
je .L7
.L3:
sub rsp, 8
.cfi_def_cfa_offset 88
mov r9, rbx
mov r8, r15
mov rdx, r14
push rbp
.cfi_def_cfa_offset 96
mov rsi, r13
mov rdi, r12
call roundTripTest@PLT
mov r13, rax
mov rdi, rax
call FUZZ_ZASSERT@PLT
xor edi, edi
cmp rbx, r13
lea rsi, .LC0[rip]
sete dil
call FUZZ_ASSERT_MSG@PLT
mov rdx, rbx
mov rsi, r12
mov rdi, r15
call memcmp@PLT
xor edi, edi
lea rsi, .LC1[rip]
test eax, eax
sete dil
call FUZZ_ASSERT_MSG@PLT
mov rdi, r12
call free@PLT
mov rdi, r14
call free@PLT
mov rdi, rbp
call FUZZ_dataProducer_free@PLT
mov rdi, QWORD PTR cctx[rip]
call ZSTD_freeCCtx@PLT
mov rdi, QWORD PTR dctx[rip]
mov QWORD PTR cctx[rip], 0
call ZSTD_freeDCtx@PLT
xor eax, eax
mov QWORD PTR dctx[rip], 0
add rsp, 40
.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
.p2align 4,,10
.p2align 3
.L6:
.cfi_def_cfa_offset 80
xor eax, eax
call ZSTD_createCCtx@PLT
mov rdi, rax
mov QWORD PTR cctx[rip], rax
call FUZZ_ASSERT@PLT
cmp QWORD PTR dctx[rip], 0
mov rcx, QWORD PTR 8[rsp]
jne .L3
.p2align 4,,10
.p2align 3
.L7:
xor eax, eax
mov QWORD PTR 8[rsp], rcx
call ZSTD_createDCtx@PLT
mov rdi, rax
mov QWORD PTR dctx[rip], rax
call FUZZ_ASSERT@PLT
mov rcx, QWORD PTR 8[rsp]
jmp .L3
.cfi_endproc
.LFE0:
.size LLVMFuzzerTestOneInput, .-LLVMFuzzerTestOneInput
.globl dctx
.bss
.align 8
.type dctx, @object
.size dctx, 8
dctx:
.zero 8
.globl cctx
.align 8
.type cctx, @object
.size cctx, 8
cctx:
.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_simple_round_trip.c_LLVMFuzzerTestOneInput.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "Incorrect regenerated size\000"
.align 2
.LC1:
.ascii "Corruption!\000"
.text
.align 2
.global LLVMFuzzerTestOneInput
.syntax unified
.arm
.fpu softvfp
.type LLVMFuzzerTestOneInput, %function
LLVMFuzzerTestOneInput:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, r9, r10, fp, lr}
mov r8, r0
sub sp, sp, #28
mov r0, r1
mov r5, r1
bl malloc
mov r4, r0
mov r0, r5
bl ZSTD_compressBound
mov r1, r5
mov r7, r0
mov r0, r8
bl FUZZ_dataProducer_create
mov r6, r0
bl FUZZ_dataProducer_reserveDataPrefix
mov r2, #1
mov r1, #0
mov r9, r0
mov r0, r6
bl FUZZ_dataProducer_uint32Range
sub r3, r7, r0
mov r0, r3
str r3, [sp, #20]
bl malloc
mov r7, r0
subs r0, r4, #0
movne r0, #1
ldr fp, .L8
cmp r7, #0
moveq r0, #0
bl FUZZ_ASSERT
ldr r2, [fp]
ldr r3, [sp, #20]
cmp r2, #0
beq .L6
ldr r10, .L8+4
ldr r2, [r10]
cmp r2, #0
beq .L7
.L3:
mov r2, r7
mov r1, r5
mov r0, r4
stm sp, {r8, r9}
str r6, [sp, #8]
bl roundTripTest
mov r5, r0
bl FUZZ_ZASSERT
sub r0, r9, r5
clz r0, r0
ldr r1, .L8+8
lsr r0, r0, #5
bl FUZZ_ASSERT_MSG
mov r2, r9
mov r1, r4
mov r0, r8
bl memcmp
clz r0, r0
mov r5, #0
ldr r1, .L8+12
lsr r0, r0, #5
bl FUZZ_ASSERT_MSG
mov r0, r4
bl free
mov r0, r7
bl free
mov r0, r6
bl FUZZ_dataProducer_free
ldr r0, [fp]
bl ZSTD_freeCCtx
ldr r0, [r10]
str r5, [fp]
bl ZSTD_freeDCtx
mov r0, r5
str r5, [r10]
add sp, sp, #28
@ sp needed
pop {r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L6:
bl ZSTD_createCCtx
ldr r10, .L8+4
str r0, [fp]
bl FUZZ_ASSERT
ldr r2, [r10]
ldr r3, [sp, #20]
cmp r2, #0
bne .L3
.L7:
str r3, [sp, #20]
bl ZSTD_createDCtx
str r0, [r10]
bl FUZZ_ASSERT
ldr r3, [sp, #20]
b .L3
.L9:
.align 2
.L8:
.word cctx
.word dctx
.word .LC0
.word .LC1
.size LLVMFuzzerTestOneInput, .-LLVMFuzzerTestOneInput
.comm dctx,4,4
.comm cctx,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_simple_round_trip.c_roundTripTest.c"
.intel_syntax noprefix
.text
.p2align 4
.type roundTripTest, @function
roundTripTest:
.LFB0:
.cfi_startproc
endbr64
push r15
.cfi_def_cfa_offset 16
.cfi_offset 15, -16
mov r15, r8
push r14
.cfi_def_cfa_offset 24
.cfi_offset 14, -24
mov r14, rcx
push r13
.cfi_def_cfa_offset 32
.cfi_offset 13, -32
mov r13, rsi
xor esi, esi
push r12
.cfi_def_cfa_offset 40
.cfi_offset 12, -40
mov r12, rdx
mov edx, 1
push rbp
.cfi_def_cfa_offset 48
.cfi_offset 6, -48
mov rbp, rdi
push rbx
.cfi_def_cfa_offset 56
.cfi_offset 3, -56
mov rbx, r9
sub rsp, 24
.cfi_def_cfa_offset 80
mov r8, QWORD PTR 80[rsp]
mov rdi, r8
mov QWORD PTR 8[rsp], r8
call FUZZ_dataProducer_uint32Range@PLT
mov r8, QWORD PTR 8[rsp]
test rax, rax
je .L2
mov edi, DWORD PTR cctx[rip]
mov rdx, r8
mov rsi, rbx
call FUZZ_setRandomParameters@PLT
mov r8, rbx
mov rcx, r15
mov rdx, r14
mov edi, DWORD PTR cctx[rip]
mov rsi, r12
call ZSTD_compress2@PLT
mov rbx, rax
.L3:
mov rdi, rbx
call FUZZ_ZASSERT@PLT
mov r8, rbx
mov rcx, r12
mov rdx, r13
mov edi, DWORD PTR dctx[rip]
add rsp, 24
.cfi_remember_state
.cfi_def_cfa_offset 56
mov rsi, rbp
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 ZSTD_decompressDCtx@PLT
.p2align 4,,10
.p2align 3
.L2:
.cfi_restore_state
mov edx, DWORD PTR kMaxClevel[rip]
mov esi, DWORD PTR kMinClevel[rip]
mov rdi, r8
call FUZZ_dataProducer_int32Range@PLT
mov r8, rbx
mov rcx, r15
mov rdx, r14
mov edi, DWORD PTR cctx[rip]
mov r9d, eax
mov rsi, r12
call ZSTD_compressCCtx@PLT
mov rbx, rax
jmp .L3
.cfi_endproc
.LFE0:
.size roundTripTest, .-roundTripTest
.globl kMinClevel
.bss
.align 4
.type kMinClevel, @object
.size kMinClevel, 4
kMinClevel:
.zero 4
.globl kMaxClevel
.align 4
.type kMaxClevel, @object
.size kMaxClevel, 4
kMaxClevel:
.zero 4
.globl dctx
.align 4
.type dctx, @object
.size dctx, 4
dctx:
.zero 4
.globl cctx
.align 4
.type cctx, @object
.size cctx, 4
cctx:
.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_simple_round_trip.c_roundTripTest.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type roundTripTest, %function
roundTripTest:
@ args = 12, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, r9, r10, fp, lr}
sub sp, sp, #12
ldr r8, [sp, #56]
mov r6, r0
mov r7, r1
mov r4, r2
mov r0, r8
mov r2, #1
mov r1, #0
mov r5, r3
ldr r10, [sp, #48]
ldr r9, [sp, #52]
bl FUZZ_dataProducer_uint32Range
cmp r0, #0
beq .L2
ldr fp, .L6
mov r2, r8
mov r1, r9
ldr r0, [fp]
bl FUZZ_setRandomParameters
mov r2, r5
mov r3, r10
mov r1, r4
ldr r0, [fp]
str r9, [sp]
bl ZSTD_compress2
mov r5, r0
.L3:
mov r0, r5
bl FUZZ_ZASSERT
mov r3, r4
mov r2, r7
mov r1, r6
ldr r0, .L6+4
str r5, [sp, #48]
ldr r0, [r0]
add sp, sp, #12
@ sp needed
pop {r4, r5, r6, r7, r8, r9, r10, fp, lr}
b ZSTD_decompressDCtx
.L2:
ldr r3, .L6+8
ldr r2, .L6+12
ldr r1, [r3]
ldr r2, [r2]
mov r0, r8
bl FUZZ_dataProducer_int32Range
ldr r1, .L6
str r0, [sp, #4]
str r9, [sp]
mov r2, r5
ldr r0, [r1]
mov r3, r10
mov r1, r4
bl ZSTD_compressCCtx
mov r5, r0
b .L3
.L7:
.align 2
.L6:
.word cctx
.word dctx
.word kMinClevel
.word kMaxClevel
.size roundTripTest, .-roundTripTest
.comm kMinClevel,4,4
.comm kMaxClevel,4,4
.comm dctx,4,4
.comm cctx,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_stream_decompress.c_LLVMFuzzerTestOneInput.c"
.intel_syntax noprefix
.text
.p2align 4
.globl LLVMFuzzerTestOneInput
.type LLVMFuzzerTestOneInput, @function
LLVMFuzzerTestOneInput:
.LFB0:
.cfi_startproc
endbr64
push r14
.cfi_def_cfa_offset 16
.cfi_offset 14, -16
push r13
.cfi_def_cfa_offset 24
.cfi_offset 13, -24
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
sub rsp, 64
.cfi_def_cfa_offset 112
mov QWORD PTR 8[rsp], rdi
mov QWORD PTR [rsp], rsi
mov rax, QWORD PTR fs:40
mov QWORD PTR 56[rsp], rax
xor eax, eax
call FUZZ_dataProducer_create@PLT
mov rdi, rax
mov rbp, rax
call FUZZ_dataProducer_reserveDataPrefix@PLT
cmp QWORD PTR buf[rip], 0
mov QWORD PTR [rsp], rax
je .L16
.L2:
mov rdi, QWORD PTR dstream[rip]
test rdi, rdi
je .L17
mov esi, DWORD PTR ZSTD_reset_session_only[rip]
call ZSTD_DCtx_reset@PLT
mov edi, eax
call FUZZ_ZASSERT@PLT
.L4:
cmp QWORD PTR [rsp], 0
je .L8
mov r14, rsp
lea r13, 8[rsp]
lea r12, 32[rsp]
.L10:
mov rdx, rbp
mov rsi, r14
mov rdi, r13
call makeInBuffer@PLT
mov QWORD PTR 32[rsp], rax
mov QWORD PTR 40[rsp], rdx
cmp rax, rdx
je .L6
lea rbx, 28[rsp]
jmp .L9
.p2align 4,,10
.p2align 3
.L18:
mov rax, QWORD PTR 40[rsp]
cmp QWORD PTR 32[rsp], rax
je .L6
.L9:
mov rdi, rbp
call makeOutBuffer@PLT
mov rdi, QWORD PTR dstream[rip]
mov rdx, r12
mov rsi, rbx
mov DWORD PTR 28[rsp], eax
call ZSTD_decompressStream@PLT
mov rdi, rax
call ZSTD_isError@PLT
test rax, rax
je .L18
.L8:
mov rdi, QWORD PTR dstream[rip]
call ZSTD_freeDStream@PLT
mov rdi, rbp
mov QWORD PTR dstream[rip], 0
call FUZZ_dataProducer_free@PLT
mov rax, QWORD PTR 56[rsp]
sub rax, QWORD PTR fs:40
jne .L19
add rsp, 64
.cfi_remember_state
.cfi_def_cfa_offset 48
xor eax, eax
pop rbx
.cfi_def_cfa_offset 40
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
.L6:
.cfi_restore_state
cmp QWORD PTR [rsp], 0
jne .L10
jmp .L8
.p2align 4,,10
.p2align 3
.L17:
xor eax, eax
call ZSTD_createDStream@PLT
mov rdi, rax
mov QWORD PTR dstream[rip], rax
call FUZZ_ASSERT@PLT
jmp .L4
.p2align 4,,10
.p2align 3
.L16:
mov edi, DWORD PTR kBufSize[rip]
call malloc@PLT
mov rdi, rax
mov QWORD PTR buf[rip], rax
call FUZZ_ASSERT@PLT
jmp .L2
.L19:
call __stack_chk_fail@PLT
.cfi_endproc
.LFE0:
.size LLVMFuzzerTestOneInput, .-LLVMFuzzerTestOneInput
.globl kBufSize
.bss
.align 4
.type kBufSize, @object
.size kBufSize, 4
kBufSize:
.zero 4
.globl dstream
.align 8
.type dstream, @object
.size dstream, 8
dstream:
.zero 8
.globl buf
.align 8
.type buf, @object
.size buf, 8
buf:
.zero 8
.globl ZSTD_reset_session_only
.align 4
.type ZSTD_reset_session_only, @object
.size ZSTD_reset_session_only, 4
ZSTD_reset_session_only:
.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_stream_decompress.c_LLVMFuzzerTestOneInput.c"
.text
.section .rodata.cst4,"aM",%progbits,4
.align 2
.LC0:
.word __stack_chk_guard
.text
.align 2
.global LLVMFuzzerTestOneInput
.syntax unified
.arm
.fpu softvfp
.type LLVMFuzzerTestOneInput, %function
LLVMFuzzerTestOneInput:
@ args = 0, pretend = 0, frame = 24
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
ldr r3, .L23
sub sp, sp, #24
str r1, [sp]
str r0, [sp, #4]
ldr r3, [r3]
str r3, [sp, #20]
mov r3,#0
bl FUZZ_dataProducer_create
mov r4, r0
bl FUZZ_dataProducer_reserveDataPrefix
ldr r5, .L23+4
str r0, [sp]
ldr r3, [r5]
cmp r3, #0
beq .L20
.L2:
ldr r5, .L23+8
ldr r0, [r5]
cmp r0, #0
beq .L21
ldr r3, .L23+12
ldr r1, [r3]
bl ZSTD_DCtx_reset
bl FUZZ_ZASSERT
.L4:
ldr r3, [sp]
cmp r3, #0
beq .L8
mov r3, r4
mov r2, sp
add r1, sp, #4
add r0, sp, #12
bl makeInBuffer
.L18:
ldr r2, [sp, #12]
ldr r3, [sp, #16]
cmp r2, r3
beq .L4
mov r0, r4
bl makeOutBuffer
mov r3, r0
add r2, sp, #12
add r1, sp, #8
ldr r0, [r5]
str r3, [sp, #8]
bl ZSTD_decompressStream
bl ZSTD_isError
cmp r0, #0
beq .L18
.L8:
mov r6, #0
ldr r0, [r5]
bl ZSTD_freeDStream
mov r0, r4
str r6, [r5]
bl FUZZ_dataProducer_free
ldr r3, .L23
ldr r2, [r3]
ldr r3, [sp, #20]
eors r2, r3, r2
mov r3, #0
bne .L22
mov r0, r6
add sp, sp, #24
@ sp needed
pop {r4, r5, r6, pc}
.L21:
bl ZSTD_createDStream
str r0, [r5]
bl FUZZ_ASSERT
b .L4
.L20:
ldr r3, .L23+16
ldr r0, [r3]
bl malloc
str r0, [r5]
bl FUZZ_ASSERT
b .L2
.L22:
bl __stack_chk_fail
.L24:
.align 2
.L23:
.word .LC0
.word buf
.word dstream
.word ZSTD_reset_session_only
.word kBufSize
.size LLVMFuzzerTestOneInput, .-LLVMFuzzerTestOneInput
.comm kBufSize,4,4
.comm dstream,4,4
.comm buf,4,4
.comm ZSTD_reset_session_only,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_stream_decompress.c_makeInBuffer.c"
.intel_syntax noprefix
.text
.p2align 4
.type makeInBuffer, @function
makeInBuffer:
.LFB0:
.cfi_startproc
endbr64
push r13
.cfi_def_cfa_offset 16
.cfi_offset 13, -16
mov r13, rsi
push r12
.cfi_def_cfa_offset 24
.cfi_offset 12, -24
mov r12, rdi
xor edi, edi
push rbp
.cfi_def_cfa_offset 32
.cfi_offset 6, -32
mov rbp, rcx
push rbx
.cfi_def_cfa_offset 40
.cfi_offset 3, -40
mov rbx, rdx
sub rsp, 8
.cfi_def_cfa_offset 48
cmp QWORD PTR [rdx], 0
setne dil
call FUZZ_ASSERT@PLT
mov rdx, QWORD PTR [rbx]
mov rdi, rbp
mov esi, 1
call FUZZ_dataProducer_uint32Range@PLT
xor edi, edi
cmp rax, QWORD PTR [rbx]
mov rbp, rax
setbe dil
call FUZZ_ASSERT@PLT
mov QWORD PTR [r12], rbp
lea rax, 0[0+rbp*4]
mov QWORD PTR 8[r12], 0
add QWORD PTR 0[r13], rax
mov rax, r12
sub QWORD PTR [rbx], rbp
mov QWORD PTR 16[r12], 0
add rsp, 8
.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
.cfi_endproc
.LFE0:
.size makeInBuffer, .-makeInBuffer
.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_stream_decompress.c_makeInBuffer.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type makeInBuffer, %function
makeInBuffer:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, lr}
mov r4, r2
mov r2, #0
mov r5, r0
mov r6, r3
ldr r0, [r4]
str r2, [r5, #4]
subs r0, r0, r2
movne r0, #1
str r2, [r5, #8]
str r2, [r5, #12]
mov r7, r1
bl FUZZ_ASSERT
ldr r2, [r4]
mov r1, #1
mov r0, r6
bl FUZZ_dataProducer_uint32Range
mov r6, r0
ldr r0, [r4]
cmp r6, r0
movhi r0, #0
movls r0, #1
bl FUZZ_ASSERT
ldr r2, [r7]
ldr r3, [r4]
add r2, r2, r6, lsl #2
sub r3, r3, r6
str r2, [r7]
mov r0, r5
str r6, [r5]
str r3, [r4]
pop {r4, r5, r6, r7, r8, pc}
.size makeInBuffer, .-makeInBuffer
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_stream_decompress.c_makeOutBuffer.c"
.intel_syntax noprefix
.text
.p2align 4
.type makeOutBuffer, @function
makeOutBuffer:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
mov r12, rdi
mov rdi, rsi
mov esi, 1
push rbx
.cfi_def_cfa_offset 24
.cfi_offset 3, -24
sub rsp, 8
.cfi_def_cfa_offset 32
mov rdx, QWORD PTR kBufSize[rip]
call FUZZ_dataProducer_uint32Range@PLT
xor edi, edi
cmp rax, QWORD PTR kBufSize[rip]
mov rbx, rax
setle dil
call FUZZ_ASSERT@PLT
mov QWORD PTR [r12], rbx
mov rax, r12
mov QWORD PTR 8[r12], 0
mov DWORD PTR 16[r12], 0
add rsp, 8
.cfi_def_cfa_offset 24
pop rbx
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size makeOutBuffer, .-makeOutBuffer
.globl kBufSize
.bss
.align 8
.type kBufSize, @object
.size kBufSize, 8
kBufSize:
.zero 8
.globl buf
.align 4
.type buf, @object
.size buf, 4
buf:
.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_stream_decompress.c_makeOutBuffer.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type makeOutBuffer, %function
makeOutBuffer:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r3, #0
mov r4, r0
ldr r6, .L4
str r3, [r4, #4]
ldr r2, [r6]
str r3, [r4, #8]
str r3, [r4, #12]
mov r0, r1
mov r1, #1
bl FUZZ_dataProducer_uint32Range
mov r5, r0
ldr r0, [r6]
cmp r5, r0
movgt r0, #0
movle r0, #1
bl FUZZ_ASSERT
mov r0, r4
str r5, [r4]
pop {r4, r5, r6, pc}
.L5:
.align 2
.L4:
.word kBufSize
.size makeOutBuffer, .-makeOutBuffer
.comm kBufSize,4,4
.comm buf,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_stream_round_trip.c_LLVMFuzzerTestOneInput.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "Incorrect regenerated size"
.LC1:
.string "Corruption!"
.text
.p2align 4
.globl LLVMFuzzerTestOneInput
.type LLVMFuzzerTestOneInput, @function
LLVMFuzzerTestOneInput:
.LFB0:
.cfi_startproc
endbr64
push r14
.cfi_def_cfa_offset 16
.cfi_offset 14, -16
mov r14, rdi
push r13
.cfi_def_cfa_offset 24
.cfi_offset 13, -24
push r12
.cfi_def_cfa_offset 32
.cfi_offset 12, -32
push rbp
.cfi_def_cfa_offset 40
.cfi_offset 6, -40
sub rsp, 8
.cfi_def_cfa_offset 48
call FUZZ_dataProducer_create@PLT
mov rdi, rax
mov rbp, rax
call FUZZ_dataProducer_reserveDataPrefix@PLT
mov rdi, rax
mov r13, rax
call ZSTD_compressBound@PLT
mov r12d, eax
sal r12d, 4
sub r12d, eax
movsx r12, r12d
cmp QWORD PTR bufSize[rip], r12
jb .L7
cmp QWORD PTR cctx[rip], 0
je .L8
.L3:
cmp QWORD PTR dctx[rip], 0
je .L9
.L4:
mov rdi, QWORD PTR cBuf[rip]
mov r8, rbp
mov rcx, r13
mov rdx, r14
mov rsi, r12
call compress@PLT
mov rcx, QWORD PTR cBuf[rip]
mov rsi, QWORD PTR rBuf[rip]
mov rdx, r12
mov rdi, QWORD PTR dctx[rip]
mov r8, rax
call ZSTD_decompressDCtx@PLT
mov r12, rax
mov rdi, rax
call FUZZ_ZASSERT@PLT
xor edi, edi
cmp r13, r12
lea rsi, .LC0[rip]
sete dil
call FUZZ_ASSERT_MSG@PLT
mov rsi, QWORD PTR rBuf[rip]
mov rdx, r13
mov rdi, r14
call memcmp@PLT
xor edi, edi
lea rsi, .LC1[rip]
test eax, eax
sete dil
call FUZZ_ASSERT_MSG@PLT
mov rdi, rbp
call FUZZ_dataProducer_free@PLT
mov rdi, QWORD PTR cctx[rip]
call ZSTD_freeCCtx@PLT
mov rdi, QWORD PTR dctx[rip]
mov QWORD PTR cctx[rip], 0
call ZSTD_freeDCtx@PLT
xor eax, eax
mov QWORD PTR dctx[rip], 0
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 40
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
.L7:
.cfi_restore_state
mov rdi, QWORD PTR cBuf[rip]
call free@PLT
mov rdi, QWORD PTR rBuf[rip]
call free@PLT
mov rdi, r12
call malloc@PLT
mov rdi, r12
mov QWORD PTR cBuf[rip], rax
call malloc@PLT
cmp QWORD PTR cBuf[rip], 0
mov QWORD PTR bufSize[rip], r12
setne dl
xor edi, edi
test rax, rax
mov QWORD PTR rBuf[rip], rax
setne dil
and edi, edx
call FUZZ_ASSERT@PLT
cmp QWORD PTR cctx[rip], 0
jne .L3
.L8:
xor eax, eax
call ZSTD_createCCtx@PLT
mov rdi, rax
mov QWORD PTR cctx[rip], rax
call FUZZ_ASSERT@PLT
cmp QWORD PTR dctx[rip], 0
jne .L4
.p2align 4,,10
.p2align 3
.L9:
xor eax, eax
call ZSTD_createDCtx@PLT
mov rdi, rax
mov QWORD PTR dctx[rip], rax
call FUZZ_ASSERT@PLT
jmp .L4
.cfi_endproc
.LFE0:
.size LLVMFuzzerTestOneInput, .-LLVMFuzzerTestOneInput
.globl rBuf
.bss
.align 8
.type rBuf, @object
.size rBuf, 8
rBuf:
.zero 8
.globl dctx
.align 8
.type dctx, @object
.size dctx, 8
dctx:
.zero 8
.globl cctx
.align 8
.type cctx, @object
.size cctx, 8
cctx:
.zero 8
.globl cBuf
.align 8
.type cBuf, @object
.size cBuf, 8
cBuf:
.zero 8
.globl bufSize
.align 8
.type bufSize, @object
.size bufSize, 8
bufSize:
.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_stream_round_trip.c_LLVMFuzzerTestOneInput.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "Incorrect regenerated size\000"
.align 2
.LC1:
.ascii "Corruption!\000"
.text
.align 2
.global LLVMFuzzerTestOneInput
.syntax unified
.arm
.fpu softvfp
.type LLVMFuzzerTestOneInput, %function
LLVMFuzzerTestOneInput:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, r9, r10, fp, lr}
sub sp, sp, #12
mov r8, r0
bl FUZZ_dataProducer_create
mov r7, r0
bl FUZZ_dataProducer_reserveDataPrefix
mov r5, r0
bl ZSTD_compressBound
ldr r6, .L11
rsb r4, r0, r0, lsl #4
ldr r3, [r6]
ldr fp, .L11+4
cmp r3, r4
ldr r10, .L11+8
bcc .L6
ldr r9, .L11+12
ldr r3, [r9]
cmp r3, #0
beq .L9
.L3:
ldr r6, .L11+16
ldr r3, [r6]
cmp r3, #0
beq .L10
.L4:
mov r3, r5
mov r2, r8
mov r1, r4
ldr r0, [fp]
str r7, [sp]
bl compress
str r0, [sp]
ldr r3, [fp]
mov r2, r4
ldr r1, [r10]
ldr r0, [r6]
bl ZSTD_decompressDCtx
mov r4, r0
bl FUZZ_ZASSERT
sub r0, r5, r4
clz r0, r0
ldr r1, .L11+20
lsr r0, r0, #5
bl FUZZ_ASSERT_MSG
mov r2, r5
ldr r1, [r10]
mov r0, r8
bl memcmp
clz r0, r0
mov r4, #0
ldr r1, .L11+24
lsr r0, r0, #5
bl FUZZ_ASSERT_MSG
mov r0, r7
bl FUZZ_dataProducer_free
ldr r0, [r9]
bl ZSTD_freeCCtx
ldr r0, [r6]
str r4, [r9]
bl ZSTD_freeDCtx
mov r0, r4
str r4, [r6]
add sp, sp, #12
@ sp needed
pop {r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L6:
ldr r0, [fp]
bl free
ldr r0, [r10]
bl free
mov r0, r4
bl malloc
mov r9, r0
mov r0, r4
str r9, [fp]
bl malloc
subs r9, r9, #0
movne r9, #1
mov r3, r0
cmp r0, #0
movne r0, r9
ldr r9, .L11+12
moveq r0, #0
str r3, [r10]
str r4, [r6]
bl FUZZ_ASSERT
ldr r3, [r9]
cmp r3, #0
bne .L3
.L9:
bl ZSTD_createCCtx
ldr r6, .L11+16
str r0, [r9]
bl FUZZ_ASSERT
ldr r3, [r6]
cmp r3, #0
bne .L4
.L10:
bl ZSTD_createDCtx
str r0, [r6]
bl FUZZ_ASSERT
b .L4
.L12:
.align 2
.L11:
.word bufSize
.word cBuf
.word rBuf
.word cctx
.word dctx
.word .LC0
.word .LC1
.size LLVMFuzzerTestOneInput, .-LLVMFuzzerTestOneInput
.comm rBuf,4,4
.comm dctx,4,4
.comm cctx,4,4
.comm cBuf,4,4
.comm bufSize,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_stream_round_trip.c_compress.c"
.intel_syntax noprefix
.text
.p2align 4
.type compress, @function
compress:
.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, r8
push r13
.cfi_def_cfa_offset 32
.cfi_offset 13, -32
push r12
.cfi_def_cfa_offset 40
.cfi_offset 12, -40
push rbp
.cfi_def_cfa_offset 48
.cfi_offset 6, -48
mov rbp, rsi
push rbx
.cfi_def_cfa_offset 56
.cfi_offset 3, -56
mov rbx, rdi
sub rsp, 120
.cfi_def_cfa_offset 176
mov esi, DWORD PTR ZSTD_reset_session_only[rip]
mov edi, DWORD PTR cctx[rip]
mov QWORD PTR 40[rsp], rdx
mov QWORD PTR 32[rsp], rcx
mov rax, QWORD PTR fs:40
mov QWORD PTR 104[rsp], rax
xor eax, eax
call ZSTD_CCtx_reset@PLT
mov rsi, QWORD PTR 32[rsp]
mov edi, DWORD PTR cctx[rip]
mov rdx, r14
call FUZZ_setRandomParameters@PLT
mov r13, QWORD PTR 32[rsp]
test r13, r13
je .L37
lea rax, 32[rsp]
xor r13d, r13d
lea r15, 64[rsp]
mov QWORD PTR 16[rsp], rax
lea rax, 40[rsp]
mov QWORD PTR 24[rsp], rax
lea rax, 56[rsp]
mov QWORD PTR [rsp], rax
.p2align 4,,10
.p2align 3
.L18:
mov rdx, QWORD PTR 16[rsp]
mov rsi, QWORD PTR 24[rsp]
mov rcx, r14
mov rdi, r15
mov r12d, -1
call makeInBuffer@PLT
.L3:
mov rax, QWORD PTR 72[rsp]
cmp QWORD PTR 64[rsp], rax
jl .L16
cmp r12d, -1
je .L11
mov rdx, r14
mov rsi, rbp
mov rdi, rbx
call makeOutBuffer@PLT
mov r8d, DWORD PTR cctx[rip]
mov QWORD PTR 56[rsp], rax
.L6:
mov ecx, DWORD PTR ZSTD_e_flush[rip]
mov rsi, QWORD PTR [rsp]
mov rdx, r15
mov edi, r8d
call ZSTD_compressStream2@PLT
mov rdi, rax
mov QWORD PTR 8[rsp], rax
call FUZZ_ZASSERT@PLT
mov rax, QWORD PTR 56[rsp]
mov rdx, QWORD PTR 8[rsp]
lea rbx, [rbx+rax*4]
add r13, rax
sub rbp, rax
test rdx, rdx
jne .L3
mov rax, QWORD PTR 72[rsp]
mov r12d, -1
cmp QWORD PTR 64[rsp], rax
jge .L11
.p2align 4,,10
.p2align 3
.L16:
mov rdx, r14
mov rsi, rbp
mov rdi, rbx
call makeOutBuffer@PLT
mov QWORD PTR 56[rsp], rax
cmp r12d, -1
jne .L4
mov edx, 9
xor esi, esi
mov rdi, r14
call FUZZ_dataProducer_uint32Range@PLT
mov r12d, eax
.L4:
mov edi, DWORD PTR cctx[rip]
mov r8d, edi
cmp r12d, 2
jg .L5
test r12d, r12d
jns .L6
.L7:
mov ecx, DWORD PTR ZSTD_e_continue[rip]
mov rsi, QWORD PTR [rsp]
mov rdx, r15
call ZSTD_compressStream2@PLT
mov rdi, rax
call FUZZ_ZASSERT@PLT
.L34:
mov rax, QWORD PTR 56[rsp]
lea rbx, [rbx+rax*4]
add r13, rax
sub rbp, rax
mov rax, QWORD PTR 72[rsp]
cmp QWORD PTR 64[rsp], rax
jl .L38
.L11:
cmp QWORD PTR 32[rsp], 0
jne .L18
.p2align 4,,10
.p2align 3
.L20:
pxor xmm0, xmm0
mov rsi, rbp
mov rdi, rbx
mov rdx, r14
movups XMMWORD PTR 64[rsp], xmm0
movups XMMWORD PTR 80[rsp], xmm0
call makeOutBuffer@PLT
mov ecx, DWORD PTR ZSTD_e_end[rip]
mov rsi, QWORD PTR [rsp]
mov rdx, r15
mov edi, DWORD PTR cctx[rip]
mov QWORD PTR 56[rsp], rax
call ZSTD_compressStream2@PLT
mov rdi, rax
mov r12, rax
call FUZZ_ZASSERT@PLT
mov rax, QWORD PTR 56[rsp]
lea rbx, [rbx+rax*4]
add r13, rax
sub rbp, rax
test r12, r12
jne .L20
mov rax, QWORD PTR 104[rsp]
sub rax, QWORD PTR fs:40
jne .L39
add rsp, 120
.cfi_remember_state
.cfi_def_cfa_offset 56
mov rax, r13
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
.p2align 4,,10
.p2align 3
.L5:
.cfi_restore_state
cmp r12d, 3
jne .L7
.L8:
mov ecx, DWORD PTR ZSTD_e_end[rip]
mov rsi, QWORD PTR [rsp]
mov rdx, r15
call ZSTD_compressStream2@PLT
mov rdi, rax
mov QWORD PTR 8[rsp], rax
call FUZZ_ZASSERT@PLT
mov rdx, QWORD PTR 8[rsp]
test rdx, rdx
je .L12
mov rax, QWORD PTR 56[rsp]
lea rbx, [rbx+rax*4]
add r13, rax
sub rbp, rax
mov rax, QWORD PTR 72[rsp]
cmp QWORD PTR 64[rsp], rax
jl .L16
mov rdi, rbx
mov rdx, r14
mov rsi, rbp
call makeOutBuffer@PLT
mov edi, DWORD PTR cctx[rip]
mov QWORD PTR 56[rsp], rax
jmp .L8
.p2align 4,,10
.p2align 3
.L38:
mov r12d, -1
jmp .L16
.p2align 4,,10
.p2align 3
.L12:
mov esi, DWORD PTR ZSTD_reset_session_only[rip]
mov edi, DWORD PTR cctx[rip]
call ZSTD_CCtx_reset@PLT
xor esi, esi
mov edx, 7
mov rdi, r14
call FUZZ_dataProducer_uint32Range@PLT
test eax, eax
jne .L34
mov edi, DWORD PTR cctx[rip]
mov rsi, QWORD PTR 72[rsp]
mov rdx, r14
sub rsi, QWORD PTR 64[rsp]
call FUZZ_setRandomParameters@PLT
jmp .L34
.L37:
lea rax, 56[rsp]
lea r15, 64[rsp]
mov QWORD PTR [rsp], rax
jmp .L20
.L39:
call __stack_chk_fail@PLT
.cfi_endproc
.LFE0:
.size compress, .-compress
.globl cctx
.bss
.align 4
.type cctx, @object
.size cctx, 4
cctx:
.zero 4
.globl ZSTD_reset_session_only
.align 4
.type ZSTD_reset_session_only, @object
.size ZSTD_reset_session_only, 4
ZSTD_reset_session_only:
.zero 4
.globl ZSTD_e_flush
.align 4
.type ZSTD_e_flush, @object
.size ZSTD_e_flush, 4
ZSTD_e_flush:
.zero 4
.globl ZSTD_e_end
.align 4
.type ZSTD_e_end, @object
.size ZSTD_e_end, 4
ZSTD_e_end:
.zero 4
.globl ZSTD_e_continue
.align 4
.type ZSTD_e_continue, @object
.size ZSTD_e_continue, 4
ZSTD_e_continue:
.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_stream_round_trip.c_compress.c"
.text
.section .rodata.cst4,"aM",%progbits,4
.align 2
.LC0:
.word __stack_chk_guard
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type compress, %function
compress:
@ args = 4, pretend = 0, frame = 48
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, r9, r10, fp, lr}
ldr r6, .L49
sub sp, sp, #52
mov r5, r1
ldr r1, .L49+4
str r3, [sp, #8]
ldr r10, [sp, #88]
ldr r3, .L49+8
str r2, [sp, #12]
ldr r1, [r1]
mov r4, r0
ldr r0, [r6]
ldr r3, [r3]
str r3, [sp, #44]
mov r3,#0
bl ZSTD_CCtx_reset
mov r2, r10
ldr r0, [r6]
ldr r1, [sp, #8]
bl FUZZ_setRandomParameters
ldr r7, [sp, #8]
cmp r7, #0
beq .L44
mov r7, #0
ldr r3, .L49+12
add r8, sp, #24
str r3, [sp, #4]
add fp, sp, #20
.L18:
mov r3, r10
add r2, sp, #8
mov r0, r8
add r1, sp, #12
bl makeInBuffer
ldr r2, [sp, #24]
ldr r3, [sp, #28]
mvn r6, #0
cmp r2, r3
blt .L16
.L46:
cmn r6, #1
beq .L11
mov r2, r10
mov r1, r5
mov r0, r4
bl makeOutBuffer
mov r3, r0
ldr r2, .L49
str r3, [sp, #20]
ldr r0, [r2]
.L6:
ldr r3, .L49+16
mov r2, r8
mov r1, fp
ldr r3, [r3]
bl ZSTD_compressStream2
mov r9, r0
bl FUZZ_ZASSERT
cmp r9, #0
beq .L45
ldr r3, [sp, #20]
ldr r2, [sp, #24]
add r4, r4, r3, lsl #2
add r7, r7, r3
sub r5, r5, r3
ldr r3, [sp, #28]
cmp r2, r3
bge .L46
.L16:
mov r2, r10
mov r1, r5
mov r0, r4
bl makeOutBuffer
cmn r6, #1
str r0, [sp, #20]
bne .L4
mov r2, #9
mov r1, #0
mov r0, r10
bl FUZZ_dataProducer_uint32Range
mov r6, r0
.L4:
ldr r3, .L49
cmp r6, #2
ldr r0, [r3]
bgt .L5
cmp r6, #0
bge .L6
.L7:
ldr r3, .L49+20
mov r2, r8
mov r1, fp
ldr r3, [r3]
bl ZSTD_compressStream2
bl FUZZ_ZASSERT
.L41:
ldr r1, [sp, #24]
ldr r2, [sp, #28]
ldr r3, [sp, #20]
cmp r1, r2
add r4, r4, r3, lsl #2
add r7, r7, r3
sub r5, r5, r3
blt .L47
.L11:
ldr r3, [sp, #8]
cmp r3, #0
bne .L18
.L2:
mov r6, #0
.L20:
mov r1, r5
mov r2, r10
mov r0, r4
str r6, [r8]
str r6, [r8, #4]
str r6, [r8, #8]
str r6, [r8, #12]
str r6, [r8, #16]
bl makeOutBuffer
mov ip, r0
ldr r3, [sp, #4]
ldr r0, .L49
ldr r3, [r3]
mov r2, r8
mov r1, fp
ldr r0, [r0]
str ip, [sp, #20]
bl ZSTD_compressStream2
mov r9, r0
bl FUZZ_ZASSERT
ldr r3, [sp, #20]
cmp r9, #0
add r4, r4, r3, lsl #2
add r7, r7, r3
sub r5, r5, r3
bne .L20
ldr r3, .L49+8
ldr r2, [r3]
ldr r3, [sp, #44]
eors r2, r3, r2
mov r3, #0
bne .L48
mov r0, r7
add sp, sp, #52
@ sp needed
pop {r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L5:
cmp r6, #3
bne .L7
.L8:
ldr r3, [sp, #4]
mov r2, r8
mov r1, fp
ldr r3, [r3]
bl ZSTD_compressStream2
mov r9, r0
bl FUZZ_ZASSERT
cmp r9, #0
beq .L12
ldr r1, [sp, #24]
ldr r2, [sp, #28]
ldr r3, [sp, #20]
cmp r1, r2
add r4, r4, r3, lsl #2
add r7, r7, r3
sub r5, r5, r3
blt .L16
mov r2, r10
mov r1, r5
mov r0, r4
bl makeOutBuffer
mov r3, r0
ldr r2, .L49
str r3, [sp, #20]
ldr r0, [r2]
b .L8
.L47:
mvn r6, #0
b .L16
.L45:
ldr r1, [sp, #24]
ldr r2, [sp, #28]
ldr r3, [sp, #20]
cmp r1, r2
mvn r6, #0
add r4, r4, r3, lsl #2
add r7, r7, r3
sub r5, r5, r3
bge .L11
b .L16
.L12:
ldr r3, .L49+4
ldr r1, [r3]
ldr r3, .L49
ldr r0, [r3]
bl ZSTD_CCtx_reset
mov r1, r9
mov r2, #7
mov r0, r10
bl FUZZ_dataProducer_uint32Range
cmp r0, #0
bne .L41
ldr r3, [sp, #24]
ldr r1, [sp, #28]
mov r2, r10
sub r1, r1, r3
ldr r3, .L49
ldr r0, [r3]
bl FUZZ_setRandomParameters
b .L41
.L44:
ldr r3, .L49+12
add r8, sp, #24
add fp, sp, #20
str r3, [sp, #4]
b .L2
.L48:
bl __stack_chk_fail
.L50:
.align 2
.L49:
.word cctx
.word ZSTD_reset_session_only
.word .LC0
.word ZSTD_e_end
.word ZSTD_e_flush
.word ZSTD_e_continue
.size compress, .-compress
.comm cctx,4,4
.comm ZSTD_reset_session_only,4,4
.comm ZSTD_e_flush,4,4
.comm ZSTD_e_end,4,4
.comm ZSTD_e_continue,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_stream_round_trip.c_makeInBuffer.c"
.intel_syntax noprefix
.text
.p2align 4
.type makeInBuffer, @function
makeInBuffer:
.LFB0:
.cfi_startproc
endbr64
push r13
.cfi_def_cfa_offset 16
.cfi_offset 13, -16
mov r13, rsi
push r12
.cfi_def_cfa_offset 24
.cfi_offset 12, -24
mov r12, rdi
xor edi, edi
push rbp
.cfi_def_cfa_offset 32
.cfi_offset 6, -32
mov rbp, rcx
push rbx
.cfi_def_cfa_offset 40
.cfi_offset 3, -40
mov rbx, rdx
sub rsp, 8
.cfi_def_cfa_offset 48
cmp QWORD PTR [rdx], 0
setne dil
call FUZZ_ASSERT@PLT
mov rdx, QWORD PTR [rbx]
mov rdi, rbp
mov esi, 1
call FUZZ_dataProducer_uint32Range@PLT
xor edi, edi
cmp rax, QWORD PTR [rbx]
mov rbp, rax
setbe dil
call FUZZ_ASSERT@PLT
mov QWORD PTR [r12], rbp
lea rax, 0[0+rbp*4]
mov QWORD PTR 8[r12], 0
add QWORD PTR 0[r13], rax
mov rax, r12
sub QWORD PTR [rbx], rbp
mov QWORD PTR 16[r12], 0
add rsp, 8
.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
.cfi_endproc
.LFE0:
.size makeInBuffer, .-makeInBuffer
.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_stream_round_trip.c_makeInBuffer.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type makeInBuffer, %function
makeInBuffer:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, lr}
mov r4, r2
mov r2, #0
mov r5, r0
mov r6, r3
ldr r0, [r4]
str r2, [r5, #4]
subs r0, r0, r2
movne r0, #1
str r2, [r5, #8]
str r2, [r5, #12]
mov r7, r1
bl FUZZ_ASSERT
ldr r2, [r4]
mov r1, #1
mov r0, r6
bl FUZZ_dataProducer_uint32Range
mov r6, r0
ldr r0, [r4]
cmp r6, r0
movhi r0, #0
movls r0, #1
bl FUZZ_ASSERT
ldr r2, [r7]
ldr r3, [r4]
add r2, r2, r6, lsl #2
sub r3, r3, r6
str r2, [r7]
mov r0, r5
str r6, [r5]
str r3, [r4]
pop {r4, r5, r6, r7, r8, pc}
.size makeInBuffer, .-makeInBuffer
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_stream_round_trip.c_makeOutBuffer.c"
.intel_syntax noprefix
.text
.p2align 4
.type makeOutBuffer, @function
makeOutBuffer:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
mov r12, rdi
xor edi, edi
test rdx, rdx
push rbp
.cfi_def_cfa_offset 24
.cfi_offset 6, -24
setne dil
mov rbp, rcx
push rbx
.cfi_def_cfa_offset 32
.cfi_offset 3, -32
mov rbx, rdx
call FUZZ_ASSERT@PLT
mov rdx, rbx
mov rdi, rbp
mov esi, 1
call FUZZ_dataProducer_uint32Range@PLT
xor edi, edi
cmp rax, rbx
mov rbp, rax
setbe dil
call FUZZ_ASSERT@PLT
mov QWORD PTR [r12], rbp
mov rax, r12
pop rbx
.cfi_def_cfa_offset 24
mov QWORD PTR 8[r12], 0
pop rbp
.cfi_def_cfa_offset 16
mov QWORD PTR 16[r12], 0
pop r12
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size makeOutBuffer, .-makeOutBuffer
.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_stream_round_trip.c_makeOutBuffer.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type makeOutBuffer, %function
makeOutBuffer:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
mov r1, #0
push {r4, r5, r6, lr}
mov r6, r3
mov r5, r2
mov r4, r0
str r1, [r0, #4]
str r1, [r0, #8]
str r1, [r0, #12]
subs r0, r2, r1
movne r0, #1
bl FUZZ_ASSERT
mov r2, r5
mov r1, #1
mov r0, r6
bl FUZZ_dataProducer_uint32Range
mov r6, r0
cmp r0, r5
movhi r0, #0
movls r0, #1
bl FUZZ_ASSERT
mov r0, r4
str r6, [r4]
pop {r4, r5, r6, pc}
.size makeOutBuffer, .-makeOutBuffer
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_zstd_frame_info.c_LLVMFuzzerTestOneInput.c"
.intel_syntax noprefix
.text
.p2align 4
.globl LLVMFuzzerTestOneInput
.type LLVMFuzzerTestOneInput, @function
LLVMFuzzerTestOneInput:
.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
mov r12, rsi
push rbp
.cfi_def_cfa_offset 32
.cfi_offset 6, -32
mov rbp, rdi
sub rsp, 16
.cfi_def_cfa_offset 48
mov rax, QWORD PTR fs:40
mov QWORD PTR 8[rsp], rax
xor eax, eax
lea r13, 4[rsp]
call ZSTD_getFrameContentSize@PLT
mov rsi, r12
mov rdi, rbp
call ZSTD_getDecompressedSize@PLT
mov rsi, r12
mov rdi, rbp
call ZSTD_findFrameCompressedSize@PLT
mov rsi, r12
mov rdi, rbp
call ZSTD_getDictID_fromFrame@PLT
mov rsi, r12
mov rdi, rbp
call ZSTD_findDecompressedSize@PLT
mov rsi, r12
mov rdi, rbp
call ZSTD_decompressBound@PLT
mov rsi, r12
mov rdi, rbp
call ZSTD_frameHeaderSize@PLT
mov rsi, r12
mov rdi, rbp
call ZSTD_isFrame@PLT
mov rdx, r12
mov rsi, rbp
mov rdi, r13
call ZSTD_getFrameHeader@PLT
mov rdx, r12
mov rsi, rbp
mov rdi, r13
mov ecx, DWORD PTR ZSTD_f_zstd1[rip]
call ZSTD_getFrameHeader_advanced@PLT
mov rax, QWORD PTR 8[rsp]
sub rax, QWORD PTR fs:40
jne .L5
add rsp, 16
.cfi_remember_state
.cfi_def_cfa_offset 32
xor eax, eax
pop rbp
.cfi_def_cfa_offset 24
pop r12
.cfi_def_cfa_offset 16
pop r13
.cfi_def_cfa_offset 8
ret
.L5:
.cfi_restore_state
call __stack_chk_fail@PLT
.cfi_endproc
.LFE0:
.size LLVMFuzzerTestOneInput, .-LLVMFuzzerTestOneInput
.globl ZSTD_f_zstd1
.bss
.align 4
.type ZSTD_f_zstd1, @object
.size ZSTD_f_zstd1, 4
ZSTD_f_zstd1:
.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_zstd_frame_info.c_LLVMFuzzerTestOneInput.c"
.text
.section .rodata.cst4,"aM",%progbits,4
.align 2
.LC0:
.word __stack_chk_guard
.text
.align 2
.global LLVMFuzzerTestOneInput
.syntax unified
.arm
.fpu softvfp
.type LLVMFuzzerTestOneInput, %function
LLVMFuzzerTestOneInput:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, lr}
mov r4, r0
mov r5, r1
ldr r3, .L6
sub sp, sp, #12
ldr r3, [r3]
str r3, [sp, #4]
mov r3,#0
bl ZSTD_getFrameContentSize
mov r1, r5
mov r0, r4
bl ZSTD_getDecompressedSize
mov r1, r5
mov r0, r4
bl ZSTD_findFrameCompressedSize
mov r1, r5
mov r0, r4
bl ZSTD_getDictID_fromFrame
mov r1, r5
mov r0, r4
bl ZSTD_findDecompressedSize
mov r1, r5
mov r0, r4
bl ZSTD_decompressBound
mov r1, r5
mov r0, r4
bl ZSTD_frameHeaderSize
mov r1, r5
mov r0, r4
bl ZSTD_isFrame
mov r2, r5
mov r1, r4
mov r0, sp
bl ZSTD_getFrameHeader
ldr r3, .L6+4
mov r2, r5
ldr r3, [r3]
mov r1, r4
mov r0, sp
bl ZSTD_getFrameHeader_advanced
ldr r3, .L6
ldr r2, [r3]
ldr r3, [sp, #4]
eors r2, r3, r2
mov r3, #0
bne .L5
mov r0, #0
add sp, sp, #12
@ sp needed
pop {r4, r5, pc}
.L5:
bl __stack_chk_fail
.L7:
.align 2
.L6:
.word .LC0
.word ZSTD_f_zstd1
.size LLVMFuzzerTestOneInput, .-LLVMFuzzerTestOneInput
.comm ZSTD_f_zstd1,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_zstd_helpers.c_FUZZ_randomCParams.c"
.intel_syntax noprefix
.text
.p2align 4
.globl FUZZ_randomCParams
.type FUZZ_randomCParams, @function
FUZZ_randomCParams:
.LFB0:
.cfi_startproc
endbr64
push r13
.cfi_def_cfa_offset 16
.cfi_offset 13, -16
mov r13, rsi
push r12
.cfi_def_cfa_offset 24
.cfi_offset 12, -24
mov r12, rdi
push rbp
.cfi_def_cfa_offset 32
.cfi_offset 6, -32
mov rbp, rdx
mov edx, 15
mov rdi, rbp
sub rsp, 64
.cfi_def_cfa_offset 96
mov esi, DWORD PTR ZSTD_WINDOWLOG_MIN[rip]
mov rax, QWORD PTR fs:40
mov QWORD PTR 56[rsp], rax
xor eax, eax
call FUZZ_dataProducer_uint32Range@PLT
mov esi, DWORD PTR ZSTD_HASHLOG_MIN[rip]
mov edx, 15
mov rdi, rbp
mov QWORD PTR 48[rsp], rax
call FUZZ_dataProducer_uint32Range@PLT
mov esi, DWORD PTR ZSTD_CHAINLOG_MIN[rip]
mov edx, 16
mov rdi, rbp
mov QWORD PTR 40[rsp], rax
call FUZZ_dataProducer_uint32Range@PLT
mov esi, DWORD PTR ZSTD_SEARCHLOG_MIN[rip]
mov edx, 9
mov rdi, rbp
mov QWORD PTR 32[rsp], rax
call FUZZ_dataProducer_uint32Range@PLT
mov edx, DWORD PTR ZSTD_MINMATCH_MAX[rip]
mov esi, DWORD PTR ZSTD_MINMATCH_MIN[rip]
mov rdi, rbp
mov QWORD PTR 24[rsp], rax
call FUZZ_dataProducer_uint32Range@PLT
mov edx, 512
xor esi, esi
mov rdi, rbp
mov QWORD PTR 16[rsp], rax
call FUZZ_dataProducer_uint32Range@PLT
mov edx, DWORD PTR ZSTD_STRATEGY_MAX[rip]
mov esi, DWORD PTR ZSTD_STRATEGY_MIN[rip]
mov rdi, rbp
mov QWORD PTR 8[rsp], rax
call FUZZ_dataProducer_uint32Range@PLT
sub rsp, 8
.cfi_def_cfa_offset 104
xor edx, edx
mov rsi, r13
push QWORD PTR 56[rsp]
.cfi_def_cfa_offset 112
mov rdi, r12
push QWORD PTR 56[rsp]
.cfi_def_cfa_offset 120
push QWORD PTR 56[rsp]
.cfi_def_cfa_offset 128
push QWORD PTR 56[rsp]
.cfi_def_cfa_offset 136
push QWORD PTR 56[rsp]
.cfi_def_cfa_offset 144
push QWORD PTR 56[rsp]
.cfi_def_cfa_offset 152
push rax
.cfi_def_cfa_offset 160
call ZSTD_adjustCParams@PLT
add rsp, 64
.cfi_def_cfa_offset 96
mov rax, QWORD PTR 56[rsp]
sub rax, QWORD PTR fs:40
jne .L5
add rsp, 64
.cfi_remember_state
.cfi_def_cfa_offset 32
mov rax, r12
pop rbp
.cfi_def_cfa_offset 24
pop r12
.cfi_def_cfa_offset 16
pop r13
.cfi_def_cfa_offset 8
ret
.L5:
.cfi_restore_state
call __stack_chk_fail@PLT
.cfi_endproc
.LFE0:
.size FUZZ_randomCParams, .-FUZZ_randomCParams
.globl ZSTD_WINDOWLOG_MIN
.bss
.align 4
.type ZSTD_WINDOWLOG_MIN, @object
.size ZSTD_WINDOWLOG_MIN, 4
ZSTD_WINDOWLOG_MIN:
.zero 4
.globl ZSTD_STRATEGY_MIN
.align 4
.type ZSTD_STRATEGY_MIN, @object
.size ZSTD_STRATEGY_MIN, 4
ZSTD_STRATEGY_MIN:
.zero 4
.globl ZSTD_STRATEGY_MAX
.align 4
.type ZSTD_STRATEGY_MAX, @object
.size ZSTD_STRATEGY_MAX, 4
ZSTD_STRATEGY_MAX:
.zero 4
.globl ZSTD_SEARCHLOG_MIN
.align 4
.type ZSTD_SEARCHLOG_MIN, @object
.size ZSTD_SEARCHLOG_MIN, 4
ZSTD_SEARCHLOG_MIN:
.zero 4
.globl ZSTD_MINMATCH_MIN
.align 4
.type ZSTD_MINMATCH_MIN, @object
.size ZSTD_MINMATCH_MIN, 4
ZSTD_MINMATCH_MIN:
.zero 4
.globl ZSTD_MINMATCH_MAX
.align 4
.type ZSTD_MINMATCH_MAX, @object
.size ZSTD_MINMATCH_MAX, 4
ZSTD_MINMATCH_MAX:
.zero 4
.globl ZSTD_HASHLOG_MIN
.align 4
.type ZSTD_HASHLOG_MIN, @object
.size ZSTD_HASHLOG_MIN, 4
ZSTD_HASHLOG_MIN:
.zero 4
.globl ZSTD_CHAINLOG_MIN
.align 4
.type ZSTD_CHAINLOG_MIN, @object
.size ZSTD_CHAINLOG_MIN, 4
ZSTD_CHAINLOG_MIN:
.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_zstd_helpers.c_FUZZ_randomCParams.c"
.text
.section .rodata.cst4,"aM",%progbits,4
.align 2
.LC0:
.word __stack_chk_guard
.text
.align 2
.global FUZZ_randomCParams
.syntax unified
.arm
.fpu softvfp
.type FUZZ_randomCParams, %function
FUZZ_randomCParams:
@ args = 0, pretend = 0, frame = 32
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
ldr r3, .L6
mov r6, r1
ldr r1, [r3]
ldr r3, .L6+4
sub sp, sp, #56
mov r4, r2
mov r5, r0
mov r0, r2
mov r2, #15
ldr r3, [r3]
str r3, [sp, #52]
mov r3,#0
bl FUZZ_dataProducer_uint32Range
mov r3, r0
ldr r2, .L6+8
mov r0, r4
ldr r1, [r2]
mov r2, #15
str r3, [sp, #48]
bl FUZZ_dataProducer_uint32Range
mov r3, r0
ldr r2, .L6+12
mov r0, r4
ldr r1, [r2]
mov r2, #16
str r3, [sp, #44]
bl FUZZ_dataProducer_uint32Range
mov r3, r0
ldr r2, .L6+16
mov r0, r4
ldr r1, [r2]
mov r2, #9
str r3, [sp, #40]
bl FUZZ_dataProducer_uint32Range
mov r3, r0
ldr r2, .L6+20
ldr r1, .L6+24
ldr r2, [r2]
ldr r1, [r1]
mov r0, r4
str r3, [sp, #36]
bl FUZZ_dataProducer_uint32Range
mov r3, r0
mov r2, #512
mov r1, #0
mov r0, r4
str r3, [sp, #32]
bl FUZZ_dataProducer_uint32Range
mov r3, r0
ldr r2, .L6+28
ldr r1, .L6+32
ldr r2, [r2]
ldr r1, [r1]
mov r0, r4
str r3, [sp, #28]
bl FUZZ_dataProducer_uint32Range
mov lr, #0
str r6, [sp, #16]
add r3, sp, #36
str r0, [sp, #24]
ldm r3, {r0, r1, r2, r3}
stm sp, {r0, r1, r2, r3}
add ip, sp, #24
str lr, [sp, #20]
ldm ip, {r1, r2, r3}
mov r0, r5
bl ZSTD_adjustCParams
ldr r3, .L6+4
ldr r2, [r3]
ldr r3, [sp, #52]
eors r2, r3, r2
mov r3, #0
bne .L5
mov r0, r5
add sp, sp, #56
@ sp needed
pop {r4, r5, r6, pc}
.L5:
bl __stack_chk_fail
.L7:
.align 2
.L6:
.word ZSTD_WINDOWLOG_MIN
.word .LC0
.word ZSTD_HASHLOG_MIN
.word ZSTD_CHAINLOG_MIN
.word ZSTD_SEARCHLOG_MIN
.word ZSTD_MINMATCH_MAX
.word ZSTD_MINMATCH_MIN
.word ZSTD_STRATEGY_MAX
.word ZSTD_STRATEGY_MIN
.size FUZZ_randomCParams, .-FUZZ_randomCParams
.comm ZSTD_WINDOWLOG_MIN,4,4
.comm ZSTD_STRATEGY_MIN,4,4
.comm ZSTD_STRATEGY_MAX,4,4
.comm ZSTD_SEARCHLOG_MIN,4,4
.comm ZSTD_MINMATCH_MIN,4,4
.comm ZSTD_MINMATCH_MAX,4,4
.comm ZSTD_HASHLOG_MIN,4,4
.comm ZSTD_CHAINLOG_MIN,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_zstd_helpers.c_FUZZ_randomFParams.c"
.intel_syntax noprefix
.text
.p2align 4
.globl FUZZ_randomFParams
.type FUZZ_randomFParams, @function
FUZZ_randomFParams:
.LFB0:
.cfi_startproc
endbr64
push r13
.cfi_def_cfa_offset 16
.cfi_offset 13, -16
mov edx, 1
push r12
.cfi_def_cfa_offset 24
.cfi_offset 12, -24
mov r12, rdi
push rbp
.cfi_def_cfa_offset 32
.cfi_offset 6, -32
mov rbp, rsi
xor esi, esi
push rbx
.cfi_def_cfa_offset 40
.cfi_offset 3, -40
mov rdi, rbp
sub rsp, 8
.cfi_def_cfa_offset 48
call FUZZ_dataProducer_uint32Range@PLT
mov rdi, rbp
mov edx, 1
xor esi, esi
mov rbx, rax
call FUZZ_dataProducer_uint32Range@PLT
mov rdi, rbp
mov edx, 1
xor esi, esi
mov r13, rax
call FUZZ_dataProducer_uint32Range@PLT
mov QWORD PTR 8[r12], r13
mov QWORD PTR [r12], rax
mov rax, r12
mov QWORD PTR 16[r12], rbx
add rsp, 8
.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
.cfi_endproc
.LFE0:
.size FUZZ_randomFParams, .-FUZZ_randomFParams
.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_zstd_helpers.c_FUZZ_randomFParams.c"
.text
.align 2
.global FUZZ_randomFParams
.syntax unified
.arm
.fpu softvfp
.type FUZZ_randomFParams, %function
FUZZ_randomFParams:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r2, #1
mov r5, r1
mov r4, r0
mov r0, r1
mov r1, #0
bl FUZZ_dataProducer_uint32Range
mov r2, #1
mov r6, r0
mov r1, #0
mov r0, r5
bl FUZZ_dataProducer_uint32Range
mov r3, r0
mov r2, #1
mov r0, r5
mov r1, #0
mov r5, r3
bl FUZZ_dataProducer_uint32Range
stm r4, {r0, r5, r6}
mov r0, r4
pop {r4, r5, r6, pc}
.size FUZZ_randomFParams, .-FUZZ_randomFParams
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_zstd_helpers.c_FUZZ_randomParams.c"
.intel_syntax noprefix
.text
.p2align 4
.globl FUZZ_randomParams
.type FUZZ_randomParams, @function
FUZZ_randomParams:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsi
push rbx
.cfi_def_cfa_offset 24
.cfi_offset 3, -24
sub rsp, 8
.cfi_def_cfa_offset 32
call FUZZ_randomCParams@PLT
mov rdi, rbp
mov ebx, eax
call FUZZ_randomFParams@PLT
sal rbx, 32
add rsp, 8
.cfi_def_cfa_offset 24
mov eax, eax
or rax, rbx
pop rbx
.cfi_def_cfa_offset 16
pop rbp
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size FUZZ_randomParams, .-FUZZ_randomParams
.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_zstd_helpers.c_FUZZ_randomParams.c"
.text
.align 2
.global FUZZ_randomParams
.syntax unified
.arm
.fpu softvfp
.type FUZZ_randomParams, %function
FUZZ_randomParams:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
mov r3, r1
push {r4, r5, r6, lr}
mov r1, r2
mov r4, r0
mov r0, r3
mov r5, r2
bl FUZZ_randomCParams
mov r3, r0
mov r0, r5
mov r5, r3
bl FUZZ_randomFParams
stm r4, {r0, r5}
mov r0, r4
pop {r4, r5, r6, pc}
.size FUZZ_randomParams, .-FUZZ_randomParams
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_zstd_helpers.c_FUZZ_setRandomParameters.c"
.intel_syntax noprefix
.text
.p2align 4
.globl FUZZ_setRandomParameters
.type FUZZ_setRandomParameters, @function
FUZZ_setRandomParameters:
.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
push rbx
.cfi_def_cfa_offset 32
.cfi_offset 3, -32
mov rbx, rdx
sub rsp, 48
.cfi_def_cfa_offset 80
mov rax, QWORD PTR fs:40
mov QWORD PTR 40[rsp], rax
xor eax, eax
mov rdi, rsp
call FUZZ_randomCParams@PLT
mov edx, DWORD PTR 24[rsp]
mov esi, DWORD PTR ZSTD_c_windowLog[rip]
mov rdi, rbp
call set@PLT
mov edx, DWORD PTR 20[rsp]
mov esi, DWORD PTR ZSTD_c_hashLog[rip]
mov rdi, rbp
call set@PLT
mov edx, DWORD PTR 16[rsp]
mov esi, DWORD PTR ZSTD_c_chainLog[rip]
mov rdi, rbp
call set@PLT
mov edx, DWORD PTR 12[rsp]
mov esi, DWORD PTR ZSTD_c_searchLog[rip]
mov rdi, rbp
call set@PLT
mov edx, DWORD PTR 8[rsp]
mov esi, DWORD PTR ZSTD_c_minMatch[rip]
mov rdi, rbp
call set@PLT
mov edx, DWORD PTR 4[rsp]
mov esi, DWORD PTR ZSTD_c_targetLength[rip]
mov rdi, rbp
call set@PLT
mov edx, DWORD PTR [rsp]
mov esi, DWORD PTR ZSTD_c_strategy[rip]
mov rdi, rbp
call set@PLT
mov esi, DWORD PTR ZSTD_c_contentSizeFlag[rip]
xor edx, edx
mov r8, rbx
mov ecx, 1
mov rdi, rbp
call setRand@PLT
mov esi, DWORD PTR ZSTD_c_checksumFlag[rip]
xor edx, edx
mov r8, rbx
mov ecx, 1
mov rdi, rbp
call setRand@PLT
mov esi, DWORD PTR ZSTD_c_dictIDFlag[rip]
xor edx, edx
mov r8, rbx
mov ecx, 1
mov rdi, rbp
call setRand@PLT
mov esi, DWORD PTR ZSTD_c_enableLongDistanceMatching[rip]
xor edx, edx
mov r8, rbx
mov ecx, 1
mov rdi, rbp
call setRand@PLT
mov r8, rbx
mov ecx, 16
mov rdi, rbp
mov edx, DWORD PTR ZSTD_HASHLOG_MIN[rip]
mov esi, DWORD PTR ZSTD_c_ldmHashLog[rip]
call setRand@PLT
mov ecx, DWORD PTR ZSTD_LDM_MINMATCH_MAX[rip]
mov r8, rbx
mov rdi, rbp
mov edx, DWORD PTR ZSTD_LDM_MINMATCH_MIN[rip]
mov esi, DWORD PTR ZSTD_c_ldmMinMatch[rip]
call setRand@PLT
mov ecx, DWORD PTR ZSTD_LDM_BUCKETSIZELOG_MAX[rip]
xor edx, edx
mov r8, rbx
mov esi, DWORD PTR ZSTD_c_ldmBucketSizeLog[rip]
mov rdi, rbp
call setRand@PLT
mov ecx, DWORD PTR ZSTD_LDM_HASHRATELOG_MAX[rip]
mov r8, rbx
mov rdi, rbp
mov edx, DWORD PTR ZSTD_LDM_HASHRATELOG_MIN[rip]
mov esi, DWORD PTR ZSTD_c_ldmHashRateLog[rip]
call setRand@PLT
mov esi, DWORD PTR ZSTD_c_nbWorkers[rip]
xor edx, edx
mov r8, rbx
mov ecx, 2
mov rdi, rbp
call setRand@PLT
mov esi, DWORD PTR ZSTD_c_rsyncable[rip]
xor edx, edx
mov r8, rbx
mov ecx, 1
mov rdi, rbp
call setRand@PLT
mov esi, DWORD PTR ZSTD_c_forceMaxWindow[rip]
xor edx, edx
mov r8, rbx
mov ecx, 1
mov rdi, rbp
call setRand@PLT
mov esi, DWORD PTR ZSTD_c_literalCompressionMode[rip]
xor edx, edx
mov r8, rbx
mov ecx, 2
mov rdi, rbp
call setRand@PLT
mov esi, DWORD PTR ZSTD_c_forceAttachDict[rip]
xor edx, edx
mov rdi, rbp
mov r8, rbx
mov ecx, 2
call setRand@PLT
xor esi, esi
mov edx, 1
mov rdi, rbx
call FUZZ_dataProducer_uint32Range@PLT
test rax, rax
je .L8
mov rax, QWORD PTR 40[rsp]
sub rax, QWORD PTR fs:40
jne .L6
add rsp, 48
.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
.L8:
.cfi_restore_state
mov rax, QWORD PTR 40[rsp]
sub rax, QWORD PTR fs:40
jne .L6
mov edx, DWORD PTR ZSTD_SRCSIZEHINT_MIN[rip]
lea ecx, [r12+r12]
mov r8, rbx
mov rdi, rbp
mov esi, DWORD PTR ZSTD_c_srcSizeHint[rip]
add rsp, 48
.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
jmp setRand@PLT
.L6:
.cfi_restore_state
call __stack_chk_fail@PLT
.cfi_endproc
.LFE0:
.size FUZZ_setRandomParameters, .-FUZZ_setRandomParameters
.globl ZSTD_c_windowLog
.bss
.align 4
.type ZSTD_c_windowLog, @object
.size ZSTD_c_windowLog, 4
ZSTD_c_windowLog:
.zero 4
.globl ZSTD_c_targetLength
.align 4
.type ZSTD_c_targetLength, @object
.size ZSTD_c_targetLength, 4
ZSTD_c_targetLength:
.zero 4
.globl ZSTD_c_strategy
.align 4
.type ZSTD_c_strategy, @object
.size ZSTD_c_strategy, 4
ZSTD_c_strategy:
.zero 4
.globl ZSTD_c_srcSizeHint
.align 4
.type ZSTD_c_srcSizeHint, @object
.size ZSTD_c_srcSizeHint, 4
ZSTD_c_srcSizeHint:
.zero 4
.globl ZSTD_c_searchLog
.align 4
.type ZSTD_c_searchLog, @object
.size ZSTD_c_searchLog, 4
ZSTD_c_searchLog:
.zero 4
.globl ZSTD_c_rsyncable
.align 4
.type ZSTD_c_rsyncable, @object
.size ZSTD_c_rsyncable, 4
ZSTD_c_rsyncable:
.zero 4
.globl ZSTD_c_nbWorkers
.align 4
.type ZSTD_c_nbWorkers, @object
.size ZSTD_c_nbWorkers, 4
ZSTD_c_nbWorkers:
.zero 4
.globl ZSTD_c_minMatch
.align 4
.type ZSTD_c_minMatch, @object
.size ZSTD_c_minMatch, 4
ZSTD_c_minMatch:
.zero 4
.globl ZSTD_c_literalCompressionMode
.align 4
.type ZSTD_c_literalCompressionMode, @object
.size ZSTD_c_literalCompressionMode, 4
ZSTD_c_literalCompressionMode:
.zero 4
.globl ZSTD_c_ldmMinMatch
.align 4
.type ZSTD_c_ldmMinMatch, @object
.size ZSTD_c_ldmMinMatch, 4
ZSTD_c_ldmMinMatch:
.zero 4
.globl ZSTD_c_ldmHashRateLog
.align 4
.type ZSTD_c_ldmHashRateLog, @object
.size ZSTD_c_ldmHashRateLog, 4
ZSTD_c_ldmHashRateLog:
.zero 4
.globl ZSTD_c_ldmHashLog
.align 4
.type ZSTD_c_ldmHashLog, @object
.size ZSTD_c_ldmHashLog, 4
ZSTD_c_ldmHashLog:
.zero 4
.globl ZSTD_c_ldmBucketSizeLog
.align 4
.type ZSTD_c_ldmBucketSizeLog, @object
.size ZSTD_c_ldmBucketSizeLog, 4
ZSTD_c_ldmBucketSizeLog:
.zero 4
.globl ZSTD_c_hashLog
.align 4
.type ZSTD_c_hashLog, @object
.size ZSTD_c_hashLog, 4
ZSTD_c_hashLog:
.zero 4
.globl ZSTD_c_forceMaxWindow
.align 4
.type ZSTD_c_forceMaxWindow, @object
.size ZSTD_c_forceMaxWindow, 4
ZSTD_c_forceMaxWindow:
.zero 4
.globl ZSTD_c_forceAttachDict
.align 4
.type ZSTD_c_forceAttachDict, @object
.size ZSTD_c_forceAttachDict, 4
ZSTD_c_forceAttachDict:
.zero 4
.globl ZSTD_c_enableLongDistanceMatching
.align 4
.type ZSTD_c_enableLongDistanceMatching, @object
.size ZSTD_c_enableLongDistanceMatching, 4
ZSTD_c_enableLongDistanceMatching:
.zero 4
.globl ZSTD_c_dictIDFlag
.align 4
.type ZSTD_c_dictIDFlag, @object
.size ZSTD_c_dictIDFlag, 4
ZSTD_c_dictIDFlag:
.zero 4
.globl ZSTD_c_contentSizeFlag
.align 4
.type ZSTD_c_contentSizeFlag, @object
.size ZSTD_c_contentSizeFlag, 4
ZSTD_c_contentSizeFlag:
.zero 4
.globl ZSTD_c_checksumFlag
.align 4
.type ZSTD_c_checksumFlag, @object
.size ZSTD_c_checksumFlag, 4
ZSTD_c_checksumFlag:
.zero 4
.globl ZSTD_c_chainLog
.align 4
.type ZSTD_c_chainLog, @object
.size ZSTD_c_chainLog, 4
ZSTD_c_chainLog:
.zero 4
.globl ZSTD_SRCSIZEHINT_MIN
.align 4
.type ZSTD_SRCSIZEHINT_MIN, @object
.size ZSTD_SRCSIZEHINT_MIN, 4
ZSTD_SRCSIZEHINT_MIN:
.zero 4
.globl ZSTD_LDM_MINMATCH_MIN
.align 4
.type ZSTD_LDM_MINMATCH_MIN, @object
.size ZSTD_LDM_MINMATCH_MIN, 4
ZSTD_LDM_MINMATCH_MIN:
.zero 4
.globl ZSTD_LDM_MINMATCH_MAX
.align 4
.type ZSTD_LDM_MINMATCH_MAX, @object
.size ZSTD_LDM_MINMATCH_MAX, 4
ZSTD_LDM_MINMATCH_MAX:
.zero 4
.globl ZSTD_LDM_HASHRATELOG_MIN
.align 4
.type ZSTD_LDM_HASHRATELOG_MIN, @object
.size ZSTD_LDM_HASHRATELOG_MIN, 4
ZSTD_LDM_HASHRATELOG_MIN:
.zero 4
.globl ZSTD_LDM_HASHRATELOG_MAX
.align 4
.type ZSTD_LDM_HASHRATELOG_MAX, @object
.size ZSTD_LDM_HASHRATELOG_MAX, 4
ZSTD_LDM_HASHRATELOG_MAX:
.zero 4
.globl ZSTD_LDM_BUCKETSIZELOG_MAX
.align 4
.type ZSTD_LDM_BUCKETSIZELOG_MAX, @object
.size ZSTD_LDM_BUCKETSIZELOG_MAX, 4
ZSTD_LDM_BUCKETSIZELOG_MAX:
.zero 4
.globl ZSTD_HASHLOG_MIN
.align 4
.type ZSTD_HASHLOG_MIN, @object
.size ZSTD_HASHLOG_MIN, 4
ZSTD_HASHLOG_MIN:
.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_zstd_helpers.c_FUZZ_setRandomParameters.c"
.text
.section .rodata.cst4,"aM",%progbits,4
.align 2
.LC0:
.word __stack_chk_guard
.text
.align 2
.global FUZZ_setRandomParameters
.syntax unified
.arm
.fpu softvfp
.type FUZZ_setRandomParameters, %function
FUZZ_setRandomParameters:
@ args = 0, pretend = 0, frame = 32
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r4, r0
mov r5, r2
sub sp, sp, #40
ldr r3, .L8
add r0, sp, #8
ldr r3, [r3]
str r3, [sp, #36]
mov r3,#0
mov r6, r1
bl FUZZ_randomCParams
ldr r3, .L8+4
ldr r2, [sp, #32]
ldr r1, [r3]
mov r0, r4
bl set
ldr r3, .L8+8
ldr r2, [sp, #28]
ldr r1, [r3]
mov r0, r4
bl set
ldr r3, .L8+12
ldr r2, [sp, #24]
ldr r1, [r3]
mov r0, r4
bl set
ldr r3, .L8+16
ldr r2, [sp, #20]
ldr r1, [r3]
mov r0, r4
bl set
ldr r3, .L8+20
ldr r2, [sp, #16]
ldr r1, [r3]
mov r0, r4
bl set
ldr r3, .L8+24
ldr r2, [sp, #12]
ldr r1, [r3]
mov r0, r4
bl set
ldr r3, .L8+28
ldr r2, [sp, #8]
ldr r1, [r3]
mov r0, r4
bl set
ldr r3, .L8+32
str r5, [sp]
ldr r1, [r3]
mov r2, #0
mov r3, #1
mov r0, r4
bl setRand
ldr r3, .L8+36
str r5, [sp]
ldr r1, [r3]
mov r2, #0
mov r3, #1
mov r0, r4
bl setRand
ldr r3, .L8+40
str r5, [sp]
ldr r1, [r3]
mov r2, #0
mov r3, #1
mov r0, r4
bl setRand
ldr r3, .L8+44
str r5, [sp]
ldr r1, [r3]
mov r2, #0
mov r3, #1
mov r0, r4
bl setRand
ldr r3, .L8+48
ldr r2, .L8+52
str r5, [sp]
ldr r1, [r3]
ldr r2, [r2]
mov r3, #16
mov r0, r4
bl setRand
ldr r3, .L8+56
ldr r2, .L8+60
ldr r1, .L8+64
str r5, [sp]
ldr r3, [r3]
ldr r2, [r2]
ldr r1, [r1]
mov r0, r4
bl setRand
ldr r2, .L8+68
ldr r3, .L8+72
str r5, [sp]
ldr r1, [r2]
ldr r3, [r3]
mov r2, #0
mov r0, r4
bl setRand
ldr r3, .L8+76
ldr r2, .L8+80
ldr r1, .L8+84
str r5, [sp]
ldr r3, [r3]
ldr r2, [r2]
ldr r1, [r1]
mov r0, r4
bl setRand
ldr r3, .L8+88
str r5, [sp]
ldr r1, [r3]
mov r2, #0
mov r3, #2
mov r0, r4
bl setRand
ldr r3, .L8+92
str r5, [sp]
ldr r1, [r3]
mov r2, #0
mov r3, #1
mov r0, r4
bl setRand
ldr r3, .L8+96
str r5, [sp]
ldr r1, [r3]
mov r2, #0
mov r3, #1
mov r0, r4
bl setRand
ldr r3, .L8+100
str r5, [sp]
ldr r1, [r3]
mov r2, #0
mov r3, #2
mov r0, r4
bl setRand
ldr r3, .L8+104
str r5, [sp]
ldr r1, [r3]
mov r2, #0
mov r3, #2
mov r0, r4
bl setRand
mov r0, r5
mov r2, #1
mov r1, #0
bl FUZZ_dataProducer_uint32Range
cmp r0, #0
beq .L6
.L1:
ldr r3, .L8
ldr r2, [r3]
ldr r3, [sp, #36]
eors r2, r3, r2
mov r3, #0
bne .L7
add sp, sp, #40
@ sp needed
pop {r4, r5, r6, pc}
.L6:
ldr r2, .L8+108
ldr r1, .L8+112
str r5, [sp]
mov r0, r4
ldr r2, [r2]
ldr r1, [r1]
lsl r3, r6, #1
bl setRand
b .L1
.L7:
bl __stack_chk_fail
.L9:
.align 2
.L8:
.word .LC0
.word ZSTD_c_windowLog
.word ZSTD_c_hashLog
.word ZSTD_c_chainLog
.word ZSTD_c_searchLog
.word ZSTD_c_minMatch
.word ZSTD_c_targetLength
.word ZSTD_c_strategy
.word ZSTD_c_contentSizeFlag
.word ZSTD_c_checksumFlag
.word ZSTD_c_dictIDFlag
.word ZSTD_c_enableLongDistanceMatching
.word ZSTD_c_ldmHashLog
.word ZSTD_HASHLOG_MIN
.word ZSTD_LDM_MINMATCH_MAX
.word ZSTD_LDM_MINMATCH_MIN
.word ZSTD_c_ldmMinMatch
.word ZSTD_c_ldmBucketSizeLog
.word ZSTD_LDM_BUCKETSIZELOG_MAX
.word ZSTD_LDM_HASHRATELOG_MAX
.word ZSTD_LDM_HASHRATELOG_MIN
.word ZSTD_c_ldmHashRateLog
.word ZSTD_c_nbWorkers
.word ZSTD_c_rsyncable
.word ZSTD_c_forceMaxWindow
.word ZSTD_c_literalCompressionMode
.word ZSTD_c_forceAttachDict
.word ZSTD_SRCSIZEHINT_MIN
.word ZSTD_c_srcSizeHint
.size FUZZ_setRandomParameters, .-FUZZ_setRandomParameters
.comm ZSTD_c_windowLog,4,4
.comm ZSTD_c_targetLength,4,4
.comm ZSTD_c_strategy,4,4
.comm ZSTD_c_srcSizeHint,4,4
.comm ZSTD_c_searchLog,4,4
.comm ZSTD_c_rsyncable,4,4
.comm ZSTD_c_nbWorkers,4,4
.comm ZSTD_c_minMatch,4,4
.comm ZSTD_c_literalCompressionMode,4,4
.comm ZSTD_c_ldmMinMatch,4,4
.comm ZSTD_c_ldmHashRateLog,4,4
.comm ZSTD_c_ldmHashLog,4,4
.comm ZSTD_c_ldmBucketSizeLog,4,4
.comm ZSTD_c_hashLog,4,4
.comm ZSTD_c_forceMaxWindow,4,4
.comm ZSTD_c_forceAttachDict,4,4
.comm ZSTD_c_enableLongDistanceMatching,4,4
.comm ZSTD_c_dictIDFlag,4,4
.comm ZSTD_c_contentSizeFlag,4,4
.comm ZSTD_c_checksumFlag,4,4
.comm ZSTD_c_chainLog,4,4
.comm ZSTD_SRCSIZEHINT_MIN,4,4
.comm ZSTD_LDM_MINMATCH_MIN,4,4
.comm ZSTD_LDM_MINMATCH_MAX,4,4
.comm ZSTD_LDM_HASHRATELOG_MIN,4,4
.comm ZSTD_LDM_HASHRATELOG_MAX,4,4
.comm ZSTD_LDM_BUCKETSIZELOG_MAX,4,4
.comm ZSTD_HASHLOG_MIN,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_zstd_helpers.c_set.c"
.intel_syntax noprefix
.text
.p2align 4
.type set, @function
set:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
call ZSTD_CCtx_setParameter@PLT
add rsp, 8
.cfi_def_cfa_offset 8
mov edi, eax
jmp FUZZ_ZASSERT@PLT
.cfi_endproc
.LFE0:
.size set, .-set
.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_zstd_helpers.c_set.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type set, %function
set:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
bl ZSTD_CCtx_setParameter
pop {r4, lr}
b FUZZ_ZASSERT
.size set, .-set
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_zstd_helpers.c_setRand.c"
.intel_syntax noprefix
.text
.p2align 4
.type setRand, @function
setRand:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
mov r12d, esi
mov esi, edx
mov edx, ecx
push rbp
.cfi_def_cfa_offset 24
.cfi_offset 6, -24
mov rbp, rdi
mov rdi, r8
sub rsp, 8
.cfi_def_cfa_offset 32
call FUZZ_dataProducer_uint32Range@PLT
add rsp, 8
.cfi_def_cfa_offset 24
mov esi, r12d
mov rdi, rbp
mov edx, eax
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
jmp set@PLT
.cfi_endproc
.LFE0:
.size setRand, .-setRand
.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_zstd_helpers.c_setRand.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type setRand, %function
setRand:
@ args = 4, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r4, r0
mov r5, r1
ldr r0, [sp, #16]
mov r1, r2
mov r2, r3
bl FUZZ_dataProducer_uint32Range
mov r1, r5
mov r2, r0
mov r0, r4
pop {r4, r5, r6, lr}
b set
.size setRand, .-setRand
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_config.c_config_get_level.c"
.intel_syntax noprefix
.text
.p2align 4
.globl config_get_level
.type config_get_level, @function
config_get_level:
.LFB0:
.cfi_startproc
endbr64
mov rcx, QWORD PTR [rdi]
mov rax, QWORD PTR 8[rdi]
test rcx, rcx
je .L2
mov rsi, QWORD PTR ZSTD_c_compressionLevel[rip]
xor edx, edx
jmp .L5
.p2align 4,,10
.p2align 3
.L3:
add rdx, 1
add rax, 16
cmp rcx, rdx
je .L2
.L5:
cmp QWORD PTR [rax], rsi
jne .L3
mov eax, DWORD PTR 8[rax]
ret
.p2align 4,,10
.p2align 3
.L2:
mov eax, DWORD PTR CONFIG_NO_LEVEL[rip]
ret
.cfi_endproc
.LFE0:
.size config_get_level, .-config_get_level
.globl ZSTD_c_compressionLevel
.bss
.align 8
.type ZSTD_c_compressionLevel, @object
.size ZSTD_c_compressionLevel, 8
ZSTD_c_compressionLevel:
.zero 8
.globl CONFIG_NO_LEVEL
.align 4
.type CONFIG_NO_LEVEL, @object
.size CONFIG_NO_LEVEL, 4
CONFIG_NO_LEVEL:
.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_config.c_config_get_level.c"
.text
.align 2
.global config_get_level
.syntax unified
.arm
.fpu softvfp
.type config_get_level, %function
config_get_level:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
ldr ip, [r0]
ldr r0, [r0, #4]
cmp ip, #0
beq .L11
ldr r1, .L17
str lr, [sp, #-4]!
mov r2, r0
mov r3, #0
ldr lr, [r1]
b .L5
.L3:
cmp ip, r3
add r2, r2, #8
beq .L16
.L5:
ldr r1, [r0, r3, lsl #3]
add r3, r3, #1
cmp r1, lr
bne .L3
ldr r0, [r2, #4]
ldr pc, [sp], #4
.L16:
ldr r3, .L17+4
ldr r0, [r3]
ldr pc, [sp], #4
.L11:
ldr r3, .L17+4
ldr r0, [r3]
bx lr
.L18:
.align 2
.L17:
.word ZSTD_c_compressionLevel
.word CONFIG_NO_LEVEL
.size config_get_level, .-config_get_level
.comm ZSTD_c_compressionLevel,4,4
.comm CONFIG_NO_LEVEL,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_config.c_config_get_zstd_params.c"
.intel_syntax noprefix
.text
.p2align 4
.globl config_get_zstd_params
.type config_get_zstd_params, @function
config_get_zstd_params:
.LFB0:
.cfi_startproc
endbr64
push r15
.cfi_def_cfa_offset 16
.cfi_offset 15, -16
mov r15, rcx
push r14
.cfi_def_cfa_offset 24
.cfi_offset 14, -24
mov r14d, edx
push r13
.cfi_def_cfa_offset 32
.cfi_offset 13, -32
mov r13, rsi
push r12
.cfi_def_cfa_offset 40
.cfi_offset 12, -40
mov r12, rdi
mov rdi, rsi
push rbp
.cfi_def_cfa_offset 48
.cfi_offset 6, -48
push rbx
.cfi_def_cfa_offset 56
.cfi_offset 3, -56
sub rsp, 72
.cfi_def_cfa_offset 128
mov rbp, QWORD PTR 8[rsi]
mov rbx, QWORD PTR 16[rsi]
mov rax, QWORD PTR fs:40
mov QWORD PTR 56[rsp], rax
xor eax, eax
call config_get_level@PLT
cmp DWORD PTR CONFIG_NO_LEVEL[rip], eax
mov esi, eax
mov eax, 3
cmove esi, eax
cmp QWORD PTR 0[r13], 0
je .L3
mov r14d, DWORD PTR ZSTD_CONTENTSIZE_UNKNOWN[rip]
.L3:
lea rdi, 16[rsp]
mov rcx, r15
mov edx, r14d
call ZSTD_getParams@PLT
mov eax, DWORD PTR 52[rsp]
mov r15d, DWORD PTR 16[rsp]
mov r14d, DWORD PTR 20[rsp]
mov r13d, DWORD PTR 24[rsp]
mov r11d, DWORD PTR 28[rsp]
mov r10d, DWORD PTR 32[rsp]
mov DWORD PTR 12[rsp], eax
mov r9d, DWORD PTR 36[rsp]
mov r8d, DWORD PTR 40[rsp]
mov esi, DWORD PTR 44[rsp]
mov edi, DWORD PTR 48[rsp]
test rbp, rbp
je .L4
mov rdx, rbx
lea rbp, [rbx+rbp*8]
lea rcx, .L7[rip]
.p2align 4,,10
.p2align 3
.L17:
mov eax, DWORD PTR 4[rdx]
mov ebx, DWORD PTR [rdx]
add eax, -128
cmp eax, 9
ja .L5
movsx rax, DWORD PTR [rcx+rax*4]
add rax, rcx
notrack jmp rax
.section .rodata
.align 4
.align 4
.L7:
.long .L16-.L7
.long .L15-.L7
.long .L14-.L7
.long .L13-.L7
.long .L12-.L7
.long .L11-.L7
.long .L10-.L7
.long .L9-.L7
.long .L8-.L7
.long .L6-.L7
.text
.p2align 4,,10
.p2align 3
.L9:
mov esi, ebx
.p2align 4,,10
.p2align 3
.L5:
add rdx, 8
cmp rdx, rbp
jne .L17
.L4:
mov eax, DWORD PTR 12[rsp]
mov DWORD PTR [r12], r15d
mov DWORD PTR 4[r12], r14d
mov DWORD PTR 8[r12], r13d
mov DWORD PTR 12[r12], r11d
mov DWORD PTR 16[r12], r10d
mov DWORD PTR 20[r12], r9d
mov DWORD PTR 24[r12], r8d
mov DWORD PTR 28[r12], esi
mov DWORD PTR 32[r12], edi
mov DWORD PTR 36[r12], eax
mov rax, QWORD PTR 56[rsp]
sub rax, QWORD PTR fs:40
jne .L25
add rsp, 72
.cfi_remember_state
.cfi_def_cfa_offset 56
mov rax, 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
ret
.p2align 4,,10
.p2align 3
.L10:
.cfi_restore_state
xor eax, eax
test ebx, ebx
sete al
mov DWORD PTR 12[rsp], eax
jmp .L5
.p2align 4,,10
.p2align 3
.L11:
mov r13d, ebx
jmp .L5
.p2align 4,,10
.p2align 3
.L12:
mov r10d, ebx
jmp .L5
.p2align 4,,10
.p2align 3
.L13:
mov r11d, ebx
jmp .L5
.p2align 4,,10
.p2align 3
.L14:
mov r8d, ebx
jmp .L5
.p2align 4,,10
.p2align 3
.L6:
mov r14d, ebx
jmp .L5
.p2align 4,,10
.p2align 3
.L8:
mov edi, ebx
jmp .L5
.p2align 4,,10
.p2align 3
.L15:
mov r9d, ebx
jmp .L5
.p2align 4,,10
.p2align 3
.L16:
mov r15d, ebx
jmp .L5
.L25:
call __stack_chk_fail@PLT
.cfi_endproc
.LFE0:
.size config_get_zstd_params, .-config_get_zstd_params
.globl ZSTD_CONTENTSIZE_UNKNOWN
.bss
.align 4
.type ZSTD_CONTENTSIZE_UNKNOWN, @object
.size ZSTD_CONTENTSIZE_UNKNOWN, 4
ZSTD_CONTENTSIZE_UNKNOWN:
.zero 4
.globl CONFIG_NO_LEVEL
.align 4
.type CONFIG_NO_LEVEL, @object
.size CONFIG_NO_LEVEL, 4
CONFIG_NO_LEVEL:
.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_config.c_config_get_zstd_params.c"
.text
.section .rodata.cst4,"aM",%progbits,4
.align 2
.LC0:
.word __stack_chk_guard
.text
.align 2
.global config_get_zstd_params
.syntax unified
.arm
.fpu softvfp
.type config_get_zstd_params, %function
config_get_zstd_params:
@ args = 0, pretend = 0, frame = 56
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, r9, r10, fp, lr}
mov r9, r3
ldr r3, .L29
sub sp, sp, #60
mov r7, r1
mov r5, r0
mov r0, r1
mov r8, r2
ldr r6, [r1, #4]
ldr r3, [r3]
str r3, [sp, #52]
mov r3,#0
ldr r4, [r1, #8]
bl config_get_level
ldr r2, .L29+4
ldr r3, [r7]
ldr r1, [r2]
cmp r1, r0
movne r1, r0
moveq r1, #3
cmp r3, #0
ldrne r3, .L29+8
add r0, sp, #12
ldrne r8, [r3]
mov r3, r9
mov r2, r8
bl ZSTD_getParams
ldr r3, [sp, #44]
cmp r6, #0
ldr fp, [sp, #12]
ldr r10, [sp, #16]
ldr r9, [sp, #20]
ldr r8, [sp, #24]
ldr r7, [sp, #28]
ldr lr, [sp, #32]
ldr ip, [sp, #36]
ldr r0, [sp, #40]
ldr r1, [sp, #48]
str r3, [sp, #4]
beq .L4
mov r3, r4
add r6, r4, r6, lsl #3
.L17:
ldr r2, [r3, #4]
ldr r4, [r3]
sub r2, r2, #128
cmp r2, #9
ldrls pc, [pc, r2, asl #2]
b .L5
.L7:
.word .L16
.word .L15
.word .L14
.word .L13
.word .L12
.word .L11
.word .L10
.word .L9
.word .L8
.word .L6
.L9:
mov r0, r4
.L5:
add r3, r3, #8
cmp r3, r6
bne .L17
.L4:
ldr r3, [sp, #4]
str fp, [r5]
str r3, [r5, #32]
ldr r3, .L29
str r10, [r5, #4]
str r9, [r5, #8]
str r8, [r5, #12]
str r7, [r5, #16]
str lr, [r5, #20]
str ip, [r5, #24]
str r0, [r5, #28]
str r1, [r5, #36]
ldr r2, [r3]
ldr r3, [sp, #52]
eors r2, r3, r2
mov r3, #0
bne .L28
mov r0, r5
add sp, sp, #60
@ sp needed
pop {r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L11:
mov r9, r4
b .L5
.L10:
clz r1, r4
lsr r1, r1, #5
b .L5
.L12:
mov r7, r4
b .L5
.L13:
mov r8, r4
b .L5
.L14:
mov ip, r4
b .L5
.L6:
mov r10, r4
b .L5
.L8:
str r4, [sp, #4]
b .L5
.L15:
mov lr, r4
b .L5
.L16:
mov fp, r4
b .L5
.L28:
bl __stack_chk_fail
.L30:
.align 2
.L29:
.word .LC0
.word CONFIG_NO_LEVEL
.word ZSTD_CONTENTSIZE_UNKNOWN
.size config_get_zstd_params, .-config_get_zstd_params
.comm ZSTD_CONTENTSIZE_UNKNOWN,4,4
.comm CONFIG_NO_LEVEL,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_config.c_config_skip_data.c"
.intel_syntax noprefix
.text
.p2align 4
.globl config_skip_data
.type config_skip_data, @function
config_skip_data:
.LFB0:
.cfi_startproc
endbr64
cmp QWORD PTR [rdi], 0
jne .L10
xor eax, eax
ret
.p2align 4,,10
.p2align 3
.L10:
sub rsp, 8
.cfi_def_cfa_offset 16
mov rdi, rsi
call data_has_dict@PLT
test eax, eax
sete al
add rsp, 8
.cfi_def_cfa_offset 8
movzx eax, al
ret
.cfi_endproc
.LFE0:
.size config_skip_data, .-config_skip_data
.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_config.c_config_skip_data.c"
.text
.align 2
.global config_skip_data
.syntax unified
.arm
.fpu softvfp
.type config_skip_data, %function
config_skip_data:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
ldr r0, [r0]
cmp r0, #0
bxeq lr
mov r0, r1
push {r4, lr}
bl data_has_dict
clz r0, r0
lsr r0, r0, #5
pop {r4, pc}
.size config_skip_data, .-config_skip_data
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_data.c_cat2.c"
.intel_syntax noprefix
.text
.p2align 4
.type cat2, @function
cat2:
.LFB0:
.cfi_startproc
endbr64
xor edx, edx
jmp cat3@PLT
.cfi_endproc
.LFE0:
.size cat2, .-cat2
.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_data.c_cat2.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type cat2, %function
cat2:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
mov r2, #0
b cat3
.size cat2, .-cat2
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_data.c_cat3.c"
.intel_syntax noprefix
.text
.p2align 4
.type cat3, @function
cat3:
.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, rsi
push r12
.cfi_def_cfa_offset 40
.cfi_offset 12, -40
mov r12, rdx
push rbp
.cfi_def_cfa_offset 48
.cfi_offset 6, -48
push rbx
.cfi_def_cfa_offset 56
.cfi_offset 3, -56
sub rsp, 24
.cfi_def_cfa_offset 80
call strlen@PLT
mov rdi, r13
mov rbx, rax
call strlen@PLT
lea rbp, [rbx+rax]
test r12, r12
je .L2
mov rdi, r12
call strlen@PLT
add rax, rbp
lea rdi, 1[rax]
mov QWORD PTR 8[rsp], rax
call malloc@PLT
test rax, rax
je .L6
mov r15, rax
mov rsi, r14
mov rdi, rax
call strcpy@PLT
lea rdi, [r15+rbx]
mov rsi, r13
call strcpy@PLT
lea rdi, [r15+rbp]
mov rsi, r12
call strcpy@PLT
.L5:
mov rdi, r15
call strlen@PLT
xor edi, edi
cmp rax, QWORD PTR 8[rsp]
sete dil
call assert@PLT
.L1:
add rsp, 24
.cfi_remember_state
.cfi_def_cfa_offset 56
mov rax, r15
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
.p2align 4,,10
.p2align 3
.L6:
.cfi_restore_state
xor r15d, r15d
jmp .L1
.p2align 4,,10
.p2align 3
.L2:
lea rdi, 1[rbp]
call malloc@PLT
mov r15, rax
test rax, rax
je .L6
mov rsi, r14
mov rdi, r15
call strcpy@PLT
lea rdi, [r15+rbx]
mov rsi, r13
call strcpy@PLT
mov QWORD PTR 8[rsp], rbp
jmp .L5
.cfi_endproc
.LFE0:
.size cat3, .-cat3
.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_data.c_cat3.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type cat3, %function
cat3:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, r9, r10, fp, lr}
sub sp, sp, #12
mov r7, r1
mov r6, r2
mov r9, r0
bl strlen
mov r5, r0
mov r0, r7
bl strlen
cmp r6, #0
mov r8, r0
add r10, r5, r0
beq .L2
mov r0, r6
bl strlen
add fp, r0, r10
str r0, [sp, #4]
add r0, fp, #1
bl malloc
subs r4, r0, #0
beq .L6
mov r1, r9
mov r2, r5
bl memcpy
mov r1, r7
add r2, r8, #1
add r0, r4, r5
bl memcpy
ldr r3, [sp, #4]
mov r1, r6
add r2, r3, #1
add r0, r4, r10
bl memcpy
.L5:
mov r0, r4
bl strlen
sub r0, r0, fp
clz r0, r0
lsr r0, r0, #5
bl assert
mov r0, r4
add sp, sp, #12
@ sp needed
pop {r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L2:
add r0, r10, #1
bl malloc
subs r4, r0, #0
beq .L6
mov r1, r9
mov r2, r5
bl memcpy
mov r1, r7
add r2, r8, #1
add r0, r4, r5
mov fp, r10
bl memcpy
b .L5
.L6:
mov r4, #0
mov r0, r4
add sp, sp, #12
@ sp needed
pop {r4, r5, r6, r7, r8, r9, r10, fp, pc}
.size cat3, .-cat3
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_data.c_curl_data_create.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "'"
.LC1:
.string "zstd -dqfo '"
.LC2:
.string "w"
.LC3:
.string "zstd -dc | tar -x -C '"
.text
.p2align 4
.type curl_data_create, @function
curl_data_create:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
pxor xmm0, xmm0
mov r12, rdi
push rbp
.cfi_def_cfa_offset 24
.cfi_offset 6, -24
mov rbp, rsi
xor esi, esi
push rbx
.cfi_def_cfa_offset 32
.cfi_offset 3, -32
mov rbx, rdx
sub rsp, 32
.cfi_def_cfa_offset 64
mov rax, QWORD PTR fs:40
mov QWORD PTR 24[rsp], rax
xor eax, eax
lea rdi, 16[rsp]
movups XMMWORD PTR [rsp], xmm0
mov QWORD PTR 16[rsp], 0
call XXH64_reset@PLT
mov edi, DWORD PTR g_data_dir[rip]
call UTIL_isDirectory@PLT
mov edi, eax
call assert@PLT
cmp QWORD PTR data_type_file[rip], rbx
lea rdx, .LC0[rip]
je .L11
mov esi, DWORD PTR g_data_dir[rip]
lea rdi, .LC3[rip]
call cat3@PLT
mov rbp, rax
test rax, rax
je .L12
.L6:
lea rsi, .LC2[rip]
mov rdi, rbp
call popen@PLT
mov rdi, rbp
mov QWORD PTR 8[rsp], rax
call free@PLT
cmp QWORD PTR 8[rsp], 0
je .L13
.L7:
mov rax, QWORD PTR 16[rsp]
movdqu xmm1, XMMWORD PTR [rsp]
mov QWORD PTR 16[r12], rax
movups XMMWORD PTR [r12], xmm1
.L1:
mov rax, QWORD PTR 24[rsp]
sub rax, QWORD PTR fs:40
jne .L14
add rsp, 32
.cfi_remember_state
.cfi_def_cfa_offset 32
mov rax, r12
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
.L13:
.cfi_restore_state
mov rax, QWORD PTR errno[rip]
mov QWORD PTR [rsp], rax
jmp .L7
.p2align 4,,10
.p2align 3
.L12:
mov rax, QWORD PTR ENOMEM[rip]
mov QWORD PTR [rsp], rax
mov rax, QWORD PTR 16[rsp]
movdqu xmm2, XMMWORD PTR [rsp]
mov QWORD PTR 16[r12], rax
movups XMMWORD PTR [r12], xmm2
jmp .L1
.p2align 4,,10
.p2align 3
.L11:
mov esi, DWORD PTR 0[rbp]
lea rdi, .LC1[rip]
call cat3@PLT
mov rbp, rax
test rax, rax
jne .L6
mov rax, QWORD PTR ENOMEM[rip]
mov QWORD PTR [rsp], rax
mov rax, QWORD PTR 16[rsp]
movdqu xmm3, XMMWORD PTR [rsp]
mov QWORD PTR 16[r12], rax
movups XMMWORD PTR [r12], xmm3
jmp .L1
.L14:
call __stack_chk_fail@PLT
.cfi_endproc
.LFE0:
.size curl_data_create, .-curl_data_create
.globl g_data_dir
.bss
.align 4
.type g_data_dir, @object
.size g_data_dir, 4
g_data_dir:
.zero 4
.globl errno
.align 8
.type errno, @object
.size errno, 8
errno:
.zero 8
.globl data_type_file
.align 8
.type data_type_file, @object
.size data_type_file, 8
data_type_file:
.zero 8
.globl ENOMEM
.align 8
.type ENOMEM, @object
.size ENOMEM, 8
ENOMEM:
.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_data.c_curl_data_create.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "'\000"
.align 2
.LC1:
.ascii "zstd -dqfo '\000"
.align 2
.LC2:
.ascii "w\000"
.align 2
.LC3:
.ascii "zstd -dc | tar -x -C '\000"
.section .rodata.cst4,"aM",%progbits,4
.align 2
.LC4:
.word __stack_chk_guard
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type curl_data_create, %function
curl_data_create:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, lr}
mov r3, #0
sub sp, sp, #16
mov r5, sp
mov r6, r2
ldr r8, .L14
ldr r2, .L14+4
mov r7, r1
mov r4, r0
mov r1, r3
add r0, sp, #8
ldr r2, [r2]
str r2, [sp, #12]
mov r2,#0
str r3, [sp]
str r3, [r5, #4]
str r3, [r5, #8]
bl XXH64_reset
ldr r0, [r8]
bl UTIL_isDirectory
bl assert
ldr r3, .L14+8
ldr r3, [r3]
cmp r3, r6
beq .L12
ldr r1, [r8]
ldr r2, .L14+12
ldr r0, .L14+16
bl cat3
subs r6, r0, #0
beq .L10
.L6:
ldr r1, .L14+20
bl popen
mov r3, r0
mov r0, r6
str r3, [sp, #4]
bl free
ldr r3, [sp, #4]
cmp r3, #0
ldreq r3, .L14+24
ldreq r3, [r3]
streq r3, [sp]
ldm r5, {r0, r1, r2}
stm r4, {r0, r1, r2}
.L1:
ldr r3, .L14+4
ldr r2, [r3]
ldr r3, [sp, #12]
eors r2, r3, r2
mov r3, #0
bne .L13
mov r0, r4
add sp, sp, #16
@ sp needed
pop {r4, r5, r6, r7, r8, pc}
.L12:
ldr r1, [r7]
ldr r2, .L14+12
ldr r0, .L14+28
bl cat3
subs r6, r0, #0
bne .L6
.L10:
ldr r3, .L14+32
ldr r3, [r3]
str r3, [sp]
ldm r5, {r0, r1, r2}
stm r4, {r0, r1, r2}
b .L1
.L13:
bl __stack_chk_fail
.L15:
.align 2
.L14:
.word g_data_dir
.word .LC4
.word data_type_file
.word .LC0
.word .LC3
.word .LC2
.word errno
.word .LC1
.word ENOMEM
.size curl_data_create, .-curl_data_create
.comm g_data_dir,4,4
.comm errno,4,4
.comm data_type_file,4,4
.comm ENOMEM,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_data.c_curl_data_free.c"
.intel_syntax noprefix
.text
.p2align 4
.type curl_data_free, @function
curl_data_free:
.LFB0:
.cfi_startproc
endbr64
jmp pclose@PLT
.cfi_endproc
.LFE0:
.size curl_data_free, .-curl_data_free
.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_data.c_curl_data_free.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type curl_data_free, %function
curl_data_free:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
b pclose
.size curl_data_free, .-curl_data_free
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_data.c_curl_download_datum.c"
.intel_syntax noprefix
.text
.p2align 4
.type curl_download_datum, @function
curl_download_datum:
.LFB0:
.cfi_startproc
endbr64
push r13
.cfi_def_cfa_offset 16
.cfi_offset 13, -16
mov r13, rdi
push r12
.cfi_def_cfa_offset 24
.cfi_offset 12, -24
push rbp
.cfi_def_cfa_offset 32
.cfi_offset 6, -32
mov edx, DWORD PTR 4[rsi]
mov rbp, rsi
add rsi, 8
call curl_download_resource@PLT
mov r12d, eax
test eax, eax
je .L8
.L1:
mov eax, r12d
pop rbp
.cfi_remember_state
.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
.L8:
.cfi_restore_state
mov rdi, rbp
call data_has_dict@PLT
test rax, rax
je .L1
mov edx, DWORD PTR data_type_file[rip]
mov rsi, rbp
mov rdi, r13
pop rbp
.cfi_def_cfa_offset 24
pop r12
.cfi_def_cfa_offset 16
pop r13
.cfi_def_cfa_offset 8
jmp curl_download_resource@PLT
.cfi_endproc
.LFE0:
.size curl_download_datum, .-curl_download_datum
.globl data_type_file
.bss
.align 4
.type data_type_file, @object
.size data_type_file, 4
data_type_file:
.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_data.c_curl_download_datum.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type curl_download_datum, %function
curl_download_datum:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
ldr r2, [r1, #4]
mov r4, r1
add r1, r1, #8
mov r5, r0
bl curl_download_resource
cmp r0, #0
popne {r4, r5, r6, pc}
mov r0, r4
bl data_has_dict
cmp r0, #0
popeq {r4, r5, r6, pc}
ldr r3, .L8
mov r1, r4
mov r0, r5
pop {r4, r5, r6, lr}
ldr r2, [r3]
b curl_download_resource
.L9:
.align 2
.L8:
.word data_type_file
.size curl_download_datum, .-curl_download_datum
.comm data_type_file,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_data.c_curl_write.c"
.intel_syntax noprefix
.text
.p2align 4
.type curl_write, @function
curl_write:
.LFB0:
.cfi_startproc
endbr64
push r13
.cfi_def_cfa_offset 16
.cfi_offset 13, -16
mov r13, rdi
push r12
.cfi_def_cfa_offset 24
.cfi_offset 12, -24
push rbp
.cfi_def_cfa_offset 32
.cfi_offset 6, -32
mov rbp, rcx
push rbx
.cfi_def_cfa_offset 40
.cfi_offset 3, -40
mov rbx, rsi
sub rsp, 8
.cfi_def_cfa_offset 48
mov ecx, DWORD PTR 4[rcx]
call fwrite@PLT
mov rsi, r13
mov rdi, rbp
imul rbx, rax
mov r12, rax
mov rdx, rbx
call XXH64_update@PLT
add rsp, 8
.cfi_def_cfa_offset 40
mov rax, r12
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
.cfi_endproc
.LFE0:
.size curl_write, .-curl_write
.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_data.c_curl_write.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type curl_write, %function
curl_write:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, lr}
mov r5, r3
ldr r3, [r3, #4]
mov r6, r1
mov r7, r0
bl fwrite
mov r4, r0
mov r1, r7
mov r0, r5
mul r2, r4, r6
bl XXH64_update
mov r0, r4
pop {r4, r5, r6, r7, r8, pc}
.size curl_write, .-curl_write
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_data.c_data_buffer_compare.c"
.intel_syntax noprefix
.text
.p2align 4
.globl data_buffer_compare
.type data_buffer_compare, @function
data_buffer_compare:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rdi
mov rdi, rsi
mov rsi, rcx
push rbx
.cfi_def_cfa_offset 24
.cfi_offset 3, -24
mov rbx, rdx
sub rsp, 8
.cfi_def_cfa_offset 32
cmp rbp, rdx
cmovbe rdx, rbp
call memcmp@PLT
test eax, eax
jne .L1
cmp rbp, rbx
jb .L3
je .L1
seta dil
movzx edi, dil
call assert@PLT
mov eax, 1
.L1:
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
pop rbx
.cfi_def_cfa_offset 16
pop rbp
.cfi_def_cfa_offset 8
ret
.L3:
.cfi_restore_state
mov eax, -1
jmp .L1
.cfi_endproc
.LFE0:
.size data_buffer_compare, .-data_buffer_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_data.c_data_buffer_compare.c"
.text
.align 2
.global data_buffer_compare
.syntax unified
.arm
.fpu softvfp
.type data_buffer_compare, %function
data_buffer_compare:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, lr}
sub sp, sp, #20
mov r4, r2
mov ip, sp
add lr, sp, #16
stmdb lr, {r0, r1}
ldr r5, [sp, #8]
stm ip, {r2, r3}
cmp r5, r2
movcc r2, r5
movcs r2, r4
mov r1, r3
ldr r0, [sp, #12]
bl memcmp
cmp r0, #0
bne .L1
cmp r5, r4
bcc .L3
beq .L1
movhi r0, #1
movls r0, #0
bl assert
mov r0, #1
.L1:
add sp, sp, #20
@ sp needed
pop {r4, r5, pc}
.L3:
mvn r0, #0
b .L1
.size data_buffer_compare, .-data_buffer_compare
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_data.c_data_buffer_create.c"
.intel_syntax noprefix
.text
.p2align 4
.globl data_buffer_create
.type data_buffer_create, @function
data_buffer_create:
.LFB0:
.cfi_startproc
endbr64
push rbx
.cfi_def_cfa_offset 16
.cfi_offset 3, -16
mov rbx, rdi
call malloc@PLT
xor edx, edx
test rax, rax
cmove rbx, rdx
cmovne rdx, rax
mov rax, rbx
pop rbx
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size data_buffer_create, .-data_buffer_create
.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_data.c_data_buffer_create.c"
.text
.align 2
.global data_buffer_create
.syntax unified
.arm
.fpu softvfp
.type data_buffer_create, %function
data_buffer_create:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r4, r0
mov r0, r1
mov r5, r1
bl malloc
cmp r0, #0
streq r0, [r4]
str r0, [r4, #4]
strne r5, [r4]
mov r0, r4
pop {r4, r5, r6, pc}
.size data_buffer_create, .-data_buffer_create
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_data.c_data_buffer_free.c"
.intel_syntax noprefix
.text
.p2align 4
.globl data_buffer_free
.type data_buffer_free, @function
data_buffer_free:
.LFB0:
.cfi_startproc
endbr64
jmp free@PLT
.cfi_endproc
.LFE0:
.size data_buffer_free, .-data_buffer_free
.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_data.c_data_buffer_free.c"
.text
.align 2
.global data_buffer_free
.syntax unified
.arm
.fpu softvfp
.type data_buffer_free, %function
data_buffer_free:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
b free
.size data_buffer_free, .-data_buffer_free
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_data.c_data_buffer_read.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "unknown size for %s\n"
.LC1:
.string "malloc failed\n"
.LC2:
.string "rb"
.LC3:
.string "file null\n"
.LC4:
.string "read %zu != %zu\n"
.text
.p2align 4
.globl data_buffer_read
.type data_buffer_read, @function
data_buffer_read:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
pxor xmm0, xmm0
mov r12, rdi
mov rdi, rsi
push rbp
.cfi_def_cfa_offset 24
.cfi_offset 6, -24
mov rbp, rsi
push rbx
.cfi_def_cfa_offset 32
.cfi_offset 3, -32
sub rsp, 32
.cfi_def_cfa_offset 64
mov rax, QWORD PTR fs:40
mov QWORD PTR 24[rsp], rax
xor eax, eax
movups XMMWORD PTR [rsp], xmm0
mov QWORD PTR 16[rsp], 0
call UTIL_getFileSize@PLT
test rax, rax
je .L11
mov rdi, rax
mov rbx, rax
call malloc@PLT
mov QWORD PTR 16[rsp], rax
test rax, rax
je .L12
mov rdi, rbp
lea rsi, .LC2[rip]
mov QWORD PTR [rsp], rbx
call fopen@PLT
mov rbp, rax
test rax, rax
je .L13
mov rdx, QWORD PTR [rsp]
mov rdi, QWORD PTR 16[rsp]
mov rcx, rax
mov esi, 1
call fread@PLT
mov rdi, rbp
mov QWORD PTR 8[rsp], rax
call fclose@PLT
mov rdx, QWORD PTR 8[rsp]
mov rcx, QWORD PTR [rsp]
cmp rdx, rcx
jne .L14
mov rax, QWORD PTR 16[rsp]
movdqu xmm2, XMMWORD PTR [rsp]
mov QWORD PTR 16[r12], rax
movups XMMWORD PTR [r12], xmm2
.L1:
mov rax, QWORD PTR 24[rsp]
sub rax, QWORD PTR fs:40
jne .L15
add rsp, 32
.cfi_remember_state
.cfi_def_cfa_offset 32
mov rax, r12
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
.L11:
.cfi_restore_state
mov edi, DWORD PTR stderr[rip]
mov rdx, rbp
lea rsi, .LC0[rip]
xor eax, eax
call fprintf@PLT
movdqu xmm1, XMMWORD PTR [rsp]
mov rax, QWORD PTR 16[rsp]
movups XMMWORD PTR [r12], xmm1
mov QWORD PTR 16[r12], rax
jmp .L1
.p2align 4,,10
.p2align 3
.L13:
mov edi, DWORD PTR stderr[rip]
lea rsi, .LC3[rip]
xor eax, eax
call fprintf@PLT
.L6:
mov rdi, QWORD PTR 16[rsp]
call free@PLT
mov rdi, rsp
mov edx, 24
xor esi, esi
call memset@PLT
movdqu xmm3, XMMWORD PTR [rsp]
mov rax, QWORD PTR 16[rsp]
movups XMMWORD PTR [r12], xmm3
mov QWORD PTR 16[r12], rax
jmp .L1
.p2align 4,,10
.p2align 3
.L14:
mov edi, DWORD PTR stderr[rip]
lea rsi, .LC4[rip]
xor eax, eax
call fprintf@PLT
jmp .L6
.p2align 4,,10
.p2align 3
.L12:
mov edi, DWORD PTR stderr[rip]
lea rsi, .LC1[rip]
call fprintf@PLT
movdqu xmm4, XMMWORD PTR [rsp]
mov rax, QWORD PTR 16[rsp]
movups XMMWORD PTR [r12], xmm4
mov QWORD PTR 16[r12], rax
jmp .L1
.L15:
call __stack_chk_fail@PLT
.cfi_endproc
.LFE0:
.size data_buffer_read, .-data_buffer_read
.globl stderr
.bss
.align 4
.type stderr, @object
.size stderr, 4
stderr:
.zero 4
.globl UTIL_FILESIZE_UNKNOWN
.section .rodata
.align 8
.type UTIL_FILESIZE_UNKNOWN, @object
.size UTIL_FILESIZE_UNKNOWN, 8
UTIL_FILESIZE_UNKNOWN:
.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_data.c_data_buffer_read.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "unknown size for %s\012\000"
.align 2
.LC1:
.ascii "malloc failed\012\000"
.align 2
.LC2:
.ascii "rb\000"
.align 2
.LC3:
.ascii "file null\012\000"
.align 2
.LC4:
.ascii "read %zu != %zu\012\000"
.section .rodata.cst4,"aM",%progbits,4
.align 2
.LC5:
.word __stack_chk_guard
.text
.align 2
.global data_buffer_read
.syntax unified
.arm
.fpu softvfp
.type data_buffer_read, %function
data_buffer_read:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, r9, lr}
sub sp, sp, #20
mov r3, #0
mov r6, sp
ldr r2, .L16
mov r4, r0
mov r0, r1
ldr r2, [r2]
str r2, [sp, #12]
mov r2,#0
mov r7, r1
str r3, [sp]
str r3, [r6, #4]
str r3, [r6, #8]
bl UTIL_getFileSize
ldr r3, .L16+4
ldr r3, [r3]
cmp r3, r0
beq .L11
mov r5, r0
bl malloc
cmp r0, #0
mov r8, r0
str r0, [sp, #8]
beq .L12
mov r0, r7
ldr r1, .L16+8
str r5, [sp]
bl fopen
subs r7, r0, #0
beq .L13
mov r3, r7
mov r2, r5
mov r1, #1
mov r0, r8
bl fread
mov r9, r0
mov r0, r7
str r9, [sp, #4]
bl fclose
cmp r9, r5
bne .L14
ldm r6, {r0, r1, r2}
stm r4, {r0, r1, r2}
.L1:
ldr r3, .L16
ldr r2, [r3]
ldr r3, [sp, #12]
eors r2, r3, r2
mov r3, #0
bne .L15
mov r0, r4
add sp, sp, #20
@ sp needed
pop {r4, r5, r6, r7, r8, r9, pc}
.L14:
ldr r1, .L16+12
mov r3, r5
ldr r0, [r1]
mov r2, r9
ldr r1, .L16+16
bl fprintf
.L6:
mov r0, r8
bl free
mov r3, #0
str r3, [sp]
str r3, [r4]
str r3, [r6, #4]
str r3, [r6, #8]
str r3, [r4, #4]
str r3, [r4, #8]
b .L1
.L11:
ldr r3, .L16+12
mov r2, r7
ldr r1, .L16+20
ldr r0, [r3]
bl fprintf
ldm r6, {r0, r1, r2}
stm r4, {r0, r1, r2}
b .L1
.L13:
ldr r3, .L16+12
ldr r1, .L16+24
ldr r0, [r3]
bl fprintf
b .L6
.L15:
bl __stack_chk_fail
.L12:
ldr r3, .L16+12
ldr r1, .L16+28
ldr r0, [r3]
bl fprintf
ldm r6, {r0, r1, r2}
stm r4, {r0, r1, r2}
b .L1
.L17:
.align 2
.L16:
.word .LC5
.word UTIL_FILESIZE_UNKNOWN
.word .LC2
.word stderr
.word .LC4
.word .LC0
.word .LC3
.word .LC1
.size data_buffer_read, .-data_buffer_read
.comm stderr,4,4
.comm UTIL_FILESIZE_UNKNOWN,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_data.c_data_buffers_free.c"
.intel_syntax noprefix
.text
.p2align 4
.globl data_buffers_free
.type data_buffers_free, @function
data_buffers_free:
.LFB0:
.cfi_startproc
endbr64
jmp free@PLT
.cfi_endproc
.LFE0:
.size data_buffers_free, .-data_buffers_free
.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_data.c_data_buffers_free.c"
.text
.align 2
.global data_buffers_free
.syntax unified
.arm
.fpu softvfp
.type data_buffers_free, %function
data_buffers_free:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
b free
.size data_buffers_free, .-data_buffers_free
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_data.c_data_create_paths.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "/"
.LC1:
.string ".dict"
.text
.p2align 4
.type data_create_paths, @function
data_create_paths:
.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
mov r12, rsi
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, 8
.cfi_def_cfa_offset 48
test rdi, rdi
setne dil
movzx edi, dil
call assert@PLT
mov rbx, QWORD PTR 0[rbp]
test rbx, rbx
je .L2
lea r13, .LC0[rip]
jmp .L6
.p2align 4,,10
.p2align 3
.L5:
mov rbx, QWORD PTR 8[rbp]
add rbp, 8
test rbx, rbx
je .L2
.L6:
mov edx, DWORD PTR 16[rbx]
mov rsi, r13
mov rdi, r12
call cat3@PLT
mov QWORD PTR 8[rbx], rax
test rax, rax
je .L15
mov rdi, rbx
call data_has_dict@PLT
test rax, rax
je .L5
mov rdi, QWORD PTR 8[rbx]
lea rsi, .LC1[rip]
call cat2@PLT
mov QWORD PTR [rbx], rax
test rax, rax
jne .L5
.L15:
mov eax, DWORD PTR ENOMEM[rip]
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
.L2:
.cfi_restore_state
add rsp, 8
.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
.cfi_endproc
.LFE0:
.size data_create_paths, .-data_create_paths
.globl ENOMEM
.bss
.align 4
.type ENOMEM, @object
.size ENOMEM, 4
ENOMEM:
.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_data.c_data_create_paths.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "/\000"
.align 2
.LC1:
.ascii ".dict\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type data_create_paths, %function
data_create_paths:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, lr}
mov r5, r0
subs r0, r0, #0
movne r0, #1
mov r6, r1
bl assert
ldr r4, [r5]
cmp r4, #0
beq .L2
ldr r7, .L17
ldr r8, .L17+4
b .L6
.L5:
ldr r4, [r5, #4]!
cmp r4, #0
beq .L2
.L6:
mov r1, r7
mov r0, r6
ldr r2, [r4, #8]
bl cat3
cmp r0, #0
str r0, [r4, #4]
beq .L15
mov r0, r4
bl data_has_dict
cmp r0, #0
beq .L5
mov r1, r8
ldr r0, [r4, #4]
bl cat2
cmp r0, #0
str r0, [r4]
bne .L5
.L15:
ldr r3, .L17+8
ldr r0, [r3]
pop {r4, r5, r6, r7, r8, pc}
.L2:
mov r0, #0
pop {r4, r5, r6, r7, r8, pc}
.L18:
.align 2
.L17:
.word .LC0
.word .LC1
.word ENOMEM
.size data_create_paths, .-data_create_paths
.comm ENOMEM,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_data.c_data_filenames_free.c"
.intel_syntax noprefix
.text
.p2align 4
.globl data_filenames_free
.type data_filenames_free, @function
data_filenames_free:
.LFB0:
.cfi_startproc
endbr64
mov rsi, rdi
sar rdi, 32
jmp UTIL_freeFileList@PLT
.cfi_endproc
.LFE0:
.size data_filenames_free, .-data_filenames_free
.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_data.c_data_filenames_free.c"
.text
.align 2
.global data_filenames_free
.syntax unified
.arm
.fpu softvfp
.type data_filenames_free, %function
data_filenames_free:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
sub sp, sp, #8
add r3, sp, #8
stmdb r3, {r0, r1}
ldr r1, [sp]
ldr r0, [sp, #4]
add sp, sp, #8
@ sp needed
b UTIL_freeFileList
.size data_filenames_free, .-data_filenames_free
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_data.c_data_filenames_get.c"
.intel_syntax noprefix
.text
.p2align 4
.globl data_filenames_get
.type data_filenames_get, @function
data_filenames_get:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
pxor xmm0, xmm0
mov r12, rdi
xor r8d, r8d
sub rsp, 48
.cfi_def_cfa_offset 64
mov rax, QWORD PTR fs:40
mov QWORD PTR 40[rsp], rax
xor eax, eax
mov rax, QWORD PTR [rsi]
lea rcx, 16[rsp]
lea rdx, 24[rsp]
lea rdi, 8[rsp]
mov esi, 1
movups XMMWORD PTR 16[rsp], xmm0
mov QWORD PTR 32[rsp], 0
mov QWORD PTR 8[rsp], rax
call UTIL_createFileList@PLT
movdqu xmm1, XMMWORD PTR 16[rsp]
mov DWORD PTR 32[rsp], eax
mov rax, QWORD PTR 32[rsp]
movups XMMWORD PTR [r12], xmm1
mov QWORD PTR 16[r12], rax
mov rax, QWORD PTR 40[rsp]
sub rax, QWORD PTR fs:40
jne .L5
add rsp, 48
.cfi_remember_state
.cfi_def_cfa_offset 16
mov rax, r12
pop r12
.cfi_def_cfa_offset 8
ret
.L5:
.cfi_restore_state
call __stack_chk_fail@PLT
.cfi_endproc
.LFE0:
.size data_filenames_get, .-data_filenames_get
.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_data.c_data_filenames_get.c"
.text
.section .rodata.cst4,"aM",%progbits,4
.align 2
.LC0:
.word __stack_chk_guard
.text
.align 2
.global data_filenames_get
.syntax unified
.arm
.fpu softvfp
.type data_filenames_get, %function
data_filenames_get:
@ args = 0, pretend = 0, frame = 24
@ frame_needed = 0, uses_anonymous_args = 0
mov ip, #0
push {r4, r5, r6, lr}
mov r5, r0
sub sp, sp, #32
ldr r0, [r1]
ldr lr, .L6
add r4, sp, #16
str r0, [sp, #12]
mov r3, r4
mov r1, #1
str ip, [sp]
add r2, sp, #20
add r0, sp, #12
ldr lr, [lr]
str lr, [sp, #28]
mov lr,#0
str ip, [sp, #16]
str ip, [sp, #20]
str ip, [sp, #24]
bl UTIL_createFileList
str r0, [sp, #24]
ldm r4, {r0, r1, r2}
stm r5, {r0, r1, r2}
ldr r3, .L6
ldr r2, [r3]
ldr r3, [sp, #28]
eors r2, r3, r2
mov r3, #0
bne .L5
mov r0, r5
add sp, sp, #32
@ sp needed
pop {r4, r5, r6, pc}
.L5:
bl __stack_chk_fail
.L7:
.align 2
.L6:
.word .LC0
.size data_filenames_get, .-data_filenames_get
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_data.c_data_finish.c"
.intel_syntax noprefix
.text
.p2align 4
.globl data_finish
.type data_finish, @function
data_finish:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
mov edi, DWORD PTR g_data[rip]
call data_free_paths@PLT
mov rdi, QWORD PTR g_data_dir[rip]
call free@PLT
mov QWORD PTR g_data_dir[rip], 0
add rsp, 8
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size data_finish, .-data_finish
.globl g_data_dir
.bss
.align 8
.type g_data_dir, @object
.size g_data_dir, 8
g_data_dir:
.zero 8
.globl g_data
.align 4
.type g_data, @object
.size g_data, 4
g_data:
.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_data.c_data_finish.c"
.text
.align 2
.global data_finish
.syntax unified
.arm
.fpu softvfp
.type data_finish, %function
data_finish:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
ldr r3, .L4
push {r4, lr}
ldr r4, .L4+4
ldr r0, [r3]
bl data_free_paths
ldr r0, [r4]
bl free
mov r3, #0
str r3, [r4]
pop {r4, pc}
.L5:
.align 2
.L4:
.word g_data
.word g_data_dir
.size data_finish, .-data_finish
.comm g_data_dir,4,4
.comm g_data,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_data.c_data_free_paths.c"
.intel_syntax noprefix
.text
.p2align 4
.type data_free_paths, @function
data_free_paths:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rdi
push rbx
.cfi_def_cfa_offset 24
.cfi_offset 3, -24
sub rsp, 8
.cfi_def_cfa_offset 32
test rdi, rdi
setne dil
movzx edi, dil
call assert@PLT
mov rbx, QWORD PTR 0[rbp]
test rbx, rbx
je .L1
.p2align 4,,10
.p2align 3
.L3:
mov rdi, QWORD PTR 8[rbx]
add rbp, 8
call free@PLT
mov rdi, QWORD PTR [rbx]
call free@PLT
mov QWORD PTR 8[rbx], 0
mov QWORD PTR [rbx], 0
mov rbx, QWORD PTR 0[rbp]
test rbx, rbx
jne .L3
.L1:
add rsp, 8
.cfi_def_cfa_offset 24
pop rbx
.cfi_def_cfa_offset 16
pop rbp
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size data_free_paths, .-data_free_paths
.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_data.c_data_free_paths.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type data_free_paths, %function
data_free_paths:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r5, r0
subs r0, r0, #0
movne r0, #1
bl assert
ldr r4, [r5]
cmp r4, #0
popeq {r4, r5, r6, pc}
mov r6, #0
.L3:
ldr r0, [r4, #4]
bl free
ldr r0, [r4]
bl free
str r6, [r4, #4]
str r6, [r4]
ldr r4, [r5, #4]!
cmp r4, #0
bne .L3
pop {r4, r5, r6, pc}
.size data_free_paths, .-data_free_paths
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_data.c_data_has_dict.c"
.intel_syntax noprefix
.text
.p2align 4
.globl data_has_dict
.type data_has_dict, @function
data_has_dict:
.LFB0:
.cfi_startproc
endbr64
xor eax, eax
cmp QWORD PTR [rdi], 0
setne al
ret
.cfi_endproc
.LFE0:
.size data_has_dict, .-data_has_dict
.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_data.c_data_has_dict.c"
.text
.align 2
.global data_has_dict
.syntax unified
.arm
.fpu softvfp
.type data_has_dict, %function
data_has_dict:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr r0, [r0]
subs r0, r0, #0
movne r0, #1
bx lr
.size data_has_dict, .-data_has_dict
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_data.c_data_init.c"
.intel_syntax noprefix
.text
.p2align 4
.globl data_init
.type data_init, @function
data_init:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
push rbp
.cfi_def_cfa_offset 24
.cfi_offset 6, -24
sub rsp, 8
.cfi_def_cfa_offset 32
mov r12d, DWORD PTR EINVAL[rip]
test rdi, rdi
je .L1
mov rbp, rdi
call ensure_directory_exists@PLT
mov r12d, eax
test eax, eax
je .L7
.L1:
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
mov eax, r12d
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L7:
.cfi_restore_state
mov rdi, rbp
call strdup@PLT
mov QWORD PTR g_data_dir[rip], rax
test rax, rax
je .L8
mov edi, DWORD PTR g_data[rip]
mov rsi, rbp
call data_create_paths@PLT
mov r12d, eax
test eax, eax
jne .L1
mov esi, DWORD PTR data[rip]
mov rdi, rbp
call stamp_check@PLT
test rax, rax
jne .L1
mov edi, DWORD PTR data[rip]
call curl_download_data@PLT
mov esi, DWORD PTR data[rip]
mov rdi, rbp
mov edx, eax
mov r12d, eax
call stamp_write@PLT
jmp .L1
.L8:
mov r12d, DWORD PTR ENOMEM[rip]
jmp .L1
.cfi_endproc
.LFE0:
.size data_init, .-data_init
.globl g_data_dir
.bss
.align 8
.type g_data_dir, @object
.size g_data_dir, 8
g_data_dir:
.zero 8
.globl g_data
.align 4
.type g_data, @object
.size g_data, 4
g_data:
.zero 4
.globl data
.align 4
.type data, @object
.size data, 4
data:
.zero 4
.globl ENOMEM
.align 4
.type ENOMEM, @object
.size ENOMEM, 4
ENOMEM:
.zero 4
.globl EINVAL
.align 4
.type EINVAL, @object
.size EINVAL, 4
EINVAL:
.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_data.c_data_init.c"
.text
.align 2
.global data_init
.syntax unified
.arm
.fpu softvfp
.type data_init, %function
data_init:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
subs r5, r0, #0
beq .L7
bl ensure_directory_exists
subs r4, r0, #0
beq .L8
.L1:
mov r0, r4
pop {r4, r5, r6, pc}
.L8:
mov r0, r5
bl strdup
ldr r3, .L9
cmp r0, #0
str r0, [r3]
ldreq r3, .L9+4
ldreq r4, [r3]
beq .L1
ldr r3, .L9+8
mov r1, r5
ldr r0, [r3]
bl data_create_paths
subs r4, r0, #0
bne .L1
ldr r6, .L9+12
mov r0, r5
ldr r1, [r6]
bl stamp_check
cmp r0, #0
bne .L1
ldr r0, [r6]
bl curl_download_data
mov r4, r0
ldr r1, [r6]
mov r0, r5
mov r2, r4
bl stamp_write
b .L1
.L7:
ldr r3, .L9+16
ldr r4, [r3]
mov r0, r4
pop {r4, r5, r6, pc}
.L10:
.align 2
.L9:
.word g_data_dir
.word ENOMEM
.word g_data
.word data
.word EINVAL
.size data_init, .-data_init
.comm g_data_dir,4,4
.comm g_data,4,4
.comm data,4,4
.comm ENOMEM,4,4
.comm EINVAL,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_data.c_ensure_directory_exists.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "mkdir() failed\n"
.text
.p2align 4
.type ensure_directory_exists, @function
ensure_directory_exists:
.LFB0:
.cfi_startproc
endbr64
push r14
.cfi_def_cfa_offset 16
.cfi_offset 14, -16
push r13
.cfi_def_cfa_offset 24
.cfi_offset 13, -24
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 strdup@PLT
mov r12, rax
test rax, rax
je .L33
.L2:
movzx ebx, BYTE PTR 1[rax]
lea rbp, 1[rax]
test bl, bl
jne .L31
jmp .L4
.p2align 4,,10
.p2align 3
.L34:
movzx ebx, BYTE PTR 1[rbp]
add rbp, 1
test bl, bl
je .L4
.L31:
cmp bl, 47
jne .L34
.L4:
mov BYTE PTR 0[rbp], 0
mov rdi, r12
call UTIL_isDirectory@PLT
mov esi, DWORD PTR S_IRWXU[rip]
mov rdi, r12
mov r13d, eax
call mkdir@PLT
mov BYTE PTR 0[rbp], bl
test eax, eax
je .L7
mov r14d, DWORD PTR errno[rip]
cmp DWORD PTR EEXIST[rip], r14d
jne .L8
test r13d, r13d
je .L8
.L7:
test bl, bl
je .L35
mov rax, rbp
jmp .L2
.p2align 4,,10
.p2align 3
.L8:
mov edi, DWORD PTR stderr[rip]
lea rsi, .LC0[rip]
call fprintf@PLT
.L3:
mov rdi, r12
call free@PLT
pop rbx
.cfi_remember_state
.cfi_def_cfa_offset 40
mov eax, r14d
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
.L35:
.cfi_restore_state
xor r14d, r14d
jmp .L3
.L33:
mov r14d, DWORD PTR EINVAL[rip]
jmp .L3
.cfi_endproc
.LFE0:
.size ensure_directory_exists, .-ensure_directory_exists
.globl stderr
.bss
.align 4
.type stderr, @object
.size stderr, 4
stderr:
.zero 4
.globl errno
.align 4
.type errno, @object
.size errno, 4
errno:
.zero 4
.globl S_IRWXU
.align 4
.type S_IRWXU, @object
.size S_IRWXU, 4
S_IRWXU:
.zero 4
.globl EINVAL
.align 4
.type EINVAL, @object
.size EINVAL, 4
EINVAL:
.zero 4
.globl EEXIST
.align 4
.type EEXIST, @object
.size EEXIST, 4
EEXIST:
.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_data.c_ensure_directory_exists.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "mkdir() failed\012\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type ensure_directory_exists, %function
ensure_directory_exists:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
bl strdup
subs r6, r0, #0
ldreq r3, .L19
ldreq r10, [r3]
beq .L3
mov r5, r6
mov r7, #0
ldr r8, .L19+4
ldr r9, .L19+8
.L2:
ldrb r4, [r5, #1] @ zero_extendqisi2
add r5, r5, #1
cmp r4, #47
cmpne r4, #0
beq .L4
.L5:
ldrb r4, [r5, #1]! @ zero_extendqisi2
cmp r4, #0
cmpne r4, #47
bne .L5
.L4:
mov r0, r6
strb r7, [r5]
bl UTIL_isDirectory
ldr r1, [r8]
mov fp, r0
mov r0, r6
bl mkdir
cmp r0, #0
strb r4, [r5]
beq .L6
ldr r3, .L19+12
cmp fp, #0
ldr r10, [r3]
ldr r3, [r9]
sub r3, r3, r10
clz r3, r3
lsr r3, r3, #5
moveq r3, #0
cmp r3, #0
bne .L6
ldr r3, .L19+16
ldr r1, .L19+20
ldr r0, [r3]
bl fprintf
.L3:
mov r0, r6
bl free
mov r0, r10
pop {r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L6:
cmp r4, #0
bne .L2
mov r10, r4
b .L3
.L20:
.align 2
.L19:
.word EINVAL
.word S_IRWXU
.word EEXIST
.word errno
.word stderr
.word .LC0
.size ensure_directory_exists, .-ensure_directory_exists
.comm stderr,4,4
.comm errno,4,4
.comm S_IRWXU,4,4
.comm EINVAL,4,4
.comm EEXIST,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_data.c_stamp_check.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "/"
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC1:
.string "stamp does not exist: recreating the data cache\n"
.section .rodata.str1.1
.LC2:
.string "rb"
.section .rodata.str1.8
.align 8
.LC3:
.string "could not open stamp: recreating the data cache\n"
.align 8
.LC4:
.string "invalid stamp: recreating the data cache\n"
.align 8
.LC5:
.string "stamp matches: reusing the cached data\n"
.align 8
.LC6:
.string "stamp does not match: recreating the data cache\n"
.text
.p2align 4
.type stamp_check, @function
stamp_check:
.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
mov r12, rsi
lea rsi, .LC0[rip]
push rbp
.cfi_def_cfa_offset 32
.cfi_offset 6, -32
push rbx
.cfi_def_cfa_offset 40
.cfi_offset 3, -40
sub rsp, 24
.cfi_def_cfa_offset 64
mov edx, DWORD PTR kStampName[rip]
mov rax, QWORD PTR fs:40
mov QWORD PTR 8[rsp], rax
xor eax, eax
call cat3@PLT
mov rdi, r12
mov rbp, rax
call stamp_hash@PLT
test rbp, rbp
je .L12
mov rdi, rbp
mov rbx, rax
call UTIL_isRegularFile@PLT
mov r12d, eax
test eax, eax
je .L13
lea rsi, .LC2[rip]
mov rdi, rbp
call fopen@PLT
mov r13, rax
test rax, rax
je .L14
lea r12, 4[rsp]
mov rcx, rax
mov edx, 1
mov esi, 4
mov rdi, r12
call fread@PLT
cmp rax, 1
jne .L15
mov rdi, r12
call XXH64_hashFromCanonical@PLT
cmp rax, rbx
je .L16
mov edi, DWORD PTR stderr[rip]
lea rsi, .LC6[rip]
xor r12d, r12d
call fprintf@PLT
.L7:
mov rdi, rbp
call free@PLT
mov rdi, r13
call fclose@PLT
jmp .L1
.p2align 4,,10
.p2align 3
.L13:
mov edi, DWORD PTR stderr[rip]
lea rsi, .LC1[rip]
call fprintf@PLT
mov rdi, rbp
call free@PLT
.L1:
mov rax, QWORD PTR 8[rsp]
sub rax, QWORD PTR fs:40
jne .L17
add rsp, 24
.cfi_remember_state
.cfi_def_cfa_offset 40
mov eax, r12d
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
.L12:
.cfi_restore_state
xor edi, edi
xor r12d, r12d
call free@PLT
jmp .L1
.p2align 4,,10
.p2align 3
.L15:
mov edi, DWORD PTR stderr[rip]
lea rsi, .LC4[rip]
xor r12d, r12d
call fprintf@PLT
jmp .L7
.p2align 4,,10
.p2align 3
.L14:
mov edi, DWORD PTR stderr[rip]
lea rsi, .LC3[rip]
xor r12d, r12d
call fprintf@PLT
mov rdi, rbp
call free@PLT
jmp .L1
.p2align 4,,10
.p2align 3
.L16:
mov edi, DWORD PTR stderr[rip]
lea rsi, .LC5[rip]
mov r12d, 1
call fprintf@PLT
jmp .L7
.L17:
call __stack_chk_fail@PLT
.cfi_endproc
.LFE0:
.size stamp_check, .-stamp_check
.globl stderr
.bss
.align 4
.type stderr, @object
.size stderr, 4
stderr:
.zero 4
.globl kStampName
.align 4
.type kStampName, @object
.size kStampName, 4
kStampName:
.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_data.c_stamp_check.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "/\000"
.align 2
.LC1:
.ascii "stamp does not exist: recreating the data cache\012"
.ascii "\000"
.align 2
.LC2:
.ascii "rb\000"
.align 2
.LC3:
.ascii "could not open stamp: recreating the data cache\012"
.ascii "\000"
.align 2
.LC4:
.ascii "invalid stamp: recreating the data cache\012\000"
.align 2
.LC5:
.ascii "stamp matches: reusing the cached data\012\000"
.align 2
.LC6:
.ascii "stamp does not match: recreating the data cache\012"
.ascii "\000"
.section .rodata.cst4,"aM",%progbits,4
.align 2
.LC7:
.word __stack_chk_guard
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type stamp_check, %function
stamp_check:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, lr}
ldr r3, .L18
sub sp, sp, #12
ldr r2, [r3]
ldr r3, .L18+4
mov r5, r1
ldr r1, .L18+8
ldr r3, [r3]
str r3, [sp, #4]
mov r3,#0
bl cat3
mov r4, r0
mov r0, r5
bl stamp_hash
cmp r4, #0
beq .L12
mov r7, r0
mov r0, r4
bl UTIL_isRegularFile
subs r5, r0, #0
beq .L13
mov r0, r4
ldr r1, .L18+12
bl fopen
subs r6, r0, #0
beq .L14
mov r0, sp
mov r3, r6
mov r2, #1
mov r1, #4
bl fread
cmp r0, #1
mov r5, r0
bne .L15
mov r0, sp
bl XXH64_hashFromCanonical
cmp r0, r7
ldr r3, .L18+16
beq .L16
ldr r1, .L18+20
ldr r0, [r3]
bl fprintf
mov r5, #0
.L7:
mov r0, r4
bl free
mov r0, r6
bl fclose
b .L1
.L13:
ldr r3, .L18+16
ldr r1, .L18+24
ldr r0, [r3]
bl fprintf
mov r0, r4
bl free
.L1:
ldr r3, .L18+4
ldr r2, [r3]
ldr r3, [sp, #4]
eors r2, r3, r2
mov r3, #0
bne .L17
mov r0, r5
add sp, sp, #12
@ sp needed
pop {r4, r5, r6, r7, pc}
.L12:
mov r0, r4
bl free
mov r5, r4
b .L1
.L15:
ldr r3, .L18+16
ldr r1, .L18+28
ldr r0, [r3]
bl fprintf
mov r5, #0
b .L7
.L14:
ldr r3, .L18+16
ldr r1, .L18+32
ldr r0, [r3]
bl fprintf
mov r0, r4
mov r5, r6
bl free
b .L1
.L16:
ldr r1, .L18+36
ldr r0, [r3]
bl fprintf
b .L7
.L17:
bl __stack_chk_fail
.L19:
.align 2
.L18:
.word kStampName
.word .LC7
.word .LC0
.word .LC2
.word stderr
.word .LC6
.word .LC1
.word .LC4
.word .LC3
.word .LC5
.size stamp_check, .-stamp_check
.comm stderr,4,4
.comm kStampName,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_data.c_stamp_hash.c"
.intel_syntax noprefix
.text
.p2align 4
.type stamp_hash, @function
stamp_hash:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
xor esi, esi
mov r12, rdi
push rbp
.cfi_def_cfa_offset 24
.cfi_offset 6, -24
push rbx
.cfi_def_cfa_offset 32
.cfi_offset 3, -32
sub rsp, 16
.cfi_def_cfa_offset 48
mov rax, QWORD PTR fs:40
mov QWORD PTR 8[rsp], rax
xor eax, eax
lea rbp, 4[rsp]
mov rdi, rbp
call XXH64_reset@PLT
xor edi, edi
test r12, r12
setne dil
call assert@PLT
mov rbx, QWORD PTR [r12]
test rbx, rbx
je .L2
.p2align 4,,10
.p2align 3
.L3:
mov edi, DWORD PTR 12[rbx]
add r12, 8
call strlen@PLT
mov esi, DWORD PTR 12[rbx]
mov rdi, rbp
mov edx, eax
call XXH64_update@PLT
mov esi, DWORD PTR 8[rbx]
mov rdi, rbp
call xxh_update_le@PLT
mov esi, DWORD PTR 4[rbx]
mov rdi, rbp
call xxh_update_le@PLT
mov esi, DWORD PTR [rbx]
mov rdi, rbp
call xxh_update_le@PLT
mov rbx, QWORD PTR [r12]
test rbx, rbx
jne .L3
.L2:
mov rdi, rbp
call XXH64_digest@PLT
mov rcx, QWORD PTR 8[rsp]
sub rcx, QWORD PTR fs:40
jne .L11
add rsp, 16
.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
.L11:
.cfi_restore_state
call __stack_chk_fail@PLT
.cfi_endproc
.LFE0:
.size stamp_hash, .-stamp_hash
.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_data.c_stamp_hash.c"
.text
.section .rodata.cst4,"aM",%progbits,4
.align 2
.LC0:
.word __stack_chk_guard
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type stamp_hash, %function
stamp_hash:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r6, r0
sub sp, sp, #8
ldr r3, .L12
mov r1, #0
mov r0, sp
ldr r3, [r3]
str r3, [sp, #4]
mov r3,#0
bl XXH64_reset
subs r0, r6, #0
movne r0, #1
bl assert
ldr r4, [r6]
cmp r4, #0
beq .L2
.L3:
ldr r5, [r4, #12]
mov r0, r5
bl strlen
mov r1, r5
mov r2, r0
mov r0, sp
bl XXH64_update
ldr r1, [r4, #8]
mov r0, sp
bl xxh_update_le
ldr r1, [r4, #4]
mov r0, sp
bl xxh_update_le
ldr r1, [r4]
mov r0, sp
bl xxh_update_le
ldr r4, [r6, #4]!
cmp r4, #0
bne .L3
.L2:
mov r0, sp
bl XXH64_digest
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, r5, r6, pc}
.L11:
bl __stack_chk_fail
.L13:
.align 2
.L12:
.word .LC0
.size stamp_hash, .-stamp_hash
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_data.c_stamp_write.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "/"
.LC1:
.string "wb"
.LC2:
.string "stamped new data cache\n"
.text
.p2align 4
.type stamp_write, @function
stamp_write:
.LFB0:
.cfi_startproc
endbr64
push r14
.cfi_def_cfa_offset 16
.cfi_offset 14, -16
push r13
.cfi_def_cfa_offset 24
.cfi_offset 13, -24
mov r13, rsi
lea rsi, .LC0[rip]
push r12
.cfi_def_cfa_offset 32
.cfi_offset 12, -32
mov r12d, edx
push rbp
.cfi_def_cfa_offset 40
.cfi_offset 6, -40
sub rsp, 24
.cfi_def_cfa_offset 64
mov edx, DWORD PTR kStampName[rip]
mov rax, QWORD PTR fs:40
mov QWORD PTR 8[rsp], rax
xor eax, eax
call cat3@PLT
test rax, rax
je .L16
mov rbp, rax
test r12d, r12d
je .L4
mov rdi, rax
call unlink@PLT
mov rdi, rbp
call free@PLT
.L1:
mov rax, QWORD PTR 8[rsp]
sub rax, QWORD PTR fs:40
jne .L17
add rsp, 24
.cfi_remember_state
.cfi_def_cfa_offset 40
mov eax, r12d
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
.L4:
.cfi_restore_state
mov rdi, r13
mov r12d, DWORD PTR EIO[rip]
lea r14, 4[rsp]
call stamp_hash@PLT
mov rdi, r14
mov esi, eax
call XXH64_canonicalFromHash@PLT
lea rsi, .LC1[rip]
mov rdi, rbp
call fopen@PLT
mov r13, rax
test rax, rax
je .L5
mov rcx, rax
mov edx, 1
mov esi, 4
mov rdi, r14
call fwrite@PLT
cmp eax, 1
je .L18
.L6:
test r12d, r12d
jne .L19
.L7:
mov rdi, rbp
xor r12d, r12d
call free@PLT
.L9:
mov rdi, r13
call fclose@PLT
jmp .L1
.p2align 4,,10
.p2align 3
.L18:
mov edi, DWORD PTR stderr[rip]
lea rsi, .LC2[rip]
call fprintf@PLT
jmp .L7
.p2align 4,,10
.p2align 3
.L16:
mov r12d, DWORD PTR ENOMEM[rip]
jmp .L1
.p2align 4,,10
.p2align 3
.L5:
mov rdi, rbp
test r12d, r12d
jne .L20
call free@PLT
jmp .L1
.p2align 4,,10
.p2align 3
.L20:
call unlink@PLT
mov rdi, rbp
call free@PLT
jmp .L1
.L17:
call __stack_chk_fail@PLT
.L19:
mov rdi, rbp
call unlink@PLT
mov rdi, rbp
call free@PLT
jmp .L9
.cfi_endproc
.LFE0:
.size stamp_write, .-stamp_write
.globl stderr
.bss
.align 4
.type stderr, @object
.size stderr, 4
stderr:
.zero 4
.globl kStampName
.align 4
.type kStampName, @object
.size kStampName, 4
kStampName:
.zero 4
.globl ENOMEM
.align 4
.type ENOMEM, @object
.size ENOMEM, 4
ENOMEM:
.zero 4
.globl EIO
.align 4
.type EIO, @object
.size EIO, 4
EIO:
.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_data.c_stamp_write.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "/\000"
.align 2
.LC1:
.ascii "wb\000"
.align 2
.LC2:
.ascii "stamped new data cache\012\000"
.section .rodata.cst4,"aM",%progbits,4
.align 2
.LC3:
.word __stack_chk_guard
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type stamp_write, %function
stamp_write:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r4, r2
ldr r2, .L21
ldr r3, .L21+4
sub sp, sp, #8
mov r5, r1
ldr r2, [r2]
ldr r1, .L21+8
ldr r3, [r3]
str r3, [sp, #4]
mov r3,#0
bl cat3
subs r6, r0, #0
beq .L17
cmp r4, #0
beq .L4
.L15:
bl unlink
mov r0, r6
bl free
.L1:
ldr r3, .L21+4
ldr r2, [r3]
ldr r3, [sp, #4]
eors r2, r3, r2
mov r3, #0
bne .L18
mov r0, r4
add sp, sp, #8
@ sp needed
pop {r4, r5, r6, pc}
.L4:
ldr r3, .L21+12
mov r0, r5
ldr r4, [r3]
bl stamp_hash
mov r1, r0
mov r0, sp
bl XXH64_canonicalFromHash
mov r0, r6
ldr r1, .L21+16
bl fopen
subs r5, r0, #0
beq .L5
mov r0, sp
mov r3, r5
mov r2, #1
mov r1, #4
bl fwrite
cmp r0, #1
beq .L19
.L6:
cmp r4, #0
bne .L20
.L7:
mov r0, r6
bl free
mov r4, #0
.L9:
mov r0, r5
bl fclose
b .L1
.L19:
ldr r3, .L21+20
ldr r1, .L21+24
ldr r0, [r3]
bl fprintf
b .L7
.L17:
ldr r3, .L21+28
ldr r4, [r3]
b .L1
.L5:
cmp r4, #0
mov r0, r6
bne .L15
bl free
b .L1
.L18:
bl __stack_chk_fail
.L20:
mov r0, r6
bl unlink
mov r0, r6
bl free
b .L9
.L22:
.align 2
.L21:
.word kStampName
.word .LC3
.word .LC0
.word EIO
.word .LC1
.word stderr
.word .LC2
.word ENOMEM
.size stamp_write, .-stamp_write
.comm stderr,4,4
.comm kStampName,4,4
.comm ENOMEM,4,4
.comm EIO,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_data.c_xxh_update_le.c"
.intel_syntax noprefix
.text
.p2align 4
.type xxh_update_le, @function
xxh_update_le:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
xor eax, eax
mov rbp, rdi
sub rsp, 16
.cfi_def_cfa_offset 32
mov DWORD PTR 12[rsp], esi
call MEM_isLittleEndian@PLT
test eax, eax
je .L5
.L2:
lea rsi, 12[rsp]
mov rdi, rbp
mov edx, 4
call XXH64_update@PLT
add rsp, 16
.cfi_remember_state
.cfi_def_cfa_offset 16
pop rbp
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L5:
.cfi_restore_state
mov edi, DWORD PTR 12[rsp]
call MEM_swap64@PLT
mov DWORD PTR 12[rsp], eax
jmp .L2
.cfi_endproc
.LFE0:
.size xxh_update_le, .-xxh_update_le
.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_data.c_xxh_update_le.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type xxh_update_le, %function
xxh_update_le:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
sub sp, sp, #8
mov r4, r0
str r1, [sp, #4]
bl MEM_isLittleEndian
cmp r0, #0
beq .L5
.L2:
mov r2, #4
mov r0, r4
add r1, sp, r2
bl XXH64_update
add sp, sp, #8
@ sp needed
pop {r4, pc}
.L5:
ldr r0, [sp, #4]
bl MEM_swap64
str r0, [sp, #4]
b .L2
.size xxh_update_le, .-xxh_update_le
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_method.c_advanced_config.c"
.intel_syntax noprefix
.text
.p2align 4
.type advanced_config, @function
advanced_config:
.LFB0:
.cfi_startproc
endbr64
push r13
.cfi_def_cfa_offset 16
.cfi_offset 13, -16
mov r13, rdi
push r12
.cfi_def_cfa_offset 24
.cfi_offset 12, -24
mov r12, rsi
push rbp
.cfi_def_cfa_offset 32
.cfi_offset 6, -32
mov rbp, rdx
push rbx
.cfi_def_cfa_offset 40
.cfi_offset 3, -40
sub rsp, 8
.cfi_def_cfa_offset 48
mov esi, DWORD PTR ZSTD_reset_session_and_parameters[rip]
call ZSTD_CCtx_reset@PLT
cmp QWORD PTR 8[rbp], 0
je .L2
xor ebx, ebx
jmp .L4
.p2align 4,,10
.p2align 3
.L10:
add rbx, 1
cmp QWORD PTR 8[rbp], rbx
jbe .L2
.L4:
mov rax, QWORD PTR 16[rbp]
mov rdi, r13
lea rax, [rax+rbx*8]
mov esi, DWORD PTR 4[rax]
mov edx, DWORD PTR [rax]
call ZSTD_CCtx_setParameter@PLT
mov edi, eax
call ZSTD_isError@PLT
test rax, rax
je .L10
mov eax, 1
.L1:
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
.L2:
.cfi_restore_state
xor eax, eax
cmp QWORD PTR 0[rbp], 0
je .L1
mov esi, DWORD PTR 4[r12]
mov edx, DWORD PTR [r12]
mov rdi, r13
call ZSTD_CCtx_loadDictionary@PLT
mov edi, eax
call ZSTD_isError@PLT
test rax, rax
setne al
add rsp, 8
.cfi_def_cfa_offset 40
pop rbx
.cfi_def_cfa_offset 32
movzx eax, al
pop rbp
.cfi_def_cfa_offset 24
pop r12
.cfi_def_cfa_offset 16
pop r13
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size advanced_config, .-advanced_config
.globl ZSTD_reset_session_and_parameters
.bss
.align 4
.type ZSTD_reset_session_and_parameters, @object
.size ZSTD_reset_session_and_parameters, 4
ZSTD_reset_session_and_parameters:
.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_method.c_advanced_config.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type advanced_config, %function
advanced_config:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, lr}
mov r5, r2
ldr r3, .L16
mov r7, r1
ldr r1, [r3]
mov r6, r0
bl ZSTD_CCtx_reset
ldr r3, [r5, #4]
cmp r3, #0
beq .L2
mov r4, #0
b .L4
.L15:
ldr r3, [r5, #4]
cmp r3, r4
bls .L2
.L4:
ldr r3, [r5, #8]
mov r0, r6
add r2, r3, r4, lsl #3
ldr r1, [r2, #4]
ldr r2, [r3, r4, lsl #3]
bl ZSTD_CCtx_setParameter
bl ZSTD_isError
cmp r0, #0
add r4, r4, #1
beq .L15
mov r0, #1
pop {r4, r5, r6, r7, r8, pc}
.L2:
ldr r0, [r5]
cmp r0, #0
popeq {r4, r5, r6, r7, r8, pc}
ldr r2, [r7]
ldr r1, [r7, #4]
mov r0, r6
bl ZSTD_CCtx_loadDictionary
bl ZSTD_isError
subs r0, r0, #0
movne r0, #1
pop {r4, r5, r6, r7, r8, pc}
.L17:
.align 2
.L16:
.word ZSTD_reset_session_and_parameters
.size advanced_config, .-advanced_config
.comm ZSTD_reset_session_and_parameters,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_method.c_advanced_one_pass_compress.c"
.intel_syntax noprefix
.text
.p2align 4
.type advanced_one_pass_compress, @function
advanced_one_pass_compress:
.LFB0:
.cfi_startproc
endbr64
xor edx, edx
jmp advanced_one_pass_compress_output_adjustment@PLT
.cfi_endproc
.LFE0:
.size advanced_one_pass_compress, .-advanced_one_pass_compress
.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_method.c_advanced_one_pass_compress.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type advanced_one_pass_compress, %function
advanced_one_pass_compress:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
mov r2, #0
b advanced_one_pass_compress_output_adjustment
.size advanced_one_pass_compress, .-advanced_one_pass_compress
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_method.c_advanced_one_pass_compress_small_output.c"
.intel_syntax noprefix
.text
.p2align 4
.type advanced_one_pass_compress_small_output, @function
advanced_one_pass_compress_small_output:
.LFB0:
.cfi_startproc
endbr64
mov edx, 1
jmp advanced_one_pass_compress_output_adjustment@PLT
.cfi_endproc
.LFE0:
.size advanced_one_pass_compress_small_output, .-advanced_one_pass_compress_small_output
.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_method.c_advanced_one_pass_compress_small_output.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type advanced_one_pass_compress_small_output, %function
advanced_one_pass_compress_small_output:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
mov r2, #1
b advanced_one_pass_compress_output_adjustment
.size advanced_one_pass_compress_small_output, .-advanced_one_pass_compress_small_output
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_method.c_buffer_state_bad.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "buffer_state_t is NULL\n"
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC1:
.string "buffer state allocation failure\n"
.section .rodata.str1.1
.LC2:
.string "dictionary loading failed\n"
.text
.p2align 4
.type buffer_state_bad, @function
buffer_state_bad:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
test rdi, rdi
je .L10
cmp QWORD PTR 24[rdi], 0
je .L4
cmp QWORD PTR 16[rdi], 0
je .L4
cmp QWORD PTR 8[rdi], 0
je .L4
xor eax, eax
cmp QWORD PTR [rsi], 0
je .L1
cmp QWORD PTR [rdi], 0
je .L11
.L1:
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L4:
.cfi_restore_state
mov edi, DWORD PTR stderr[rip]
lea rsi, .LC1[rip]
call fprintf@PLT
mov eax, 1
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L10:
.cfi_restore_state
mov edi, DWORD PTR stderr[rip]
lea rsi, .LC0[rip]
call fprintf@PLT
mov eax, 1
jmp .L1
.p2align 4,,10
.p2align 3
.L11:
mov edi, DWORD PTR stderr[rip]
lea rsi, .LC2[rip]
call fprintf@PLT
mov eax, 1
jmp .L1
.cfi_endproc
.LFE0:
.size buffer_state_bad, .-buffer_state_bad
.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_method.c_buffer_state_bad.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "buffer_state_t is NULL\012\000"
.align 2
.LC1:
.ascii "buffer state allocation failure\012\000"
.align 2
.LC2:
.ascii "dictionary loading failed\012\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type buffer_state_bad, %function
buffer_state_bad:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
subs r3, r0, #0
push {r4, lr}
beq .L18
ldr r2, [r3, #12]
cmp r2, #0
beq .L4
ldr r2, [r3, #8]
cmp r2, #0
beq .L4
ldr r2, [r3, #4]
cmp r2, #0
beq .L4
ldr r0, [r1]
cmp r0, #0
popeq {r4, pc}
ldr r3, [r3]
cmp r3, #0
beq .L19
mov r0, #0
pop {r4, pc}
.L4:
ldr r3, .L20
ldr r1, .L20+4
ldr r0, [r3]
bl fprintf
mov r0, #1
pop {r4, pc}
.L18:
ldr r3, .L20
ldr r1, .L20+8
ldr r0, [r3]
bl fprintf
mov r0, #1
pop {r4, pc}
.L19:
ldr r3, .L20
ldr r1, .L20+12
ldr r0, [r3]
bl fprintf
mov r0, #1
pop {r4, pc}
.L21:
.align 2
.L20:
.word stderr
.word .LC1
.word .LC0
.word .LC2
.size buffer_state_bad, .-buffer_state_bad
.comm stderr,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_method.c_buffer_state_create.c"
.intel_syntax noprefix
.text
.p2align 4
.type buffer_state_create, @function
buffer_state_create:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov esi, 32
mov rbp, rdi
mov edi, 1
push rbx
.cfi_def_cfa_offset 24
.cfi_offset 3, -24
sub rsp, 8
.cfi_def_cfa_offset 32
call calloc@PLT
mov rbx, rax
xor eax, eax
test rbx, rbx
je .L1
mov QWORD PTR [rbx], rbp
mov rdi, rbp
call data_buffers_get@PLT
mov rdi, rbp
mov DWORD PTR 24[rbx], eax
call data_buffer_get_dict@PLT
mov edi, DWORD PTR 24[rbx]
mov DWORD PTR 28[rbx], eax
call buffers_max_size@PLT
mov rdi, rax
mov rbp, rax
call ZSTD_compressBound@PLT
mov rdi, rax
call data_buffer_create@PLT
mov rdi, rbp
mov QWORD PTR 16[rbx], rax
call data_buffer_create@PLT
mov QWORD PTR 8[rbx], rax
mov rax, rbx
.L1:
add rsp, 8
.cfi_def_cfa_offset 24
pop rbx
.cfi_def_cfa_offset 16
pop rbp
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size buffer_state_create, .-buffer_state_create
.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_method.c_buffer_state_create.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type buffer_state_create, %function
buffer_state_create:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r1, #20
mov r5, r0
mov r0, #1
bl calloc
subs r4, r0, #0
beq .L1
mov r0, r5
str r5, [r4]
bl data_buffers_get
mov r3, r0
mov r0, r5
str r3, [r4, #12]
bl data_buffer_get_dict
mov r3, r0
ldr r0, [r4, #12]
str r3, [r4, #16]
bl buffers_max_size
mov r5, r0
bl ZSTD_compressBound
bl data_buffer_create
mov r3, r0
mov r0, r5
str r3, [r4, #8]
bl data_buffer_create
str r0, [r4, #4]
.L1:
mov r0, r4
pop {r4, r5, r6, pc}
.size buffer_state_create, .-buffer_state_create
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_method.c_buffers_max_size.c"
.intel_syntax noprefix
.text
.p2align 4
.type buffers_max_size, @function
buffers_max_size:
.LFB0:
.cfi_startproc
endbr64
mov rax, rdi
test rdi, rdi
je .L1
lea rcx, [rsi+rdi*8]
xor eax, eax
.p2align 4,,10
.p2align 3
.L3:
mov rdx, QWORD PTR [rsi]
cmp rax, rdx
cmovb rax, rdx
add rsi, 8
cmp rsi, rcx
jne .L3
.L1:
ret
.cfi_endproc
.LFE0:
.size buffers_max_size, .-buffers_max_size
.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_method.c_buffers_max_size.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type buffers_max_size, %function
buffers_max_size:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
sub sp, sp, #8
add r3, sp, #8
stmdb r3, {r0, r1}
ldm sp, {r0, r3}
cmp r0, #0
beq .L1
add r1, r3, r0, lsl #2
mov r0, #0
sub r1, r1, #4
sub r3, r3, #4
.L3:
ldr r2, [r3, #4]!
cmp r0, r2
movcc r0, r2
cmp r3, r1
bne .L3
.L1:
add sp, sp, #8
@ sp needed
bx lr
.size buffers_max_size, .-buffers_max_size
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_method.c_cli_compress.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string ""
.LC1:
.string "<"
.LC2:
.string "'"
.LC3:
.string "-D '"
.LC4:
.string "'%s' -cqr %s %s%s%s %s '%s'"
.LC5:
.string "command too large: %s\n"
.LC6:
.string "r"
.LC7:
.string "failed to popen command: %s\n"
.LC8:
.string "zstd failed with command: %s\n"
.text
.p2align 4
.type cli_compress, @function
cli_compress:
.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
push rbx
.cfi_def_cfa_offset 40
.cfi_offset 3, -40
sub rsp, 4096
.cfi_def_cfa_offset 4136
or QWORD PTR [rsp], 0
sub rsp, 1048
.cfi_def_cfa_offset 5184
mov r8, QWORD PTR [rsi]
mov rax, QWORD PTR fs:40
mov QWORD PTR 5128[rsp], rax
xor eax, eax
test r8, r8
je .L5
mov rax, QWORD PTR [rdi]
mov rbx, QWORD PTR data_type_dir[rip]
cmp QWORD PTR [rax], rbx
je .L34
mov rcx, QWORD PTR g_zstdcli[rip]
test rcx, rcx
je .L17
cmp QWORD PTR 8[rsi], 0
lea rdx, .LC1[rip]
lea r9, .LC0[rip]
mov edi, DWORD PTR 16[rax]
cmove rdx, r9
.L9:
cmp QWORD PTR 16[rsi], 0
jne .L10
lea rax, .LC0[rip]
mov rsi, rax
mov r9, rax
.L16:
mov r13, rsp
push rdi
.cfi_def_cfa_offset 5192
push rdx
.cfi_def_cfa_offset 5200
mov rdi, r13
lea rdx, .LC4[rip]
push rsi
.cfi_def_cfa_offset 5208
mov esi, 1024
push rax
.cfi_def_cfa_offset 5216
call snprintf@PLT
mov rsp, r13
.cfi_def_cfa_offset 5184
cmp rax, 1023
ja .L35
lea rsi, .LC6[rip]
mov rdi, r13
xor ebp, ebp
call popen@PLT
lea rbx, 1024[rsp]
mov r12, rax
test rax, rax
je .L36
.p2align 4,,10
.p2align 3
.L13:
mov rcx, r12
mov edx, 4096
mov esi, 1
mov rdi, rbx
call fread@PLT
add rbp, rax
cmp rax, 4096
je .L13
mov rdi, r12
call ferror@PLT
test rax, rax
jne .L15
mov rdi, r12
call pclose@PLT
test rax, rax
je .L37
.L15:
mov edi, DWORD PTR stderr[rip]
mov rdx, r13
lea rsi, .LC8[rip]
call fprintf@PLT
mov edi, DWORD PTR result_error_compression_error[rip]
call result_error@PLT
.L1:
mov rbx, QWORD PTR 5128[rsp]
sub rbx, QWORD PTR fs:40
jne .L32
add rsp, 5144
.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
.L10:
.cfi_restore_state
mov rax, QWORD PTR 8[rax]
lea rsi, .LC2[rip]
lea r9, .LC3[rip]
jmp .L16
.p2align 4,,10
.p2align 3
.L34:
cmp QWORD PTR 8[rsi], 0
jne .L5
mov rcx, QWORD PTR g_zstdcli[rip]
test rcx, rcx
je .L17
mov edi, DWORD PTR 16[rax]
lea rdx, .LC0[rip]
jmp .L9
.p2align 4,,10
.p2align 3
.L35:
mov edi, DWORD PTR stderr[rip]
mov rdx, r13
lea rsi, .LC5[rip]
call fprintf@PLT
mov edi, DWORD PTR result_error_system_error[rip]
call result_error@PLT
jmp .L1
.p2align 4,,10
.p2align 3
.L37:
mov rdi, rbp
call result_data@PLT
jmp .L1
.p2align 4,,10
.p2align 3
.L5:
mov rax, QWORD PTR 5128[rsp]
sub rax, QWORD PTR fs:40
jne .L32
mov edi, DWORD PTR result_error_skip[rip]
.L31:
add rsp, 5144
.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
jmp result_error@PLT
.p2align 4,,10
.p2align 3
.L17:
.cfi_restore_state
mov rax, QWORD PTR 5128[rsp]
sub rax, QWORD PTR fs:40
jne .L32
mov edi, DWORD PTR result_error_system_error[rip]
jmp .L31
.p2align 4,,10
.p2align 3
.L36:
mov edi, DWORD PTR stderr[rip]
mov rdx, r13
lea rsi, .LC7[rip]
call fprintf@PLT
mov edi, DWORD PTR result_error_system_error[rip]
call result_error@PLT
jmp .L1
.L32:
call __stack_chk_fail@PLT
.cfi_endproc
.LFE0:
.size cli_compress, .-cli_compress
.globl stderr
.bss
.align 4
.type stderr, @object
.size stderr, 4
stderr:
.zero 4
.globl result_error_system_error
.align 4
.type result_error_system_error, @object
.size result_error_system_error, 4
result_error_system_error:
.zero 4
.globl result_error_skip
.align 4
.type result_error_skip, @object
.size result_error_skip, 4
result_error_skip:
.zero 4
.globl result_error_compression_error
.align 4
.type result_error_compression_error, @object
.size result_error_compression_error, 4
result_error_compression_error:
.zero 4
.globl g_zstdcli
.align 8
.type g_zstdcli, @object
.size g_zstdcli, 8
g_zstdcli:
.zero 8
.globl data_type_dir
.align 8
.type data_type_dir, @object
.size data_type_dir, 8
data_type_dir:
.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_method.c_cli_compress.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "-D '\000"
.align 2
.LC1:
.ascii "'\000"
.align 2
.LC2:
.ascii "\000"
.align 2
.LC3:
.ascii "<\000"
.align 2
.LC4:
.ascii "'%s' -cqr %s %s%s%s %s '%s'\000"
.align 2
.LC5:
.ascii "command too large: %s\012\000"
.align 2
.LC6:
.ascii "r\000"
.align 2
.LC7:
.ascii "failed to popen command: %s\012\000"
.align 2
.LC8:
.ascii "zstd failed with command: %s\012\000"
.section .rodata.cst4,"aM",%progbits,4
.align 2
.LC9:
.word __stack_chk_guard
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type cli_compress, %function
cli_compress:
@ args = 0, pretend = 0, frame = 5128
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, lr}
sub sp, sp, #5120
ldr lr, [r1]
sub sp, sp, #36
add r3, sp, #5120
ldr r2, .L27
cmp lr, #0
add r3, r3, #28
ldr r2, [r2]
str r2, [r3]
mov r2,#0
beq .L5
ldr r0, [r0]
ldr r3, .L27+4
ldr r2, [r0]
ldr r3, [r3]
cmp r2, r3
beq .L22
.L4:
ldr r3, .L27+8
ldr r3, [r3]
cmp r3, #0
beq .L20
ldr r2, [r1, #8]
cmp r2, #0
bne .L7
ldr ip, .L27+12
mov r5, ip
mov r4, ip
.L13:
ldr r7, [r1, #4]
ldr r6, .L27+12
cmp r7, #0
ldr r2, .L27+16
moveq r2, r6
ldr r1, [r0, #8]
str r2, [sp, #16]
str r1, [sp, #20]
stmib sp, {r5, ip}
mov r1, #1024
ldr r2, .L27+20
str r4, [sp, #12]
str lr, [sp]
add r0, sp, #28
bl snprintf
cmp r0, #1024
bcs .L23
ldr r1, .L27+24
add r0, sp, #28
bl popen
subs r5, r0, #0
movne r4, #0
beq .L24
.L10:
add r0, sp, #1040
mov r3, r5
mov r2, #4096
mov r1, #1
add r0, r0, #12
bl fread
cmp r0, #4096
add r4, r4, r0
beq .L10
mov r0, r5
bl ferror
cmp r0, #0
bne .L12
mov r0, r5
bl pclose
cmp r0, #0
beq .L25
.L12:
ldr r3, .L27+28
ldr r1, .L27+32
ldr r0, [r3]
add r2, sp, #28
bl fprintf
ldr r3, .L27+36
ldr r0, [r3]
bl result_error
.L1:
add r3, sp, #5120
ldr r2, .L27
add r3, r3, #28
ldr r1, [r2]
ldr r2, [r3]
eors r1, r2, r1
mov r2, #0
bne .L26
add sp, sp, #5120
add sp, sp, #36
@ sp needed
pop {r4, r5, r6, r7, pc}
.L7:
ldr ip, [r0, #4]
ldr r5, .L27+40
ldr r4, .L27+44
b .L13
.L22:
ldr r3, [r1, #4]
cmp r3, #0
beq .L4
.L5:
ldr r3, .L27+48
ldr r0, [r3]
bl result_error
b .L1
.L23:
ldr r3, .L27+28
ldr r1, .L27+52
ldr r0, [r3]
add r2, sp, #28
bl fprintf
ldr r3, .L27+56
ldr r0, [r3]
bl result_error
b .L1
.L25:
mov r0, r4
bl result_data
b .L1
.L24:
ldr r3, .L27+28
ldr r1, .L27+60
ldr r0, [r3]
add r2, sp, #28
bl fprintf
.L20:
ldr r3, .L27+56
ldr r0, [r3]
bl result_error
b .L1
.L26:
bl __stack_chk_fail
.L28:
.align 2
.L27:
.word .LC9
.word data_type_dir
.word g_zstdcli
.word .LC2
.word .LC3
.word .LC4
.word .LC6
.word stderr
.word .LC8
.word result_error_compression_error
.word .LC0
.word .LC1
.word result_error_skip
.word .LC5
.word result_error_system_error
.word .LC7
.size cli_compress, .-cli_compress
.comm stderr,4,4
.comm result_error_system_error,4,4
.comm result_error_skip,4,4
.comm result_error_compression_error,4,4
.comm g_zstdcli,4,4
.comm data_type_dir,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_method.c_init_cstream.c"
.intel_syntax noprefix
.text
.p2align 4
.type init_cstream, @function
init_cstream:
.LFB0:
.cfi_startproc
endbr64
push r14
.cfi_def_cfa_offset 16
.cfi_offset 14, -16
push r13
.cfi_def_cfa_offset 24
.cfi_offset 13, -24
mov r13, rsi
push r12
.cfi_def_cfa_offset 32
.cfi_offset 12, -32
mov r12, rdi
push rbp
.cfi_def_cfa_offset 40
.cfi_offset 6, -40
mov rbp, r8
push rbx
.cfi_def_cfa_offset 48
.cfi_offset 3, -48
mov rbx, rdx
test ecx, ecx
je .L2
xor edx, edx
xor esi, esi
mov rdi, rbx
call config_get_zstd_params@PLT
mov r14, rax
test rbp, rbp
je .L3
cmp QWORD PTR [rbx], 0
jne .L25
.L11:
pop rbx
.cfi_remember_state
.cfi_def_cfa_offset 40
mov eax, 1
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
.L2:
.cfi_restore_state
mov rdi, rdx
call config_get_level@PLT
mov edx, eax
test eax, eax
je .L11
mov rax, QWORD PTR [rbx]
test rbp, rbp
je .L10
test rax, rax
je .L11
mov esi, DWORD PTR [r12]
mov rdi, QWORD PTR 8[r12]
call ZSTD_createCDict@PLT
mov QWORD PTR 0[rbp], rax
mov rsi, rax
test rax, rax
je .L11
mov rdi, r13
call ZSTD_initCStream_usingCDict@PLT
mov rdi, rax
jmp .L7
.p2align 4,,10
.p2align 3
.L25:
mov esi, DWORD PTR [r12]
mov r8, rax
mov rdi, QWORD PTR 8[r12]
mov ecx, DWORD PTR ZSTD_dct_auto[rip]
mov r9d, DWORD PTR ZSTD_defaultCMem[rip]
shr r8, 32
mov edx, DWORD PTR ZSTD_dlm_byRef[rip]
call ZSTD_createCDict_advanced@PLT
mov QWORD PTR 0[rbp], rax
mov rsi, rax
test rax, rax
je .L11
mov ecx, DWORD PTR ZSTD_CONTENTSIZE_UNKNOWN[rip]
mov rdi, r13
mov edx, r14d
call ZSTD_initCStream_usingCDict_advanced@PLT
mov rdi, rax
.L7:
call ZSTD_isError@PLT
pop rbx
.cfi_remember_state
.cfi_def_cfa_offset 40
pop rbp
.cfi_def_cfa_offset 32
test rax, rax
pop r12
.cfi_def_cfa_offset 24
pop r13
.cfi_def_cfa_offset 16
setne al
pop r14
.cfi_def_cfa_offset 8
movzx eax, al
ret
.p2align 4,,10
.p2align 3
.L3:
.cfi_restore_state
xor edx, edx
cmp QWORD PTR [rbx], 0
mov r8d, DWORD PTR ZSTD_CONTENTSIZE_UNKNOWN[rip]
je .L6
mov edx, DWORD PTR [r12]
mov rbp, QWORD PTR 8[r12]
.L6:
mov rdi, r13
mov rcx, r14
mov rsi, rbp
call ZSTD_initCStream_advanced@PLT
mov rdi, rax
jmp .L7
.p2align 4,,10
.p2align 3
.L10:
test rax, rax
je .L12
mov ecx, edx
mov rsi, QWORD PTR 8[r12]
mov edx, DWORD PTR [r12]
mov rdi, r13
call ZSTD_initCStream_usingDict@PLT
mov rdi, rax
jmp .L7
.p2align 4,,10
.p2align 3
.L12:
mov rdi, r13
mov esi, edx
call ZSTD_initCStream@PLT
mov rdi, rax
jmp .L7
.cfi_endproc
.LFE0:
.size init_cstream, .-init_cstream
.globl ZSTD_dlm_byRef
.bss
.align 4
.type ZSTD_dlm_byRef, @object
.size ZSTD_dlm_byRef, 4
ZSTD_dlm_byRef:
.zero 4
.globl ZSTD_defaultCMem
.align 4
.type ZSTD_defaultCMem, @object
.size ZSTD_defaultCMem, 4
ZSTD_defaultCMem:
.zero 4
.globl ZSTD_dct_auto
.align 4
.type ZSTD_dct_auto, @object
.size ZSTD_dct_auto, 4
ZSTD_dct_auto:
.zero 4
.globl ZSTD_CONTENTSIZE_UNKNOWN
.align 4
.type ZSTD_CONTENTSIZE_UNKNOWN, @object
.size ZSTD_CONTENTSIZE_UNKNOWN, 4
ZSTD_CONTENTSIZE_UNKNOWN:
.zero 4
.globl CONFIG_NO_LEVEL
.section .rodata
.align 4
.type CONFIG_NO_LEVEL, @object
.size CONFIG_NO_LEVEL, 4
CONFIG_NO_LEVEL:
.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_method.c_init_cstream.c"
.text
.section .rodata.cst4,"aM",%progbits,4
.align 2
.LC0:
.word __stack_chk_guard
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type init_cstream, %function
init_cstream:
@ args = 4, pretend = 0, frame = 16
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, lr}
cmp r3, #0
ldr r3, .L33
sub sp, sp, #28
mov r7, r0
mov r6, r1
mov r4, r2
ldr r3, [r3]
str r3, [sp, #20]
mov r3,#0
ldr r5, [sp, #48]
beq .L2
mov r3, #0
mov r1, r2
add r0, sp, #12
mov r2, r3
bl config_get_zstd_params
cmp r5, #0
beq .L3
ldr r3, [r4]
cmp r3, #0
bne .L31
.L11:
mov r0, #1
.L1:
ldr r3, .L33
ldr r2, [r3]
ldr r3, [sp, #20]
eors r2, r3, r2
mov r3, #0
bne .L32
add sp, sp, #28
@ sp needed
pop {r4, r5, r6, r7, pc}
.L2:
mov r0, r2
bl config_get_level
ldr r3, .L33+4
ldr r3, [r3]
cmp r3, r0
beq .L11
cmp r5, #0
ldr r3, [r4]
beq .L10
cmp r3, #0
beq .L11
mov r2, r0
ldr r1, [r7]
ldr r0, [r7, #4]
bl ZSTD_createCDict
cmp r0, #0
mov r1, r0
str r0, [r5]
beq .L11
mov r0, r6
bl ZSTD_initCStream_usingCDict
b .L7
.L31:
ldr r2, .L33+8
ldr r1, [sp, #16]
ldr r0, [r2]
ldr r3, .L33+12
ldr r2, .L33+16
str r0, [sp, #4]
ldr r3, [r3]
ldr r2, [r2]
str r1, [sp]
ldr r1, [r7]
ldr r0, [r7, #4]
bl ZSTD_createCDict_advanced
cmp r0, #0
mov r1, r0
str r0, [r5]
beq .L11
ldr r3, .L33+20
mov r0, r6
ldr r3, [r3]
ldr r2, [sp, #12]
bl ZSTD_initCStream_usingCDict_advanced
.L7:
bl ZSTD_isError
subs r0, r0, #0
movne r0, #1
b .L1
.L3:
ldr r1, .L33+20
ldr r2, [r4]
ldr r3, [sp, #16]
ldr ip, [r1]
cmp r2, #0
ldmne r7, {r2, r5}
mov r0, r6
stm sp, {r3, ip}
mov r1, r5
ldr r3, [sp, #12]
bl ZSTD_initCStream_advanced
b .L7
.L10:
cmp r3, #0
beq .L12
mov r3, r0
ldr r2, [r7]
mov r0, r6
ldr r1, [r7, #4]
bl ZSTD_initCStream_usingDict
b .L7
.L12:
mov r1, r0
mov r0, r6
bl ZSTD_initCStream
b .L7
.L32:
bl __stack_chk_fail
.L34:
.align 2
.L33:
.word .LC0
.word CONFIG_NO_LEVEL
.word ZSTD_defaultCMem
.word ZSTD_dct_auto
.word ZSTD_dlm_byRef
.word ZSTD_CONTENTSIZE_UNKNOWN
.size init_cstream, .-init_cstream
.comm ZSTD_dlm_byRef,4,4
.comm ZSTD_defaultCMem,4,4
.comm ZSTD_dct_auto,4,4
.comm ZSTD_CONTENTSIZE_UNKNOWN,4,4
.comm CONFIG_NO_LEVEL,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_method.c_method_set_zstdcli.c"
.intel_syntax noprefix
.text
.p2align 4
.globl method_set_zstdcli
.type method_set_zstdcli, @function
method_set_zstdcli:
.LFB0:
.cfi_startproc
endbr64
mov QWORD PTR g_zstdcli[rip], rdi
ret
.cfi_endproc
.LFE0:
.size method_set_zstdcli, .-method_set_zstdcli
.globl g_zstdcli
.bss
.align 8
.type g_zstdcli, @object
.size g_zstdcli, 8
g_zstdcli:
.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_method.c_method_set_zstdcli.c"
.text
.align 2
.global method_set_zstdcli
.syntax unified
.arm
.fpu softvfp
.type method_set_zstdcli, %function
method_set_zstdcli:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr r3, .L3
str r0, [r3]
bx lr
.L4:
.align 2
.L3:
.word g_zstdcli
.size method_set_zstdcli, .-method_set_zstdcli
.comm g_zstdcli,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_method.c_method_state_create.c"
.intel_syntax noprefix
.text
.p2align 4
.type method_state_create, @function
method_state_create:
.LFB0:
.cfi_startproc
endbr64
push rbx
.cfi_def_cfa_offset 16
.cfi_offset 3, -16
mov rbx, rdi
mov edi, 8
call malloc@PLT
test rax, rax
je .L1
mov QWORD PTR [rax], rbx
.L1:
pop rbx
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size method_state_create, .-method_state_create
.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_method.c_method_state_create.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type method_state_create, %function
method_state_create:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
mov r4, r0
mov r0, #4
bl malloc
cmp r0, #0
strne r4, [r0]
pop {r4, pc}
.size method_state_create, .-method_state_create
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_method.c_method_state_destroy.c"
.intel_syntax noprefix
.text
.p2align 4
.type method_state_destroy, @function
method_state_destroy:
.LFB0:
.cfi_startproc
endbr64
jmp free@PLT
.cfi_endproc
.LFE0:
.size method_state_destroy, .-method_state_destroy
.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_method.c_method_state_destroy.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type method_state_destroy, %function
method_state_destroy:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
b free
.size method_state_destroy, .-method_state_destroy
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_method.c_old_streaming_compress.c"
.intel_syntax noprefix
.text
.p2align 4
.type old_streaming_compress, @function
old_streaming_compress:
.LFB0:
.cfi_startproc
endbr64
xor ecx, ecx
xor edx, edx
jmp old_streaming_compress_internal@PLT
.cfi_endproc
.LFE0:
.size old_streaming_compress, .-old_streaming_compress
.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_method.c_old_streaming_compress.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type old_streaming_compress, %function
old_streaming_compress:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
mov r3, #0
mov r2, r3
b old_streaming_compress_internal
.size old_streaming_compress, .-old_streaming_compress
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_method.c_old_streaming_compress_advanced.c"
.intel_syntax noprefix
.text
.p2align 4
.type old_streaming_compress_advanced, @function
old_streaming_compress_advanced:
.LFB0:
.cfi_startproc
endbr64
xor ecx, ecx
mov edx, 1
jmp old_streaming_compress_internal@PLT
.cfi_endproc
.LFE0:
.size old_streaming_compress_advanced, .-old_streaming_compress_advanced
.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_method.c_old_streaming_compress_advanced.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type old_streaming_compress_advanced, %function
old_streaming_compress_advanced:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
mov r3, #0
mov r2, #1
b old_streaming_compress_internal
.size old_streaming_compress_advanced, .-old_streaming_compress_advanced
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_method.c_old_streaming_compress_cdict.c"
.intel_syntax noprefix
.text
.p2align 4
.type old_streaming_compress_cdict, @function
old_streaming_compress_cdict:
.LFB0:
.cfi_startproc
endbr64
mov ecx, 1
xor edx, edx
jmp old_streaming_compress_internal@PLT
.cfi_endproc
.LFE0:
.size old_streaming_compress_cdict, .-old_streaming_compress_cdict
.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_method.c_old_streaming_compress_cdict.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type old_streaming_compress_cdict, %function
old_streaming_compress_cdict:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
mov r3, #1
mov r2, #0
b old_streaming_compress_internal
.size old_streaming_compress_cdict, .-old_streaming_compress_cdict
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_method.c_old_streaming_compress_cdict_advanced.c"
.intel_syntax noprefix
.text
.p2align 4
.type old_streaming_compress_cdict_advanced, @function
old_streaming_compress_cdict_advanced:
.LFB0:
.cfi_startproc
endbr64
mov ecx, 1
mov edx, 1
jmp old_streaming_compress_internal@PLT
.cfi_endproc
.LFE0:
.size old_streaming_compress_cdict_advanced, .-old_streaming_compress_cdict_advanced
.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_method.c_old_streaming_compress_cdict_advanced.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type old_streaming_compress_cdict_advanced, %function
old_streaming_compress_cdict_advanced:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
mov r3, #1
mov r2, r3
b old_streaming_compress_internal
.size old_streaming_compress_cdict_advanced, .-old_streaming_compress_cdict_advanced
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_result.c_result_get_error_string.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "round trip error"
.LC1:
.string "okay"
.LC2:
.string "system error"
.LC3:
.string "compression error"
.LC4:
.string "decompression error"
.LC5:
.string "skip"
.text
.p2align 4
.globl result_get_error_string
.type result_get_error_string, @function
result_get_error_string:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
call result_get_error@PLT
add eax, -128
cmp eax, 5
ja .L1
lea rdx, .L4[rip]
movsx rax, DWORD PTR [rdx+rax*4]
add rax, rdx
notrack jmp rax
.section .rodata
.align 4
.align 4
.L4:
.long .L10-.L4
.long .L8-.L4
.long .L7-.L4
.long .L6-.L4
.long .L5-.L4
.long .L3-.L4
.text
.p2align 4,,10
.p2align 3
.L10:
lea rax, .LC2[rip]
.L1:
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L8:
.cfi_restore_state
lea rax, .LC5[rip]
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L7:
.cfi_restore_state
lea rax, .LC0[rip]
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L3:
.cfi_restore_state
lea rax, .LC3[rip]
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L6:
.cfi_restore_state
lea rax, .LC1[rip]
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L5:
.cfi_restore_state
lea rax, .LC4[rip]
add rsp, 8
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size result_get_error_string, .-result_get_error_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_result.c_result_get_error_string.c"
.text
.align 2
.global result_get_error_string
.syntax unified
.arm
.fpu softvfp
.type result_get_error_string, %function
result_get_error_string:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
bl result_get_error
sub r0, r0, #128
cmp r0, #5
ldrls r3, .L5
ldrls r0, [r3, r0, lsl #2]
pop {r4, pc}
.L6:
.align 2
.L5:
.word .LANCHOR0
.size result_get_error_string, .-result_get_error_string
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "system error\000"
.align 2
.LC1:
.ascii "skip\000"
.align 2
.LC2:
.ascii "round trip error\000"
.align 2
.LC3:
.ascii "okay\000"
.align 2
.LC4:
.ascii "decompression error\000"
.align 2
.LC5:
.ascii "compression error\000"
.section .rodata
.align 2
.set .LANCHOR0,. + 0
.type CSWTCH.1, %object
.size CSWTCH.1, 24
CSWTCH.1:
.word .LC0
.word .LC1
.word .LC2
.word .LC3
.word .LC4
.word .LC5
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_result.h_result_data.c"
.intel_syntax noprefix
.text
.p2align 4
.type result_data, @function
result_data:
.LFB0:
.cfi_startproc
endbr64
mov eax, DWORD PTR result_error_ok[rip]
sal rax, 32
mov rdx, rax
mov eax, edi
or rax, rdx
ret
.cfi_endproc
.LFE0:
.size result_data, .-result_data
.globl result_error_ok
.bss
.align 4
.type result_error_ok, @object
.size result_error_ok, 4
result_error_ok:
.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_result.h_result_data.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type result_data, %function
result_data:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr r2, .L3
str r1, [r0]
ldr r2, [r2]
str r2, [r0, #4]
bx lr
.L4:
.align 2
.L3:
.word result_error_ok
.size result_data, .-result_data
.comm result_error_ok,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_result.h_result_error.c"
.intel_syntax noprefix
.text
.p2align 4
.type result_error, @function
result_error:
.LFB0:
.cfi_startproc
endbr64
mov eax, edi
ret
.cfi_endproc
.LFE0:
.size result_error, .-result_error
.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_result.h_result_error.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type result_error, %function
result_error:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
bx lr
.size result_error, .-result_error
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_result.h_result_get_data.c"
.intel_syntax noprefix
.text
.p2align 4
.type result_get_data, @function
result_get_data:
.LFB0:
.cfi_startproc
endbr64
mov eax, edi
ret
.cfi_endproc
.LFE0:
.size result_get_data, .-result_get_data
.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_result.h_result_get_data.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type result_get_data, %function
result_get_data:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
bx lr
.size result_get_data, .-result_get_data
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_result.h_result_get_error.c"
.intel_syntax noprefix
.text
.p2align 4
.type result_get_error, @function
result_get_error:
.LFB0:
.cfi_startproc
endbr64
mov eax, edi
ret
.cfi_endproc
.LFE0:
.size result_get_error, .-result_get_error
.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_result.h_result_get_error.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type result_get_error, %function
result_get_error:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
bx lr
.size result_get_error, .-result_get_error
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_result.h_result_is_error.c"
.intel_syntax noprefix
.text
.p2align 4
.type result_is_error, @function
result_is_error:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
call result_get_error@PLT
cmp QWORD PTR result_error_ok[rip], rax
setne al
add rsp, 8
.cfi_def_cfa_offset 8
movzx eax, al
ret
.cfi_endproc
.LFE0:
.size result_is_error, .-result_is_error
.globl result_error_ok
.bss
.align 8
.type result_error_ok, @object
.size result_error_ok, 8
result_error_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_result.h_result_is_error.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type result_is_error, %function
result_is_error:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
bl result_get_error
ldr r3, .L4
ldr r3, [r3]
subs r0, r3, r0
movne r0, #1
pop {r4, pc}
.L5:
.align 2
.L4:
.word result_error_ok
.size result_is_error, .-result_is_error
.comm result_error_ok,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_result.h_result_is_skip.c"
.intel_syntax noprefix
.text
.p2align 4
.type result_is_skip, @function
result_is_skip:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
call result_get_error@PLT
cmp QWORD PTR result_error_skip[rip], rax
sete al
add rsp, 8
.cfi_def_cfa_offset 8
movzx eax, al
ret
.cfi_endproc
.LFE0:
.size result_is_skip, .-result_is_skip
.globl result_error_skip
.bss
.align 8
.type result_error_skip, @object
.size result_error_skip, 8
result_error_skip:
.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_result.h_result_is_skip.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type result_is_skip, %function
result_is_skip:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
bl result_get_error
ldr r3, .L4
ldr r3, [r3]
sub r0, r3, r0
clz r0, r0
lsr r0, r0, #5
pop {r4, pc}
.L5:
.align 2
.L4:
.word result_error_skip
.size result_is_skip, .-result_is_skip
.comm result_error_skip,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_test.c_are_names_bad.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "method name %s is bad\n"
.LC1:
.string "data name %s is bad\n"
.LC2:
.string "config name %s is bad\n"
.text
.p2align 4
.type are_names_bad, @function
are_names_bad:
.LFB0:
.cfi_startproc
endbr64
mov rax, QWORD PTR methods[rip]
push rbx
.cfi_def_cfa_offset 16
.cfi_offset 3, -16
mov rax, QWORD PTR [rax]
test rax, rax
je .L2
xor ebx, ebx
jmp .L5
.p2align 4,,10
.p2align 3
.L3:
mov rax, QWORD PTR methods[rip]
add rbx, 8
mov rax, QWORD PTR [rax+rbx]
test rax, rax
je .L2
.L5:
mov rdi, QWORD PTR [rax]
call is_name_bad@PLT
test rax, rax
je .L3
mov rax, QWORD PTR methods[rip]
mov edi, DWORD PTR stderr[rip]
lea rsi, .LC0[rip]
mov rax, QWORD PTR [rax+rbx]
mov rdx, QWORD PTR [rax]
call fprintf@PLT
mov eax, 1
pop rbx
.cfi_remember_state
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L2:
.cfi_restore_state
mov rax, QWORD PTR data[rip]
mov rax, QWORD PTR [rax]
test rax, rax
je .L6
xor ebx, ebx
jmp .L8
.p2align 4,,10
.p2align 3
.L7:
mov rax, QWORD PTR data[rip]
add rbx, 8
mov rax, QWORD PTR [rax+rbx]
test rax, rax
je .L6
.L8:
mov rdi, QWORD PTR [rax]
call is_name_bad@PLT
test rax, rax
je .L7
mov rax, QWORD PTR data[rip]
mov edi, DWORD PTR stderr[rip]
lea rsi, .LC1[rip]
mov rax, QWORD PTR [rax+rbx]
mov rdx, QWORD PTR [rax]
call fprintf@PLT
mov eax, 1
pop rbx
.cfi_remember_state
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L6:
.cfi_restore_state
mov rax, QWORD PTR configs[rip]
mov rax, QWORD PTR [rax]
test rax, rax
je .L9
xor ebx, ebx
jmp .L11
.p2align 4,,10
.p2align 3
.L10:
mov rax, QWORD PTR configs[rip]
add rbx, 8
mov rax, QWORD PTR [rax+rbx]
test rax, rax
je .L9
.L11:
mov rdi, QWORD PTR [rax]
call is_name_bad@PLT
test rax, rax
je .L10
mov rax, QWORD PTR configs[rip]
mov edi, DWORD PTR stderr[rip]
lea rsi, .LC2[rip]
mov rax, QWORD PTR [rax+rbx]
mov rdx, QWORD PTR [rax]
call fprintf@PLT
mov eax, 1
pop rbx
.cfi_remember_state
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L9:
.cfi_restore_state
xor eax, eax
pop rbx
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size are_names_bad, .-are_names_bad
.globl stderr
.bss
.align 4
.type stderr, @object
.size stderr, 4
stderr:
.zero 4
.globl methods
.align 8
.type methods, @object
.size methods, 8
methods:
.zero 8
.globl data
.align 8
.type data, @object
.size data, 8
data:
.zero 8
.globl configs
.align 8
.type configs, @object
.size configs, 8
configs:
.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_test.c_are_names_bad.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "method name %s is bad\012\000"
.align 2
.LC1:
.ascii "data name %s is bad\012\000"
.align 2
.LC2:
.ascii "config name %s is bad\012\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type are_names_bad, %function
are_names_bad:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
ldr r5, .L26
ldr r3, [r5]
ldr r3, [r3]
cmp r3, #0
beq .L2
mov r4, #0
b .L5
.L3:
add r4, r4, #4
ldr r3, [r3, r4]
cmp r3, #0
beq .L2
.L5:
ldr r0, [r3]
bl is_name_bad
cmp r0, #0
ldr r3, [r5]
beq .L3
ldr r3, [r3, r4]
ldr r2, .L26+4
ldr r1, .L26+8
ldr r0, [r2]
ldr r2, [r3]
bl fprintf
mov r0, #1
pop {r4, r5, r6, pc}
.L2:
ldr r5, .L26+12
ldr r3, [r5]
ldr r3, [r3]
cmp r3, #0
beq .L6
mov r4, #0
b .L8
.L7:
add r4, r4, #4
ldr r3, [r3, r4]
cmp r3, #0
beq .L6
.L8:
ldr r0, [r3]
bl is_name_bad
cmp r0, #0
ldr r3, [r5]
beq .L7
ldr r3, [r3, r4]
ldr r2, .L26+4
ldr r1, .L26+16
ldr r0, [r2]
ldr r2, [r3]
bl fprintf
mov r0, #1
pop {r4, r5, r6, pc}
.L6:
ldr r5, .L26+20
ldr r3, [r5]
ldr r3, [r3]
cmp r3, #0
beq .L9
mov r4, #0
b .L11
.L10:
add r4, r4, #4
ldr r3, [r3, r4]
cmp r3, #0
beq .L9
.L11:
ldr r0, [r3]
bl is_name_bad
cmp r0, #0
ldr r3, [r5]
beq .L10
ldr r3, [r3, r4]
ldr r2, .L26+4
ldr r1, .L26+24
ldr r0, [r2]
ldr r2, [r3]
bl fprintf
mov r0, #1
pop {r4, r5, r6, pc}
.L9:
mov r0, #0
pop {r4, r5, r6, pc}
.L27:
.align 2
.L26:
.word methods
.word stderr
.word .LC0
.word data
.word .LC1
.word configs
.word .LC2
.size are_names_bad, .-are_names_bad
.comm stderr,4,4
.comm methods,4,4
.comm data,4,4
.comm configs,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_test.c_diff_results.c"
.intel_syntax noprefix
.text
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC0:
.string "failed to open results '%s' for diff\n"
.align 8
.LC1:
.string "failed to open previous results '%s' for diff\n"
.align 8
.LC2:
.string "actual results '%s' does not match expected results '%s'\n"
.align 8
.LC3:
.string "actual results match expected results\n"
.text
.p2align 4
.type diff_results, @function
diff_results:
.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, rsi
push r12
.cfi_def_cfa_offset 40
.cfi_offset 12, -40
push rbp
.cfi_def_cfa_offset 48
.cfi_offset 6, -48
call data_buffer_read@PLT
mov rdi, r13
mov rbp, rax
call data_buffer_read@PLT
mov r12, rax
test rbp, rbp
je .L8
test rax, rax
je .L9
mov rsi, rax
mov rdi, rbp
call data_buffer_compare@PLT
mov r15d, eax
test eax, eax
jne .L10
mov edi, DWORD PTR stderr[rip]
lea rsi, .LC3[rip]
xor eax, eax
call fprintf@PLT
.L3:
mov rdi, rbp
call data_buffer_free@PLT
mov rdi, r12
call data_buffer_free@PLT
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 40
mov eax, r15d
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
.p2align 4,,10
.p2align 3
.L10:
.cfi_restore_state
mov edi, DWORD PTR stderr[rip]
mov rcx, r13
mov rdx, r14
xor eax, eax
lea rsi, .LC2[rip]
call fprintf@PLT
jmp .L3
.p2align 4,,10
.p2align 3
.L9:
mov edi, DWORD PTR stderr[rip]
mov rdx, r13
lea rsi, .LC1[rip]
xor eax, eax
mov r15d, 1
call fprintf@PLT
jmp .L3
.p2align 4,,10
.p2align 3
.L8:
mov edi, DWORD PTR stderr[rip]
mov rdx, r14
lea rsi, .LC0[rip]
xor eax, eax
mov r15d, 1
call fprintf@PLT
jmp .L3
.cfi_endproc
.LFE0:
.size diff_results, .-diff_results
.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_test.c_diff_results.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "failed to open results '%s' for diff\012\000"
.align 2
.LC1:
.ascii "failed to open previous results '%s' for diff\012\000"
.align 2
.LC2:
.ascii "actual results '%s' does not match expected results"
.ascii " '%s'\012\000"
.align 2
.LC3:
.ascii "actual results match expected results\012\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type diff_results, %function
diff_results:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, lr}
mov r7, r1
mov r8, r0
bl data_buffer_read
mov r4, r0
mov r0, r7
bl data_buffer_read
cmp r4, #0
mov r5, r0
beq .L8
cmp r0, #0
beq .L9
mov r1, r0
mov r0, r4
bl data_buffer_compare
subs r6, r0, #0
bne .L10
ldr r3, .L11
ldr r1, .L11+4
ldr r0, [r3]
bl fprintf
.L3:
mov r0, r4
bl data_buffer_free
mov r0, r5
bl data_buffer_free
mov r0, r6
pop {r4, r5, r6, r7, r8, pc}
.L10:
ldr r1, .L11
mov r3, r7
mov r2, r8
ldr r0, [r1]
ldr r1, .L11+8
bl fprintf
b .L3
.L9:
ldr r3, .L11
mov r2, r7
ldr r0, [r3]
ldr r1, .L11+12
bl fprintf
mov r6, #1
b .L3
.L8:
ldr r3, .L11
mov r2, r8
ldr r0, [r3]
ldr r1, .L11+16
bl fprintf
mov r6, #1
b .L3
.L12:
.align 2
.L11:
.word stderr
.word .LC3
.word .LC2
.word .LC1
.word .LC0
.size diff_results, .-diff_results
.comm stderr,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
.file "extr_test.c_main.c"
.intel_syntax noprefix
.text
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC0:
.string "data_init() failed with error=%s\n"
.section .rodata.str1.1,"aMS",@progbits,1
.LC1:
.string "w"
.section .rodata.str1.8
.align 8
.LC2:
.string "Failed to open the output file\n"
.section .text.startup,"ax",@progbits
.p2align 4
.globl main
.type main, @function
main:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
push rbp
.cfi_def_cfa_offset 24
.cfi_offset 6, -24
sub rsp, 8
.cfi_def_cfa_offset 32
call parse_args@PLT
mov r12d, eax
test eax, eax
je .L12
.L1:
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
mov eax, r12d
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.L12:
.cfi_restore_state
xor eax, eax
mov r12d, 1
call are_names_bad@PLT
test rax, rax
jne .L1
mov edi, DWORD PTR g_zstdcli[rip]
call method_set_zstdcli@PLT
mov edi, DWORD PTR g_cache[rip]
call data_init@PLT
test eax, eax
jne .L13
mov edi, DWORD PTR g_output[rip]
lea rsi, .LC1[rip]
call fopen@PLT
mov rbp, rax
test rax, rax
je .L14
mov rdi, rax
call run_all@PLT
mov rdi, rbp
mov r12d, eax
call fclose@PLT
test r12d, r12d
jne .L5
mov rsi, QWORD PTR g_diff[rip]
test rsi, rsi
jne .L15
.L5:
xor eax, eax
call data_finish@PLT
jmp .L1
.L13:
mov edi, eax
call strerror@PLT
mov edi, DWORD PTR stderr[rip]
lea rsi, .LC0[rip]
mov rdx, rax
xor eax, eax
call fprintf@PLT
jmp .L1
.L14:
mov edi, DWORD PTR stderr[rip]
lea rsi, .LC2[rip]
xor eax, eax
call fprintf@PLT
jmp .L5
.L15:
mov edi, DWORD PTR g_output[rip]
call diff_results@PLT
mov r12d, eax
jmp .L5
.cfi_endproc
.LFE0:
.size main, .-main
.globl stderr
.bss
.align 4
.type stderr, @object
.size stderr, 4
stderr:
.zero 4
.globl g_zstdcli
.align 4
.type g_zstdcli, @object
.size g_zstdcli, 4
g_zstdcli:
.zero 4
.globl g_output
.align 4
.type g_output, @object
.size g_output, 4
g_output:
.zero 4
.globl g_diff
.align 8
.type g_diff, @object
.size g_diff, 8
g_diff:
.zero 8
.globl g_cache
.align 4
.type g_cache, @object
.size g_cache, 4
g_cache:
.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_test.c_main.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "data_init() failed with error=%s\012\000"
.align 2
.LC1:
.ascii "w\000"
.align 2
.LC2:
.ascii "Failed to open the output file\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, r5, r6, lr}
bl parse_args
subs r4, r0, #0
beq .L12
.L1:
mov r0, r4
pop {r4, r5, r6, pc}
.L12:
bl are_names_bad
cmp r0, #0
movne r4, #1
bne .L1
ldr r3, .L16
ldr r0, [r3]
bl method_set_zstdcli
ldr r3, .L16+4
ldr r0, [r3]
bl data_init
cmp r0, #0
bne .L13
ldr r6, .L16+8
ldr r1, .L16+12
ldr r0, [r6]
bl fopen
subs r5, r0, #0
beq .L14
bl run_all
mov r4, r0
mov r0, r5
bl fclose
cmp r4, #0
bne .L5
ldr r3, .L16+16
ldr r4, [r3]
cmp r4, #0
bne .L15
.L5:
bl data_finish
b .L1
.L13:
ldr r3, .L16+20
mov r4, #1
ldr r5, [r3]
bl strerror
ldr r1, .L16+24
mov r2, r0
mov r0, r5
bl fprintf
b .L1
.L14:
ldr r3, .L16+20
ldr r1, .L16+28
ldr r0, [r3]
bl fprintf
mov r4, #1
b .L5
.L15:
mov r1, r4
ldr r0, [r6]
bl diff_results
mov r4, r0
b .L5
.L17:
.align 2
.L16:
.word g_zstdcli
.word g_cache
.word g_output
.word .LC1
.word g_diff
.word stderr
.word .LC0
.word .LC2
.size main, .-main
.comm stderr,4,4
.comm g_zstdcli,4,4
.comm g_output,4,4
.comm g_diff,4,4
.comm g_cache,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.