Dataset Viewer
Auto-converted to Parquet Duplicate
task_name
stringlengths
8
10
source_code
stringlengths
58
1.86k
compiler_asm
stringlengths
608
11.8k
object_asm
stringlengths
509
30.4k
shared_asm
stringlengths
4.67k
39.1k
program_asm
stringlengths
5.79k
40.2k
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/HE/generated_humaneval_x86_linux/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 mov %rsp,%rbp 8: 48 81 ec 30 04 00 00 su...
/home/alexanderpretko/HE/generated_humaneval_x86_linux/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 1008: 48 8b 05 c1 2f 00 00 mov 0x2fc1(%rip),%rax ...
/home/alexanderpretko/HE/generated_humaneval_x86_linux/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 1008: 48 8b 05 d9 2f 00 00 mov 0x2fd9(%rip),%rax...
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/HE/generated_humaneval_x86_linux/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 mov %rsp,%rbp 8: 53 pu...
/home/alexanderpretko/HE/generated_humaneval_x86_linux/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 1008: 48 8b 05 c1 2f 00 00 mov 0x2fc1(%rip),%rax ...
/home/alexanderpretko/HE/generated_humaneval_x86_linux/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 1008: 48 8b 05 d9 2f 00 00 mov 0x2fd9(%rip),%rax...
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/HE/generated_humaneval_x86_linux/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 mov %rsp,%rbp 8: 53 p...
/home/alexanderpretko/HE/generated_humaneval_x86_linux/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 1008: 48 8b 05 c1 2f 00 00 mov 0x2fc1(%rip),%rax ...
/home/alexanderpretko/HE/generated_humaneval_x86_linux/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,%rsp 1008: 48 8b 05 d9 2f 00 00 mov 0x2fd9(%rip),%ra...
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; }
.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 movq %rdi, -24(%rbp) movl %esi, -28(%rbp) movl $0, -12(%rbp) jmp .L2 .L9: movl -12(%rbp), %eax addl $1, %eax movl...
/home/alexanderpretko/HE/generated_humaneval_x86_linux/O0/003_problem41/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 mov %rsp,%rbp 8: 48 89 7d e8 mo...
/home/alexanderpretko/HE/generated_humaneval_x86_linux/O0/003_problem41/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 1008: 48 8b 05 d1 2f 00 00 mov 0x2fd1(%rip),%rax ...
/home/alexanderpretko/HE/generated_humaneval_x86_linux/O0/003_problem41/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 1008: 48 8b 05 d9 2f 00 00 mov 0x2fd9(%rip),%rax...
problem15
#include <stdio.h> #include <stdlib.h> #include <string.h> char **func0(const char *str, int *count) { int len = strlen(str); char **out = malloc(len * sizeof(char *)); char *current = malloc(len + 1); current[0] = '\0'; for (int i = 0; i < len; ++i) { size_t current_len = strlen(curr...
.file "source.c" .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 $56, %rsp .cfi_offset 3, -24 movq %rdi, -56(%rbp) movq %rsi, -64(%rbp) movq -56(%rbp), %rax movq ...
/home/alexanderpretko/HE/generated_humaneval_x86_linux/O0/004_problem15/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 mov %rsp,%rbp 8: 53 pu...
/home/alexanderpretko/HE/generated_humaneval_x86_linux/O0/004_problem15/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 1008: 48 8b 05 c1 2f 00 00 mov 0x2fc1(%rip),%rax ...
/home/alexanderpretko/HE/generated_humaneval_x86_linux/O0/004_problem15/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 1008: 48 8b 05 d9 2f 00 00 mov 0x2fd9(%rip),%rax...
problem9
#include <stdio.h> void func0(int *numbers, int size, int *result) { int sum = 0, product = 1; for (int i = 0; i < size; i++) { sum += numbers[i]; product *= numbers[i]; } result[0] = sum; result[1] = product; }
.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 movq %rdi, -24(%rbp) movl %esi, -28(%rbp) movq %rdx, -40(%rbp) movl $0, -12(%rbp) movl $1, -8(%rbp) movl $0, -4(%r...
/home/alexanderpretko/HE/generated_humaneval_x86_linux/O0/005_problem9/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 mov %rsp,%rbp 8: 48 89 7d e8 mov...
/home/alexanderpretko/HE/generated_humaneval_x86_linux/O0/005_problem9/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 1008: 48 8b 05 d1 2f 00 00 mov 0x2fd1(%rip),%rax ...
/home/alexanderpretko/HE/generated_humaneval_x86_linux/O0/005_problem9/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 1008: 48 8b 05 d9 2f 00 00 mov 0x2fd9(%rip),%rax ...
problem65
#include <stdio.h> #include <string.h> #include <ctype.h> int func0(const char *s) { const char *vowels = "aeiouAEIOU"; int count = 0; int length = strlen(s); for (int i = 0; i < length; i++) { if (strchr(vowels, s[i])) { count++; } } if (length > 0 && (s[l...
.file "source.c" .text .section .rodata .LC0: .string "aeiouAEIOU" .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 $48, %rsp movq %rdi, -40(%rbp) leaq .LC0(%rip), %rax movq ...
/home/alexanderpretko/HE/generated_humaneval_x86_linux/O0/006_problem65/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 mov %rsp,%rbp 8: 48 83 ec 30 su...
/home/alexanderpretko/HE/generated_humaneval_x86_linux/O0/006_problem65/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 1008: 48 8b 05 c1 2f 00 00 mov 0x2fc1(%rip),%rax ...
/home/alexanderpretko/HE/generated_humaneval_x86_linux/O0/006_problem65/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 1008: 48 8b 05 d9 2f 00 00 mov 0x2fd9(%rip),%rax...
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/HE/generated_humaneval_x86_linux/O0/007_problem57/code.o: file format e(...TRUNCATED)
"\n/home/alexanderpretko/HE/generated_humaneval_x86_linux/O0/007_problem57/code.so: file format (...TRUNCATED)
"\n/home/alexanderpretko/HE/generated_humaneval_x86_linux/O0/007_problem57/code.program: file fo(...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/HE/generated_humaneval_x86_linux/O0/008_problem33/code.o: file format e(...TRUNCATED)
"\n/home/alexanderpretko/HE/generated_humaneval_x86_linux/O0/008_problem33/code.so: file format (...TRUNCATED)
"\n/home/alexanderpretko/HE/generated_humaneval_x86_linux/O0/008_problem33/code.program: file fo(...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/HE/generated_humaneval_x86_linux/O0/009_problem48/code.o: file format e(...TRUNCATED)
"\n/home/alexanderpretko/HE/generated_humaneval_x86_linux/O0/009_problem48/code.so: file format (...TRUNCATED)
"\n/home/alexanderpretko/HE/generated_humaneval_x86_linux/O0/009_problem48/code.program: file fo(...TRUNCATED)
End of preview. Expand in Data Studio
README.md exists but content is empty.
Downloads last month
11