task_name stringlengths 8 10 | source_code stringlengths 58 1.86k | compiler_asm stringlengths 608 11.8k | object_asm stringlengths 566 31.1k | shared_asm stringlengths 4.72k 39.2k | program_asm stringlengths 5.85k 40.3k | compiler_pic_asm stringlengths 608 11.8k | pic_object_asm stringlengths 570 31.1k | program_asm_v2 stringlengths 8.15k 42.6k |
|---|---|---|---|---|---|---|---|---|
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)) {
... | .file "source.c"
.text
.globl func0
.type func0, @function
func0:
.LFB0:
.cfi_startproc
endbr64
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
movq %rsp, %rbp
.cfi_def_cfa_register 6
subq $1072, %rsp
movq %rdi, -1064(%rbp)
movq %fs:40, %rax
movq %rax, -8(%rbp)
xorl %eax, %eax
movl $0, -1048(%rbp)... |
/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_x86_linux_reloc/O0/000_problem17/code.o: file format elf64-x86-64
Disassembly of section .text:
0000000000000000 <func0>:
0: f3 0f 1e fa endbr64
4: 55 push %rbp
5: 48 89 e5 ... |
/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_x86_linux_reloc/O0/000_problem17/code.so: file format elf64-x86-64
Disassembly of section .init:
0000000000001000 <_init>:
1000: f3 0f 1e fa endbr64
1004: 48 83 ec 08 sub $0x8,%rsp
... |
/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_x86_linux_reloc/O0/000_problem17/code.program: file format elf64-x86-64
Disassembly of section .init:
0000000000001000 <_init>:
1000: f3 0f 1e fa endbr64
1004: 48 83 ec 08 sub $0x8,%rsp... | .file "source.c"
.text
.globl func0
.type func0, @function
func0:
.LFB0:
.cfi_startproc
endbr64
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
movq %rsp, %rbp
.cfi_def_cfa_register 6
subq $1072, %rsp
movq %rdi, -1064(%rbp)
movq %fs:40, %rax
movq %rax, -8(%rbp)
xorl %eax, %eax
movl $0, -1048(%rbp)... |
/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_x86_linux_reloc/O0/000_problem17/code.pic.o: file format elf64-x86-64
Disassembly of section .text:
0000000000000000 <func0>:
0: f3 0f 1e fa endbr64
4: 55 push %rbp
5: 48 89 e5... | PROGRAM_ASM_V2
ARCHITECTURE: x86
OPTIMIZATION: O0
BINARY: generated_humaneval_x86_linux_reloc/O0/000_problem17/code.program
================================================================
SEMANTIC SECTION LAYOUT
================================================================
17 .rodata 00000004 000000000000... |
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;
} | .file "source.c"
.text
.globl func0
.type func0, @function
func0:
.LFB0:
.cfi_startproc
endbr64
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
movq %rsp, %rbp
.cfi_def_cfa_register 6
pushq %rbx
subq $40, %rsp
.cfi_offset 3, -24
movq %rdi, -40(%rbp)
movq -40(%rbp), %rax
movq %rax, %rdi
call strle... |
/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_x86_linux_reloc/O0/001_problem81/code.o: file format elf64-x86-64
Disassembly of section .text:
0000000000000000 <func0>:
0: f3 0f 1e fa endbr64
4: 55 push %rbp
5: 48 89 e5 ... |
/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_x86_linux_reloc/O0/001_problem81/code.so: file format elf64-x86-64
Disassembly of section .init:
0000000000001000 <_init>:
1000: f3 0f 1e fa endbr64
1004: 48 83 ec 08 sub $0x8,%rsp
... |
/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_x86_linux_reloc/O0/001_problem81/code.program: file format elf64-x86-64
Disassembly of section .init:
0000000000001000 <_init>:
1000: f3 0f 1e fa endbr64
1004: 48 83 ec 08 sub $0x8,%rsp... | .file "source.c"
.text
.globl func0
.type func0, @function
func0:
.LFB0:
.cfi_startproc
endbr64
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
movq %rsp, %rbp
.cfi_def_cfa_register 6
pushq %rbx
subq $40, %rsp
.cfi_offset 3, -24
movq %rdi, -40(%rbp)
movq -40(%rbp), %rax
movq %rax, %rdi
call strle... |
/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_x86_linux_reloc/O0/001_problem81/code.pic.o: file format elf64-x86-64
Disassembly of section .text:
0000000000000000 <func0>:
0: f3 0f 1e fa endbr64
4: 55 push %rbp
5: 48 89 e5... | PROGRAM_ASM_V2
ARCHITECTURE: x86
OPTIMIZATION: O0
BINARY: generated_humaneval_x86_linux_reloc/O0/001_problem81/code.program
================================================================
SEMANTIC SECTION LAYOUT
================================================================
17 .rodata 00000004 000000000000... |
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);
... | .file "source.c"
.text
.section .rodata
.LC0:
.string "aeiouAEIOU"
.text
.globl func0
.type func0, @function
func0:
.LFB6:
.cfi_startproc
endbr64
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
movq %rsp, %rbp
.cfi_def_cfa_register 6
pushq %rbx
subq $88, %rsp
.cfi_offset 3, -24
movq %rdi, -72(%rb... |
/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_x86_linux_reloc/O0/002_problem118/code.o: file format elf64-x86-64
Disassembly of section .text:
0000000000000000 <func0>:
0: f3 0f 1e fa endbr64
4: 55 push %rbp
5: 48 89 e5 ... |
/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_x86_linux_reloc/O0/002_problem118/code.so: file format elf64-x86-64
Disassembly of section .init:
0000000000001000 <_init>:
1000: f3 0f 1e fa endbr64
1004: 48 83 ec 08 sub $0x8,%rsp
... |
/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_x86_linux_reloc/O0/002_problem118/code.program: file format elf64-x86-64
Disassembly of section .init:
0000000000001000 <_init>:
1000: f3 0f 1e fa endbr64
1004: 48 83 ec 08 sub $0x8,%rs... | .file "source.c"
.text
.section .rodata
.LC0:
.string "aeiouAEIOU"
.text
.globl func0
.type func0, @function
func0:
.LFB6:
.cfi_startproc
endbr64
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
movq %rsp, %rbp
.cfi_def_cfa_register 6
pushq %rbx
subq $88, %rsp
.cfi_offset 3, -24
movq %rdi, -72(%rb... |
/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_x86_linux_reloc/O0/002_problem118/code.pic.o: file format elf64-x86-64
Disassembly of section .text:
0000000000000000 <func0>:
0: f3 0f 1e fa endbr64
4: 55 push %rbp
5: 48 89 e... | PROGRAM_ASM_V2
ARCHITECTURE: x86
OPTIMIZATION: O0
BINARY: generated_humaneval_x86_linux_reloc/O0/002_problem118/code.program
================================================================
SEMANTIC SECTION LAYOUT
================================================================
17 .rodata 0000000f 00000000000... |
problem41 | "#include <stdio.h>\n#include <stdbool.h>\n\nbool func0(int *l, int size) {\n for (int i = 0; i <(...TRUNCATED) | "\t.file\t\"source.c\"\n\t.text\n\t.globl\tfunc0\n\t.type\tfunc0, @function\nfunc0:\n.LFB0:\n\t.cfi_(...TRUNCATED) | "\n/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_x(...TRUNCATED) | "\n/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_x(...TRUNCATED) | "\n/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_x(...TRUNCATED) | "\t.file\t\"source.c\"\n\t.text\n\t.globl\tfunc0\n\t.type\tfunc0, @function\nfunc0:\n.LFB0:\n\t.cfi_(...TRUNCATED) | "\n/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_x(...TRUNCATED) | "PROGRAM_ASM_V2\nARCHITECTURE: x86\nOPTIMIZATION: O0\nBINARY: generated_humaneval_x86_linux_reloc/O0(...TRUNCATED) |
problem15 | "#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n\nchar **func0(const char *str, int *(...TRUNCATED) | "\t.file\t\"source.c\"\n\t.text\n\t.globl\tfunc0\n\t.type\tfunc0, @function\nfunc0:\n.LFB6:\n\t.cfi_(...TRUNCATED) | "\n/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_x(...TRUNCATED) | "\n/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_x(...TRUNCATED) | "\n/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_x(...TRUNCATED) | "\t.file\t\"source.c\"\n\t.text\n\t.globl\tfunc0\n\t.type\tfunc0, @function\nfunc0:\n.LFB6:\n\t.cfi_(...TRUNCATED) | "\n/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_x(...TRUNCATED) | "PROGRAM_ASM_V2\nARCHITECTURE: x86\nOPTIMIZATION: O0\nBINARY: generated_humaneval_x86_linux_reloc/O0(...TRUNCATED) |
problem9 | "#include <stdio.h>\n\nvoid func0(int *numbers, int size, int *result) {\n int sum = 0, product =(...TRUNCATED) | "\t.file\t\"source.c\"\n\t.text\n\t.globl\tfunc0\n\t.type\tfunc0, @function\nfunc0:\n.LFB0:\n\t.cfi_(...TRUNCATED) | "\n/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_x(...TRUNCATED) | "\n/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_x(...TRUNCATED) | "\n/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_x(...TRUNCATED) | "\t.file\t\"source.c\"\n\t.text\n\t.globl\tfunc0\n\t.type\tfunc0, @function\nfunc0:\n.LFB0:\n\t.cfi_(...TRUNCATED) | "\n/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_x(...TRUNCATED) | "PROGRAM_ASM_V2\nARCHITECTURE: x86\nOPTIMIZATION: O0\nBINARY: generated_humaneval_x86_linux_reloc/O0(...TRUNCATED) |
problem65 | "#include <stdio.h>\n#include <string.h>\n#include <ctype.h>\n\nint func0(const char *s) {\n cons(...TRUNCATED) | "\t.file\t\"source.c\"\n\t.text\n\t.section\t.rodata\n.LC0:\n\t.string\t\"aeiouAEIOU\"\n\t.text\n\t.(...TRUNCATED) | "\n/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_x(...TRUNCATED) | "\n/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_x(...TRUNCATED) | "\n/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_x(...TRUNCATED) | "\t.file\t\"source.c\"\n\t.text\n\t.section\t.rodata\n.LC0:\n\t.string\t\"aeiouAEIOU\"\n\t.text\n\t.(...TRUNCATED) | "\n/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_x(...TRUNCATED) | "PROGRAM_ASM_V2\nARCHITECTURE: x86\nOPTIMIZATION: O0\nBINARY: generated_humaneval_x86_linux_reloc/O0(...TRUNCATED) |
problem57 | "#include <stdio.h>\n#include <stdbool.h>\n#include <string.h>\n\nbool func0(const char *brackets) {(...TRUNCATED) | "\t.file\t\"source.c\"\n\t.text\n\t.globl\tfunc0\n\t.type\tfunc0, @function\nfunc0:\n.LFB0:\n\t.cfi_(...TRUNCATED) | "\n/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_x(...TRUNCATED) | "\n/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_x(...TRUNCATED) | "\n/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_x(...TRUNCATED) | "\t.file\t\"source.c\"\n\t.text\n\t.globl\tfunc0\n\t.type\tfunc0, @function\nfunc0:\n.LFB0:\n\t.cfi_(...TRUNCATED) | "\n/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_x(...TRUNCATED) | "PROGRAM_ASM_V2\nARCHITECTURE: x86\nOPTIMIZATION: O0\nBINARY: generated_humaneval_x86_linux_reloc/O0(...TRUNCATED) |
problem33 | "#include <stdio.h>\n#include <math.h>\n\ndouble func0(const double *xs, int size) {\n double ans(...TRUNCATED) | "\t.file\t\"source.c\"\n\t.text\n\t.globl\tfunc0\n\t.type\tfunc0, @function\nfunc0:\n.LFB0:\n\t.cfi_(...TRUNCATED) | "\n/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_x(...TRUNCATED) | "\n/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_x(...TRUNCATED) | "\n/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_x(...TRUNCATED) | "\t.file\t\"source.c\"\n\t.text\n\t.globl\tfunc0\n\t.type\tfunc0, @function\nfunc0:\n.LFB0:\n\t.cfi_(...TRUNCATED) | "\n/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_x(...TRUNCATED) | "PROGRAM_ASM_V2\nARCHITECTURE: x86\nOPTIMIZATION: O0\nBINARY: generated_humaneval_x86_linux_reloc/O0(...TRUNCATED) |
problem48 | "#include <stdio.h>\n#include <math.h>\n#include <stdlib.h>\n\nfloat func0(float *l, int size) {\n (...TRUNCATED) | "\t.file\t\"source.c\"\n\t.text\n\t.globl\tfunc0\n\t.type\tfunc0, @function\nfunc0:\n.LFB6:\n\t.cfi_(...TRUNCATED) | "\n/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_x(...TRUNCATED) | "\n/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_x(...TRUNCATED) | "\n/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_x(...TRUNCATED) | "\t.file\t\"source.c\"\n\t.text\n\t.globl\tfunc0\n\t.type\tfunc0, @function\nfunc0:\n.LFB6:\n\t.cfi_(...TRUNCATED) | "\n/home/alexanderpretko/ASPLOS/CodeGeneration/HE/human-eval-binary-generation/generated_humaneval_x(...TRUNCATED) | "PROGRAM_ASM_V2\nARCHITECTURE: x86\nOPTIMIZATION: O0\nBINARY: generated_humaneval_x86_linux_reloc/O0(...TRUNCATED) |
End of preview. Expand in Data Studio
README.md exists but content is empty.
- Downloads last month
- 40