Guaranteed Guessing
Collection
20 items • Updated
x86 stringlengths 335 106k | risc stringlengths 139 103k | source stringclasses 1
value |
|---|---|---|
.file "extr_buffer.c_buf_append.c"
.intel_syntax noprefix
.text
.globl buf_append
.type buf_append, @function
buf_append:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 48
mov QWORD PTR -24[rbp], rdi
mov QWORD PTR -32[rbp], r... | .file "extr_buffer.c_buf_append.c"
.option pic
.text
.align 1
.globl buf_append
.type buf_append, @function
buf_append:
addi sp,sp,-64
sd ra,56(sp)
sd s0,48(sp)
addi s0,sp,64
sd a0,-40(s0)
sd a1,-48(s0)
mv a5,a2
sw a5,-52(s0)
sw zero,-20(s0)
j .L2
.L3:
lw a5,-20(s0)
ld a4,-48(s0)
add a5,a4,a5
lbu a5... | anghabench |
.file "extr_buffer.c_buf_body.c"
.intel_syntax noprefix
.text
.globl buf_body
.type buf_body, @function
buf_body:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov QWORD PTR -8[rbp], rdi
mov rax, QWORD PTR -8[rbp]
mov rax, QWORD PTR ... | .file "extr_buffer.c_buf_body.c"
.option pic
.text
.align 1
.globl buf_body
.type buf_body, @function
buf_body:
addi sp,sp,-32
sd s0,24(sp)
addi s0,sp,32
sd a0,-24(s0)
ld a5,-24(s0)
ld a5,0(a5)
mv a0,a5
ld s0,24(sp)
addi sp,sp,32
jr ra
.size buf_body, .-buf_body
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.... | anghabench |
.file "extr_buffer.c_buf_len.c"
.intel_syntax noprefix
.text
.globl buf_len
.type buf_len, @function
buf_len:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov QWORD PTR -8[rbp], rdi
mov rax, QWORD PTR -8[rbp]
mov eax, DWORD PTR [rax... | .file "extr_buffer.c_buf_len.c"
.option pic
.text
.align 1
.globl buf_len
.type buf_len, @function
buf_len:
addi sp,sp,-32
sd s0,24(sp)
addi s0,sp,32
sd a0,-24(s0)
ld a5,-24(s0)
lw a5,0(a5)
mv a0,a5
ld s0,24(sp)
addi sp,sp,32
jr ra
.size buf_len, .-buf_len
.ident "GCC: (Ubuntu 9.4.0-1ubuntu1~20.04) 9.... | anghabench |
.file "extr_buffer.c_buf_write.c"
.intel_syntax noprefix
.text
.globl buf_write
.type buf_write, @function
buf_write:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 16
mov QWORD PTR -8[rbp], rdi
mov eax, esi
mov BYTE PTR -12... | .file "extr_buffer.c_buf_write.c"
.option pic
.text
.align 1
.globl buf_write
.type buf_write, @function
buf_write:
addi sp,sp,-32
sd ra,24(sp)
sd s0,16(sp)
addi s0,sp,32
sd a0,-24(s0)
mv a5,a1
sb a5,-25(s0)
ld a5,-24(s0)
ld a4,0(a5)
ld a5,-24(s0)
ld a5,8(a5)
addi a5,a5,1
bne a4,a5,.L2
ld a0,-24(s0)... | anghabench |
.file "extr_buffer.c_make_buffer.c"
.intel_syntax noprefix
.text
.globl INIT_SIZE
.bss
.align 4
.type INIT_SIZE, @object
.size INIT_SIZE, 4
INIT_SIZE:
.zero 4
.text
.globl make_buffer
.type make_buffer, @function
make_buffer:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, ... | .file "extr_buffer.c_make_buffer.c"
.option pic
.text
.comm INIT_SIZE,4,4
.align 1
.globl make_buffer
.type make_buffer, @function
make_buffer:
addi sp,sp,-32
sd ra,24(sp)
sd s0,16(sp)
addi s0,sp,32
li a0,24
call malloc@plt
sd a0,-24(s0)
la a5,INIT_SIZE
lw a5,0(a5)
mv a0,a5
call malloc@plt
mv a4,a0
... | anghabench |
.file "extr_buffer.c_print.c"
.intel_syntax noprefix
.text
.section .rodata
.LC0:
.string "%s"
.LC1:
.string "%c"
.LC2:
.string "\\x%02x"
.text
.type print, @function
print:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 32... | .file "extr_buffer.c_print.c"
.option pic
.text
.section .rodata
.align 3
.LC0:
.string "%s"
.align 3
.LC1:
.string "%c"
.align 3
.LC2:
.string "\\x%02x"
.text
.align 1
.type print, @function
print:
addi sp,sp,-48
sd ra,40(sp)
sd s0,32(sp)
addi s0,sp,48
sd a0,-40(s0)
mv a5,a1
sb a5,-41(s0)
lbu a5,-... | anghabench |
.file "extr_buffer.c_quote.c"
.intel_syntax noprefix
.text
.section .rodata
.LC0:
.string "\\\""
.LC1:
.string "\\\\"
.LC2:
.string "\\b"
.LC3:
.string "\\f"
.LC4:
.string "\\n"
.LC5:
.string "\\r"
.LC6:
.string "\\t"
.text
.type quote, @function
quote:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_c... | .file "extr_buffer.c_quote.c"
.option pic
.text
.section .rodata
.align 3
.LC0:
.string "\\\""
.align 3
.LC1:
.string "\\\\"
.align 3
.LC2:
.string "\\b"
.align 3
.LC3:
.string "\\f"
.align 3
.LC4:
.string "\\n"
.align 3
.LC5:
.string "\\r"
.align 3
.LC6:
.string "\\t"
.text
.align 1
.type quote, @... | anghabench |
.file "extr_buffer.c_quote_char.c"
.intel_syntax noprefix
.text
.section .rodata
.LC0:
.string "\\\\"
.LC1:
.string "\\'"
.LC2:
.string "%c"
.text
.globl quote_char
.type quote_char, @function
quote_char:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi... | .file "extr_buffer.c_quote_char.c"
.option pic
.text
.section .rodata
.align 3
.LC0:
.string "\\\\"
.align 3
.LC1:
.string "\\'"
.align 3
.LC2:
.string "%c"
.text
.align 1
.globl quote_char
.type quote_char, @function
quote_char:
addi sp,sp,-32
sd ra,24(sp)
sd s0,16(sp)
addi s0,sp,32
mv a5,a0
sb a5,... | anghabench |
.file "extr_buffer.c_quote_cstring.c"
.intel_syntax noprefix
.text
.globl quote_cstring
.type quote_cstring, @function
quote_cstring:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 32
mov QWORD PTR -24[rbp], rdi
mov eax, 0
c... | .file "extr_buffer.c_quote_cstring.c"
.option pic
.text
.align 1
.globl quote_cstring
.type quote_cstring, @function
quote_cstring:
addi sp,sp,-48
sd ra,40(sp)
sd s0,32(sp)
addi s0,sp,48
sd a0,-40(s0)
call make_buffer@plt
sd a0,-24(s0)
j .L2
.L3:
ld a5,-40(s0)
addi a4,a5,1
sd a4,-40(s0)
lbu a5,0(a5)
... | anghabench |
.file "extr_buffer.c_quote_cstring_len.c"
.intel_syntax noprefix
.text
.globl quote_cstring_len
.type quote_cstring_len, @function
quote_cstring_len:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 32
mov QWORD PTR -24[rbp], rd... | .file "extr_buffer.c_quote_cstring_len.c"
.option pic
.text
.align 1
.globl quote_cstring_len
.type quote_cstring_len, @function
quote_cstring_len:
addi sp,sp,-48
sd ra,40(sp)
sd s0,32(sp)
addi s0,sp,48
sd a0,-40(s0)
mv a5,a1
sw a5,-44(s0)
call make_buffer@plt
sd a0,-24(s0)
sw zero,-28(s0)
j .L2
.L3:
... | anghabench |
.file "extr_buffer.c_realloc_body.c"
.intel_syntax noprefix
.text
.type realloc_body, @function
realloc_body:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 32
mov QWORD PTR -24[rbp], rdi
mov rax, QWORD PTR -24[rbp]
mov eax, ... | .file "extr_buffer.c_realloc_body.c"
.option pic
.text
.align 1
.type realloc_body, @function
realloc_body:
addi sp,sp,-48
sd ra,40(sp)
sd s0,32(sp)
addi s0,sp,48
sd a0,-40(s0)
ld a5,-40(s0)
lw a5,0(a5)
slliw a5,a5,1
sw a5,-28(s0)
lw a5,-28(s0)
mv a0,a5
call malloc@plt
sd a0,-24(s0)
ld a5,-40(s0)
ld... | anghabench |
.file "extr_cpp.c_add_hide_set.c"
.intel_syntax noprefix
.text
.type add_hide_set, @function
add_hide_set:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 48
mov QWORD PTR -40[rbp], rdi
mov QWORD PTR -48[rbp], rsi
mov eax, 0
... | .file "extr_cpp.c_add_hide_set.c"
.option pic
.text
.align 1
.type add_hide_set, @function
add_hide_set:
addi sp,sp,-64
sd ra,56(sp)
sd s0,48(sp)
addi s0,sp,64
sd a0,-56(s0)
sd a1,-64(s0)
call make_vector@plt
sd a0,-32(s0)
sw zero,-36(s0)
j .L2
.L3:
lw a5,-36(s0)
mv a1,a5
ld a0,-56(s0)
call vec_get@p... | anghabench |
.file "extr_cpp.c_add_include_path.c"
.intel_syntax noprefix
.text
.globl std_include_path
.bss
.align 4
.type std_include_path, @object
.size std_include_path, 4
std_include_path:
.zero 4
.text
.globl add_include_path
.type add_include_path, @function
add_include_path:
.LFB0:
.cfi_startproc
endbr64
push... | .file "extr_cpp.c_add_include_path.c"
.option pic
.text
.comm std_include_path,4,4
.align 1
.globl add_include_path
.type add_include_path, @function
add_include_path:
addi sp,sp,-32
sd ra,24(sp)
sd s0,16(sp)
addi s0,sp,32
sd a0,-24(s0)
la a5,std_include_path
lw a5,0(a5)
ld a1,-24(s0)
mv a0,a5
call vec... | anghabench |
.file "extr_cpp.c_copy_token.c"
.intel_syntax noprefix
.text
.type copy_token, @function
copy_token:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 32
mov QWORD PTR -24[rbp], rdi
mov edi, 4
call malloc@PLT
mov QWORD PTR -8[r... | .file "extr_cpp.c_copy_token.c"
.option pic
.text
.align 1
.type copy_token, @function
copy_token:
addi sp,sp,-48
sd ra,40(sp)
sd s0,32(sp)
addi s0,sp,48
sd a0,-40(s0)
li a0,4
call malloc@plt
sd a0,-24(s0)
ld a5,-40(s0)
lw a4,0(a5)
ld a5,-24(s0)
sw a4,0(a5)
ld a5,-24(s0)
mv a0,a5
ld ra,40(sp)
ld s0... | anghabench |
.file "extr_cpp.c_cpp_init.c"
.intel_syntax noprefix
.text
.globl LC_ALL
.bss
.align 4
.type LC_ALL, @object
.size LC_ALL, 4
LC_ALL:
.zero 4
.section .rodata
.LC0:
.string "C"
.text
.globl cpp_init
.type cpp_init, @function
cpp_init:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_... | .file "extr_cpp.c_cpp_init.c"
.option pic
.text
.comm LC_ALL,4,4
.section .rodata
.align 3
.LC0:
.string "C"
.text
.align 1
.globl cpp_init
.type cpp_init, @function
cpp_init:
addi sp,sp,-16
sd ra,8(sp)
sd s0,0(sp)
addi s0,sp,16
la a5,LC_ALL
lw a5,0(a5)
lla a1,.LC0
mv a0,a5
call setlocale@plt
call ... | anghabench |
.file "extr_cpp.c_define_obj_macro.c"
.intel_syntax noprefix
.text
.globl macros
.bss
.align 4
.type macros, @object
.size macros, 4
macros:
.zero 4
.text
.type define_obj_macro, @function
define_obj_macro:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.... | .file "extr_cpp.c_define_obj_macro.c"
.option pic
.text
.comm macros,4,4
.align 1
.type define_obj_macro, @function
define_obj_macro:
addi sp,sp,-48
sd ra,40(sp)
sd s0,32(sp)
sd s1,24(sp)
addi s0,sp,48
sd a0,-40(s0)
sd a1,-48(s0)
la a5,macros
lw s1,0(a5)
ld a0,-48(s0)
call make_vector1@plt
mv a5,a0
m... | anghabench |
.file "extr_cpp.c_define_special_macro.c"
.intel_syntax noprefix
.text
.globl macros
.bss
.align 4
.type macros, @object
.size macros, 4
macros:
.zero 4
.text
.type define_special_macro, @function
define_special_macro:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov... | .file "extr_cpp.c_define_special_macro.c"
.option pic
.text
.comm macros,4,4
.align 1
.type define_special_macro, @function
define_special_macro:
addi sp,sp,-48
sd ra,40(sp)
sd s0,32(sp)
sd s1,24(sp)
addi s0,sp,48
sd a0,-40(s0)
sd a1,-48(s0)
la a5,macros
lw s1,0(a5)
ld a0,-48(s0)
call make_special_macr... | anghabench |
.file "extr_cpp.c_do_read_args.c"
.intel_syntax noprefix
.text
.type do_read_args, @function
do_read_args:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 48
mov QWORD PTR -40[rbp], rdi
mov QWORD PTR -48[rbp], rsi
mov rax, QWO... | .file "extr_cpp.c_do_read_args.c"
.option pic
.text
.align 1
.type do_read_args, @function
do_read_args:
addi sp,sp,-64
sd ra,56(sp)
sd s0,48(sp)
addi s0,sp,64
sd a0,-56(s0)
sd a1,-64(s0)
la a5,__stack_chk_guard
ld a5,0(a5)
sd a5,-24(s0)
call make_vector@plt
sd a0,-32(s0)
sw zero,-40(s0)
j .L2
.L5:
l... | anghabench |
.file "extr_cpp.c_do_read_if.c"
.intel_syntax noprefix
.text
.globl cond_incl_stack
.bss
.align 4
.type cond_incl_stack, @object
.size cond_incl_stack, 4
cond_incl_stack:
.zero 4
.text
.type do_read_if, @function
do_read_if:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -1... | .file "extr_cpp.c_do_read_if.c"
.option pic
.text
.comm cond_incl_stack,4,4
.align 1
.type do_read_if, @function
do_read_if:
addi sp,sp,-48
sd ra,40(sp)
sd s0,32(sp)
sd s1,24(sp)
addi s0,sp,48
mv a5,a0
sw a5,-36(s0)
la a5,cond_incl_stack
lw s1,0(a5)
lw a5,-36(s0)
mv a0,a5
call make_cond_incl@plt
mv a... | anghabench |
.file "extr_cpp.c_expand_all.c"
.intel_syntax noprefix
.text
.globl TEOF
.bss
.align 8
.type TEOF, @object
.size TEOF, 8
TEOF:
.zero 8
.text
.type expand_all, @function
expand_all:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
su... | .file "extr_cpp.c_expand_all.c"
.option pic
.text
.comm TEOF,8,8
.align 1
.type expand_all, @function
expand_all:
addi sp,sp,-48
sd ra,40(sp)
sd s0,32(sp)
addi s0,sp,48
sd a0,-40(s0)
sd a1,-48(s0)
ld a0,-40(s0)
call vec_reverse@plt
mv a5,a0
mv a0,a5
call token_buffer_stash@plt
call make_vector@plt
sd... | anghabench |
.file "extr_cpp.c_expect.c"
.intel_syntax noprefix
.text
.section .rodata
.LC0:
.string "%c expected, but got %s"
.text
.type expect, @function
expect:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 32
mov eax, edi
mov BYTE... | .file "extr_cpp.c_expect.c"
.option pic
.text
.section .rodata
.align 3
.LC0:
.string "%c expected, but got %s"
.text
.align 1
.type expect, @function
expect:
addi sp,sp,-48
sd ra,40(sp)
sd s0,32(sp)
addi s0,sp,48
mv a5,a0
sb a5,-33(s0)
call lex@plt
sd a0,-24(s0)
lbu a5,-33(s0)
mv a1,a5
ld a0,-24(s0... | anghabench |
.file "extr_cpp.c_expect_newline.c"
.intel_syntax noprefix
.text
.globl TNEWLINE
.bss
.align 8
.type TNEWLINE, @object
.size TNEWLINE, 8
TNEWLINE:
.zero 8
.section .rodata
.LC0:
.string "newline expected, but got %s"
.text
.globl expect_newline
.type expect_newline, @function
expect_newline:
.LFB0:
.cfi_... | .file "extr_cpp.c_expect_newline.c"
.option pic
.text
.comm TNEWLINE,8,8
.section .rodata
.align 3
.LC0:
.string "newline expected, but got %s"
.text
.align 1
.globl expect_newline
.type expect_newline, @function
expect_newline:
addi sp,sp,-32
sd ra,24(sp)
sd s0,16(sp)
addi s0,sp,32
call lex@plt
sd a0,... | anghabench |
.file "extr_cpp.c_glue_push.c"
.intel_syntax noprefix
.text
.type glue_push, @function
glue_push:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 32
mov QWORD PTR -24[rbp], rdi
mov QWORD PTR -32[rbp], rsi
mov rax, QWORD PTR -2... | .file "extr_cpp.c_glue_push.c"
.option pic
.text
.align 1
.type glue_push, @function
glue_push:
addi sp,sp,-48
sd ra,40(sp)
sd s0,32(sp)
addi s0,sp,48
sd a0,-40(s0)
sd a1,-48(s0)
ld a0,-40(s0)
call vec_pop@plt
sd a0,-24(s0)
ld a1,-48(s0)
ld a0,-24(s0)
call glue_tokens@plt
mv a5,a0
mv a1,a5
ld a0,-40... | anghabench |
.file "extr_cpp.c_glue_tokens.c"
.intel_syntax noprefix
.text
.section .rodata
.LC0:
.string "%s"
.text
.type glue_tokens, @function
glue_tokens:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 32
mov QWORD PTR -24[rbp], rdi
... | .file "extr_cpp.c_glue_tokens.c"
.option pic
.text
.section .rodata
.align 3
.LC0:
.string "%s"
.text
.align 1
.type glue_tokens, @function
glue_tokens:
addi sp,sp,-48
sd ra,40(sp)
sd s0,32(sp)
addi s0,sp,48
sd a0,-40(s0)
sd a1,-48(s0)
call make_buffer@plt
sd a0,-32(s0)
ld a0,-40(s0)
call tok2s@plt
... | anghabench |
.file "extr_cpp.c_guarded.c"
.intel_syntax noprefix
.text
.globl cpp_token_one
.bss
.align 4
.type cpp_token_one, @object
.size cpp_token_one, 4
cpp_token_one:
.zero 4
.globl cpp_token_zero
.align 4
.type cpp_token_zero, @object
.size cpp_token_zero, 4
cpp_token_zero:
.zero 4
.globl include_guard
.align... | .file "extr_cpp.c_guarded.c"
.option pic
.text
.comm cpp_token_one,4,4
.comm cpp_token_zero,4,4
.comm include_guard,4,4
.comm macros,4,4
.section .rodata
.align 3
.LC0:
.string "__8cc_include_guard"
.text
.align 1
.type guarded, @function
guarded:
addi sp,sp,-48
sd ra,40(sp)
sd s0,32(sp)
addi s0,sp,48
... | anghabench |
.file "extr_cpp.c_handle_base_file_macro.c"
.intel_syntax noprefix
.text
.globl TSTRING
.bss
.align 4
.type TSTRING, @object
.size TSTRING, 4
TSTRING:
.zero 4
.text
.type handle_base_file_macro, @function
handle_base_file_macro:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6... | .file "extr_cpp.c_handle_base_file_macro.c"
.option pic
.text
.comm TSTRING,4,4
.align 1
.type handle_base_file_macro, @function
handle_base_file_macro:
addi sp,sp,-48
sd ra,40(sp)
sd s0,32(sp)
sd s1,24(sp)
addi s0,sp,48
sd a0,-40(s0)
la a5,TSTRING
lw s1,0(a5)
call get_base_file@plt
mv a5,a0
mv a2,a5
... | anghabench |
.file "extr_cpp.c_handle_counter_macro.c"
.intel_syntax noprefix
.text
.globl TNUMBER
.bss
.align 4
.type TNUMBER, @object
.size TNUMBER, 4
TNUMBER:
.zero 4
.section .rodata
.LC0:
.string "%d"
.text
.type handle_counter_macro, @function
handle_counter_macro:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_... | .file "extr_cpp.c_handle_counter_macro.c"
.option pic
.text
.comm TNUMBER,4,4
.section .rodata
.align 3
.LC0:
.string "%d"
.text
.align 1
.type handle_counter_macro, @function
handle_counter_macro:
addi sp,sp,-48
sd ra,40(sp)
sd s0,32(sp)
sd s1,24(sp)
addi s0,sp,48
sd a0,-40(s0)
la a5,TNUMBER
lw s1,0(... | anghabench |
.file "extr_cpp.c_handle_date_macro.c"
.intel_syntax noprefix
.text
.globl TSTRING
.bss
.align 4
.type TSTRING, @object
.size TSTRING, 4
TSTRING:
.zero 4
.globl now
.align 4
.type now, @object
.size now, 4
now:
.zero 4
.section .rodata
.LC0:
.string "%b %e %Y"
.text
.type handle_date_macro, @function
... | .file "extr_cpp.c_handle_date_macro.c"
.option pic
.text
.comm TSTRING,4,4
.comm now,4,4
.section .rodata
.align 3
.LC0:
.string "%b %e %Y"
.text
.align 1
.type handle_date_macro, @function
handle_date_macro:
addi sp,sp,-80
sd ra,72(sp)
sd s0,64(sp)
sd s1,56(sp)
addi s0,sp,80
sd a0,-72(s0)
la a5,__sta... | anghabench |
.file "extr_cpp.c_handle_file_macro.c"
.intel_syntax noprefix
.text
.globl TSTRING
.bss
.align 4
.type TSTRING, @object
.size TSTRING, 4
TSTRING:
.zero 4
.text
.type handle_file_macro, @function
handle_file_macro:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp,... | .file "extr_cpp.c_handle_file_macro.c"
.option pic
.text
.comm TSTRING,4,4
.align 1
.type handle_file_macro, @function
handle_file_macro:
addi sp,sp,-32
sd ra,24(sp)
sd s0,16(sp)
addi s0,sp,32
sd a0,-24(s0)
la a5,TSTRING
lw a4,0(a5)
ld a5,-24(s0)
ld a5,0(a5)
lw a5,0(a5)
mv a2,a5
mv a1,a4
ld a0,-24(s0... | anghabench |
.file "extr_cpp.c_handle_include_level_macro.c"
.intel_syntax noprefix
.text
.globl TNUMBER
.bss
.align 4
.type TNUMBER, @object
.size TNUMBER, 4
TNUMBER:
.zero 4
.section .rodata
.LC0:
.string "%d"
.text
.type handle_include_level_macro, @function
handle_include_level_macro:
.LFB0:
.cfi_startproc
endbr6... | .file "extr_cpp.c_handle_include_level_macro.c"
.option pic
.text
.comm TNUMBER,4,4
.section .rodata
.align 3
.LC0:
.string "%d"
.text
.align 1
.type handle_include_level_macro, @function
handle_include_level_macro:
addi sp,sp,-48
sd ra,40(sp)
sd s0,32(sp)
sd s1,24(sp)
addi s0,sp,48
sd a0,-40(s0)
la a5... | anghabench |
.file "extr_cpp.c_handle_line_macro.c"
.intel_syntax noprefix
.text
.globl TNUMBER
.bss
.align 4
.type TNUMBER, @object
.size TNUMBER, 4
TNUMBER:
.zero 4
.section .rodata
.LC0:
.string "%d"
.text
.type handle_line_macro, @function
handle_line_macro:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_o... | .file "extr_cpp.c_handle_line_macro.c"
.option pic
.text
.comm TNUMBER,4,4
.section .rodata
.align 3
.LC0:
.string "%d"
.text
.align 1
.type handle_line_macro, @function
handle_line_macro:
addi sp,sp,-48
sd ra,40(sp)
sd s0,32(sp)
sd s1,24(sp)
addi s0,sp,48
sd a0,-40(s0)
la a5,TNUMBER
lw s1,0(a5)
ld a... | anghabench |
.file "extr_cpp.c_handle_pragma_macro.c"
.intel_syntax noprefix
.text
.globl TNUMBER
.bss
.align 4
.type TNUMBER, @object
.size TNUMBER, 4
TNUMBER:
.zero 4
.globl TSTRING
.align 8
.type TSTRING, @object
.size TSTRING, 8
TSTRING:
.zero 8
.section .rodata
.align 8
.LC0:
.string "_Pragma takes a string li... | .file "extr_cpp.c_handle_pragma_macro.c"
.option pic
.text
.comm TNUMBER,4,4
.comm TSTRING,8,8
.section .rodata
.align 3
.LC0:
.string "_Pragma takes a string literal, but got %s"
.align 3
.LC1:
.string "1"
.text
.align 1
.type handle_pragma_macro, @function
handle_pragma_macro:
addi sp,sp,-48
sd ra,40(s... | anghabench |
.file "extr_cpp.c_handle_time_macro.c"
.intel_syntax noprefix
.text
.globl TSTRING
.bss
.align 4
.type TSTRING, @object
.size TSTRING, 4
TSTRING:
.zero 4
.globl now
.align 4
.type now, @object
.size now, 4
now:
.zero 4
.section .rodata
.LC0:
.string "%T"
.text
.type handle_time_macro, @function
handle... | .file "extr_cpp.c_handle_time_macro.c"
.option pic
.text
.comm TSTRING,4,4
.comm now,4,4
.section .rodata
.align 3
.LC0:
.string "%T"
.text
.align 1
.type handle_time_macro, @function
handle_time_macro:
addi sp,sp,-80
sd ra,72(sp)
sd s0,64(sp)
sd s1,56(sp)
addi s0,sp,80
sd a0,-72(s0)
la a5,__stack_chk... | anghabench |
.file "extr_cpp.c_handle_timestamp_macro.c"
.intel_syntax noprefix
.text
.globl TSTRING
.bss
.align 4
.type TSTRING, @object
.size TSTRING, 4
TSTRING:
.zero 4
.section .rodata
.LC0:
.string "%a %b %e %T %Y"
.text
.type handle_timestamp_macro, @function
handle_timestamp_macro:
.LFB0:
.cfi_startproc
endbr6... | .file "extr_cpp.c_handle_timestamp_macro.c"
.option pic
.text
.comm TSTRING,4,4
.section .rodata
.align 3
.LC0:
.string "%a %b %e %T %Y"
.text
.align 1
.type handle_timestamp_macro, @function
handle_timestamp_macro:
addi sp,sp,-96
sd ra,88(sp)
sd s0,80(sp)
sd s1,72(sp)
addi s0,sp,96
sd a0,-88(s0)
la a5... | anghabench |
.file "extr_cpp.c_hashhash_check.c"
.intel_syntax noprefix
.text
.globl KHASHHASH
.bss
.align 4
.type KHASHHASH, @object
.size KHASHHASH, 4
KHASHHASH:
.zero 4
.section .rodata
.align 8
.LC0:
.string "'##' cannot appear at start of macro expansion"
.align 8
.LC1:
.string "'##' cannot appear at end of macro... | .file "extr_cpp.c_hashhash_check.c"
.option pic
.text
.comm KHASHHASH,4,4
.section .rodata
.align 3
.LC0:
.string "'##' cannot appear at start of macro expansion"
.align 3
.LC1:
.string "'##' cannot appear at end of macro expansion"
.text
.align 1
.type hashhash_check, @function
hashhash_check:
addi sp,sp,... | anghabench |
.file "extr_cpp.c_init_now.c"
.intel_syntax noprefix
.text
.globl now
.bss
.align 4
.type now, @object
.size now, 4
now:
.zero 4
.text
.globl init_now
.type init_now, @function
init_now:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_registe... | .file "extr_cpp.c_init_now.c"
.option pic
.text
.comm now,4,4
.align 1
.globl init_now
.type init_now, @function
init_now:
addi sp,sp,-32
sd ra,24(sp)
sd s0,16(sp)
addi s0,sp,32
la a5,__stack_chk_guard
ld a5,0(a5)
sd a5,-24(s0)
li a0,0
call time@plt
mv a5,a0
sw a5,-28(s0)
addi a5,s0,-28
la a1,now
m... | anghabench |
.file "extr_cpp.c_is_digit_sequence.c"
.intel_syntax noprefix
.text
.type is_digit_sequence, @function
is_digit_sequence:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 16
mov QWORD PTR -8[rbp], rdi
jmp .L2
.L5:
mov rax, QWOR... | .file "extr_cpp.c_is_digit_sequence.c"
.option pic
.text
.align 1
.type is_digit_sequence, @function
is_digit_sequence:
addi sp,sp,-32
sd ra,24(sp)
sd s0,16(sp)
addi s0,sp,32
sd a0,-24(s0)
j .L2
.L5:
ld a5,-24(s0)
lbu a5,0(a5)
mv a0,a5
call isdigit@plt
mv a5,a0
bnez a5,.L3
li a5,0
j .L4
.L3:
ld a5,-... | anghabench |
.file "extr_cpp.c_join_paths.c"
.intel_syntax noprefix
.text
.section .rodata
.LC0:
.string "%s"
.text
.type join_paths, @function
join_paths:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 32
mov QWORD PTR -24[rbp], rdi
mo... | .file "extr_cpp.c_join_paths.c"
.option pic
.text
.section .rodata
.align 3
.LC0:
.string "%s"
.text
.align 1
.type join_paths, @function
join_paths:
addi sp,sp,-48
sd ra,40(sp)
sd s0,32(sp)
addi s0,sp,48
sd a0,-40(s0)
call make_buffer@plt
sd a0,-24(s0)
sw zero,-28(s0)
j .L2
.L3:
lw a5,-28(s0)
mv a1... | anghabench |
.file "extr_cpp.c_make_cond_incl.c"
.intel_syntax noprefix
.text
.globl IN_THEN
.bss
.align 4
.type IN_THEN, @object
.size IN_THEN, 4
IN_THEN:
.zero 4
.text
.type make_cond_incl, @function
make_cond_incl:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cf... | .file "extr_cpp.c_make_cond_incl.c"
.option pic
.text
.comm IN_THEN,4,4
.align 1
.type make_cond_incl, @function
make_cond_incl:
addi sp,sp,-48
sd ra,40(sp)
sd s0,32(sp)
addi s0,sp,48
mv a5,a0
sw a5,-36(s0)
li a1,8
li a0,1
call calloc@plt
sd a0,-24(s0)
la a5,IN_THEN
lw a4,0(a5)
ld a5,-24(s0)
sw a4,4... | anghabench |
.file "extr_cpp.c_make_macro.c"
.intel_syntax noprefix
.text
.type make_macro, @function
make_macro:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 32
mov QWORD PTR -24[rbp], rdi
mov edi, 4
call malloc@PLT
mov QWORD PTR -8[r... | .file "extr_cpp.c_make_macro.c"
.option pic
.text
.align 1
.type make_macro, @function
make_macro:
addi sp,sp,-48
sd ra,40(sp)
sd s0,32(sp)
addi s0,sp,48
sd a0,-40(s0)
li a0,4
call malloc@plt
sd a0,-24(s0)
ld a5,-40(s0)
lw a4,0(a5)
ld a5,-24(s0)
sw a4,0(a5)
ld a5,-24(s0)
mv a0,a5
ld ra,40(sp)
ld s0... | anghabench |
.file "extr_cpp.c_make_macro_token.c"
.intel_syntax noprefix
.text
.globl TMACRO_PARAM
.bss
.align 4
.type TMACRO_PARAM, @object
.size TMACRO_PARAM, 4
TMACRO_PARAM:
.zero 4
.text
.type make_macro_token, @function
make_macro_token:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset... | .file "extr_cpp.c_make_macro_token.c"
.option pic
.text
.comm TMACRO_PARAM,4,4
.align 1
.type make_macro_token, @function
make_macro_token:
addi sp,sp,-48
sd ra,40(sp)
sd s0,32(sp)
addi s0,sp,48
mv a5,a0
mv a4,a1
sw a5,-36(s0)
mv a5,a4
sw a5,-40(s0)
li a0,32
call malloc@plt
sd a0,-24(s0)
la a5,TMACRO... | anghabench |
.file "extr_cpp.c_make_token_pushback.c"
.intel_syntax noprefix
.text
.globl ENC_NONE
.bss
.align 4
.type ENC_NONE, @object
.size ENC_NONE, 4
ENC_NONE:
.zero 4
.text
.type make_token_pushback, @function
make_token_pushback:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16... | .file "extr_cpp.c_make_token_pushback.c"
.option pic
.text
.comm ENC_NONE,4,4
.align 1
.type make_token_pushback, @function
make_token_pushback:
addi sp,sp,-64
sd ra,56(sp)
sd s0,48(sp)
addi s0,sp,64
sd a0,-40(s0)
mv a5,a1
sd a2,-56(s0)
sw a5,-44(s0)
ld a0,-40(s0)
call copy_token@plt
sd a0,-24(s0)
ld ... | anghabench |
.file "extr_cpp.c_maybe_convert_keyword.c"
.intel_syntax noprefix
.text
.globl TIDENT
.bss
.align 8
.type TIDENT, @object
.size TIDENT, 8
TIDENT:
.zero 8
.globl TKEYWORD
.align 8
.type TKEYWORD, @object
.size TKEYWORD, 8
TKEYWORD:
.zero 8
.globl keywords
.align 4
.type keywords, @object
.size keywords... | .file "extr_cpp.c_maybe_convert_keyword.c"
.option pic
.text
.comm TIDENT,8,8
.comm TKEYWORD,8,8
.comm keywords,4,4
.align 1
.type maybe_convert_keyword, @function
maybe_convert_keyword:
addi sp,sp,-48
sd ra,40(sp)
sd s0,32(sp)
addi s0,sp,48
sd a0,-40(s0)
ld a5,-40(s0)
ld a4,0(a5)
la a5,TIDENT
ld a5,0(... | anghabench |
.file "extr_cpp.c_next.c"
.intel_syntax noprefix
.text
.type next, @function
next:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 32
mov DWORD PTR -20[rbp], edi
mov eax, 0
call lex@PLT
mov QWORD PTR -8[rbp], rax
mov edx, DW... | .file "extr_cpp.c_next.c"
.option pic
.text
.align 1
.type next, @function
next:
addi sp,sp,-48
sd ra,40(sp)
sd s0,32(sp)
addi s0,sp,48
mv a5,a0
sw a5,-36(s0)
call lex@plt
sd a0,-24(s0)
lw a5,-36(s0)
mv a1,a5
ld a0,-24(s0)
call is_keyword@plt
mv a5,a0
beqz a5,.L2
li a5,1
j .L3
.L2:
ld a0,-24(s0)
... | anghabench |
.file "extr_cpp.c_parse_pragma_operand.c"
.intel_syntax noprefix
.text
.globl enable_warning
.bss
.align 4
.type enable_warning, @object
.size enable_warning, 4
enable_warning:
.zero 4
.globl once
.align 4
.type once, @object
.size once, 4
once:
.zero 4
.section .rodata
.LC0:
.string "once"
.LC1:
.stri... | .file "extr_cpp.c_parse_pragma_operand.c"
.option pic
.text
.comm enable_warning,4,4
.comm once,4,4
.section .rodata
.align 3
.LC0:
.string "once"
.align 3
.LC1:
.string "enable_warning"
.align 3
.LC2:
.string "disable_warning"
.align 3
.LC3:
.string "unknown #pragma: %s"
.text
.align 1
.type parse_pra... | anghabench |
.file "extr_cpp.c_peek_token.c"
.intel_syntax noprefix
.text
.globl peek_token
.type peek_token, @function
peek_token:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 16
mov eax, 0
call read_token@PLT
mov QWORD PTR -8[rbp], r... | .file "extr_cpp.c_peek_token.c"
.option pic
.text
.align 1
.globl peek_token
.type peek_token, @function
peek_token:
addi sp,sp,-32
sd ra,24(sp)
sd s0,16(sp)
addi s0,sp,32
call read_token@plt
sd a0,-24(s0)
ld a0,-24(s0)
call unget_token@plt
ld a5,-24(s0)
mv a0,a5
ld ra,24(sp)
ld s0,16(sp)
addi sp,sp,... | anghabench |
.file "extr_cpp.c_propagate_space.c"
.intel_syntax noprefix
.text
.type propagate_space, @function
propagate_space:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 32
mov QWORD PTR -24[rbp], rdi
mov QWORD PTR -32[rbp], rsi
mov... | .file "extr_cpp.c_propagate_space.c"
.option pic
.text
.align 1
.type propagate_space, @function
propagate_space:
addi sp,sp,-48
sd ra,40(sp)
sd s0,32(sp)
addi s0,sp,48
sd a0,-40(s0)
sd a1,-48(s0)
ld a0,-40(s0)
call vec_len@plt
mv a5,a0
beqz a5,.L4
ld a0,-40(s0)
call vec_head@plt
mv a5,a0
mv a0,a5
c... | anghabench |
.file "extr_cpp.c_read_args.c"
.intel_syntax noprefix
.text
.section .rodata
.align 8
.LC0:
.string "macro argument number does not match"
.text
.type read_args, @function
read_args:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub... | .file "extr_cpp.c_read_args.c"
.option pic
.text
.section .rodata
.align 3
.LC0:
.string "macro argument number does not match"
.text
.align 1
.type read_args, @function
read_args:
addi sp,sp,-48
sd ra,40(sp)
sd s0,32(sp)
addi s0,sp,48
sd a0,-40(s0)
sd a1,-48(s0)
ld a5,-48(s0)
ld a5,0(a5)
bnez a5,.L2
... | anghabench |
.file "extr_cpp.c_read_constexpr.c"
.intel_syntax noprefix
.text
.globl TEOF
.bss
.align 8
.type TEOF, @object
.size TEOF, 8
TEOF:
.zero 8
.section .rodata
.LC0:
.string "stray token: %s"
.text
.type read_constexpr, @function
read_constexpr:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16... | .file "extr_cpp.c_read_constexpr.c"
.option pic
.text
.comm TEOF,8,8
.section .rodata
.align 3
.LC0:
.string "stray token: %s"
.text
.align 1
.type read_constexpr, @function
read_constexpr:
addi sp,sp,-32
sd ra,24(sp)
sd s0,16(sp)
addi s0,sp,32
call read_intexpr_line@plt
mv a5,a0
mv a0,a5
call vec_rev... | anghabench |
.file "extr_cpp.c_read_cpp_header_name.c"
.intel_syntax noprefix
.text
.globl TNEWLINE
.bss
.align 8
.type TNEWLINE, @object
.size TNEWLINE, 8
TNEWLINE:
.zero 8
.globl TSTRING
.align 8
.type TSTRING, @object
.size TSTRING, 8
TSTRING:
.zero 8
.section .rodata
.align 8
.LC0:
.string "expected filename, b... | .file "extr_cpp.c_read_cpp_header_name.c"
.option pic
.text
.comm TNEWLINE,8,8
.comm TSTRING,8,8
.section .rodata
.align 3
.LC0:
.string "expected filename, but got newline"
.align 3
.LC1:
.string "< expected, but got %s"
.align 3
.LC2:
.string "premature end of header name"
.text
.align 1
.type read_cpp... | anghabench |
.file "extr_cpp.c_read_define.c"
.intel_syntax noprefix
.text
.type read_define, @function
read_define:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 16
mov eax, 0
call read_ident@PLT
mov QWORD PTR -16[rbp], rax
mov eax, 0
... | .file "extr_cpp.c_read_define.c"
.option pic
.text
.align 1
.type read_define, @function
read_define:
addi sp,sp,-32
sd ra,24(sp)
sd s0,16(sp)
addi s0,sp,32
call read_ident@plt
sd a0,-32(s0)
call lex@plt
sd a0,-24(s0)
li a1,40
ld a0,-24(s0)
call is_keyword@plt
mv a5,a0
beqz a5,.L2
ld a5,-24(s0)
lw a... | anghabench |
.file "extr_cpp.c_read_defined_op.c"
.intel_syntax noprefix
.text
.globl TIDENT
.bss
.align 8
.type TIDENT, @object
.size TIDENT, 8
TIDENT:
.zero 8
.globl cpp_token_one
.align 8
.type cpp_token_one, @object
.size cpp_token_one, 8
cpp_token_one:
.zero 8
.globl cpp_token_zero
.align 8
.type cpp_token_zer... | .file "extr_cpp.c_read_defined_op.c"
.option pic
.text
.comm TIDENT,8,8
.comm cpp_token_one,8,8
.comm cpp_token_zero,8,8
.comm macros,4,4
.section .rodata
.align 3
.LC0:
.string "identifier expected, but got %s"
.text
.align 1
.type read_defined_op, @function
read_defined_op:
addi sp,sp,-32
sd ra,24(sp)
... | anghabench |
.file "extr_cpp.c_read_directive.c"
.intel_syntax noprefix
.text
.globl TIDENT
.bss
.align 8
.type TIDENT, @object
.size TIDENT, 8
TIDENT:
.zero 8
.globl TNEWLINE
.align 8
.type TNEWLINE, @object
.size TNEWLINE, 8
TNEWLINE:
.zero 8
.globl TNUMBER
.align 8
.type TNUMBER, @object
.size TNUMBER, 8
TNUMBE... | .file "extr_cpp.c_read_directive.c"
.option pic
.text
.comm TIDENT,8,8
.comm TNEWLINE,8,8
.comm TNUMBER,8,8
.section .rodata
.align 3
.LC0:
.string "define"
.align 3
.LC1:
.string "elif"
.align 3
.LC2:
.string "else"
.align 3
.LC3:
.string "endif"
.align 3
.LC4:
.string "error"
.align 3
.LC5:
.string... | anghabench |
.file "extr_cpp.c_read_elif.c"
.intel_syntax noprefix
.text
.globl IN_ELIF
.bss
.align 8
.type IN_ELIF, @object
.size IN_ELIF, 8
IN_ELIF:
.zero 8
.globl IN_ELSE
.align 8
.type IN_ELSE, @object
.size IN_ELSE, 8
IN_ELSE:
.zero 8
.globl cond_incl_stack
.align 4
.type cond_incl_stack, @object
.size cond_i... | .file "extr_cpp.c_read_elif.c"
.option pic
.text
.comm IN_ELIF,8,8
.comm IN_ELSE,8,8
.comm cond_incl_stack,4,4
.section .rodata
.align 3
.LC0:
.string "stray #elif"
.align 3
.LC1:
.string "#elif after #else"
.text
.align 1
.type read_elif, @function
read_elif:
addi sp,sp,-48
sd ra,40(sp)
sd s0,32(sp)
... | anghabench |
.file "extr_cpp.c_read_else.c"
.intel_syntax noprefix
.text
.globl IN_ELSE
.bss
.align 8
.type IN_ELSE, @object
.size IN_ELSE, 8
IN_ELSE:
.zero 8
.globl cond_incl_stack
.align 4
.type cond_incl_stack, @object
.size cond_incl_stack, 4
cond_incl_stack:
.zero 4
.section .rodata
.LC0:
.string "stray #else"
... | .file "extr_cpp.c_read_else.c"
.option pic
.text
.comm IN_ELSE,8,8
.comm cond_incl_stack,4,4
.section .rodata
.align 3
.LC0:
.string "stray #else"
.align 3
.LC1:
.string "#else appears in #else"
.text
.align 1
.type read_else, @function
read_else:
addi sp,sp,-48
sd ra,40(sp)
sd s0,32(sp)
addi s0,sp,48
... | anghabench |
.file "extr_cpp.c_read_endif.c"
.intel_syntax noprefix
.text
.globl cond_incl_stack
.bss
.align 4
.type cond_incl_stack, @object
.size cond_incl_stack, 4
cond_incl_stack:
.zero 4
.globl include_guard
.align 4
.type include_guard, @object
.size include_guard, 4
include_guard:
.zero 4
.section .rodata
.LC0... | .file "extr_cpp.c_read_endif.c"
.option pic
.text
.comm cond_incl_stack,4,4
.comm include_guard,4,4
.section .rodata
.align 3
.LC0:
.string "stray #endif"
.text
.align 1
.type read_endif, @function
read_endif:
addi sp,sp,-48
sd ra,40(sp)
sd s0,32(sp)
addi s0,sp,48
sd a0,-40(s0)
la a5,cond_incl_stack
l... | anghabench |
.file "extr_cpp.c_read_error.c"
.intel_syntax noprefix
.text
.section .rodata
.LC0:
.string "#error: %s"
.text
.type read_error, @function
read_error:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 16
mov QWORD PTR -8[rbp], ... | .file "extr_cpp.c_read_error.c"
.option pic
.text
.section .rodata
.align 3
.LC0:
.string "#error: %s"
.text
.align 1
.type read_error, @function
read_error:
addi sp,sp,-32
sd ra,24(sp)
sd s0,16(sp)
addi s0,sp,32
sd a0,-24(s0)
call read_error_message@plt
mv a5,a0
mv a2,a5
lla a1,.LC0
ld a0,-24(s0)
c... | anghabench |
.file "extr_cpp.c_read_error_message.c"
.intel_syntax noprefix
.text
.globl TNEWLINE
.bss
.align 8
.type TNEWLINE, @object
.size TNEWLINE, 8
TNEWLINE:
.zero 8
.section .rodata
.LC0:
.string "%s"
.text
.type read_error_message, @function
read_error_message:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_de... | .file "extr_cpp.c_read_error_message.c"
.option pic
.text
.comm TNEWLINE,8,8
.section .rodata
.align 3
.LC0:
.string "%s"
.text
.align 1
.type read_error_message, @function
read_error_message:
addi sp,sp,-32
sd ra,24(sp)
sd s0,16(sp)
addi s0,sp,32
call make_buffer@plt
sd a0,-32(s0)
.L5:
call lex@plt
s... | anghabench |
.file "extr_cpp.c_read_expand.c"
.intel_syntax noprefix
.text
.globl TNEWLINE
.bss
.align 8
.type TNEWLINE, @object
.size TNEWLINE, 8
TNEWLINE:
.zero 8
.text
.type read_expand, @function
read_expand:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def... | .file "extr_cpp.c_read_expand.c"
.option pic
.text
.comm TNEWLINE,8,8
.align 1
.type read_expand, @function
read_expand:
addi sp,sp,-32
sd ra,24(sp)
sd s0,16(sp)
addi s0,sp,32
.L4:
call read_expand_newline@plt
sd a0,-24(s0)
ld a5,-24(s0)
ld a4,0(a5)
la a5,TNEWLINE
ld a5,0(a5)
beq a4,a5,.L4
ld a5,-24(s... | anghabench |
.file "extr_cpp.c_read_expand_newline.c"
.intel_syntax noprefix
.text
.globl TIDENT
.bss
.align 8
.type TIDENT, @object
.size TIDENT, 8
TIDENT:
.zero 8
.globl macros
.align 4
.type macros, @object
.size macros, 4
macros:
.zero 4
.section .rodata
.LC0:
.string "internal error"
.text
.type read_expand_n... | .file "extr_cpp.c_read_expand_newline.c"
.option pic
.text
.comm TIDENT,8,8
.comm macros,4,4
.section .rodata
.align 3
.LC0:
.string "internal error"
.text
.align 1
.type read_expand_newline, @function
read_expand_newline:
addi sp,sp,-96
sd ra,88(sp)
sd s0,80(sp)
addi s0,sp,96
call lex@plt
sd a0,-88(s0... | anghabench |
.file "extr_cpp.c_read_from_string.c"
.intel_syntax noprefix
.text
.globl read_from_string
.type read_from_string, @function
read_from_string:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
sub rsp, 32
mov QWORD PTR -24[rbp], rdi
mov ... | .file "extr_cpp.c_read_from_string.c"
.option pic
.text
.align 1
.globl read_from_string
.type read_from_string, @function
read_from_string:
addi sp,sp,-48
sd ra,40(sp)
sd s0,32(sp)
addi s0,sp,48
sd a0,-40(s0)
ld a0,-40(s0)
call make_file_string@plt
mv a5,a0
mv a0,a5
call stream_stash@plt
call read_top... | anghabench |
.file "extr_cpp.c_read_funclike_macro.c"
.intel_syntax noprefix
.text
.globl macros
.bss
.align 4
.type macros, @object
.size macros, 4
macros:
.zero 4
.text
.type read_funclike_macro, @function
read_funclike_macro:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rb... | .file "extr_cpp.c_read_funclike_macro.c"
.option pic
.text
.comm macros,4,4
.align 1
.type read_funclike_macro, @function
read_funclike_macro:
addi sp,sp,-64
sd ra,56(sp)
sd s0,48(sp)
addi s0,sp,64
sd a0,-56(s0)
call make_map@plt
sd a0,-40(s0)
ld a1,-40(s0)
ld a0,-56(s0)
call read_funclike_macro_params@... | anghabench |
.file "extr_cpp.c_read_funclike_macro_body.c"
.intel_syntax noprefix
.text
.globl TIDENT
.bss
.align 8
.type TIDENT, @object
.size TIDENT, 8
TIDENT:
.zero 8
.globl TNEWLINE
.align 8
.type TNEWLINE, @object
.size TNEWLINE, 8
TNEWLINE:
.zero 8
.text
.type read_funclike_macro_body, @function
read_funclike_... | .file "extr_cpp.c_read_funclike_macro_body.c"
.option pic
.text
.comm TIDENT,8,8
.comm TNEWLINE,8,8
.align 1
.type read_funclike_macro_body, @function
read_funclike_macro_body:
addi sp,sp,-64
sd ra,56(sp)
sd s0,48(sp)
addi s0,sp,64
sd a0,-56(s0)
call make_vector@plt
sd a0,-40(s0)
.L6:
call lex@plt
sd a0... | anghabench |
.file "extr_cpp.c_read_funclike_macro_params.c"
.intel_syntax noprefix
.text
.globl KELLIPSIS
.bss
.type KELLIPSIS, @object
.size KELLIPSIS, 1
KELLIPSIS:
.zero 1
.globl TIDENT
.align 8
.type TIDENT, @object
.size TIDENT, 8
TIDENT:
.zero 8
.globl TNEWLINE
.align 8
.type TNEWLINE, @object
.size TNEWLINE,... | .file "extr_cpp.c_read_funclike_macro_params.c"
.option pic
.text
.comm KELLIPSIS,1,1
.comm TIDENT,8,8
.comm TNEWLINE,8,8
.section .rodata
.align 3
.LC0:
.string ", expected, but got %s"
.align 3
.LC1:
.string "missing ')' in macro parameter list"
.align 3
.LC2:
.string "__VA_ARGS__"
.align 3
.LC3:
.stri... | anghabench |
.file "extr_cpp.c_read_ident.c"
.intel_syntax noprefix
.text
.globl TIDENT
.bss
.align 8
.type TIDENT, @object
.size TIDENT, 8
TIDENT:
.zero 8
.section .rodata
.align 8
.LC0:
.string "identifier expected, but got %s"
.text
.type read_ident, @function
read_ident:
.LFB0:
.cfi_startproc
endbr64
push rbp
... | .file "extr_cpp.c_read_ident.c"
.option pic
.text
.comm TIDENT,8,8
.section .rodata
.align 3
.LC0:
.string "identifier expected, but got %s"
.text
.align 1
.type read_ident, @function
read_ident:
addi sp,sp,-32
sd ra,24(sp)
sd s0,16(sp)
addi s0,sp,32
call lex@plt
sd a0,-24(s0)
ld a5,-24(s0)
ld a4,0(a5... | anghabench |
.file "extr_cpp.c_read_if.c"
.intel_syntax noprefix
.text
.type read_if, @function
read_if:
.LFB0:
.cfi_startproc
endbr64
push rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
mov rbp, rsp
.cfi_def_cfa_register 6
mov eax, 0
call read_constexpr@PLT
mov edi, eax
call do_read_if@PLT
nop
pop rbp
.cfi_def_cfa... | .file "extr_cpp.c_read_if.c"
.option pic
.text
.align 1
.type read_if, @function
read_if:
addi sp,sp,-16
sd ra,8(sp)
sd s0,0(sp)
addi s0,sp,16
call read_constexpr@plt
mv a5,a0
mv a0,a5
call do_read_if@plt
nop
ld ra,8(sp)
ld s0,0(sp)
addi sp,sp,16
jr ra
.size read_if, .-read_if
.ident "GCC: (Ubuntu 9... | anghabench |
.file "extr_cpp.c_read_ifdef.c"
.intel_syntax noprefix
.text
.globl TIDENT
.bss
.align 8
.type TIDENT, @object
.size TIDENT, 8
TIDENT:
.zero 8
.globl macros
.align 4
.type macros, @object
.size macros, 4
macros:
.zero 4
.section .rodata
.align 8
.LC0:
.string "identifier expected, but got %s"
.text
.... | .file "extr_cpp.c_read_ifdef.c"
.option pic
.text
.comm TIDENT,8,8
.comm macros,4,4
.section .rodata
.align 3
.LC0:
.string "identifier expected, but got %s"
.text
.align 1
.type read_ifdef, @function
read_ifdef:
addi sp,sp,-32
sd ra,24(sp)
sd s0,16(sp)
addi s0,sp,32
call lex@plt
sd a0,-24(s0)
ld a5,-... | anghabench |
.file "extr_cpp.c_read_ifndef.c"
.intel_syntax noprefix
.text
.globl TIDENT
.bss
.align 8
.type TIDENT, @object
.size TIDENT, 8
TIDENT:
.zero 8
.globl cond_incl_stack
.align 4
.type cond_incl_stack, @object
.size cond_incl_stack, 4
cond_incl_stack:
.zero 4
.globl macros
.align 4
.type macros, @object
... | .file "extr_cpp.c_read_ifndef.c"
.option pic
.text
.comm TIDENT,8,8
.comm cond_incl_stack,4,4
.comm macros,4,4
.section .rodata
.align 3
.LC0:
.string "identifier expected, but got %s"
.text
.align 1
.type read_ifndef, @function
read_ifndef:
addi sp,sp,-32
sd ra,24(sp)
sd s0,16(sp)
addi s0,sp,32
call l... | anghabench |
.file "extr_cpp.c_read_include.c"
.intel_syntax noprefix
.text
.globl std_include_path
.bss
.align 4
.type std_include_path, @object
.size std_include_path, 4
std_include_path:
.zero 4
.section .rodata
.LC0:
.string "/"
.LC1:
.string "."
.LC2:
.string "cannot find header file: %s"
.text
.type read_includ... | .file "extr_cpp.c_read_include.c"
.option pic
.text
.comm std_include_path,4,4
.section .rodata
.align 3
.LC0:
.string "/"
.align 3
.LC1:
.string "."
.align 3
.LC2:
.string "cannot find header file: %s"
.text
.align 1
.type read_include, @function
read_include:
addi sp,sp,-80
sd ra,72(sp)
sd s0,64(sp)
... | anghabench |
.file "extr_cpp.c_read_include_next.c"
.intel_syntax noprefix
.text
.globl std_include_path
.bss
.align 4
.type std_include_path, @object
.size std_include_path, 4
std_include_path:
.zero 4
.section .rodata
.LC0:
.string "/"
.LC1:
.string "%s/%s"
.LC2:
.string "cannot find header file: %s"
.text
.type re... | .file "extr_cpp.c_read_include_next.c"
.option pic
.text
.comm std_include_path,4,4
.section .rodata
.align 3
.LC0:
.string "/"
.align 3
.LC1:
.string "%s/%s"
.align 3
.LC2:
.string "cannot find header file: %s"
.text
.align 1
.type read_include_next, @function
read_include_next:
addi sp,sp,-80
sd ra,72... | anghabench |
.file "extr_cpp.c_read_intexpr_line.c"
.intel_syntax noprefix
.text
.globl TIDENT
.bss
.align 8
.type TIDENT, @object
.size TIDENT, 8
TIDENT:
.zero 8
.globl TNEWLINE
.align 8
.type TNEWLINE, @object
.size TNEWLINE, 8
TNEWLINE:
.zero 8
.globl cpp_token_zero
.align 8
.type cpp_token_zero, @object
.size ... | .file "extr_cpp.c_read_intexpr_line.c"
.option pic
.text
.comm TIDENT,8,8
.comm TNEWLINE,8,8
.comm cpp_token_zero,8,8
.section .rodata
.align 3
.LC0:
.string "defined"
.text
.align 1
.type read_intexpr_line, @function
read_intexpr_line:
addi sp,sp,-32
sd ra,24(sp)
sd s0,16(sp)
addi s0,sp,32
call make_v... | anghabench |
Check out more datails here: