x86 stringlengths 320 23.7M | arm stringlengths 334 24.4M | source stringclasses 2 values |
|---|---|---|
.file "extr_debug-plugin.c_network_mysqld_debug_plugin_free.c"
.intel_syntax noprefix
.text
.p2align 4
.type network_mysqld_debug_plugin_free, @function
network_mysqld_debug_plugin_free:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rdi
mov rdi, QWORD PTR [rdi]
test rdi, rdi
je .L2
call g_free@PLT
.L2:
mov rdi, rbp
pop rbp
.cfi_def_cfa_offset 8
jmp g_free@PLT
.cfi_endproc
.LFE0:
.size network_mysqld_debug_plugin_free, .-network_mysqld_debug_plugin_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_debug-plugin.c_network_mysqld_debug_plugin_free.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type network_mysqld_debug_plugin_free, %function
network_mysqld_debug_plugin_free:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
mov r4, r0
ldr r0, [r0]
cmp r0, #0
beq .L2
bl g_free
.L2:
mov r0, r4
pop {r4, lr}
b g_free
.size network_mysqld_debug_plugin_free, .-network_mysqld_debug_plugin_free
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
| anghabench |
.file "extr_debug-plugin.c_network_mysqld_server_connection_init.c"
.intel_syntax noprefix
.text
.p2align 4
.type network_mysqld_server_connection_init, @function
network_mysqld_server_connection_init:
.LFB0:
.cfi_startproc
endbr64
mov eax, DWORD PTR server_con_init[rip]
mov DWORD PTR 8[rdi], eax
mov eax, DWORD PTR server_read_auth[rip]
mov DWORD PTR 4[rdi], eax
mov eax, DWORD PTR server_read_query[rip]
mov DWORD PTR [rdi], eax
xor eax, eax
ret
.cfi_endproc
.LFE0:
.size network_mysqld_server_connection_init, .-network_mysqld_server_connection_init
.globl server_read_query
.bss
.align 4
.type server_read_query, @object
.size server_read_query, 4
server_read_query:
.zero 4
.globl server_read_auth
.align 4
.type server_read_auth, @object
.size server_read_auth, 4
server_read_auth:
.zero 4
.globl server_con_init
.align 4
.type server_con_init, @object
.size server_con_init, 4
server_con_init:
.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_debug-plugin.c_network_mysqld_server_connection_init.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type network_mysqld_server_connection_init, %function
network_mysqld_server_connection_init:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr r1, .L3
ldr r2, .L3+4
ldr r3, .L3+8
ldr r1, [r1]
ldr r2, [r2]
ldr r3, [r3]
str r1, [r0, #8]
str r2, [r0, #4]
str r3, [r0]
mov r0, #0
bx lr
.L4:
.align 2
.L3:
.word server_con_init
.word server_read_auth
.word server_read_query
.size network_mysqld_server_connection_init, .-network_mysqld_server_connection_init
.comm server_read_query,4,4
.comm server_read_auth,4,4
.comm server_con_init,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
| anghabench |
.file "extr_debug-plugin.c_plugin_debug_con_handle_stmt.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "TRUE"
.LC1:
.string "FALSE"
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC2:
.string "select @@version_comment limit 1"
.section .rodata.str1.1
.LC3:
.string "@@version_comment"
.LC4:
.string "MySQL Enterprise Agent"
.LC5:
.string "select USER()"
.LC6:
.string "USER()"
.LC7:
.string "root"
.LC8:
.string "%.0f"
.LC9:
.string "lua"
.LC10:
.string "unknown COM_*"
.text
.p2align 4
.globl plugin_debug_con_handle_stmt
.type plugin_debug_con_handle_stmt, @function
plugin_debug_con_handle_stmt:
.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, rdx
push rbx
.cfi_def_cfa_offset 56
.cfi_offset 3, -56
mov rbx, rsi
sub rsp, 24
.cfi_def_cfa_offset 80
mov rax, QWORD PTR fs:40
mov QWORD PTR 8[rsp], rax
mov rax, QWORD PTR [rdx]
mov rdx, QWORD PTR NET_HEADER_SIZE[rip]
mov eax, DWORD PTR [rax+rdx*4]
cmp eax, 130
je .L2
cmp eax, 131
je .L3
cmp eax, 129
je .L4
lea rdi, .LC10[rip]
call C@PLT
mov edi, DWORD PTR [rbx]
movsx rsi, eax
xor eax, eax
call network_mysqld_con_send_error@PLT
.L4:
mov rax, QWORD PTR 8[rsp]
sub rax, QWORD PTR fs:40
jne .L60
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
.L2:
.cfi_restore_state
mov r12, rdi
lea rdi, .LC2[rip]
call C@PLT
mov rdx, QWORD PTR NET_HEADER_SIZE[rip]
mov esi, eax
mov rax, QWORD PTR 0[rbp]
lea rdi, 4[rax+rdx*4]
call g_ascii_strncasecmp@PLT
test eax, eax
je .L61
lea rdi, .LC5[rip]
call C@PLT
mov rdx, QWORD PTR NET_HEADER_SIZE[rip]
mov esi, eax
mov rax, QWORD PTR 0[rbp]
lea rdi, 4[rax+rdx*4]
call g_ascii_strncasecmp@PLT
test eax, eax
jne .L8
call network_mysqld_proto_fielddefs_new@PLT
mov r12, rax
xor eax, eax
call network_mysqld_proto_fielddef_new@PLT
lea rdi, .LC6[rip]
mov rbp, rax
call g_strdup@PLT
mov rsi, rbp
mov rdi, r12
mov QWORD PTR 24[rbp], rax
mov rax, QWORD PTR FIELD_TYPE_VAR_STRING[rip]
mov QWORD PTR 16[rbp], rax
call g_ptr_array_add@PLT
xor eax, eax
call g_ptr_array_new@PLT
mov rbp, rax
xor eax, eax
call g_ptr_array_new@PLT
lea rdi, .LC7[rip]
mov r13, rax
.L58:
call g_strdup@PLT
mov rdi, r13
mov rsi, rax
call g_ptr_array_add@PLT
mov rsi, r13
mov rdi, rbp
call g_ptr_array_add@PLT
mov edi, DWORD PTR [rbx]
mov rdx, rbp
mov rsi, r12
call network_mysqld_con_send_resultset@PLT
test r12, r12
je .L33
.L32:
mov rdi, r12
call network_mysqld_proto_fielddefs_free@PLT
.L33:
test rbp, rbp
je .L4
cmp QWORD PTR 0[rbp], 0
je .L34
xor r13d, r13d
.p2align 4,,10
.p2align 3
.L37:
mov rax, QWORD PTR 8[rbp]
mov r12, QWORD PTR [rax+r13*8]
cmp QWORD PTR [r12], 0
je .L35
xor ebx, ebx
.p2align 4,,10
.p2align 3
.L36:
mov rax, QWORD PTR 8[r12]
mov rdi, QWORD PTR [rax+rbx*8]
add rbx, 1
call g_free@PLT
cmp QWORD PTR [r12], rbx
ja .L36
.L35:
mov esi, DWORD PTR TRUE[rip]
mov rdi, r12
add r13, 1
call g_ptr_array_free@PLT
cmp QWORD PTR 0[rbp], r13
ja .L37
.L34:
mov esi, DWORD PTR TRUE[rip]
mov rdi, rbp
call g_ptr_array_free@PLT
jmp .L4
.p2align 4,,10
.p2align 3
.L3:
mov edi, DWORD PTR [rsi]
call network_mysqld_con_send_ok@PLT
jmp .L4
.L61:
call network_mysqld_proto_fielddefs_new@PLT
mov r12, rax
xor eax, eax
call network_mysqld_proto_fielddef_new@PLT
lea rdi, .LC3[rip]
mov rbp, rax
call g_strdup@PLT
mov rsi, rbp
mov rdi, r12
mov QWORD PTR 24[rbp], rax
mov rax, QWORD PTR FIELD_TYPE_VAR_STRING[rip]
mov QWORD PTR 16[rbp], rax
call g_ptr_array_add@PLT
xor eax, eax
call g_ptr_array_new@PLT
mov rbp, rax
xor eax, eax
call g_ptr_array_new@PLT
lea rdi, .LC4[rip]
mov r13, rax
jmp .L58
.L8:
mov rax, QWORD PTR [r12]
mov rdx, QWORD PTR NET_HEADER_SIZE[rip]
mov r13, QWORD PTR [rax]
mov rax, QWORD PTR 0[rbp]
mov rdi, r13
lea rsi, 4[rax+rdx*4]
call luaL_loadstring@PLT
test eax, eax
jne .L11
xor ecx, ecx
xor esi, esi
mov edx, 1
mov rdi, r13
call lua_pcall@PLT
test eax, eax
jne .L11
mov esi, -1
mov rdi, r13
call lua_type@PLT
cmp eax, 128
mov eax, 0
je .L62
call network_mysqld_proto_fielddefs_new@PLT
mov r12, rax
xor eax, eax
call network_mysqld_proto_fielddef_new@PLT
lea rdi, .LC9[rip]
mov rbp, rax
call g_strdup@PLT
mov rsi, rbp
mov rdi, r12
mov QWORD PTR 24[rbp], rax
mov rax, QWORD PTR FIELD_TYPE_VAR_STRING[rip]
mov QWORD PTR 16[rbp], rax
call g_ptr_array_add@PLT
xor eax, eax
call g_ptr_array_new@PLT
mov rbp, rax
xor eax, eax
call g_ptr_array_new@PLT
mov esi, -1
mov rdi, r13
mov r14, rax
call lua_tostring@PLT
mov rdi, rax
call g_strdup@PLT
mov rdi, r14
mov rsi, rax
call g_ptr_array_add@PLT
.L57:
mov rsi, r14
mov rdi, rbp
call g_ptr_array_add@PLT
.L30:
mov esi, 1
mov rdi, r13
call lua_pop@PLT
mov edi, DWORD PTR [rbx]
mov rdx, rbp
mov rsi, r12
call network_mysqld_con_send_resultset@PLT
test r12, r12
jne .L32
jmp .L10
.p2align 4,,10
.p2align 3
.L11:
xor ebp, ebp
.L10:
mov rdx, rsp
mov rdi, r13
mov esi, -1
mov QWORD PTR [rsp], 0
call lua_tolstring@PLT
mov edi, DWORD PTR [rbx]
mov rdx, QWORD PTR [rsp]
mov rsi, rax
xor eax, eax
call network_mysqld_con_send_error@PLT
mov esi, 1
mov rdi, r13
call lua_pop@PLT
jmp .L33
.L62:
call network_mysqld_proto_fielddefs_new@PLT
mov rdi, r13
xor r14d, r14d
xor ebp, ebp
mov r12, rax
lea r15, .LC0[rip]
call lua_pushnil@PLT
jmp .L13
.L66:
call lua_toboolean@PLT
lea rdi, .LC1[rip]
test eax, eax
cmovne rdi, r15
call g_strdup@PLT
mov rdi, r14
mov rsi, rax
call g_ptr_array_add@PLT
.L24:
mov esi, 1
mov rdi, r13
call lua_pop@PLT
.L13:
mov esi, -2
mov rdi, r13
call lua_next@PLT
test eax, eax
je .L63
mov esi, -1
mov rdi, r13
call lua_istable@PLT
test eax, eax
jne .L64
mov rsi, r12
mov rdi, r13
call lua_table_key_to_mysql_field@PLT
test r14, r14
je .L65
.L25:
mov esi, -1
mov rdi, r13
call lua_isboolean@PLT
mov esi, -1
mov rdi, r13
test eax, eax
jne .L66
call lua_isnumber@PLT
mov esi, -1
mov rdi, r13
test eax, eax
je .L28
call lua_tonumber@PLT
lea rdi, .LC8[rip]
mov esi, eax
call g_strdup_printf@PLT
mov rdi, r14
mov rsi, rax
call g_ptr_array_add@PLT
jmp .L24
.L64:
mov rdi, r13
call lua_pushnil@PLT
jmp .L15
.L70:
call lua_toboolean@PLT
lea rdi, .LC1[rip]
test eax, eax
cmovne rdi, r15
call g_strdup@PLT
mov rdi, r14
mov rsi, rax
call g_ptr_array_add@PLT
.L20:
mov esi, 1
mov rdi, r13
call lua_pop@PLT
.L15:
mov esi, -2
mov rdi, r13
call lua_next@PLT
test eax, eax
je .L67
test rbp, rbp
je .L68
.L16:
test r14, r14
je .L69
.L17:
mov esi, -1
mov rdi, r13
call lua_isboolean@PLT
mov esi, -1
mov rdi, r13
test eax, eax
jne .L70
call lua_isnumber@PLT
mov esi, -1
mov rdi, r13
test eax, eax
je .L21
call lua_tonumber@PLT
lea rdi, .LC8[rip]
mov esi, eax
call g_strdup_printf@PLT
mov rdi, r14
mov rsi, rax
call g_ptr_array_add@PLT
jmp .L20
.L21:
call lua_tostring@PLT
mov rdi, rax
call g_strdup@PLT
mov rdi, r14
mov rsi, rax
call g_ptr_array_add@PLT
jmp .L20
.L69:
xor eax, eax
call g_ptr_array_new@PLT
mov r14, rax
jmp .L17
.L68:
mov rsi, r12
mov rdi, r13
call lua_table_key_to_mysql_field@PLT
jmp .L16
.L67:
test rbp, rbp
je .L71
.L23:
mov rsi, r14
mov rdi, rbp
xor r14d, r14d
call g_ptr_array_add@PLT
jmp .L24
.L28:
call lua_tostring@PLT
mov rdi, rax
call g_strdup@PLT
mov rdi, r14
mov rsi, rax
call g_ptr_array_add@PLT
jmp .L24
.L63:
test r14, r14
je .L30
test rbp, rbp
jne .L57
call g_ptr_array_new@PLT
mov rbp, rax
jmp .L57
.L65:
xor eax, eax
call g_ptr_array_new@PLT
mov r14, rax
jmp .L25
.L71:
call g_ptr_array_new@PLT
mov rbp, rax
jmp .L23
.L60:
call __stack_chk_fail@PLT
.cfi_endproc
.LFE0:
.size plugin_debug_con_handle_stmt, .-plugin_debug_con_handle_stmt
.globl TRUE
.bss
.align 4
.type TRUE, @object
.size TRUE, 4
TRUE:
.zero 4
.globl NET_HEADER_SIZE
.align 8
.type NET_HEADER_SIZE, @object
.size NET_HEADER_SIZE, 8
NET_HEADER_SIZE:
.zero 8
.globl FIELD_TYPE_VAR_STRING
.align 8
.type FIELD_TYPE_VAR_STRING, @object
.size FIELD_TYPE_VAR_STRING, 8
FIELD_TYPE_VAR_STRING:
.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_debug-plugin.c_plugin_debug_con_handle_stmt.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "TRUE\000"
.align 2
.LC1:
.ascii "FALSE\000"
.align 2
.LC2:
.ascii "select @@version_comment limit 1\000"
.align 2
.LC3:
.ascii "@@version_comment\000"
.align 2
.LC4:
.ascii "MySQL Enterprise Agent\000"
.align 2
.LC5:
.ascii "select USER()\000"
.align 2
.LC6:
.ascii "USER()\000"
.align 2
.LC7:
.ascii "root\000"
.align 2
.LC8:
.ascii "%.0f\000"
.align 2
.LC9:
.ascii "lua\000"
.align 2
.LC10:
.ascii "unknown COM_*\000"
.section .rodata.cst4,"aM",%progbits,4
.align 2
.LC11:
.word __stack_chk_guard
.text
.align 2
.global plugin_debug_con_handle_stmt
.syntax unified
.arm
.fpu softvfp
.type plugin_debug_con_handle_stmt, %function
plugin_debug_con_handle_stmt:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, r9, r10, fp, lr}
ldr r8, .L78
ldr r7, [r2]
ldr r3, [r8]
mov r5, r2
ldr r2, [r7, r3, lsl #2]
mov r6, r1
ldr r1, .L78+4
sub sp, sp, #12
cmp r2, #130
ldr r1, [r1]
str r1, [sp, #4]
mov r1,#0
beq .L2
cmp r2, #131
beq .L3
cmp r2, #129
beq .L4
ldr r0, .L78+8
ldr r4, [r6]
bl C
mov r1, r0
mov r0, r4
bl network_mysqld_con_send_error
.L4:
ldr r3, .L78+4
ldr r2, [r3]
ldr r3, [sp, #4]
eors r2, r3, r2
mov r3, #0
bne .L66
mov r0, #0
add sp, sp, #12
@ sp needed
pop {r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L2:
mov r9, r0
ldr r0, .L78+12
lsl r4, r3, #2
bl C
mov r1, r0
add r0, r4, #4
add r0, r7, r0
bl g_ascii_strncasecmp
cmp r0, #0
beq .L67
ldr r3, [r8]
ldr r4, [r5]
add r3, r3, #1
ldr r0, .L78+16
add r4, r4, r3, lsl #2
bl C
mov r1, r0
mov r0, r4
bl g_ascii_strncasecmp
cmp r0, #0
bne .L8
bl network_mysqld_proto_fielddefs_new
mov r4, r0
bl network_mysqld_proto_fielddef_new
mov r5, r0
ldr r0, .L78+20
bl g_strdup
ldr r3, .L78+24
mov r1, r5
ldr r3, [r3]
str r0, [r5, #12]
str r3, [r5, #8]
mov r0, r4
bl g_ptr_array_add
bl g_ptr_array_new
mov r7, r0
bl g_ptr_array_new
mov r5, r0
ldr r0, .L78+28
.L64:
bl g_strdup
mov r1, r0
mov r0, r5
bl g_ptr_array_add
mov r1, r5
mov r0, r7
bl g_ptr_array_add
mov r2, r7
mov r1, r4
ldr r0, [r6]
bl network_mysqld_con_send_resultset
cmp r4, #0
beq .L33
.L32:
mov r0, r4
bl network_mysqld_proto_fielddefs_free
.L33:
cmp r7, #0
beq .L4
ldr r3, [r7]
cmp r3, #0
ldreq r8, .L78+32
beq .L34
mov r6, #0
ldr r8, .L78+32
.L37:
ldr r3, [r7, #4]
ldr r5, [r3, r6, lsl #2]
ldr r3, [r5]
cmp r3, #0
beq .L35
mov r4, #0
.L36:
ldr r3, [r5, #4]
ldr r0, [r3, r4, lsl #2]
bl g_free
ldr r3, [r5]
add r4, r4, #1
cmp r3, r4
bhi .L36
.L35:
mov r0, r5
ldr r1, [r8]
bl g_ptr_array_free
ldr r3, [r7]
add r6, r6, #1
cmp r3, r6
bhi .L37
.L34:
mov r0, r7
ldr r1, [r8]
bl g_ptr_array_free
b .L4
.L3:
ldr r0, [r6]
bl network_mysqld_con_send_ok
b .L4
.L67:
bl network_mysqld_proto_fielddefs_new
mov r4, r0
bl network_mysqld_proto_fielddef_new
mov r5, r0
ldr r0, .L78+36
bl g_strdup
ldr r3, .L78+24
mov r1, r5
ldr r3, [r3]
str r0, [r5, #12]
str r3, [r5, #8]
mov r0, r4
bl g_ptr_array_add
bl g_ptr_array_new
mov r7, r0
bl g_ptr_array_new
mov r5, r0
ldr r0, .L78+40
b .L64
.L8:
ldr r2, [r9]
ldr r3, [r8]
ldr r1, [r5]
ldr r8, [r2]
add r3, r3, #1
add r1, r1, r3, lsl #2
mov r0, r8
bl luaL_loadstring
subs r3, r0, #0
bne .L11
mov r1, r3
mov r2, #1
mov r0, r8
bl lua_pcall
subs r5, r0, #0
bne .L11
mvn r1, #0
mov r0, r8
bl lua_type
cmp r0, #128
beq .L68
bl network_mysqld_proto_fielddefs_new
mov r4, r0
bl network_mysqld_proto_fielddef_new
mov r5, r0
ldr r0, .L78+44
bl g_strdup
ldr r3, .L78+24
mov r1, r5
ldr r3, [r3]
str r0, [r5, #12]
str r3, [r5, #8]
mov r0, r4
bl g_ptr_array_add
bl g_ptr_array_new
mov r7, r0
bl g_ptr_array_new
mvn r1, #0
mov r5, r0
mov r0, r8
bl lua_tostring
bl g_strdup
mov r1, r0
mov r0, r5
bl g_ptr_array_add
.L63:
mov r1, r5
mov r0, r7
bl g_ptr_array_add
.L30:
mov r1, #1
mov r0, r8
bl lua_pop
mov r2, r7
mov r1, r4
ldr r0, [r6]
bl network_mysqld_con_send_resultset
cmp r4, #0
bne .L32
b .L10
.L11:
mov r7, #0
.L10:
mov r3, #0
mov r2, sp
mvn r1, #0
mov r0, r8
str r3, [sp]
bl lua_tolstring
ldr r2, [sp]
mov r1, r0
ldr r0, [r6]
bl network_mysqld_con_send_error
mov r0, r8
mov r1, #1
bl lua_pop
b .L33
.L68:
bl network_mysqld_proto_fielddefs_new
mov r4, r0
mov r0, r8
mov r7, r5
bl lua_pushnil
ldr fp, .L78+48
ldr r10, .L78+52
ldr r9, .L78+56
b .L13
.L72:
bl lua_toboolean
cmp r0, #0
movne r0, r10
moveq r0, r9
bl g_strdup
mov r1, r0
mov r0, r5
bl g_ptr_array_add
.L24:
mov r1, #1
mov r0, r8
bl lua_pop
.L13:
mvn r1, #1
mov r0, r8
bl lua_next
cmp r0, #0
beq .L69
mvn r1, #0
mov r0, r8
bl lua_istable
cmp r0, #0
bne .L70
mov r1, r4
mov r0, r8
bl lua_table_key_to_mysql_field
cmp r5, #0
beq .L71
.L25:
mvn r1, #0
mov r0, r8
bl lua_isboolean
cmp r0, #0
mvn r1, #0
mov r0, r8
bne .L72
bl lua_isnumber
cmp r0, #0
mvn r1, #0
mov r0, r8
beq .L28
bl lua_tonumber
mov r1, r0
mov r0, fp
bl g_strdup_printf
mov r1, r0
mov r0, r5
bl g_ptr_array_add
b .L24
.L70:
mov r0, r8
bl lua_pushnil
b .L15
.L76:
bl lua_toboolean
cmp r0, #0
movne r0, r10
moveq r0, r9
bl g_strdup
mov r1, r0
mov r0, r5
bl g_ptr_array_add
.L20:
mov r1, #1
mov r0, r8
bl lua_pop
.L15:
mvn r1, #1
mov r0, r8
bl lua_next
cmp r0, #0
beq .L73
cmp r7, #0
beq .L74
.L16:
cmp r5, #0
beq .L75
.L17:
mvn r1, #0
mov r0, r8
bl lua_isboolean
cmp r0, #0
mvn r1, #0
mov r0, r8
bne .L76
bl lua_isnumber
cmp r0, #0
mvn r1, #0
mov r0, r8
beq .L21
bl lua_tonumber
mov r1, r0
mov r0, fp
bl g_strdup_printf
mov r1, r0
mov r0, r5
bl g_ptr_array_add
b .L20
.L21:
bl lua_tostring
bl g_strdup
mov r1, r0
mov r0, r5
bl g_ptr_array_add
b .L20
.L75:
bl g_ptr_array_new
mov r5, r0
b .L17
.L74:
mov r1, r4
mov r0, r8
bl lua_table_key_to_mysql_field
b .L16
.L73:
cmp r7, #0
beq .L77
.L23:
mov r1, r5
mov r0, r7
bl g_ptr_array_add
mov r5, #0
b .L24
.L28:
bl lua_tostring
bl g_strdup
mov r1, r0
mov r0, r5
bl g_ptr_array_add
b .L24
.L69:
cmp r5, #0
beq .L30
cmp r7, #0
bne .L63
bl g_ptr_array_new
mov r7, r0
b .L63
.L71:
bl g_ptr_array_new
mov r5, r0
b .L25
.L77:
bl g_ptr_array_new
mov r7, r0
b .L23
.L66:
bl __stack_chk_fail
.L79:
.align 2
.L78:
.word NET_HEADER_SIZE
.word .LC11
.word .LC10
.word .LC2
.word .LC5
.word .LC6
.word FIELD_TYPE_VAR_STRING
.word .LC7
.word TRUE
.word .LC3
.word .LC4
.word .LC9
.word .LC8
.word .LC0
.word .LC1
.size plugin_debug_con_handle_stmt, .-plugin_debug_con_handle_stmt
.comm TRUE,4,4
.comm NET_HEADER_SIZE,4,4
.comm FIELD_TYPE_VAR_STRING,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
| anghabench |
.file "extr_proxy-plugin.c_check_flags.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "GET_LOCK"
.text
.p2align 4
.globl check_flags
.type check_flags, @function
check_flags:
.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
push rbx
.cfi_def_cfa_offset 40
.cfi_offset 3, -40
sub rsp, 8
.cfi_def_cfa_offset 48
mov eax, DWORD PTR FALSE[rip]
mov ebp, DWORD PTR [rdi]
mov rbx, QWORD PTR 8[rdi]
mov DWORD PTR [rsi], eax
cmp ebp, 2
jle .L2
mov rax, QWORD PTR 8[rbx]
mov rdi, QWORD PTR TK_SQL_SELECT[rip]
cmp QWORD PTR [rax], rdi
je .L15
.L4:
mov rsi, QWORD PTR TK_SQL_SQL_CALC_FOUND_ROWS[rip]
lea rax, 8[rbx]
mov edx, 1
jmp .L8
.p2align 4,,10
.p2align 3
.L6:
add edx, 1
add rax, 8
cmp ebp, edx
jle .L1
.L8:
mov rcx, QWORD PTR [rax]
cmp QWORD PTR [rcx], rsi
jne .L6
mov eax, DWORD PTR TRUE[rip]
mov DWORD PTR [r12], eax
.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
je .L4
jmp .L1
.p2align 4,,10
.p2align 3
.L15:
mov rax, QWORD PTR 16[rbx]
lea rsi, .LC0[rip]
mov rax, QWORD PTR 8[rax]
mov rdi, QWORD PTR [rax]
call strcasecmp@PLT
test rax, rax
jne .L4
mov rax, QWORD PTR 32[rbx]
mov edi, DWORD PTR 4[r12]
mov rax, QWORD PTR 8[rax]
mov r13, QWORD PTR [rax]
mov rsi, r13
call g_hash_table_lookup@PLT
test eax, eax
jne .L4
mov rdi, r13
call g_strdup@PLT
mov edi, DWORD PTR 4[r12]
mov esi, eax
call g_hash_table_add@PLT
jmp .L4
.cfi_endproc
.LFE0:
.size check_flags, .-check_flags
.globl TRUE
.bss
.align 4
.type TRUE, @object
.size TRUE, 4
TRUE:
.zero 4
.globl TK_SQL_SQL_CALC_FOUND_ROWS
.align 8
.type TK_SQL_SQL_CALC_FOUND_ROWS, @object
.size TK_SQL_SQL_CALC_FOUND_ROWS, 8
TK_SQL_SQL_CALC_FOUND_ROWS:
.zero 8
.globl TK_SQL_SELECT
.align 8
.type TK_SQL_SELECT, @object
.size TK_SQL_SELECT, 8
TK_SQL_SELECT:
.zero 8
.globl FALSE
.align 4
.type FALSE, @object
.size FALSE, 4
FALSE:
.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_proxy-plugin.c_check_flags.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "GET_LOCK\000"
.text
.align 2
.global check_flags
.syntax unified
.arm
.fpu softvfp
.type check_flags, %function
check_flags:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
ldr r3, .L15
push {r4, r5, r6, r7, r8, lr}
ldr r5, [r0]
ldr r3, [r3]
cmp r5, #2
mov r6, r1
ldr r4, [r0, #4]
str r3, [r1]
ble .L2
ldr r2, [r4, #4]
ldr r3, .L15+4
ldr r2, [r2]
ldr r3, [r3]
cmp r2, r3
beq .L14
.L4:
ldr r2, .L15+8
add r3, r4, #4
ldr ip, [r2]
mov r2, #1
b .L8
.L6:
cmp r5, r2
pople {r4, r5, r6, r7, r8, pc}
.L8:
ldr r0, [r3]
add r2, r2, #1
ldr r0, [r0]
add r3, r3, #4
cmp r0, ip
bne .L6
ldr r3, .L15+12
ldr r3, [r3]
str r3, [r6]
pop {r4, r5, r6, r7, r8, pc}
.L2:
beq .L4
pop {r4, r5, r6, r7, r8, pc}
.L14:
ldr r3, [r4, #8]
ldr r1, .L15+16
ldr r3, [r3, #4]
ldr r0, [r3]
bl strcasecmp
cmp r0, #0
bne .L4
ldr r3, [r4, #16]
ldr r0, [r6, #4]
ldr r3, [r3, #4]
ldr r7, [r3]
mov r1, r7
bl g_hash_table_lookup
cmp r0, #0
bne .L4
mov r0, r7
ldr r7, [r6, #4]
bl g_strdup
mov r1, r0
mov r0, r7
bl g_hash_table_add
b .L4
.L16:
.align 2
.L15:
.word FALSE
.word TK_SQL_SELECT
.word TK_SQL_SQL_CALC_FOUND_ROWS
.word TRUE
.word .LC0
.size check_flags, .-check_flags
.comm TRUE,4,4
.comm TK_SQL_SQL_CALC_FOUND_ROWS,4,4
.comm TK_SQL_SELECT,4,4
.comm FALSE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
| anghabench |
.file "extr_proxy-plugin.c_convert_use_database2com_init_db.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "%s"
.text
.p2align 4
.globl convert_use_database2com_init_db
.type convert_use_database2com_init_db, @function
convert_use_database2com_init_db:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
mov r12, rsi
push rbx
.cfi_def_cfa_offset 24
.cfi_offset 3, -24
sub rsp, 8
.cfi_def_cfa_offset 32
cmp BYTE PTR COM_QUERY[rip], dil
je .L10
.L2:
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
mov rax, r12
pop rbx
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L10:
.cfi_restore_state
mov esi, DWORD PTR [rdx]
cmp esi, 1
jle .L2
mov r8, QWORD PTR 8[rdx]
mov rdi, QWORD PTR TK_COMMENT[rip]
mov rax, QWORD PTR 8[r8]
mov rcx, QWORD PTR [rax]
cmp rcx, rdi
jne .L5
cmp esi, 2
je .L6
lea rdx, 16[r8]
mov eax, 2
jmp .L4
.p2align 4,,10
.p2align 3
.L11:
add eax, 1
add rdx, 8
cmp esi, eax
je .L3
.L4:
mov rcx, QWORD PTR [rdx]
mov rcx, QWORD PTR [rcx]
cmp rcx, rdi
je .L11
.L3:
cmp QWORD PTR TK_SQL_USE[rip], rcx
jne .L2
lea edx, 1[rax]
cmp edx, esi
jge .L2
cdqe
mov rdi, QWORD PTR TK_LITERAL[rip]
lea rbx, 8[r8+rax*8]
mov rax, QWORD PTR [rbx]
cmp QWORD PTR [rax], rdi
jne .L2
xor esi, esi
mov rdi, r12
call g_string_truncate@PLT
mov esi, DWORD PTR COM_INIT_DB[rip]
mov rdi, r12
call g_string_append_c@PLT
mov rax, QWORD PTR [rbx]
lea rsi, .LC0[rip]
mov rdi, r12
mov rax, QWORD PTR 8[rax]
mov edx, DWORD PTR [rax]
call g_string_append_printf@PLT
jmp .L2
.L5:
mov eax, 1
jmp .L3
.L6:
mov eax, 2
jmp .L3
.cfi_endproc
.LFE0:
.size convert_use_database2com_init_db, .-convert_use_database2com_init_db
.globl TK_SQL_USE
.bss
.align 8
.type TK_SQL_USE, @object
.size TK_SQL_USE, 8
TK_SQL_USE:
.zero 8
.globl TK_LITERAL
.align 8
.type TK_LITERAL, @object
.size TK_LITERAL, 8
TK_LITERAL:
.zero 8
.globl TK_COMMENT
.align 8
.type TK_COMMENT, @object
.size TK_COMMENT, 8
TK_COMMENT:
.zero 8
.globl COM_QUERY
.type COM_QUERY, @object
.size COM_QUERY, 1
COM_QUERY:
.zero 1
.globl COM_INIT_DB
.align 4
.type COM_INIT_DB, @object
.size COM_INIT_DB, 4
COM_INIT_DB:
.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_proxy-plugin.c_convert_use_database2com_init_db.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "%s\000"
.text
.align 2
.global convert_use_database2com_init_db
.syntax unified
.arm
.fpu softvfp
.type convert_use_database2com_init_db, %function
convert_use_database2com_init_db:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
ldr r3, .L12
mov r5, r1
ldrb r3, [r3] @ zero_extendqisi2
cmp r3, r0
beq .L10
.L2:
mov r0, r5
pop {r4, r5, r6, pc}
.L10:
ldr r0, [r2]
cmp r0, #1
ble .L2
ldr r6, [r2, #4]
ldr r2, .L12+4
ldr r3, [r6, #4]
ldr ip, [r2]
ldr r1, [r3]
cmp r1, ip
bne .L5
cmp r0, #2
beq .L6
mov r3, #2
add r2, r6, #8
b .L4
.L11:
add r3, r3, #1
cmp r0, r3
beq .L6
.L4:
ldr r1, [r2]
add r2, r2, #4
ldr r1, [r1]
cmp r1, ip
beq .L11
.L3:
ldr r2, .L12+8
ldr r2, [r2]
cmp r2, r1
bne .L2
add r4, r3, #1
cmp r4, r0
bge .L2
ldr r2, [r6, r4, lsl #2]
ldr r3, .L12+12
ldr r2, [r2]
ldr r3, [r3]
cmp r2, r3
bne .L2
mov r1, #0
mov r0, r5
bl g_string_truncate
ldr r3, .L12+16
mov r0, r5
ldr r1, [r3]
bl g_string_append_c
ldr r3, [r6, r4, lsl #2]
mov r0, r5
ldr r3, [r3, #4]
ldr r1, .L12+20
ldr r2, [r3]
bl g_string_append_printf
b .L2
.L6:
mov r3, r0
b .L3
.L5:
mov r3, #1
b .L3
.L13:
.align 2
.L12:
.word COM_QUERY
.word TK_COMMENT
.word TK_SQL_USE
.word TK_LITERAL
.word COM_INIT_DB
.word .LC0
.size convert_use_database2com_init_db, .-convert_use_database2com_init_db
.comm TK_SQL_USE,4,4
.comm TK_LITERAL,4,4
.comm TK_COMMENT,4,4
.comm COM_QUERY,1,1
.comm COM_INIT_DB,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
| anghabench |
.file "extr_proxy-plugin.c_get_column_index.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "IN"
.LC1:
.string "VALUES"
.LC2:
.string "VALUE"
.text
.p2align 4
.globl get_column_index
.type get_column_index, @function
get_column_index:
.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
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
mov rbp, rdx
mov edx, 4
push rbx
.cfi_def_cfa_offset 56
.cfi_offset 3, -56
mov ebx, ecx
sub rsp, 24
.cfi_def_cfa_offset 80
mov edi, DWORD PTR FALSE[rip]
mov QWORD PTR [rsp], rsi
mov esi, edi
call g_array_new@PLT
mov r14, QWORD PTR 8[r13]
mov r13d, DWORD PTR 0[r13]
mov r12, rax
cmp ebx, 1
je .L60
cmp ebx, 2
je .L61
cmp ebx, 3
je .L62
.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
.L61:
.cfi_restore_state
mov eax, r15d
cmp r13d, r15d
jle .L1
movsx r15, r15d
mov rdi, QWORD PTR TK_SQL_WHERE[rip]
lea rcx, [r14+r15*8]
jmp .L24
.p2align 4,,10
.p2align 3
.L16:
add rcx, 8
cmp r13d, eax
je .L1
.L24:
mov rsi, QWORD PTR [rcx]
mov r15d, eax
add eax, 1
cmp QWORD PTR [rsi], rdi
jne .L16
lea ecx, -2[r13]
cmp ecx, eax
jle .L1
cdqe
add r15d, 4
lea rbx, [r14+rax*8]
jmp .L23
.p2align 4,,10
.p2align 3
.L17:
add rbx, 8
lea eax, 1[r15]
cmp r13d, r15d
je .L1
mov r15d, eax
.L23:
mov rax, QWORD PTR [rbx]
mov rdx, QWORD PTR TK_LITERAL[rip]
cmp QWORD PTR [rax], rdx
jne .L17
mov rax, QWORD PTR 8[rax]
mov rsi, rbp
mov rdi, QWORD PTR [rax]
call strcasecmp@PLT
test rax, rax
jne .L17
mov rax, QWORD PTR 8[rbx]
mov rdi, QWORD PTR TK_EQ[rip]
cmp QWORD PTR [rax], rdi
je .L63
cmp r15d, r13d
jge .L17
mov rax, QWORD PTR 8[rax]
lea rsi, .LC0[rip]
mov rdi, QWORD PTR [rax]
call strcasecmp@PLT
test rax, rax
jne .L17
mov rax, QWORD PTR 16[rbx]
mov rcx, QWORD PTR TK_OBRACE[rip]
cmp QWORD PTR [rax], rcx
jne .L17
mov esi, r15d
mov rdi, r12
add r15d, 2
call g_array_append_val@PLT
cmp r13d, r15d
jle .L1
movsx rax, r15d
lea rbx, -8[r14+rax*8]
jmp .L21
.L22:
mov esi, r15d
mov rdi, r12
add r15d, 2
add rbx, 16
call g_array_append_val@PLT
cmp r13d, r15d
jle .L1
.L21:
mov rax, QWORD PTR [rbx]
mov rdi, QWORD PTR TK_CBRACE[rip]
cmp QWORD PTR [rax], rdi
jne .L22
jmp .L1
.p2align 4,,10
.p2align 3
.L60:
mov eax, r15d
cmp r13d, r15d
jle .L1
movsx r15, r15d
mov rdi, QWORD PTR TK_SQL_WHERE[rip]
lea rcx, [r14+r15*8]
jmp .L14
.p2align 4,,10
.p2align 3
.L5:
add rcx, 8
cmp r13d, eax
je .L1
.L14:
mov rsi, QWORD PTR [rcx]
mov ebx, eax
add eax, 1
cmp QWORD PTR [rsi], rdi
jne .L5
lea ecx, -2[r13]
cmp ecx, eax
jle .L1
cdqe
add ebx, 4
lea r15, [r14+rax*8]
jmp .L13
.p2align 4,,10
.p2align 3
.L7:
add r15, 8
lea eax, 1[rbx]
cmp r13d, ebx
je .L1
mov ebx, eax
.L13:
mov rax, QWORD PTR [r15]
mov rdx, QWORD PTR TK_LITERAL[rip]
cmp QWORD PTR [rax], rdx
jne .L7
mov rax, QWORD PTR 8[rax]
mov rsi, rbp
mov rdi, QWORD PTR [rax]
call strcasecmp@PLT
test rax, rax
jne .L7
mov rax, QWORD PTR 8[r15]
mov rcx, QWORD PTR TK_EQ[rip]
cmp QWORD PTR [rax], rcx
je .L64
cmp ebx, r13d
jge .L7
mov rax, QWORD PTR 8[rax]
lea rsi, .LC0[rip]
mov rdi, QWORD PTR [rax]
call strcasecmp@PLT
test rax, rax
jne .L7
mov rax, QWORD PTR 16[r15]
mov rcx, QWORD PTR TK_OBRACE[rip]
cmp QWORD PTR [rax], rcx
jne .L7
mov esi, ebx
mov rdi, r12
add ebx, 2
call g_array_append_val@PLT
cmp ebx, r13d
jge .L1
movsx rax, ebx
lea rbp, -8[r14+rax*8]
jmp .L11
.L12:
mov esi, ebx
mov rdi, r12
add ebx, 2
add rbp, 16
call g_array_append_val@PLT
cmp r13d, ebx
jle .L1
.L11:
mov rax, QWORD PTR 0[rbp]
mov rdi, QWORD PTR TK_CBRACE[rip]
cmp QWORD PTR [rax], rdi
jne .L12
jmp .L1
.p2align 4,,10
.p2align 3
.L64:
mov rax, QWORD PTR -8[r15]
mov rcx, QWORD PTR TK_DOT[rip]
cmp QWORD PTR [rax], rcx
jne .L10
mov rax, QWORD PTR -16[r15]
mov rsi, QWORD PTR [rsp]
mov rax, QWORD PTR 8[rax]
mov rdi, QWORD PTR [rax]
call strcasecmp@PLT
test rax, rax
jne .L7
.L10:
lea esi, -1[rbx]
mov rdi, r12
call g_array_append_val@PLT
jmp .L1
.p2align 4,,10
.p2align 3
.L62:
mov rax, QWORD PTR [r14+r15*8]
mov rax, QWORD PTR [rax]
cmp QWORD PTR TK_SQL_SET[rip], rax
je .L65
cmp QWORD PTR TK_OBRACE[rip], rax
mov DWORD PTR 8[rsp], 2
je .L66
.L28:
lea eax, -1[r13]
mov ebp, r15d
mov DWORD PTR [rsp], eax
cmp r15d, eax
jge .L1
movsx rax, r15d
lea r15, [r14+rax*8]
lea r14, .LC1[rip]
jmp .L39
.p2align 4,,10
.p2align 3
.L38:
mov rax, QWORD PTR 8[r15]
mov rcx, QWORD PTR TK_OBRACE[rip]
cmp QWORD PTR [rax], rcx
je .L67
.L37:
add ebp, 1
add r15, 8
cmp ebp, DWORD PTR [rsp]
je .L1
.L39:
mov rax, QWORD PTR [r15]
mov rsi, r14
mov rax, QWORD PTR 8[rax]
mov rbx, QWORD PTR [rax]
mov rdi, rbx
call strcasecmp@PLT
test rax, rax
je .L38
lea rsi, .LC2[rip]
mov rdi, rbx
call strcasecmp@PLT
test rax, rax
je .L38
jmp .L37
.p2align 4,,10
.p2align 3
.L63:
mov rax, QWORD PTR -8[rbx]
mov rcx, QWORD PTR TK_DOT[rip]
cmp QWORD PTR [rax], rcx
jne .L20
mov rax, QWORD PTR -16[rbx]
mov rsi, QWORD PTR [rsp]
mov rax, QWORD PTR 8[rax]
mov rdi, QWORD PTR [rax]
call strcasecmp@PLT
test rax, rax
jne .L17
.L20:
lea esi, -1[r15]
mov rdi, r12
call g_array_append_val@PLT
jmp .L1
.L65:
add r15d, 1
sub r13d, 2
cmp r15d, r13d
jge .L1
movsx rax, r15d
lea rbx, [r14+rax*8]
jmp .L27
.p2align 4,,10
.p2align 3
.L26:
add r15d, 1
add rbx, 8
cmp r15d, r13d
jge .L1
.L27:
mov rax, QWORD PTR [rbx]
mov rdi, QWORD PTR TK_LITERAL[rip]
cmp QWORD PTR [rax], rdi
jne .L26
mov rax, QWORD PTR 8[rax]
mov rsi, rbp
mov rdi, QWORD PTR [rax]
call strcasecmp@PLT
test rax, rax
jne .L26
lea esi, 2[r15]
mov rdi, r12
call g_array_append_val@PLT
jmp .L1
.L67:
mov esi, DWORD PTR 8[rsp]
add esi, ebp
cmp r13d, esi
jle .L1
mov rdi, r12
call g_array_append_val@PLT
jmp .L1
.L66:
lea eax, 1[r15]
movsx rbx, eax
lea rcx, [r14+rbx*8]
cmp r13d, eax
jg .L34
jmp .L31
.p2align 4,,10
.p2align 3
.L32:
add rbx, 1
add rcx, 8
cmp r13d, ebx
jle .L31
.L34:
mov rsi, QWORD PTR [rcx]
mov rax, QWORD PTR [rsi]
cmp QWORD PTR TK_CBRACE[rip], rax
je .L31
cmp QWORD PTR TK_LITERAL[rip], rax
jne .L32
mov rax, QWORD PTR 8[rsi]
mov rsi, rbp
mov QWORD PTR 8[rsp], rcx
mov rdi, QWORD PTR [rax]
call strcasecmp@PLT
mov rcx, QWORD PTR 8[rsp]
test rax, rax
jne .L32
mov rax, QWORD PTR -8[rcx]
mov rdi, QWORD PTR TK_DOT[rip]
cmp QWORD PTR [rax], rdi
jne .L30
mov rax, QWORD PTR -16[rcx]
mov rsi, QWORD PTR [rsp]
mov rax, QWORD PTR 8[rax]
mov rdi, QWORD PTR [rax]
call strcasecmp@PLT
mov rcx, QWORD PTR 8[rsp]
test rax, rax
jne .L32
.L30:
sub ebx, r15d
lea eax, 1[rbx]
mov DWORD PTR 8[rsp], eax
jmp .L28
.L31:
mov ebx, -1
jmp .L30
.cfi_endproc
.LFE0:
.size get_column_index, .-get_column_index
.globl TK_SQL_WHERE
.bss
.align 8
.type TK_SQL_WHERE, @object
.size TK_SQL_WHERE, 8
TK_SQL_WHERE:
.zero 8
.globl TK_SQL_SET
.align 8
.type TK_SQL_SET, @object
.size TK_SQL_SET, 8
TK_SQL_SET:
.zero 8
.globl TK_OBRACE
.align 8
.type TK_OBRACE, @object
.size TK_OBRACE, 8
TK_OBRACE:
.zero 8
.globl TK_LITERAL
.align 8
.type TK_LITERAL, @object
.size TK_LITERAL, 8
TK_LITERAL:
.zero 8
.globl TK_EQ
.align 8
.type TK_EQ, @object
.size TK_EQ, 8
TK_EQ:
.zero 8
.globl TK_DOT
.align 8
.type TK_DOT, @object
.size TK_DOT, 8
TK_DOT:
.zero 8
.globl TK_CBRACE
.align 8
.type TK_CBRACE, @object
.size TK_CBRACE, 8
TK_CBRACE:
.zero 8
.globl FALSE
.align 4
.type FALSE, @object
.size FALSE, 4
FALSE:
.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_proxy-plugin.c_get_column_index.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "IN\000"
.align 2
.LC1:
.ascii "VALUES\000"
.align 2
.LC2:
.ascii "VALUE\000"
.text
.align 2
.global get_column_index
.syntax unified
.arm
.fpu softvfp
.type get_column_index, %function
get_column_index:
@ args = 4, pretend = 0, frame = 24
@ frame_needed = 0, uses_anonymous_args = 0
mov ip, r1
push {r4, r5, r6, r7, r8, r9, r10, fp, lr}
mov r5, r2
ldr r2, .L65
mov r4, r0
ldr r1, [r2]
mov r7, r3
sub sp, sp, #28
mov r2, #4
mov r0, r1
str ip, [sp, #4]
bl g_array_new
ldr r3, [r4, #4]
cmp r7, #1
mov r6, r0
ldr r4, [r4]
str r3, [sp]
beq .L58
cmp r7, #2
beq .L59
cmp r7, #3
beq .L60
.L1:
mov r0, r6
add sp, sp, #28
@ sp needed
pop {r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L59:
ldr r7, [sp, #64]
cmp r4, r7
ble .L1
ldr r2, .L65+4
ldr r3, [sp]
ldr r1, [r2]
add r3, r3, r7, lsl #2
b .L21
.L14:
cmp r4, r7
beq .L1
.L21:
ldr r2, [r3]
add r7, r7, #1
ldr r2, [r2]
add r3, r3, #4
cmp r2, r1
bne .L14
sub r9, r4, #2
cmp r9, r7
ble .L1
ldr r3, .L65+8
ldr r2, .L65+12
ldr r3, [r3]
ldr r0, .L65+16
ldr r1, .L65+20
ldr r2, [r2]
str r3, [sp, #8]
ldr r3, [sp]
str r6, [sp, #12]
ldr r10, [r0]
mov r6, r9
ldr fp, [r1]
str r2, [sp, #16]
add r8, r3, r7, lsl #2
b .L20
.L15:
add r7, r7, #1
cmp r6, r7
add r8, r8, #4
beq .L56
.L20:
ldr r2, [r8]
ldr r1, [r2]
cmp r1, r10
bne .L15
ldr r2, [r2, #4]
mov r1, r5
ldr r0, [r2]
bl strcasecmp
cmp r0, #0
bne .L15
ldr r1, [r8, #4]
add r9, r7, #3
ldr r0, [r1]
cmp r0, fp
beq .L61
cmp r9, r4
bge .L15
ldr r0, [r1, #4]
ldr r1, .L65+24
ldr r0, [r0]
bl strcasecmp
cmp r0, #0
bne .L15
ldr r1, [r8, #8]
ldr r3, [sp, #16]
ldr r1, [r1]
cmp r1, r3
bne .L15
ldr r6, [sp, #12]
mov r1, r9
mov r0, r6
add r7, r7, #5
bl g_array_append_val
cmp r4, r7
mov fp, r9
ble .L1
ldr r5, .L65+28
ldr r8, [sp]
b .L18
.L19:
mov r1, r7
mov r0, r6
bl g_array_append_val
add r3, r7, #2
cmp r4, r3
mov fp, r7
ble .L1
mov r7, r3
.L18:
add fp, fp, #1073741825
ldr r2, [r8, fp, lsl #2]
ldr r3, [r5]
ldr r2, [r2]
cmp r2, r3
bne .L19
b .L1
.L58:
ldr r7, [sp, #64]
cmp r4, r7
ble .L1
ldr r2, .L65+4
add r3, r3, r7, lsl #2
ldr r1, [r2]
b .L12
.L4:
cmp r4, r7
beq .L1
.L12:
ldr r2, [r3]
add r7, r7, #1
ldr r2, [r2]
add r3, r3, #4
cmp r2, r1
bne .L4
sub r9, r4, #2
cmp r9, r7
ble .L1
ldr r3, .L65+8
ldr r2, .L65+12
ldr r3, [r3]
ldr r0, .L65+16
ldr r1, .L65+20
ldr r2, [r2]
str r3, [sp, #8]
ldr r3, [sp]
str r6, [sp, #12]
ldr fp, [r0]
mov r6, r9
ldr r10, [r1]
str r2, [sp, #16]
add r8, r3, r7, lsl #2
b .L11
.L5:
add r7, r7, #1
cmp r7, r6
add r8, r8, #4
beq .L56
.L11:
ldr r3, [r8]
ldr r1, [r3]
cmp r1, fp
bne .L5
ldr r3, [r3, #4]
mov r1, r5
ldr r0, [r3]
bl strcasecmp
cmp r0, #0
bne .L5
ldr r1, [r8, #4]
add r9, r7, #3
ldr r0, [r1]
cmp r0, r10
beq .L62
cmp r4, r9
ble .L5
ldr r0, [r1, #4]
ldr r1, .L65+24
ldr r0, [r0]
bl strcasecmp
cmp r0, #0
bne .L5
ldr r1, [r8, #8]
ldr r3, [sp, #16]
ldr r1, [r1]
cmp r1, r3
bne .L5
ldr r6, [sp, #12]
mov r1, r9
mov r0, r6
add r7, r7, #5
str r9, [sp, #4]
bl g_array_append_val
cmp r4, r7
ble .L1
ldr r5, .L65+28
ldr r3, [sp, #4]
ldr r8, [sp]
b .L9
.L10:
mov r1, r7
mov r0, r6
bl g_array_append_val
add r2, r7, #2
cmp r4, r2
mov r3, r7
ble .L1
mov r7, r2
.L9:
add r3, r3, #1073741825
ldr r2, [r8, r3, lsl #2]
ldr r3, [r5]
ldr r2, [r2]
cmp r2, r3
bne .L10
b .L1
.L62:
ldr r3, [r8, #-4]
ldr r2, [sp, #8]
ldr r3, [r3]
cmp r3, r2
bne .L17
ldr r3, [r8, #-8]
ldr r1, [sp, #4]
ldr r3, [r3, #4]
ldr r0, [r3]
bl strcasecmp
cmp r0, #0
bne .L5
.L17:
ldr r6, [sp, #12]
add r1, r7, #2
mov r0, r6
bl g_array_append_val
b .L1
.L56:
ldr r6, [sp, #12]
mov r0, r6
add sp, sp, #28
@ sp needed
pop {r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L61:
ldr r2, [r8, #-4]
ldr r3, [sp, #8]
ldr r2, [r2]
cmp r2, r3
bne .L17
ldr r2, [r8, #-8]
ldr r1, [sp, #4]
ldr r2, [r2, #4]
ldr r0, [r2]
bl strcasecmp
cmp r0, #0
bne .L15
b .L17
.L60:
ldr r3, [sp]
ldr r2, [sp, #64]
ldr r8, [r3, r2, lsl #2]
ldr r3, .L65+32
ldr r2, [r8]
ldr r1, [r3]
ldr r3, [sp, #64]
cmp r1, r2
lsl r3, r3, #2
beq .L63
ldr r1, .L65+12
ldr r1, [r1]
cmp r1, r2
movne r3, #2
str r1, [sp, #8]
strne r3, [sp, #4]
beq .L64
.L25:
ldr fp, [sp, #64]
sub r5, r4, #1
cmp fp, r5
bge .L1
ldr r3, [sp]
add r2, fp, #1
add r10, r3, r2, lsl #2
ldr r7, .L65+36
mov r3, r8
ldr r9, .L65+40
ldr r8, [sp, #8]
str r4, [sp]
b .L31
.L30:
add fp, fp, #1
cmp fp, r5
beq .L1
ldr r3, [r10], #4
.L31:
ldr r3, [r3, #4]
mov r1, r7
ldr r4, [r3]
mov r0, r4
bl strcasecmp
cmp r0, #0
beq .L29
mov r0, r4
mov r1, r9
bl strcasecmp
cmp r0, #0
bne .L30
.L29:
ldr r3, [r10]
ldr r3, [r3]
cmp r8, r3
bne .L30
ldr r3, [sp, #4]
ldr r4, [sp]
add r1, r3, fp
cmp r4, r1
ble .L1
mov r0, r6
bl g_array_append_val
b .L1
.L63:
ldr r2, [sp, #64]
sub r4, r4, #2
add r7, r2, #1
cmp r7, r4
bge .L1
ldr r2, .L65+16
add r3, r3, #4
ldr r9, [r2]
ldr r2, [sp]
add r8, r2, r3
b .L24
.L23:
add r7, r7, #1
cmp r7, r4
bge .L1
.L24:
ldr r3, [r8]
add r8, r8, #4
ldr r2, [r3]
cmp r2, r9
bne .L23
ldr r3, [r3, #4]
mov r1, r5
ldr r0, [r3]
bl strcasecmp
cmp r0, #0
bne .L23
mov r0, r6
add r1, r7, #2
bl g_array_append_val
b .L1
.L64:
ldr r2, [sp, #64]
add r9, r2, #1
cmp r4, r9
ble .L55
ldr r2, .L65+16
ldr r1, .L65+8
ldr r10, [r2]
ldr r0, .L65+28
ldr r2, [r1]
add r7, r3, #4
str r2, [sp, #12]
ldr r3, [r0]
ldr r2, [sp]
str r8, [sp, #16]
str r6, [sp, #20]
mov r8, r4
mov r6, r10
mov fp, r3
mov r10, r5
ldr r4, [sp, #4]
add r7, r2, r7
b .L28
.L27:
cmp r8, r9
add r7, r7, #4
ble .L34
.L28:
ldr r0, [r7]
mov r5, r9
ldr r1, [r0]
add r9, r9, #1
cmp fp, r1
beq .L34
cmp r6, r1
bne .L27
ldr r0, [r0, #4]
mov r1, r10
ldr r0, [r0]
bl strcasecmp
cmp r0, #0
bne .L27
ldr r1, [r7, #-4]
ldr r3, [sp, #12]
ldr r1, [r1]
cmp r1, r3
bne .L52
ldr r0, [r7, #-8]
mov r1, r4
ldr r0, [r0, #4]
ldr r0, [r0]
bl strcasecmp
cmp r0, #0
bne .L27
.L52:
mov fp, r5
mov r4, r8
ldr r6, [sp, #20]
ldr r8, [sp, #16]
.L26:
ldr r3, [sp, #64]
rsb r3, r3, #1
add r3, r3, fp
str r3, [sp, #4]
b .L25
.L34:
mov r4, r8
ldr r6, [sp, #20]
ldr r8, [sp, #16]
.L55:
mvn fp, #0
b .L26
.L66:
.align 2
.L65:
.word FALSE
.word TK_SQL_WHERE
.word TK_DOT
.word TK_OBRACE
.word TK_LITERAL
.word TK_EQ
.word .LC0
.word TK_CBRACE
.word TK_SQL_SET
.word .LC1
.word .LC2
.size get_column_index, .-get_column_index
.comm TK_SQL_WHERE,4,4
.comm TK_SQL_SET,4,4
.comm TK_OBRACE,4,4
.comm TK_LITERAL,4,4
.comm TK_EQ,4,4
.comm TK_DOT,4,4
.comm TK_CBRACE,4,4
.comm FALSE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
| anghabench |
.file "extr_proxy-plugin.c_get_table_index.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "VALUES"
.LC1:
.string "VALUE"
.text
.p2align 4
.globl get_table_index
.type get_table_index, @function
get_table_index:
.LFB0:
.cfi_startproc
endbr64
push r15
.cfi_def_cfa_offset 16
.cfi_offset 15, -16
xor eax, eax
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
mov DWORD PTR [rdx], -1
mov DWORD PTR [rsi], -1
mov r15d, DWORD PTR [rdi]
cmp r15d, 1
jle .L1
mov rdi, QWORD PTR 8[rdi]
mov r12, rsi
mov rbp, rdx
mov ebx, 1
mov rsi, QWORD PTR TK_COMMENT[rip]
lea rax, 8[rdi]
jmp .L4
.p2align 4,,10
.p2align 3
.L46:
add ebx, 1
add rax, 8
cmp r15d, ebx
je .L28
.L4:
mov rdx, QWORD PTR [rax]
cmp QWORD PTR [rdx], rsi
je .L46
cmp ebx, r15d
jge .L28
movsx rdx, ebx
mov rsi, QWORD PTR [rdi+rdx*8]
lea rax, 0[0+rdx*8]
mov rdx, QWORD PTR [rsi]
cmp QWORD PTR TK_SQL_SELECT[rip], rdx
je .L5
cmp QWORD PTR TK_SQL_DELETE[rip], rdx
je .L5
cmp QWORD PTR TK_SQL_UPDATE[rip], rdx
je .L47
cmp QWORD PTR TK_SQL_INSERT[rip], rdx
je .L16
cmp QWORD PTR TK_SQL_REPLACE[rip], rdx
je .L16
.L28:
xor eax, eax
.L1:
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
.L16:
.cfi_restore_state
lea r13, 8[rdi+rax]
lea eax, -1[r15]
mov DWORD PTR 12[rsp], eax
jmp .L17
.p2align 4,,10
.p2align 3
.L20:
cmp QWORD PTR TK_FUNCTION[rip], rax
je .L21
.L22:
add ebx, 1
cmp r15d, ebx
je .L44
mov rsi, QWORD PTR 0[r13]
add r13, 8
.L17:
mov rax, QWORD PTR 8[rsi]
lea rsi, .LC0[rip]
lea r14, -8[r13]
mov rdi, QWORD PTR [rax]
mov QWORD PTR [rsp], rdi
call strcasecmp@PLT
mov rdi, QWORD PTR [rsp]
test rax, rax
je .L44
lea rsi, .LC1[rip]
call strcasecmp@PLT
test rax, rax
je .L44
mov rax, QWORD PTR [r14]
mov rax, QWORD PTR [rax]
cmp QWORD PTR TK_LITERAL[rip], rax
jne .L20
lea eax, 2[rbx]
cmp r15d, eax
jle .L21
mov rdx, QWORD PTR 0[r13]
mov rcx, QWORD PTR TK_DOT[rip]
cmp QWORD PTR [rdx], rcx
je .L48
.L21:
cmp ebx, DWORD PTR 12[rsp]
je .L25
mov rax, QWORD PTR 0[r13]
lea rsi, .LC0[rip]
mov rdx, QWORD PTR 8[rax]
mov r14, QWORD PTR [rax]
mov rdi, QWORD PTR [rdx]
mov QWORD PTR [rsp], rdi
call strcasecmp@PLT
mov rdi, QWORD PTR [rsp]
test rax, rax
je .L25
lea rsi, .LC1[rip]
call strcasecmp@PLT
test rax, rax
je .L25
cmp QWORD PTR TK_OBRACE[rip], r14
je .L25
cmp QWORD PTR TK_SQL_SET[rip], r14
jne .L22
.L25:
mov DWORD PTR 0[rbp], ebx
.L44:
mov eax, 3
jmp .L1
.p2align 4,,10
.p2align 3
.L5:
mov rsi, QWORD PTR TK_SQL_FROM[rip]
add rax, rdi
jmp .L11
.p2align 4,,10
.p2align 3
.L7:
add rax, 8
cmp r15d, ebx
je .L31
mov rdx, QWORD PTR [rax]
mov rdx, QWORD PTR [rdx]
.L11:
add ebx, 1
cmp rsi, rdx
jne .L7
cmp r15d, ebx
jle .L31
movsx rbx, ebx
mov rsi, QWORD PTR TK_SQL_WHERE[rip]
mov r9, QWORD PTR TK_LITERAL[rip]
lea rdx, [rdi+rbx*8]
jmp .L10
.p2align 4,,10
.p2align 3
.L50:
cmp rax, r9
je .L49
add rbx, 1
add rdx, 8
cmp r15d, ebx
jle .L31
.L10:
mov rax, QWORD PTR [rdx]
mov r8d, ebx
mov rax, QWORD PTR [rax]
cmp rax, rsi
jne .L50
.L31:
add rsp, 24
.cfi_remember_state
.cfi_def_cfa_offset 56
mov eax, 1
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
.L47:
.cfi_restore_state
mov rsi, QWORD PTR TK_SQL_SET[rip]
mov r8, QWORD PTR TK_LITERAL[rip]
add rax, rdi
jmp .L15
.p2align 4,,10
.p2align 3
.L52:
cmp r8, rdx
je .L51
add ebx, 1
add rax, 8
cmp r15d, ebx
je .L33
mov rdx, QWORD PTR [rax]
mov rdx, QWORD PTR [rdx]
.L15:
cmp rsi, rdx
jne .L52
.L33:
mov eax, 2
jmp .L1
.L49:
lea eax, 2[rbx]
cmp eax, r15d
jge .L9
mov rdx, QWORD PTR 8[rdi+rbx*8]
mov rcx, QWORD PTR TK_DOT[rip]
cmp QWORD PTR [rdx], rcx
je .L53
.L9:
mov DWORD PTR 0[rbp], r8d
mov eax, 1
jmp .L1
.L51:
lea eax, 2[rbx]
cmp eax, r15d
jge .L14
movsx rdx, ebx
mov rcx, QWORD PTR TK_DOT[rip]
mov rdx, QWORD PTR 8[rdi+rdx*8]
cmp QWORD PTR [rdx], rcx
je .L54
.L14:
mov DWORD PTR 0[rbp], ebx
mov eax, 2
jmp .L1
.L53:
mov DWORD PTR [r12], ebx
mov DWORD PTR 0[rbp], eax
mov eax, 1
jmp .L1
.L54:
mov DWORD PTR [r12], ebx
mov DWORD PTR 0[rbp], eax
mov eax, 2
jmp .L1
.L48:
mov DWORD PTR [r12], ebx
mov DWORD PTR 0[rbp], eax
mov eax, 3
jmp .L1
.cfi_endproc
.LFE0:
.size get_table_index, .-get_table_index
.globl TK_SQL_WHERE
.bss
.align 8
.type TK_SQL_WHERE, @object
.size TK_SQL_WHERE, 8
TK_SQL_WHERE:
.zero 8
.globl TK_SQL_UPDATE
.align 8
.type TK_SQL_UPDATE, @object
.size TK_SQL_UPDATE, 8
TK_SQL_UPDATE:
.zero 8
.globl TK_SQL_SET
.align 8
.type TK_SQL_SET, @object
.size TK_SQL_SET, 8
TK_SQL_SET:
.zero 8
.globl TK_SQL_SELECT
.align 8
.type TK_SQL_SELECT, @object
.size TK_SQL_SELECT, 8
TK_SQL_SELECT:
.zero 8
.globl TK_SQL_REPLACE
.align 8
.type TK_SQL_REPLACE, @object
.size TK_SQL_REPLACE, 8
TK_SQL_REPLACE:
.zero 8
.globl TK_SQL_INSERT
.align 8
.type TK_SQL_INSERT, @object
.size TK_SQL_INSERT, 8
TK_SQL_INSERT:
.zero 8
.globl TK_SQL_FROM
.align 8
.type TK_SQL_FROM, @object
.size TK_SQL_FROM, 8
TK_SQL_FROM:
.zero 8
.globl TK_SQL_DELETE
.align 8
.type TK_SQL_DELETE, @object
.size TK_SQL_DELETE, 8
TK_SQL_DELETE:
.zero 8
.globl TK_OBRACE
.align 8
.type TK_OBRACE, @object
.size TK_OBRACE, 8
TK_OBRACE:
.zero 8
.globl TK_LITERAL
.align 8
.type TK_LITERAL, @object
.size TK_LITERAL, 8
TK_LITERAL:
.zero 8
.globl TK_FUNCTION
.align 8
.type TK_FUNCTION, @object
.size TK_FUNCTION, 8
TK_FUNCTION:
.zero 8
.globl TK_DOT
.align 8
.type TK_DOT, @object
.size TK_DOT, 8
TK_DOT:
.zero 8
.globl TK_COMMENT
.align 8
.type TK_COMMENT, @object
.size TK_COMMENT, 8
TK_COMMENT:
.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_proxy-plugin.c_get_table_index.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "VALUES\000"
.align 2
.LC1:
.ascii "VALUE\000"
.text
.align 2
.global get_table_index
.syntax unified
.arm
.fpu softvfp
.type get_table_index, %function
get_table_index:
@ args = 0, pretend = 0, frame = 32
@ frame_needed = 0, uses_anonymous_args = 0
mvn r3, #0
push {r4, r5, r6, r7, r8, r9, r10, fp, lr}
str r3, [r2]
str r3, [r1]
ldr fp, [r0]
sub sp, sp, #36
cmp fp, #1
ble .L30
ldr ip, [r0, #4]
mov r6, r2
ldr r2, .L53
mov r7, r1
ldr r0, [r2]
mov r4, #1
add r2, ip, #4
b .L4
.L46:
add r4, r4, #1
cmp fp, r4
beq .L30
.L4:
ldr r5, [r2]
add r2, r2, #4
ldr r1, [r5]
cmp r1, r0
beq .L46
cmp r4, fp
bge .L30
ldr r2, .L53+4
ldr r2, [r2]
cmp r1, r2
beq .L5
ldr r2, .L53+8
ldr r2, [r2]
cmp r1, r2
beq .L5
ldr r2, .L53+12
ldr r2, [r2]
cmp r1, r2
beq .L47
ldr r2, .L53+16
ldr r2, [r2]
cmp r1, r2
beq .L16
ldr r2, .L53+20
ldr r2, [r2]
cmp r1, r2
beq .L16
.L30:
mov r0, #0
.L1:
add sp, sp, #36
@ sp needed
pop {r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L16:
ldr r2, .L53+24
ldr r8, .L53+28
ldr lr, .L53+32
ldr r0, .L53+36
ldr r1, .L53+40
ldr r2, [r2]
ldr r3, [r8]
ldr lr, [lr]
ldr r0, [r0]
ldr r1, [r1]
str r2, [sp, #16]
add r8, r4, #1
sub r2, fp, #1
str r7, [sp, #28]
str r6, [sp, #24]
mov r7, r5
mov r6, r3
ldr r9, .L53+44
ldr r10, .L53+48
str lr, [sp, #4]
str r0, [sp, #20]
str r1, [sp, #12]
add r8, ip, r8, lsl #2
str r2, [sp, #8]
b .L22
.L17:
ldr r2, [sp, #4]
cmp r2, r3
beq .L18
.L19:
add r4, r4, #1
cmp fp, r4
beq .L33
ldr r7, [r8], #4
.L22:
ldr r2, [r7, #4]
mov r1, r9
ldr r5, [r2]
mov r0, r5
bl strcasecmp
cmp r0, #0
beq .L33
mov r0, r5
mov r1, r10
bl strcasecmp
cmp r0, #0
beq .L33
ldr r3, [r7]
cmp r6, r3
bne .L17
add r2, r4, #2
cmp r2, fp
bge .L18
ldr r3, [r8]
ldr r1, [sp, #20]
ldr r3, [r3]
cmp r3, r1
beq .L48
.L18:
ldr r3, [sp, #8]
cmp r4, r3
beq .L21
ldr r3, [r8]
mov r1, r9
ldr r2, [r3, #4]
ldr r5, [r3]
ldr r7, [r2]
mov r0, r7
bl strcasecmp
cmp r0, #0
beq .L21
mov r0, r7
mov r1, r10
bl strcasecmp
cmp r0, #0
beq .L21
ldr r3, [sp, #12]
cmp r3, r5
beq .L21
ldr r3, [sp, #16]
cmp r3, r5
bne .L19
.L21:
ldr r6, [sp, #24]
mov r0, #3
str r4, [r6]
b .L1
.L5:
ldr r0, .L53+52
add r2, r4, #1
ldr lr, [r0]
add r0, ip, r2, lsl #2
b .L11
.L7:
cmp r2, fp
beq .L27
ldr r3, [r0], #4
add r2, r2, #1
ldr r1, [r3]
.L11:
cmp lr, r1
mov r4, r2
bne .L7
cmp r2, fp
bge .L27
ldr r2, .L53+28
ldr r1, .L53+56
ldr lr, [r2]
ldr r0, [r1]
add r2, ip, r4, lsl #2
b .L10
.L50:
cmp r3, lr
beq .L49
add r4, r4, #1
cmp fp, r4
beq .L27
.L10:
ldr r3, [r2]
add r2, r2, #4
ldr r3, [r3]
cmp r3, r0
bne .L50
.L27:
mov r0, #1
add sp, sp, #36
@ sp needed
pop {r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L47:
ldr r2, .L53+28
ldr r0, .L53+24
ldr lr, [r2]
add r2, r4, #1
ldr r0, [r0]
add r2, ip, r2, lsl #2
b .L15
.L52:
cmp lr, r1
beq .L51
add r4, r4, #1
cmp fp, r4
beq .L29
ldr r3, [r2], #4
ldr r1, [r3]
.L15:
cmp r0, r1
bne .L52
.L29:
mov r0, #2
b .L1
.L33:
mov r0, #3
b .L1
.L49:
add r2, r4, #2
cmp r2, fp
bge .L9
add r3, r4, #1
ldr r1, [ip, r3, lsl #2]
ldr r3, .L53+36
ldr r1, [r1]
ldr r3, [r3]
cmp r1, r3
streq r4, [r7]
moveq r0, #1
streq r2, [r6]
beq .L1
.L9:
mov r0, #1
str r4, [r6]
b .L1
.L51:
add r2, r4, #2
cmp r2, fp
bge .L14
add r3, r4, #1
ldr r1, [ip, r3, lsl #2]
ldr r3, .L53+36
ldr r1, [r1]
ldr r3, [r3]
cmp r1, r3
streq r4, [r7]
moveq r0, #2
streq r2, [r6]
beq .L1
.L14:
mov r0, #2
str r4, [r6]
b .L1
.L48:
ldr r7, [sp, #28]
ldr r6, [sp, #24]
str r4, [r7]
mov r0, #3
str r2, [r6]
b .L1
.L54:
.align 2
.L53:
.word TK_COMMENT
.word TK_SQL_SELECT
.word TK_SQL_DELETE
.word TK_SQL_UPDATE
.word TK_SQL_INSERT
.word TK_SQL_REPLACE
.word TK_SQL_SET
.word TK_LITERAL
.word TK_FUNCTION
.word TK_DOT
.word TK_OBRACE
.word .LC0
.word .LC1
.word TK_SQL_FROM
.word TK_SQL_WHERE
.size get_table_index, .-get_table_index
.comm TK_SQL_WHERE,4,4
.comm TK_SQL_UPDATE,4,4
.comm TK_SQL_SET,4,4
.comm TK_SQL_SELECT,4,4
.comm TK_SQL_REPLACE,4,4
.comm TK_SQL_INSERT,4,4
.comm TK_SQL_FROM,4,4
.comm TK_SQL_DELETE,4,4
.comm TK_OBRACE,4,4
.comm TK_LITERAL,4,4
.comm TK_FUNCTION,4,4
.comm TK_DOT,4,4
.comm TK_COMMENT,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
| anghabench |
.file "extr_proxy-plugin.c_handler.c"
.intel_syntax noprefix
.text
.p2align 4
.globl handler
.type handler, @function
handler:
.LFB0:
.cfi_startproc
endbr64
cmp edi, 128
je .L2
cmp edi, 129
jne .L1
mov eax, DWORD PTR TRUE[rip]
mov DWORD PTR online[rip], eax
ret
.p2align 4,,10
.p2align 3
.L2:
mov eax, DWORD PTR FALSE[rip]
mov DWORD PTR online[rip], eax
.L1:
ret
.cfi_endproc
.LFE0:
.size handler, .-handler
.globl online
.bss
.align 4
.type online, @object
.size online, 4
online:
.zero 4
.globl TRUE
.align 4
.type TRUE, @object
.size TRUE, 4
TRUE:
.zero 4
.globl FALSE
.align 4
.type FALSE, @object
.size FALSE, 4
FALSE:
.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_proxy-plugin.c_handler.c"
.text
.align 2
.global handler
.syntax unified
.arm
.fpu softvfp
.type handler, %function
handler:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
cmp r0, #128
beq .L2
cmp r0, #129
ldreq r2, .L5
ldreq r3, .L5+4
ldreq r2, [r2]
streq r2, [r3]
bx lr
.L2:
ldr r2, .L5+8
ldr r3, .L5+4
ldr r2, [r2]
str r2, [r3]
bx lr
.L6:
.align 2
.L5:
.word TRUE
.word online
.word FALSE
.size handler, .-handler
.comm online,4,4
.comm TRUE,4,4
.comm FALSE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
| anghabench |
.file "extr_proxy-plugin.c_idle_ro.c"
.intel_syntax noprefix
.text
.p2align 4
.globl idle_ro
.type idle_ro, @function
idle_ro:
.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
mov rax, QWORD PTR [rdi]
mov r13, QWORD PTR [rax]
mov rdi, r13
call network_backends_count@PLT
test rax, rax
jle .L6
mov r12, rax
xor ebp, ebp
mov r14d, -1
jmp .L5
.p2align 4,,10
.p2align 3
.L3:
add rbp, 1
cmp r12, rbp
je .L1
.L5:
mov rsi, rbp
mov rdi, r13
call network_backends_get@PLT
mov rbx, rax
test rax, rax
je .L3
mov rdi, rax
call chassis_event_thread_pool@PLT
test rax, rax
je .L3
mov rax, QWORD PTR BACKEND_TYPE_RO[rip]
cmp QWORD PTR [rbx], rax
jne .L3
mov rax, QWORD PTR BACKEND_STATE_UP[rip]
cmp QWORD PTR 8[rbx], rax
jne .L3
cmp r14d, -1
je .L4
cmp r14d, DWORD PTR 16[rbx]
jle .L3
.L4:
add rbp, 1
mov r14d, DWORD PTR 16[rbx]
cmp r12, rbp
jne .L5
.L1:
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
.p2align 4,,10
.p2align 3
.L6:
.cfi_restore_state
mov r14d, -1
pop rbx
.cfi_def_cfa_offset 40
pop rbp
.cfi_def_cfa_offset 32
mov eax, r14d
pop r12
.cfi_def_cfa_offset 24
pop r13
.cfi_def_cfa_offset 16
pop r14
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size idle_ro, .-idle_ro
.globl BACKEND_TYPE_RO
.bss
.align 8
.type BACKEND_TYPE_RO, @object
.size BACKEND_TYPE_RO, 8
BACKEND_TYPE_RO:
.zero 8
.globl BACKEND_STATE_UP
.align 8
.type BACKEND_STATE_UP, @object
.size BACKEND_STATE_UP, 8
BACKEND_STATE_UP:
.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_proxy-plugin.c_idle_ro.c"
.text
.align 2
.global idle_ro
.syntax unified
.arm
.fpu softvfp
.type idle_ro, %function
idle_ro:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
ldr r3, [r0]
push {r4, r5, r6, r7, r8, r9, r10, lr}
ldr r7, [r3]
mov r0, r7
bl network_backends_count
subs r6, r0, #0
ble .L6
mov r5, #0
mvn r9, #0
ldr r8, .L19
ldr r10, .L19+4
b .L5
.L3:
add r5, r5, #1
cmp r6, r5
beq .L1
.L5:
mov r1, r5
mov r0, r7
bl network_backends_get
subs r4, r0, #0
beq .L3
bl chassis_event_thread_pool
cmp r0, #0
beq .L3
ldr r2, [r4]
ldr r3, [r8]
cmp r2, r3
bne .L3
ldr r2, [r4, #4]
ldr r3, [r10]
cmp r2, r3
bne .L3
cmn r9, #1
ldr r3, [r4, #8]
beq .L4
cmp r3, r9
bge .L3
.L4:
add r5, r5, #1
cmp r6, r5
mov r9, r3
bne .L5
.L1:
mov r0, r9
pop {r4, r5, r6, r7, r8, r9, r10, pc}
.L6:
mvn r9, #0
mov r0, r9
pop {r4, r5, r6, r7, r8, r9, r10, pc}
.L20:
.align 2
.L19:
.word BACKEND_TYPE_RO
.word BACKEND_STATE_UP
.size idle_ro, .-idle_ro
.comm BACKEND_TYPE_RO,4,4
.comm BACKEND_STATE_UP,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
| anghabench |
.file "extr_proxy-plugin.c_idle_rw.c"
.intel_syntax noprefix
.text
.p2align 4
.globl idle_rw
.type idle_rw, @function
idle_rw:
.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, 8
.cfi_def_cfa_offset 48
mov rax, QWORD PTR [rdi]
mov r13, QWORD PTR [rax]
mov rdi, r13
call network_backends_count@PLT
test eax, eax
jle .L2
mov ebp, eax
xor r12d, r12d
jmp .L4
.p2align 4,,10
.p2align 3
.L5:
add r12d, 1
cmp ebp, r12d
je .L2
.L4:
mov esi, r12d
mov rdi, r13
call network_backends_get@PLT
mov rbx, rax
test rax, rax
je .L5
mov rdi, rax
call chassis_event_thread_pool@PLT
test rax, rax
je .L5
mov rax, QWORD PTR BACKEND_TYPE_RW[rip]
cmp QWORD PTR [rbx], rax
jne .L5
mov rax, QWORD PTR BACKEND_STATE_UP[rip]
cmp QWORD PTR 8[rbx], rax
jne .L5
add rsp, 8
.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
.L2:
.cfi_restore_state
add rsp, 8
.cfi_def_cfa_offset 40
mov r12d, -1
pop rbx
.cfi_def_cfa_offset 32
mov eax, r12d
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 idle_rw, .-idle_rw
.globl BACKEND_TYPE_RW
.bss
.align 8
.type BACKEND_TYPE_RW, @object
.size BACKEND_TYPE_RW, 8
BACKEND_TYPE_RW:
.zero 8
.globl BACKEND_STATE_UP
.align 8
.type BACKEND_STATE_UP, @object
.size BACKEND_STATE_UP, 8
BACKEND_STATE_UP:
.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_proxy-plugin.c_idle_rw.c"
.text
.align 2
.global idle_rw
.syntax unified
.arm
.fpu softvfp
.type idle_rw, %function
idle_rw:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
ldr r3, [r0]
push {r4, r5, r6, r7, r8, r9, r10, lr}
ldr r7, [r3]
mov r0, r7
bl network_backends_count
subs r6, r0, #0
ble .L2
mov r5, #0
ldr r8, .L13
ldr r9, .L13+4
b .L4
.L5:
add r5, r5, #1
cmp r6, r5
beq .L2
.L4:
mov r1, r5
mov r0, r7
bl network_backends_get
subs r4, r0, #0
beq .L5
bl chassis_event_thread_pool
cmp r0, #0
beq .L5
ldr r2, [r4]
ldr r3, [r8]
cmp r2, r3
bne .L5
ldr r2, [r4, #4]
ldr r3, [r9]
cmp r2, r3
bne .L5
mov r0, r5
pop {r4, r5, r6, r7, r8, r9, r10, pc}
.L2:
mvn r5, #0
mov r0, r5
pop {r4, r5, r6, r7, r8, r9, r10, pc}
.L14:
.align 2
.L13:
.word BACKEND_TYPE_RW
.word BACKEND_STATE_UP
.size idle_rw, .-idle_rw
.comm BACKEND_TYPE_RW,4,4
.comm BACKEND_STATE_UP,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
| anghabench |
.file "extr_proxy-plugin.c_is_in_blacklist.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "SLEEP"
.text
.p2align 4
.globl is_in_blacklist
.type is_in_blacklist, @function
is_in_blacklist:
.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
mov r12d, DWORD PTR [rdi]
cmp r12d, 1
jle .L2
mov rax, QWORD PTR 8[rdi]
mov r14, rdi
mov rdx, QWORD PTR 8[rax]
mov rdx, QWORD PTR [rdx]
cmp rdx, QWORD PTR TK_SQL_DELETE[rip]
je .L6
cmp rdx, QWORD PTR TK_SQL_UPDATE[rip]
je .L6
mov ebx, 16
mov ebp, 2
cmp r12d, 2
je .L2
.L7:
lea r13, .LC0[rip]
jmp .L12
.p2align 4,,10
.p2align 3
.L11:
add ebp, 1
add rbx, 8
cmp r12d, ebp
jle .L2
mov rax, QWORD PTR 8[r14]
.L12:
mov rdx, QWORD PTR [rax+rbx]
mov rcx, QWORD PTR TK_OBRACE[rip]
cmp QWORD PTR [rdx], rcx
jne .L11
mov rax, QWORD PTR -8[rax+rbx]
mov rsi, r13
mov rax, QWORD PTR 8[rax]
mov edi, DWORD PTR [rax]
call strcasecmp@PLT
test rax, rax
jne .L11
.L16:
pop rbx
.cfi_remember_state
.cfi_def_cfa_offset 40
mov eax, DWORD PTR TRUE[rip]
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
pop rbx
.cfi_remember_state
.cfi_def_cfa_offset 40
mov eax, DWORD PTR FALSE[rip]
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 r12d, 2
je .L16
mov rdi, QWORD PTR TK_SQL_WHERE[rip]
lea rcx, 16[rax]
mov edx, 2
jmp .L9
.p2align 4,,10
.p2align 3
.L18:
add edx, 1
add rcx, 8
cmp r12d, edx
je .L16
.L9:
mov rsi, QWORD PTR [rcx]
cmp QWORD PTR [rsi], rdi
jne .L18
cmp r12d, edx
je .L16
mov ebx, 16
mov ebp, 2
jmp .L7
.cfi_endproc
.LFE0:
.size is_in_blacklist, .-is_in_blacklist
.globl TRUE
.bss
.align 4
.type TRUE, @object
.size TRUE, 4
TRUE:
.zero 4
.globl TK_SQL_WHERE
.align 8
.type TK_SQL_WHERE, @object
.size TK_SQL_WHERE, 8
TK_SQL_WHERE:
.zero 8
.globl TK_SQL_UPDATE
.align 8
.type TK_SQL_UPDATE, @object
.size TK_SQL_UPDATE, 8
TK_SQL_UPDATE:
.zero 8
.globl TK_SQL_DELETE
.align 8
.type TK_SQL_DELETE, @object
.size TK_SQL_DELETE, 8
TK_SQL_DELETE:
.zero 8
.globl TK_OBRACE
.align 8
.type TK_OBRACE, @object
.size TK_OBRACE, 8
TK_OBRACE:
.zero 8
.globl FALSE
.align 4
.type FALSE, @object
.size FALSE, 4
FALSE:
.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_proxy-plugin.c_is_in_blacklist.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "SLEEP\000"
.text
.align 2
.global is_in_blacklist
.syntax unified
.arm
.fpu softvfp
.type is_in_blacklist, %function
is_in_blacklist:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, lr}
ldr r5, [r0]
cmp r5, #1
ble .L2
ldr r3, [r0, #4]
ldr r1, .L19
ldr r2, [r3, #4]
ldr r1, [r1]
ldr r2, [r2]
mov r6, r0
cmp r2, r1
beq .L3
ldr r1, .L19+4
ldr r1, [r1]
cmp r2, r1
beq .L3
cmp r5, #2
beq .L2
.L13:
mov r4, #2
ldr r7, .L19+8
ldr r8, .L19+12
b .L12
.L11:
cmp r5, r4
ble .L2
ldr r3, [r6, #4]
.L12:
ldr ip, [r3, r4, lsl #2]
ldr r2, [r7]
ldr ip, [ip]
lsl lr, r4, #2
cmp ip, r2
add r4, r4, #1
bne .L11
add r3, r3, lr
ldr r3, [r3, #-4]
mov r1, r8
ldr r3, [r3, #4]
ldr r0, [r3]
bl strcasecmp
cmp r0, #0
bne .L11
.L16:
ldr r3, .L19+16
ldr r0, [r3]
pop {r4, r5, r6, r7, r8, pc}
.L2:
ldr r3, .L19+20
ldr r0, [r3]
pop {r4, r5, r6, r7, r8, pc}
.L3:
cmp r5, #2
beq .L16
ldr r0, .L19+24
mov r2, #2
ldr ip, [r0]
add r1, r3, #4
b .L9
.L18:
add r2, r2, #1
cmp r5, r2
beq .L16
.L9:
ldr r0, [r1, #4]!
ldr r0, [r0]
cmp r0, ip
bne .L18
cmp r5, r2
bne .L13
b .L16
.L20:
.align 2
.L19:
.word TK_SQL_DELETE
.word TK_SQL_UPDATE
.word TK_OBRACE
.word .LC0
.word TRUE
.word FALSE
.word TK_SQL_WHERE
.size is_in_blacklist, .-is_in_blacklist
.comm TRUE,4,4
.comm TK_SQL_WHERE,4,4
.comm TK_SQL_UPDATE,4,4
.comm TK_SQL_DELETE,4,4
.comm TK_OBRACE,4,4
.comm FALSE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
| anghabench |
.file "extr_proxy-plugin.c_log_sql.c"
.intel_syntax noprefix
.text
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC1:
.string "[%02d/%02d/%d %02d:%02d:%02d] C:%s S:"
.section .rodata.str1.1,"aMS",@progbits,1
.LC2:
.string "%s OK %.3f \"%s\"\n"
.LC3:
.string "%s ERR %.3f \"%s\"\n"
.text
.p2align 4
.globl log_sql
.type log_sql, @function
log_sql:
.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
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
mov rax, QWORD PTR OFF[rip]
cmp QWORD PTR sql_log_type[rip], rax
je .L1
mov rax, QWORD PTR config[rip]
movsd xmm0, QWORD PTR [rsi]
mov rbx, rsi
subsd xmm0, QWORD PTR 8[rsi]
divsd xmm0, QWORD PTR .LC0[rip]
cvtsd2ss xmm0, xmm0
movss DWORD PTR 12[rsp], xmm0
cvttss2si rdx, xmm0
cmp rdx, QWORD PTR [rax]
jge .L9
.L1:
mov rax, QWORD PTR 24[rsp]
sub rax, QWORD PTR fs:40
jne .L10
add rsp, 32
.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
.L9:
.cfi_restore_state
mov rbp, rdi
xor edi, edi
call g_string_new@PLT
xor edi, edi
mov r12, rax
call time@PLT
lea rdi, 20[rsp]
mov DWORD PTR 20[rsp], eax
call localtime@PLT
mov rdi, QWORD PTR 8[rbp]
sub rsp, 8
.cfi_def_cfa_offset 72
mov rsi, QWORD PTR 16[rax]
mov ecx, DWORD PTR 24[rax]
mov rdi, QWORD PTR [rdi]
mov rdx, QWORD PTR 32[rax]
mov r9d, DWORD PTR 8[rax]
lea r8, 1900[rsi]
lea rsi, .LC1[rip]
mov rdi, QWORD PTR [rdi]
add rdx, 1
mov edi, DWORD PTR [rdi]
push rdi
.cfi_def_cfa_offset 80
mov edi, DWORD PTR [rax]
push rdi
.cfi_def_cfa_offset 88
mov eax, DWORD PTR 4[rax]
mov rdi, r12
push rax
.cfi_def_cfa_offset 96
call g_string_printf@PLT
mov rax, QWORD PTR MYSQLD_PACKET_OK[rip]
add rsp, 32
.cfi_def_cfa_offset 64
cmp QWORD PTR 24[rbx], rax
mov rax, QWORD PTR 16[rbx]
movss xmm0, DWORD PTR 12[rsp]
mov rcx, QWORD PTR [rax]
je .L11
mov rax, QWORD PTR 0[rbp]
add rcx, 1
lea rsi, .LC3[rip]
mov rdi, r12
mov rax, QWORD PTR [rax]
mov rax, QWORD PTR [rax]
mov edx, DWORD PTR [rax]
call g_string_append_printf@PLT
.L4:
mov rax, QWORD PTR config[rip]
mov edi, DWORD PTR 4[r12]
mov edx, 1
mov esi, DWORD PTR [r12]
mov ecx, DWORD PTR 8[rax]
call fwrite@PLT
mov esi, DWORD PTR TRUE[rip]
mov rdi, r12
call g_string_free@PLT
mov rax, QWORD PTR REALTIME[rip]
cmp QWORD PTR sql_log_type[rip], rax
jne .L1
mov rax, QWORD PTR config[rip]
mov edi, DWORD PTR 8[rax]
call fflush@PLT
jmp .L1
.p2align 4,,10
.p2align 3
.L11:
mov rax, QWORD PTR 0[rbp]
add rcx, 1
lea rsi, .LC2[rip]
mov rdi, r12
mov rax, QWORD PTR [rax]
mov rax, QWORD PTR [rax]
mov edx, DWORD PTR [rax]
call g_string_append_printf@PLT
jmp .L4
.L10:
call __stack_chk_fail@PLT
.cfi_endproc
.LFE0:
.size log_sql, .-log_sql
.globl sql_log_type
.bss
.align 8
.type sql_log_type, @object
.size sql_log_type, 8
sql_log_type:
.zero 8
.globl config
.align 8
.type config, @object
.size config, 8
config:
.zero 8
.globl TRUE
.align 4
.type TRUE, @object
.size TRUE, 4
TRUE:
.zero 4
.globl REALTIME
.align 8
.type REALTIME, @object
.size REALTIME, 8
REALTIME:
.zero 8
.globl OFF
.align 8
.type OFF, @object
.size OFF, 8
OFF:
.zero 8
.globl MYSQLD_PACKET_OK
.align 8
.type MYSQLD_PACKET_OK, @object
.size MYSQLD_PACKET_OK, 8
MYSQLD_PACKET_OK:
.zero 8
.section .rodata.cst8,"aM",@progbits,8
.align 8
.LC0:
.long 0
.long 1083129856
.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_proxy-plugin.c_log_sql.c"
.text
.global __aeabi_dsub
.global __aeabi_ddiv
.global __aeabi_d2f
.global __aeabi_f2iz
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "[%02d/%02d/%d %02d:%02d:%02d] C:%s S:\000"
.align 2
.LC1:
.ascii "%s OK %.3f \"%s\"\012\000"
.align 2
.LC2:
.ascii "%s ERR %.3f \"%s\"\012\000"
.section .rodata.cst4,"aM",%progbits,4
.align 2
.LC3:
.word __stack_chk_guard
.text
.align 2
.global log_sql
.syntax unified
.arm
.fpu softvfp
.type log_sql, %function
log_sql:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, r9, lr}
ldr r3, .L11
ldr r8, .L11+4
ldr r3, [r3]
ldr r2, [r8]
sub sp, sp, #36
cmp r2, r3
ldr r3, .L11+8
ldr r3, [r3]
str r3, [sp, #28]
mov r3,#0
beq .L1
add r3, r1, #8
ldmia r3, {r2-r3}
mov r5, r0
mov r4, r1
ldmia r1, {r0-r1}
bl __aeabi_dsub
ldr r3, .L11+12
mov r2, #0
bl __aeabi_ddiv
bl __aeabi_d2f
mov r7, r0
bl __aeabi_f2iz
ldr r9, .L11+16
ldr r3, [r9]
ldr r3, [r3]
cmp r0, r3
bge .L9
.L1:
ldr r3, .L11+8
ldr r2, [r3]
ldr r3, [sp, #28]
eors r2, r3, r2
mov r3, #0
bne .L10
add sp, sp, #36
@ sp needed
pop {r4, r5, r6, r7, r8, r9, pc}
.L9:
mov r0, #0
bl g_string_new
mov r6, r0
mov r0, #0
bl time
mov r3, r0
add r0, sp, #24
str r3, [sp, #24]
bl localtime
mov r1, r0
ldr r2, [r5, #4]
ldr r3, [r0, #16]
ldr r0, [r2]
ldr r2, [r1, #20]
ldr r0, [r0]
add r2, r2, #1
ldr r0, [r0]
str r0, [sp, #16]
ldr ip, [r1]
mov r0, r6
str ip, [sp, #12]
ldr ip, [r1, #4]
str ip, [sp, #8]
ldr ip, [r1, #8]
str ip, [sp, #4]
ldr ip, [r1, #12]
ldr r1, .L11+20
add ip, ip, #1888
add ip, ip, #12
str ip, [sp]
bl g_string_printf
ldr r3, .L11+24
ldr r2, [r4, #20]
ldr r3, [r3]
mov r0, r6
cmp r2, r3
ldr r3, [r5]
ldr r2, [r4, #16]
ldr r3, [r3]
ldr r1, [r2]
ldr r3, [r3]
add r1, r1, #1
ldr r2, [r3]
str r1, [sp]
mov r3, r7
ldreq r1, .L11+28
ldrne r1, .L11+32
bl g_string_append_printf
ldr r3, [r9]
mov r2, #1
ldr r3, [r3, #4]
ldr r1, [r6]
ldr r0, [r6, #4]
bl fwrite
ldr r3, .L11+36
mov r0, r6
ldr r1, [r3]
bl g_string_free
ldr r3, .L11+40
ldr r2, [r8]
ldr r3, [r3]
cmp r2, r3
bne .L1
ldr r3, [r9]
ldr r0, [r3, #4]
bl fflush
b .L1
.L10:
bl __stack_chk_fail
.L12:
.align 2
.L11:
.word OFF
.word sql_log_type
.word .LC3
.word 1083129856
.word config
.word .LC0
.word MYSQLD_PACKET_OK
.word .LC1
.word .LC2
.word TRUE
.word REALTIME
.size log_sql, .-log_sql
.comm sql_log_type,4,4
.comm config,4,4
.comm TRUE,4,4
.comm REALTIME,4,4
.comm OFF,4,4
.comm MYSQLD_PACKET_OK,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
| anghabench |
.file "extr_proxy-plugin.c_merge_rows.c"
.intel_syntax noprefix
.text
.p2align 4
.globl merge_rows
.type merge_rows, @function
merge_rows:
.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, 88
.cfi_def_cfa_offset 144
mov rax, QWORD PTR fs:40
mov QWORD PTR 72[rsp], rax
xor eax, eax
mov eax, DWORD PTR 16[rsi]
test eax, eax
je .L1
mov rax, QWORD PTR 8[rdi]
mov r15, rdi
mov rax, QWORD PTR [rax]
cmp QWORD PTR [rax], 0
je .L1
cmp QWORD PTR 8[rsi], 0
mov rbx, rsi
jne .L1
xor eax, eax
lea rbp, 48[rsp]
lea r13, 40[rsp]
call proxy_resultset_new@PLT
mov rcx, rax
mov QWORD PTR 24[rsp], rax
mov rax, QWORD PTR 8[r15]
mov rdi, rcx
mov rax, QWORD PTR [rax]
mov rax, QWORD PTR [rax]
mov QWORD PTR 32[rcx], rax
mov rax, QWORD PTR 8[rbx]
mov QWORD PTR 24[rcx], rax
mov eax, DWORD PTR 4[rbx]
mov DWORD PTR 20[rcx], eax
mov eax, DWORD PTR [rbx]
mov rbx, rcx
mov DWORD PTR 16[rcx], eax
call parse_resultset_fields@PLT
mov rax, QWORD PTR 8[rbx]
lea rdx, 44[rsp]
mov QWORD PTR 16[rsp], rdx
mov QWORD PTR 8[rsp], rax
test rax, rax
je .L4
.p2align 4,,10
.p2align 3
.L3:
mov rax, QWORD PTR 8[rsp]
mov rdi, rbp
mov QWORD PTR 48[rsp], 0
mov rax, QWORD PTR 8[rax]
mov QWORD PTR 56[rsp], rax
call network_mysqld_proto_skip_network_header@PLT
mov rsi, r13
mov rdi, rbp
call network_mysqld_proto_peek_lenenc_type@PLT
mov eax, DWORD PTR 40[rsp]
sub eax, 130
cmp eax, 1
jbe .L22
xor eax, eax
call g_ptr_array_new@PLT
mov r14, rax
mov rax, QWORD PTR 24[rsp]
mov rax, QWORD PTR [rax]
mov r12, QWORD PTR [rax]
test r12, r12
jle .L6
xor ebx, ebx
jmp .L10
.p2align 4,,10
.p2align 3
.L23:
cmp eax, 129
jne .L9
mov rsi, QWORD PTR 16[rsp]
mov rdi, rbp
call network_mysqld_proto_get_lenenc_int@PLT
mov rax, QWORD PTR 56[rsp]
mov esi, DWORD PTR 44[rsp]
mov rdi, QWORD PTR 48[rsp]
add rdi, QWORD PTR [rax]
call g_strndup@PLT
mov rdi, r14
mov rsi, rax
call g_ptr_array_add@PLT
mov esi, DWORD PTR 44[rsp]
mov rdi, rbp
call network_mysqld_proto_skip@PLT
.L9:
add rbx, 1
cmp r12, rbx
je .L6
.L10:
mov rsi, r13
mov rdi, rbp
call network_mysqld_proto_peek_lenenc_type@PLT
mov eax, DWORD PTR 40[rsp]
cmp eax, 128
jne .L23
mov esi, 1
mov rdi, rbp
add rbx, 1
call network_mysqld_proto_skip@PLT
cmp r12, rbx
jne .L10
.L6:
mov rax, QWORD PTR [r15]
mov rsi, r14
mov rdi, QWORD PTR 8[rax]
call g_ptr_array_add@PLT
mov rax, QWORD PTR [r15]
mov rdx, QWORD PTR 8[rax]
mov rax, QWORD PTR [rax]
cmp QWORD PTR [rdx], rax
jge .L4
mov rax, QWORD PTR 8[rsp]
mov rax, QWORD PTR [rax]
mov QWORD PTR 8[rsp], rax
test rax, rax
jne .L3
.L4:
mov rax, QWORD PTR 72[rsp]
sub rax, QWORD PTR fs:40
jne .L20
mov rdi, QWORD PTR 24[rsp]
add rsp, 88
.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 proxy_resultset_free@PLT
.L22:
.cfi_restore_state
mov rdi, QWORD PTR 24[rsp]
call proxy_resultset_free@PLT
.p2align 4,,10
.p2align 3
.L1:
mov rax, QWORD PTR 72[rsp]
sub rax, QWORD PTR fs:40
jne .L20
add rsp, 88
.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
.L20:
.cfi_restore_state
call __stack_chk_fail@PLT
.cfi_endproc
.LFE0:
.size merge_rows, .-merge_rows
.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_proxy-plugin.c_merge_rows.c"
.text
.section .rodata.cst4,"aM",%progbits,4
.align 2
.LC0:
.word __stack_chk_guard
.text
.align 2
.global merge_rows
.syntax unified
.arm
.fpu softvfp
.type merge_rows, %function
merge_rows:
@ args = 0, pretend = 0, frame = 24
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, r9, r10, lr}
ldr r3, [r1, #12]
sub sp, sp, #24
cmp r3, #0
ldr r3, .L27
ldr r3, [r3]
str r3, [sp, #20]
mov r3,#0
beq .L1
ldr r3, [r0, #4]
mov r8, r0
ldr r3, [r3]
ldr r3, [r3]
cmp r3, #0
beq .L1
ldr r10, [r1, #8]
mov r4, r1
cmp r10, #0
bne .L1
bl proxy_resultset_new
mov r9, r0
ldr r3, [r8, #4]
ldr r1, [r4, #8]
ldr r3, [r3]
ldr r2, [r4, #4]
ldr ip, [r3]
ldr r3, [r4]
str ip, [r0, #20]
str r1, [r0, #16]
str r2, [r0, #12]
str r3, [r0, #8]
bl parse_resultset_fields
ldr r7, [r9, #4]
cmp r7, #0
beq .L4
.L3:
ldr r3, [r7, #4]
add r0, sp, #12
str r3, [sp, #16]
str r10, [sp, #12]
bl network_mysqld_proto_skip_network_header
add r1, sp, #4
add r0, sp, #12
bl network_mysqld_proto_peek_lenenc_type
ldr r3, [sp, #4]
sub r3, r3, #130
cmp r3, #1
bls .L4
bl g_ptr_array_new
ldr r3, [r9]
mov r6, r0
ldr r5, [r3]
cmp r5, #0
ble .L6
mov r4, #0
b .L10
.L25:
cmp r3, #129
bne .L9
add r1, sp, #8
add r0, sp, #12
bl network_mysqld_proto_get_lenenc_int
ldr r2, [sp, #16]
ldr r3, [sp, #12]
ldr r0, [r2]
ldr r1, [sp, #8]
add r0, r0, r3
bl g_strndup
mov r1, r0
mov r0, r6
bl g_ptr_array_add
ldr r1, [sp, #8]
add r0, sp, #12
bl network_mysqld_proto_skip
.L9:
add r4, r4, #1
cmp r5, r4
beq .L6
.L10:
add r1, sp, #4
add r0, sp, #12
bl network_mysqld_proto_peek_lenenc_type
ldr r3, [sp, #4]
cmp r3, #128
bne .L25
mov r1, #1
add r0, sp, #12
add r4, r4, #1
bl network_mysqld_proto_skip
cmp r5, r4
bne .L10
.L6:
ldr r3, [r8]
mov r1, r6
ldr r0, [r3, #4]
bl g_ptr_array_add
ldr r3, [r8]
ldr r2, [r3, #4]
ldr r3, [r3]
ldr r2, [r2]
cmp r2, r3
bge .L4
ldr r7, [r7]
cmp r7, #0
bne .L3
.L4:
mov r0, r9
bl proxy_resultset_free
.L1:
ldr r3, .L27
ldr r2, [r3]
ldr r3, [sp, #20]
eors r2, r3, r2
mov r3, #0
bne .L26
add sp, sp, #24
@ sp needed
pop {r4, r5, r6, r7, r8, r9, r10, pc}
.L26:
bl __stack_chk_fail
.L28:
.align 2
.L27:
.word .LC0
.size merge_rows, .-merge_rows
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
| anghabench |
.file "extr_proxy-plugin.c_modify_db.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string ""
.text
.p2align 4
.globl modify_db
.type modify_db, @function
modify_db:
.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
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
mov rax, QWORD PTR 8[rdi]
mov rax, QWORD PTR [rax]
mov rbp, QWORD PTR [rax]
test rbp, rbp
je .L1
mov rbx, rdi
lea rsi, .LC0[rip]
mov rdi, rbp
call strcmp@PLT
test rax, rax
jne .L11
.L1:
mov rax, QWORD PTR 8[rsp]
sub rax, QWORD PTR fs:40
jne .L12
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
.p2align 4,,10
.p2align 3
.L11:
.cfi_restore_state
movzx eax, BYTE PTR COM_INIT_DB[rip]
lea rdi, 7[rsp]
mov esi, 1
mov BYTE PTR 7[rsp], al
call g_string_new_len@PLT
mov rsi, rbp
mov r12, rax
mov rdi, rax
call g_string_append@PLT
mov rsi, r12
mov edi, 2
call injection_new@PLT
mov rsi, rax
mov eax, DWORD PTR TRUE[rip]
mov DWORD PTR [rsi], eax
mov rax, QWORD PTR [rbx]
mov edi, DWORD PTR [rax]
call g_queue_push_head@PLT
jmp .L1
.L12:
call __stack_chk_fail@PLT
.cfi_endproc
.LFE0:
.size modify_db, .-modify_db
.globl TRUE
.bss
.align 4
.type TRUE, @object
.size TRUE, 4
TRUE:
.zero 4
.globl COM_INIT_DB
.type COM_INIT_DB, @object
.size COM_INIT_DB, 1
COM_INIT_DB:
.zero 1
.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_proxy-plugin.c_modify_db.c"
.text
.section .rodata.cst4,"aM",%progbits,4
.align 2
.LC0:
.word __stack_chk_guard
.text
.align 2
.global modify_db
.syntax unified
.arm
.fpu softvfp
.type modify_db, %function
modify_db:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 0, uses_anonymous_args = 0
ldr r3, [r0, #4]
push {r4, r5, lr}
ldr r3, [r3]
ldr r2, .L14
ldr r5, [r3]
sub sp, sp, #12
cmp r5, #0
ldr r2, [r2]
str r2, [sp, #4]
mov r2,#0
beq .L1
ldrb r3, [r5] @ zero_extendqisi2
cmp r3, #0
bne .L12
.L1:
ldr r3, .L14
ldr r2, [r3]
ldr r3, [sp, #4]
eors r2, r3, r2
mov r3, #0
bne .L13
add sp, sp, #12
@ sp needed
pop {r4, r5, pc}
.L12:
ldr r3, .L14+4
mov r4, r0
ldrb r3, [r3] @ zero_extendqisi2
mov r1, #1
add r0, sp, #3
strb r3, [sp, #3]
bl g_string_new_len
mov r1, r5
mov r5, r0
bl g_string_append
mov r1, r5
mov r0, #2
bl injection_new
mov r1, r0
ldr r3, .L14+8
ldr r2, [r4]
ldr r3, [r3]
ldr r0, [r2]
str r3, [r1]
bl g_queue_push_head
b .L1
.L13:
bl __stack_chk_fail
.L15:
.align 2
.L14:
.word .LC0
.word COM_INIT_DB
.word TRUE
.size modify_db, .-modify_db
.comm TRUE,4,4
.comm COM_INIT_DB,1,1
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
| anghabench |
.file "extr_proxy-plugin.c_modify_user.c"
.intel_syntax noprefix
.text
.p2align 4
.globl modify_user
.type modify_user, @function
modify_user:
.LFB0:
.cfi_startproc
endbr64
mov rax, QWORD PTR 16[rdi]
test rax, rax
je .L9
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
mov rbx, rdi
sub rsp, 8
.cfi_def_cfa_offset 48
mov rdx, QWORD PTR [rdi]
mov rax, QWORD PTR 8[rax]
mov rdx, QWORD PTR [rdx]
mov rsi, QWORD PTR [rax]
mov rbp, QWORD PTR 8[rdx]
mov rdi, rbp
call g_string_equal@PLT
test eax, eax
je .L13
.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
.L13:
.cfi_restore_state
xor edi, edi
call g_string_new@PLT
mov esi, DWORD PTR COM_CHANGE_USER[rip]
mov rdi, rax
mov r12, rax
call g_string_append_c@PLT
mov eax, DWORD PTR 0[rbp]
mov esi, DWORD PTR 4[rbp]
mov rdi, r12
lea edx, 1[rax]
xor eax, eax
call g_string_append_len@PLT
mov rax, QWORD PTR config[rip]
mov esi, DWORD PTR 4[rbp]
mov rdx, QWORD PTR [rax]
mov rax, QWORD PTR 8[rax]
mov edi, DWORD PTR [rax+rdx*4]
call g_hash_table_lookup@PLT
mov r13, rax
test rax, rax
je .L1
mov edi, 20
call g_string_sized_new@PLT
mov rdi, r13
mov rbp, rax
call S@PLT
mov r13d, eax
mov rax, QWORD PTR 16[rbx]
mov rax, QWORD PTR [rax]
mov rdi, QWORD PTR [rax]
call S@PLT
mov edx, r13d
mov rdi, rbp
mov esi, eax
call network_mysqld_proto_password_scramble@PLT
movzx esi, BYTE PTR 0[rbp]
mov rdi, r12
call g_string_append_c@PLT
mov rdi, rbp
call S@PLT
mov rdi, r12
mov esi, eax
xor eax, eax
call g_string_append_len@PLT
mov rdi, r12
xor esi, esi
call g_string_append_c@PLT
mov rsi, r12
mov edi, 6
call injection_new@PLT
mov rsi, rax
mov eax, DWORD PTR TRUE[rip]
mov DWORD PTR [rsi], eax
mov rax, QWORD PTR 8[rbx]
mov edi, DWORD PTR [rax]
call g_queue_push_head@PLT
mov rax, QWORD PTR [rbx]
xor esi, esi
mov rax, QWORD PTR [rax]
mov edi, DWORD PTR [rax]
call g_string_truncate@PLT
mov rax, QWORD PTR [rbx]
mov esi, DWORD PTR 4[rbp]
mov rax, QWORD PTR [rax]
mov edi, DWORD PTR [rax]
call g_string_assign@PLT
mov esi, DWORD PTR TRUE[rip]
add rsp, 8
.cfi_def_cfa_offset 40
mov rdi, rbp
pop rbx
.cfi_restore 3
.cfi_def_cfa_offset 32
pop rbp
.cfi_restore 6
.cfi_def_cfa_offset 24
pop r12
.cfi_restore 12
.cfi_def_cfa_offset 16
pop r13
.cfi_restore 13
.cfi_def_cfa_offset 8
jmp g_string_free@PLT
.p2align 4,,10
.p2align 3
.L9:
ret
.cfi_endproc
.LFE0:
.size modify_user, .-modify_user
.globl config
.bss
.align 8
.type config, @object
.size config, 8
config:
.zero 8
.globl TRUE
.align 4
.type TRUE, @object
.size TRUE, 4
TRUE:
.zero 4
.globl COM_CHANGE_USER
.align 4
.type COM_CHANGE_USER, @object
.size COM_CHANGE_USER, 4
COM_CHANGE_USER:
.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_proxy-plugin.c_modify_user.c"
.text
.align 2
.global modify_user
.syntax unified
.arm
.fpu softvfp
.type modify_user, %function
modify_user:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
ldr r3, [r0, #8]
cmp r3, #0
bxeq lr
ldr r1, [r0]
ldr r2, [r3, #4]
ldr r3, [r1]
push {r4, r5, r6, r7, r8, r9, r10, lr}
ldr r6, [r3, #4]
mov r4, r0
ldr r1, [r2]
mov r0, r6
bl g_string_equal
subs r5, r0, #0
popne {r4, r5, r6, r7, r8, r9, r10, pc}
bl g_string_new
mov r7, r0
ldr r3, .L13
ldr r1, [r3]
bl g_string_append_c
ldr r2, [r6]
ldr r1, [r6, #4]
add r2, r2, #1
mov r0, r7
bl g_string_append_len
ldr r3, .L13+4
ldr r1, [r6, #4]
ldr r3, [r3]
ldm r3, {r2, r3}
ldr r0, [r3, r2, lsl #2]
bl g_hash_table_lookup
subs r8, r0, #0
popeq {r4, r5, r6, r7, r8, r9, r10, pc}
mov r0, #20
bl g_string_sized_new
ldr r3, [r4, #8]
mov r6, r0
ldr r3, [r3]
ldr r9, .L13+8
ldr r0, [r3]
bl S
mov r1, r0
mov r0, r8
mov r8, r1
bl S
mov r1, r8
mov r2, r0
mov r0, r6
bl network_mysqld_proto_password_scramble
ldrb r1, [r6] @ zero_extendqisi2
mov r0, r7
bl g_string_append_c
mov r0, r6
bl S
mov r1, r0
mov r0, r7
bl g_string_append_len
mov r1, r5
mov r0, r7
bl g_string_append_c
mov r1, r7
mov r0, #6
bl injection_new
ldr r2, [r9]
ldr r3, [r4, #4]
mov r1, r0
str r2, [r0]
ldr r0, [r3]
bl g_queue_push_head
ldr r3, [r4]
mov r1, r5
ldr r3, [r3]
ldr r0, [r3]
bl g_string_truncate
ldr r3, [r4]
ldr r1, [r6, #4]
ldr r3, [r3]
ldr r0, [r3]
bl g_string_assign
mov r0, r6
ldr r1, [r9]
pop {r4, r5, r6, r7, r8, r9, r10, lr}
b g_string_free
.L14:
.align 2
.L13:
.word COM_CHANGE_USER
.word config
.word TRUE
.size modify_user, .-modify_user
.comm config,4,4
.comm TRUE,4,4
.comm COM_CHANGE_USER,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
| anghabench |
.file "extr_proxy-plugin.c_network_mysqld_proxy_connection_init.c"
.intel_syntax noprefix
.text
.p2align 4
.globl network_mysqld_proxy_connection_init
.type network_mysqld_proxy_connection_init, @function
network_mysqld_proxy_connection_init:
.LFB0:
.cfi_startproc
endbr64
mov eax, DWORD PTR proxy_init[rip]
mov DWORD PTR 44[rdi], eax
mov eax, DWORD PTR proxy_connect_server[rip]
mov DWORD PTR 40[rdi], eax
mov eax, DWORD PTR proxy_read_handshake[rip]
mov DWORD PTR 36[rdi], eax
mov eax, DWORD PTR proxy_read_auth[rip]
mov DWORD PTR 32[rdi], eax
mov eax, DWORD PTR proxy_read_auth_result[rip]
mov DWORD PTR 28[rdi], eax
mov eax, DWORD PTR proxy_read_query[rip]
mov DWORD PTR 24[rdi], eax
mov eax, DWORD PTR proxy_read_query_result[rip]
mov DWORD PTR 20[rdi], eax
mov eax, DWORD PTR proxy_send_query_result[rip]
mov DWORD PTR 16[rdi], eax
mov eax, DWORD PTR proxy_read_local_infile_data[rip]
mov DWORD PTR 12[rdi], eax
mov eax, DWORD PTR proxy_read_local_infile_result[rip]
mov DWORD PTR 8[rdi], eax
mov eax, DWORD PTR proxy_send_local_infile_result[rip]
mov DWORD PTR 4[rdi], eax
mov eax, DWORD PTR proxy_disconnect_client[rip]
mov DWORD PTR [rdi], eax
xor eax, eax
ret
.cfi_endproc
.LFE0:
.size network_mysqld_proxy_connection_init, .-network_mysqld_proxy_connection_init
.globl proxy_send_query_result
.bss
.align 4
.type proxy_send_query_result, @object
.size proxy_send_query_result, 4
proxy_send_query_result:
.zero 4
.globl proxy_send_local_infile_result
.align 4
.type proxy_send_local_infile_result, @object
.size proxy_send_local_infile_result, 4
proxy_send_local_infile_result:
.zero 4
.globl proxy_read_query_result
.align 4
.type proxy_read_query_result, @object
.size proxy_read_query_result, 4
proxy_read_query_result:
.zero 4
.globl proxy_read_query
.align 4
.type proxy_read_query, @object
.size proxy_read_query, 4
proxy_read_query:
.zero 4
.globl proxy_read_local_infile_result
.align 4
.type proxy_read_local_infile_result, @object
.size proxy_read_local_infile_result, 4
proxy_read_local_infile_result:
.zero 4
.globl proxy_read_local_infile_data
.align 4
.type proxy_read_local_infile_data, @object
.size proxy_read_local_infile_data, 4
proxy_read_local_infile_data:
.zero 4
.globl proxy_read_handshake
.align 4
.type proxy_read_handshake, @object
.size proxy_read_handshake, 4
proxy_read_handshake:
.zero 4
.globl proxy_read_auth_result
.align 4
.type proxy_read_auth_result, @object
.size proxy_read_auth_result, 4
proxy_read_auth_result:
.zero 4
.globl proxy_read_auth
.align 4
.type proxy_read_auth, @object
.size proxy_read_auth, 4
proxy_read_auth:
.zero 4
.globl proxy_init
.align 4
.type proxy_init, @object
.size proxy_init, 4
proxy_init:
.zero 4
.globl proxy_disconnect_client
.align 4
.type proxy_disconnect_client, @object
.size proxy_disconnect_client, 4
proxy_disconnect_client:
.zero 4
.globl proxy_connect_server
.align 4
.type proxy_connect_server, @object
.size proxy_connect_server, 4
proxy_connect_server:
.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_proxy-plugin.c_network_mysqld_proxy_connection_init.c"
.text
.align 2
.global network_mysqld_proxy_connection_init
.syntax unified
.arm
.fpu softvfp
.type network_mysqld_proxy_connection_init, %function
network_mysqld_proxy_connection_init:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, lr}
ldr r3, .L4
ldr r4, .L4+4
ldr r5, [r3]
ldr r4, [r4]
ldr r3, .L4+8
ldr lr, .L4+12
str r4, [r0, #44]
ldr lr, [lr]
ldr r4, [r3]
ldr ip, .L4+16
ldr r3, .L4+20
ldr ip, [ip]
str lr, [r0, #40]
ldr r1, .L4+24
ldr lr, [r3]
ldr r3, .L4+28
ldr r1, [r1]
str ip, [r0, #36]
ldr r2, .L4+32
ldr ip, [r3]
ldr r3, .L4+36
ldr r2, [r2]
str r1, [r0, #32]
ldr r1, [r3]
ldr r3, .L4+40
str r2, [r0, #28]
ldr r2, [r3]
ldr r3, .L4+44
str r5, [r0, #24]
ldr r3, [r3]
str r4, [r0, #20]
str lr, [r0, #16]
str ip, [r0, #12]
str r1, [r0, #8]
str r2, [r0, #4]
str r3, [r0]
mov r0, #0
pop {r4, r5, pc}
.L5:
.align 2
.L4:
.word proxy_read_query
.word proxy_init
.word proxy_read_query_result
.word proxy_connect_server
.word proxy_read_handshake
.word proxy_send_query_result
.word proxy_read_auth
.word proxy_read_local_infile_data
.word proxy_read_auth_result
.word proxy_read_local_infile_result
.word proxy_send_local_infile_result
.word proxy_disconnect_client
.size network_mysqld_proxy_connection_init, .-network_mysqld_proxy_connection_init
.comm proxy_send_query_result,4,4
.comm proxy_send_local_infile_result,4,4
.comm proxy_read_query_result,4,4
.comm proxy_read_query,4,4
.comm proxy_read_local_infile_result,4,4
.comm proxy_read_local_infile_data,4,4
.comm proxy_read_handshake,4,4
.comm proxy_read_auth_result,4,4
.comm proxy_read_auth,4,4
.comm proxy_init,4,4
.comm proxy_disconnect_client,4,4
.comm proxy_connect_server,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
| anghabench |
.file "extr_proxy-plugin.c_rw_split.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "MASTER"
.text
.p2align 4
.globl rw_split
.type rw_split, @function
rw_split:
.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
cmp DWORD PTR [rdi], 1
jle .L4
mov rax, QWORD PTR 8[rdi]
mov rbx, rdi
mov rax, QWORD PTR 8[rax]
mov rdx, QWORD PTR [rax]
cmp QWORD PTR TK_COMMENT[rip], rdx
je .L3
.L7:
mov edi, DWORD PTR 0[rbp]
call g_hash_table_size@PLT
test rax, rax
jle .L12
.L4:
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
mov rdi, rbp
pop rbx
.cfi_def_cfa_offset 16
pop rbp
.cfi_def_cfa_offset 8
jmp idle_rw@PLT
.p2align 4,,10
.p2align 3
.L12:
.cfi_restore_state
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
mov rdi, rbp
pop rbx
.cfi_def_cfa_offset 16
pop rbp
.cfi_def_cfa_offset 8
jmp wrr_ro@PLT
.p2align 4,,10
.p2align 3
.L3:
.cfi_restore_state
mov rax, QWORD PTR 8[rax]
lea rsi, .LC0[rip]
mov edi, DWORD PTR [rax]
call strcasecmp@PLT
test rax, rax
je .L4
cmp DWORD PTR [rbx], 1
jg .L7
add rsp, 8
.cfi_def_cfa_offset 24
mov rdi, rbp
pop rbx
.cfi_def_cfa_offset 16
pop rbp
.cfi_def_cfa_offset 8
jmp idle_rw@PLT
.cfi_endproc
.LFE0:
.size rw_split, .-rw_split
.globl TK_COMMENT
.bss
.align 8
.type TK_COMMENT, @object
.size TK_COMMENT, 8
TK_COMMENT:
.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_proxy-plugin.c_rw_split.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "MASTER\000"
.text
.align 2
.global rw_split
.syntax unified
.arm
.fpu softvfp
.type rw_split, %function
rw_split:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
ldr r3, [r0]
push {r4, r5, r6, lr}
cmp r3, #1
mov r5, r1
ble .L4
ldr r3, [r0, #4]
ldr r2, .L13
ldr r3, [r3, #4]
ldr r1, [r2]
ldr r2, [r3]
mov r4, r0
cmp r1, r2
beq .L3
.L7:
ldr r0, [r5]
bl g_hash_table_size
cmp r0, #0
ble .L12
.L4:
mov r0, r5
pop {r4, r5, r6, lr}
b idle_rw
.L12:
mov r0, r5
pop {r4, r5, r6, lr}
b wrr_ro
.L3:
ldr r3, [r3, #4]
ldr r1, .L13+4
ldr r0, [r3]
bl strcasecmp
cmp r0, #0
beq .L4
ldr r3, [r4]
cmp r3, #1
bgt .L7
mov r0, r5
pop {r4, r5, r6, lr}
b idle_rw
.L14:
.align 2
.L13:
.word TK_COMMENT
.word .LC0
.size rw_split, .-rw_split
.comm TK_COMMENT,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
| anghabench |
.file "extr_proxy-plugin.c_sql_is_write.c"
.intel_syntax noprefix
.text
.p2align 4
.globl sql_is_write
.type sql_is_write, @function
sql_is_write:
.LFB0:
.cfi_startproc
endbr64
mov esi, DWORD PTR [rdi]
mov eax, DWORD PTR TRUE[rip]
cmp esi, 1
jg .L14
.L1:
ret
.p2align 4,,10
.p2align 3
.L14:
mov rdi, QWORD PTR 8[rdi]
mov rcx, QWORD PTR TK_COMMENT[rip]
mov rax, QWORD PTR 8[rdi]
mov rdx, QWORD PTR [rax]
cmp rdx, rcx
jne .L3
cmp esi, 2
je .L3
lea edx, -3[rsi]
lea rax, 16[rdi]
lea rsi, 24[rdi+rdx*8]
jmp .L4
.p2align 4,,10
.p2align 3
.L15:
add rax, 8
cmp rax, rsi
je .L3
.L4:
mov rdx, QWORD PTR [rax]
mov rdx, QWORD PTR [rdx]
cmp rdx, rcx
je .L15
.L3:
xor eax, eax
cmp QWORD PTR TK_SQL_SELECT[rip], rdx
je .L1
cmp QWORD PTR TK_SQL_USE[rip], rdx
je .L1
cmp QWORD PTR TK_SQL_DESC[rip], rdx
je .L1
xor eax, eax
cmp QWORD PTR TK_SQL_EXPLAIN[rip], rdx
setne al
ret
.cfi_endproc
.LFE0:
.size sql_is_write, .-sql_is_write
.globl TRUE
.bss
.align 4
.type TRUE, @object
.size TRUE, 4
TRUE:
.zero 4
.globl TK_SQL_USE
.align 8
.type TK_SQL_USE, @object
.size TK_SQL_USE, 8
TK_SQL_USE:
.zero 8
.globl TK_SQL_SELECT
.align 8
.type TK_SQL_SELECT, @object
.size TK_SQL_SELECT, 8
TK_SQL_SELECT:
.zero 8
.globl TK_SQL_EXPLAIN
.align 8
.type TK_SQL_EXPLAIN, @object
.size TK_SQL_EXPLAIN, 8
TK_SQL_EXPLAIN:
.zero 8
.globl TK_SQL_DESC
.align 8
.type TK_SQL_DESC, @object
.size TK_SQL_DESC, 8
TK_SQL_DESC:
.zero 8
.globl TK_COMMENT
.align 8
.type TK_COMMENT, @object
.size TK_COMMENT, 8
TK_COMMENT:
.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_proxy-plugin.c_sql_is_write.c"
.text
.align 2
.global sql_is_write
.syntax unified
.arm
.fpu softvfp
.type sql_is_write, %function
sql_is_write:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
ldr ip, [r0]
cmp ip, #1
bgt .L18
ldr r3, .L20
ldr r0, [r3]
bx lr
.L18:
ldr r3, [r0, #4]
ldr r1, .L20+4
ldr r2, [r3, #4]
str lr, [sp, #-4]!
ldr r0, [r2]
ldr lr, [r1]
cmp r0, lr
bne .L3
cmp ip, #2
beq .L3
mov r2, #2
add r3, r3, #8
b .L4
.L19:
cmp ip, r2
beq .L3
.L4:
ldr r1, [r3]
add r2, r2, #1
ldr r0, [r1]
add r3, r3, #4
cmp r0, lr
beq .L19
.L3:
ldr r3, .L20+8
ldr r3, [r3]
cmp r3, r0
beq .L8
ldr r3, .L20+12
ldr r3, [r3]
cmp r3, r0
beq .L8
ldr r3, .L20+16
ldr r3, [r3]
cmp r3, r0
beq .L8
ldr r3, .L20+20
ldr r3, [r3]
subs r0, r3, r0
movne r0, #1
ldr pc, [sp], #4
.L8:
mov r0, #0
ldr pc, [sp], #4
.L21:
.align 2
.L20:
.word TRUE
.word TK_COMMENT
.word TK_SQL_SELECT
.word TK_SQL_USE
.word TK_SQL_DESC
.word TK_SQL_EXPLAIN
.size sql_is_write, .-sql_is_write
.comm TRUE,4,4
.comm TK_SQL_USE,4,4
.comm TK_SQL_SELECT,4,4
.comm TK_SQL_EXPLAIN,4,4
.comm TK_SQL_DESC,4,4
.comm TK_COMMENT,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
| anghabench |
.file "extr_proxy-plugin.c_string_free.c"
.intel_syntax noprefix
.text
.p2align 4
.globl string_free
.type string_free, @function
string_free:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
mov esi, DWORD PTR TRUE[rip]
call g_string_free@PLT
add rsp, 8
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size string_free, .-string_free
.globl TRUE
.bss
.align 4
.type TRUE, @object
.size TRUE, 4
TRUE:
.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_proxy-plugin.c_string_free.c"
.text
.align 2
.global string_free
.syntax unified
.arm
.fpu softvfp
.type string_free, %function
string_free:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr r3, .L3
ldr r1, [r3]
b g_string_free
.L4:
.align 2
.L3:
.word TRUE
.size string_free, .-string_free
.comm TRUE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
| anghabench |
.file "extr_proxy-plugin.c_wrr_ro.c"
.intel_syntax noprefix
.text
.p2align 4
.globl wrr_ro
.type wrr_ro, @function
wrr_ro:
.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, 40
.cfi_def_cfa_offset 96
mov rax, QWORD PTR [rdi]
mov r14, QWORD PTR [rax]
mov rbx, QWORD PTR [r14]
mov rdi, r14
mov QWORD PTR 24[rsp], rbx
call network_backends_count@PLT
mov r12, QWORD PTR [rbx]
mov r13, rax
test r12, r12
jne .L2
test rax, rax
jle .L3
.p2align 4,,10
.p2align 3
.L5:
mov rsi, r12
mov rdi, r14
call network_backends_get@PLT
test rax, rax
je .L4
mov rsi, QWORD PTR 24[rsp]
mov rax, QWORD PTR [rax]
cmp QWORD PTR [rsi], rax
jge .L4
mov QWORD PTR [rsi], rax
mov QWORD PTR 8[rsi], rax
.L4:
add r12, 1
cmp r13, r12
jne .L5
mov rax, QWORD PTR 24[rsp]
mov r12, QWORD PTR [rax]
mov rbp, QWORD PTR 8[rax]
mov r15, QWORD PTR 16[rax]
jmp .L14
.p2align 4,,10
.p2align 3
.L2:
mov rax, QWORD PTR 24[rsp]
mov rbp, QWORD PTR 8[rax]
mov r15, QWORD PTR 16[rax]
test r13, r13
jle .L28
.L14:
lea rax, -1[r13]
xor ebx, ebx
mov QWORD PTR 16[rsp], rax
jmp .L13
.p2align 4,,10
.p2align 3
.L31:
xor r15d, r15d
sub rbp, 1
cmove rbp, r12
cmp eax, -1
jne .L7
.L32:
add rbx, 1
cmp r13, rbx
jle .L7
.L13:
mov rsi, r15
mov rdi, r14
call network_backends_get@PLT
test rax, rax
je .L10
mov rdi, rax
mov QWORD PTR 8[rsp], rax
call chassis_event_thread_pool@PLT
test rax, rax
je .L10
mov rdx, QWORD PTR 8[rsp]
mov rax, QWORD PTR BACKEND_TYPE_RO[rip]
cmp QWORD PTR 8[rdx], rax
je .L30
.L10:
mov eax, -1
.L9:
cmp QWORD PTR 16[rsp], r15
jle .L31
add r15, 1
cmp eax, -1
je .L32
.L7:
mov rcx, QWORD PTR 24[rsp]
mov QWORD PTR 8[rcx], rbp
mov QWORD PTR 16[rcx], r15
add rsp, 40
.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
.L30:
.cfi_restore_state
cmp QWORD PTR [rdx], rbp
jl .L10
mov rax, QWORD PTR BACKEND_STATE_UP[rip]
cmp QWORD PTR 16[rdx], rax
jne .L10
mov eax, r15d
jmp .L9
.L3:
mov rax, QWORD PTR 24[rsp]
mov rbp, QWORD PTR 8[rax]
mov r15, QWORD PTR 16[rax]
.L28:
mov eax, -1
jmp .L7
.cfi_endproc
.LFE0:
.size wrr_ro, .-wrr_ro
.globl BACKEND_TYPE_RO
.bss
.align 8
.type BACKEND_TYPE_RO, @object
.size BACKEND_TYPE_RO, 8
BACKEND_TYPE_RO:
.zero 8
.globl BACKEND_STATE_UP
.align 8
.type BACKEND_STATE_UP, @object
.size BACKEND_STATE_UP, 8
BACKEND_STATE_UP:
.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_proxy-plugin.c_wrr_ro.c"
.text
.align 2
.global wrr_ro
.syntax unified
.arm
.fpu softvfp
.type wrr_ro, %function
wrr_ro:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, r9, r10, fp, lr}
ldr r3, [r0]
sub sp, sp, #12
ldr r8, [r3]
mov r0, r8
ldr r9, [r8]
bl network_backends_count
ldr r6, [r9]
mov r7, r0
cmp r6, #0
bne .L2
cmp r0, #0
ble .L3
.L5:
mov r1, r6
mov r0, r8
bl network_backends_get
cmp r0, #0
add r6, r6, #1
beq .L4
ldr r3, [r0]
ldr r2, [r9]
cmp r2, r3
strlt r3, [r9]
strlt r3, [r9, #4]
.L4:
cmp r7, r6
bne .L5
ldmib r9, {r5, r10}
ldr r6, [r9]
b .L13
.L2:
cmp r0, #0
ldmib r9, {r5, r10}
ble .L14
.L13:
sub r3, r7, #1
mov r4, #0
str r3, [sp, #4]
b .L12
.L8:
mvn r0, #0
.L9:
ldr r3, [sp, #4]
cmp r3, r10
addgt r10, r10, #1
bgt .L11
subs r5, r5, #1
moveq r10, r5
movne r10, #0
moveq r5, r6
.L11:
cmn r0, #1
bne .L7
add r4, r4, #1
cmp r7, r4
ble .L7
.L12:
mov r1, r10
mov r0, r8
bl network_backends_get
subs fp, r0, #0
beq .L8
bl chassis_event_thread_pool
cmp r0, #0
beq .L8
ldr r3, .L32
ldr r0, [fp, #4]
ldr r2, [r3]
cmp r0, r2
bne .L8
ldr r2, [fp]
cmp r2, r5
blt .L8
ldr r3, .L32+4
ldr r2, [fp, #8]
ldr r3, [r3]
cmp r2, r3
moveq r0, r10
bne .L8
b .L9
.L14:
mvn r0, #0
.L7:
stmib r9, {r5, r10}
add sp, sp, #12
@ sp needed
pop {r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L3:
mvn r0, #0
ldmib r9, {r5, r10}
b .L7
.L33:
.align 2
.L32:
.word BACKEND_TYPE_RO
.word BACKEND_STATE_UP
.size wrr_ro, .-wrr_ro
.comm BACKEND_TYPE_RO,4,4
.comm BACKEND_STATE_UP,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
| anghabench |
.file "extr_replicant-plugin.c_network_mysqld_replicant_plugin_free.c"
.intel_syntax noprefix
.text
.p2align 4
.globl network_mysqld_replicant_plugin_free
.type network_mysqld_replicant_plugin_free, @function
network_mysqld_replicant_plugin_free:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rdi
mov rdi, QWORD PTR 24[rdi]
test rdi, rdi
je .L2
call g_free@PLT
.L2:
mov rdi, QWORD PTR 16[rbp]
test rdi, rdi
je .L3
call g_free@PLT
.L3:
mov rdi, QWORD PTR 8[rbp]
test rdi, rdi
je .L4
call g_free@PLT
.L4:
mov rdi, QWORD PTR 0[rbp]
test rdi, rdi
jne .L20
mov rdi, rbp
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 8
jmp g_free@PLT
.p2align 4,,10
.p2align 3
.L20:
.cfi_restore_state
call g_strfreev@PLT
mov rdi, rbp
pop rbp
.cfi_def_cfa_offset 8
jmp g_free@PLT
.cfi_endproc
.LFE0:
.size network_mysqld_replicant_plugin_free, .-network_mysqld_replicant_plugin_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_replicant-plugin.c_network_mysqld_replicant_plugin_free.c"
.text
.align 2
.global network_mysqld_replicant_plugin_free
.syntax unified
.arm
.fpu softvfp
.type network_mysqld_replicant_plugin_free, %function
network_mysqld_replicant_plugin_free:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
mov r4, r0
ldr r0, [r0, #12]
cmp r0, #0
beq .L2
bl g_free
.L2:
ldr r0, [r4, #8]
cmp r0, #0
beq .L3
bl g_free
.L3:
ldr r0, [r4, #4]
cmp r0, #0
beq .L4
bl g_free
.L4:
ldr r0, [r4]
cmp r0, #0
bne .L20
mov r0, r4
pop {r4, lr}
b g_free
.L20:
bl g_strfreev
mov r0, r4
pop {r4, lr}
b g_free
.size network_mysqld_replicant_plugin_free, .-network_mysqld_replicant_plugin_free
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
| anghabench |
.file "extr_replicant-plugin.c_plugin_con_state_free.c"
.intel_syntax noprefix
.text
.p2align 4
.type plugin_con_state_free, @function
plugin_con_state_free:
.LFB0:
.cfi_startproc
endbr64
test rdi, rdi
je .L1
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rdi
mov rdi, QWORD PTR [rdi]
test rdi, rdi
je .L3
call g_free@PLT
.L3:
mov rdi, rbp
pop rbp
.cfi_restore 6
.cfi_def_cfa_offset 8
jmp g_free@PLT
.p2align 4,,10
.p2align 3
.L1:
ret
.cfi_endproc
.LFE0:
.size plugin_con_state_free, .-plugin_con_state_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_replicant-plugin.c_plugin_con_state_free.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type plugin_con_state_free, %function
plugin_con_state_free:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
subs r4, r0, #0
popeq {r4, pc}
ldr r0, [r4]
cmp r0, #0
beq .L3
bl g_free
.L3:
mov r0, r4
pop {r4, lr}
b g_free
.size plugin_con_state_free, .-plugin_con_state_free
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
| anghabench |
.file "extr_chassis-event-thread.c_chassis_event_thread_free.c"
.intel_syntax noprefix
.text
.p2align 4
.globl chassis_event_thread_free
.type chassis_event_thread_free, @function
chassis_event_thread_free:
.LFB0:
.cfi_startproc
endbr64
test rdi, rdi
je .L1
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rdi
mov rdi, QWORD PTR 24[rdi]
test rdi, rdi
je .L3
call g_thread_join@PLT
.L3:
cmp DWORD PTR 0[rbp], -1
jne .L22
mov edi, DWORD PTR 4[rbp]
cmp edi, -1
jne .L23
.L5:
cmp QWORD PTR 24[rbp], 0
je .L7
mov rdi, QWORD PTR 16[rbp]
test rdi, rdi
je .L7
call event_base_free@PLT
mov edi, DWORD PTR 8[rbp]
call g_async_queue_try_pop@PLT
mov rdi, rax
test rax, rax
je .L24
.p2align 4,,10
.p2align 3
.L8:
call network_mysqld_con_free@PLT
.L7:
mov edi, DWORD PTR 8[rbp]
call g_async_queue_try_pop@PLT
mov rdi, rax
test rax, rax
jne .L8
.L24:
mov edi, DWORD PTR 8[rbp]
call g_async_queue_unref@PLT
mov rdi, rbp
pop rbp
.cfi_remember_state
.cfi_restore 6
.cfi_def_cfa_offset 8
jmp g_free@PLT
.p2align 4,,10
.p2align 3
.L23:
.cfi_restore_state
call closesocket@PLT
jmp .L5
.p2align 4,,10
.p2align 3
.L22:
lea rdi, 32[rbp]
call event_del@PLT
mov edi, DWORD PTR 0[rbp]
call closesocket@PLT
mov edi, DWORD PTR 4[rbp]
cmp edi, -1
je .L5
jmp .L23
.p2align 4,,10
.p2align 3
.L1:
.cfi_def_cfa_offset 8
.cfi_restore 6
ret
.cfi_endproc
.LFE0:
.size chassis_event_thread_free, .-chassis_event_thread_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_chassis-event-thread.c_chassis_event_thread_free.c"
.text
.align 2
.global chassis_event_thread_free
.syntax unified
.arm
.fpu softvfp
.type chassis_event_thread_free, %function
chassis_event_thread_free:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
subs r4, r0, #0
popeq {r4, pc}
ldr r0, [r4, #16]
cmp r0, #0
beq .L3
bl g_thread_join
.L3:
ldr r3, [r4]
cmn r3, #1
bne .L26
ldr r0, [r4, #4]
cmn r0, #1
bne .L27
.L5:
ldr r3, [r4, #16]
cmp r3, #0
beq .L7
ldr r0, [r4, #12]
cmp r0, #0
beq .L7
bl event_base_free
ldr r0, [r4, #8]
bl g_async_queue_try_pop
cmp r0, #0
beq .L28
.L8:
bl network_mysqld_con_free
.L7:
ldr r0, [r4, #8]
bl g_async_queue_try_pop
cmp r0, #0
bne .L8
.L28:
ldr r0, [r4, #8]
bl g_async_queue_unref
mov r0, r4
pop {r4, lr}
b g_free
.L27:
bl closesocket
b .L5
.L26:
add r0, r4, #20
bl event_del
ldr r0, [r4]
bl closesocket
ldr r0, [r4, #4]
cmn r0, #1
beq .L5
b .L27
.size chassis_event_thread_free, .-chassis_event_thread_free
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
| anghabench |
.file "extr_chassis-event-thread.c_chassis_event_thread_loop.c"
.intel_syntax noprefix
.text
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC0:
.string "%s: leaving chassis_event_thread_loop early, errno != EINTR was: %s (%d)"
.text
.p2align 4
.globl chassis_event_thread_loop
.type chassis_event_thread_loop, @function
chassis_event_thread_loop:
.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
push rbx
.cfi_def_cfa_offset 32
.cfi_offset 3, -32
mov rbx, rdi
sub rsp, 32
.cfi_def_cfa_offset 64
mov edi, DWORD PTR 4[rdi]
mov rax, QWORD PTR fs:40
mov QWORD PTR 24[rsp], rax
xor eax, eax
mov rbp, rsp
call GUINT_TO_POINTER@PLT
lea rdi, tls_index[rip]
mov esi, eax
call g_private_set@PLT
.L2:
xor eax, eax
call chassis_is_shutdown@PLT
test eax, eax
jne .L5
mov edi, DWORD PTR [rbx]
mov rsi, rbp
mov DWORD PTR [rsp], 1
mov QWORD PTR 8[rsp], 0
call event_base_loopexit@PLT
xor edi, edi
test rax, rax
sete dil
call g_assert@PLT
mov edi, DWORD PTR [rbx]
call event_base_dispatch@PLT
cmp eax, -1
jne .L2
mov r12, QWORD PTR errno[rip]
cmp r12, QWORD PTR EINTR[rip]
je .L2
mov rdi, r12
call g_strerror@PLT
mov esi, DWORD PTR G_STRLOC[rip]
mov rcx, r12
lea rdi, .LC0[rip]
mov edx, eax
call g_critical@PLT
.L5:
mov rax, QWORD PTR 24[rsp]
sub rax, QWORD PTR fs:40
jne .L10
add rsp, 32
.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
.L10:
.cfi_restore_state
call __stack_chk_fail@PLT
.cfi_endproc
.LFE0:
.size chassis_event_thread_loop, .-chassis_event_thread_loop
.globl tls_index
.bss
.align 4
.type tls_index, @object
.size tls_index, 4
tls_index:
.zero 4
.globl errno
.align 8
.type errno, @object
.size errno, 8
errno:
.zero 8
.globl G_STRLOC
.align 4
.type G_STRLOC, @object
.size G_STRLOC, 4
G_STRLOC:
.zero 4
.globl EINTR
.align 8
.type EINTR, @object
.size EINTR, 8
EINTR:
.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_chassis-event-thread.c_chassis_event_thread_loop.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "%s: leaving chassis_event_thread_loop early, errno "
.ascii "!= EINTR was: %s (%d)\000"
.section .rodata.cst4,"aM",%progbits,4
.align 2
.LC1:
.word __stack_chk_guard
.text
.align 2
.global chassis_event_thread_loop
.syntax unified
.arm
.fpu softvfp
.type chassis_event_thread_loop, %function
chassis_event_thread_loop:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, lr}
ldr r3, .L11
sub sp, sp, #20
mov r4, r0
ldr r0, [r0, #4]
ldr r3, [r3]
str r3, [sp, #12]
mov r3,#0
bl GUINT_TO_POINTER
mov r1, r0
ldr r0, .L11+4
bl g_private_set
mov r5, #1
ldr r6, .L11+8
ldr r7, .L11+12
.L2:
bl chassis_is_shutdown
subs r3, r0, #0
bne .L5
add r1, sp, #4
ldr r0, [r4]
str r3, [sp, #8]
str r5, [sp, #4]
bl event_base_loopexit
clz r0, r0
lsr r0, r0, #5
bl g_assert
ldr r0, [r4]
bl event_base_dispatch
cmn r0, #1
bne .L2
ldr r0, [r6]
ldr r3, [r7]
cmp r0, r3
beq .L2
ldr r3, .L11+16
ldr r4, [r3]
bl g_strerror
mov r1, r4
mov r2, r0
ldr r3, [r6]
ldr r0, .L11+20
bl g_critical
.L5:
ldr r3, .L11
ldr r2, [r3]
ldr r3, [sp, #12]
eors r2, r3, r2
mov r3, #0
bne .L10
mov r0, #0
add sp, sp, #20
@ sp needed
pop {r4, r5, r6, r7, pc}
.L10:
bl __stack_chk_fail
.L12:
.align 2
.L11:
.word .LC1
.word tls_index
.word errno
.word EINTR
.word G_STRLOC
.word .LC0
.size chassis_event_thread_loop, .-chassis_event_thread_loop
.comm tls_index,4,4
.comm errno,4,4
.comm G_STRLOC,4,4
.comm EINTR,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
| anghabench |
.file "extr_chassis-event-thread.c_chassis_event_thread_pool.c"
.intel_syntax noprefix
.text
.p2align 4
.globl chassis_event_thread_pool
.type chassis_event_thread_pool, @function
chassis_event_thread_pool:
.LFB0:
.cfi_startproc
endbr64
push rbx
.cfi_def_cfa_offset 16
.cfi_offset 3, -16
mov rbx, rdi
lea rdi, tls_index[rip]
call g_private_get@PLT
mov edi, eax
call GPOINTER_TO_UINT@PLT
mov edi, DWORD PTR [rbx]
pop rbx
.cfi_def_cfa_offset 8
mov esi, eax
jmp g_ptr_array_index@PLT
.cfi_endproc
.LFE0:
.size chassis_event_thread_pool, .-chassis_event_thread_pool
.globl tls_index
.bss
.align 4
.type tls_index, @object
.size tls_index, 4
tls_index:
.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_chassis-event-thread.c_chassis_event_thread_pool.c"
.text
.align 2
.global chassis_event_thread_pool
.syntax unified
.arm
.fpu softvfp
.type chassis_event_thread_pool, %function
chassis_event_thread_pool:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
mov r4, r0
ldr r0, .L4
bl g_private_get
bl GPOINTER_TO_UINT
mov r1, r0
ldr r0, [r4]
pop {r4, lr}
b g_ptr_array_index
.L5:
.align 2
.L4:
.word tls_index
.size chassis_event_thread_pool, .-chassis_event_thread_pool
.comm tls_index,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
| anghabench |
.file "extr_chassis-event-thread.c_chassis_event_threads_init_thread.c"
.intel_syntax noprefix
.text
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC0:
.string "%s: evutil_socketpair() failed: %s (%d)"
.text
.p2align 4
.globl chassis_event_threads_init_thread
.type chassis_event_threads_init_thread, @function
chassis_event_threads_init_thread:
.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, rsi
push rbx
.cfi_def_cfa_offset 32
.cfi_offset 3, -32
mov rbx, rdi
sub rsp, 16
.cfi_def_cfa_offset 48
mov rax, QWORD PTR fs:40
mov QWORD PTR 8[rsp], rax
xor eax, eax
call event_base_new@PLT
mov QWORD PTR 16[rbx], rbp
mov rdi, rsp
mov DWORD PTR 12[rbx], eax
call pipe@PLT
test rax, rax
jne .L9
.L2:
mov rax, QWORD PTR [rsp]
lea rbp, 8[rbx]
mov esi, DWORD PTR [rsp]
mov r8, rbx
mov rdi, rbp
mov QWORD PTR [rbx], rax
mov ecx, DWORD PTR chassis_event_handle[rip]
mov edx, DWORD PTR EV_READ[rip]
or edx, DWORD PTR EV_PERSIST[rip]
call event_set@PLT
mov edi, DWORD PTR 12[rbx]
mov rsi, rbp
call event_base_set@PLT
xor esi, esi
mov rdi, rbp
call event_add@PLT
mov rax, QWORD PTR 8[rsp]
sub rax, QWORD PTR fs:40
jne .L10
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
.p2align 4,,10
.p2align 3
.L9:
.cfi_restore_state
mov r12d, DWORD PTR errno[rip]
mov edi, r12d
call g_strerror@PLT
mov esi, DWORD PTR G_STRLOC[rip]
mov ecx, r12d
lea rdi, .LC0[rip]
mov edx, eax
call g_error@PLT
jmp .L2
.L10:
call __stack_chk_fail@PLT
.cfi_endproc
.LFE0:
.size chassis_event_threads_init_thread, .-chassis_event_threads_init_thread
.globl errno
.bss
.align 4
.type errno, @object
.size errno, 4
errno:
.zero 4
.globl chassis_event_handle
.align 4
.type chassis_event_handle, @object
.size chassis_event_handle, 4
chassis_event_handle:
.zero 4
.globl G_STRLOC
.align 4
.type G_STRLOC, @object
.size G_STRLOC, 4
G_STRLOC:
.zero 4
.globl EV_READ
.align 4
.type EV_READ, @object
.size EV_READ, 4
EV_READ:
.zero 4
.globl EV_PERSIST
.align 4
.type EV_PERSIST, @object
.size EV_PERSIST, 4
EV_PERSIST:
.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_chassis-event-thread.c_chassis_event_threads_init_thread.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "%s: evutil_socketpair() failed: %s (%d)\000"
.section .rodata.cst4,"aM",%progbits,4
.align 2
.LC1:
.word __stack_chk_guard
.text
.align 2
.global chassis_event_threads_init_thread
.syntax unified
.arm
.fpu softvfp
.type chassis_event_threads_init_thread, %function
chassis_event_threads_init_thread:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
ldr r3, .L11
sub sp, sp, #24
mov r4, r0
mov r5, r1
ldr r3, [r3]
str r3, [sp, #20]
mov r3,#0
bl event_base_new
str r5, [r4, #16]
str r0, [r4, #12]
add r0, sp, #12
bl pipe
cmp r0, #0
bne .L9
.L2:
ldr r2, .L11+4
ldr r3, .L11+8
ldr ip, [r2]
ldr r1, [sp, #12]
ldr r2, [r3]
ldr r0, [sp, #16]
ldr r3, .L11+12
str r4, [sp]
add r5, r4, #8
ldr r3, [r3]
orr r2, ip, r2
str r1, [r4]
str r0, [r4, #4]
mov r0, r5
bl event_set
mov r1, r5
ldr r0, [r4, #12]
bl event_base_set
mov r0, r5
mov r1, #0
bl event_add
ldr r3, .L11
ldr r2, [r3]
ldr r3, [sp, #20]
eors r2, r3, r2
mov r3, #0
bne .L10
mov r0, #0
add sp, sp, #24
@ sp needed
pop {r4, r5, r6, pc}
.L9:
ldr r2, .L11+16
ldr r3, .L11+20
ldr r5, [r2]
ldr r6, [r3]
mov r0, r5
bl g_strerror
mov r3, r5
mov r2, r0
mov r1, r6
ldr r0, .L11+24
bl g_error
b .L2
.L10:
bl __stack_chk_fail
.L12:
.align 2
.L11:
.word .LC1
.word EV_READ
.word EV_PERSIST
.word chassis_event_handle
.word errno
.word G_STRLOC
.word .LC0
.size chassis_event_threads_init_thread, .-chassis_event_threads_init_thread
.comm errno,4,4
.comm chassis_event_handle,4,4
.comm G_STRLOC,4,4
.comm EV_READ,4,4
.comm EV_PERSIST,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
| anghabench |
.file "extr_chassis-event-thread.c_chassis_event_threads_start.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "%s: starting %d threads"
.LC1:
.string "%s: %s"
.text
.p2align 4
.globl chassis_event_threads_start
.type chassis_event_threads_start, @function
chassis_event_threads_start:
.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
mov r12, rdi
push rbp
.cfi_def_cfa_offset 40
.cfi_offset 6, -40
push rbx
.cfi_def_cfa_offset 48
.cfi_offset 3, -48
sub rsp, 16
.cfi_def_cfa_offset 64
mov esi, DWORD PTR G_STRLOC[rip]
mov rax, QWORD PTR fs:40
mov QWORD PTR 8[rsp], rax
mov eax, DWORD PTR [rdi]
lea rdi, .LC0[rip]
lea edx, -1[rax]
call g_message@PLT
movsx rax, DWORD PTR [r12]
cmp rax, 1
jbe .L1
mov ebx, 1
mov r13, rsp
lea r14, .LC1[rip]
.p2align 4,,10
.p2align 3
.L4:
mov rax, QWORD PTR 8[r12]
mov edx, DWORD PTR TRUE[rip]
mov rcx, r13
mov edi, DWORD PTR chassis_event_thread_loop[rip]
mov rbp, QWORD PTR [rax+rbx*8]
mov QWORD PTR [rsp], 0
mov rsi, rbp
call g_thread_create@PLT
mov DWORD PTR 0[rbp], eax
mov rax, QWORD PTR [rsp]
test rax, rax
je .L3
mov edx, DWORD PTR [rax]
mov esi, DWORD PTR G_STRLOC[rip]
mov rdi, r14
call g_critical@PLT
mov rdi, QWORD PTR [rsp]
call g_error_free@PLT
.L3:
movsx rax, DWORD PTR [r12]
add rbx, 1
cmp rax, rbx
ja .L4
.L1:
mov rax, QWORD PTR 8[rsp]
sub rax, QWORD PTR fs:40
jne .L12
add rsp, 16
.cfi_remember_state
.cfi_def_cfa_offset 48
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
.L12:
.cfi_restore_state
call __stack_chk_fail@PLT
.cfi_endproc
.LFE0:
.size chassis_event_threads_start, .-chassis_event_threads_start
.globl chassis_event_thread_loop
.bss
.align 8
.type chassis_event_thread_loop, @object
.size chassis_event_thread_loop, 8
chassis_event_thread_loop:
.zero 8
.globl TRUE
.align 4
.type TRUE, @object
.size TRUE, 4
TRUE:
.zero 4
.globl G_STRLOC
.align 4
.type G_STRLOC, @object
.size G_STRLOC, 4
G_STRLOC:
.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_chassis-event-thread.c_chassis_event_threads_start.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "%s: starting %d threads\000"
.align 2
.LC1:
.ascii "%s: %s\000"
.section .rodata.cst4,"aM",%progbits,4
.align 2
.LC2:
.word __stack_chk_guard
.text
.align 2
.global chassis_event_threads_start
.syntax unified
.arm
.fpu softvfp
.type chassis_event_threads_start, %function
chassis_event_threads_start:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, r9, r10, fp, lr}
mov r6, r0
ldr r2, [r0]
ldr r10, .L13
ldr r3, .L13+4
sub sp, sp, #12
ldr r1, [r10]
ldr r0, .L13+8
sub r2, r2, #1
ldr r3, [r3]
str r3, [sp, #4]
mov r3,#0
bl g_message
ldr r3, [r6]
cmp r3, #1
bls .L1
mov r4, #1
mov r9, #0
ldr r8, .L13+12
ldr r7, .L13+16
ldr fp, .L13+20
.L4:
ldr r2, [r6, #4]
mov r3, sp
ldr r5, [r2, r4, lsl #2]
ldr r0, [r7]
mov r1, r5
ldr r2, [r8]
str r9, [sp]
bl g_thread_create
ldr r3, [sp]
str r0, [r5]
cmp r3, #0
beq .L3
mov r0, fp
ldr r2, [r3]
ldr r1, [r10]
bl g_critical
ldr r0, [sp]
bl g_error_free
.L3:
ldr r3, [r6]
add r4, r4, #1
cmp r3, r4
bhi .L4
.L1:
ldr r3, .L13+4
ldr r2, [r3]
ldr r3, [sp, #4]
eors r2, r3, r2
mov r3, #0
bne .L12
add sp, sp, #12
@ sp needed
pop {r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L12:
bl __stack_chk_fail
.L14:
.align 2
.L13:
.word G_STRLOC
.word .LC2
.word .LC0
.word TRUE
.word chassis_event_thread_loop
.word .LC1
.size chassis_event_threads_start, .-chassis_event_threads_start
.comm chassis_event_thread_loop,4,4
.comm TRUE,4,4
.comm G_STRLOC,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
| anghabench |
.file "extr_chassis-filemode.c_chassis_filemode_check.c"
.intel_syntax noprefix
.text
.p2align 4
.globl chassis_filemode_check
.type chassis_filemode_check, @function
chassis_filemode_check:
.LFB0:
.cfi_startproc
endbr64
mov esi, DWORD PTR CHASSIS_FILEMODE_SECURE_MASK[rip]
xor edx, edx
jmp chassis_filemode_check_full@PLT
.cfi_endproc
.LFE0:
.size chassis_filemode_check, .-chassis_filemode_check
.globl CHASSIS_FILEMODE_SECURE_MASK
.bss
.align 4
.type CHASSIS_FILEMODE_SECURE_MASK, @object
.size CHASSIS_FILEMODE_SECURE_MASK, 4
CHASSIS_FILEMODE_SECURE_MASK:
.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_chassis-filemode.c_chassis_filemode_check.c"
.text
.align 2
.global chassis_filemode_check
.syntax unified
.arm
.fpu softvfp
.type chassis_filemode_check, %function
chassis_filemode_check:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr r3, .L3
mov r2, #0
ldr r1, [r3]
b chassis_filemode_check_full
.L4:
.align 2
.L3:
.word CHASSIS_FILEMODE_SECURE_MASK
.size chassis_filemode_check, .-chassis_filemode_check
.comm CHASSIS_FILEMODE_SECURE_MASK,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
| anghabench |
.file "extr_chassis-filemode.c_chassis_filemode_check_full.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "cannot stat(%s): %s"
.LC1:
.string "%s isn't a regular file"
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC2:
.string "permissions of %s aren't secure (0660 or stricter required)"
.text
.p2align 4
.globl chassis_filemode_check_full
.type chassis_filemode_check_full, @function
chassis_filemode_check_full:
.LFB0:
.cfi_startproc
endbr64
push r13
.cfi_def_cfa_offset 16
.cfi_offset 13, -16
mov r13, rdx
push r12
.cfi_def_cfa_offset 24
.cfi_offset 12, -24
push rbp
.cfi_def_cfa_offset 32
.cfi_offset 6, -32
mov ebp, esi
push rbx
.cfi_def_cfa_offset 40
.cfi_offset 3, -40
mov rbx, rdi
sub rsp, 24
.cfi_def_cfa_offset 64
mov rax, QWORD PTR fs:40
mov QWORD PTR 8[rsp], rax
xor eax, eax
lea rsi, 4[rsp]
call stat@PLT
cmp eax, -1
je .L11
mov r12d, DWORD PTR 4[rsp]
mov eax, DWORD PTR S_IFMT[rip]
and eax, r12d
cmp eax, DWORD PTR S_IFREG[rip]
jne .L12
and r12d, ebp
jne .L13
.L1:
mov rax, QWORD PTR 8[rsp]
sub rax, QWORD PTR fs:40
jne .L14
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
mov edx, DWORD PTR G_FILE_ERROR_INVAL[rip]
mov r8, rbx
mov rdi, r13
xor eax, eax
mov esi, DWORD PTR G_FILE_ERROR[rip]
lea rcx, .LC1[rip]
mov r12d, -1
call g_set_error@PLT
jmp .L1
.p2align 4,,10
.p2align 3
.L13:
mov edx, DWORD PTR G_FILE_ERROR_PERM[rip]
mov r8, rbx
mov rdi, r13
xor eax, eax
mov esi, DWORD PTR G_FILE_ERROR[rip]
lea rcx, .LC2[rip]
mov r12d, 1
call g_set_error@PLT
jmp .L1
.p2align 4,,10
.p2align 3
.L11:
mov edi, DWORD PTR errno[rip]
mov r12d, eax
call g_strerror@PLT
mov edi, DWORD PTR errno[rip]
mov ebp, eax
call g_file_error_from_errno@PLT
mov r9d, ebp
mov r8, rbx
mov rdi, r13
mov esi, DWORD PTR G_FILE_ERROR[rip]
mov edx, eax
lea rcx, .LC0[rip]
xor eax, eax
call g_set_error@PLT
jmp .L1
.L14:
call __stack_chk_fail@PLT
.cfi_endproc
.LFE0:
.size chassis_filemode_check_full, .-chassis_filemode_check_full
.globl errno
.bss
.align 4
.type errno, @object
.size errno, 4
errno:
.zero 4
.globl S_IFREG
.align 4
.type S_IFREG, @object
.size S_IFREG, 4
S_IFREG:
.zero 4
.globl S_IFMT
.align 4
.type S_IFMT, @object
.size S_IFMT, 4
S_IFMT:
.zero 4
.globl G_FILE_ERROR_PERM
.align 4
.type G_FILE_ERROR_PERM, @object
.size G_FILE_ERROR_PERM, 4
G_FILE_ERROR_PERM:
.zero 4
.globl G_FILE_ERROR_INVAL
.align 4
.type G_FILE_ERROR_INVAL, @object
.size G_FILE_ERROR_INVAL, 4
G_FILE_ERROR_INVAL:
.zero 4
.globl G_FILE_ERROR
.align 4
.type G_FILE_ERROR, @object
.size G_FILE_ERROR, 4
G_FILE_ERROR:
.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_chassis-filemode.c_chassis_filemode_check_full.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "cannot stat(%s): %s\000"
.align 2
.LC1:
.ascii "%s isn't a regular file\000"
.align 2
.LC2:
.ascii "permissions of %s aren't secure (0660 or stricter r"
.ascii "equired)\000"
.section .rodata.cst4,"aM",%progbits,4
.align 2
.LC3:
.word __stack_chk_guard
.text
.align 2
.global chassis_filemode_check_full
.syntax unified
.arm
.fpu softvfp
.type chassis_filemode_check_full, %function
chassis_filemode_check_full:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, r9, lr}
ldr r3, .L15
sub sp, sp, #20
mov r5, r1
add r1, sp, #8
mov r6, r2
ldr r3, [r3]
str r3, [sp, #12]
mov r3,#0
mov r7, r0
bl stat
cmn r0, #1
beq .L11
ldr r3, .L15+4
ldr r2, .L15+8
ldr r3, [r3]
ldr r4, [sp, #8]
ldr r2, [r2]
and r3, r3, r4
cmp r3, r2
bne .L12
ands r4, r4, r5
bne .L13
.L1:
ldr r3, .L15
ldr r2, [r3]
ldr r3, [sp, #12]
eors r2, r3, r2
mov r3, #0
bne .L14
mov r0, r4
add sp, sp, #20
@ sp needed
pop {r4, r5, r6, r7, r8, r9, pc}
.L12:
ldr r3, .L15+12
ldr r2, .L15+16
str r7, [sp]
ldr r1, [r3]
mov r0, r6
ldr r2, [r2]
ldr r3, .L15+20
bl g_set_error
mvn r4, #0
b .L1
.L13:
ldr r3, .L15+12
ldr r2, .L15+24
str r7, [sp]
ldr r1, [r3]
mov r0, r6
ldr r2, [r2]
ldr r3, .L15+28
bl g_set_error
mov r4, #1
b .L1
.L11:
ldr r8, .L15+32
ldr r3, .L15+12
mov r4, r0
ldr r0, [r8]
ldr r9, [r3]
bl g_file_error_from_errno
mov r5, r0
ldr r0, [r8]
bl g_strerror
mov r2, r5
str r0, [sp, #4]
mov r1, r9
mov r0, r6
ldr r3, .L15+36
str r7, [sp]
bl g_set_error
b .L1
.L14:
bl __stack_chk_fail
.L16:
.align 2
.L15:
.word .LC3
.word S_IFMT
.word S_IFREG
.word G_FILE_ERROR
.word G_FILE_ERROR_INVAL
.word .LC1
.word G_FILE_ERROR_PERM
.word .LC2
.word errno
.word .LC0
.size chassis_filemode_check_full, .-chassis_filemode_check_full
.comm errno,4,4
.comm S_IFREG,4,4
.comm S_IFMT,4,4
.comm G_FILE_ERROR_PERM,4,4
.comm G_FILE_ERROR_INVAL,4,4
.comm G_FILE_ERROR,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
| anghabench |
.file "extr_chassis-frontend.c_chassis_frontend_get_default_lua_path.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "?.lua"
.LC1:
.string "lua"
.LC2:
.string "lib"
.text
.p2align 4
.globl chassis_frontend_get_default_lua_path
.type chassis_frontend_get_default_lua_path, @function
chassis_frontend_get_default_lua_path:
.LFB0:
.cfi_startproc
endbr64
mov rdx, rsi
xor r9d, r9d
lea r8, .LC0[rip]
lea rcx, .LC1[rip]
lea rsi, .LC2[rip]
jmp g_build_filename@PLT
.cfi_endproc
.LFE0:
.size chassis_frontend_get_default_lua_path, .-chassis_frontend_get_default_lua_path
.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_chassis-frontend.c_chassis_frontend_get_default_lua_path.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "lua\000"
.align 2
.LC1:
.ascii "lib\000"
.align 2
.LC2:
.ascii "?.lua\000"
.text
.align 2
.global chassis_frontend_get_default_lua_path
.syntax unified
.arm
.fpu softvfp
.type chassis_frontend_get_default_lua_path, %function
chassis_frontend_get_default_lua_path:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
mov ip, #0
str lr, [sp, #-4]!
ldr r3, .L4
sub sp, sp, #12
mov r2, r1
stm sp, {r3, ip}
ldr r1, .L4+4
ldr r3, .L4+8
bl g_build_filename
add sp, sp, #12
@ sp needed
ldr pc, [sp], #4
.L5:
.align 2
.L4:
.word .LC2
.word .LC1
.word .LC0
.size chassis_frontend_get_default_lua_path, .-chassis_frontend_get_default_lua_path
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
| anghabench |
.file "extr_chassis-frontend.c_chassis_frontend_init_base_options.c"
.intel_syntax noprefix
.text
.p2align 4
.globl chassis_frontend_init_base_options
.type chassis_frontend_init_base_options, @function
chassis_frontend_init_base_options:
.LFB0:
.cfi_startproc
endbr64
push r15
.cfi_def_cfa_offset 16
.cfi_offset 15, -16
xor eax, eax
mov r15, rdx
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, rcx
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
mov rbx, r9
sub rsp, 24
.cfi_def_cfa_offset 80
mov QWORD PTR 8[rsp], r8
call chassis_options_new@PLT
mov rdx, QWORD PTR 8[rsp]
mov rsi, r13
mov r12, rax
mov rdi, rax
call chassis_options_set_cmdline_only_options@PLT
mov rdi, r12
call chassis_options_to_g_option_entries@PLT
xor edx, edx
mov rdi, rbp
mov rsi, rax
mov r13, rax
call g_option_context_add_main_entries@PLT
mov rsi, QWORD PTR FALSE[rip]
mov rdi, rbp
call g_option_context_set_help_enabled@PLT
mov esi, DWORD PTR TRUE[rip]
mov rdi, rbp
call g_option_context_set_ignore_unknown_options@PLT
mov rcx, rbx
mov rdx, r15
mov rsi, r14
mov rdi, rbp
xor r14d, r14d
call g_option_context_parse@PLT
mov rdi, r13
cmp QWORD PTR FALSE[rip], rax
sete r14b
call g_free@PLT
mov rdi, r12
neg r14d
call chassis_options_free@PLT
add rsp, 24
.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
.cfi_endproc
.LFE0:
.size chassis_frontend_init_base_options, .-chassis_frontend_init_base_options
.globl TRUE
.bss
.align 4
.type TRUE, @object
.size TRUE, 4
TRUE:
.zero 4
.globl FALSE
.align 8
.type FALSE, @object
.size FALSE, 8
FALSE:
.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_chassis-frontend.c_chassis_frontend_init_base_options.c"
.text
.align 2
.global chassis_frontend_init_base_options
.syntax unified
.arm
.fpu softvfp
.type chassis_frontend_init_base_options, %function
chassis_frontend_init_base_options:
@ args = 8, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, r9, r10, lr}
mov r6, r3
mov r4, r0
mov r7, r1
mov r8, r2
bl chassis_options_new
mov r5, r0
mov r1, r6
ldr r2, [sp, #32]
bl chassis_options_set_cmdline_only_options
mov r0, r5
bl chassis_options_to_g_option_entries
ldr r9, .L4
mov r2, #0
mov r6, r0
mov r1, r0
mov r0, r4
bl g_option_context_add_main_entries
ldr r1, [r9]
mov r0, r4
bl g_option_context_set_help_enabled
ldr r3, .L4+4
mov r0, r4
ldr r1, [r3]
bl g_option_context_set_ignore_unknown_options
mov r2, r8
mov r1, r7
ldr r3, [sp, #36]
mov r0, r4
bl g_option_context_parse
mov r3, r0
ldr r4, [r9]
mov r0, r6
cmp r4, r3
movne r4, #0
mvneq r4, #0
bl g_free
mov r0, r5
bl chassis_options_free
mov r0, r4
pop {r4, r5, r6, r7, r8, r9, r10, pc}
.L5:
.align 2
.L4:
.word FALSE
.word TRUE
.size chassis_frontend_init_base_options, .-chassis_frontend_init_base_options
.comm TRUE,4,4
.comm FALSE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
| anghabench |
.file "extr_chassis-frontend.c_chassis_frontend_init_basedir.c"
.intel_syntax noprefix
.text
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC0:
.string "%s: --basedir option must be an absolute path, but was %s"
.align 8
.LC1:
.string "%s: Failed to get base directory"
.text
.p2align 4
.globl chassis_frontend_init_basedir
.type chassis_frontend_init_basedir, @function
chassis_frontend_init_basedir:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
push rbx
.cfi_def_cfa_offset 24
.cfi_offset 3, -24
sub rsp, 8
.cfi_def_cfa_offset 32
mov r12, QWORD PTR [rsi]
test r12, r12
je .L2
mov rdi, r12
call g_path_is_absolute@PLT
test eax, eax
je .L8
xor eax, eax
.L1:
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
pop rbx
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L2:
.cfi_restore_state
mov rbx, rsi
call chassis_get_basedir@PLT
test rax, rax
je .L9
mov QWORD PTR [rbx], rax
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
xor eax, eax
pop rbx
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.L8:
.cfi_restore_state
mov esi, DWORD PTR G_STRLOC[rip]
mov rdx, r12
lea rdi, .LC0[rip]
call g_critical@PLT
mov eax, -1
jmp .L1
.L9:
mov esi, DWORD PTR G_STRLOC[rip]
lea rdi, .LC1[rip]
call g_critical@PLT
or eax, -1
jmp .L1
.cfi_endproc
.LFE0:
.size chassis_frontend_init_basedir, .-chassis_frontend_init_basedir
.globl G_STRLOC
.bss
.align 4
.type G_STRLOC, @object
.size G_STRLOC, 4
G_STRLOC:
.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_chassis-frontend.c_chassis_frontend_init_basedir.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "%s: --basedir option must be an absolute path, but "
.ascii "was %s\000"
.align 2
.LC1:
.ascii "%s: Failed to get base directory\000"
.text
.align 2
.global chassis_frontend_init_basedir
.syntax unified
.arm
.fpu softvfp
.type chassis_frontend_init_basedir, %function
chassis_frontend_init_basedir:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
ldr r4, [r1]
cmp r4, #0
beq .L2
mov r0, r4
bl g_path_is_absolute
cmp r0, #0
beq .L8
mov r0, #0
pop {r4, r5, r6, pc}
.L2:
mov r5, r1
bl chassis_get_basedir
cmp r0, #0
beq .L9
str r0, [r5]
mov r0, r4
pop {r4, r5, r6, pc}
.L8:
ldr r3, .L10
mov r2, r4
ldr r1, [r3]
ldr r0, .L10+4
bl g_critical
mvn r0, #0
pop {r4, r5, r6, pc}
.L9:
ldr r3, .L10
ldr r0, .L10+8
ldr r1, [r3]
bl g_critical
mvn r0, #0
pop {r4, r5, r6, pc}
.L11:
.align 2
.L10:
.word G_STRLOC
.word .LC0
.word .LC1
.size chassis_frontend_init_basedir, .-chassis_frontend_init_basedir
.comm G_STRLOC,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
| anghabench |
.file "extr_chassis-frontend.c_chassis_frontend_init_glib.c"
.intel_syntax noprefix
.text
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC0:
.string "the glib header are too old, need at least 2.6.0, got: %d.%d.%d"
.align 8
.LC1:
.string "%s, got: lib=%d.%d.%d, headers=%d.%d.%d"
.align 8
.LC2:
.string "loading modules is not supported on this platform"
.text
.p2align 4
.globl chassis_frontend_init_glib
.type chassis_frontend_init_glib, @function
chassis_frontend_init_glib:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
xor edx, edx
mov esi, 6
mov edi, 2
call GLIB_CHECK_VERSION@PLT
test eax, eax
je .L8
mov edx, DWORD PTR GLIB_MICRO_VERSION[rip]
mov esi, DWORD PTR GLIB_MINOR_VERSION[rip]
mov edi, DWORD PTR GLIB_MAJOR_VERSION[rip]
call glib_check_version@PLT
test rax, rax
jne .L9
xor eax, eax
call g_module_supported@PLT
test eax, eax
je .L10
xor edi, edi
call g_thread_init@PLT
xor eax, eax
.L1:
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L9:
.cfi_restore_state
mov edx, DWORD PTR GLIB_MICRO_VERSION[rip]
mov r9d, DWORD PTR GLIB_MAJOR_VERSION[rip]
mov rsi, rax
lea rdi, .LC1[rip]
mov r8d, DWORD PTR glib_micro_version[rip]
mov ecx, DWORD PTR glib_minor_version[rip]
xor eax, eax
push rdx
.cfi_def_cfa_offset 24
mov edx, DWORD PTR GLIB_MINOR_VERSION[rip]
push rdx
.cfi_def_cfa_offset 32
mov edx, DWORD PTR glib_major_version[rip]
call g_critical@PLT
pop rax
.cfi_def_cfa_offset 24
mov eax, -1
pop rdx
.cfi_def_cfa_offset 16
jmp .L1
.p2align 4,,10
.p2align 3
.L8:
mov ecx, DWORD PTR GLIB_MICRO_VERSION[rip]
mov edx, DWORD PTR GLIB_MINOR_VERSION[rip]
lea rdi, .LC0[rip]
mov esi, DWORD PTR GLIB_MAJOR_VERSION[rip]
call g_critical@PLT
mov eax, -1
jmp .L1
.p2align 4,,10
.p2align 3
.L10:
lea rdi, .LC2[rip]
call g_critical@PLT
mov eax, -1
jmp .L1
.cfi_endproc
.LFE0:
.size chassis_frontend_init_glib, .-chassis_frontend_init_glib
.globl glib_minor_version
.bss
.align 4
.type glib_minor_version, @object
.size glib_minor_version, 4
glib_minor_version:
.zero 4
.globl glib_micro_version
.align 4
.type glib_micro_version, @object
.size glib_micro_version, 4
glib_micro_version:
.zero 4
.globl glib_mem_profiler_table
.align 4
.type glib_mem_profiler_table, @object
.size glib_mem_profiler_table, 4
glib_mem_profiler_table:
.zero 4
.globl glib_major_version
.align 4
.type glib_major_version, @object
.size glib_major_version, 4
glib_major_version:
.zero 4
.globl GLIB_MINOR_VERSION
.align 4
.type GLIB_MINOR_VERSION, @object
.size GLIB_MINOR_VERSION, 4
GLIB_MINOR_VERSION:
.zero 4
.globl GLIB_MICRO_VERSION
.align 4
.type GLIB_MICRO_VERSION, @object
.size GLIB_MICRO_VERSION, 4
GLIB_MICRO_VERSION:
.zero 4
.globl GLIB_MAJOR_VERSION
.align 4
.type GLIB_MAJOR_VERSION, @object
.size GLIB_MAJOR_VERSION, 4
GLIB_MAJOR_VERSION:
.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_chassis-frontend.c_chassis_frontend_init_glib.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "the glib header are too old, need at least 2.6.0, g"
.ascii "ot: %d.%d.%d\000"
.align 2
.LC1:
.ascii "%s, got: lib=%d.%d.%d, headers=%d.%d.%d\000"
.align 2
.LC2:
.ascii "loading modules is not supported on this platform\000"
.text
.align 2
.global chassis_frontend_init_glib
.syntax unified
.arm
.fpu softvfp
.type chassis_frontend_init_glib, %function
chassis_frontend_init_glib:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, lr}
mov r2, #0
mov r1, #6
mov r0, #2
sub sp, sp, #20
bl GLIB_CHECK_VERSION
cmp r0, #0
beq .L8
ldr r7, .L11
ldr r6, .L11+4
ldr r5, .L11+8
ldr r2, [r7]
ldr r1, [r6]
ldr r0, [r5]
bl glib_check_version
subs r4, r0, #0
bne .L9
bl g_module_supported
cmp r0, #0
beq .L10
mov r0, r4
bl g_thread_init
mov r0, r4
.L1:
add sp, sp, #20
@ sp needed
pop {r4, r5, r6, r7, pc}
.L9:
ldr r1, [r5]
ldr r3, .L11+12
ldr ip, [r6]
ldr r2, [r7]
ldr r0, [r3]
stmib sp, {r1, ip}
str r2, [sp, #12]
ldr r3, .L11+16
ldr r2, .L11+20
str r0, [sp]
mov r1, r4
ldr r3, [r3]
ldr r2, [r2]
ldr r0, .L11+24
bl g_critical
mvn r0, #0
b .L1
.L8:
ldr r3, .L11
ldr r2, .L11+4
ldr r1, .L11+8
ldr r3, [r3]
ldr r2, [r2]
ldr r1, [r1]
ldr r0, .L11+28
bl g_critical
mvn r0, #0
b .L1
.L10:
ldr r0, .L11+32
bl g_critical
mvn r0, #0
b .L1
.L12:
.align 2
.L11:
.word GLIB_MICRO_VERSION
.word GLIB_MINOR_VERSION
.word GLIB_MAJOR_VERSION
.word glib_micro_version
.word glib_minor_version
.word glib_major_version
.word .LC1
.word .LC0
.word .LC2
.size chassis_frontend_init_glib, .-chassis_frontend_init_glib
.comm glib_minor_version,4,4
.comm glib_micro_version,4,4
.comm glib_mem_profiler_table,4,4
.comm glib_major_version,4,4
.comm GLIB_MINOR_VERSION,4,4
.comm GLIB_MICRO_VERSION,4,4
.comm GLIB_MAJOR_VERSION,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
| anghabench |
.file "extr_chassis-frontend.c_chassis_frontend_init_logdir.c"
.intel_syntax noprefix
.text
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC0:
.string "%s: Failed to get log directory, please set by --log-path"
.text
.p2align 4
.globl chassis_frontend_init_logdir
.type chassis_frontend_init_logdir, @function
chassis_frontend_init_logdir:
.LFB0:
.cfi_startproc
endbr64
test rdi, rdi
je .L9
xor eax, eax
ret
.L9:
sub rsp, 8
.cfi_def_cfa_offset 16
mov esi, DWORD PTR G_STRLOC[rip]
lea rdi, .LC0[rip]
call g_critical@PLT
mov eax, -1
add rsp, 8
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size chassis_frontend_init_logdir, .-chassis_frontend_init_logdir
.globl G_STRLOC
.bss
.align 4
.type G_STRLOC, @object
.size G_STRLOC, 4
G_STRLOC:
.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_chassis-frontend.c_chassis_frontend_init_logdir.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "%s: Failed to get log directory, please set by --lo"
.ascii "g-path\000"
.text
.align 2
.global chassis_frontend_init_logdir
.syntax unified
.arm
.fpu softvfp
.type chassis_frontend_init_logdir, %function
chassis_frontend_init_logdir:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
cmp r0, #0
beq .L9
mov r0, #0
bx lr
.L9:
ldr r3, .L10
push {r4, lr}
ldr r1, [r3]
ldr r0, .L10+4
bl g_critical
mvn r0, #0
pop {r4, pc}
.L11:
.align 2
.L10:
.word G_STRLOC
.word .LC0
.size chassis_frontend_init_logdir, .-chassis_frontend_init_logdir
.comm G_STRLOC,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
| anghabench |
.file "extr_chassis-frontend.c_chassis_frontend_init_lua_cpath.c"
.intel_syntax noprefix
.text
.p2align 4
.globl chassis_frontend_init_lua_cpath
.type chassis_frontend_init_lua_cpath, @function
chassis_frontend_init_lua_cpath:
.LFB0:
.cfi_startproc
endbr64
mov ecx, DWORD PTR FALSE[rip]
jmp chassis_frontend_init_lua_paths@PLT
.cfi_endproc
.LFE0:
.size chassis_frontend_init_lua_cpath, .-chassis_frontend_init_lua_cpath
.globl FALSE
.bss
.align 4
.type FALSE, @object
.size FALSE, 4
FALSE:
.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_chassis-frontend.c_chassis_frontend_init_lua_cpath.c"
.text
.align 2
.global chassis_frontend_init_lua_cpath
.syntax unified
.arm
.fpu softvfp
.type chassis_frontend_init_lua_cpath, %function
chassis_frontend_init_lua_cpath:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr r3, .L3
ldr r3, [r3]
b chassis_frontend_init_lua_paths
.L4:
.align 2
.L3:
.word FALSE
.size chassis_frontend_init_lua_cpath, .-chassis_frontend_init_lua_cpath
.comm FALSE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
| anghabench |
.file "extr_chassis-frontend.c_chassis_frontend_init_lua_path.c"
.intel_syntax noprefix
.text
.p2align 4
.globl chassis_frontend_init_lua_path
.type chassis_frontend_init_lua_path, @function
chassis_frontend_init_lua_path:
.LFB0:
.cfi_startproc
endbr64
mov ecx, DWORD PTR TRUE[rip]
jmp chassis_frontend_init_lua_paths@PLT
.cfi_endproc
.LFE0:
.size chassis_frontend_init_lua_path, .-chassis_frontend_init_lua_path
.globl TRUE
.bss
.align 4
.type TRUE, @object
.size TRUE, 4
TRUE:
.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_chassis-frontend.c_chassis_frontend_init_lua_path.c"
.text
.align 2
.global chassis_frontend_init_lua_path
.syntax unified
.arm
.fpu softvfp
.type chassis_frontend_init_lua_path, %function
chassis_frontend_init_lua_path:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr r3, .L3
ldr r3, [r3]
b chassis_frontend_init_lua_paths
.L4:
.align 2
.L3:
.word TRUE
.size chassis_frontend_init_lua_path, .-chassis_frontend_init_lua_path
.comm TRUE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
| anghabench |
.file "extr_chassis-frontend.c_chassis_frontend_init_lua_paths.c"
.intel_syntax noprefix
.text
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC0:
.string "%s: setting %s = %s failed: %s"
.text
.p2align 4
.type chassis_frontend_init_lua_paths, @function
chassis_frontend_init_lua_paths:
.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, 40
.cfi_def_cfa_offset 96
test rcx, rcx
mov r14, QWORD PTR LUA_PATH[rip]
cmove r14, QWORD PTR LUA_CPATH[rip]
mov QWORD PTR 8[rsp], rdx
test rdi, rdi
je .L4
mov r12, rdi
mov rsi, rdi
mov rdi, r14
call chassis_frontend_lua_setenv@PLT
test rax, rax
jne .L28
.L6:
add rsp, 40
.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
.L28:
.cfi_restore_state
mov edi, DWORD PTR errno[rip]
call g_strerror@PLT
mov esi, DWORD PTR G_STRLOC[rip]
mov rcx, r12
mov rdx, r14
mov r8d, eax
lea rdi, .LC0[rip]
call g_critical@PLT
jmp .L6
.p2align 4,,10
.p2align 3
.L4:
mov rdi, r14
mov r13, rsi
mov rbp, rcx
call g_getenv@PLT
test eax, eax
jne .L6
xor edi, edi
call g_string_new@PLT
mov r12, rax
mov rax, QWORD PTR FALSE[rip]
test rax, rax
mov QWORD PTR 24[rsp], rax
setne BYTE PTR 23[rsp]
xor ebx, ebx
jmp .L8
.p2align 4,,10
.p2align 3
.L29:
call chassis_frontend_get_default_lua_path@PLT
mov r15, rax
.L10:
cmp QWORD PTR [r12], 0
jle .L11
mov edi, DWORD PTR LUA_PATHSEP[rip]
call C@PLT
mov rdi, r12
mov esi, eax
call g_string_append_len@PLT
.L11:
mov rsi, r15
mov rdi, r12
add rbx, 1
call g_string_append@PLT
mov rdi, r15
call g_free@PLT
.L8:
test rbx, rbx
jne .L19
xor esi, esi
cmp BYTE PTR 23[rsp], 0
je .L19
.L12:
mov rdi, r13
test rbp, rbp
jne .L29
call chassis_frontend_get_default_lua_cpath@PLT
mov r15, rax
jmp .L10
.p2align 4,,10
.p2align 3
.L19:
cmp QWORD PTR 24[rsp], 0
jne .L14
mov rax, QWORD PTR 8[rsp]
mov rsi, QWORD PTR [rax+rbx*8]
test rsi, rsi
jne .L12
.L14:
cmp QWORD PTR [r12], 0
jne .L30
.L16:
mov rsi, QWORD PTR TRUE[rip]
mov rdi, r12
call g_string_free@PLT
jmp .L6
.p2align 4,,10
.p2align 3
.L30:
mov rsi, QWORD PTR 8[r12]
mov rdi, r14
call chassis_frontend_lua_setenv@PLT
test rax, rax
je .L16
mov edi, DWORD PTR errno[rip]
call g_strerror@PLT
mov rcx, QWORD PTR 8[r12]
mov rdx, r14
mov esi, DWORD PTR G_STRLOC[rip]
mov r8d, eax
lea rdi, .LC0[rip]
call g_critical@PLT
jmp .L16
.cfi_endproc
.LFE0:
.size chassis_frontend_init_lua_paths, .-chassis_frontend_init_lua_paths
.globl errno
.bss
.align 4
.type errno, @object
.size errno, 4
errno:
.zero 4
.globl TRUE
.align 8
.type TRUE, @object
.size TRUE, 8
TRUE:
.zero 8
.globl LUA_PATHSEP
.align 4
.type LUA_PATHSEP, @object
.size LUA_PATHSEP, 4
LUA_PATHSEP:
.zero 4
.globl LUA_PATH
.align 8
.type LUA_PATH, @object
.size LUA_PATH, 8
LUA_PATH:
.zero 8
.globl LUA_CPATH
.align 8
.type LUA_CPATH, @object
.size LUA_CPATH, 8
LUA_CPATH:
.zero 8
.globl G_STRLOC
.align 4
.type G_STRLOC, @object
.size G_STRLOC, 4
G_STRLOC:
.zero 4
.globl FALSE
.align 8
.type FALSE, @object
.size FALSE, 8
FALSE:
.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_chassis-frontend.c_chassis_frontend_init_lua_paths.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "%s: setting %s = %s failed: %s\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type chassis_frontend_init_lua_paths, %function
chassis_frontend_init_lua_paths:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, r9, r10, fp, lr}
subs r5, r3, #0
ldrne r3, .L27
ldreq r3, .L27+4
cmp r0, #0
mov r4, r0
mov r7, r1
mov r8, r2
ldr r9, [r3]
sub sp, sp, #20
beq .L4
mov r1, r0
mov r0, r9
bl chassis_frontend_lua_setenv
cmp r0, #0
bne .L23
.L6:
mov r0, #0
add sp, sp, #20
@ sp needed
pop {r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L23:
ldr r2, .L27+8
ldr r3, .L27+12
ldr r0, [r2]
ldr r5, [r3]
bl g_strerror
mov r1, r5
str r0, [sp]
mov r3, r4
mov r2, r9
ldr r0, .L27+16
bl g_critical
mov r0, #0
add sp, sp, #20
@ sp needed
pop {r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L4:
mov r0, r9
bl g_getenv
cmp r0, #0
bne .L6
bl g_string_new
ldr r3, .L27+20
mov r6, r0
ldr r3, [r3]
subs r10, r3, #0
movne r10, #1
str r3, [sp, #12]
b .L8
.L24:
ldr r3, [sp, #12]
cmp r3, #0
bne .L13
ldr r1, [r8, r4, lsl #2]
cmp r1, #0
beq .L13
cmp r5, #0
mov r0, r7
beq .L9
.L25:
bl chassis_frontend_get_default_lua_path
mov fp, r0
.L10:
ldr r2, [r6]
add r4, r4, #1
cmp r2, #0
ble .L11
ldr r3, .L27+24
ldr r0, [r3]
bl C
mov r1, r0
mov r0, r6
bl g_string_append_len
.L11:
mov r1, fp
mov r0, r6
bl g_string_append
mov r0, fp
bl g_free
.L8:
cmp r4, #0
moveq r3, r10
movne r3, #0
cmp r3, #0
beq .L24
cmp r5, #0
mov r1, #0
mov r0, r7
bne .L25
.L9:
bl chassis_frontend_get_default_lua_cpath
mov fp, r0
b .L10
.L13:
ldr r3, [r6]
cmp r3, #0
bne .L26
.L15:
ldr r3, .L27+28
mov r0, r6
ldr r1, [r3]
bl g_string_free
b .L6
.L26:
mov r0, r9
ldr r1, [r6, #4]
bl chassis_frontend_lua_setenv
cmp r0, #0
beq .L15
ldr r2, .L27+8
ldr r3, .L27+12
ldr r0, [r2]
ldr r5, [r3]
ldr r4, [r6, #4]
bl g_strerror
mov r1, r5
str r0, [sp]
mov r3, r4
mov r2, r9
ldr r0, .L27+16
bl g_critical
b .L15
.L28:
.align 2
.L27:
.word LUA_PATH
.word LUA_CPATH
.word errno
.word G_STRLOC
.word .LC0
.word FALSE
.word LUA_PATHSEP
.word TRUE
.size chassis_frontend_init_lua_paths, .-chassis_frontend_init_lua_paths
.comm errno,4,4
.comm TRUE,4,4
.comm LUA_PATHSEP,4,4
.comm LUA_PATH,4,4
.comm LUA_CPATH,4,4
.comm G_STRLOC,4,4
.comm FALSE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
| anghabench |
.file "extr_chassis-frontend.c_chassis_frontend_init_plugin_dir.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "plugins"
.LC1:
.string "lib"
.text
.p2align 4
.globl chassis_frontend_init_plugin_dir
.type chassis_frontend_init_plugin_dir, @function
chassis_frontend_init_plugin_dir:
.LFB0:
.cfi_startproc
endbr64
push rbx
.cfi_def_cfa_offset 16
.cfi_offset 3, -16
cmp QWORD PTR [rdi], 0
mov rbx, rdi
je .L5
xor eax, eax
pop rbx
.cfi_remember_state
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L5:
.cfi_restore_state
mov edx, DWORD PTR PACKAGE[rip]
mov rdi, rsi
xor r8d, r8d
xor eax, eax
lea rcx, .LC0[rip]
lea rsi, .LC1[rip]
call g_build_filename@PLT
mov QWORD PTR [rbx], rax
xor eax, eax
pop rbx
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size chassis_frontend_init_plugin_dir, .-chassis_frontend_init_plugin_dir
.globl PACKAGE
.bss
.align 4
.type PACKAGE, @object
.size PACKAGE, 4
PACKAGE:
.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_chassis-frontend.c_chassis_frontend_init_plugin_dir.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "plugins\000"
.align 2
.LC1:
.ascii "lib\000"
.text
.align 2
.global chassis_frontend_init_plugin_dir
.syntax unified
.arm
.fpu softvfp
.type chassis_frontend_init_plugin_dir, %function
chassis_frontend_init_plugin_dir:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
ldr r3, [r0]
cmp r3, #0
beq .L8
mov r0, #0
bx lr
.L8:
push {r4, lr}
ldr r2, .L9
sub sp, sp, #8
str r3, [sp]
mov r4, r0
ldr r2, [r2]
mov r0, r1
ldr r3, .L9+4
ldr r1, .L9+8
bl g_build_filename
str r0, [r4]
mov r0, #0
add sp, sp, #8
@ sp needed
pop {r4, pc}
.L10:
.align 2
.L9:
.word PACKAGE
.word .LC0
.word .LC1
.size chassis_frontend_init_plugin_dir, .-chassis_frontend_init_plugin_dir
.comm PACKAGE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
| anghabench |
.file "extr_chassis-frontend.c_chassis_frontend_init_plugins.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "%s-module"
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC1:
.string "Show options for the %s-module"
.text
.p2align 4
.globl chassis_frontend_init_plugins
.type chassis_frontend_init_plugins, @function
chassis_frontend_init_plugins:
.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
cmp QWORD PTR [rdi], 0
mov QWORD PTR 16[rsp], rdx
mov QWORD PTR 24[rsp], rcx
mov QWORD PTR 8[rsp], r8
mov QWORD PTR 40[rsp], r9
je .L2
mov QWORD PTR 32[rsp], rsi
mov rbp, rdi
xor ebx, ebx
.p2align 4,,10
.p2align 3
.L9:
mov rax, QWORD PTR 8[rbp]
mov r12, QWORD PTR [rax+rbx*8]
mov rdi, r12
call chassis_plugin_get_options@PLT
mov r14, rax
test rax, rax
je .L3
mov rsi, QWORD PTR [r12]
lea rdi, .LC0[rip]
call g_strdup_printf@PLT
mov rsi, QWORD PTR [r12]
lea rdi, .LC1[rip]
mov r15, rax
call g_strdup_printf@PLT
mov rdi, QWORD PTR [r12]
xor ecx, ecx
xor r8d, r8d
mov rdx, rax
mov rsi, r15
mov r13, rax
call g_option_group_new@PLT
mov rsi, r14
mov rdi, rax
mov QWORD PTR [rsp], rax
call g_option_group_add_entries@PLT
mov r8, QWORD PTR [rsp]
mov r12, QWORD PTR 32[rsp]
mov rsi, r8
mov rdi, r12
call g_option_context_add_group@PLT
mov rdi, r13
call g_free@PLT
mov rdi, r15
call g_free@PLT
mov rcx, QWORD PTR 120[rsp]
mov rdx, QWORD PTR 24[rsp]
mov rdi, r12
mov rsi, QWORD PTR 16[rsp]
call g_option_context_parse@PLT
cmp rax, QWORD PTR FALSE[rip]
je .L7
cmp QWORD PTR 8[rsp], 0
je .L8
mov rsi, QWORD PTR 40[rsp]
mov rdi, QWORD PTR 8[rsp]
mov rdx, r14
call chassis_keyfile_to_options@PLT
test rax, rax
jne .L7
.L8:
mov rdi, QWORD PTR 112[rsp]
mov rsi, r14
call chassis_keyfile_resolve_path@PLT
.L3:
add rbx, 1
cmp QWORD PTR 0[rbp], rbx
ja .L9
.L2:
add rsp, 56
.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
.L7:
.cfi_restore_state
add rsp, 56
.cfi_def_cfa_offset 56
mov eax, -1
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 chassis_frontend_init_plugins, .-chassis_frontend_init_plugins
.globl FALSE
.bss
.align 8
.type FALSE, @object
.size FALSE, 8
FALSE:
.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_chassis-frontend.c_chassis_frontend_init_plugins.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "%s-module\000"
.align 2
.LC1:
.ascii "Show options for the %s-module\000"
.text
.align 2
.global chassis_frontend_init_plugins
.syntax unified
.arm
.fpu softvfp
.type chassis_frontend_init_plugins, %function
chassis_frontend_init_plugins:
@ args = 16, pretend = 0, frame = 16
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, r9, r10, fp, lr}
mov r7, r0
ldr r0, [r0]
sub sp, sp, #28
cmp r0, #0
str r2, [sp, #16]
str r3, [sp, #20]
beq .L2
mov r8, r1
mov r5, #0
ldr fp, .L19
.L9:
ldr r3, [r7, #4]
ldr r9, [r3, r5, lsl #2]
mov r0, r9
bl chassis_plugin_get_options
subs r4, r0, #0
beq .L3
ldr r1, [r9]
ldr r0, .L19+4
bl g_strdup_printf
ldr r1, [r9]
mov r6, r0
ldr r0, .L19+8
bl g_strdup_printf
mov ip, #0
mov r10, r0
mov r3, ip
mov r2, r10
mov r1, r6
ldr r0, [r9]
str ip, [sp]
bl g_option_group_new
mov r1, r4
str r0, [sp, #12]
bl g_option_group_add_entries
ldr r3, [sp, #12]
mov r0, r8
mov r1, r3
bl g_option_context_add_group
mov r0, r10
bl g_free
mov r0, r6
bl g_free
ldr r3, [sp, #76]
mov r0, r8
ldr r2, [sp, #20]
ldr r1, [sp, #16]
bl g_option_context_parse
ldr r3, [fp]
cmp r0, r3
beq .L7
ldr r3, [sp, #64]
cmp r3, #0
beq .L8
mov r2, r4
ldr r1, [sp, #68]
ldr r0, [sp, #64]
bl chassis_keyfile_to_options
cmp r0, #0
bne .L7
.L8:
mov r1, r4
ldr r0, [sp, #72]
bl chassis_keyfile_resolve_path
.L3:
ldr r3, [r7]
add r5, r5, #1
cmp r3, r5
bhi .L9
.L2:
mov r0, #0
add sp, sp, #28
@ sp needed
pop {r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L7:
mvn r0, #0
add sp, sp, #28
@ sp needed
pop {r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L20:
.align 2
.L19:
.word FALSE
.word .LC0
.word .LC1
.size chassis_frontend_init_plugins, .-chassis_frontend_init_plugins
.comm FALSE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
| anghabench |
.file "extr_chassis-frontend.c_chassis_frontend_init_win32.c"
.intel_syntax noprefix
.text
.p2align 4
.globl chassis_frontend_init_win32
.type chassis_frontend_init_win32, @function
chassis_frontend_init_win32:
.LFB0:
.cfi_startproc
endbr64
mov eax, -1
ret
.cfi_endproc
.LFE0:
.size chassis_frontend_init_win32, .-chassis_frontend_init_win32
.globl G_STRLOC
.bss
.align 4
.type G_STRLOC, @object
.size G_STRLOC, 4
G_STRLOC:
.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_chassis-frontend.c_chassis_frontend_init_win32.c"
.text
.align 2
.global chassis_frontend_init_win32
.syntax unified
.arm
.fpu softvfp
.type chassis_frontend_init_win32, %function
chassis_frontend_init_win32:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
mvn r0, #0
bx lr
.size chassis_frontend_init_win32, .-chassis_frontend_init_win32
.comm G_STRLOC,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
| anghabench |
.file "extr_chassis-frontend.c_chassis_frontend_lua_setenv.c"
.intel_syntax noprefix
.text
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC0:
.string "%s: setting %s = %s failed: (getenv() == NULL)"
.align 8
.LC1:
.string "%s: setting %s = %s failed: (getenv() == %s)"
.text
.p2align 4
.type chassis_frontend_lua_setenv, @function
chassis_frontend_lua_setenv:
.LFB0:
.cfi_startproc
endbr64
push r14
.cfi_def_cfa_offset 16
.cfi_offset 14, -16
mov edx, 1
mov r14, rsi
push r13
.cfi_def_cfa_offset 24
.cfi_offset 13, -24
push r12
.cfi_def_cfa_offset 32
.cfi_offset 12, -32
mov r12, rdi
call g_setenv@PLT
test rax, rax
je .L4
mov rdi, r12
call getenv@PLT
mov r13d, eax
test eax, eax
je .L9
mov rdi, r12
xor r13d, r13d
call getenv@PLT
mov rsi, r14
mov edi, eax
call strcmp@PLT
test rax, rax
jne .L10
.L1:
mov eax, r13d
pop r12
.cfi_remember_state
.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
.L9:
.cfi_restore_state
mov esi, DWORD PTR G_STRLOC[rip]
mov rcx, r14
mov rdx, r12
xor eax, eax
lea rdi, .LC0[rip]
call g_critical@PLT
mov eax, r13d
pop r12
.cfi_remember_state
.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
.L10:
.cfi_restore_state
mov rdi, r12
call getenv@PLT
mov esi, DWORD PTR G_STRLOC[rip]
mov rcx, r14
mov rdx, r12
mov r8d, eax
lea rdi, .LC1[rip]
xor eax, eax
call g_critical@PLT
mov eax, r13d
pop r12
.cfi_remember_state
.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 r13d, -1
jmp .L1
.cfi_endproc
.LFE0:
.size chassis_frontend_lua_setenv, .-chassis_frontend_lua_setenv
.globl G_STRLOC
.bss
.align 4
.type G_STRLOC, @object
.size G_STRLOC, 4
G_STRLOC:
.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_chassis-frontend.c_chassis_frontend_lua_setenv.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "%s: setting %s = %s failed: (getenv() == NULL)\000"
.align 2
.LC1:
.ascii "%s: setting %s = %s failed: (getenv() == %s)\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type chassis_frontend_lua_setenv, %function
chassis_frontend_lua_setenv:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r2, #1
sub sp, sp, #8
mov r5, r0
mov r6, r1
bl g_setenv
cmp r0, #0
beq .L4
mov r0, r5
bl getenv
subs r4, r0, #0
beq .L10
mov r0, r5
bl getenv
mov r1, r6
bl strcmp
subs r4, r0, #0
bne .L11
.L1:
mov r0, r4
add sp, sp, #8
@ sp needed
pop {r4, r5, r6, pc}
.L10:
ldr r1, .L12
mov r3, r6
mov r2, r5
ldr r1, [r1]
ldr r0, .L12+4
bl g_critical
mov r0, r4
add sp, sp, #8
@ sp needed
pop {r4, r5, r6, pc}
.L11:
ldr r3, .L12
mov r0, r5
ldr r4, [r3]
bl getenv
mov r1, r4
mov r4, #0
str r0, [sp]
mov r3, r6
mov r2, r5
ldr r0, .L12+8
bl g_critical
mov r0, r4
add sp, sp, #8
@ sp needed
pop {r4, r5, r6, pc}
.L4:
mvn r4, #0
b .L1
.L13:
.align 2
.L12:
.word G_STRLOC
.word .LC0
.word .LC1
.size chassis_frontend_lua_setenv, .-chassis_frontend_lua_setenv
.comm G_STRLOC,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
| anghabench |
.file "extr_chassis-frontend.c_chassis_frontend_open_config_file.c"
.intel_syntax noprefix
.text
.p2align 4
.globl chassis_frontend_open_config_file
.type chassis_frontend_open_config_file, @function
chassis_frontend_open_config_file:
.LFB0:
.cfi_startproc
endbr64
push r13
.cfi_def_cfa_offset 16
.cfi_offset 13, -16
xor eax, eax
mov r13, rsi
push r12
.cfi_def_cfa_offset 24
.cfi_offset 12, -24
push rbp
.cfi_def_cfa_offset 32
.cfi_offset 6, -32
mov rbp, rdi
call g_key_file_new@PLT
mov esi, 44
mov rdi, rax
mov r12, rax
call g_key_file_set_list_separator@PLT
mov rcx, r13
mov rsi, rbp
mov rdi, r12
mov edx, DWORD PTR G_KEY_FILE_NONE[rip]
call g_key_file_load_from_file@PLT
cmp rax, QWORD PTR FALSE[rip]
je .L5
.L1:
mov rax, r12
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
.L5:
.cfi_restore_state
mov rdi, r12
xor r12d, r12d
call g_key_file_free@PLT
jmp .L1
.cfi_endproc
.LFE0:
.size chassis_frontend_open_config_file, .-chassis_frontend_open_config_file
.globl G_KEY_FILE_NONE
.bss
.align 4
.type G_KEY_FILE_NONE, @object
.size G_KEY_FILE_NONE, 4
G_KEY_FILE_NONE:
.zero 4
.globl FALSE
.align 8
.type FALSE, @object
.size FALSE, 8
FALSE:
.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_chassis-frontend.c_chassis_frontend_open_config_file.c"
.text
.align 2
.global chassis_frontend_open_config_file
.syntax unified
.arm
.fpu softvfp
.type chassis_frontend_open_config_file, %function
chassis_frontend_open_config_file:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r6, r1
mov r5, r0
bl g_key_file_new
mov r4, r0
mov r1, #44
bl g_key_file_set_list_separator
ldr r2, .L6
mov r3, r6
mov r1, r5
mov r0, r4
ldr r2, [r2]
bl g_key_file_load_from_file
ldr r3, .L6+4
ldr r3, [r3]
cmp r0, r3
beq .L5
.L1:
mov r0, r4
pop {r4, r5, r6, pc}
.L5:
mov r0, r4
bl g_key_file_free
mov r4, #0
b .L1
.L7:
.align 2
.L6:
.word G_KEY_FILE_NONE
.word FALSE
.size chassis_frontend_open_config_file, .-chassis_frontend_open_config_file
.comm G_KEY_FILE_NONE,4,4
.comm FALSE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
| anghabench |
.file "extr_chassis-frontend.c_chassis_frontend_write_pidfile.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "%s: open(%s) failed: %s"
.LC1:
.string "%d"
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC2:
.string "%s: write(%s) of %s failed: %s"
.text
.p2align 4
.globl chassis_frontend_write_pidfile
.type chassis_frontend_write_pidfile, @function
chassis_frontend_write_pidfile:
.LFB0:
.cfi_startproc
endbr64
push r15
.cfi_def_cfa_offset 16
.cfi_offset 15, -16
mov edx, 384
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
mov r12, rsi
push rbp
.cfi_def_cfa_offset 48
.cfi_offset 6, -48
push rbx
.cfi_def_cfa_offset 56
.cfi_offset 3, -56
mov rbx, rdi
sub rsp, 8
.cfi_def_cfa_offset 64
mov esi, DWORD PTR O_WRONLY[rip]
or esi, DWORD PTR O_TRUNC[rip]
or esi, DWORD PTR O_CREAT[rip]
call open@PLT
cmp eax, -1
je .L8
mov r13d, eax
xor eax, eax
xor r14d, r14d
call getpid@PLT
lea rdi, .LC1[rip]
mov esi, eax
call g_strdup_printf@PLT
mov rdi, rax
mov rbp, rax
call strlen@PLT
mov rsi, rbp
mov edi, r13d
mov edx, eax
call write@PLT
test rax, rax
js .L9
.L4:
mov rdi, rbp
call g_free@PLT
mov edi, r13d
call close@PLT
.L1:
add rsp, 8
.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
.L9:
.cfi_restore_state
mov edi, DWORD PTR errno[rip]
call g_strerror@PLT
mov edi, DWORD PTR errno[rip]
mov r15d, DWORD PTR G_STRLOC[rip]
mov r14d, eax
call g_file_error_from_errno@PLT
push r14
.cfi_def_cfa_offset 72
mov esi, DWORD PTR G_FILE_ERROR[rip]
mov r9, rbx
push rbp
.cfi_def_cfa_offset 80
mov edx, eax
mov r8d, r15d
lea rcx, .LC2[rip]
mov rdi, r12
xor eax, eax
mov r14d, -1
call g_set_error@PLT
pop rax
.cfi_def_cfa_offset 72
pop rdx
.cfi_def_cfa_offset 64
jmp .L4
.L8:
mov edi, DWORD PTR errno[rip]
mov r14d, -1
call g_strerror@PLT
mov edi, DWORD PTR errno[rip]
mov r13d, DWORD PTR G_STRLOC[rip]
movsx rbp, eax
call g_file_error_from_errno@PLT
sub rsp, 8
.cfi_def_cfa_offset 72
mov r9, rbx
mov r8d, r13d
push rbp
.cfi_def_cfa_offset 80
mov esi, DWORD PTR G_FILE_ERROR[rip]
mov edx, eax
lea rcx, .LC0[rip]
mov rdi, r12
xor eax, eax
call g_set_error@PLT
pop rcx
.cfi_def_cfa_offset 72
pop rsi
.cfi_def_cfa_offset 64
jmp .L1
.cfi_endproc
.LFE0:
.size chassis_frontend_write_pidfile, .-chassis_frontend_write_pidfile
.globl errno
.bss
.align 4
.type errno, @object
.size errno, 4
errno:
.zero 4
.globl O_WRONLY
.align 4
.type O_WRONLY, @object
.size O_WRONLY, 4
O_WRONLY:
.zero 4
.globl O_TRUNC
.align 4
.type O_TRUNC, @object
.size O_TRUNC, 4
O_TRUNC:
.zero 4
.globl O_CREAT
.align 4
.type O_CREAT, @object
.size O_CREAT, 4
O_CREAT:
.zero 4
.globl G_STRLOC
.align 4
.type G_STRLOC, @object
.size G_STRLOC, 4
G_STRLOC:
.zero 4
.globl G_FILE_ERROR
.align 4
.type G_FILE_ERROR, @object
.size G_FILE_ERROR, 4
G_FILE_ERROR:
.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_chassis-frontend.c_chassis_frontend_write_pidfile.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "%s: open(%s) failed: %s\000"
.align 2
.LC1:
.ascii "%d\000"
.align 2
.LC2:
.ascii "%s: write(%s) of %s failed: %s\000"
.text
.align 2
.global chassis_frontend_write_pidfile
.syntax unified
.arm
.fpu softvfp
.type chassis_frontend_write_pidfile, %function
chassis_frontend_write_pidfile:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, r9, r10, lr}
ldr r3, .L10
ldr r2, .L10+4
mov r6, r1
ldr r1, .L10+8
ldr r2, [r2]
ldr r3, [r3]
ldr r1, [r1]
orr r3, r3, r2
sub sp, sp, #16
mov r2, #384
orr r1, r3, r1
mov r7, r0
bl open
cmn r0, #1
mov r4, r0
beq .L8
bl getpid
mov r1, r0
ldr r0, .L10+12
bl g_strdup_printf
mov r5, r0
bl strlen
mov r1, r5
mov r2, r0
mov r0, r4
bl write
cmp r0, #0
movge r6, #0
blt .L9
.L4:
mov r0, r5
bl g_free
mov r0, r4
bl close
.L1:
mov r0, r6
add sp, sp, #16
@ sp needed
pop {r4, r5, r6, r7, r8, r9, r10, pc}
.L9:
ldr r9, .L10+16
ldr r3, .L10+20
ldr r0, [r9]
ldr r10, [r3]
bl g_file_error_from_errno
ldr r3, .L10+24
mov r8, r0
ldr r0, [r9]
ldr r9, [r3]
bl g_strerror
mov r2, r8
str r0, [sp, #12]
mov r1, r10
mov r0, r6
ldr r3, .L10+28
str r9, [sp]
str r5, [sp, #8]
str r7, [sp, #4]
bl g_set_error
mvn r6, #0
b .L4
.L8:
ldr r8, .L10+16
ldr r3, .L10+20
ldr r0, [r8]
ldr r9, [r3]
bl g_file_error_from_errno
ldr r3, .L10+24
mov r5, r0
ldr r0, [r8]
ldr r8, [r3]
bl g_strerror
mov r2, r5
str r0, [sp, #8]
mov r1, r9
mov r0, r6
ldr r3, .L10+32
str r8, [sp]
str r7, [sp, #4]
mov r6, r4
bl g_set_error
b .L1
.L11:
.align 2
.L10:
.word O_WRONLY
.word O_TRUNC
.word O_CREAT
.word .LC1
.word errno
.word G_FILE_ERROR
.word G_STRLOC
.word .LC2
.word .LC0
.size chassis_frontend_write_pidfile, .-chassis_frontend_write_pidfile
.comm errno,4,4
.comm O_WRONLY,4,4
.comm O_TRUNC,4,4
.comm O_CREAT,4,4
.comm G_STRLOC,4,4
.comm G_FILE_ERROR,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
| anghabench |
.file "extr_chassis-frontend.c_chassis_options_set_cmdline_only_options.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "version"
.LC1:
.string "Show version"
.LC2:
.string "defaults-file"
.LC3:
.string "<file>"
.LC4:
.string "configuration file"
.text
.p2align 4
.globl chassis_options_set_cmdline_only_options
.type chassis_options_set_cmdline_only_options, @function
chassis_options_set_cmdline_only_options:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
lea rax, .LC1[rip]
mov r9, rsi
xor ecx, ecx
push rbx
.cfi_def_cfa_offset 24
.cfi_offset 3, -24
lea rsi, .LC0[rip]
mov rbx, rdx
mov edx, 86
mov rbp, rdi
sub rsp, 8
.cfi_def_cfa_offset 32
mov r8d, DWORD PTR G_OPTION_ARG_NONE[rip]
push 0
.cfi_def_cfa_offset 40
push rax
.cfi_def_cfa_offset 48
xor eax, eax
call chassis_options_add@PLT
lea rax, .LC3[rip]
xor ecx, ecx
xor edx, edx
push rax
.cfi_def_cfa_offset 56
lea rax, .LC4[rip]
mov r9, rbx
mov rdi, rbp
push rax
.cfi_def_cfa_offset 64
mov r8d, DWORD PTR G_OPTION_ARG_STRING[rip]
lea rsi, .LC2[rip]
xor eax, eax
call chassis_options_add@PLT
add rsp, 40
.cfi_def_cfa_offset 24
xor eax, eax
pop rbx
.cfi_def_cfa_offset 16
pop rbp
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size chassis_options_set_cmdline_only_options, .-chassis_options_set_cmdline_only_options
.globl G_OPTION_ARG_STRING
.bss
.align 4
.type G_OPTION_ARG_STRING, @object
.size G_OPTION_ARG_STRING, 4
G_OPTION_ARG_STRING:
.zero 4
.globl G_OPTION_ARG_NONE
.align 4
.type G_OPTION_ARG_NONE, @object
.size G_OPTION_ARG_NONE, 4
G_OPTION_ARG_NONE:
.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_chassis-frontend.c_chassis_options_set_cmdline_only_options.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "version\000"
.align 2
.LC1:
.ascii "Show version\000"
.align 2
.LC2:
.ascii "defaults-file\000"
.align 2
.LC3:
.ascii "<file>\000"
.align 2
.LC4:
.ascii "configuration file\000"
.text
.align 2
.global chassis_options_set_cmdline_only_options
.syntax unified
.arm
.fpu softvfp
.type chassis_options_set_cmdline_only_options, %function
chassis_options_set_cmdline_only_options:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r4, #0
mov r6, r2
mov r5, r0
ldr r3, .L4
ldr r2, .L4+4
ldr r3, [r3]
sub sp, sp, #16
str r1, [sp, #4]
str r3, [sp]
str r2, [sp, #8]
mov r3, r4
mov r2, #86
ldr r1, .L4+8
str r4, [sp, #12]
bl chassis_options_add
ldr r3, .L4+12
ldr ip, .L4+16
ldr r3, [r3]
ldr r1, .L4+20
str r3, [sp]
str r1, [sp, #8]
mov r0, r5
mov r3, r4
mov r2, r4
ldr r1, .L4+24
str r6, [sp, #4]
str ip, [sp, #12]
bl chassis_options_add
mov r0, r4
add sp, sp, #16
@ sp needed
pop {r4, r5, r6, pc}
.L5:
.align 2
.L4:
.word G_OPTION_ARG_NONE
.word .LC1
.word .LC0
.word G_OPTION_ARG_STRING
.word .LC3
.word .LC4
.word .LC2
.size chassis_options_set_cmdline_only_options, .-chassis_options_set_cmdline_only_options
.comm G_OPTION_ARG_STRING,4,4
.comm G_OPTION_ARG_NONE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
| anghabench |
.file "extr_chassis-keyfile.c_chassis_keyfile_resolve_path.c"
.intel_syntax noprefix
.text
.p2align 4
.globl chassis_keyfile_resolve_path
.type chassis_keyfile_resolve_path, @function
chassis_keyfile_resolve_path:
.LFB0:
.cfi_startproc
endbr64
cmp QWORD PTR 16[rsi], 0
je .L12
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
mov r12, rdi
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
jmp .L8
.p2align 4,,10
.p2align 3
.L18:
cmp eax, 129
jne .L4
mov rdi, r12
call chassis_resolve_path@PLT
.L4:
add rbp, 24
cmp QWORD PTR 16[rbp], 0
je .L17
.L8:
mov eax, DWORD PTR 0[rbp]
mov rsi, QWORD PTR 8[rbp]
cmp eax, 128
jne .L18
mov rbx, QWORD PTR [rsi]
test rbx, rbx
je .L4
jmp .L15
.p2align 4,,10
.p2align 3
.L7:
mov rsi, rbx
mov rdi, r12
add rbx, 8
call chassis_resolve_path@PLT
.L15:
cmp QWORD PTR [rbx], 0
jne .L7
add rbp, 24
cmp QWORD PTR 16[rbp], 0
jne .L8
.L17:
pop rbx
.cfi_def_cfa_offset 24
xor eax, eax
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.L12:
.cfi_restore 3
.cfi_restore 6
.cfi_restore 12
xor eax, eax
ret
.cfi_endproc
.LFE0:
.size chassis_keyfile_resolve_path, .-chassis_keyfile_resolve_path
.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_chassis-keyfile.c_chassis_keyfile_resolve_path.c"
.text
.align 2
.global chassis_keyfile_resolve_path
.syntax unified
.arm
.fpu softvfp
.type chassis_keyfile_resolve_path, %function
chassis_keyfile_resolve_path:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
ldr r3, [r1, #8]
cmp r3, #0
beq .L18
push {r4, r5, r6, lr}
mov r6, r0
add r4, r1, #12
b .L8
.L23:
cmp r3, #129
bne .L4
mov r0, r6
bl chassis_resolve_path
.L4:
ldr r3, [r4, #8]
add r4, r4, #12
cmp r3, #0
beq .L22
.L8:
ldr r3, [r4, #-12]
ldr r1, [r4, #-8]
cmp r3, #128
bne .L23
ldr r5, [r1]
cmp r5, #0
beq .L4
ldr r3, [r5]
cmp r3, #0
beq .L4
.L7:
mov r1, r5
mov r0, r6
bl chassis_resolve_path
ldr r3, [r5, #4]!
cmp r3, #0
bne .L7
ldr r3, [r4, #8]
add r4, r4, #12
cmp r3, #0
bne .L8
.L22:
mov r0, #0
pop {r4, r5, r6, pc}
.L18:
mov r0, #0
bx lr
.size chassis_keyfile_resolve_path, .-chassis_keyfile_resolve_path
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
| anghabench |
.file "extr_chassis-keyfile.c_chassis_keyfile_to_options.c"
.intel_syntax noprefix
.text
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC0:
.string "%s: (keyfile) the option %d can't be handled"
.section .rodata.str1.1,"aMS",@progbits,1
.LC1:
.string "%s"
.text
.p2align 4
.globl chassis_keyfile_to_options
.type chassis_keyfile_to_options, @function
chassis_keyfile_to_options:
.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 rax, QWORD PTR fs:40
mov QWORD PTR 40[rsp], rax
xor eax, eax
mov QWORD PTR 32[rsp], 0
test rdi, rdi
je .L20
mov r13, rdi
mov r14, rsi
mov rbx, rdx
call g_key_file_has_group@PLT
mov r12d, eax
test eax, eax
je .L1
mov rdx, QWORD PTR 16[rbx]
xor r12d, r12d
test rdx, rdx
je .L1
lea rbp, .L5[rip]
.p2align 4,,10
.p2align 3
.L17:
mov r8d, DWORD PTR [rbx]
mov DWORD PTR 28[rsp], 0
lea eax, -128[r8]
cmp eax, 5
ja .L3
movsx rax, DWORD PTR 0[rbp+rax*4]
add rax, rbp
notrack jmp rax
.section .rodata
.align 4
.align 4
.L5:
.long .L6-.L5
.long .L4-.L5
.long .L8-.L5
.long .L7-.L5
.long .L6-.L5
.long .L4-.L5
.text
.p2align 4,,10
.p2align 3
.L4:
mov rax, QWORD PTR 8[rbx]
test rax, rax
je .L36
cmp QWORD PTR [rax], 0
je .L39
.L36:
mov rdi, QWORD PTR 32[rsp]
.L10:
test rdi, rdi
je .L14
.L18:
mov rax, QWORD PTR G_KEY_FILE_ERROR_KEY_NOT_FOUND[rip]
cmp QWORD PTR [rdi], rax
je .L16
mov esi, DWORD PTR 8[rdi]
lea rdi, .LC1[rip]
mov r12d, -1
call g_message@PLT
mov rdi, QWORD PTR 32[rsp]
.L16:
call g_error_free@PLT
mov QWORD PTR 32[rsp], 0
.L14:
mov rdx, QWORD PTR 40[rbx]
add rbx, 24
test rdx, rdx
jne .L17
.L1:
mov rax, QWORD PTR 40[rsp]
sub rax, QWORD PTR fs:40
jne .L40
add rsp, 56
.cfi_remember_state
.cfi_def_cfa_offset 56
mov eax, r12d
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
mov rax, QWORD PTR 8[rbx]
test rax, rax
je .L36
cmp QWORD PTR [rax], 0
jne .L36
mov rdi, r13
lea rcx, 28[rsp]
lea r8, 32[rsp]
mov rsi, r14
call g_key_file_get_string_list@PLT
mov rdi, QWORD PTR 32[rsp]
mov QWORD PTR 8[rsp], rax
test rdi, rdi
jne .L18
mov rdi, QWORD PTR [rax]
mov r15, rax
test rdi, rdi
je .L41
.p2align 4,,10
.p2align 3
.L13:
call g_strstrip@PLT
add r15, 8
mov QWORD PTR -8[r15], rax
mov rdi, QWORD PTR [r15]
test rdi, rdi
jne .L13
mov rax, QWORD PTR 8[rbx]
mov rcx, QWORD PTR 8[rsp]
mov rdi, QWORD PTR 32[rsp]
mov QWORD PTR [rax], rcx
jmp .L10
.p2align 4,,10
.p2align 3
.L7:
mov rdi, r13
lea rcx, 32[rsp]
mov rsi, r14
call g_key_file_get_integer@PLT
mov rdi, QWORD PTR 32[rsp]
test rdi, rdi
jne .L18
mov rdx, QWORD PTR 8[rbx]
mov DWORD PTR [rdx], eax
jmp .L14
.p2align 4,,10
.p2align 3
.L8:
mov rdi, r13
lea rcx, 32[rsp]
mov rsi, r14
call g_key_file_get_boolean@PLT
mov rdi, QWORD PTR 32[rsp]
test rdi, rdi
jne .L18
mov rdx, QWORD PTR 8[rbx]
mov DWORD PTR [rdx], eax
jmp .L14
.L3:
mov esi, DWORD PTR G_STRLOC[rip]
mov edx, r8d
lea rdi, .LC0[rip]
call g_error@PLT
jmp .L36
.p2align 4,,10
.p2align 3
.L39:
mov rdi, r13
lea rcx, 32[rsp]
mov rsi, r14
call g_key_file_get_string@PLT
mov rdi, QWORD PTR 32[rsp]
test rdi, rdi
jne .L18
mov r15, QWORD PTR 8[rbx]
mov rdi, rax
call g_strchomp@PLT
mov rdi, QWORD PTR 32[rsp]
mov QWORD PTR [r15], rax
jmp .L10
.L20:
mov r12d, -1
jmp .L1
.L41:
mov rax, QWORD PTR 8[rbx]
mov QWORD PTR [rax], r15
jmp .L14
.L40:
call __stack_chk_fail@PLT
.cfi_endproc
.LFE0:
.size chassis_keyfile_to_options, .-chassis_keyfile_to_options
.globl G_STRLOC
.bss
.align 4
.type G_STRLOC, @object
.size G_STRLOC, 4
G_STRLOC:
.zero 4
.globl G_KEY_FILE_ERROR_KEY_NOT_FOUND
.align 8
.type G_KEY_FILE_ERROR_KEY_NOT_FOUND, @object
.size G_KEY_FILE_ERROR_KEY_NOT_FOUND, 8
G_KEY_FILE_ERROR_KEY_NOT_FOUND:
.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_chassis-keyfile.c_chassis_keyfile_to_options.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "%s: (keyfile) the option %d can't be handled\000"
.align 2
.LC1:
.ascii "%s\000"
.section .rodata.cst4,"aM",%progbits,4
.align 2
.LC2:
.word __stack_chk_guard
.text
.align 2
.global chassis_keyfile_to_options
.syntax unified
.arm
.fpu softvfp
.type chassis_keyfile_to_options, %function
chassis_keyfile_to_options:
@ args = 0, pretend = 0, frame = 24
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, r9, r10, fp, lr}
mov r8, #0
ldr r3, .L41
sub sp, sp, #36
subs r6, r0, #0
ldr r3, [r3]
str r3, [sp, #28]
mov r3,#0
str r8, [sp, #20]
beq .L20
mov r4, r2
mov r7, r1
bl g_key_file_has_group
subs r5, r0, #0
beq .L1
ldr r2, [r4, #8]
cmp r2, r8
beq .L21
mov r5, r8
ldr r9, .L41+4
ldr r8, .L41+8
ldr r10, .L41+12
add r4, r4, #12
.L17:
mov r3, #0
ldr r1, [r4, #-12]
str r3, [sp, #24]
sub r3, r1, #128
cmp r3, #5
ldrls pc, [pc, r3, asl #2]
b .L3
.L5:
.word .L6
.word .L4
.word .L8
.word .L7
.word .L6
.word .L4
.L4:
ldr r3, [r4, #-8]
cmp r3, #0
beq .L35
ldr r3, [r3]
cmp r3, #0
beq .L38
.L35:
ldr r3, [sp, #20]
.L10:
cmp r3, #0
beq .L14
.L18:
ldr r1, [r3]
ldr r2, [r8]
cmp r1, r2
beq .L16
mvn r5, #0
ldr r1, [r3, #4]
mov r0, r9
bl g_message
ldr r3, [sp, #20]
.L16:
mov r0, r3
bl g_error_free
mov r3, #0
str r3, [sp, #20]
.L14:
ldr r2, [r4, #8]
add r4, r4, #12
cmp r2, #0
bne .L17
.L1:
ldr r3, .L41
ldr r2, [r3]
ldr r3, [sp, #28]
eors r2, r3, r2
mov r3, #0
bne .L39
mov r0, r5
add sp, sp, #36
@ sp needed
pop {r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L6:
ldr r3, [r4, #-8]
cmp r3, #0
beq .L35
ldr r3, [r3]
cmp r3, #0
bne .L35
add r3, sp, #20
str r3, [sp]
mov r1, r7
add r3, sp, #24
mov r0, r6
bl g_key_file_get_string_list
ldr r3, [sp, #20]
str r0, [sp, #12]
cmp r3, #0
bne .L18
ldr r0, [r0]
cmp r0, #0
ldrne fp, [sp, #12]
beq .L40
.L13:
bl g_strstrip
str r0, [fp]
ldr r0, [fp, #4]!
cmp r0, #0
bne .L13
ldr r2, [r4, #-8]
ldr r1, [sp, #12]
ldr r3, [sp, #20]
str r1, [r2]
b .L10
.L7:
add r3, sp, #20
mov r1, r7
mov r0, r6
bl g_key_file_get_integer
ldr r3, [sp, #20]
cmp r3, #0
bne .L18
ldr r3, [r4, #-8]
str r0, [r3]
b .L14
.L8:
add r3, sp, #20
mov r1, r7
mov r0, r6
bl g_key_file_get_boolean
ldr r3, [sp, #20]
cmp r3, #0
bne .L18
ldr r3, [r4, #-8]
str r0, [r3]
b .L14
.L38:
add r3, sp, #20
mov r1, r7
mov r0, r6
bl g_key_file_get_string
ldr r3, [sp, #20]
cmp r3, #0
bne .L18
ldr fp, [r4, #-8]
bl g_strchomp
ldr r3, [sp, #20]
str r0, [fp]
b .L10
.L21:
mov r5, r2
b .L1
.L20:
mvn r5, #0
b .L1
.L40:
ldr r3, [r4, #-8]
ldr r2, [sp, #12]
str r2, [r3]
b .L14
.L39:
bl __stack_chk_fail
.L3:
mov r2, r1
ldr r0, .L41+16
ldr r1, [r10]
bl g_error
b .L35
.L42:
.align 2
.L41:
.word .LC2
.word .LC1
.word G_KEY_FILE_ERROR_KEY_NOT_FOUND
.word G_STRLOC
.word .LC0
.size chassis_keyfile_to_options, .-chassis_keyfile_to_options
.comm G_STRLOC,4,4
.comm G_KEY_FILE_ERROR_KEY_NOT_FOUND,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
| anghabench |
.file "extr_chassis-limits.c_chassis_fdlimit_get.c"
.intel_syntax noprefix
.text
.p2align 4
.globl chassis_fdlimit_get
.type chassis_fdlimit_get, @function
chassis_fdlimit_get:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 24
.cfi_def_cfa_offset 32
mov edi, DWORD PTR RLIMIT_NOFILE[rip]
mov rax, QWORD PTR fs:40
mov QWORD PTR 8[rsp], rax
xor eax, eax
lea rsi, 4[rsp]
call getrlimit@PLT
cmp eax, -1
je .L1
mov eax, DWORD PTR 4[rsp]
.L1:
mov rdx, QWORD PTR 8[rsp]
sub rdx, QWORD PTR fs:40
jne .L9
add rsp, 24
.cfi_remember_state
.cfi_def_cfa_offset 8
ret
.L9:
.cfi_restore_state
call __stack_chk_fail@PLT
.cfi_endproc
.LFE0:
.size chassis_fdlimit_get, .-chassis_fdlimit_get
.globl RLIMIT_NOFILE
.bss
.align 4
.type RLIMIT_NOFILE, @object
.size RLIMIT_NOFILE, 4
RLIMIT_NOFILE:
.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_chassis-limits.c_chassis_fdlimit_get.c"
.text
.section .rodata.cst4,"aM",%progbits,4
.align 2
.LC0:
.word __stack_chk_guard
.text
.align 2
.global chassis_fdlimit_get
.syntax unified
.arm
.fpu softvfp
.type chassis_fdlimit_get, %function
chassis_fdlimit_get:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 0, uses_anonymous_args = 0
str lr, [sp, #-4]!
ldr r3, .L10
sub sp, sp, #12
ldr r0, [r3]
ldr r3, .L10+4
mov r1, sp
ldr r3, [r3]
str r3, [sp, #4]
mov r3,#0
bl getrlimit
ldr r3, .L10+4
cmn r0, #1
ldrne r0, [sp]
ldr r2, [r3]
ldr r3, [sp, #4]
eors r2, r3, r2
mov r3, #0
bne .L9
add sp, sp, #12
@ sp needed
ldr pc, [sp], #4
.L9:
bl __stack_chk_fail
.L11:
.align 2
.L10:
.word RLIMIT_NOFILE
.word .LC0
.size chassis_fdlimit_get, .-chassis_fdlimit_get
.comm RLIMIT_NOFILE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
| anghabench |
.file "extr_chassis-limits.c_chassis_fdlimit_set.c"
.intel_syntax noprefix
.text
.p2align 4
.globl chassis_fdlimit_set
.type chassis_fdlimit_set, @function
chassis_fdlimit_set:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
push rbx
.cfi_def_cfa_offset 24
.cfi_offset 3, -24
mov ebx, edi
sub rsp, 24
.cfi_def_cfa_offset 48
mov edi, DWORD PTR RLIMIT_NOFILE[rip]
mov rax, QWORD PTR fs:40
mov QWORD PTR 8[rsp], rax
xor eax, eax
mov rbp, rsp
mov rsi, rbp
call getrlimit@PLT
cmp eax, -1
je .L1
mov DWORD PTR [rsp], ebx
cmp DWORD PTR 4[rsp], ebx
jl .L10
.L3:
mov edi, DWORD PTR RLIMIT_NOFILE[rip]
mov rsi, rbp
call setrlimit@PLT
cmp eax, -1
sete al
movzx eax, al
neg eax
.L1:
mov rdx, QWORD PTR 8[rsp]
sub rdx, QWORD PTR fs:40
jne .L11
add rsp, 24
.cfi_remember_state
.cfi_def_cfa_offset 24
pop rbx
.cfi_def_cfa_offset 16
pop rbp
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L10:
.cfi_restore_state
mov DWORD PTR 4[rsp], ebx
jmp .L3
.L11:
call __stack_chk_fail@PLT
.cfi_endproc
.LFE0:
.size chassis_fdlimit_set, .-chassis_fdlimit_set
.globl errno
.bss
.align 4
.type errno, @object
.size errno, 4
errno:
.zero 4
.globl RLIMIT_NOFILE
.align 4
.type RLIMIT_NOFILE, @object
.size RLIMIT_NOFILE, 4
RLIMIT_NOFILE:
.zero 4
.globl G_STRLOC
.align 4
.type G_STRLOC, @object
.size G_STRLOC, 4
G_STRLOC:
.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_chassis-limits.c_chassis_fdlimit_set.c"
.text
.section .rodata.cst4,"aM",%progbits,4
.align 2
.LC0:
.word __stack_chk_guard
.text
.align 2
.global chassis_fdlimit_set
.syntax unified
.arm
.fpu softvfp
.type chassis_fdlimit_set, %function
chassis_fdlimit_set:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, lr}
ldr r5, .L11
sub sp, sp, #20
ldr r3, .L11+4
mov r4, r0
add r1, sp, #4
ldr r0, [r5]
ldr r3, [r3]
str r3, [sp, #12]
mov r3,#0
bl getrlimit
cmn r0, #1
beq .L1
ldr r3, [sp, #8]
ldr r0, [r5]
cmp r3, r4
add r1, sp, #4
strlt r4, [sp, #8]
str r4, [sp, #4]
bl setrlimit
cmn r0, #1
movne r0, #0
moveq r0, #1
rsb r0, r0, #0
.L1:
ldr r3, .L11+4
ldr r2, [r3]
ldr r3, [sp, #12]
eors r2, r3, r2
mov r3, #0
bne .L10
add sp, sp, #20
@ sp needed
pop {r4, r5, pc}
.L10:
bl __stack_chk_fail
.L12:
.align 2
.L11:
.word RLIMIT_NOFILE
.word .LC0
.size chassis_fdlimit_set, .-chassis_fdlimit_set
.comm errno,4,4
.comm RLIMIT_NOFILE,4,4
.comm G_STRLOC,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
| anghabench |
.file "extr_chassis-limits.c_chassis_set_fdlimit.c"
.intel_syntax noprefix
.text
.p2align 4
.globl chassis_set_fdlimit
.type chassis_set_fdlimit, @function
chassis_set_fdlimit:
.LFB0:
.cfi_startproc
endbr64
jmp chassis_fdlimit_set@PLT
.cfi_endproc
.LFE0:
.size chassis_set_fdlimit, .-chassis_set_fdlimit
.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_chassis-limits.c_chassis_set_fdlimit.c"
.text
.align 2
.global chassis_set_fdlimit
.syntax unified
.arm
.fpu softvfp
.type chassis_set_fdlimit, %function
chassis_set_fdlimit:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
b chassis_fdlimit_set
.size chassis_set_fdlimit, .-chassis_set_fdlimit
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
| anghabench |
.file "extr_chassis-log.c_chassis_get_logtimestamp_resolution.c"
.intel_syntax noprefix
.text
.p2align 4
.globl chassis_get_logtimestamp_resolution
.type chassis_get_logtimestamp_resolution, @function
chassis_get_logtimestamp_resolution:
.LFB0:
.cfi_startproc
endbr64
test rdi, rdi
je .L3
mov eax, DWORD PTR [rdi]
ret
.L3:
mov eax, -1
ret
.cfi_endproc
.LFE0:
.size chassis_get_logtimestamp_resolution, .-chassis_get_logtimestamp_resolution
.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_chassis-log.c_chassis_get_logtimestamp_resolution.c"
.text
.align 2
.global chassis_get_logtimestamp_resolution
.syntax unified
.arm
.fpu softvfp
.type chassis_get_logtimestamp_resolution, %function
chassis_get_logtimestamp_resolution:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
cmp r0, #0
ldrne r0, [r0]
mvneq r0, #0
bx lr
.size chassis_get_logtimestamp_resolution, .-chassis_get_logtimestamp_resolution
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
| anghabench |
.file "extr_chassis-log.c_chassis_log_close.c"
.intel_syntax noprefix
.text
.p2align 4
.globl chassis_log_close
.type chassis_log_close, @function
chassis_log_close:
.LFB0:
.cfi_startproc
endbr64
push rbx
.cfi_def_cfa_offset 16
.cfi_offset 3, -16
mov rbx, rdi
mov edi, DWORD PTR [rdi]
cmp edi, -1
je .L2
call close@PLT
mov DWORD PTR [rbx], -1
.L2:
xor eax, eax
pop rbx
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size chassis_log_close, .-chassis_log_close
.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_chassis-log.c_chassis_log_close.c"
.text
.align 2
.global chassis_log_close
.syntax unified
.arm
.fpu softvfp
.type chassis_log_close, %function
chassis_log_close:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
mov r4, r0
ldr r0, [r0]
cmn r0, #1
beq .L2
bl close
mvn r3, #0
str r3, [r4]
.L2:
mov r0, #0
pop {r4, pc}
.size chassis_log_close, .-chassis_log_close
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
| anghabench |
.file "extr_chassis-log.c_chassis_log_free.c"
.intel_syntax noprefix
.text
.p2align 4
.globl chassis_log_free
.type chassis_log_free, @function
chassis_log_free:
.LFB0:
.cfi_startproc
endbr64
test rdi, rdi
je .L1
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rdi
call chassis_log_close@PLT
mov edi, DWORD PTR 12[rbp]
mov esi, DWORD PTR TRUE[rip]
call g_string_free@PLT
mov edi, DWORD PTR 8[rbp]
mov esi, DWORD PTR TRUE[rip]
call g_string_free@PLT
mov rdi, QWORD PTR 0[rbp]
test rdi, rdi
je .L3
call g_free@PLT
.L3:
mov rdi, rbp
pop rbp
.cfi_restore 6
.cfi_def_cfa_offset 8
jmp g_free@PLT
.p2align 4,,10
.p2align 3
.L1:
ret
.cfi_endproc
.LFE0:
.size chassis_log_free, .-chassis_log_free
.globl TRUE
.bss
.align 4
.type TRUE, @object
.size TRUE, 4
TRUE:
.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_chassis-log.c_chassis_log_free.c"
.text
.align 2
.global chassis_log_free
.syntax unified
.arm
.fpu softvfp
.type chassis_log_free, %function
chassis_log_free:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
subs r4, r0, #0
popeq {r4, r5, r6, pc}
ldr r5, .L9
bl chassis_log_close
ldr r1, [r5]
ldr r0, [r4, #8]
bl g_string_free
ldr r1, [r5]
ldr r0, [r4, #4]
bl g_string_free
ldr r0, [r4]
cmp r0, #0
beq .L3
bl g_free
.L3:
mov r0, r4
pop {r4, r5, r6, lr}
b g_free
.L10:
.align 2
.L9:
.word TRUE
.size chassis_log_free, .-chassis_log_free
.comm TRUE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
| anghabench |
.file "extr_chassis-log.c_chassis_log_init.c"
.intel_syntax noprefix
.text
.p2align 4
.globl chassis_log_init
.type chassis_log_init, @function
chassis_log_init:
.LFB0:
.cfi_startproc
endbr64
xor eax, eax
jmp chassis_log_new@PLT
.cfi_endproc
.LFE0:
.size chassis_log_init, .-chassis_log_init
.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_chassis-log.c_chassis_log_init.c"
.text
.align 2
.global chassis_log_init
.syntax unified
.arm
.fpu softvfp
.type chassis_log_init, %function
chassis_log_init:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
b chassis_log_new
.size chassis_log_init, .-chassis_log_init
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
| anghabench |
.file "extr_chassis-log.c_chassis_log_open.c"
.intel_syntax noprefix
.text
.p2align 4
.globl chassis_log_open
.type chassis_log_open, @function
chassis_log_open:
.LFB0:
.cfi_startproc
endbr64
push rbx
.cfi_def_cfa_offset 16
.cfi_offset 3, -16
mov rbx, rdi
mov edi, DWORD PTR 4[rdi]
mov eax, DWORD PTR TRUE[rip]
test edi, edi
jne .L6
pop rbx
.cfi_remember_state
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L6:
.cfi_restore_state
mov esi, DWORD PTR O_RDWR[rip]
mov edx, 432
or esi, DWORD PTR O_CREAT[rip]
or esi, DWORD PTR O_APPEND[rip]
call open@PLT
cmp eax, -1
mov DWORD PTR [rbx], eax
pop rbx
.cfi_def_cfa_offset 8
setne al
movzx eax, al
ret
.cfi_endproc
.LFE0:
.size chassis_log_open, .-chassis_log_open
.globl TRUE
.bss
.align 4
.type TRUE, @object
.size TRUE, 4
TRUE:
.zero 4
.globl O_RDWR
.align 4
.type O_RDWR, @object
.size O_RDWR, 4
O_RDWR:
.zero 4
.globl O_CREAT
.align 4
.type O_CREAT, @object
.size O_CREAT, 4
O_CREAT:
.zero 4
.globl O_APPEND
.align 4
.type O_APPEND, @object
.size O_APPEND, 4
O_APPEND:
.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_chassis-log.c_chassis_log_open.c"
.text
.align 2
.global chassis_log_open
.syntax unified
.arm
.fpu softvfp
.type chassis_log_open, %function
chassis_log_open:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
mov r4, r0
ldr r0, [r0, #4]
cmp r0, #0
bne .L2
ldr r3, .L6
ldr r0, [r3]
pop {r4, pc}
.L2:
ldr r3, .L6+4
ldr r2, .L6+8
ldr r1, .L6+12
ldr r2, [r2]
ldr r3, [r3]
ldr r1, [r1]
orr r3, r3, r2
orr r1, r3, r1
mov r2, #432
bl open
mov r3, r0
adds r0, r0, #1
movne r0, #1
str r3, [r4]
pop {r4, pc}
.L7:
.align 2
.L6:
.word TRUE
.word O_RDWR
.word O_CREAT
.word O_APPEND
.size chassis_log_open, .-chassis_log_open
.comm TRUE,4,4
.comm O_RDWR,4,4
.comm O_CREAT,4,4
.comm O_APPEND,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
| anghabench |
.file "extr_chassis-log.c_chassis_log_set_event_log.c"
.intel_syntax noprefix
.text
.p2align 4
.globl chassis_log_set_event_log
.type chassis_log_set_event_log, @function
chassis_log_set_event_log:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
test rdi, rdi
mov esi, -1
setne dil
movzx edi, dil
call g_return_val_if_fail@PLT
mov eax, -1
add rsp, 8
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size chassis_log_set_event_log, .-chassis_log_set_event_log
.globl TRUE
.bss
.align 4
.type TRUE, @object
.size TRUE, 4
TRUE:
.zero 4
.globl G_STRLOC
.align 4
.type G_STRLOC, @object
.size G_STRLOC, 4
G_STRLOC:
.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_chassis-log.c_chassis_log_set_event_log.c"
.text
.align 2
.global chassis_log_set_event_log
.syntax unified
.arm
.fpu softvfp
.type chassis_log_set_event_log, %function
chassis_log_set_event_log:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
subs r0, r0, #0
mvn r1, #0
movne r0, #1
push {r4, lr}
bl g_return_val_if_fail
mvn r0, #0
pop {r4, pc}
.size chassis_log_set_event_log, .-chassis_log_set_event_log
.comm TRUE,4,4
.comm G_STRLOC,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
| anghabench |
.file "extr_chassis-log.c_chassis_log_set_level.c"
.intel_syntax noprefix
.text
.p2align 4
.globl chassis_log_set_level
.type chassis_log_set_level, @function
chassis_log_set_level:
.LFB0:
.cfi_startproc
endbr64
mov rax, QWORD PTR log_lvl_map[rip]
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
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
mov rdi, QWORD PTR 8[rax]
test rdi, rdi
je .L2
mov rbp, rsi
xor ebx, ebx
jmp .L5
.p2align 4,,10
.p2align 3
.L3:
mov rax, QWORD PTR log_lvl_map[rip]
add rbx, 16
mov rdi, QWORD PTR 8[rax+rbx]
test rdi, rdi
je .L2
.L5:
mov rsi, rbp
call strcmp@PLT
test rax, rax
jne .L3
mov rax, QWORD PTR log_lvl_map[rip]
mov eax, DWORD PTR [rax+rbx]
pop rbx
.cfi_remember_state
.cfi_def_cfa_offset 24
pop rbp
.cfi_def_cfa_offset 16
mov DWORD PTR [r12], eax
xor eax, eax
pop r12
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L2:
.cfi_restore_state
pop rbx
.cfi_def_cfa_offset 24
mov eax, -1
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size chassis_log_set_level, .-chassis_log_set_level
.globl log_lvl_map
.bss
.align 8
.type log_lvl_map, @object
.size log_lvl_map, 8
log_lvl_map:
.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_chassis-log.c_chassis_log_set_level.c"
.text
.align 2
.global chassis_log_set_level
.syntax unified
.arm
.fpu softvfp
.type chassis_log_set_level, %function
chassis_log_set_level:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, lr}
ldr r7, .L12
mov r6, r0
ldr r3, [r7]
ldr r0, [r3, #4]
cmp r0, #0
beq .L2
mov r5, r1
mov r4, #0
b .L5
.L3:
add r4, r4, #8
add r3, r3, r4
ldr r0, [r3, #4]
cmp r0, #0
beq .L2
.L5:
mov r1, r5
bl strcmp
cmp r0, #0
ldr r3, [r7]
bne .L3
ldr r3, [r3, r4]
str r3, [r6]
pop {r4, r5, r6, r7, r8, pc}
.L2:
mvn r0, #0
pop {r4, r5, r6, r7, r8, pc}
.L13:
.align 2
.L12:
.word log_lvl_map
.size chassis_log_set_level, .-chassis_log_set_level
.comm log_lvl_map,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
| anghabench |
.file "extr_chassis-log.c_chassis_log_set_logrotate.c"
.intel_syntax noprefix
.text
.p2align 4
.globl chassis_log_set_logrotate
.type chassis_log_set_logrotate, @function
chassis_log_set_logrotate:
.LFB0:
.cfi_startproc
endbr64
mov eax, DWORD PTR TRUE[rip]
mov DWORD PTR [rdi], eax
ret
.cfi_endproc
.LFE0:
.size chassis_log_set_logrotate, .-chassis_log_set_logrotate
.globl TRUE
.bss
.align 4
.type TRUE, @object
.size TRUE, 4
TRUE:
.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_chassis-log.c_chassis_log_set_logrotate.c"
.text
.align 2
.global chassis_log_set_logrotate
.syntax unified
.arm
.fpu softvfp
.type chassis_log_set_logrotate, %function
chassis_log_set_logrotate:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr r3, .L3
ldr r3, [r3]
str r3, [r0]
bx lr
.L4:
.align 2
.L3:
.word TRUE
.size chassis_log_set_logrotate, .-chassis_log_set_logrotate
.comm TRUE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
| anghabench |
.file "extr_chassis-log.c_chassis_log_update_timestamp.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "%Y-%m-%d %H:%M:%S"
.LC1:
.string ".%.3d"
.text
.p2align 4
.type chassis_log_update_timestamp, @function
chassis_log_update_timestamp:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
push rbx
.cfi_def_cfa_offset 24
.cfi_offset 3, -24
mov rbx, rdi
sub rsp, 56
.cfi_def_cfa_offset 80
mov rbp, QWORD PTR 8[rdi]
mov rax, QWORD PTR fs:40
mov QWORD PTR 40[rsp], rax
xor eax, eax
lea rdi, 16[rsp]
call g_get_current_time@PLT
mov rax, QWORD PTR 24[rsp]
lea rdi, 8[rsp]
mov QWORD PTR 8[rsp], rax
call localtime@PLT
mov edi, DWORD PTR 4[rbp]
mov esi, DWORD PTR 0[rbp]
lea rdx, .LC0[rip]
mov rcx, rax
call strftime@PLT
mov DWORD PTR 8[rbp], eax
mov rax, QWORD PTR CHASSIS_RESOLUTION_MS[rip]
cmp QWORD PTR [rbx], rax
je .L6
.L2:
mov rax, QWORD PTR 40[rsp]
sub rax, QWORD PTR fs:40
jne .L7
add rsp, 56
.cfi_remember_state
.cfi_def_cfa_offset 24
xor eax, eax
pop rbx
.cfi_def_cfa_offset 16
pop rbp
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L6:
.cfi_restore_state
mov rax, QWORD PTR 16[rsp]
lea rsi, .LC1[rip]
mov rdi, rbp
movsx rdx, eax
sar eax, 31
imul rdx, rdx, 274877907
sar rdx, 38
sub edx, eax
call g_string_append_printf@PLT
jmp .L2
.L7:
call __stack_chk_fail@PLT
.cfi_endproc
.LFE0:
.size chassis_log_update_timestamp, .-chassis_log_update_timestamp
.globl CHASSIS_RESOLUTION_MS
.bss
.align 8
.type CHASSIS_RESOLUTION_MS, @object
.size CHASSIS_RESOLUTION_MS, 8
CHASSIS_RESOLUTION_MS:
.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_chassis-log.c_chassis_log_update_timestamp.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "%Y-%m-%d %H:%M:%S\000"
.align 2
.LC1:
.ascii ".%.3d\000"
.section .rodata.cst4,"aM",%progbits,4
.align 2
.LC2:
.word __stack_chk_guard
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type chassis_log_update_timestamp, %function
chassis_log_update_timestamp:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, lr}
mov r4, r0
sub sp, sp, #20
ldr r3, .L8
add r0, sp, #4
ldr r5, [r4, #4]
ldr r3, [r3]
str r3, [sp, #12]
mov r3,#0
bl g_get_current_time
ldr r3, [sp, #8]
mov r0, sp
str r3, [sp]
bl localtime
ldr r2, .L8+4
mov r3, r0
ldr r1, [r5]
ldr r0, [r5, #4]
bl strftime
ldr r3, .L8+8
ldr r2, [r4]
ldr r3, [r3]
str r0, [r5, #8]
cmp r2, r3
beq .L6
.L2:
ldr r3, .L8
ldr r2, [r3]
ldr r3, [sp, #12]
eors r2, r3, r2
mov r3, #0
bne .L7
mov r0, #0
add sp, sp, #20
@ sp needed
pop {r4, r5, pc}
.L6:
ldr r3, [sp, #4]
ldr r1, .L8+12
asr r2, r3, #31
smull r0, r3, r1, r3
mov r0, r5
ldr r1, .L8+16
rsb r2, r2, r3, asr #6
bl g_string_append_printf
b .L2
.L7:
bl __stack_chk_fail
.L9:
.align 2
.L8:
.word .LC2
.word .LC0
.word CHASSIS_RESOLUTION_MS
.word 274877907
.word .LC1
.size chassis_log_update_timestamp, .-chassis_log_update_timestamp
.comm CHASSIS_RESOLUTION_MS,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
| anghabench |
.file "extr_chassis-log.c_chassis_log_write.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "\n"
.text
.p2align 4
.type chassis_log_write, @function
chassis_log_write:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rdx
push rbx
.cfi_def_cfa_offset 24
.cfi_offset 3, -24
sub rsp, 8
.cfi_def_cfa_offset 32
cmp DWORD PTR [rdi], -1
je .L2
mov rbx, rdi
mov rdi, rdx
call S@PLT
mov edi, DWORD PTR [rbx]
movsx rsi, eax
xor eax, eax
call write@PLT
cmp eax, -1
je .L2
mov edi, DWORD PTR [rbx]
mov edx, 1
lea rsi, .LC0[rip]
xor eax, eax
call write@PLT
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
xor eax, eax
pop rbx
.cfi_def_cfa_offset 16
pop rbp
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L2:
.cfi_restore_state
mov rdi, rbp
call S@PLT
mov edi, DWORD PTR STDERR_FILENO[rip]
movsx rsi, eax
xor eax, eax
call write@PLT
mov edi, DWORD PTR STDERR_FILENO[rip]
mov edx, 1
xor eax, eax
lea rsi, .LC0[rip]
call write@PLT
add rsp, 8
.cfi_def_cfa_offset 24
xor eax, eax
pop rbx
.cfi_def_cfa_offset 16
pop rbp
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size chassis_log_write, .-chassis_log_write
.globl log_lvl_map
.bss
.align 8
.type log_lvl_map, @object
.size log_lvl_map, 8
log_lvl_map:
.zero 8
.globl STDERR_FILENO
.align 4
.type STDERR_FILENO, @object
.size STDERR_FILENO, 4
STDERR_FILENO:
.zero 4
.globl G_LOG_LEVEL_MASK
.align 4
.type G_LOG_LEVEL_MASK, @object
.size G_LOG_LEVEL_MASK, 4
G_LOG_LEVEL_MASK:
.zero 4
.globl G_LOG_ERROR_POSITION
.align 4
.type G_LOG_ERROR_POSITION, @object
.size G_LOG_ERROR_POSITION, 4
G_LOG_ERROR_POSITION:
.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_chassis-log.c_chassis_log_write.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "\012\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type chassis_log_write, %function
chassis_log_write:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
ldr r6, [r0]
mov r5, r2
cmn r6, #1
beq .L2
mov r4, r0
mov r0, r2
bl S
mov r1, r0
mov r0, r6
bl write
cmn r0, #1
beq .L2
.L6:
mov r2, #1
ldr r0, [r4]
ldr r1, .L8
bl write
mov r0, #0
pop {r4, r5, r6, pc}
.L2:
ldr r4, .L8+4
mov r0, r5
ldr r5, [r4]
bl S
mov r1, r0
mov r0, r5
bl write
b .L6
.L9:
.align 2
.L8:
.word .LC0
.word STDERR_FILENO
.size chassis_log_write, .-chassis_log_write
.comm log_lvl_map,4,4
.comm STDERR_FILENO,4,4
.comm G_LOG_LEVEL_MASK,4,4
.comm G_LOG_ERROR_POSITION,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
| anghabench |
.file "extr_chassis-log.c_chassis_set_logtimestamp_resolution.c"
.intel_syntax noprefix
.text
.p2align 4
.globl chassis_set_logtimestamp_resolution
.type chassis_set_logtimestamp_resolution, @function
chassis_set_logtimestamp_resolution:
.LFB0:
.cfi_startproc
endbr64
test rdi, rdi
je .L1
cmp DWORD PTR CHASSIS_RESOLUTION_SEC[rip], esi
je .L3
cmp DWORD PTR CHASSIS_RESOLUTION_MS[rip], esi
je .L3
.L1:
ret
.p2align 4,,10
.p2align 3
.L3:
mov DWORD PTR [rdi], esi
ret
.cfi_endproc
.LFE0:
.size chassis_set_logtimestamp_resolution, .-chassis_set_logtimestamp_resolution
.globl CHASSIS_RESOLUTION_SEC
.bss
.align 4
.type CHASSIS_RESOLUTION_SEC, @object
.size CHASSIS_RESOLUTION_SEC, 4
CHASSIS_RESOLUTION_SEC:
.zero 4
.globl CHASSIS_RESOLUTION_MS
.align 4
.type CHASSIS_RESOLUTION_MS, @object
.size CHASSIS_RESOLUTION_MS, 4
CHASSIS_RESOLUTION_MS:
.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_chassis-log.c_chassis_set_logtimestamp_resolution.c"
.text
.align 2
.global chassis_set_logtimestamp_resolution
.syntax unified
.arm
.fpu softvfp
.type chassis_set_logtimestamp_resolution, %function
chassis_set_logtimestamp_resolution:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
cmp r0, #0
bxeq lr
ldr r3, .L8
ldr r3, [r3]
cmp r3, r1
beq .L3
ldr r3, .L8+4
ldr r3, [r3]
cmp r3, r1
bxne lr
.L3:
str r1, [r0]
bx lr
.L9:
.align 2
.L8:
.word CHASSIS_RESOLUTION_SEC
.word CHASSIS_RESOLUTION_MS
.size chassis_set_logtimestamp_resolution, .-chassis_set_logtimestamp_resolution
.comm CHASSIS_RESOLUTION_SEC,4,4
.comm CHASSIS_RESOLUTION_MS,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
| anghabench |
.file "extr_chassis-mainloop.c_chassis_check_version.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "%d.%d.%d%*s"
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC1:
.string "%s: library version %s failed to parse: %d"
.align 8
.LC2:
.string "%s: header version %s failed to parse: %d"
.text
.p2align 4
.globl chassis_check_version
.type chassis_check_version, @function
chassis_check_version:
.LFB0:
.cfi_startproc
endbr64
push r13
.cfi_def_cfa_offset 16
.cfi_offset 13, -16
mov r13, rsi
lea rsi, .LC0[rip]
push r12
.cfi_def_cfa_offset 24
.cfi_offset 12, -24
mov r12, rdi
sub rsp, 40
.cfi_def_cfa_offset 64
mov rax, QWORD PTR fs:40
mov QWORD PTR 24[rsp], rax
xor eax, eax
lea rcx, 4[rsp]
mov rdx, rsp
lea r8, 8[rsp]
call sscanf@PLT
cmp eax, 3
jne .L10
lea rcx, 16[rsp]
lea rdx, 12[rsp]
mov rdi, r13
lea r8, 20[rsp]
lea rsi, .LC0[rip]
call sscanf@PLT
cmp eax, 3
jne .L11
mov eax, DWORD PTR 12[rsp]
cmp DWORD PTR [rsp], eax
jne .L7
mov eax, DWORD PTR 16[rsp]
cmp DWORD PTR 4[rsp], eax
jne .L7
mov eax, DWORD PTR 20[rsp]
cmp DWORD PTR 8[rsp], eax
setl al
movzx eax, al
neg eax
.L1:
mov rsi, QWORD PTR 24[rsp]
sub rsi, QWORD PTR fs:40
jne .L12
add rsp, 40
.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
.L7:
.cfi_restore_state
mov eax, -1
jmp .L1
.p2align 4,,10
.p2align 3
.L10:
mov esi, DWORD PTR G_STRLOC[rip]
mov ecx, eax
mov rdx, r12
lea rdi, .LC1[rip]
call g_critical@PLT
mov eax, -1
jmp .L1
.L11:
mov esi, DWORD PTR G_STRLOC[rip]
mov ecx, eax
mov rdx, r13
lea rdi, .LC2[rip]
call g_critical@PLT
mov eax, -1
jmp .L1
.L12:
call __stack_chk_fail@PLT
.cfi_endproc
.LFE0:
.size chassis_check_version, .-chassis_check_version
.globl G_STRLOC
.bss
.align 4
.type G_STRLOC, @object
.size G_STRLOC, 4
G_STRLOC:
.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_chassis-mainloop.c_chassis_check_version.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "%d.%d.%d%*s\000"
.align 2
.LC1:
.ascii "%s: library version %s failed to parse: %d\000"
.align 2
.LC2:
.ascii "%s: header version %s failed to parse: %d\000"
.section .rodata.cst4,"aM",%progbits,4
.align 2
.LC3:
.word __stack_chk_guard
.text
.align 2
.global chassis_check_version
.syntax unified
.arm
.fpu softvfp
.type chassis_check_version, %function
chassis_check_version:
@ args = 0, pretend = 0, frame = 32
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, lr}
sub sp, sp, #44
ldr ip, .L13
add r3, sp, #20
str r3, [sp]
mov r5, r1
add r3, sp, #16
ldr r1, .L13+4
add r2, sp, #12
ldr ip, [ip]
str ip, [sp, #36]
mov ip,#0
mov r4, r0
bl sscanf
cmp r0, #3
bne .L10
add r3, sp, #32
str r3, [sp]
mov r0, r5
ldr r1, .L13+4
add r3, sp, #28
add r2, sp, #24
bl sscanf
cmp r0, #3
bne .L11
ldr r2, [sp, #12]
ldr r3, [sp, #24]
cmp r2, r3
bne .L7
ldr r2, [sp, #16]
ldr r3, [sp, #28]
cmp r2, r3
bne .L7
ldr r0, [sp, #20]
ldr r3, [sp, #32]
cmp r0, r3
movge r0, #0
mvnlt r0, #0
.L1:
ldr r3, .L13
ldr r2, [r3]
ldr r3, [sp, #36]
eors r2, r3, r2
mov r3, #0
bne .L12
add sp, sp, #44
@ sp needed
pop {r4, r5, pc}
.L7:
mvn r0, #0
b .L1
.L10:
ldr r1, .L13+8
mov r3, r0
mov r2, r4
ldr r1, [r1]
ldr r0, .L13+12
bl g_critical
mvn r0, #0
b .L1
.L11:
ldr r1, .L13+8
mov r3, r0
mov r2, r5
ldr r1, [r1]
ldr r0, .L13+16
bl g_critical
mvn r0, #0
b .L1
.L12:
bl __stack_chk_fail
.L14:
.align 2
.L13:
.word .LC3
.word .LC0
.word G_STRLOC
.word .LC1
.word .LC2
.size chassis_check_version, .-chassis_check_version
.comm G_STRLOC,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
| anghabench |
.file "extr_chassis-mainloop.c_chassis_free.c"
.intel_syntax noprefix
.text
.p2align 4
.globl chassis_free
.type chassis_free, @function
chassis_free:
.LFB0:
.cfi_startproc
endbr64
test rdi, rdi
je .L1
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
push rbx
.cfi_def_cfa_offset 32
.cfi_offset 3, -32
mov rax, QWORD PTR 80[rdi]
cmp QWORD PTR [rax], 0
je .L3
xor ebx, ebx
.p2align 4,,10
.p2align 3
.L4:
mov rax, QWORD PTR 8[rax]
mov r12, QWORD PTR [rax+rbx*8]
add rbx, 1
mov rdi, QWORD PTR 8[r12]
call g_assert@PLT
mov edi, DWORD PTR [r12]
call [QWORD PTR 8[r12]]
mov rax, QWORD PTR 80[rbp]
cmp QWORD PTR [rax], rbx
ja .L4
.L3:
mov edi, DWORD PTR 8[rbp]
call chassis_shutdown_hooks_call@PLT
mov rdi, QWORD PTR 80[rbp]
cmp QWORD PTR [rdi], 0
je .L5
xor ebx, ebx
.p2align 4,,10
.p2align 3
.L6:
mov rax, QWORD PTR 8[rdi]
mov rdi, QWORD PTR [rax+rbx*8]
add rbx, 1
call chassis_plugin_free@PLT
mov rdi, QWORD PTR 80[rbp]
cmp QWORD PTR [rdi], rbx
ja .L6
.L5:
mov esi, DWORD PTR TRUE[rip]
call g_ptr_array_free@PLT
mov rdi, QWORD PTR 72[rbp]
test rdi, rdi
je .L7
call g_free@PLT
.L7:
mov rdi, QWORD PTR 64[rbp]
test rdi, rdi
je .L8
call g_free@PLT
.L8:
mov rdi, QWORD PTR 56[rbp]
test rdi, rdi
je .L9
call g_free@PLT
.L9:
mov rdi, QWORD PTR 48[rbp]
test rdi, rdi
jne .L40
.L10:
xor edi, edi
call chassis_timestamps_global_free@PLT
mov r12, QWORD PTR 40[rbp]
test r12, r12
je .L11
cmp QWORD PTR [r12], 0
je .L12
xor ebx, ebx
.p2align 4,,10
.p2align 3
.L13:
mov rax, QWORD PTR 8[r12]
mov rdi, QWORD PTR [rax+rbx*8]
add rbx, 1
call chassis_event_thread_free@PLT
cmp QWORD PTR [r12], rbx
ja .L13
.L12:
mov esi, DWORD PTR TRUE[rip]
mov rdi, r12
call g_ptr_array_free@PLT
.L11:
mov rdi, QWORD PTR 32[rbp]
test rdi, rdi
je .L14
call g_free@PLT
.L14:
mov rdi, QWORD PTR 16[rbp]
call g_free@PLT
mov edi, DWORD PTR 8[rbp]
call chassis_shutdown_hooks_free@PLT
mov edi, DWORD PTR 4[rbp]
call lua_scope_free@PLT
mov edi, DWORD PTR 0[rbp]
call network_backends_free@PLT
pop rbx
.cfi_remember_state
.cfi_restore 3
.cfi_def_cfa_offset 24
mov rdi, rbp
pop rbp
.cfi_restore 6
.cfi_def_cfa_offset 16
pop r12
.cfi_restore 12
.cfi_def_cfa_offset 8
jmp g_free@PLT
.p2align 4,,10
.p2align 3
.L40:
.cfi_restore_state
call chassis_stats_free@PLT
jmp .L10
.p2align 4,,10
.p2align 3
.L1:
.cfi_def_cfa_offset 8
.cfi_restore 3
.cfi_restore 6
.cfi_restore 12
ret
.cfi_endproc
.LFE0:
.size chassis_free, .-chassis_free
.globl TRUE
.bss
.align 4
.type TRUE, @object
.size TRUE, 4
TRUE:
.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_chassis-mainloop.c_chassis_free.c"
.text
.align 2
.global chassis_free
.syntax unified
.arm
.fpu softvfp
.type chassis_free, %function
chassis_free:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, lr}
subs r4, r0, #0
popeq {r4, r5, r6, r7, r8, pc}
ldr r3, [r4, #44]
ldr r2, [r3]
cmp r2, #0
beq .L3
mov r5, #0
.L4:
ldr r3, [r3, #4]
ldr r6, [r3, r5, lsl #2]
add r5, r5, #1
ldr r0, [r6, #4]
bl g_assert
ldm r6, {r0, r3}
blx r3
ldr r3, [r4, #44]
ldr r2, [r3]
cmp r2, r5
bhi .L4
.L3:
ldr r0, [r4, #8]
bl chassis_shutdown_hooks_call
ldr r0, [r4, #44]
ldr r3, [r0]
cmp r3, #0
beq .L5
mov r5, #0
.L6:
ldr r3, [r0, #4]
ldr r0, [r3, r5, lsl #2]
bl chassis_plugin_free
ldr r0, [r4, #44]
add r5, r5, #1
ldr r3, [r0]
cmp r3, r5
bhi .L6
.L5:
ldr r7, .L48
ldr r1, [r7]
bl g_ptr_array_free
ldr r0, [r4, #40]
cmp r0, #0
beq .L7
bl g_free
.L7:
ldr r0, [r4, #36]
cmp r0, #0
beq .L8
bl g_free
.L8:
ldr r0, [r4, #32]
cmp r0, #0
beq .L9
bl g_free
.L9:
ldr r0, [r4, #28]
cmp r0, #0
bne .L47
.L10:
mov r0, #0
bl chassis_timestamps_global_free
ldr r6, [r4, #24]
cmp r6, #0
beq .L11
ldr r3, [r6]
cmp r3, #0
beq .L12
mov r5, #0
.L13:
ldr r3, [r6, #4]
ldr r0, [r3, r5, lsl #2]
bl chassis_event_thread_free
ldr r3, [r6]
add r5, r5, #1
cmp r3, r5
bhi .L13
.L12:
mov r0, r6
ldr r1, [r7]
bl g_ptr_array_free
.L11:
ldr r0, [r4, #20]
cmp r0, #0
beq .L14
bl g_free
.L14:
ldr r0, [r4, #12]
bl g_free
ldr r0, [r4, #8]
bl chassis_shutdown_hooks_free
ldr r0, [r4, #4]
bl lua_scope_free
ldr r0, [r4]
bl network_backends_free
mov r0, r4
pop {r4, r5, r6, r7, r8, lr}
b g_free
.L47:
bl chassis_stats_free
b .L10
.L49:
.align 2
.L48:
.word TRUE
.size chassis_free, .-chassis_free
.comm TRUE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
| anghabench |
.file "extr_chassis-mainloop.c_chassis_is_shutdown.c"
.intel_syntax noprefix
.text
.p2align 4
.globl chassis_is_shutdown
.type chassis_is_shutdown, @function
chassis_is_shutdown:
.LFB0:
.cfi_startproc
endbr64
xor eax, eax
cmp DWORD PTR signal_shutdown[rip], 1
sete al
ret
.cfi_endproc
.LFE0:
.size chassis_is_shutdown, .-chassis_is_shutdown
.globl signal_shutdown
.bss
.align 4
.type signal_shutdown, @object
.size signal_shutdown, 4
signal_shutdown:
.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_chassis-mainloop.c_chassis_is_shutdown.c"
.text
.align 2
.global chassis_is_shutdown
.syntax unified
.arm
.fpu softvfp
.type chassis_is_shutdown, %function
chassis_is_shutdown:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr r3, .L3
ldr r0, [r3]
sub r0, r0, #1
clz r0, r0
lsr r0, r0, #5
bx lr
.L4:
.align 2
.L3:
.word signal_shutdown
.size chassis_is_shutdown, .-chassis_is_shutdown
.comm signal_shutdown,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
| anghabench |
.file "extr_chassis-mainloop.c_chassis_set_shutdown_location.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "signal handler"
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC1:
.string "Initiating shutdown, requested from %s"
.text
.p2align 4
.globl chassis_set_shutdown_location
.type chassis_set_shutdown_location, @function
chassis_set_shutdown_location:
.LFB0:
.cfi_startproc
endbr64
mov eax, DWORD PTR signal_shutdown[rip]
test eax, eax
jne .L5
sub rsp, 8
.cfi_def_cfa_offset 16
mov rsi, rdi
test rdi, rdi
lea rax, .LC0[rip]
lea rdi, .LC1[rip]
cmove rsi, rax
call g_message@PLT
mov DWORD PTR signal_shutdown[rip], 1
add rsp, 8
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L5:
mov DWORD PTR signal_shutdown[rip], 1
ret
.cfi_endproc
.LFE0:
.size chassis_set_shutdown_location, .-chassis_set_shutdown_location
.globl signal_shutdown
.bss
.align 4
.type signal_shutdown, @object
.size signal_shutdown, 4
signal_shutdown:
.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_chassis-mainloop.c_chassis_set_shutdown_location.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "signal handler\000"
.align 2
.LC1:
.ascii "Initiating shutdown, requested from %s\000"
.text
.align 2
.global chassis_set_shutdown_location
.syntax unified
.arm
.fpu softvfp
.type chassis_set_shutdown_location, %function
chassis_set_shutdown_location:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
ldr r4, .L6
ldr r3, [r4]
cmp r3, #0
bne .L2
mov r1, r0
ldr r3, .L6+4
cmp r1, #0
moveq r1, r3
ldr r0, .L6+8
bl g_message
.L2:
mov r3, #1
str r3, [r4]
pop {r4, pc}
.L7:
.align 2
.L6:
.word signal_shutdown
.word .LC0
.word .LC1
.size chassis_set_shutdown_location, .-chassis_set_shutdown_location
.comm signal_shutdown,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
| anghabench |
.file "extr_chassis-mainloop.c_event_log_use_glib.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "(libevent) %s"
.text
.p2align 4
.type event_log_use_glib, @function
event_log_use_glib:
.LFB0:
.cfi_startproc
endbr64
cmp DWORD PTR _EVENT_LOG_DEBUG[rip], edi
mov r8d, DWORD PTR G_LOG_LEVEL_DEBUG[rip]
mov eax, DWORD PTR _EVENT_LOG_ERR[rip]
je .L2
cmp DWORD PTR _EVENT_LOG_MSG[rip], edi
mov r8d, DWORD PTR G_LOG_LEVEL_MESSAGE[rip]
je .L2
cmp DWORD PTR _EVENT_LOG_WARN[rip], edi
mov r8d, DWORD PTR G_LOG_LEVEL_WARNING[rip]
je .L2
mov r8d, DWORD PTR G_LOG_LEVEL_CRITICAL[rip]
cmp edi, eax
je .L6
.L1:
ret
.p2align 4,,10
.p2align 3
.L2:
cmp edi, eax
jne .L1
.L6:
mov edi, DWORD PTR G_LOG_DOMAIN[rip]
mov rcx, rsi
lea rdx, .LC0[rip]
mov esi, r8d
jmp g_log@PLT
.cfi_endproc
.LFE0:
.size event_log_use_glib, .-event_log_use_glib
.globl _EVENT_LOG_WARN
.bss
.align 4
.type _EVENT_LOG_WARN, @object
.size _EVENT_LOG_WARN, 4
_EVENT_LOG_WARN:
.zero 4
.globl _EVENT_LOG_MSG
.align 4
.type _EVENT_LOG_MSG, @object
.size _EVENT_LOG_MSG, 4
_EVENT_LOG_MSG:
.zero 4
.globl _EVENT_LOG_ERR
.align 4
.type _EVENT_LOG_ERR, @object
.size _EVENT_LOG_ERR, 4
_EVENT_LOG_ERR:
.zero 4
.globl _EVENT_LOG_DEBUG
.align 4
.type _EVENT_LOG_DEBUG, @object
.size _EVENT_LOG_DEBUG, 4
_EVENT_LOG_DEBUG:
.zero 4
.globl G_LOG_LEVEL_WARNING
.align 4
.type G_LOG_LEVEL_WARNING, @object
.size G_LOG_LEVEL_WARNING, 4
G_LOG_LEVEL_WARNING:
.zero 4
.globl G_LOG_LEVEL_MESSAGE
.align 4
.type G_LOG_LEVEL_MESSAGE, @object
.size G_LOG_LEVEL_MESSAGE, 4
G_LOG_LEVEL_MESSAGE:
.zero 4
.globl G_LOG_LEVEL_DEBUG
.align 4
.type G_LOG_LEVEL_DEBUG, @object
.size G_LOG_LEVEL_DEBUG, 4
G_LOG_LEVEL_DEBUG:
.zero 4
.globl G_LOG_LEVEL_CRITICAL
.align 4
.type G_LOG_LEVEL_CRITICAL, @object
.size G_LOG_LEVEL_CRITICAL, 4
G_LOG_LEVEL_CRITICAL:
.zero 4
.globl G_LOG_DOMAIN
.align 4
.type G_LOG_DOMAIN, @object
.size G_LOG_DOMAIN, 4
G_LOG_DOMAIN:
.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_chassis-mainloop.c_event_log_use_glib.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "(libevent) %s\000"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type event_log_use_glib, %function
event_log_use_glib:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr r3, .L10
ldr r2, .L10+4
ldr ip, [r3]
ldr r3, .L10+8
cmp ip, r0
ldr r2, [r2]
ldr r3, [r3]
beq .L2
ldr r2, .L10+12
ldr r2, [r2]
cmp r2, r0
beq .L8
ldr r2, .L10+16
ldr r2, [r2]
cmp r2, r0
beq .L9
cmp r0, r3
bxne lr
ldr r3, .L10+20
ldr r2, [r3]
.L6:
ldr r0, .L10+24
mov r3, r1
ldr r0, [r0]
mov r1, r2
ldr r2, .L10+28
b g_log
.L8:
ldr r2, .L10+32
ldr r2, [r2]
.L2:
cmp r0, r3
bxne lr
b .L6
.L9:
ldr r2, .L10+36
cmp r0, r3
ldr r2, [r2]
bxne lr
b .L6
.L11:
.align 2
.L10:
.word _EVENT_LOG_DEBUG
.word G_LOG_LEVEL_DEBUG
.word _EVENT_LOG_ERR
.word _EVENT_LOG_MSG
.word _EVENT_LOG_WARN
.word G_LOG_LEVEL_CRITICAL
.word G_LOG_DOMAIN
.word .LC0
.word G_LOG_LEVEL_MESSAGE
.word G_LOG_LEVEL_WARNING
.size event_log_use_glib, .-event_log_use_glib
.comm _EVENT_LOG_WARN,4,4
.comm _EVENT_LOG_MSG,4,4
.comm _EVENT_LOG_ERR,4,4
.comm _EVENT_LOG_DEBUG,4,4
.comm G_LOG_LEVEL_WARNING,4,4
.comm G_LOG_LEVEL_MESSAGE,4,4
.comm G_LOG_LEVEL_DEBUG,4,4
.comm G_LOG_LEVEL_CRITICAL,4,4
.comm G_LOG_DOMAIN,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
| anghabench |
.file "extr_chassis-options.c_chassis_option_set.c"
.intel_syntax noprefix
.text
.p2align 4
.globl chassis_option_set
.type chassis_option_set, @function
chassis_option_set:
.LFB0:
.cfi_startproc
endbr64
push r14
.cfi_def_cfa_offset 16
.cfi_offset 14, -16
mov r14d, edx
push r13
.cfi_def_cfa_offset 24
.cfi_offset 13, -24
mov r13d, ecx
push r12
.cfi_def_cfa_offset 32
.cfi_offset 12, -32
mov r12d, r8d
push rbp
.cfi_def_cfa_offset 40
.cfi_offset 6, -40
mov ebp, r9d
push rbx
.cfi_def_cfa_offset 48
.cfi_offset 3, -48
mov rbx, rdi
mov rdi, rsi
call g_strdup@PLT
mov DWORD PTR 28[rbx], r14d
mov rdi, QWORD PTR 48[rsp]
mov DWORD PTR 24[rbx], r13d
mov DWORD PTR 20[rbx], r12d
mov DWORD PTR 16[rbx], ebp
mov QWORD PTR 32[rbx], rax
call g_strdup@PLT
mov rdi, QWORD PTR 56[rsp]
mov QWORD PTR 8[rbx], rax
call g_strdup@PLT
mov QWORD PTR [rbx], rax
pop rbx
.cfi_def_cfa_offset 40
xor eax, eax
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
.cfi_endproc
.LFE0:
.size chassis_option_set, .-chassis_option_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_chassis-options.c_chassis_option_set.c"
.text
.align 2
.global chassis_option_set
.syntax unified
.arm
.fpu softvfp
.type chassis_option_set, %function
chassis_option_set:
@ args = 16, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, lr}
mov r4, r0
mov r0, r1
mov r6, r2
mov r5, r3
ldr r8, [sp, #24]
ldr r7, [sp, #28]
bl g_strdup
str r6, [r4, #20]
str r0, [r4, #24]
str r5, [r4, #16]
ldr r0, [sp, #32]
str r8, [r4, #12]
str r7, [r4, #8]
bl g_strdup
mov r3, r0
ldr r0, [sp, #36]
str r3, [r4, #4]
bl g_strdup
mov r3, r0
mov r0, #0
str r3, [r4]
pop {r4, r5, r6, r7, r8, pc}
.size chassis_option_set, .-chassis_option_set
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
| anghabench |
.file "extr_chassis-options.c_chassis_options_add.c"
.intel_syntax noprefix
.text
.p2align 4
.globl chassis_options_add
.type chassis_options_add, @function
chassis_options_add:
.LFB0:
.cfi_startproc
endbr64
push r15
.cfi_def_cfa_offset 16
.cfi_offset 15, -16
xor eax, eax
mov r15, rdi
push r14
.cfi_def_cfa_offset 24
.cfi_offset 14, -24
mov r14d, ecx
push r13
.cfi_def_cfa_offset 32
.cfi_offset 13, -32
mov r13d, edx
push r12
.cfi_def_cfa_offset 40
.cfi_offset 12, -40
mov r12, rsi
push rbp
.cfi_def_cfa_offset 48
.cfi_offset 6, -48
push rbx
.cfi_def_cfa_offset 56
.cfi_offset 3, -56
mov ebx, r8d
sub rsp, 24
.cfi_def_cfa_offset 80
mov DWORD PTR 12[rsp], r9d
call chassis_option_new@PLT
push QWORD PTR 88[rsp]
.cfi_def_cfa_offset 88
mov ecx, r14d
mov edx, r13d
push QWORD PTR 88[rsp]
.cfi_def_cfa_offset 96
mov r8d, ebx
mov rsi, r12
mov rdi, rax
mov r9d, DWORD PTR 28[rsp]
mov rbp, rax
call chassis_option_set@PLT
pop rdx
.cfi_def_cfa_offset 88
pop rcx
.cfi_def_cfa_offset 80
test rax, rax
jne .L4
mov rsi, rbp
mov rdi, r15
call chassis_options_add_option@PLT
test rax, rax
jne .L4
.L1:
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
.L4:
.cfi_restore_state
mov rdi, rbp
call chassis_option_free@PLT
mov eax, -1
jmp .L1
.cfi_endproc
.LFE0:
.size chassis_options_add, .-chassis_options_add
.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_chassis-options.c_chassis_options_add.c"
.text
.align 2
.global chassis_options_add
.syntax unified
.arm
.fpu softvfp
.type chassis_options_add, %function
chassis_options_add:
@ args = 16, 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 r4, r1
mov r5, r2
mov fp, r3
add r7, sp, #60
ldr r10, [sp, #56]
ldm r7, {r7, r8, r9}
mov r6, r0
bl chassis_option_new
mov r1, r4
mov r3, fp
mov r2, r5
stmib sp, {r7, r8, r9}
str r10, [sp]
mov r4, r0
bl chassis_option_set
cmp r0, #0
bne .L4
mov r0, r6
mov r1, r4
bl chassis_options_add_option
cmp r0, #0
bne .L4
.L1:
add sp, sp, #20
@ sp needed
pop {r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L4:
mov r0, r4
bl chassis_option_free
mvn r0, #0
b .L1
.size chassis_options_add, .-chassis_options_add
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
| anghabench |
.file "extr_chassis-options.c_chassis_options_add_option.c"
.intel_syntax noprefix
.text
.p2align 4
.globl chassis_options_add_option
.type chassis_options_add_option, @function
chassis_options_add_option:
.LFB0:
.cfi_startproc
endbr64
push rbx
.cfi_def_cfa_offset 16
.cfi_offset 3, -16
mov rbx, rdi
mov edi, DWORD PTR [rdi]
call g_list_append@PLT
mov DWORD PTR [rbx], eax
xor eax, eax
pop rbx
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size chassis_options_add_option, .-chassis_options_add_option
.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_chassis-options.c_chassis_options_add_option.c"
.text
.align 2
.global chassis_options_add_option
.syntax unified
.arm
.fpu softvfp
.type chassis_options_add_option, %function
chassis_options_add_option:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
mov r4, r0
ldr r0, [r0]
bl g_list_append
mov r3, r0
mov r0, #0
str r3, [r4]
pop {r4, pc}
.size chassis_options_add_option, .-chassis_options_add_option
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
| anghabench |
.file "extr_chassis-plugin.c_chassis_plugin_for_name.c"
.intel_syntax noprefix
.text
.p2align 4
.globl chassis_plugin_for_name
.type chassis_plugin_for_name, @function
chassis_plugin_for_name:
.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, 8
.cfi_def_cfa_offset 48
test rdi, rdi
je .L2
mov r13, rsi
test rsi, rsi
je .L2
mov rax, QWORD PTR [rdi]
mov rbp, rdi
cmp QWORD PTR [rax], 0
je .L2
xor ebx, ebx
jmp .L4
.p2align 4,,10
.p2align 3
.L11:
mov rax, QWORD PTR 0[rbp]
add rbx, 1
cmp QWORD PTR [rax], rbx
jbe .L2
.L4:
mov rax, QWORD PTR 8[rax]
mov rsi, r13
mov r12, QWORD PTR [rax+rbx*8]
mov edi, DWORD PTR [r12]
call strcmp@PLT
test eax, eax
jne .L11
add rsp, 8
.cfi_remember_state
.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
.p2align 4,,10
.p2align 3
.L2:
.cfi_restore_state
add rsp, 8
.cfi_def_cfa_offset 40
xor r12d, r12d
pop rbx
.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
.cfi_endproc
.LFE0:
.size chassis_plugin_for_name, .-chassis_plugin_for_name
.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_chassis-plugin.c_chassis_plugin_for_name.c"
.text
.align 2
.global chassis_plugin_for_name
.syntax unified
.arm
.fpu softvfp
.type chassis_plugin_for_name, %function
chassis_plugin_for_name:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, lr}
clz r4, r1
cmp r0, #0
lsr r4, r4, #5
moveq r4, #1
cmp r4, #0
bne .L2
ldr r3, [r0]
mov r6, r0
ldr r2, [r3]
mov r7, r1
cmp r2, #0
bne .L4
b .L2
.L14:
ldr r3, [r6]
ldr r2, [r3]
cmp r2, r4
bls .L2
.L4:
ldr r3, [r3, #4]
mov r1, r7
ldr r5, [r3, r4, lsl #2]
add r4, r4, #1
ldr r0, [r5]
bl strcmp
cmp r0, #0
bne .L14
mov r0, r5
pop {r4, r5, r6, r7, r8, pc}
.L2:
mov r5, #0
mov r0, r5
pop {r4, r5, r6, r7, r8, pc}
.size chassis_plugin_for_name, .-chassis_plugin_for_name
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
| anghabench |
.file "extr_chassis-plugin.c_chassis_plugin_free.c"
.intel_syntax noprefix
.text
.p2align 4
.globl chassis_plugin_free
.type chassis_plugin_free, @function
chassis_plugin_free:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rdi
mov rdi, QWORD PTR 24[rdi]
test rdi, rdi
je .L2
call g_free@PLT
.L2:
mov rdi, QWORD PTR 16[rbp]
test rdi, rdi
je .L3
call g_free@PLT
.L3:
mov rdi, QWORD PTR 8[rbp]
test rdi, rdi
jne .L20
.L4:
mov rdi, QWORD PTR 0[rbp]
test rdi, rdi
je .L5
call g_free@PLT
.L5:
mov rdi, rbp
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 8
jmp g_free@PLT
.p2align 4,,10
.p2align 3
.L20:
.cfi_restore_state
call g_module_close@PLT
jmp .L4
.cfi_endproc
.LFE0:
.size chassis_plugin_free, .-chassis_plugin_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_chassis-plugin.c_chassis_plugin_free.c"
.text
.align 2
.global chassis_plugin_free
.syntax unified
.arm
.fpu softvfp
.type chassis_plugin_free, %function
chassis_plugin_free:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
mov r4, r0
ldr r0, [r0, #12]
cmp r0, #0
beq .L2
bl g_free
.L2:
ldr r0, [r4, #8]
cmp r0, #0
beq .L3
bl g_free
.L3:
ldr r0, [r4, #4]
cmp r0, #0
bne .L20
.L4:
ldr r0, [r4]
cmp r0, #0
beq .L5
bl g_free
.L5:
mov r0, r4
pop {r4, lr}
b g_free
.L20:
bl g_module_close
b .L4
.size chassis_plugin_free, .-chassis_plugin_free
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
| anghabench |
.file "extr_chassis-plugin.c_chassis_plugin_get_options.c"
.intel_syntax noprefix
.text
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC0:
.string "adding config options for module '%s' failed"
.text
.p2align 4
.globl chassis_plugin_get_options
.type chassis_plugin_get_options, @function
chassis_plugin_get_options:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
push rbx
.cfi_def_cfa_offset 24
.cfi_offset 3, -24
sub rsp, 8
.cfi_def_cfa_offset 32
mov rax, QWORD PTR 8[rdi]
test rax, rax
je .L3
mov rbx, rdi
mov edi, DWORD PTR 4[rdi]
call rax
mov r12, rax
test rax, rax
je .L6
.L1:
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
mov rax, r12
pop rbx
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L6:
.cfi_restore_state
mov esi, DWORD PTR [rbx]
lea rdi, .LC0[rip]
call g_critical@PLT
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 24
mov rax, r12
pop rbx
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L3:
.cfi_restore_state
xor r12d, r12d
jmp .L1
.cfi_endproc
.LFE0:
.size chassis_plugin_get_options, .-chassis_plugin_get_options
.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_chassis-plugin.c_chassis_plugin_get_options.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "adding config options for module '%s' failed\000"
.text
.align 2
.global chassis_plugin_get_options
.syntax unified
.arm
.fpu softvfp
.type chassis_plugin_get_options, %function
chassis_plugin_get_options:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
ldr r3, [r0, #8]
push {r4, r5, r6, lr}
cmp r3, #0
beq .L3
mov r5, r0
ldr r0, [r0, #4]
blx r3
subs r4, r0, #0
beq .L6
.L1:
mov r0, r4
pop {r4, r5, r6, pc}
.L6:
ldr r1, [r5]
ldr r0, .L7
bl g_critical
mov r0, r4
pop {r4, r5, r6, pc}
.L3:
mov r4, r3
b .L1
.L8:
.align 2
.L7:
.word .LC0
.size chassis_plugin_get_options, .-chassis_plugin_get_options
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
| anghabench |
.file "extr_chassis-plugin.c_chassis_plugin_init.c"
.intel_syntax noprefix
.text
.p2align 4
.globl chassis_plugin_init
.type chassis_plugin_init, @function
chassis_plugin_init:
.LFB0:
.cfi_startproc
endbr64
xor eax, eax
jmp chassis_plugin_new@PLT
.cfi_endproc
.LFE0:
.size chassis_plugin_init, .-chassis_plugin_init
.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_chassis-plugin.c_chassis_plugin_init.c"
.text
.align 2
.global chassis_plugin_init
.syntax unified
.arm
.fpu softvfp
.type chassis_plugin_init, %function
chassis_plugin_init:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
b chassis_plugin_new
.size chassis_plugin_init, .-chassis_plugin_init
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
| anghabench |
.file "extr_chassis-plugin.c_chassis_plugin_load.c"
.intel_syntax noprefix
.text
.section .rodata.str1.8,"aMS",@progbits,1
.align 8
.LC0:
.string "loading module '%s' failed: %s"
.section .rodata.str1.1,"aMS",@progbits,1
.LC1:
.string "plugin_init"
.section .rodata.str1.8
.align 8
.LC2:
.string "module '%s' doesn't have a init-function: %s"
.align 8
.LC3:
.string "init-function for module '%s' failed"
.align 8
.LC4:
.string "plugin '%s' doesn't match the current plugin interface (plugin is %lx, chassis is %lx)"
.align 8
.LC5:
.string "plugin '%s' doesn't set a version number, refusing to load this plugin"
.text
.p2align 4
.globl chassis_plugin_load
.type chassis_plugin_load, @function
chassis_plugin_load:
.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
sub rsp, 24
.cfi_def_cfa_offset 48
mov rax, QWORD PTR fs:40
mov QWORD PTR 8[rsp], rax
xor eax, eax
call chassis_plugin_new@PLT
mov esi, DWORD PTR G_MODULE_BIND_LOCAL[rip]
mov rdi, rbp
mov r12, rax
call g_module_open@PLT
mov DWORD PTR 44[r12], eax
test eax, eax
je .L21
mov edi, eax
mov rdx, rsp
lea rsi, .LC1[rip]
call g_module_symbol@PLT
test eax, eax
je .L22
mov rdi, r12
call [QWORD PTR [rsp]]
mov rsi, rbp
lea rdi, .LC3[rip]
test eax, eax
jne .L19
mov rdx, QWORD PTR [r12]
mov rcx, QWORD PTR CHASSIS_PLUGIN_MAGIC[rip]
cmp rdx, rcx
jne .L23
mov rdx, QWORD PTR 32[r12]
test rdx, rdx
je .L7
xor eax, eax
call rdx
mov DWORD PTR 40[r12], eax
.L7:
cmp QWORD PTR 24[r12], 0
je .L24
.L8:
mov eax, DWORD PTR 20[r12]
test eax, eax
je .L25
mov rdx, QWORD PTR 8[r12]
test rdx, rdx
je .L1
xor eax, eax
call rdx
mov DWORD PTR 16[r12], eax
.L1:
mov rax, QWORD PTR 8[rsp]
sub rax, QWORD PTR fs:40
jne .L26
add rsp, 24
.cfi_remember_state
.cfi_def_cfa_offset 24
mov rax, r12
pop rbp
.cfi_def_cfa_offset 16
pop r12
.cfi_def_cfa_offset 8
ret
.p2align 4,,10
.p2align 3
.L24:
.cfi_restore_state
mov rdi, rbp
call g_strdup@PLT
mov QWORD PTR 24[r12], rax
jmp .L8
.p2align 4,,10
.p2align 3
.L21:
xor eax, eax
call g_module_error@PLT
mov rsi, rbp
lea rdi, .LC0[rip]
mov edx, eax
.L18:
xor eax, eax
call g_critical@PLT
mov rdi, r12
xor r12d, r12d
call chassis_plugin_free@PLT
jmp .L1
.p2align 4,,10
.p2align 3
.L25:
mov rsi, rbp
lea rdi, .LC5[rip]
.L19:
xor eax, eax
call g_critical@PLT
mov rdi, r12
xor r12d, r12d
call chassis_plugin_free@PLT
jmp .L1
.p2align 4,,10
.p2align 3
.L23:
lea rdi, .LC4[rip]
xor eax, eax
call g_critical@PLT
mov rdi, r12
xor r12d, r12d
call chassis_plugin_free@PLT
jmp .L1
.p2align 4,,10
.p2align 3
.L22:
call g_module_error@PLT
mov rsi, rbp
lea rdi, .LC2[rip]
mov edx, eax
jmp .L18
.L26:
call __stack_chk_fail@PLT
.cfi_endproc
.LFE0:
.size chassis_plugin_load, .-chassis_plugin_load
.globl G_MODULE_BIND_LOCAL
.bss
.align 4
.type G_MODULE_BIND_LOCAL, @object
.size G_MODULE_BIND_LOCAL, 4
G_MODULE_BIND_LOCAL:
.zero 4
.globl CHASSIS_PLUGIN_MAGIC
.align 8
.type CHASSIS_PLUGIN_MAGIC, @object
.size CHASSIS_PLUGIN_MAGIC, 8
CHASSIS_PLUGIN_MAGIC:
.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_chassis-plugin.c_chassis_plugin_load.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "loading module '%s' failed: %s\000"
.align 2
.LC1:
.ascii "plugin_init\000"
.align 2
.LC2:
.ascii "module '%s' doesn't have a init-function: %s\000"
.align 2
.LC3:
.ascii "init-function for module '%s' failed\000"
.align 2
.LC4:
.ascii "plugin '%s' doesn't match the current plugin interf"
.ascii "ace (plugin is %lx, chassis is %lx)\000"
.align 2
.LC5:
.ascii "plugin '%s' doesn't set a version number, refusing "
.ascii "to load this plugin\000"
.section .rodata.cst4,"aM",%progbits,4
.align 2
.LC6:
.word __stack_chk_guard
.text
.align 2
.global chassis_plugin_load
.syntax unified
.arm
.fpu softvfp
.type chassis_plugin_load, %function
chassis_plugin_load:
@ args = 0, pretend = 0, frame = 8
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
ldr r3, .L26
sub sp, sp, #8
mov r6, r0
ldr r3, [r3]
str r3, [sp, #4]
mov r3,#0
bl chassis_plugin_new
ldr r3, .L26+4
mov r4, r0
ldr r1, [r3]
mov r0, r6
bl g_module_open
cmp r0, #0
str r0, [r4, #28]
beq .L19
mov r2, sp
ldr r1, .L26+8
bl g_module_symbol
subs r5, r0, #0
beq .L20
mov r0, r4
ldr r3, [sp]
blx r3
subs r5, r0, #0
bne .L21
ldr r3, .L26+12
ldr r2, [r4]
ldr r3, [r3]
cmp r2, r3
bne .L22
ldr r3, [r4, #20]
cmp r3, #0
beq .L7
blx r3
str r0, [r4, #24]
.L7:
ldr r3, [r4, #16]
cmp r3, #0
beq .L23
.L8:
ldr r5, [r4, #12]
cmp r5, #0
beq .L24
ldr r3, [r4, #4]
cmp r3, #0
beq .L1
blx r3
str r0, [r4, #8]
.L1:
ldr r3, .L26
ldr r2, [r3]
ldr r3, [sp, #4]
eors r2, r3, r2
mov r3, #0
bne .L25
mov r0, r4
add sp, sp, #8
@ sp needed
pop {r4, r5, r6, pc}
.L23:
mov r0, r6
bl g_strdup
str r0, [r4, #16]
b .L8
.L19:
mov r5, r0
bl g_module_error
mov r1, r6
mov r2, r0
ldr r0, .L26+16
bl g_critical
mov r0, r4
bl chassis_plugin_free
mov r4, r5
b .L1
.L22:
mov r1, r6
ldr r0, .L26+20
bl g_critical
mov r0, r4
bl chassis_plugin_free
mov r4, r5
b .L1
.L20:
bl g_module_error
mov r1, r6
mov r2, r0
ldr r0, .L26+24
bl g_critical
mov r0, r4
bl chassis_plugin_free
mov r4, r5
b .L1
.L21:
mov r1, r6
ldr r0, .L26+28
bl g_critical
mov r0, r4
bl chassis_plugin_free
mov r4, #0
b .L1
.L24:
mov r1, r6
ldr r0, .L26+32
bl g_critical
mov r0, r4
bl chassis_plugin_free
mov r4, r5
b .L1
.L25:
bl __stack_chk_fail
.L27:
.align 2
.L26:
.word .LC6
.word G_MODULE_BIND_LOCAL
.word .LC1
.word CHASSIS_PLUGIN_MAGIC
.word .LC0
.word .LC4
.word .LC2
.word .LC3
.word .LC5
.size chassis_plugin_load, .-chassis_plugin_load
.comm G_MODULE_BIND_LOCAL,4,4
.comm CHASSIS_PLUGIN_MAGIC,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
| anghabench |
.file "extr_chassis-shutdown-hooks.c_chassis_shutdown_hooks_call.c"
.intel_syntax noprefix
.text
.p2align 4
.globl chassis_shutdown_hooks_call
.type chassis_shutdown_hooks_call, @function
chassis_shutdown_hooks_call:
.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
push rbx
.cfi_def_cfa_offset 40
.cfi_offset 3, -40
sub rsp, 40
.cfi_def_cfa_offset 80
mov rax, QWORD PTR fs:40
mov QWORD PTR 24[rsp], rax
xor eax, eax
lea rbx, 4[rsp]
lea r12, 16[rsp]
call chassis_shutdown_hooks_lock@PLT
mov esi, DWORD PTR 0[r13]
mov rdi, rbx
lea rbp, 8[rsp]
call g_hash_table_iter_init@PLT
jmp .L2
.p2align 4,,10
.p2align 3
.L4:
mov rax, QWORD PTR 16[rsp]
mov rdx, QWORD PTR 16[rax]
test rdx, rdx
je .L3
cmp QWORD PTR [rax], 0
jne .L3
mov edi, DWORD PTR 8[rax]
call rdx
mov rax, QWORD PTR 16[rsp]
.L3:
mov rdx, QWORD PTR TRUE[rip]
mov QWORD PTR [rax], rdx
.L2:
mov rdx, r12
mov rsi, rbp
mov rdi, rbx
call g_hash_table_iter_next@PLT
test rax, rax
jne .L4
mov rdi, r13
call chassis_shutdown_hooks_unlock@PLT
mov rax, QWORD PTR 24[rsp]
sub rax, QWORD PTR fs:40
jne .L11
add rsp, 40
.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
.L11:
.cfi_restore_state
call __stack_chk_fail@PLT
.cfi_endproc
.LFE0:
.size chassis_shutdown_hooks_call, .-chassis_shutdown_hooks_call
.globl TRUE
.bss
.align 8
.type TRUE, @object
.size TRUE, 8
TRUE:
.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_chassis-shutdown-hooks.c_chassis_shutdown_hooks_call.c"
.text
.section .rodata.cst4,"aM",%progbits,4
.align 2
.LC0:
.word __stack_chk_guard
.text
.align 2
.global chassis_shutdown_hooks_call
.syntax unified
.arm
.fpu softvfp
.type chassis_shutdown_hooks_call, %function
chassis_shutdown_hooks_call:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, lr}
mov r5, r0
ldr r3, .L12
sub sp, sp, #20
ldr r3, [r3]
str r3, [sp, #12]
mov r3,#0
bl chassis_shutdown_hooks_lock
mov r0, sp
ldr r1, [r5]
bl g_hash_table_iter_init
ldr r4, .L12+4
b .L2
.L4:
ldr r3, [sp, #8]
ldr r2, [r3, #8]
cmp r2, #0
beq .L3
ldr r1, [r3]
cmp r1, #0
bne .L3
ldr r0, [r3, #4]
blx r2
ldr r3, [sp, #8]
.L3:
ldr r2, [r4]
str r2, [r3]
.L2:
mov r0, sp
add r2, sp, #8
add r1, sp, #4
bl g_hash_table_iter_next
cmp r0, #0
bne .L4
mov r0, r5
bl chassis_shutdown_hooks_unlock
ldr r3, .L12
ldr r2, [r3]
ldr r3, [sp, #12]
eors r2, r3, r2
mov r3, #0
bne .L11
add sp, sp, #20
@ sp needed
pop {r4, r5, pc}
.L11:
bl __stack_chk_fail
.L13:
.align 2
.L12:
.word .LC0
.word TRUE
.size chassis_shutdown_hooks_call, .-chassis_shutdown_hooks_call
.comm TRUE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
| anghabench |
.file "extr_chassis-shutdown-hooks.c_chassis_shutdown_hooks_lock.c"
.intel_syntax noprefix
.text
.p2align 4
.globl chassis_shutdown_hooks_lock
.type chassis_shutdown_hooks_lock, @function
chassis_shutdown_hooks_lock:
.LFB0:
.cfi_startproc
endbr64
mov edi, DWORD PTR [rdi]
jmp g_mutex_lock@PLT
.cfi_endproc
.LFE0:
.size chassis_shutdown_hooks_lock, .-chassis_shutdown_hooks_lock
.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_chassis-shutdown-hooks.c_chassis_shutdown_hooks_lock.c"
.text
.align 2
.global chassis_shutdown_hooks_lock
.syntax unified
.arm
.fpu softvfp
.type chassis_shutdown_hooks_lock, %function
chassis_shutdown_hooks_lock:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr r0, [r0]
b g_mutex_lock
.size chassis_shutdown_hooks_lock, .-chassis_shutdown_hooks_lock
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
| anghabench |
.file "extr_chassis-shutdown-hooks.c_chassis_shutdown_hooks_register.c"
.intel_syntax noprefix
.text
.p2align 4
.globl chassis_shutdown_hooks_register
.type chassis_shutdown_hooks_register, @function
chassis_shutdown_hooks_register:
.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 r12d, DWORD PTR FALSE[rip]
push rbp
.cfi_def_cfa_offset 48
.cfi_offset 6, -48
mov rbp, rdi
call chassis_shutdown_hooks_lock@PLT
mov edi, DWORD PTR 0[rbp]
mov edx, r14d
mov rsi, r13
call g_hash_table_lookup_const@PLT
test rax, rax
je .L5
.L2:
mov rdi, rbp
call chassis_shutdown_hooks_unlock@PLT
pop rbp
.cfi_remember_state
.cfi_def_cfa_offset 40
mov eax, r12d
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
mov esi, r14d
mov rdi, r13
call g_string_new_len@PLT
mov edi, DWORD PTR 0[rbp]
mov rdx, r15
mov esi, eax
call g_hash_table_insert@PLT
mov r12d, DWORD PTR TRUE[rip]
jmp .L2
.cfi_endproc
.LFE0:
.size chassis_shutdown_hooks_register, .-chassis_shutdown_hooks_register
.globl TRUE
.bss
.align 4
.type TRUE, @object
.size TRUE, 4
TRUE:
.zero 4
.globl FALSE
.align 4
.type FALSE, @object
.size FALSE, 4
FALSE:
.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_chassis-shutdown-hooks.c_chassis_shutdown_hooks_register.c"
.text
.align 2
.global chassis_shutdown_hooks_register
.syntax unified
.arm
.fpu softvfp
.type chassis_shutdown_hooks_register, %function
chassis_shutdown_hooks_register:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, lr}
mov r4, r0
mov r5, r1
mov r6, r2
ldr ip, .L6
mov r8, r3
ldr r7, [ip]
bl chassis_shutdown_hooks_lock
mov r2, r6
mov r1, r5
ldr r0, [r4]
bl g_hash_table_lookup_const
cmp r0, #0
beq .L5
.L2:
mov r0, r4
bl chassis_shutdown_hooks_unlock
mov r0, r7
pop {r4, r5, r6, r7, r8, pc}
.L5:
mov r1, r6
mov r0, r5
ldr r5, [r4]
bl g_string_new_len
mov r2, r8
mov r1, r0
mov r0, r5
bl g_hash_table_insert
ldr r3, .L6+4
ldr r7, [r3]
b .L2
.L7:
.align 2
.L6:
.word FALSE
.word TRUE
.size chassis_shutdown_hooks_register, .-chassis_shutdown_hooks_register
.comm TRUE,4,4
.comm FALSE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
| anghabench |
.file "extr_chassis-shutdown-hooks.c_chassis_shutdown_hooks_unlock.c"
.intel_syntax noprefix
.text
.p2align 4
.globl chassis_shutdown_hooks_unlock
.type chassis_shutdown_hooks_unlock, @function
chassis_shutdown_hooks_unlock:
.LFB0:
.cfi_startproc
endbr64
mov edi, DWORD PTR [rdi]
jmp g_mutex_unlock@PLT
.cfi_endproc
.LFE0:
.size chassis_shutdown_hooks_unlock, .-chassis_shutdown_hooks_unlock
.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_chassis-shutdown-hooks.c_chassis_shutdown_hooks_unlock.c"
.text
.align 2
.global chassis_shutdown_hooks_unlock
.syntax unified
.arm
.fpu softvfp
.type chassis_shutdown_hooks_unlock, %function
chassis_shutdown_hooks_unlock:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr r0, [r0]
b g_mutex_unlock
.size chassis_shutdown_hooks_unlock, .-chassis_shutdown_hooks_unlock
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
| anghabench |
.file "extr_chassis-shutdown-hooks.c_g_string_free_true.c"
.intel_syntax noprefix
.text
.p2align 4
.type g_string_free_true, @function
g_string_free_true:
.LFB0:
.cfi_startproc
endbr64
mov esi, DWORD PTR TRUE[rip]
jmp g_string_free@PLT
.cfi_endproc
.LFE0:
.size g_string_free_true, .-g_string_free_true
.globl TRUE
.bss
.align 4
.type TRUE, @object
.size TRUE, 4
TRUE:
.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_chassis-shutdown-hooks.c_g_string_free_true.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type g_string_free_true, %function
g_string_free_true:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr r3, .L3
ldr r1, [r3]
b g_string_free
.L4:
.align 2
.L3:
.word TRUE
.size g_string_free_true, .-g_string_free_true
.comm TRUE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
| anghabench |
.file "extr_chassis-stats.c_chassis_stats_free.c"
.intel_syntax noprefix
.text
.p2align 4
.globl chassis_stats_free
.type chassis_stats_free, @function
chassis_stats_free:
.LFB0:
.cfi_startproc
endbr64
test rdi, rdi
je .L8
cmp QWORD PTR chassis_global_stats[rip], rdi
je .L12
xor eax, eax
jmp g_assert_not_reached@PLT
.p2align 4,,10
.p2align 3
.L8:
ret
.p2align 4,,10
.p2align 3
.L12:
sub rsp, 8
.cfi_def_cfa_offset 16
call g_free@PLT
mov QWORD PTR chassis_global_stats[rip], 0
add rsp, 8
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size chassis_stats_free, .-chassis_stats_free
.globl chassis_global_stats
.bss
.align 8
.type chassis_global_stats, @object
.size chassis_global_stats, 8
chassis_global_stats:
.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_chassis-stats.c_chassis_stats_free.c"
.text
.align 2
.global chassis_stats_free
.syntax unified
.arm
.fpu softvfp
.type chassis_stats_free, %function
chassis_stats_free:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
subs r3, r0, #0
bxeq lr
push {r4, lr}
ldr r4, .L13
ldr r2, [r4]
cmp r2, r3
beq .L12
pop {r4, lr}
b g_assert_not_reached
.L12:
bl g_free
mov r3, #0
str r3, [r4]
pop {r4, pc}
.L14:
.align 2
.L13:
.word chassis_global_stats
.size chassis_stats_free, .-chassis_stats_free
.comm chassis_global_stats,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
| anghabench |
.file "extr_chassis-timings.c_chassis_calc_rel_microseconds.c"
.intel_syntax noprefix
.text
.p2align 4
.globl chassis_calc_rel_microseconds
.type chassis_calc_rel_microseconds, @function
chassis_calc_rel_microseconds:
.LFB0:
.cfi_startproc
endbr64
subsd xmm1, xmm0
movapd xmm0, xmm1
ret
.cfi_endproc
.LFE0:
.size chassis_calc_rel_microseconds, .-chassis_calc_rel_microseconds
.globl chassis_timestamps_global
.bss
.align 8
.type chassis_timestamps_global, @object
.size chassis_timestamps_global, 8
chassis_timestamps_global:
.zero 8
.globl MICROS_IN_SEC
.align 8
.type MICROS_IN_SEC, @object
.size MICROS_IN_SEC, 8
MICROS_IN_SEC:
.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_chassis-timings.c_chassis_calc_rel_microseconds.c"
.text
.global __aeabi_dsub
.align 2
.global chassis_calc_rel_microseconds
.syntax unified
.arm
.fpu softvfp
.type chassis_calc_rel_microseconds, %function
chassis_calc_rel_microseconds:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r4, r0
mov r5, r1
mov r0, r2
mov r1, r3
mov r2, r4
mov r3, r5
bl __aeabi_dsub
pop {r4, r5, r6, pc}
.size chassis_calc_rel_microseconds, .-chassis_calc_rel_microseconds
.comm chassis_timestamps_global,4,4
.comm MICROS_IN_SEC,8,8
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
| anghabench |
.file "extr_chassis-timings.c_chassis_get_rel_microseconds.c"
.intel_syntax noprefix
.text
.p2align 4
.globl chassis_get_rel_microseconds
.type chassis_get_rel_microseconds, @function
chassis_get_rel_microseconds:
.LFB0:
.cfi_startproc
endbr64
xor eax, eax
jmp my_timer_microseconds@PLT
.cfi_endproc
.LFE0:
.size chassis_get_rel_microseconds, .-chassis_get_rel_microseconds
.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_chassis-timings.c_chassis_get_rel_microseconds.c"
.text
.align 2
.global chassis_get_rel_microseconds
.syntax unified
.arm
.fpu softvfp
.type chassis_get_rel_microseconds, %function
chassis_get_rel_microseconds:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
b my_timer_microseconds
.size chassis_get_rel_microseconds, .-chassis_get_rel_microseconds
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
| anghabench |
.file "extr_chassis-timings.c_chassis_get_rel_milliseconds.c"
.intel_syntax noprefix
.text
.p2align 4
.globl chassis_get_rel_milliseconds
.type chassis_get_rel_milliseconds, @function
chassis_get_rel_milliseconds:
.LFB0:
.cfi_startproc
endbr64
xor eax, eax
jmp my_timer_milliseconds@PLT
.cfi_endproc
.LFE0:
.size chassis_get_rel_milliseconds, .-chassis_get_rel_milliseconds
.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_chassis-timings.c_chassis_get_rel_milliseconds.c"
.text
.align 2
.global chassis_get_rel_milliseconds
.syntax unified
.arm
.fpu softvfp
.type chassis_get_rel_milliseconds, %function
chassis_get_rel_milliseconds:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
b my_timer_milliseconds
.size chassis_get_rel_milliseconds, .-chassis_get_rel_milliseconds
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
| anghabench |
.file "extr_chassis-timings.c_chassis_get_rel_nanoseconds.c"
.intel_syntax noprefix
.text
.p2align 4
.globl chassis_get_rel_nanoseconds
.type chassis_get_rel_nanoseconds, @function
chassis_get_rel_nanoseconds:
.LFB0:
.cfi_startproc
endbr64
xor eax, eax
jmp my_timer_nanoseconds@PLT
.cfi_endproc
.LFE0:
.size chassis_get_rel_nanoseconds, .-chassis_get_rel_nanoseconds
.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_chassis-timings.c_chassis_get_rel_nanoseconds.c"
.text
.align 2
.global chassis_get_rel_nanoseconds
.syntax unified
.arm
.fpu softvfp
.type chassis_get_rel_nanoseconds, %function
chassis_get_rel_nanoseconds:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
b my_timer_nanoseconds
.size chassis_get_rel_nanoseconds, .-chassis_get_rel_nanoseconds
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
| anghabench |
.file "extr_chassis-timings.c_chassis_timestamp_free.c"
.intel_syntax noprefix
.text
.p2align 4
.globl chassis_timestamp_free
.type chassis_timestamp_free, @function
chassis_timestamp_free:
.LFB0:
.cfi_startproc
endbr64
jmp g_free@PLT
.cfi_endproc
.LFE0:
.size chassis_timestamp_free, .-chassis_timestamp_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_chassis-timings.c_chassis_timestamp_free.c"
.text
.align 2
.global chassis_timestamp_free
.syntax unified
.arm
.fpu softvfp
.type chassis_timestamp_free, %function
chassis_timestamp_free:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
b g_free
.size chassis_timestamp_free, .-chassis_timestamp_free
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
| anghabench |
.file "extr_chassis-timings.c_chassis_timestamp_init_now.c"
.intel_syntax noprefix
.text
.p2align 4
.globl chassis_timestamp_init_now
.type chassis_timestamp_init_now, @function
chassis_timestamp_init_now:
.LFB0:
.cfi_startproc
endbr64
push rbx
.cfi_def_cfa_offset 16
.cfi_offset 3, -16
xor eax, eax
mov rbx, rdi
mov QWORD PTR [rdi], rsi
mov QWORD PTR 8[rdi], rdx
mov DWORD PTR 28[rdi], ecx
call my_timer_microseconds@PLT
mov DWORD PTR 24[rbx], eax
xor eax, eax
call my_timer_cycles@PLT
mov DWORD PTR 20[rbx], eax
xor eax, eax
call my_timer_ticks@PLT
mov DWORD PTR 16[rbx], eax
pop rbx
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size chassis_timestamp_init_now, .-chassis_timestamp_init_now
.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_chassis-timings.c_chassis_timestamp_init_now.c"
.text
.align 2
.global chassis_timestamp_init_now
.syntax unified
.arm
.fpu softvfp
.type chassis_timestamp_init_now, %function
chassis_timestamp_init_now:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
stm r0, {r1, r2}
str r3, [r0, #20]
mov r4, r0
bl my_timer_microseconds
str r0, [r4, #16]
bl my_timer_cycles
str r0, [r4, #12]
bl my_timer_ticks
str r0, [r4, #8]
pop {r4, pc}
.size chassis_timestamp_init_now, .-chassis_timestamp_init_now
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
| anghabench |
.file "extr_chassis-timings.c_chassis_timestamps_add.c"
.intel_syntax noprefix
.text
.p2align 4
.globl chassis_timestamps_add
.type chassis_timestamps_add, @function
chassis_timestamps_add:
.LFB0:
.cfi_startproc
endbr64
push r14
.cfi_def_cfa_offset 16
.cfi_offset 14, -16
xor eax, eax
mov r14d, ecx
push r13
.cfi_def_cfa_offset 24
.cfi_offset 13, -24
mov r13, rdx
push r12
.cfi_def_cfa_offset 32
.cfi_offset 12, -32
mov r12, rsi
push rbp
.cfi_def_cfa_offset 40
.cfi_offset 6, -40
push rbx
.cfi_def_cfa_offset 48
.cfi_offset 3, -48
mov rbx, rdi
call chassis_timestamp_new@PLT
mov rsi, r12
mov ecx, r14d
mov rdx, r13
mov rdi, rax
mov rbp, rax
call chassis_timestamp_init_now@PLT
mov edi, DWORD PTR [rbx]
mov rsi, rbp
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
jmp g_queue_push_tail@PLT
.cfi_endproc
.LFE0:
.size chassis_timestamps_add, .-chassis_timestamps_add
.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_chassis-timings.c_chassis_timestamps_add.c"
.text
.align 2
.global chassis_timestamps_add
.syntax unified
.arm
.fpu softvfp
.type chassis_timestamps_add, %function
chassis_timestamps_add:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, r7, r8, lr}
mov r4, r0
mov r5, r1
mov r6, r2
mov r7, r3
bl chassis_timestamp_new
mov r1, r5
mov r5, r0
mov r3, r7
mov r2, r6
bl chassis_timestamp_init_now
mov r1, r5
ldr r0, [r4]
pop {r4, r5, r6, r7, r8, lr}
b g_queue_push_tail
.size chassis_timestamps_add, .-chassis_timestamps_add
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
| anghabench |
.file "extr_chassis-timings.c_chassis_timestamps_free.c"
.intel_syntax noprefix
.text
.p2align 4
.globl chassis_timestamps_free
.type chassis_timestamps_free, @function
chassis_timestamps_free:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rdi
jmp .L2
.p2align 4,,10
.p2align 3
.L3:
call chassis_timestamp_free@PLT
.L2:
mov edi, DWORD PTR 0[rbp]
call g_queue_pop_head@PLT
mov rdi, rax
test rax, rax
jne .L3
mov edi, DWORD PTR 0[rbp]
call g_queue_free@PLT
mov rdi, rbp
pop rbp
.cfi_def_cfa_offset 8
jmp g_free@PLT
.cfi_endproc
.LFE0:
.size chassis_timestamps_free, .-chassis_timestamps_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_chassis-timings.c_chassis_timestamps_free.c"
.text
.align 2
.global chassis_timestamps_free
.syntax unified
.arm
.fpu softvfp
.type chassis_timestamps_free, %function
chassis_timestamps_free:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
mov r4, r0
b .L2
.L3:
bl chassis_timestamp_free
.L2:
ldr r0, [r4]
bl g_queue_pop_head
cmp r0, #0
bne .L3
ldr r0, [r4]
bl g_queue_free
mov r0, r4
pop {r4, lr}
b g_free
.size chassis_timestamps_free, .-chassis_timestamps_free
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
| anghabench |
.file "extr_chassis-timings.c_chassis_timestamps_global_free.c"
.intel_syntax noprefix
.text
.p2align 4
.globl chassis_timestamps_global_free
.type chassis_timestamps_global_free, @function
chassis_timestamps_global_free:
.LFB0:
.cfi_startproc
endbr64
test rdi, rdi
je .L4
jmp g_free@PLT
.p2align 4,,10
.p2align 3
.L4:
mov rdi, QWORD PTR chassis_timestamps_global[rip]
jmp g_free@PLT
.cfi_endproc
.LFE0:
.size chassis_timestamps_global_free, .-chassis_timestamps_global_free
.globl chassis_timestamps_global
.bss
.align 8
.type chassis_timestamps_global, @object
.size chassis_timestamps_global, 8
chassis_timestamps_global:
.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_chassis-timings.c_chassis_timestamps_global_free.c"
.text
.align 2
.global chassis_timestamps_global_free
.syntax unified
.arm
.fpu softvfp
.type chassis_timestamps_global_free, %function
chassis_timestamps_global_free:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
cmp r0, #0
beq .L4
b g_free
.L4:
ldr r3, .L5
ldr r0, [r3]
b g_free
.L6:
.align 2
.L5:
.word chassis_timestamps_global
.size chassis_timestamps_global_free, .-chassis_timestamps_global_free
.comm chassis_timestamps_global,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
| anghabench |
.file "extr_chassis-unix-daemon.c_chassis_unix_daemonize.c"
.intel_syntax noprefix
.text
.section .rodata.str1.1,"aMS",@progbits,1
.LC0:
.string "/"
.text
.p2align 4
.globl chassis_unix_daemonize
.type chassis_unix_daemonize, @function
chassis_unix_daemonize:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 8
.cfi_def_cfa_offset 16
xor eax, eax
call fork@PLT
test rax, rax
jne .L13
xor eax, eax
call setsid@PLT
cmp eax, -1
je .L14
.L3:
mov esi, DWORD PTR SIG_IGN[rip]
mov edi, DWORD PTR SIGHUP[rip]
call signal@PLT
xor eax, eax
call fork@PLT
test rax, rax
jne .L15
.L4:
lea rdi, .LC0[rip]
call chdir@PLT
xor edi, edi
add rsp, 8
.cfi_remember_state
.cfi_def_cfa_offset 8
jmp umask@PLT
.p2align 4,,10
.p2align 3
.L13:
.cfi_restore_state
xor edi, edi
call exit@PLT
xor eax, eax
call setsid@PLT
cmp eax, -1
jne .L3
.L14:
xor edi, edi
call exit@PLT
jmp .L3
.p2align 4,,10
.p2align 3
.L15:
xor edi, edi
call exit@PLT
jmp .L4
.cfi_endproc
.LFE0:
.size chassis_unix_daemonize, .-chassis_unix_daemonize
.globl SIG_IGN
.bss
.align 4
.type SIG_IGN, @object
.size SIG_IGN, 4
SIG_IGN:
.zero 4
.globl SIGTTOU
.align 4
.type SIGTTOU, @object
.size SIGTTOU, 4
SIGTTOU:
.zero 4
.globl SIGTTIN
.align 4
.type SIGTTIN, @object
.size SIGTTIN, 4
SIGTTIN:
.zero 4
.globl SIGTSTP
.align 4
.type SIGTSTP, @object
.size SIGTSTP, 4
SIGTSTP:
.zero 4
.globl SIGHUP
.align 4
.type SIGHUP, @object
.size SIGHUP, 4
SIGHUP:
.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_chassis-unix-daemon.c_chassis_unix_daemonize.c"
.text
.section .rodata.str1.4,"aMS",%progbits,1
.align 2
.LC0:
.ascii "/\000"
.text
.align 2
.global chassis_unix_daemonize
.syntax unified
.arm
.fpu softvfp
.type chassis_unix_daemonize, %function
chassis_unix_daemonize:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
bl fork
cmp r0, #0
bne .L13
bl setsid
cmn r0, #1
beq .L14
.L3:
ldr r2, .L16
ldr r3, .L16+4
ldr r1, [r2]
ldr r0, [r3]
bl signal
bl fork
cmp r0, #0
bne .L15
.L4:
ldr r0, .L16+8
bl chdir
pop {r4, lr}
mov r0, #0
b umask
.L13:
mov r0, #0
bl exit
bl setsid
cmn r0, #1
bne .L3
.L14:
mov r0, #0
bl exit
b .L3
.L15:
mov r0, #0
bl exit
b .L4
.L17:
.align 2
.L16:
.word SIG_IGN
.word SIGHUP
.word .LC0
.size chassis_unix_daemonize, .-chassis_unix_daemonize
.comm SIG_IGN,4,4
.comm SIGTTOU,4,4
.comm SIGTTIN,4,4
.comm SIGTSTP,4,4
.comm SIGHUP,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
| anghabench |
.file "extr_chassis-unix-daemon.c_chassis_unix_signal_forward.c"
.intel_syntax noprefix
.text
.p2align 4
.type chassis_unix_signal_forward, @function
chassis_unix_signal_forward:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov esi, DWORD PTR SIG_IGN[rip]
mov ebp, edi
call signal@PLT
mov esi, ebp
xor edi, edi
pop rbp
.cfi_def_cfa_offset 8
jmp kill@PLT
.cfi_endproc
.LFE0:
.size chassis_unix_signal_forward, .-chassis_unix_signal_forward
.globl SIG_IGN
.bss
.align 4
.type SIG_IGN, @object
.size SIG_IGN, 4
SIG_IGN:
.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_chassis-unix-daemon.c_chassis_unix_signal_forward.c"
.text
.align 2
.syntax unified
.arm
.fpu softvfp
.type chassis_unix_signal_forward, %function
chassis_unix_signal_forward:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
mov r4, r0
ldr r3, .L4
ldr r1, [r3]
bl signal
mov r1, r4
pop {r4, lr}
mov r0, #0
b kill
.L5:
.align 2
.L4:
.word SIG_IGN
.size chassis_unix_signal_forward, .-chassis_unix_signal_forward
.comm SIG_IGN,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
| anghabench |
.file "extr_glib-ext-ref.c_g_ref_ref.c"
.intel_syntax noprefix
.text
.p2align 4
.globl g_ref_ref
.type g_ref_ref, @function
g_ref_ref:
.LFB0:
.cfi_startproc
endbr64
push rbx
.cfi_def_cfa_offset 16
.cfi_offset 3, -16
mov rbx, rdi
xor edi, edi
cmp QWORD PTR [rbx], 0
setg dil
call g_return_if_fail@PLT
add QWORD PTR [rbx], 1
pop rbx
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size g_ref_ref, .-g_ref_ref
.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_glib-ext-ref.c_g_ref_ref.c"
.text
.align 2
.global g_ref_ref
.syntax unified
.arm
.fpu softvfp
.type g_ref_ref, %function
g_ref_ref:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, lr}
mov r4, r0
ldr r0, [r0]
cmp r0, #0
movle r0, #0
movgt r0, #1
bl g_return_if_fail
ldr r3, [r4]
add r3, r3, #1
str r3, [r4]
pop {r4, pc}
.size g_ref_ref, .-g_ref_ref
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
| anghabench |
.file "extr_glib-ext-ref.c_g_ref_set.c"
.intel_syntax noprefix
.text
.p2align 4
.globl g_ref_set
.type g_ref_set, @function
g_ref_set:
.LFB0:
.cfi_startproc
endbr64
push r12
.cfi_def_cfa_offset 16
.cfi_offset 12, -16
mov r12d, esi
push rbp
.cfi_def_cfa_offset 24
.cfi_offset 6, -24
mov ebp, edx
push rbx
.cfi_def_cfa_offset 32
.cfi_offset 3, -32
mov rbx, rdi
xor edi, edi
mov eax, DWORD PTR [rbx]
test eax, eax
sete dil
call g_return_if_fail@PLT
mov DWORD PTR 8[rbx], r12d
mov DWORD PTR 4[rbx], ebp
mov DWORD PTR [rbx], 1
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 g_ref_set, .-g_ref_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_glib-ext-ref.c_g_ref_set.c"
.text
.align 2
.global g_ref_set
.syntax unified
.arm
.fpu softvfp
.type g_ref_set, %function
g_ref_set:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r4, r0
ldr r0, [r0]
mov r6, r1
clz r0, r0
lsr r0, r0, #5
mov r5, r2
bl g_return_if_fail
mov r3, #1
stm r4, {r3, r5, r6}
pop {r4, r5, r6, pc}
.size g_ref_set, .-g_ref_set
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
| anghabench |
.file "extr_glib-ext-ref.c_g_ref_unref.c"
.intel_syntax noprefix
.text
.p2align 4
.globl g_ref_unref
.type g_ref_unref, @function
g_ref_unref:
.LFB0:
.cfi_startproc
endbr64
mov rax, QWORD PTR [rdi]
test rax, rax
jne .L14
ret
.p2align 4,,10
.p2align 3
.L14:
sub rax, 1
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rdi
mov QWORD PTR [rdi], rax
jne .L1
mov rax, QWORD PTR 16[rdi]
test rax, rax
je .L5
mov rdi, QWORD PTR 8[rdi]
call rax
mov QWORD PTR 8[rbp], 0
.L5:
mov rdi, rbp
pop rbp
.cfi_remember_state
.cfi_restore 6
.cfi_def_cfa_offset 8
jmp g_free@PLT
.p2align 4,,10
.p2align 3
.L1:
.cfi_restore_state
pop rbp
.cfi_def_cfa_offset 8
ret
.cfi_endproc
.LFE0:
.size g_ref_unref, .-g_ref_unref
.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_glib-ext-ref.c_g_ref_unref.c"
.text
.align 2
.global g_ref_unref
.syntax unified
.arm
.fpu softvfp
.type g_ref_unref, %function
g_ref_unref:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
ldr r3, [r0]
cmp r3, #0
bxeq lr
push {r4, r5, r6, lr}
sub r5, r3, #1
cmp r5, #0
mov r4, r0
str r5, [r0]
popne {r4, r5, r6, pc}
ldr r3, [r0, #8]
cmp r3, #0
beq .L5
ldr r0, [r0, #4]
blx r3
str r5, [r4, #4]
.L5:
mov r0, r4
pop {r4, r5, r6, lr}
b g_free
.size g_ref_unref, .-g_ref_unref
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
| anghabench |
.file "extr_glib-ext.c_g_hash_table_lookup_const.c"
.intel_syntax noprefix
.text
.p2align 4
.globl g_hash_table_lookup_const
.type g_hash_table_lookup_const, @function
g_hash_table_lookup_const:
.LFB0:
.cfi_startproc
endbr64
sub rsp, 40
.cfi_def_cfa_offset 48
mov rax, QWORD PTR fs:40
mov QWORD PTR 24[rsp], rax
xor eax, eax
mov QWORD PTR [rsp], rsi
mov rsi, rsp
mov DWORD PTR 8[rsp], edx
call g_hash_table_lookup@PLT
mov rcx, QWORD PTR 24[rsp]
sub rcx, QWORD PTR fs:40
jne .L5
add rsp, 40
.cfi_remember_state
.cfi_def_cfa_offset 8
ret
.L5:
.cfi_restore_state
call __stack_chk_fail@PLT
.cfi_endproc
.LFE0:
.size g_hash_table_lookup_const, .-g_hash_table_lookup_const
.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_glib-ext.c_g_hash_table_lookup_const.c"
.text
.section .rodata.cst4,"aM",%progbits,4
.align 2
.LC0:
.word __stack_chk_guard
.text
.align 2
.global g_hash_table_lookup_const
.syntax unified
.arm
.fpu softvfp
.type g_hash_table_lookup_const, %function
g_hash_table_lookup_const:
@ args = 0, pretend = 0, frame = 16
@ frame_needed = 0, uses_anonymous_args = 0
mov r3, r1
str lr, [sp, #-4]!
sub sp, sp, #20
str r3, [sp, #4]
ldr r3, .L6
str r2, [sp, #8]
add r1, sp, #4
ldr r3, [r3]
str r3, [sp, #12]
mov r3,#0
bl g_hash_table_lookup
ldr r3, .L6
ldr r2, [r3]
ldr r3, [sp, #12]
eors r2, r3, r2
mov r3, #0
bne .L5
add sp, sp, #20
@ sp needed
ldr pc, [sp], #4
.L5:
bl __stack_chk_fail
.L7:
.align 2
.L6:
.word .LC0
.size g_hash_table_lookup_const, .-g_hash_table_lookup_const
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
| anghabench |
.file "extr_glib-ext.c_g_hash_table_string_equal.c"
.intel_syntax noprefix
.text
.p2align 4
.globl g_hash_table_string_equal
.type g_hash_table_string_equal, @function
g_hash_table_string_equal:
.LFB0:
.cfi_startproc
endbr64
jmp g_string_equal@PLT
.cfi_endproc
.LFE0:
.size g_hash_table_string_equal, .-g_hash_table_string_equal
.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_glib-ext.c_g_hash_table_string_equal.c"
.text
.align 2
.global g_hash_table_string_equal
.syntax unified
.arm
.fpu softvfp
.type g_hash_table_string_equal, %function
g_hash_table_string_equal:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
b g_string_equal
.size g_hash_table_string_equal, .-g_hash_table_string_equal
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
| anghabench |
.file "extr_glib-ext.c_g_hash_table_string_free.c"
.intel_syntax noprefix
.text
.p2align 4
.globl g_hash_table_string_free
.type g_hash_table_string_free, @function
g_hash_table_string_free:
.LFB0:
.cfi_startproc
endbr64
mov esi, DWORD PTR TRUE[rip]
jmp g_string_free@PLT
.cfi_endproc
.LFE0:
.size g_hash_table_string_free, .-g_hash_table_string_free
.globl TRUE
.bss
.align 4
.type TRUE, @object
.size TRUE, 4
TRUE:
.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_glib-ext.c_g_hash_table_string_free.c"
.text
.align 2
.global g_hash_table_string_free
.syntax unified
.arm
.fpu softvfp
.type g_hash_table_string_free, %function
g_hash_table_string_free:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr r3, .L3
ldr r1, [r3]
b g_string_free
.L4:
.align 2
.L3:
.word TRUE
.size g_hash_table_string_free, .-g_hash_table_string_free
.comm TRUE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
| anghabench |
.file "extr_glib-ext.c_g_hash_table_string_hash.c"
.intel_syntax noprefix
.text
.p2align 4
.globl g_hash_table_string_hash
.type g_hash_table_string_hash, @function
g_hash_table_string_hash:
.LFB0:
.cfi_startproc
endbr64
jmp g_string_hash@PLT
.cfi_endproc
.LFE0:
.size g_hash_table_string_hash, .-g_hash_table_string_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_glib-ext.c_g_hash_table_string_hash.c"
.text
.align 2
.global g_hash_table_string_hash
.syntax unified
.arm
.fpu softvfp
.type g_hash_table_string_hash, %function
g_hash_table_string_hash:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
b g_string_hash
.size g_hash_table_string_hash, .-g_hash_table_string_hash
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
| anghabench |
.file "extr_glib-ext.c_g_istr_hash.c"
.intel_syntax noprefix
.text
.p2align 4
.globl g_istr_hash
.type g_istr_hash, @function
g_istr_hash:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
lea rbp, 1[rdi]
mov eax, 5381
push rbx
.cfi_def_cfa_offset 24
.cfi_offset 3, -24
sub rsp, 8
.cfi_def_cfa_offset 32
movzx edi, BYTE PTR [rdi]
test dil, dil
je .L1
.p2align 4,,10
.p2align 3
.L3:
mov ebx, eax
movzx edi, dil
add rbp, 1
sal ebx, 5
add ebx, eax
call g_ascii_toupper@PLT
movzx edi, BYTE PTR -1[rbp]
add eax, ebx
test dil, dil
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 g_istr_hash, .-g_istr_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_glib-ext.c_g_istr_hash.c"
.text
.align 2
.global g_istr_hash
.syntax unified
.arm
.fpu softvfp
.type g_istr_hash, %function
g_istr_hash:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r5, r0
ldrb r2, [r5], #1 @ zero_extendqisi2
ldr r4, .L8
cmp r2, #0
beq .L1
.L3:
mov r0, r2
bl g_ascii_toupper
ldrb r2, [r5], #1 @ zero_extendqisi2
add r4, r4, r4, lsl #5
cmp r2, #0
add r4, r4, r0
bne .L3
.L1:
mov r0, r4
pop {r4, r5, r6, pc}
.L9:
.align 2
.L8:
.word 5381
.size g_istr_hash, .-g_istr_hash
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
| anghabench |
.file "extr_glib-ext.c_g_memeq.c"
.intel_syntax noprefix
.text
.p2align 4
.globl g_memeq
.type g_memeq, @function
g_memeq:
.LFB0:
.cfi_startproc
endbr64
mov r8, rsi
cmp rsi, rcx
je .L2
mov eax, DWORD PTR FALSE[rip]
ret
.p2align 4,,10
.p2align 3
.L2:
sub rsp, 8
.cfi_def_cfa_offset 16
mov rsi, rdx
mov rdx, r8
call memcmp@PLT
test rax, rax
sete al
add rsp, 8
.cfi_def_cfa_offset 8
movzx eax, al
ret
.cfi_endproc
.LFE0:
.size g_memeq, .-g_memeq
.globl FALSE
.bss
.align 4
.type FALSE, @object
.size FALSE, 4
FALSE:
.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_glib-ext.c_g_memeq.c"
.text
.align 2
.global g_memeq
.syntax unified
.arm
.fpu softvfp
.type g_memeq, %function
g_memeq:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
cmp r1, r3
beq .L2
ldr r3, .L8
ldr r0, [r3]
bx lr
.L2:
mov ip, r1
push {r4, lr}
mov r1, r2
mov r2, ip
bl memcmp
clz r0, r0
lsr r0, r0, #5
pop {r4, pc}
.L9:
.align 2
.L8:
.word FALSE
.size g_memeq, .-g_memeq
.comm FALSE,4,4
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
| anghabench |
.file "extr_glib-ext.c_g_string_assign_len.c"
.intel_syntax noprefix
.text
.p2align 4
.globl g_string_assign_len
.type g_string_assign_len, @function
g_string_assign_len:
.LFB0:
.cfi_startproc
endbr64
push r13
.cfi_def_cfa_offset 16
.cfi_offset 13, -16
mov r13d, edx
push r12
.cfi_def_cfa_offset 24
.cfi_offset 12, -24
mov r12, rsi
xor esi, esi
push rbp
.cfi_def_cfa_offset 32
.cfi_offset 6, -32
mov rbp, rdi
call g_string_truncate@PLT
mov edx, r13d
mov rsi, r12
mov rdi, rbp
pop rbp
.cfi_def_cfa_offset 24
pop r12
.cfi_def_cfa_offset 16
pop r13
.cfi_def_cfa_offset 8
jmp g_string_append_len@PLT
.cfi_endproc
.LFE0:
.size g_string_assign_len, .-g_string_assign_len
.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_glib-ext.c_g_string_assign_len.c"
.text
.align 2
.global g_string_assign_len
.syntax unified
.arm
.fpu softvfp
.type g_string_assign_len, %function
g_string_assign_len:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
push {r4, r5, r6, lr}
mov r5, r1
mov r6, r2
mov r4, r0
mov r1, #0
bl g_string_truncate
mov r2, r6
mov r1, r5
mov r0, r4
pop {r4, r5, r6, lr}
b g_string_append_len
.size g_string_assign_len, .-g_string_assign_len
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
.section .note.GNU-stack,"",%progbits
| anghabench |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.