Dataset Viewer
Auto-converted to Parquet Duplicate
task_name
stringlengths
8
10
source_code
stringlengths
58
1.86k
x86
stringlengths
668
14.9k
arm_linux
stringlengths
578
13.4k
riscv
stringlengths
980
12.6k
arm_apple
stringlengths
464
13.2k
problem1
#include <stdio.h> #include <stdlib.h> #include <math.h> int func0(float numbers[], int size, float threshold) { int i, j; for (i = 0; i < size; i++) for (j = i + 1; j < size; j++) if (fabs(numbers[i] - numbers[j]) < threshold) return 1; return 0; }
.text .intel_syntax noprefix .file "code.c" .section .rodata.cst16,"aM",@progbits,16 .p2align 4, 0x0 # -- Begin function func0 .LCPI0_0: .quad 0x7fffffffffffffff # double NaN .quad 0x7fffffffffffffff # double NaN .text .globl func0 .p2align 4, 0x90 .type fun...
.text .file "code.c" .globl func0 // -- Begin function func0 .p2align 2 .type func0,@function func0: // @func0 .cfi_startproc // %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 str x0, [sp, #16] str w1, [sp, #12] str s0, [sp, #8] str wzr, [sp, #4] b ...
.text .attribute 4, 16 .attribute 5, "rv64i2p1_m2p0_a2p1_f2p2_d2p2_c2p0_zicsr2p0_zifencei2p0" .file "code.c" .globl func0 # -- Begin function func0 .p2align 1 .type func0,@function func0: # @func0 .cfi_startproc # %bb.0: addi sp, sp, -48 .cfi_def_cfa_...
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 .globl _func0 ; -- Begin function func0 .p2align 2 _func0: ; @func0 .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 str x0, [sp, #16] str w1, [sp, #12] str s0, [...
problem10
#include <stdio.h> #include <stdlib.h> int *func0(int *numbers, int size) { if (size <= 0) { return NULL; } int *out = malloc(size * sizeof(int)); if (!out) { return NULL; } int max = numbers[0]; for (int i = 0; i < size; i++) { if (numbers[i] > max) max = ...
.text .intel_syntax noprefix .file "code.c" .globl func0 # -- Begin function func0 .p2align 4, 0x90 .type func0,@function func0: # @func0 .cfi_startproc # %bb.0: push rbp .cfi_def_cfa_offset 16 .cfi_offset rbp, -16 mov rbp, rsp .cfi_def_cfa_register...
.text .file "code.c" .globl func0 // -- Begin function func0 .p2align 2 .type func0,@function func0: // @func0 .cfi_startproc // %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 stp x29, x30, [sp, #48] // 16-byte Folded Spill add x29, sp, #48...
.text .attribute 4, 16 .attribute 5, "rv64i2p1_m2p0_a2p1_f2p2_d2p2_c2p0_zicsr2p0_zifencei2p0" .file "code.c" .globl func0 # -- Begin function func0 .p2align 1 .type func0,@function func0: # @func0 .cfi_startproc # %bb.0: addi sp, sp, -64 .cfi_def_cfa_...
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 .globl _func0 ; -- Begin function func0 .p2align 2 _func0: ; @func0 .cfi_startproc ; %bb.0: sub sp, sp, #64 stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp...
problem100
#include <stdio.h> #include <stdlib.h> #include <math.h> int func0(const char *value) { double w; w = atof(value); return (int)(w < 0 ? ceil(w - 0.5) : floor(w + 0.5)); }
.text .intel_syntax noprefix .file "code.c" .section .rodata.cst8,"aM",@progbits,8 .p2align 3, 0x0 # -- Begin function func0 .LCPI0_0: .quad 0x3fe0000000000000 # double 0.5 .text .globl func0 .p2align 4, 0x90 .type func0,@function func0: #...
.text .file "code.c" .globl func0 // -- Begin function func0 .p2align 2 .type func0,@function func0: // @func0 .cfi_startproc // %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x29, x30, [sp, #32] // 16-byte Folded Spill add x29, sp, #32...
.text .attribute 4, 16 .attribute 5, "rv64i2p1_m2p0_a2p1_f2p2_d2p2_c2p0_zicsr2p0_zifencei2p0" .file "code.c" .section .sdata,"aw",@progbits .p2align 3 # -- Begin function func0 .LCPI0_0: .quad 0x3fe0000000000000 # double 0.5 .LCPI0_1: .quad 0x4330000000000000 ...
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 .globl _func0 ; -- Begin function func0 .p2align 2 _func0: ; @func0 .cfi_startproc ; %bb.0: sub sp, sp, #48 stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp...
problem101
#include <stdio.h> #include <stdlib.h> int* func0(int n) { int* out = (int*)malloc(n * sizeof(int)); *out = n; for (int i = 1; i < n; i++) *(out + i) = *(out + i - 1) + 2; return out; }
.text .intel_syntax noprefix .file "code.c" .globl func0 # -- Begin function func0 .p2align 4, 0x90 .type func0,@function func0: # @func0 .cfi_startproc # %bb.0: push rbp .cfi_def_cfa_offset 16 .cfi_offset rbp, -16 mov rbp, rsp .cfi_def_cfa_register...
.text .file "code.c" .globl func0 // -- Begin function func0 .p2align 2 .type func0,@function func0: // @func0 .cfi_startproc // %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x29, x30, [sp, #32] // 16-byte Folded Spill add x29, sp, #32...
.text .attribute 4, 16 .attribute 5, "rv64i2p1_m2p0_a2p1_f2p2_d2p2_c2p0_zicsr2p0_zifencei2p0" .file "code.c" .globl func0 # -- Begin function func0 .p2align 1 .type func0,@function func0: # @func0 .cfi_startproc # %bb.0: addi sp, sp, -48 .cfi_def_cfa_...
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 .globl _func0 ; -- Begin function func0 .p2align 2 _func0: ; @func0 .cfi_startproc ; %bb.0: sub sp, sp, #48 stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp...
problem102
#include <stdio.h> #include <stdlib.h> #include <string.h> char** func0(const char* s, int* count) { int capacity = 10; char** out = malloc(capacity * sizeof(char*)); char* current = malloc(strlen(s) + 1); int word_count = 0; int current_length = 0; for (int i = 0; s[i]; i++) { if (s[i...
.text .intel_syntax noprefix .file "code.c" .globl func0 # -- Begin function func0 .p2align 4, 0x90 .type func0,@function func0: # @func0 .cfi_startproc # %bb.0: push rbp .cfi_def_cfa_offset 16 .cfi_offset rbp, -16 mov rbp, rsp .cfi_def_cfa_register...
.text .file "code.c" .globl func0 // -- Begin function func0 .p2align 2 .type func0,@function func0: // @func0 .cfi_startproc // %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 stp x29, x30, [sp, #64] // 16-byte Folded Spill add x29, sp, #64...
.text .attribute 4, 16 .attribute 5, "rv64i2p1_m2p0_a2p1_f2p2_d2p2_c2p0_zicsr2p0_zifencei2p0" .file "code.c" .globl func0 # -- Begin function func0 .p2align 1 .type func0,@function func0: # @func0 .cfi_startproc # %bb.0: addi sp, sp, -80 .cfi_def_cfa_...
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 .globl _func0 ; -- Begin function func0 .p2align 2 _func0: ; @func0 .cfi_startproc ; %bb.0: sub sp, sp, #80 stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp...
problem103
#include <stdio.h> int func0(int x, int y) { if (y < x) return -1; if (y == x && y % 2 == 1) return -1; if (y % 2 == 1) return y - 1; return y; }
.text .intel_syntax noprefix .file "code.c" .globl func0 # -- Begin function func0 .p2align 4, 0x90 .type func0,@function func0: # @func0 .cfi_startproc # %bb.0: push rbp .cfi_def_cfa_offset 16 .cfi_offset rbp, -16 mov rbp, rsp .cfi_def_cfa_register...
.text .file "code.c" .globl func0 // -- Begin function func0 .p2align 2 .type func0,@function func0: // @func0 .cfi_startproc // %bb.0: sub sp, sp, #16 .cfi_def_cfa_offset 16 str w0, [sp, #8] str w1, [sp, #4] ldr w8, [sp, #4] ldr w9, [sp, #8] subs ...
.text .attribute 4, 16 .attribute 5, "rv64i2p1_m2p0_a2p1_f2p2_d2p2_c2p0_zicsr2p0_zifencei2p0" .file "code.c" .globl func0 # -- Begin function func0 .p2align 1 .type func0,@function func0: # @func0 .cfi_startproc # %bb.0: addi sp, sp, -32 .cfi_def_cfa_...
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 .globl _func0 ; -- Begin function func0 .p2align 2 _func0: ; @func0 .cfi_startproc ; %bb.0: sub sp, sp, #16 .cfi_def_cfa_offset 16 str w0, [sp, #8] str w1, [sp, #4] ldr w8, [sp...
problem104
#include <stdio.h> #include <stdlib.h> char* func0(int n, int m) { if (n > m) return "-1"; int num = (m + n) / 2; char* out = (char*)malloc(33); out[0] = '\0'; int index = 32; out[index--] = '\0'; do { out[index--] = '0' + num % 2; num /= 2; } while (num > 0); ret...
.text .intel_syntax noprefix .file "code.c" .globl func0 # -- Begin function func0 .p2align 4, 0x90 .type func0,@function func0: # @func0 .cfi_startproc # %bb.0: push rbp .cfi_def_cfa_offset 16 .cfi_offset rbp, -16 mov rbp, rsp .cfi_def_cfa_register...
.text .file "code.c" .globl func0 // -- Begin function func0 .p2align 2 .type func0,@function func0: // @func0 .cfi_startproc // %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 stp x29, x30, [sp, #48] // 16-byte Folded Spill add x29, sp, #48...
.text .attribute 4, 16 .attribute 5, "rv64i2p1_m2p0_a2p1_f2p2_d2p2_c2p0_zicsr2p0_zifencei2p0" .file "code.c" .globl func0 # -- Begin function func0 .p2align 1 .type func0,@function func0: # @func0 .cfi_startproc # %bb.0: addi sp, sp, -64 .cfi_def_cfa_...
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 .globl _func0 ; -- Begin function func0 .p2align 2 _func0: ; @func0 .cfi_startproc ; %bb.0: sub sp, sp, #64 stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp...
problem105
#include <stdio.h> #include <stdlib.h> #include <stdbool.h> void func0(int *x, int size, int **out, int *out_size) { *out = malloc(size * sizeof(int)); *out_size = 0; for (int i = 0; i < size; i++) { int num = x[i]; bool has_even_digit = false; if (num == 0) has_even_digit = true; ...
.text .intel_syntax noprefix .file "code.c" .globl func0 # -- Begin function func0 .p2align 4, 0x90 .type func0,@function func0: # @func0 .cfi_startproc # %bb.0: push rbp .cfi_def_cfa_offset 16 .cfi_offset rbp, -16 mov rbp, rsp .cfi_def_cfa_register...
.text .file "code.c" .globl func0 // -- Begin function func0 .p2align 2 .type func0,@function func0: // @func0 .cfi_startproc // %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 stp x29, x30, [sp, #64] // 16-byte Folded Spill add x29, sp, #64...
.text .attribute 4, 16 .attribute 5, "rv64i2p1_m2p0_a2p1_f2p2_d2p2_c2p0_zicsr2p0_zifencei2p0" .file "code.c" .globl func0 # -- Begin function func0 .p2align 1 .type func0,@function func0: # @func0 .cfi_startproc # %bb.0: addi sp, sp, -80 .cfi_def_cfa_...
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 .globl _func0 ; -- Begin function func0 .p2align 2 _func0: ; @func0 .cfi_startproc ; %bb.0: sub sp, sp, #80 stp x29, x30, [sp, #64] ; 16-byte Folded Spill add x29, sp...
problem106
#include <stdio.h> #include <stdlib.h> #include <string.h> void func0(int *arr, int size, char ***out, int *out_size) { char *names[] = {"", "One", "Two", "Three", "Four", "Five", "Six", "Seven", "Eight", "Nine"}; int i, j; for (i = 0; i < size - 1; i++) { for (j = 0; j < size - i - 1; j++) { ...
.text .intel_syntax noprefix .file "code.c" .globl func0 # -- Begin function func0 .p2align 4, 0x90 .type func0,@function func0: # @func0 .cfi_startproc # %bb.0: push rbp .cfi_def_cfa_offset 16 .cfi_offset rbp, -16 mov rbp, rsp .cfi_def_cfa_register...
.text .file "code.c" .globl func0 // -- Begin function func0 .p2align 2 .type func0,@function func0: // @func0 .cfi_startproc // %bb.0: sub sp, sp, #144 .cfi_def_cfa_offset 144 stp x29, x30, [sp, #128] // 16-byte Folded Spill add x29, sp, #...
.text .attribute 4, 16 .attribute 5, "rv64i2p1_m2p0_a2p1_f2p2_d2p2_c2p0_zicsr2p0_zifencei2p0" .file "code.c" .globl func0 # -- Begin function func0 .p2align 1 .type func0,@function func0: # @func0 .cfi_startproc # %bb.0: addi sp, sp, -160 .cfi_def_cfa...
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 .globl _func0 ; -- Begin function func0 .p2align 2 _func0: ; @func0 .cfi_startproc ; %bb.0: sub sp, sp, #160 stp x29, x30, [sp, #144] ; 16-byte Folded Spill add x29, s...
problem107
#include <stdio.h> #include <stdlib.h> int* func0(int n) { int* out = (int*)malloc(n * sizeof(int)); int sum = 0, prod = 1; for (int i = 1; i <= n; i++) { sum += i; prod *= i; if (i % 2 == 0) out[i - 1] = prod; else out[i - 1] = sum; } return out; }
.text .intel_syntax noprefix .file "code.c" .globl func0 # -- Begin function func0 .p2align 4, 0x90 .type func0,@function func0: # @func0 .cfi_startproc # %bb.0: push rbp .cfi_def_cfa_offset 16 .cfi_offset rbp, -16 mov rbp, rsp .cfi_def_cfa_register...
.text .file "code.c" .globl func0 // -- Begin function func0 .p2align 2 .type func0,@function func0: // @func0 .cfi_startproc // %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x29, x30, [sp, #32] // 16-byte Folded Spill add x29, sp, #32...
.text .attribute 4, 16 .attribute 5, "rv64i2p1_m2p0_a2p1_f2p2_d2p2_c2p0_zicsr2p0_zifencei2p0" .file "code.c" .globl func0 # -- Begin function func0 .p2align 1 .type func0,@function func0: # @func0 .cfi_startproc # %bb.0: addi sp, sp, -48 .cfi_def_cfa_...
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 .globl _func0 ; -- Begin function func0 .p2align 2 _func0: ; @func0 .cfi_startproc ; %bb.0: sub sp, sp, #48 stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp...
problem108
#include <stdio.h> #include <stdlib.h> int* func0(int n) { int* counts = (int*)malloc(2 * sizeof(int)); counts[0] = 0; counts[1] = 0; for (int i = 1; i <= n; i++) { int reversed = 0, original = i; int number = i; while (number != 0) { reversed = reversed * 10 + num...
.text .intel_syntax noprefix .file "code.c" .globl func0 # -- Begin function func0 .p2align 4, 0x90 .type func0,@function func0: # @func0 .cfi_startproc # %bb.0: push rbp .cfi_def_cfa_offset 16 .cfi_offset rbp, -16 mov rbp, rsp .cfi_def_cfa_register...
.text .file "code.c" .globl func0 // -- Begin function func0 .p2align 2 .type func0,@function func0: // @func0 .cfi_startproc // %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x29, x30, [sp, #32] // 16-byte Folded Spill add x29, sp, #32...
.text .attribute 4, 16 .attribute 5, "rv64i2p1_m2p0_a2p1_f2p2_d2p2_c2p0_zicsr2p0_zifencei2p0" .file "code.c" .globl func0 # -- Begin function func0 .p2align 1 .type func0,@function func0: # @func0 .cfi_startproc # %bb.0: addi sp, sp, -48 .cfi_def_cfa_...
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 .globl _func0 ; -- Begin function func0 .p2align 2 _func0: ; @func0 .cfi_startproc ; %bb.0: sub sp, sp, #48 stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp...
problem109
#include <stdio.h> #include <stdlib.h> int func0(int *n, int size) { int num = 0; for (int i = 0; i < size; i++) { if (n[i] > 0) { num += 1; } else { int sum = 0; int w = abs(n[i]); while (w >= 10) { sum += w % 10; ...
.text .intel_syntax noprefix .file "code.c" .globl func0 # -- Begin function func0 .p2align 4, 0x90 .type func0,@function func0: # @func0 .cfi_startproc # %bb.0: push rbp .cfi_def_cfa_offset 16 .cfi_offset rbp, -16 mov rbp, rsp .cfi_def_cfa_register...
.text .file "code.c" .globl func0 // -- Begin function func0 .p2align 2 .type func0,@function func0: // @func0 .cfi_startproc // %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x29, x30, [sp, #32] // 16-byte Folded Spill add x29, sp, #32...
.text .attribute 4, 16 .attribute 5, "rv64i2p1_m2p0_a2p1_f2p2_d2p2_c2p0_zicsr2p0_zifencei2p0" .file "code.c" .globl func0 # -- Begin function func0 .p2align 1 .type func0,@function func0: # @func0 .cfi_startproc # %bb.0: addi sp, sp, -48 .cfi_def_cfa_...
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 .globl _func0 ; -- Begin function func0 .p2align 2 _func0: ; @func0 .cfi_startproc ; %bb.0: sub sp, sp, #48 stp x29, x30, [sp, #32] ; 16-byte Folded Spill add x29, sp...
problem11
#include <stdio.h> #include <stdlib.h> #include <string.h> char *func0(const char *str) { int len = strlen(str), i, j; char *result = (char *)malloc(2 * len + 1); if (!result) { return NULL; } for (i = 0; i < len; i++) { int is_palindrome = 1; for (j = 0; j < (len - i) / 2...
.text .intel_syntax noprefix .file "code.c" .globl func0 # -- Begin function func0 .p2align 4, 0x90 .type func0,@function func0: # @func0 .cfi_startproc # %bb.0: push rbp .cfi_def_cfa_offset 16 .cfi_offset rbp, -16 mov rbp, rsp .cfi_def_cfa_register...
.text .file "code.c" .globl func0 // -- Begin function func0 .p2align 2 .type func0,@function func0: // @func0 .cfi_startproc // %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 stp x29, x30, [sp, #48] // 16-byte Folded Spill add x29, sp, #48...
.text .attribute 4, 16 .attribute 5, "rv64i2p1_m2p0_a2p1_f2p2_d2p2_c2p0_zicsr2p0_zifencei2p0" .file "code.c" .globl func0 # -- Begin function func0 .p2align 1 .type func0,@function func0: # @func0 .cfi_startproc # %bb.0: addi sp, sp, -64 .cfi_def_cfa_...
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 .globl _func0 ; -- Begin function func0 .p2align 2 _func0: ; @func0 .cfi_startproc ; %bb.0: sub sp, sp, #64 stp x29, x30, [sp, #48] ; 16-byte Folded Spill add x29, sp...
problem110
#include <stdio.h> #include <stdbool.h> bool func0(int *arr, int size) { int num = 0; if (size == 0) return true; for (int i = 1; i < size; i++) if (arr[i] < arr[i - 1]) num += 1; if (arr[size - 1] > arr[0]) num += 1; if (num < 2) return true; return false; }
.text .intel_syntax noprefix .file "code.c" .globl func0 # -- Begin function func0 .p2align 4, 0x90 .type func0,@function func0: # @func0 .cfi_startproc # %bb.0: push rbp .cfi_def_cfa_offset 16 .cfi_offset rbp, -16 mov rbp, rsp .cfi_def_cfa_register...
.text .file "code.c" .globl func0 // -- Begin function func0 .p2align 2 .type func0,@function func0: // @func0 .cfi_startproc // %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 str x0, [sp, #16] str w1, [sp, #12] str wzr, [sp, #8] ldr w8, [sp, #12] s...
.text .attribute 4, 16 .attribute 5, "rv64i2p1_m2p0_a2p1_f2p2_d2p2_c2p0_zicsr2p0_zifencei2p0" .file "code.c" .globl func0 # -- Begin function func0 .p2align 1 .type func0,@function func0: # @func0 .cfi_startproc # %bb.0: addi sp, sp, -48 .cfi_def_cfa_...
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 .globl _func0 ; -- Begin function func0 .p2align 2 _func0: ; @func0 .cfi_startproc ; %bb.0: sub sp, sp, #32 .cfi_def_cfa_offset 32 str x0, [sp, #16] str w1, [sp, #12] str wzr, ...
End of preview. Expand in Data Studio

HumanEval-C and Assembly

This dataset pairs C functions from the HumanEval-Decompile benchmark with assembly generated by Clang 17 for four CPU targets and seven optimization levels. It is intended for research on compilation, decompilation, assembly understanding, and cross-architecture code translation.

Dataset structure

The dataset contains 164 programs. Each optimization level is stored as a separate Hugging Face split, with 164 rows per split.

These are compiler configurations, not predefined training, validation, or test sets. The same 164 tasks appear in every split, so users should split by task_name before training to avoid data leakage across optimization levels.

Each row has the following fields:

Field Description
task_name HumanEval-C task identifier
source_code C implementation for the task
x86 x86-64 Linux assembly in Intel syntax
arm_linux AArch64 Linux assembly
riscv RISC-V RV64GC Linux assembly using the LP64D ABI
arm_apple AArch64 Apple Darwin assembly

Usage

Load every optimization level:

from datasets import load_dataset

dataset = load_dataset("murodbek/humaneval_asm")
print(dataset)

example = dataset["O2"][0]
print(example)

Load only one optimization level:

from datasets import load_dataset

dataset = load_dataset("murodbek/humaneval_asm", split="O2")

Dataset creation

The C tasks were sourced from HumanEval-Decompile in LLM4Decompile. For each task, code.c was compiled to assembly with Clang 17.

The architecture-specific compiler options were:

x86:       -target x86_64-unknown-linux-gnu -masm=intel
arm_linux: -target aarch64-linux-gnu
riscv:     -target riscv64-unknown-linux-gnu -march=rv64gc -mabi=lp64d
arm_apple: -target arm64-apple-darwin

Linux-targeted and Apple-targeted outputs were generated separately, joined on task_name and source_code, and sorted by task name.

Important notes

  • source_code contains the task implementation. The separate test harness used to check functional correctness is not included in each row.
  • The assembly may reference C standard library or math library functions and is not necessarily a standalone, linkable program by itself.
  • Results represent one compiler family and version: Clang 17. Assembly produced by other compilers or versions may differ substantially.
  • Architecture columns should not be assumed to have identical instruction-by-instruction behavior or formatting, even though they originate from the same C source.
  • Because the same programs occur at every optimization level, random row-level splitting across the full dataset can leak the same source program into both training and evaluation sets.

Source and license

The source programs come from the HumanEval-Decompile benchmark in albertan017/LLM4Decompile, which is distributed under the MIT License.

If you use this dataset, please also cite the original LLM4Decompile work and credit its authors.

Downloads last month
63