task_name stringlengths 8 10 | source_code stringlengths 58 1.86k | compiler_asm stringlengths 391 9.46k | object_asm stringlengths 422 19.4k | shared_asm stringlengths 3.93k 22.8k | program_asm stringlengths 4.97k 26.4k | compiler_pic_asm stringlengths 391 9.46k | pic_object_asm stringlengths 426 19.4k | program_asm_v2 stringlengths 7.79k 29.3k |
|---|---|---|---|---|---|---|---|---|
problem17 | #include <stdio.h>
#include <string.h>
#include <ctype.h>
int func0(const char *str) {
int count = 0;
int char_map[256] = {0};
int index;
for (index = 0; str[index]; index++) {
char ch = tolower((unsigned char)str[index]);
if (char_map[ch] == 0 && isalpha((unsigned char)ch)) {
... | .arch armv8-a
.file "source.c"
.text
.align 2
.global func0
.type func0, %function
func0:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -16]!
.cfi_def_cfa_offset 16
.cfi_offset 29, -16
.cfi_offset 30, -8
mov x29, sp
sub sp, sp, #1072
.cfi_def_cfa_offset 1088
str xzr, [sp, 1024]
str x0, [sp, 8]
adrp x0, :got... |
/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_arm64_linux_reloc/O0/000_problem17/code.o: file format elf64-littleaarch64
Disassembly of section .text:
0000000000000000 <func0>:
0: a9bf7bfd stp x29, x30, [sp, #-16]!
4: 910003fd mov x29, sp
8: d110c3ff ... |
/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_arm64_linux_reloc/O0/000_problem17/code.so: file format elf64-littleaarch64
Disassembly of section .init:
00000000000005c0 <_init>:
5c0: d503201f nop
5c4: a9bf7bfd stp x29, x30, [sp, #-16]!
5c8: 910003fd mov x2... |
/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_arm64_linux_reloc/O0/000_problem17/code.program: file format elf64-littleaarch64
Disassembly of section .init:
00000000000006f0 <_init>:
6f0: d503201f nop
6f4: a9bf7bfd stp x29, x30, [sp, #-16]!
6f8: 910003fd m... | .arch armv8-a
.file "source.c"
.text
.align 2
.global func0
.type func0, %function
func0:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -16]!
.cfi_def_cfa_offset 16
.cfi_offset 29, -16
.cfi_offset 30, -8
mov x29, sp
sub sp, sp, #1072
.cfi_def_cfa_offset 1088
str xzr, [sp, 1024]
str x0, [sp, 8]
adrp x0, :got... |
/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_arm64_linux_reloc/O0/000_problem17/code.pic.o: file format elf64-littleaarch64
Disassembly of section .text:
0000000000000000 <func0>:
0: a9bf7bfd stp x29, x30, [sp, #-16]!
4: 910003fd mov x29, sp
8: d110c... | PROGRAM_ASM_V2
ARCHITECTURE: arm64
OPTIMIZATION: O0
BINARY: generated_humaneval_arm64_linux_reloc/O0/000_problem17/code.program
================================================================
SEMANTIC SECTION LAYOUT
================================================================
14 .rodata 00000004 00000000... |
problem81 | #include <string.h>
#include <stdbool.h>
bool func0(const char* s) {
if (strlen(s) < 3) return false;
for (int i = 2; i < strlen(s); i++)
if (s[i] == s[i-1] || s[i] == s[i-2]) return false;
return true;
} | .arch armv8-a
.file "source.c"
.text
.align 2
.global func0
.type func0, %function
func0:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
str x19, [sp, 16]
.cfi_offset 19, -48
str x0, [sp, 40]
ldr x0, [sp, 40]
bl strlen
cmp x0, ... |
/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_arm64_linux_reloc/O0/001_problem81/code.o: file format elf64-littleaarch64
Disassembly of section .text:
0000000000000000 <func0>:
0: a9bc7bfd stp x29, x30, [sp, #-64]!
4: 910003fd mov x29, sp
8: f9000bf3 ... |
/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_arm64_linux_reloc/O0/001_problem81/code.so: file format elf64-littleaarch64
Disassembly of section .init:
0000000000000490 <_init>:
490: d503201f nop
494: a9bf7bfd stp x29, x30, [sp, #-16]!
498: 910003fd mov x2... |
/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_arm64_linux_reloc/O0/001_problem81/code.program: file format elf64-littleaarch64
Disassembly of section .init:
00000000000005b8 <_init>:
5b8: d503201f nop
5bc: a9bf7bfd stp x29, x30, [sp, #-16]!
5c0: 910003fd m... | .arch armv8-a
.file "source.c"
.text
.align 2
.global func0
.type func0, %function
func0:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
str x19, [sp, 16]
.cfi_offset 19, -48
str x0, [sp, 40]
ldr x0, [sp, 40]
bl strlen
cmp x0, ... |
/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_arm64_linux_reloc/O0/001_problem81/code.pic.o: file format elf64-littleaarch64
Disassembly of section .text:
0000000000000000 <func0>:
0: a9bc7bfd stp x29, x30, [sp, #-64]!
4: 910003fd mov x29, sp
8: f9000... | PROGRAM_ASM_V2
ARCHITECTURE: arm64
OPTIMIZATION: O0
BINARY: generated_humaneval_arm64_linux_reloc/O0/001_problem81/code.program
================================================================
SEMANTIC SECTION LAYOUT
================================================================
14 .rodata 00000004 00000000... |
problem118 | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
char **func0(const char *s, int n, int *returnSize) {
const char *vowels = "aeiouAEIOU";
char **out = NULL;
int numc = 0, word_count = 0, begin = 0;
size_t length = strlen(s);
char *current = (char *)malloc(length + 1);
... | .arch armv8-a
.file "source.c"
.text
.section .rodata
.align 3
.LC0:
.string "aeiouAEIOU"
.text
.align 2
.global func0
.type func0, %function
func0:
.LFB6:
.cfi_startproc
stp x29, x30, [sp, -112]!
.cfi_def_cfa_offset 112
.cfi_offset 29, -112
.cfi_offset 30, -104
mov x29, sp
str x19, [sp, 16]
.cfi_offs... |
/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_arm64_linux_reloc/O0/002_problem118/code.o: file format elf64-littleaarch64
Disassembly of section .text:
0000000000000000 <func0>:
0: a9b97bfd stp x29, x30, [sp, #-112]!
4: 910003fd mov x29, sp
8: f9000bf... |
/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_arm64_linux_reloc/O0/002_problem118/code.so: file format elf64-littleaarch64
Disassembly of section .init:
00000000000005e8 <_init>:
5e8: d503201f nop
5ec: a9bf7bfd stp x29, x30, [sp, #-16]!
5f0: 910003fd mov x... |
/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_arm64_linux_reloc/O0/002_problem118/code.program: file format elf64-littleaarch64
Disassembly of section .init:
0000000000000718 <_init>:
718: d503201f nop
71c: a9bf7bfd stp x29, x30, [sp, #-16]!
720: 910003fd ... | .arch armv8-a
.file "source.c"
.text
.section .rodata
.align 3
.LC0:
.string "aeiouAEIOU"
.text
.align 2
.global func0
.type func0, %function
func0:
.LFB6:
.cfi_startproc
stp x29, x30, [sp, -112]!
.cfi_def_cfa_offset 112
.cfi_offset 29, -112
.cfi_offset 30, -104
mov x29, sp
str x19, [sp, 16]
.cfi_offs... |
/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_arm64_linux_reloc/O0/002_problem118/code.pic.o: file format elf64-littleaarch64
Disassembly of section .text:
0000000000000000 <func0>:
0: a9b97bfd stp x29, x30, [sp, #-112]!
4: 910003fd mov x29, sp
8: f90... | PROGRAM_ASM_V2
ARCHITECTURE: arm64
OPTIMIZATION: O0
BINARY: generated_humaneval_arm64_linux_reloc/O0/002_problem118/code.program
================================================================
SEMANTIC SECTION LAYOUT
================================================================
14 .rodata 00000013 0000000... |
problem41 | #include <stdio.h>
#include <stdbool.h>
bool func0(int *l, int size) {
for (int i = 0; i < size; i++)
for (int j = i + 1; j < size; j++)
for (int k = j + 1; k < size; k++)
if (l[i] + l[j] + l[k] == 0) return true;
return false;
} | .arch armv8-a
.file "source.c"
.text
.align 2
.global func0
.type func0, %function
func0:
.LFB0:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, 8]
str w1, [sp, 4]
str wzr, [sp, 20]
b .L2
.L9:
ldr w0, [sp, 20]
add w0, w0, 1
str w0, [sp, 24]
b .L3
.L8:
ldr w0, [sp, 24]
add w0, w0, 1... |
/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_arm64_linux_reloc/O0/003_problem41/code.o: file format elf64-littleaarch64
Disassembly of section .text:
0000000000000000 <func0>:
0: d10083ff sub sp, sp, #0x20
4: f90007e0 str x0, [sp, #8]
8: b90007e1 st... |
/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_arm64_linux_reloc/O0/003_problem41/code.so: file format elf64-littleaarch64
Disassembly of section .init:
0000000000000410 <_init>:
410: d503201f nop
414: a9bf7bfd stp x29, x30, [sp, #-16]!
418: 910003fd mov x2... |
/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_arm64_linux_reloc/O0/003_problem41/code.program: file format elf64-littleaarch64
Disassembly of section .init:
0000000000000580 <_init>:
580: d503201f nop
584: a9bf7bfd stp x29, x30, [sp, #-16]!
588: 910003fd m... | .arch armv8-a
.file "source.c"
.text
.align 2
.global func0
.type func0, %function
func0:
.LFB0:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, 8]
str w1, [sp, 4]
str wzr, [sp, 20]
b .L2
.L9:
ldr w0, [sp, 20]
add w0, w0, 1
str w0, [sp, 24]
b .L3
.L8:
ldr w0, [sp, 24]
add w0, w0, 1... |
/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_arm64_linux_reloc/O0/003_problem41/code.pic.o: file format elf64-littleaarch64
Disassembly of section .text:
0000000000000000 <func0>:
0: d10083ff sub sp, sp, #0x20
4: f90007e0 str x0, [sp, #8]
8: b90007e1... | PROGRAM_ASM_V2
ARCHITECTURE: arm64
OPTIMIZATION: O0
BINARY: generated_humaneval_arm64_linux_reloc/O0/003_problem41/code.program
================================================================
SEMANTIC SECTION LAYOUT
================================================================
14 .rodata 00000004 00000000... |
problem15 | "#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n\nchar **func0(const char *str, int *(...TRUNCATED) | "\t.arch armv8-a\n\t.file\t\"source.c\"\n\t.text\n\t.align\t2\n\t.global\tfunc0\n\t.type\tfunc0, %fu(...TRUNCATED) | "\n/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_a(...TRUNCATED) | "\n/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_a(...TRUNCATED) | "\n/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_a(...TRUNCATED) | "\t.arch armv8-a\n\t.file\t\"source.c\"\n\t.text\n\t.align\t2\n\t.global\tfunc0\n\t.type\tfunc0, %fu(...TRUNCATED) | "\n/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_a(...TRUNCATED) | "PROGRAM_ASM_V2\nARCHITECTURE: arm64\nOPTIMIZATION: O0\nBINARY: generated_humaneval_arm64_linux_relo(...TRUNCATED) |
problem9 | "#include <stdio.h>\n\nvoid func0(int *numbers, int size, int *result) {\n int sum = 0, product =(...TRUNCATED) | "\t.arch armv8-a\n\t.file\t\"source.c\"\n\t.text\n\t.align\t2\n\t.global\tfunc0\n\t.type\tfunc0, %fu(...TRUNCATED) | "\n/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_a(...TRUNCATED) | "\n/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_a(...TRUNCATED) | "\n/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_a(...TRUNCATED) | "\t.arch armv8-a\n\t.file\t\"source.c\"\n\t.text\n\t.align\t2\n\t.global\tfunc0\n\t.type\tfunc0, %fu(...TRUNCATED) | "\n/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_a(...TRUNCATED) | "PROGRAM_ASM_V2\nARCHITECTURE: arm64\nOPTIMIZATION: O0\nBINARY: generated_humaneval_arm64_linux_relo(...TRUNCATED) |
problem65 | "#include <stdio.h>\n#include <string.h>\n#include <ctype.h>\n\nint func0(const char *s) {\n cons(...TRUNCATED) | "\t.arch armv8-a\n\t.file\t\"source.c\"\n\t.text\n\t.section\t.rodata\n\t.align\t3\n.LC0:\n\t.string(...TRUNCATED) | "\n/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_a(...TRUNCATED) | "\n/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_a(...TRUNCATED) | "\n/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_a(...TRUNCATED) | "\t.arch armv8-a\n\t.file\t\"source.c\"\n\t.text\n\t.section\t.rodata\n\t.align\t3\n.LC0:\n\t.string(...TRUNCATED) | "\n/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_a(...TRUNCATED) | "PROGRAM_ASM_V2\nARCHITECTURE: arm64\nOPTIMIZATION: O0\nBINARY: generated_humaneval_arm64_linux_relo(...TRUNCATED) |
problem57 | "#include <stdio.h>\n#include <stdbool.h>\n#include <string.h>\n\nbool func0(const char *brackets) {(...TRUNCATED) | "\t.arch armv8-a\n\t.file\t\"source.c\"\n\t.text\n\t.align\t2\n\t.global\tfunc0\n\t.type\tfunc0, %fu(...TRUNCATED) | "\n/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_a(...TRUNCATED) | "\n/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_a(...TRUNCATED) | "\n/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_a(...TRUNCATED) | "\t.arch armv8-a\n\t.file\t\"source.c\"\n\t.text\n\t.align\t2\n\t.global\tfunc0\n\t.type\tfunc0, %fu(...TRUNCATED) | "\n/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_a(...TRUNCATED) | "PROGRAM_ASM_V2\nARCHITECTURE: arm64\nOPTIMIZATION: O0\nBINARY: generated_humaneval_arm64_linux_relo(...TRUNCATED) |
problem33 | "#include <stdio.h>\n#include <math.h>\n\ndouble func0(const double *xs, int size) {\n double ans(...TRUNCATED) | "\t.arch armv8-a\n\t.file\t\"source.c\"\n\t.text\n\t.align\t2\n\t.global\tfunc0\n\t.type\tfunc0, %fu(...TRUNCATED) | "\n/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_a(...TRUNCATED) | "\n/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_a(...TRUNCATED) | "\n/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_a(...TRUNCATED) | "\t.arch armv8-a\n\t.file\t\"source.c\"\n\t.text\n\t.align\t2\n\t.global\tfunc0\n\t.type\tfunc0, %fu(...TRUNCATED) | "\n/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_a(...TRUNCATED) | "PROGRAM_ASM_V2\nARCHITECTURE: arm64\nOPTIMIZATION: O0\nBINARY: generated_humaneval_arm64_linux_relo(...TRUNCATED) |
problem48 | "#include <stdio.h>\n#include <math.h>\n#include <stdlib.h>\n\nfloat func0(float *l, int size) {\n (...TRUNCATED) | "\t.arch armv8-a\n\t.file\t\"source.c\"\n\t.text\n\t.align\t2\n\t.global\tfunc0\n\t.type\tfunc0, %fu(...TRUNCATED) | "\n/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_a(...TRUNCATED) | "\n/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_a(...TRUNCATED) | "\n/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_a(...TRUNCATED) | "\t.arch armv8-a\n\t.file\t\"source.c\"\n\t.text\n\t.align\t2\n\t.global\tfunc0\n\t.type\tfunc0, %fu(...TRUNCATED) | "\n/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_a(...TRUNCATED) | "PROGRAM_ASM_V2\nARCHITECTURE: arm64\nOPTIMIZATION: O0\nBINARY: generated_humaneval_arm64_linux_relo(...TRUNCATED) |
End of preview. Expand in Data Studio
README.md exists but content is empty.
- Downloads last month
- 29