fname stringlengths 1 1.03k | func_def stringlengths 20 7.68k | technique stringclasses 3
values | clean_asm stringlengths 83 15.9k | obfuscated_asm stringlengths 106 28.6k | clean_ir stringlengths 42 8k | obfuscated_c stringlengths 149 47.6k | tigress_seed int64 3.25k 2.15B | exebench_split stringclasses 1
value | c_deps stringclasses 1
value | func_c_signature stringclasses 1
value | cpp_wrapper stringclasses 1
value | dummy_funcs stringclasses 1
value | io_pairs stringlengths 0 7.22M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
sacaC | void sacaC(TCola *c, TElementoC* dato) {
if (!vaciaC(*c)) {
*dato = (*c).datos[(*c).pri];
if ((*c).pri == (*c).ult) {
iniciaC(c);
} else {
(*c).pri += 1;
}
}
} | EncodeArithmetic | .global sacaC
.type sacaC, %function
sacaC:
.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 x0, [sp, 56]
str x1, [sp, 48]
ldr x0, [sp, 56]
add x2, sp, 16
mov x3, x0
ldp x0, x1, [x3]
stp x0, x1, [x2]
ldr x0, [x3, 16]
str x0, [x2... | .global sacaC
.type sacaC, %function
sacaC:
.LFB7:
.cfi_startproc
stp x29, x30, [sp, -80]!
.cfi_def_cfa_offset 80
.cfi_offset 29, -80
.cfi_offset 30, -72
mov x29, sp
str x0, [sp, 56]
str x1, [sp, 48]
ldr x1, [sp, 56]
add x0, sp, 16
ldp x2, x3, [x1]
ldr x1, [x1, 16]
stp x2, x3, [x0]
str x1, [x0, 16]
add... | %struct.TYPE_5__ = type { i64, i64, i32* }
define dso_local void @sacaC(%struct.TYPE_5__* %0, i32* %1) {
%3 = alloca %struct.TYPE_5__*, align 8
%4 = alloca i32*, align 8
store %struct.TYPE_5__* %0, %struct.TYPE_5__** %3, align 8
store i32* %1, i32** %4, align 8
%5 = load %struct.TYPE_5__*, %struct.TYPE_5__**... | /* BEGIN FUNCTION-DEF sacaC LOC=UNKNOWN VKEY=4891 */
void sacaC(TCola *c , TElementoC *dato )
{
int tmp ;
{
#line 48 "/tmp/forklift_obfu_ecfkw6la/input.c"
tmp = vaciaC(*c);
#line 48
if (! tmp) {
#line 49
*dato = *(c->datos + c->pri);
#line 50
if ((int )((~ ((c->pri - c->ult) | (c->ult - c->pri)) >> 6... | 107,420,369 | train_synth_compilable | |||||
block_mark_as_free | static void
block_mark_as_free(block_header_t *block)
{
block_header_t *next;
next = block_link_next(block);
block_set_prev_free(next);
block_set_free(block);
} | EncodeArithmetic | .global block_mark_as_free
.type block_mark_as_free, %function
block_mark_as_free:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str x0, [sp, 24]
ldr x0, [sp, 24]
bl block_link_next
str x0, [sp, 40]
ldr x0, [sp, 40]
bl block_set_pre... | .global block_mark_as_free
.type block_mark_as_free, %function
block_mark_as_free:
.LFB1:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str x0, [sp, 24]
ldr x0, [sp, 24]
bl block_link_next
str x0, [sp, 40]
ldr x0, [sp, 40]
bl block_set_p... | define dso_local void @block_mark_as_free(i32* %0) {
%2 = alloca i32*, align 8
%3 = alloca i32*, align 8
store i32* %0, i32** %2, align 8
%4 = load i32*, i32** %2, align 8
%5 = call i32* @block_link_next(i32* %4)
store i32* %5, i32** %3, align 8
%6 = load i32*, i32** %3, align 8
%7 = call i32 @block_se... | /* BEGIN FUNCTION-DEF block_mark_as_free LOC=UNKNOWN VKEY=4891 */
static void block_mark_as_free(block_header_t *block )
{
block_header_t *next ;
{
{
#line 51 "/tmp/forklift_obfu_lta5ieih/input.c"
next = block_link_next(block);
#line 52
block_set_prev_free(next);
#line 53
block_set_free(block);
}
#line... | 999,270,936 | train_synth_compilable | {"input": [{"var": ["block"], "value": ["[97, 38, 8, 111, 88, 38, 66, 41, 71, 66, 104, 92, 121, 89, 67, 81, 14, 85, 69, 41, 116, 65, 47, 78, 12, 88, 60, 33, 31, 23, 23, 51]"]}, {"var": ["block"], "value": ["[31, 120, 19, 94, 13, 77, 86, 115, 81, 92, 91, 40, 51, 55, 59, 62, 60, 69, 91, 87, 14, 41, 104, 91, 44, 82, 74, 9... | ||||
sacaC | void sacaC(TCola *c, TElementoC* dato) {
if (!vaciaC(*c)) {
*dato = (*c).datos[(*c).pri];
if ((*c).pri == (*c).ult) {
iniciaC(c);
} else {
(*c).pri += 1;
}
}
} | Flatten+EncodeArithmetic | .global sacaC
.type sacaC, %function
sacaC:
.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 x0, [sp, 56]
str x1, [sp, 48]
ldr x0, [sp, 56]
add x2, sp, 16
mov x3, x0
ldp x0, x1, [x3]
stp x0, x1, [x2]
ldr x0, [x3, 16]
str x0, [x2... | .global sacaC
.type sacaC, %function
sacaC:
.LFB5:
.cfi_startproc
stp x29, x30, [sp, -80]!
.cfi_def_cfa_offset 80
.cfi_offset 29, -80
.cfi_offset 30, -72
mov x29, sp
str x0, [sp, 56]
str x1, [sp, 48]
str xzr, [sp, 64]
.L16:
ldr x0, [sp, 64]
cmp x0, 6
beq .L2
ldr x0, [sp, 64]
cmp x0, 6
bhi .L17
ldr x0,... | %struct.TYPE_5__ = type { i64, i64, i32* }
define dso_local void @sacaC(%struct.TYPE_5__* %0, i32* %1) {
%3 = alloca %struct.TYPE_5__*, align 8
%4 = alloca i32*, align 8
store %struct.TYPE_5__* %0, %struct.TYPE_5__** %3, align 8
store i32* %1, i32** %4, align 8
%5 = load %struct.TYPE_5__*, %struct.TYPE_5__**... | /* BEGIN FUNCTION-DEF sacaC LOC=UNKNOWN VKEY=4897 */
void sacaC(TCola *c , TElementoC *dato )
{
int tmp ;
unsigned long _TIG_FN_dohy_1_sacaC_next ;
{
_TIG_FN_dohy_1_sacaC_next = 0UL;
while (1) {
switch (_TIG_FN_dohy_1_sacaC_next) {
case 4UL:
#line 49 "/tmp/forklift_obfu_bxffb0xo/input.c"
*dato... | 1,181,241,943 | train_synth_compilable | |||||
block_mark_as_free | static void
block_mark_as_free(block_header_t *block)
{
block_header_t *next;
next = block_link_next(block);
block_set_prev_free(next);
block_set_free(block);
} | Flatten+EncodeArithmetic | .global block_mark_as_free
.type block_mark_as_free, %function
block_mark_as_free:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str x0, [sp, 24]
ldr x0, [sp, 24]
bl block_link_next
str x0, [sp, 40]
ldr x0, [sp, 40]
bl block_set_pre... | .global block_mark_as_free
.type block_mark_as_free, %function
block_mark_as_free:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str x0, [sp, 24]
str xzr, [sp, 40]
.L7:
ldr x0, [sp, 40]
cmp x0, 2
beq .L8
ldr x0, [sp, 40]
cmp x0, ... | define dso_local void @block_mark_as_free(i32* %0) {
%2 = alloca i32*, align 8
%3 = alloca i32*, align 8
store i32* %0, i32** %2, align 8
%4 = load i32*, i32** %2, align 8
%5 = call i32* @block_link_next(i32* %4)
store i32* %5, i32** %3, align 8
%6 = load i32*, i32** %3, align 8
%7 = call i32 @block_se... | /* BEGIN FUNCTION-DEF block_mark_as_free LOC=UNKNOWN VKEY=4896 */
static void block_mark_as_free(block_header_t *block )
{
block_header_t *next ;
unsigned long _TIG_FN_dgeb_1_block_mark_as_free_next ;
{
_TIG_FN_dgeb_1_block_mark_as_free_next = 0UL;
while (1) {
switch (_TIG_FN_dgeb_1_block_mark_as_free_... | 113,971,123 | train_synth_compilable | {"input": [{"var": ["block"], "value": ["[97, 38, 8, 111, 88, 38, 66, 41, 71, 66, 104, 92, 121, 89, 67, 81, 14, 85, 69, 41, 116, 65, 47, 78, 12, 88, 60, 33, 31, 23, 23, 51]"]}, {"var": ["block"], "value": ["[31, 120, 19, 94, 13, 77, 86, 115, 81, 92, 91, 40, 51, 55, 59, 62, 60, 69, 91, 87, 14, 41, 104, 91, 44, 82, 74, 9... | ||||
pcnet_detach | __attribute__((used)) static void pcnet_detach(struct pcmcia_device *link)
{
struct net_device *dev = link->priv;
DEBUG(0, "pcnet_detach(0x%p)\n", link);
if (link->dev_node)
unregister_netdev(dev);
pcnet_release(link);
free_netdev(dev);
} | Flatten+EncodeArithmetic | .global pcnet_detach
.type pcnet_detach, %function
pcnet_detach:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str x0, [sp, 24]
ldr x0, [sp, 24]
ldr x0, [x0, 8]
str x0, [sp, 40]
ldr x2, [sp, 24]
adrp x0, .LC0
add x1, x0, :lo12:.LC0... | .global pcnet_detach
.type pcnet_detach, %function
pcnet_detach:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str x0, [sp, 24]
mov x0, 3
str x0, [sp, 32]
.L13:
ldr x0, [sp, 32]
cmp x0, 6
beq .L2
ldr x0, [sp, 32]
cmp x0, 6
bhi ... | %struct.pcmcia_device = type { i64, %struct.net_device* }
%struct.net_device = type { i32 }
@.str = external hidden unnamed_addr constant [20 x i8], align 1
define dso_local void @pcnet_detach(%struct.pcmcia_device* %0) {
%2 = alloca %struct.pcmcia_device*, align 8
%3 = alloca %struct.net_device*, align 8
store ... | /* BEGIN FUNCTION-DEF pcnet_detach LOC=UNKNOWN VKEY=4903 */
static void pcnet_detach(struct pcmcia_device *link )
{
struct net_device *dev ;
unsigned long _TIG_FN_Ow0z_1_pcnet_detach_next ;
{
_TIG_FN_Ow0z_1_pcnet_detach_next = 3UL;
while (1) {
switch (_TIG_FN_Ow0z_1_pcnet_detach_next) {
case 4UL:
... | 402,418,010 | train_synth_compilable | |||||
sacaC | void sacaC(TCola *c, TElementoC* dato) {
if (!vaciaC(*c)) {
*dato = (*c).datos[(*c).pri];
if ((*c).pri == (*c).ult) {
iniciaC(c);
} else {
(*c).pri += 1;
}
}
} | Flatten | .global sacaC
.type sacaC, %function
sacaC:
.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 x0, [sp, 56]
str x1, [sp, 48]
ldr x0, [sp, 56]
add x2, sp, 16
mov x3, x0
ldp x0, x1, [x3]
stp x0, x1, [x2]
ldr x0, [x3, 16]
str x0, [x2... | .global sacaC
.type sacaC, %function
sacaC:
.LFB4:
.cfi_startproc
stp x29, x30, [sp, -80]!
.cfi_def_cfa_offset 80
.cfi_offset 29, -80
.cfi_offset 30, -72
mov x29, sp
str x0, [sp, 56]
str x1, [sp, 48]
str xzr, [sp, 64]
.L16:
ldr x0, [sp, 64]
cmp x0, 6
beq .L2
ldr x0, [sp, 64]
cmp x0, 6
bhi .L17
ldr x0,... | %struct.TYPE_5__ = type { i64, i64, i32* }
define dso_local void @sacaC(%struct.TYPE_5__* %0, i32* %1) {
%3 = alloca %struct.TYPE_5__*, align 8
%4 = alloca i32*, align 8
store %struct.TYPE_5__* %0, %struct.TYPE_5__** %3, align 8
store i32* %1, i32** %4, align 8
%5 = load %struct.TYPE_5__*, %struct.TYPE_5__**... | /* BEGIN FUNCTION-DEF sacaC LOC=UNKNOWN VKEY=4891 */
void sacaC(TCola *c , TElementoC *dato )
{
int tmp ;
unsigned long _TIG_FN_3iHV_1_sacaC_next ;
{
{
_TIG_FN_3iHV_1_sacaC_next = 0UL;
}
while (1) {
switch (_TIG_FN_3iHV_1_sacaC_next) {
case 4UL:
#line 49 "/tmp/forklift_obfu_mrxxfe5z/input.c"
... | 478,163,327 | train_synth_compilable | |||||
block_mark_as_free | static void
block_mark_as_free(block_header_t *block)
{
block_header_t *next;
next = block_link_next(block);
block_set_prev_free(next);
block_set_free(block);
} | Flatten | .global block_mark_as_free
.type block_mark_as_free, %function
block_mark_as_free:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str x0, [sp, 24]
ldr x0, [sp, 24]
bl block_link_next
str x0, [sp, 40]
ldr x0, [sp, 40]
bl block_set_pre... | .global block_mark_as_free
.type block_mark_as_free, %function
block_mark_as_free:
.LFB2:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str x0, [sp, 24]
str xzr, [sp, 40]
.L7:
ldr x0, [sp, 40]
cmp x0, 2
beq .L8
ldr x0, [sp, 40]
cmp x0, ... | define dso_local void @block_mark_as_free(i32* %0) {
%2 = alloca i32*, align 8
%3 = alloca i32*, align 8
store i32* %0, i32** %2, align 8
%4 = load i32*, i32** %2, align 8
%5 = call i32* @block_link_next(i32* %4)
store i32* %5, i32** %3, align 8
%6 = load i32*, i32** %3, align 8
%7 = call i32 @block_se... | /* BEGIN FUNCTION-DEF block_mark_as_free LOC=UNKNOWN VKEY=4891 */
static void block_mark_as_free(block_header_t *block )
{
block_header_t *next ;
unsigned long _TIG_FN_WclD_1_block_mark_as_free_next ;
{
{
_TIG_FN_WclD_1_block_mark_as_free_next = 0UL;
}
while (1) {
switch (_TIG_FN_WclD_1_block_mark_... | 939,042,955 | train_synth_compilable | {"input": [{"var": ["block"], "value": ["[97, 38, 8, 111, 88, 38, 66, 41, 71, 66, 104, 92, 121, 89, 67, 81, 14, 85, 69, 41, 116, 65, 47, 78, 12, 88, 60, 33, 31, 23, 23, 51]"]}, {"var": ["block"], "value": ["[31, 120, 19, 94, 13, 77, 86, 115, 81, 92, 91, 40, 51, 55, 59, 62, 60, 69, 91, 87, 14, 41, 104, 91, 44, 82, 74, 9... | ||||
pcnet_detach | __attribute__((used)) static void pcnet_detach(struct pcmcia_device *link)
{
struct net_device *dev = link->priv;
DEBUG(0, "pcnet_detach(0x%p)\n", link);
if (link->dev_node)
unregister_netdev(dev);
pcnet_release(link);
free_netdev(dev);
} | Flatten | .global pcnet_detach
.type pcnet_detach, %function
pcnet_detach:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str x0, [sp, 24]
ldr x0, [sp, 24]
ldr x0, [x0, 8]
str x0, [sp, 40]
ldr x2, [sp, 24]
adrp x0, .LC0
add x1, x0, :lo12:.LC0... | .global pcnet_detach
.type pcnet_detach, %function
pcnet_detach:
.LFB2:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str x0, [sp, 24]
mov x0, 3
str x0, [sp, 32]
.L13:
ldr x0, [sp, 32]
cmp x0, 6
beq .L2
ldr x0, [sp, 32]
cmp x0, 6
bhi ... | %struct.pcmcia_device = type { i64, %struct.net_device* }
%struct.net_device = type { i32 }
@.str = external hidden unnamed_addr constant [20 x i8], align 1
define dso_local void @pcnet_detach(%struct.pcmcia_device* %0) {
%2 = alloca %struct.pcmcia_device*, align 8
%3 = alloca %struct.net_device*, align 8
store ... | /* BEGIN FUNCTION-DEF pcnet_detach LOC=UNKNOWN VKEY=4898 */
static void pcnet_detach(struct pcmcia_device *link )
{
struct net_device *dev ;
unsigned long _TIG_FN_VRre_1_pcnet_detach_next ;
{
{
_TIG_FN_VRre_1_pcnet_detach_next = 3UL;
}
while (1) {
switch (_TIG_FN_VRre_1_pcnet_detach_next) {
cas... | 136,505,587 | train_synth_compilable | |||||
pcnet_detach | __attribute__((used)) static void pcnet_detach(struct pcmcia_device *link)
{
struct net_device *dev = link->priv;
DEBUG(0, "pcnet_detach(0x%p)\n", link);
if (link->dev_node)
unregister_netdev(dev);
pcnet_release(link);
free_netdev(dev);
} | EncodeArithmetic | .global pcnet_detach
.type pcnet_detach, %function
pcnet_detach:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str x0, [sp, 24]
ldr x0, [sp, 24]
ldr x0, [x0, 8]
str x0, [sp, 40]
ldr x2, [sp, 24]
adrp x0, .LC0
add x1, x0, :lo12:.LC0... | .global pcnet_detach
.type pcnet_detach, %function
pcnet_detach:
.LFB1:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str x0, [sp, 24]
ldr x0, [sp, 24]
ldr x0, [x0, 8]
str x0, [sp, 40]
ldr x2, [sp, 24]
adrp x0, .LC0
add x1, x0, :lo12:.L... | %struct.pcmcia_device = type { i64, %struct.net_device* }
%struct.net_device = type { i32 }
@.str = external hidden unnamed_addr constant [20 x i8], align 1
define dso_local void @pcnet_detach(%struct.pcmcia_device* %0) {
%2 = alloca %struct.pcmcia_device*, align 8
%3 = alloca %struct.net_device*, align 8
store ... | /* BEGIN FUNCTION-DEF pcnet_detach LOC=UNKNOWN VKEY=4898 */
static void pcnet_detach(struct pcmcia_device *link )
{
struct net_device *dev ;
{
{
#line 49 "/tmp/forklift_obfu_6vrxoxiy/input.c"
dev = link->priv;
#line 51
DEBUG(0, "pcnet_detach(0x%p)\n", link);
}
#line 53
if (link->dev_node) {
#line 54
... | 127,978,094 | train_synth_compilable | |||||
iscript_run | int
iscript_run (IScript* is, const char* in, char* out, size_t out_size)
{
if (NULL == is || NULL == in)
return 0;
idebug ("Parsing: '%s'\n", in);
is->buf = is->prog = in;
is->optr = out;
is->outbuf = out;
is->outbuf_size = out_size;
iscript_parse (is, 0);
is->outbuf[is->outbuf_size] = '\0';
... | EncodeArithmetic | .global iscript_run
.type iscript_run, %function
iscript_run:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str x0, [sp, 40]
str x1, [sp, 32]
str x2, [sp, 24]
str x3, [sp, 16]
ldr x0, [sp, 40]
cmp x0, 0
beq .L2
ldr x0, [sp, 32]
c... | .global iscript_run
.type iscript_run, %function
iscript_run:
.LFB5:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
str x0, [sp, 40]
str x1, [sp, 32]
str x2, [sp, 24]
str x3, [sp, 16]
ldr x0, [sp, 40]
neg x1, x0
ldr x0, [sp, 40]
neg x2,... | %struct.TYPE_4__ = type { i8*, i8*, i8*, i8*, i64, i8* }
@.str = external hidden unnamed_addr constant [15 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [11 x i8], align 1
define dso_local i32 @iscript_run(%struct.TYPE_4__* %0, i8* %1, i8* %2, i64 %3) {
%5 = alloca i32, align 4
%6 = alloca %struct... | /* BEGIN FUNCTION-DEF iscript_run LOC=UNKNOWN VKEY=4901 */
int iscript_run(IScript *is , char const *in , char *out , size_t___0 out_size )
{
char const *tmp ;
{
#line 49
if ((int )((((((unsigned long )((void *)0) - (unsigned long )is) - ((((unsigned long )((void *)0) - (unsigned long )is) + ((unsigned lon... | 1,194,819,984 | train_synth_compilable | |||||
iscript_run | int
iscript_run (IScript* is, const char* in, char* out, size_t out_size)
{
if (NULL == is || NULL == in)
return 0;
idebug ("Parsing: '%s'\n", in);
is->buf = is->prog = in;
is->optr = out;
is->outbuf = out;
is->outbuf_size = out_size;
iscript_parse (is, 0);
is->outbuf[is->outbuf_size] = '\0';
... | Flatten+EncodeArithmetic | .global iscript_run
.type iscript_run, %function
iscript_run:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str x0, [sp, 40]
str x1, [sp, 32]
str x2, [sp, 24]
str x3, [sp, 16]
ldr x0, [sp, 40]
cmp x0, 0
beq .L2
ldr x0, [sp, 32]
c... | .global iscript_run
.type iscript_run, %function
iscript_run:
.LFB7:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
str x0, [sp, 40]
str x1, [sp, 32]
str x2, [sp, 24]
str x3, [sp, 16]
mov x0, 1
str x0, [sp, 56]
.L20:
ldr x0, [sp, 56]
cm... | %struct.TYPE_4__ = type { i8*, i8*, i8*, i8*, i64, i8* }
@.str = external hidden unnamed_addr constant [15 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [11 x i8], align 1
define dso_local i32 @iscript_run(%struct.TYPE_4__* %0, i8* %1, i8* %2, i64 %3) {
%5 = alloca i32, align 4
%6 = alloca %struct... | /* BEGIN FUNCTION-DEF iscript_run LOC=UNKNOWN VKEY=4909 */
int iscript_run(IScript *is , char const *in , char *out , size_t___0 out_size )
{
char const *tmp ;
unsigned long _TIG_FN_eDnL_1_iscript_run_next ;
{
_TIG_FN_eDnL_1_iscript_run_next = 1UL;
while (1) {
switch (_TIG_FN_eDnL_1_iscript_run_nex... | 27,911,967 | train_synth_compilable | |||||
GraphInit | void GraphInit(Graph* graph, uintptr_t nodeNumber) {
MatrixInit (&(graph->incidenceMatrix), nodeNumber, nodeNumber);
MatrixInit (&(graph->edgeValues), nodeNumber, nodeNumber);
ListInit (&(graph->nodeList), NULL );
uintptr_t i;
for (i = 0; i < nodeNumber; i++) {
ListAppend (&(graph->nodeList), NULL);
}
graph->... | EncodeArithmetic | .global GraphInit
.type GraphInit, %function
GraphInit:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str x0, [sp, 24]
str x1, [sp, 16]
ldr x0, [sp, 24]
add x0, x0, 16
ldr x2, [sp, 16]
ldr x1, [sp, 16]
bl MatrixInit
ldr x0, [sp, 2... | .global GraphInit
.type GraphInit, %function
GraphInit:
.LFB1:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str x0, [sp, 24]
str x1, [sp, 16]
ldr x0, [sp, 24]
add x0, x0, 16
ldr x2, [sp, 16]
ldr x1, [sp, 16]
bl MatrixInit
ldr x0, [sp,... | %struct.TYPE_3__ = type { i64, i32, i32, i32 }
define dso_local void @GraphInit(%struct.TYPE_3__* %0, i64 %1) {
%3 = alloca %struct.TYPE_3__*, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
store %struct.TYPE_3__* %0, %struct.TYPE_3__** %3, align 8
store i64 %1, i64* %4, align 8
%6 = load %struc... | /* BEGIN FUNCTION-DEF GraphInit LOC=UNKNOWN VKEY=4902 */
void GraphInit(Graph *graph , uintptr_t___0 nodeNumber )
{
uintptr_t___0 i ;
{
{
#line 49 "/tmp/forklift_obfu_3y4_qp_w/input.c"
MatrixInit(& graph->incidenceMatrix, nodeNumber, nodeNumber);
#line 50
MatrixInit(& graph->edgeValues, nodeNumber, nodeNum... | 1,815,115,025 | train_synth_compilable | |||||
GraphInit | void GraphInit(Graph* graph, uintptr_t nodeNumber) {
MatrixInit (&(graph->incidenceMatrix), nodeNumber, nodeNumber);
MatrixInit (&(graph->edgeValues), nodeNumber, nodeNumber);
ListInit (&(graph->nodeList), NULL );
uintptr_t i;
for (i = 0; i < nodeNumber; i++) {
ListAppend (&(graph->nodeList), NULL);
}
graph->... | Flatten | .global GraphInit
.type GraphInit, %function
GraphInit:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str x0, [sp, 24]
str x1, [sp, 16]
ldr x0, [sp, 24]
add x0, x0, 16
ldr x2, [sp, 16]
ldr x1, [sp, 16]
bl MatrixInit
ldr x0, [sp, 2... | .global GraphInit
.type GraphInit, %function
GraphInit:
.LFB1:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str x0, [sp, 24]
str x1, [sp, 16]
str xzr, [sp, 32]
.L13:
ldr x0, [sp, 32]
cmp x0, 7
beq .L14
ldr x0, [sp, 32]
cmp x0, 7
bhi ... | %struct.TYPE_3__ = type { i64, i32, i32, i32 }
define dso_local void @GraphInit(%struct.TYPE_3__* %0, i64 %1) {
%3 = alloca %struct.TYPE_3__*, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
store %struct.TYPE_3__* %0, %struct.TYPE_3__** %3, align 8
store i64 %1, i64* %4, align 8
%6 = load %struc... | /* BEGIN FUNCTION-DEF GraphInit LOC=UNKNOWN VKEY=4902 */
void GraphInit(Graph *graph , uintptr_t___0 nodeNumber )
{
uintptr_t___0 i ;
unsigned long _TIG_FN_reks_1_GraphInit_next ;
{
{
_TIG_FN_reks_1_GraphInit_next = 0UL;
}
while (1) {
switch (_TIG_FN_reks_1_GraphInit_next) {
case 4UL:
#line 56... | 685,731,524 | train_synth_compilable | |||||
iscript_run | int
iscript_run (IScript* is, const char* in, char* out, size_t out_size)
{
if (NULL == is || NULL == in)
return 0;
idebug ("Parsing: '%s'\n", in);
is->buf = is->prog = in;
is->optr = out;
is->outbuf = out;
is->outbuf_size = out_size;
iscript_parse (is, 0);
is->outbuf[is->outbuf_size] = '\0';
... | Flatten | .global iscript_run
.type iscript_run, %function
iscript_run:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str x0, [sp, 40]
str x1, [sp, 32]
str x2, [sp, 24]
str x3, [sp, 16]
ldr x0, [sp, 40]
cmp x0, 0
beq .L2
ldr x0, [sp, 32]
c... | .global iscript_run
.type iscript_run, %function
iscript_run:
.LFB3:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
str x0, [sp, 40]
str x1, [sp, 32]
str x2, [sp, 24]
str x3, [sp, 16]
mov x0, 1
str x0, [sp, 56]
.L20:
ldr x0, [sp, 56]
cm... | %struct.TYPE_4__ = type { i8*, i8*, i8*, i8*, i64, i8* }
@.str = external hidden unnamed_addr constant [15 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [11 x i8], align 1
define dso_local i32 @iscript_run(%struct.TYPE_4__* %0, i8* %1, i8* %2, i64 %3) {
%5 = alloca i32, align 4
%6 = alloca %struct... | /* BEGIN FUNCTION-DEF iscript_run LOC=UNKNOWN VKEY=4901 */
int iscript_run(IScript *is , char const *in , char *out , size_t___0 out_size )
{
char const *tmp ;
unsigned long _TIG_FN_SxhQ_1_iscript_run_next ;
{
{
_TIG_FN_SxhQ_1_iscript_run_next = 1UL;
}
while (1) {
switch (_TIG_FN_SxhQ_1_iscript... | 1,929,338,154 | train_synth_compilable | |||||
GraphInit | void GraphInit(Graph* graph, uintptr_t nodeNumber) {
MatrixInit (&(graph->incidenceMatrix), nodeNumber, nodeNumber);
MatrixInit (&(graph->edgeValues), nodeNumber, nodeNumber);
ListInit (&(graph->nodeList), NULL );
uintptr_t i;
for (i = 0; i < nodeNumber; i++) {
ListAppend (&(graph->nodeList), NULL);
}
graph->... | Flatten+EncodeArithmetic | .global GraphInit
.type GraphInit, %function
GraphInit:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str x0, [sp, 24]
str x1, [sp, 16]
ldr x0, [sp, 24]
add x0, x0, 16
ldr x2, [sp, 16]
ldr x1, [sp, 16]
bl MatrixInit
ldr x0, [sp, 2... | .global GraphInit
.type GraphInit, %function
GraphInit:
.LFB3:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str x0, [sp, 24]
str x1, [sp, 16]
str xzr, [sp, 32]
.L19:
ldr x0, [sp, 32]
cmp x0, 7
beq .L20
ldr x0, [sp, 32]
cmp x0, 7
bhi ... | %struct.TYPE_3__ = type { i64, i32, i32, i32 }
define dso_local void @GraphInit(%struct.TYPE_3__* %0, i64 %1) {
%3 = alloca %struct.TYPE_3__*, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
store %struct.TYPE_3__* %0, %struct.TYPE_3__** %3, align 8
store i64 %1, i64* %4, align 8
%6 = load %struc... | /* BEGIN FUNCTION-DEF GraphInit LOC=UNKNOWN VKEY=4908 */
void GraphInit(Graph *graph , uintptr_t___0 nodeNumber )
{
uintptr_t___0 i ;
unsigned long _TIG_FN_1HYS_1_GraphInit_next ;
{
_TIG_FN_1HYS_1_GraphInit_next = 0UL;
while (1) {
switch (_TIG_FN_1HYS_1_GraphInit_next) {
case 4UL:
#line 56 "/tmp/f... | 1,461,364,854 | train_synth_compilable | |||||
scene_getwidth | static uint32_t scene_getwidth(void *data)
{
obs_scene_t *scene = data;
return scene->custom_size ? scene->cx : obs->video.base_width;
} | Flatten | .global scene_getwidth
.type scene_getwidth, %function
scene_getwidth:
.LFB0:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, 8]
ldr x0, [sp, 8]
str x0, [sp, 24]
ldr x0, [sp, 24]
ldr x0, [x0, 8]
cmp x0, 0
beq .L2
ldr x0, [sp, 24]
ldr w0, [x0]
b .L4
.L2:
adrp x0, :got:obs
ldr x0, [x0, #... | .global scene_getwidth
.type scene_getwidth, %function
scene_getwidth:
.LFB0:
.cfi_startproc
sub sp, sp, #48
.cfi_def_cfa_offset 48
str x0, [sp, 8]
mov x0, 3
str x0, [sp, 24]
.L12:
ldr x0, [sp, 24]
cmp x0, 4
beq .L2
ldr x0, [sp, 24]
cmp x0, 4
bhi .L14
ldr x0, [sp, 24]
cmp x0, 3
beq .L4
ldr x0, [sp, 24... | %struct.TYPE_6__ = type { %struct.TYPE_4__ }
%struct.TYPE_4__ = type { i32 }
%struct.TYPE_5__ = type { i32, i64 }
@obs = external dso_local global %struct.TYPE_6__*, align 8
define dso_local i32 @scene_getwidth(i8* %0) {
%2 = alloca i8*, align 8
%3 = alloca %struct.TYPE_5__*, align 8
store i8* %0, i8** %2, align... | /* BEGIN FUNCTION-DEF scene_getwidth LOC=UNKNOWN VKEY=4885 */
static uint32_t___0 scene_getwidth(void *data )
{
obs_scene_t *scene ;
int tmp ;
unsigned long _TIG_FN_zWmh_1_scene_getwidth_next ;
{
{
_TIG_FN_zWmh_1_scene_getwidth_next = 3UL;
}
while (1) {
switch (_TIG_FN_zWmh_1_scene_getwidth_next)... | 1,445,662,585 | train_synth_compilable |
End of preview. Expand in Data Studio
Obfuscated ExeBench (AArch64)
A large-scale dataset of obfuscated AArch64 assembly functions paired with their clean LLVM IR, original C source code, and clean assembly. Designed for training neural models that can deobfuscate and lift obfuscated binary code.
Dataset Summary
| Property | Value |
|---|---|
| Training samples | ~980,000 (from ExeBench train_synth_compilable) |
| Test samples | 11,726 (3,909 Flatten / 3,908 EncodeArithmetic / 3,909 Combined) |
| Test source | ExeBench test_synth (unseen functions) |
| Architecture | AArch64 (ARM64) |
| Obfuscator | Tigress 4.0.11 |
| Compiler | aarch64-linux-gnu-gcc 15.2.0 (-S -O0 -std=c11 -w) |
| Techniques | Control-Flow Flattening, Arithmetic Encoding, Combined |
| Format | Parquet with Snappy compression |
Splits
| Split | Rows | Source | Techniques |
|---|---|---|---|
train |
~980,000 | ExeBench train_synth_compilable |
All three (balanced ⅓ each) |
test_flatten |
3,909 | ExeBench test_synth |
Flatten only |
test_encode_arithmetic |
3,908 | ExeBench test_synth |
EncodeArithmetic only |
test_combined |
3,909 | ExeBench test_synth |
Flatten+EncodeArithmetic |
Columns
| Column | Type | Description |
|---|---|---|
fname |
string |
Function name |
func_def |
string |
Original C source code of the function |
technique |
string |
Obfuscation technique applied |
clean_asm |
string |
Clean AArch64 assembly from ExeBench (angha_gcc_arm_O0) |
obfuscated_asm |
string |
Obfuscated AArch64 assembly (after Tigress → GCC) |
clean_ir |
string |
Clean LLVM IR from ExeBench (angha_clang_ir_O0) |
obfuscated_c |
string |
Tigress-obfuscated C source (target function only, runtime stripped) |
tigress_seed |
int32 |
Random seed used for Tigress (for reproducibility) |
exebench_split |
string |
Source ExeBench split name |
Usage
from datasets import load_dataset
# Training data (all techniques)
train = load_dataset("leachl/obfuscated-exebench", split="train", streaming=True)
# Test sets (one per technique, from unseen test_synth functions)
test_flat = load_dataset("leachl/obfuscated-exebench", split="test_flatten")
test_ea = load_dataset("leachl/obfuscated-exebench", split="test_encode_arithmetic")
test_comb = load_dataset("leachl/obfuscated-exebench", split="test_combined")
Obfuscation Techniques
Each function is independently obfuscated with one of three Tigress transformations:
| Technique | Tigress Flag | Description |
|---|---|---|
Flatten |
--Transform=Flatten |
Control-flow flattening — replaces structured control flow with a switch-in-a-loop dispatcher |
EncodeArithmetic |
--Transform=EncodeArithmetic |
Replaces simple arithmetic/boolean expressions with equivalent but complex MBA expressions |
Flatten+EncodeArithmetic |
Both transforms | Combined: flattening + arithmetic encoding applied sequentially |
Tigress Runtime
A representative Tigress runtime (~480 KB, ~7400 lines of C) is stored in tigress_runtime.c.
The obfuscated_c column contains only the target function body (runtime stripped).
License
MIT — same as the underlying ExeBench dataset.
- Downloads last month
- 463