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 | |||||
arityImpl_1011 | Value *arityImpl_1011(List *closures, Value *arg0) {
Value *rslt0 = protoFnImpl_262(empty_list, arg0);
List *varArgs1 = empty_list;
incRef((Value *)rslt0);
varArgs1 = (List *)listCons((Value *)rslt0, varArgs1);
Value *rslt2 = arityImpl_248(empty_list, (Value *)varArgs1);
dec_and_free((Value *)varArgs1);
incRef(rslt2);
... | Flatten | .global arityImpl_1011
.type arityImpl_1011, %function
arityImpl_1011:
.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, 24]
str x1, [sp, 16]
adrp x0, :got:empty_list
ldr x0, [x0, #:got_lo12:empty_list]
ldr x0, [x0]
ldr x1,... | .global arityImpl_1011
.type arityImpl_1011, %function
arityImpl_1011:
.LFB3:
.cfi_startproc
stp x29, x30, [sp, -96]!
.cfi_def_cfa_offset 96
.cfi_offset 29, -96
.cfi_offset 30, -88
mov x29, sp
str x0, [sp, 24]
str x1, [sp, 16]
str xzr, [sp, 80]
.L7:
ldr x0, [sp, 80]
cmp x0, 2
beq .L2
ldr x0, [sp, 80]
cm... | @empty_list = external dso_local global i32*, align 8
define dso_local i32* @arityImpl_1011(i32* %0, i32* %1) {
%3 = alloca i32*, align 8
%4 = alloca i32*, align 8
%5 = alloca i32*, align 8
%6 = alloca i32*, align 8
%7 = alloca i32*, align 8
store i32* %0, i32** %3, align 8
store i32* %1, i32** %4, align... | /* BEGIN FUNCTION-DEF arityImpl_1011 LOC=UNKNOWN VKEY=4915 */
Value *arityImpl_1011(List *closures , Value *arg0 )
{
Value *rslt0 ;
int *tmp ;
List *varArgs1 ;
scalar_t__ tmp___0 ;
Value *rslt2 ;
int *tmp___1 ;
unsigned long _TIG_FN_pZ1P_1_arityImpl_1011_next ;
{
{
_TIG_FN_pZ1P_1_arityImpl_1011_n... | 1,193,448,329 | train_synth_compilable | |||||
arityImpl_1011 | Value *arityImpl_1011(List *closures, Value *arg0) {
Value *rslt0 = protoFnImpl_262(empty_list, arg0);
List *varArgs1 = empty_list;
incRef((Value *)rslt0);
varArgs1 = (List *)listCons((Value *)rslt0, varArgs1);
Value *rslt2 = arityImpl_248(empty_list, (Value *)varArgs1);
dec_and_free((Value *)varArgs1);
incRef(rslt2);
... | EncodeArithmetic | .global arityImpl_1011
.type arityImpl_1011, %function
arityImpl_1011:
.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, 24]
str x1, [sp, 16]
adrp x0, :got:empty_list
ldr x0, [x0, #:got_lo12:empty_list]
ldr x0, [x0]
ldr x1,... | .global arityImpl_1011
.type arityImpl_1011, %function
arityImpl_1011:
.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, 24]
str x1, [sp, 16]
adrp x0, empty_list
add x0, x0, :lo12:empty_list
ldr x0, [x0]
ldr x1, [sp, 16]
... | @empty_list = external dso_local global i32*, align 8
define dso_local i32* @arityImpl_1011(i32* %0, i32* %1) {
%3 = alloca i32*, align 8
%4 = alloca i32*, align 8
%5 = alloca i32*, align 8
%6 = alloca i32*, align 8
%7 = alloca i32*, align 8
store i32* %0, i32** %3, align 8
store i32* %1, i32** %4, align... | /* BEGIN FUNCTION-DEF arityImpl_1011 LOC=UNKNOWN VKEY=4915 */
Value *arityImpl_1011(List *closures , Value *arg0 )
{
Value *rslt0 ;
int *tmp ;
List *varArgs1 ;
scalar_t__ tmp___0 ;
Value *rslt2 ;
int *tmp___1 ;
{
{
#line 50 "/tmp/forklift_obfu_i79elnhj/input.c"
tmp = protoFnImpl_262(empty_list, arg... | 667,779,376 | 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;
} | EncodeArithmetic | .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:
.LFB2:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, 8]
ldr x0, [sp, 8]
str x0, [sp, 16]
ldr x0, [sp, 16]
ldr x0, [x0, 8]
cmp x0, 0
beq .L2
ldr x0, [sp, 16]
ldr w0, [x0]
str w0, [sp, 28]
b .L3
.L2:
adrp x0, obs
... | %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 ;
{
#line 52 "/tmp/forklift_obfu_27ikrbbx/input.c"
scene = (obs_scene_t *)data;
#line 53
if (scene->custom_size) {
#line 53
tmp = scene->cx;
} else {
#line 53
... | 438,989,805 | 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+EncodeArithmetic | .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:
.LFB7:
.cfi_startproc
sub sp, sp, #48
.cfi_def_cfa_offset 48
str x0, [sp, 8]
mov x0, 3
str x0, [sp, 24]
.L19:
ldr x0, [sp, 24]
cmp x0, 4
beq .L9
ldr x0, [sp, 24]
cmp x0, 4
bhi .L21
ldr x0, [sp, 24]
cmp x0, 3
beq .L11
ldr x0, [sp, 2... | %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=4891 */
static uint32_t___0 scene_getwidth(void *data )
{
obs_scene_t *scene ;
int tmp ;
unsigned long _TIG_FN_Fe4d_1_scene_getwidth_next ;
{
_TIG_FN_Fe4d_1_scene_getwidth_next = 3UL;
while (1) {
switch (_TIG_FN_Fe4d_1_scene_getwidth_next) {
c... | 398,340,369 | train_synth_compilable | |||||
arityImpl_1011 | Value *arityImpl_1011(List *closures, Value *arg0) {
Value *rslt0 = protoFnImpl_262(empty_list, arg0);
List *varArgs1 = empty_list;
incRef((Value *)rslt0);
varArgs1 = (List *)listCons((Value *)rslt0, varArgs1);
Value *rslt2 = arityImpl_248(empty_list, (Value *)varArgs1);
dec_and_free((Value *)varArgs1);
incRef(rslt2);
... | Flatten+EncodeArithmetic | .global arityImpl_1011
.type arityImpl_1011, %function
arityImpl_1011:
.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, 24]
str x1, [sp, 16]
adrp x0, :got:empty_list
ldr x0, [x0, #:got_lo12:empty_list]
ldr x0, [x0]
ldr x1,... | .global arityImpl_1011
.type arityImpl_1011, %function
arityImpl_1011:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -96]!
.cfi_def_cfa_offset 96
.cfi_offset 29, -96
.cfi_offset 30, -88
mov x29, sp
str x0, [sp, 24]
str x1, [sp, 16]
str xzr, [sp, 80]
.L7:
ldr x0, [sp, 80]
cmp x0, 2
beq .L2
ldr x0, [sp, 80]
cm... | @empty_list = external dso_local global i32*, align 8
define dso_local i32* @arityImpl_1011(i32* %0, i32* %1) {
%3 = alloca i32*, align 8
%4 = alloca i32*, align 8
%5 = alloca i32*, align 8
%6 = alloca i32*, align 8
%7 = alloca i32*, align 8
store i32* %0, i32** %3, align 8
store i32* %1, i32** %4, align... | /* BEGIN FUNCTION-DEF arityImpl_1011 LOC=UNKNOWN VKEY=4926 */
Value *arityImpl_1011(List *closures , Value *arg0 )
{
Value *rslt0 ;
int *tmp ;
List *varArgs1 ;
scalar_t__ tmp___0 ;
Value *rslt2 ;
int *tmp___1 ;
unsigned long _TIG_FN_vWgu_1_arityImpl_1011_next ;
{
_TIG_FN_vWgu_1_arityImpl_1011_next ... | 924,765,563 | train_synth_compilable | |||||
pwr_fbif_transcfg_mem_type_physical_f | static inline u32 pwr_fbif_transcfg_mem_type_physical_f(void)
{
return 0x4;
} | Flatten | .global pwr_fbif_transcfg_mem_type_physical_f
.type pwr_fbif_transcfg_mem_type_physical_f, %function
pwr_fbif_transcfg_mem_type_physical_f:
.LFB0:
.cfi_startproc
mov w0, 4
ret
.cfi_endproc
| .global pwr_fbif_transcfg_mem_type_physical_f
.type pwr_fbif_transcfg_mem_type_physical_f, %function
pwr_fbif_transcfg_mem_type_physical_f:
.LFB5:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str xzr, [sp, 8]
.L10:
ldr x0, [sp, 8]
cmp x0, 0
bne .L13
mov w0, 4
b .L12
.L13:
nop
b .L10
.L12:
add sp,... | define dso_local i32 @pwr_fbif_transcfg_mem_type_physical_f() {
ret i32 4
} | /* BEGIN FUNCTION-DEF pwr_fbif_transcfg_mem_type_physical_f LOC=UNKNOWN VKEY=4879 */
u32 pwr_fbif_transcfg_mem_type_physical_f(void)
{
unsigned long _TIG_FN_wJWq_1_pwr_fbif_transcfg_mem_type_physical_f_next ;
{
{
_TIG_FN_wJWq_1_pwr_fbif_transcfg_mem_type_physical_f_next = 0UL;
}
while (1) {
switch (_... | 1,973,214,822 | train_synth_compilable | {"input": [{"var": [], "value": []}, {"var": [], "value": []}, {"var": [], "value": []}, {"var": [], "value": []}, {"var": [], "value": []}, {"var": [], "value": []}, {"var": [], "value": []}, {"var": [], "value": []}, {"var": [], "value": []}, {"var": [], "value": []}, {"var": [], "value": []}, {"var": [], "value": []... | ||||
pwr_fbif_transcfg_mem_type_physical_f | static inline u32 pwr_fbif_transcfg_mem_type_physical_f(void)
{
return 0x4;
} | EncodeArithmetic | .global pwr_fbif_transcfg_mem_type_physical_f
.type pwr_fbif_transcfg_mem_type_physical_f, %function
pwr_fbif_transcfg_mem_type_physical_f:
.LFB0:
.cfi_startproc
mov w0, 4
ret
.cfi_endproc
| .global pwr_fbif_transcfg_mem_type_physical_f
.type pwr_fbif_transcfg_mem_type_physical_f, %function
pwr_fbif_transcfg_mem_type_physical_f:
.LFB5:
.cfi_startproc
mov w0, 4
ret
.cfi_endproc
.LFE5:
.size pwr_fbif_transcfg_mem_type_physical_f, .-pwr_fbif_transcfg_mem_type_physical_f | define dso_local i32 @pwr_fbif_transcfg_mem_type_physical_f() {
ret i32 4
} | /* BEGIN FUNCTION-DEF pwr_fbif_transcfg_mem_type_physical_f LOC=UNKNOWN VKEY=4879 */
u32 pwr_fbif_transcfg_mem_type_physical_f(void)
{
{
#line 44 "/tmp/forklift_obfu_57mfqhwk/input.c"
return (0x4);
}
}
/* END FUNCTION-DEF pwr_fbif_transcfg_mem_type_physical_f LOC=UNKNOWN VKEY=4879 */ | 536,124,280 | train_synth_compilable | {"input": [{"var": [], "value": []}, {"var": [], "value": []}, {"var": [], "value": []}, {"var": [], "value": []}, {"var": [], "value": []}, {"var": [], "value": []}, {"var": [], "value": []}, {"var": [], "value": []}, {"var": [], "value": []}, {"var": [], "value": []}, {"var": [], "value": []}, {"var": [], "value": []... | ||||
pwr_fbif_transcfg_mem_type_physical_f | static inline u32 pwr_fbif_transcfg_mem_type_physical_f(void)
{
return 0x4;
} | Flatten+EncodeArithmetic | .global pwr_fbif_transcfg_mem_type_physical_f
.type pwr_fbif_transcfg_mem_type_physical_f, %function
pwr_fbif_transcfg_mem_type_physical_f:
.LFB0:
.cfi_startproc
mov w0, 4
ret
.cfi_endproc
| .global pwr_fbif_transcfg_mem_type_physical_f
.type pwr_fbif_transcfg_mem_type_physical_f, %function
pwr_fbif_transcfg_mem_type_physical_f:
.LFB4:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str xzr, [sp, 8]
.L10:
ldr x0, [sp, 8]
cmp x0, 0
bne .L13
mov w0, 4
b .L12
.L13:
nop
b .L10
.L12:
add sp,... | define dso_local i32 @pwr_fbif_transcfg_mem_type_physical_f() {
ret i32 4
} | /* BEGIN FUNCTION-DEF pwr_fbif_transcfg_mem_type_physical_f LOC=UNKNOWN VKEY=4882 */
u32 pwr_fbif_transcfg_mem_type_physical_f(void)
{
unsigned long _TIG_FN_IyHC_1_pwr_fbif_transcfg_mem_type_physical_f_next ;
{
_TIG_FN_IyHC_1_pwr_fbif_transcfg_mem_type_physical_f_next = 0UL;
while (1) {
switch (_TIG_FN_I... | 1,625,792,787 | train_synth_compilable | {"input": [{"var": [], "value": []}, {"var": [], "value": []}, {"var": [], "value": []}, {"var": [], "value": []}, {"var": [], "value": []}, {"var": [], "value": []}, {"var": [], "value": []}, {"var": [], "value": []}, {"var": [], "value": []}, {"var": [], "value": []}, {"var": [], "value": []}, {"var": [], "value": []... | ||||
VmJsonEncode | static sxi32 VmJsonEncode(
vedis_value *pIn,
json_private_data *pData
){
SyBlob *pOut = pData->pOut;
int nByte;
if( vedis_value_is_null(pIn) ){
SyBlobAppend(pOut, "null", sizeof("null")-1);
}else if( vedis_value_is_bool(pIn) ){
int iBool = vedis_value_to_bool(pIn);
sxu32 iLen;
iLen = iBool ? si... | EncodeArithmetic | .global VmJsonEncode
.type VmJsonEncode, %function
VmJsonEncode:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -96]!
.cfi_def_cfa_offset 96
.cfi_offset 29, -96
.cfi_offset 30, -88
mov x29, sp
str x0, [sp, 24]
str x1, [sp, 16]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
... | .global VmJsonEncode
.type VmJsonEncode, %function
VmJsonEncode:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -160]!
.cfi_def_cfa_offset 160
.cfi_offset 29, -160
.cfi_offset 30, -152
mov x29, sp
str x0, [sp, 24]
str x1, [sp, 16]
ldr x0, [sp, 16]
ldr x0, [x0, 8]
str x0, [sp, 128]
ldr x0, [sp, 24]
bl vedis_val... | %struct.TYPE_4__ = type { i32, i32* }
@.str = external hidden unnamed_addr constant [5 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.4 = external h... | /* BEGIN FUNCTION-DEF VmJsonEncode LOC=UNKNOWN VKEY=4950 */
static sxi32 VmJsonEncode(vedis_value *pIn , json_private_data *pData )
{
SyBlob *pOut ;
int nByte ;
int iBool ;
int tmp ;
sxu32 iLen ;
char *tmp___0 ;
char const *zNum ;
char *tmp___1 ;
char const *zIn ;
char const *zEnd ;
int c ... | 1,947,382,419 | train_synth_compilable | |||||
pinion_on_reset | static void pinion_on_reset(uint16_t vec) {
switch (vec & 0x7F) {
case 0:
if (has_pagefault()) {
interrupt_vector_fire(vec);
}
break;
case 1:
if (has_miscfault()) {
interrupt_vector_fire(vec);
}
break;
case 2:
if (has_zombie()) {
interrupt_vector_fire(vec);
}
break;
}
} | EncodeArithmetic | .global pinion_on_reset
.type pinion_on_reset, %function
pinion_on_reset:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str w0, [sp, 28]
ldr w0, [sp, 28]
and w0, w0, 127
cmp w0, 2
beq .L2
cmp w0, 2
bgt .L9
cmp w0, 0
beq .L4
cmp ... | .global pinion_on_reset
.type pinion_on_reset, %function
pinion_on_reset:
.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 w0, [sp, 28]
ldr w0, [sp, 28]
mvn w0, w0
orr w1, w0, 127
ldr w0, [sp, 28]
add w0, w1, w0
add w0, w0, 1
c... | define dso_local void @pinion_on_reset(i32 %0) {
%2 = alloca i32, align 4
store i32 %0, i32* %2, align 4
%3 = load i32, i32* %2, align 4
%4 = and i32 %3, 127
switch i32 %4, label %26 [
i32 0, label %5
i32 1, label %12
i32 2, label %19
]
5: ; preds ... | /* BEGIN FUNCTION-DEF pinion_on_reset LOC=UNKNOWN VKEY=4892 */
static void pinion_on_reset(uint16_t___0 vec )
{
int tmp ;
int tmp___0 ;
int tmp___1 ;
{
#line 48
switch (((~ vec | 0x7F) + vec) + 1) {
case 0:
#line 50 "/tmp/forklift_obfu_i8nnptdf/input.c"
tmp = has_pagefault();
#line 50
if (tmp) {
#li... | 1,589,915,144 | train_synth_compilable | |||||
pinion_on_reset | static void pinion_on_reset(uint16_t vec) {
switch (vec & 0x7F) {
case 0:
if (has_pagefault()) {
interrupt_vector_fire(vec);
}
break;
case 1:
if (has_miscfault()) {
interrupt_vector_fire(vec);
}
break;
case 2:
if (has_zombie()) {
interrupt_vector_fire(vec);
}
break;
}
} | Flatten | .global pinion_on_reset
.type pinion_on_reset, %function
pinion_on_reset:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str w0, [sp, 28]
ldr w0, [sp, 28]
and w0, w0, 127
cmp w0, 2
beq .L2
cmp w0, 2
bgt .L9
cmp w0, 0
beq .L4
cmp ... | .global pinion_on_reset
.type pinion_on_reset, %function
pinion_on_reset:
.LFB1:
.cfi_startproc
stp x29, x30, [sp, -64]!
.cfi_def_cfa_offset 64
.cfi_offset 29, -64
.cfi_offset 30, -56
mov x29, sp
str w0, [sp, 28]
mov x0, 2
str x0, [sp, 40]
.L28:
ldr x0, [sp, 40]
cmp x0, 13
beq .L2
ldr x0, [sp, 40]
cmp x... | define dso_local void @pinion_on_reset(i32 %0) {
%2 = alloca i32, align 4
store i32 %0, i32* %2, align 4
%3 = load i32, i32* %2, align 4
%4 = and i32 %3, 127
switch i32 %4, label %26 [
i32 0, label %5
i32 1, label %12
i32 2, label %19
]
5: ; preds ... | /* BEGIN FUNCTION-DEF pinion_on_reset LOC=UNKNOWN VKEY=4892 */
static void pinion_on_reset(uint16_t___0 vec )
{
int tmp ;
int tmp___0 ;
int tmp___1 ;
unsigned long _TIG_FN_GgoL_1_pinion_on_reset_next ;
{
{
_TIG_FN_GgoL_1_pinion_on_reset_next = 2UL;
}
while (1) {
switch (_TIG_FN_GgoL_1_pinion_on... | 698,594,025 | train_synth_compilable | |||||
VIRTUAL_scope__ACallReassignExpr__variable_create | val* VIRTUAL_scope__ACallReassignExpr__variable_create(val* self, val* p0) {
val* var ;
val* var1 ;
var1 = scope__ACallReassignExpr__variable_create(self, p0);
var = var1;
RET_LABEL:;
return var;
} | Flatten | .global VIRTUAL_scope__ACallReassignExpr__variable_create
.type VIRTUAL_scope__ACallReassignExpr__variable_create, %function
VIRTUAL_scope__ACallReassignExpr__variable_create:
.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... | .global VIRTUAL_scope__ACallReassignExpr__variable_create
.type VIRTUAL_scope__ACallReassignExpr__variable_create, %function
VIRTUAL_scope__ACallReassignExpr__variable_create:
.LFB4:
.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, ... | define dso_local i32* @VIRTUAL_scope__ACallReassignExpr__variable_create(i32* %0, i32* %1) {
%3 = alloca i32*, align 8
%4 = alloca i32*, align 8
%5 = alloca i32*, align 8
%6 = alloca i32*, align 8
store i32* %0, i32** %3, align 8
store i32* %1, i32** %4, align 8
%7 = load i32*, i32** %3, align 8
%8 = l... | /* BEGIN FUNCTION-DEF VIRTUAL_scope__ACallReassignExpr__variable_create LOC=UNKNOWN VKEY=4891 */
val *VIRTUAL_scope__ACallReassignExpr__variable_create(val *self , val *p0 )
{
val *var ;
val *var1 ;
unsigned long _TIG_FN_7143_1_VIRTUAL_scope__ACallReassignExpr__variable_create_next ;
{
{
_TIG_FN_7143_1_V... | 899,825,838 | train_synth_compilable | {"input": [{"var": ["self", "p0"], "value": ["[11, 100, 3, 32, 69, 76, 4, 99, 75, 102, 52, 22, 31, 22, 3, 30, 29, 107, 119, 98, 16, 21, 27, 125, 31, 82, 16, 18, 98, 88, 100, 20]", "[6, 74, 24, 106, 44, 21, 72, 84, 48, 67, 98, 69, 26, 124, 62, 59, 63, 112, 15, 17, 92, 40, 83, 35, 49, 24, 76, 44, 11, 125, 98, 84]"]}, {"v... | ||||
VIRTUAL_scope__ACallReassignExpr__variable_create | val* VIRTUAL_scope__ACallReassignExpr__variable_create(val* self, val* p0) {
val* var ;
val* var1 ;
var1 = scope__ACallReassignExpr__variable_create(self, p0);
var = var1;
RET_LABEL:;
return var;
} | Flatten+EncodeArithmetic | .global VIRTUAL_scope__ACallReassignExpr__variable_create
.type VIRTUAL_scope__ACallReassignExpr__variable_create, %function
VIRTUAL_scope__ACallReassignExpr__variable_create:
.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... | .global VIRTUAL_scope__ACallReassignExpr__variable_create
.type VIRTUAL_scope__ACallReassignExpr__variable_create, %function
VIRTUAL_scope__ACallReassignExpr__variable_create:
.LFB4:
.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, ... | define dso_local i32* @VIRTUAL_scope__ACallReassignExpr__variable_create(i32* %0, i32* %1) {
%3 = alloca i32*, align 8
%4 = alloca i32*, align 8
%5 = alloca i32*, align 8
%6 = alloca i32*, align 8
store i32* %0, i32** %3, align 8
store i32* %1, i32** %4, align 8
%7 = load i32*, i32** %3, align 8
%8 = l... | /* BEGIN FUNCTION-DEF VIRTUAL_scope__ACallReassignExpr__variable_create LOC=UNKNOWN VKEY=4898 */
val *VIRTUAL_scope__ACallReassignExpr__variable_create(val *self , val *p0 )
{
val *var ;
val *var1 ;
unsigned long _TIG_FN_CKFD_1_VIRTUAL_scope__ACallReassignExpr__variable_create_next ;
{
_TIG_FN_CKFD_1_VIRTU... | 306,671,447 | train_synth_compilable | {"input": [{"var": ["self", "p0"], "value": ["[11, 100, 3, 32, 69, 76, 4, 99, 75, 102, 52, 22, 31, 22, 3, 30, 29, 107, 119, 98, 16, 21, 27, 125, 31, 82, 16, 18, 98, 88, 100, 20]", "[6, 74, 24, 106, 44, 21, 72, 84, 48, 67, 98, 69, 26, 124, 62, 59, 63, 112, 15, 17, 92, 40, 83, 35, 49, 24, 76, 44, 11, 125, 98, 84]"]}, {"v... | ||||
VmJsonEncode | static sxi32 VmJsonEncode(
vedis_value *pIn,
json_private_data *pData
){
SyBlob *pOut = pData->pOut;
int nByte;
if( vedis_value_is_null(pIn) ){
SyBlobAppend(pOut, "null", sizeof("null")-1);
}else if( vedis_value_is_bool(pIn) ){
int iBool = vedis_value_to_bool(pIn);
sxu32 iLen;
iLen = iBool ? si... | Flatten | .global VmJsonEncode
.type VmJsonEncode, %function
VmJsonEncode:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -96]!
.cfi_def_cfa_offset 96
.cfi_offset 29, -96
.cfi_offset 30, -88
mov x29, sp
str x0, [sp, 24]
str x1, [sp, 16]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
... | .global VmJsonEncode
.type VmJsonEncode, %function
VmJsonEncode:
.LFB6:
.cfi_startproc
stp x29, x30, [sp, -176]!
.cfi_def_cfa_offset 176
.cfi_offset 29, -176
.cfi_offset 30, -168
mov x29, sp
str x0, [sp, 24]
str x1, [sp, 16]
mov x0, 15
str x0, [sp, 80]
.L62:
ldr x0, [sp, 80]
cmp x0, 42
beq .L2
ldr x0, [... | %struct.TYPE_4__ = type { i32, i32* }
@.str = external hidden unnamed_addr constant [5 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.4 = external h... | /* BEGIN FUNCTION-DEF VmJsonEncode LOC=UNKNOWN VKEY=4950 */
static sxi32 VmJsonEncode(vedis_value *pIn , json_private_data *pData )
{
SyBlob *pOut ;
int nByte ;
int iBool ;
int tmp ;
sxu32 iLen ;
char *tmp___0 ;
char const *zNum ;
char *tmp___1 ;
char const *zIn ;
char const *zEnd ;
int c ... | 1,193,887,545 | train_synth_compilable | |||||
pinion_on_reset | static void pinion_on_reset(uint16_t vec) {
switch (vec & 0x7F) {
case 0:
if (has_pagefault()) {
interrupt_vector_fire(vec);
}
break;
case 1:
if (has_miscfault()) {
interrupt_vector_fire(vec);
}
break;
case 2:
if (has_zombie()) {
interrupt_vector_fire(vec);
}
break;
}
} | Flatten+EncodeArithmetic | .global pinion_on_reset
.type pinion_on_reset, %function
pinion_on_reset:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str w0, [sp, 28]
ldr w0, [sp, 28]
and w0, w0, 127
cmp w0, 2
beq .L2
cmp w0, 2
bgt .L9
cmp w0, 0
beq .L4
cmp ... | .global pinion_on_reset
.type pinion_on_reset, %function
pinion_on_reset:
.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 w0, [sp, 28]
mov x0, 2
str x0, [sp, 40]
.L34:
ldr x0, [sp, 40]
cmp x0, 13
beq .L8
ldr x0, [sp, 40]
cmp x... | define dso_local void @pinion_on_reset(i32 %0) {
%2 = alloca i32, align 4
store i32 %0, i32* %2, align 4
%3 = load i32, i32* %2, align 4
%4 = and i32 %3, 127
switch i32 %4, label %26 [
i32 0, label %5
i32 1, label %12
i32 2, label %19
]
5: ; preds ... | /* BEGIN FUNCTION-DEF pinion_on_reset LOC=UNKNOWN VKEY=4899 */
static void pinion_on_reset(uint16_t___0 vec )
{
int tmp ;
int tmp___0 ;
int tmp___1 ;
unsigned long _TIG_FN_Or5T_1_pinion_on_reset_next ;
{
_TIG_FN_Or5T_1_pinion_on_reset_next = 2UL;
while (1) {
switch (_TIG_FN_Or5T_1_pinion_on_reset_n... | 1,525,876,051 | train_synth_compilable | |||||
test_region_1 | void test_region_1() {
BEGIN_TEST("region-test-1");
void* p = region_alloc(0x1000, "Test region");
dbg_printf("Allocated one-page region: 0x%p\n", p);
dbg_print_region_info();
void* q = region_alloc(0x1000, "Test region");
dbg_printf("Allocated one-page region: 0x%p\n", q);
dbg_print_region_info();
void* r =... | Flatten | .global test_region_1
.type test_region_1, %function
test_region_1:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl BEGIN_TEST
adrp x0, .LC1
add x1, x0, :lo12:.LC1
mov w0, 4096
bl region_alloc
... | .global test_region_1
.type test_region_1, %function
test_region_1:
.LFB7:
.cfi_startproc
stp x29, x30, [sp, -96]!
.cfi_def_cfa_offset 96
.cfi_offset 29, -96
.cfi_offset 30, -88
mov x29, sp
str xzr, [sp, 88]
.L14:
ldr x0, [sp, 88]
cmp x0, 2
beq .L15
ldr x0, [sp, 88]
cmp x0, 2
bhi .L16
ldr x0, [sp, 88]
... | @.str = external hidden unnamed_addr constant [14 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [32 x ... | /* BEGIN FUNCTION-DEF test_region_1 LOC=UNKNOWN VKEY=4908 */
void test_region_1(void)
{
void *p ;
void *tmp ;
void *q ;
void *tmp___0 ;
void *r ;
void *tmp___1 ;
void *s ;
void *tmp___2 ;
unsigned long _TIG_FN_obNx_1_test_region_1_next ;
{
{
_TIG_FN_obNx_1_test_region_1_next = 0UL;
}
whil... | 1,985,392,498 | train_synth_compilable | |||||
VIRTUAL_scope__ACallReassignExpr__variable_create | val* VIRTUAL_scope__ACallReassignExpr__variable_create(val* self, val* p0) {
val* var ;
val* var1 ;
var1 = scope__ACallReassignExpr__variable_create(self, p0);
var = var1;
RET_LABEL:;
return var;
} | EncodeArithmetic | .global VIRTUAL_scope__ACallReassignExpr__variable_create
.type VIRTUAL_scope__ACallReassignExpr__variable_create, %function
VIRTUAL_scope__ACallReassignExpr__variable_create:
.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... | .global VIRTUAL_scope__ACallReassignExpr__variable_create
.type VIRTUAL_scope__ACallReassignExpr__variable_create, %function
VIRTUAL_scope__ACallReassignExpr__variable_create:
.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, ... | define dso_local i32* @VIRTUAL_scope__ACallReassignExpr__variable_create(i32* %0, i32* %1) {
%3 = alloca i32*, align 8
%4 = alloca i32*, align 8
%5 = alloca i32*, align 8
%6 = alloca i32*, align 8
store i32* %0, i32** %3, align 8
store i32* %1, i32** %4, align 8
%7 = load i32*, i32** %3, align 8
%8 = l... | /* BEGIN FUNCTION-DEF VIRTUAL_scope__ACallReassignExpr__variable_create LOC=UNKNOWN VKEY=4891 */
val *VIRTUAL_scope__ACallReassignExpr__variable_create(val *self , val *p0 )
{
val *var ;
val *var1 ;
{
{
#line 46 "/tmp/forklift_obfu_eurn3fm9/input.c"
var1 = scope__ACallReassignExpr__variable_create(self, p0... | 1,146,660,997 | train_synth_compilable | {"input": [{"var": ["self", "p0"], "value": ["[11, 100, 3, 32, 69, 76, 4, 99, 75, 102, 52, 22, 31, 22, 3, 30, 29, 107, 119, 98, 16, 21, 27, 125, 31, 82, 16, 18, 98, 88, 100, 20]", "[6, 74, 24, 106, 44, 21, 72, 84, 48, 67, 98, 69, 26, 124, 62, 59, 63, 112, 15, 17, 92, 40, 83, 35, 49, 24, 76, 44, 11, 125, 98, 84]"]}, {"v... | ||||
test_region_1 | void test_region_1() {
BEGIN_TEST("region-test-1");
void* p = region_alloc(0x1000, "Test region");
dbg_printf("Allocated one-page region: 0x%p\n", p);
dbg_print_region_info();
void* q = region_alloc(0x1000, "Test region");
dbg_printf("Allocated one-page region: 0x%p\n", q);
dbg_print_region_info();
void* r =... | EncodeArithmetic | .global test_region_1
.type test_region_1, %function
test_region_1:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl BEGIN_TEST
adrp x0, .LC1
add x1, x0, :lo12:.LC1
mov w0, 4096
bl region_alloc
... | .global test_region_1
.type test_region_1, %function
test_region_1:
.LFB6:
.cfi_startproc
stp x29, x30, [sp, -80]!
.cfi_def_cfa_offset 80
.cfi_offset 29, -80
.cfi_offset 30, -72
mov x29, sp
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl BEGIN_TEST
adrp x0, .LC1
add x1, x0, :lo12:.LC1
mov w0, 4096
bl region_allo... | @.str = external hidden unnamed_addr constant [14 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [32 x ... | /* BEGIN FUNCTION-DEF test_region_1 LOC=UNKNOWN VKEY=4908 */
void test_region_1(void)
{
void *p ;
void *tmp ;
void *q ;
void *tmp___0 ;
void *r ;
void *tmp___1 ;
void *s ;
void *tmp___2 ;
{
{
#line 48 "/tmp/forklift_obfu_tslgwi4n/input.c"
BEGIN_TEST("region-test-1");
#line 50
tmp = region_all... | 1,629,748,727 | train_synth_compilable | |||||
VmJsonEncode | static sxi32 VmJsonEncode(
vedis_value *pIn,
json_private_data *pData
){
SyBlob *pOut = pData->pOut;
int nByte;
if( vedis_value_is_null(pIn) ){
SyBlobAppend(pOut, "null", sizeof("null")-1);
}else if( vedis_value_is_bool(pIn) ){
int iBool = vedis_value_to_bool(pIn);
sxu32 iLen;
iLen = iBool ? si... | Flatten+EncodeArithmetic | .global VmJsonEncode
.type VmJsonEncode, %function
VmJsonEncode:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -96]!
.cfi_def_cfa_offset 96
.cfi_offset 29, -96
.cfi_offset 30, -88
mov x29, sp
str x0, [sp, 24]
str x1, [sp, 16]
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
... | .global VmJsonEncode
.type VmJsonEncode, %function
VmJsonEncode:
.LFB3:
.cfi_startproc
stp x29, x30, [sp, -176]!
.cfi_def_cfa_offset 176
.cfi_offset 29, -176
.cfi_offset 30, -168
mov x29, sp
str x0, [sp, 24]
str x1, [sp, 16]
mov x0, 15
str x0, [sp, 80]
.L62:
ldr x0, [sp, 80]
cmp x0, 42
beq .L2
ldr x0, [... | %struct.TYPE_4__ = type { i32, i32* }
@.str = external hidden unnamed_addr constant [5 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.4 = external h... | /* BEGIN FUNCTION-DEF VmJsonEncode LOC=UNKNOWN VKEY=4973 */
static sxi32 VmJsonEncode(vedis_value *pIn , json_private_data *pData )
{
SyBlob *pOut ;
int nByte ;
int iBool ;
int tmp ;
sxu32 iLen ;
char *tmp___0 ;
char const *zNum ;
char *tmp___1 ;
char const *zIn ;
char const *zEnd ;
int c ... | 1,566,942,273 | train_synth_compilable | |||||
glad_debug_impl_glClampColor | void glad_debug_impl_glClampColor(GLenum arg0, GLenum arg1) {
_pre_call_callback("glClampColor", (void*)
# 340 "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/MrMetric/block_thingy/refs/heads/master/lib/glad/glad.debug.c" 3
glad... | Flatten | .global glad_debug_impl_glClampColor
.type glad_debug_impl_glClampColor, %function
glad_debug_impl_glClampColor:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str w0, [sp, 28]
str w1, [sp, 24]
ldr w4, [sp, 24]
ldr w3, [sp, 28]
mov w2... | .global glad_debug_impl_glClampColor
.type glad_debug_impl_glClampColor, %function
glad_debug_impl_glClampColor:
.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 w0, [sp, 28]
str w1, [sp, 24]
str xzr, [sp, 40]
.L7:
ldr x0, [sp, 40]... | @.str = external hidden unnamed_addr constant [13 x i8], align 1
define dso_local void @glad_debug_impl_glClampColor(i32 %0, i32 %1) {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, i32* %3, align 4
store i32 %1, i32* %4, align 4
%5 = load i32, i32* %3, align 4
%6 = load i32, i32* %4, alig... | /* BEGIN FUNCTION-DEF glad_debug_impl_glClampColor LOC=UNKNOWN VKEY=4911 */
void glad_debug_impl_glClampColor(GLenum arg0 , GLenum arg1 )
{
unsigned long _TIG_FN_fknl_1_glad_debug_impl_glClampColor_next ;
{
{
_TIG_FN_fknl_1_glad_debug_impl_glClampColor_next = 0UL;
}
while (1) {
switch (_TIG_FN_fknl_1... | 943,239,974 | train_synth_compilable | |||||
kill_unit | static void
kill_unit (Unit *u){
Node *n = extruct_node(&units, data2node(units, u));
insert_node(&dead_units, n, NULL);
if(u == selected_unit)
selected_unit = NULL;
else
fill_map(selected_unit);
} | EncodeArithmetic | .global kill_unit
.type kill_unit, %function
kill_unit:
.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]
adrp x0, :got:units
ldr x0, [x0, #:got_lo12:units]
ldr w0, [x0]
ldr x1, [sp, 24]
bl data2node
mov w1, w0
adrp x... | .global kill_unit
.type kill_unit, %function
kill_unit:
.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, 24]
adrp x0, units
add x0, x0, :lo12:units
ldr w0, [x0]
ldr x1, [sp, 24]
bl data2node
str w0, [sp, 60]
ldr w1, [s... | @units = external dso_local global i32, align 4
@dead_units = external dso_local global i32, align 4
@selected_unit = external dso_local global i32*, align 8
define dso_local void @kill_unit(i32* %0) {
%2 = alloca i32*, align 8
%3 = alloca i32*, align 8
store i32* %0, i32** %2, align 8
%4 = load i32, i32* @uni... | /* BEGIN FUNCTION-DEF kill_unit LOC=UNKNOWN VKEY=4911 */
static void kill_unit(Unit *u )
{
Node *n ;
int tmp ;
int *tmp___0 ;
{
{
#line 52 "/tmp/forklift_obfu_k_pe9cul/input.c"
tmp = data2node(units, u);
#line 52
tmp___0 = extruct_node(& units, tmp);
#line 52
n = tmp___0;
#line 53
insert_node(& dea... | 1,051,454,923 | train_synth_compilable | {"input": [{"var": ["u", "dead_units", "selected_unit", "units"], "value": ["[9, 79, 124, 60, 23, 121, 65, 18, 59, 30, 122, 125, 78, 32, 124, 51, 90, 96, 92, 70, 121, 91, 70, 113, 116, 109, 82, 66, 28, 102, 3, 38]", "10", "[16, 4, 93, 101, 38, 20, 22, 57, 31, 126, 62, 119, 107, 65, 39, 27, 50, 112, 27, 74, 6, 37, 12, 3... | ||||
kill_unit | static void
kill_unit (Unit *u){
Node *n = extruct_node(&units, data2node(units, u));
insert_node(&dead_units, n, NULL);
if(u == selected_unit)
selected_unit = NULL;
else
fill_map(selected_unit);
} | Flatten | .global kill_unit
.type kill_unit, %function
kill_unit:
.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]
adrp x0, :got:units
ldr x0, [x0, #:got_lo12:units]
ldr w0, [x0]
ldr x1, [sp, 24]
bl data2node
mov w1, w0
adrp x... | .global kill_unit
.type kill_unit, %function
kill_unit:
.LFB1:
.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, 24]
mov x0, 3
str x0, [sp, 56]
.L13:
ldr x0, [sp, 56]
cmp x0, 5
beq .L2
ldr x0, [sp, 56]
cmp x0, 5
bhi .L14
ldr... | @units = external dso_local global i32, align 4
@dead_units = external dso_local global i32, align 4
@selected_unit = external dso_local global i32*, align 8
define dso_local void @kill_unit(i32* %0) {
%2 = alloca i32*, align 8
%3 = alloca i32*, align 8
store i32* %0, i32** %2, align 8
%4 = load i32, i32* @uni... | /* BEGIN FUNCTION-DEF kill_unit LOC=UNKNOWN VKEY=4911 */
static void kill_unit(Unit *u )
{
Node *n ;
int tmp ;
int *tmp___0 ;
unsigned long _TIG_FN_UOlB_1_kill_unit_next ;
{
{
_TIG_FN_UOlB_1_kill_unit_next = 3UL;
}
while (1) {
switch (_TIG_FN_UOlB_1_kill_unit_next) {
case 4UL: ;
return;... | 735,034,881 | train_synth_compilable | {"input": [{"var": ["u", "dead_units", "selected_unit", "units"], "value": ["[9, 79, 124, 60, 23, 121, 65, 18, 59, 30, 122, 125, 78, 32, 124, 51, 90, 96, 92, 70, 121, 91, 70, 113, 116, 109, 82, 66, 28, 102, 3, 38]", "10", "[16, 4, 93, 101, 38, 20, 22, 57, 31, 126, 62, 119, 107, 65, 39, 27, 50, 112, 27, 74, 6, 37, 12, 3... | ||||
kill_unit | static void
kill_unit (Unit *u){
Node *n = extruct_node(&units, data2node(units, u));
insert_node(&dead_units, n, NULL);
if(u == selected_unit)
selected_unit = NULL;
else
fill_map(selected_unit);
} | Flatten+EncodeArithmetic | .global kill_unit
.type kill_unit, %function
kill_unit:
.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]
adrp x0, :got:units
ldr x0, [x0, #:got_lo12:units]
ldr w0, [x0]
ldr x1, [sp, 24]
bl data2node
mov w1, w0
adrp x... | .global kill_unit
.type kill_unit, %function
kill_unit:
.LFB6:
.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, 24]
mov x0, 3
str x0, [sp, 56]
.L22:
ldr x0, [sp, 56]
cmp x0, 5
beq .L11
ldr x0, [sp, 56]
cmp x0, 5
bhi .L23
ld... | @units = external dso_local global i32, align 4
@dead_units = external dso_local global i32, align 4
@selected_unit = external dso_local global i32*, align 8
define dso_local void @kill_unit(i32* %0) {
%2 = alloca i32*, align 8
%3 = alloca i32*, align 8
store i32* %0, i32** %2, align 8
%4 = load i32, i32* @uni... | /* BEGIN FUNCTION-DEF kill_unit LOC=UNKNOWN VKEY=4918 */
static void kill_unit(Unit *u )
{
Node *n ;
int tmp ;
int *tmp___0 ;
unsigned long _TIG_FN_i5lf_1_kill_unit_next ;
{
_TIG_FN_i5lf_1_kill_unit_next = 3UL;
while (1) {
switch (_TIG_FN_i5lf_1_kill_unit_next) {
case 4UL: ;
return;
bre... | 701,808,367 | train_synth_compilable | {"input": [{"var": ["u", "dead_units", "selected_unit", "units"], "value": ["[9, 79, 124, 60, 23, 121, 65, 18, 59, 30, 122, 125, 78, 32, 124, 51, 90, 96, 92, 70, 121, 91, 70, 113, 116, 109, 82, 66, 28, 102, 3, 38]", "10", "[16, 4, 93, 101, 38, 20, 22, 57, 31, 126, 62, 119, 107, 65, 39, 27, 50, 112, 27, 74, 6, 37, 12, 3... | ||||
glad_debug_impl_glClampColor | void glad_debug_impl_glClampColor(GLenum arg0, GLenum arg1) {
_pre_call_callback("glClampColor", (void*)
# 340 "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/MrMetric/block_thingy/refs/heads/master/lib/glad/glad.debug.c" 3
glad... | EncodeArithmetic | .global glad_debug_impl_glClampColor
.type glad_debug_impl_glClampColor, %function
glad_debug_impl_glClampColor:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str w0, [sp, 28]
str w1, [sp, 24]
ldr w4, [sp, 24]
ldr w3, [sp, 28]
mov w2... | .global glad_debug_impl_glClampColor
.type glad_debug_impl_glClampColor, %function
glad_debug_impl_glClampColor:
.LFB5:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str w0, [sp, 28]
str w1, [sp, 24]
ldr w4, [sp, 24]
ldr w3, [sp, 28]
mov ... | @.str = external hidden unnamed_addr constant [13 x i8], align 1
define dso_local void @glad_debug_impl_glClampColor(i32 %0, i32 %1) {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, i32* %3, align 4
store i32 %1, i32* %4, align 4
%5 = load i32, i32* %3, align 4
%6 = load i32, i32* %4, alig... | /* BEGIN FUNCTION-DEF glad_debug_impl_glClampColor LOC=UNKNOWN VKEY=4911 */
void glad_debug_impl_glClampColor(GLenum arg0 , GLenum arg1 )
{
{
{
#line 46 "/tmp/forklift_obfu_4rpiwqvq/input.c"
_pre_call_callback("glClampColor", (void *)(& glad_glClampColor), 2, arg0, arg1);
#line 341 "/scratch/repos/new/home/jo... | 1,392,783,743 | train_synth_compilable | |||||
test_region_1 | void test_region_1() {
BEGIN_TEST("region-test-1");
void* p = region_alloc(0x1000, "Test region");
dbg_printf("Allocated one-page region: 0x%p\n", p);
dbg_print_region_info();
void* q = region_alloc(0x1000, "Test region");
dbg_printf("Allocated one-page region: 0x%p\n", q);
dbg_print_region_info();
void* r =... | Flatten+EncodeArithmetic | .global test_region_1
.type test_region_1, %function
test_region_1:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl BEGIN_TEST
adrp x0, .LC1
add x1, x0, :lo12:.LC1
mov w0, 4096
bl region_alloc
... | .global test_region_1
.type test_region_1, %function
test_region_1:
.LFB6:
.cfi_startproc
stp x29, x30, [sp, -96]!
.cfi_def_cfa_offset 96
.cfi_offset 29, -96
.cfi_offset 30, -88
mov x29, sp
str xzr, [sp, 88]
.L7:
ldr x0, [sp, 88]
cmp x0, 2
beq .L8
ldr x0, [sp, 88]
cmp x0, 2
bhi .L9
ldr x0, [sp, 88]
cmp... | @.str = external hidden unnamed_addr constant [14 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [32 x ... | /* BEGIN FUNCTION-DEF test_region_1 LOC=UNKNOWN VKEY=4919 */
void test_region_1(void)
{
void *p ;
void *tmp ;
void *q ;
void *tmp___0 ;
void *r ;
void *tmp___1 ;
void *s ;
void *tmp___2 ;
unsigned long _TIG_FN_WEpE_1_test_region_1_next ;
{
_TIG_FN_WEpE_1_test_region_1_next = 0UL;
while (1) {
... | 1,159,417,075 | train_synth_compilable | |||||
glad_debug_impl_glClampColor | void glad_debug_impl_glClampColor(GLenum arg0, GLenum arg1) {
_pre_call_callback("glClampColor", (void*)
# 340 "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/MrMetric/block_thingy/refs/heads/master/lib/glad/glad.debug.c" 3
glad... | Flatten+EncodeArithmetic | .global glad_debug_impl_glClampColor
.type glad_debug_impl_glClampColor, %function
glad_debug_impl_glClampColor:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str w0, [sp, 28]
str w1, [sp, 24]
ldr w4, [sp, 24]
ldr w3, [sp, 28]
mov w2... | .global glad_debug_impl_glClampColor
.type glad_debug_impl_glClampColor, %function
glad_debug_impl_glClampColor:
.LFB6:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str w0, [sp, 28]
str w1, [sp, 24]
str xzr, [sp, 40]
.L13:
ldr x0, [sp, 40... | @.str = external hidden unnamed_addr constant [13 x i8], align 1
define dso_local void @glad_debug_impl_glClampColor(i32 %0, i32 %1) {
%3 = alloca i32, align 4
%4 = alloca i32, align 4
store i32 %0, i32* %3, align 4
store i32 %1, i32* %4, align 4
%5 = load i32, i32* %3, align 4
%6 = load i32, i32* %4, alig... | /* BEGIN FUNCTION-DEF glad_debug_impl_glClampColor LOC=UNKNOWN VKEY=4916 */
void glad_debug_impl_glClampColor(GLenum arg0 , GLenum arg1 )
{
unsigned long _TIG_FN_h5gb_1_glad_debug_impl_glClampColor_next ;
{
_TIG_FN_h5gb_1_glad_debug_impl_glClampColor_next = 0UL;
while (1) {
switch (_TIG_FN_h5gb_1_glad_de... | 240,251,661 | train_synth_compilable | |||||
semaphore_wait | void semaphore_wait(SEMAPHORE *sem) { sem_wait(sem); } | Flatten | .global semaphore_wait
.type semaphore_wait, %function
semaphore_wait:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str x0, [sp, 24]
ldr x0, [sp, 24]
bl sem_wait
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def... | .global semaphore_wait
.type semaphore_wait, %function
semaphore_wait:
.LFB4:
.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]
.L12:
ldr x0, [sp, 40]
cmp x0, 0
beq .L8
ldr x0, [sp, 40]
cmp x0, 1
bne .L14... | define dso_local void @semaphore_wait(i32* %0) {
%2 = alloca i32*, align 8
store i32* %0, i32** %2, align 8
%3 = load i32*, i32** %2, align 8
%4 = call i32 @sem_wait(i32* %3)
ret void
}
declare dso_local i32 @sem_wait(i32*) | /* BEGIN FUNCTION-DEF semaphore_wait LOC=UNKNOWN VKEY=4884 */
void semaphore_wait(SEMAPHORE *sem )
{
unsigned long _TIG_FN_iz2Q_1_semaphore_wait_next ;
{
{
_TIG_FN_iz2Q_1_semaphore_wait_next = 0UL;
}
while (1) {
switch (_TIG_FN_iz2Q_1_semaphore_wait_next) {
case 1UL: ;
return;
break;
... | 906,164,396 | train_synth_compilable | |||||
semaphore_wait | void semaphore_wait(SEMAPHORE *sem) { sem_wait(sem); } | Flatten+EncodeArithmetic | .global semaphore_wait
.type semaphore_wait, %function
semaphore_wait:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str x0, [sp, 24]
ldr x0, [sp, 24]
bl sem_wait
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def... | .global semaphore_wait
.type semaphore_wait, %function
semaphore_wait:
.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]
.L6:
ldr x0, [sp, 40]
cmp x0, 0
beq .L2
ldr x0, [sp, 40]
cmp x0, 1
bne .L8
... | define dso_local void @semaphore_wait(i32* %0) {
%2 = alloca i32*, align 8
store i32* %0, i32** %2, align 8
%3 = load i32*, i32** %2, align 8
%4 = call i32 @sem_wait(i32* %3)
ret void
}
declare dso_local i32 @sem_wait(i32*) | /* BEGIN FUNCTION-DEF semaphore_wait LOC=UNKNOWN VKEY=4888 */
void semaphore_wait(SEMAPHORE *sem )
{
unsigned long _TIG_FN_dkgn_1_semaphore_wait_next ;
{
_TIG_FN_dkgn_1_semaphore_wait_next = 0UL;
while (1) {
switch (_TIG_FN_dkgn_1_semaphore_wait_next) {
case 1UL: ;
return;
break;
case 0UL... | 913,224,047 | train_synth_compilable | |||||
gr_lve_end | void gr_lve_end() {
if (in_lve && !in_mutex_refcnt) {
in_hook = 1;
hooks->exit(&lve_cookie);
in_hook = 0;
}
in_lve = 0;
in_mutex_refcnt = 0;
} | Flatten | .global gr_lve_end
.type gr_lve_end, %function
gr_lve_end:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -16]!
.cfi_def_cfa_offset 16
.cfi_offset 29, -16
.cfi_offset 30, -8
mov x29, sp
adrp x0, :got:in_lve
ldr x0, [x0, #:got_lo12:in_lve]
ldr x0, [x0]
cmp x0, 0
beq .L2
adrp x0, :got:in_mutex_refcnt
ldr x0, [x0, ... | .global gr_lve_end
.type gr_lve_end, %function
gr_lve_end:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
mov x0, 3
str x0, [sp, 24]
.L14:
ldr x0, [sp, 24]
cmp x0, 6
beq .L2
ldr x0, [sp, 24]
cmp x0, 6
bhi .L15
ldr x0, [sp, 24]
... | %struct.TYPE_2__ = type { i32 (i32*)* }
@in_lve = external dso_local global i64, align 8
@in_mutex_refcnt = external dso_local global i64, align 8
@in_hook = external dso_local global i32, align 4
@hooks = external dso_local global %struct.TYPE_2__*, align 8
@lve_cookie = external dso_local global i32, align 4
define d... | /* BEGIN FUNCTION-DEF gr_lve_end LOC=UNKNOWN VKEY=4892 */
void gr_lve_end(void)
{
unsigned long _TIG_FN_9zf3_1_gr_lve_end_next ;
{
{
_TIG_FN_9zf3_1_gr_lve_end_next = 3UL;
}
while (1) {
switch (_TIG_FN_9zf3_1_gr_lve_end_next) {
case 4UL:
#line 56 "/tmp/forklift_obfu_zxckmaes/input.c"
in_lve =... | 2,144,181,937 | train_synth_compilable | |||||
gr_lve_end | void gr_lve_end() {
if (in_lve && !in_mutex_refcnt) {
in_hook = 1;
hooks->exit(&lve_cookie);
in_hook = 0;
}
in_lve = 0;
in_mutex_refcnt = 0;
} | EncodeArithmetic | .global gr_lve_end
.type gr_lve_end, %function
gr_lve_end:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -16]!
.cfi_def_cfa_offset 16
.cfi_offset 29, -16
.cfi_offset 30, -8
mov x29, sp
adrp x0, :got:in_lve
ldr x0, [x0, #:got_lo12:in_lve]
ldr x0, [x0]
cmp x0, 0
beq .L2
adrp x0, :got:in_mutex_refcnt
ldr x0, [x0, ... | .global gr_lve_end
.type gr_lve_end, %function
gr_lve_end:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -16]!
.cfi_def_cfa_offset 16
.cfi_offset 29, -16
.cfi_offset 30, -8
mov x29, sp
adrp x0, in_lve
add x0, x0, :lo12:in_lve
ldr x0, [x0]
cmp x0, 0
beq .L2
adrp x0, in_mutex_refcnt
add x0, x0, :lo12:in_mutex_r... | %struct.TYPE_2__ = type { i32 (i32*)* }
@in_lve = external dso_local global i64, align 8
@in_mutex_refcnt = external dso_local global i64, align 8
@in_hook = external dso_local global i32, align 4
@hooks = external dso_local global %struct.TYPE_2__*, align 8
@lve_cookie = external dso_local global i32, align 4
define d... | /* BEGIN FUNCTION-DEF gr_lve_end LOC=UNKNOWN VKEY=4892 */
void gr_lve_end(void)
{
{
#line 50
if (in_lve) {
#line 50
if (! in_mutex_refcnt) {
{
#line 51 "/tmp/forklift_obfu_ksvgi0jp/input.c"
in_hook = 1;
#line 52
(*(hooks->exit))(& lve_cookie);
#line 53
in_hook = 0;
}
}
}
... | 1,699,226,064 | train_synth_compilable | |||||
semaphore_wait | void semaphore_wait(SEMAPHORE *sem) { sem_wait(sem); } | EncodeArithmetic | .global semaphore_wait
.type semaphore_wait, %function
semaphore_wait:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str x0, [sp, 24]
ldr x0, [sp, 24]
bl sem_wait
nop
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def... | .global semaphore_wait
.type semaphore_wait, %function
semaphore_wait:
.LFB4:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str x0, [sp, 24]
ldr x0, [sp, 24]
bl sem_wait
ldp x29, x30, [sp], 32
.cfi_restore 30
.cfi_restore 29
.cfi_def_cf... | define dso_local void @semaphore_wait(i32* %0) {
%2 = alloca i32*, align 8
store i32* %0, i32** %2, align 8
%3 = load i32*, i32** %2, align 8
%4 = call i32 @sem_wait(i32* %3)
ret void
}
declare dso_local i32 @sem_wait(i32*) | /* BEGIN FUNCTION-DEF semaphore_wait LOC=UNKNOWN VKEY=4884 */
void semaphore_wait(SEMAPHORE *sem )
{
{
#line 43
sem_wait(sem);
#line 43
return;
}
}
/* END FUNCTION-DEF semaphore_wait LOC=UNKNOWN VKEY=4884 */ | 1,351,531,223 | train_synth_compilable | |||||
gr_lve_end | void gr_lve_end() {
if (in_lve && !in_mutex_refcnt) {
in_hook = 1;
hooks->exit(&lve_cookie);
in_hook = 0;
}
in_lve = 0;
in_mutex_refcnt = 0;
} | Flatten+EncodeArithmetic | .global gr_lve_end
.type gr_lve_end, %function
gr_lve_end:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -16]!
.cfi_def_cfa_offset 16
.cfi_offset 29, -16
.cfi_offset 30, -8
mov x29, sp
adrp x0, :got:in_lve
ldr x0, [x0, #:got_lo12:in_lve]
ldr x0, [x0]
cmp x0, 0
beq .L2
adrp x0, :got:in_mutex_refcnt
ldr x0, [x0, ... | .global gr_lve_end
.type gr_lve_end, %function
gr_lve_end:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
mov x0, 3
str x0, [sp, 24]
.L14:
ldr x0, [sp, 24]
cmp x0, 6
beq .L2
ldr x0, [sp, 24]
cmp x0, 6
bhi .L15
ldr x0, [sp, 24]
... | %struct.TYPE_2__ = type { i32 (i32*)* }
@in_lve = external dso_local global i64, align 8
@in_mutex_refcnt = external dso_local global i64, align 8
@in_hook = external dso_local global i32, align 4
@hooks = external dso_local global %struct.TYPE_2__*, align 8
@lve_cookie = external dso_local global i32, align 4
define d... | /* BEGIN FUNCTION-DEF gr_lve_end LOC=UNKNOWN VKEY=4895 */
void gr_lve_end(void)
{
unsigned long _TIG_FN_7jZQ_1_gr_lve_end_next ;
{
_TIG_FN_7jZQ_1_gr_lve_end_next = 3UL;
while (1) {
switch (_TIG_FN_7jZQ_1_gr_lve_end_next) {
case 4UL:
{
#line 56 "/tmp/forklift_obfu_y6qtacc_/input.c"
in_lve = (... | 1,970,753,705 | train_synth_compilable | |||||
do_unrecognized | static void do_unrecognized(void)
{
error_msg("warning: unrecognized: %s", pos);
# 394 "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/Voskrese/mipsonqemu/refs/heads/ar9344/BAC Board Package/libraries/ArduinoSTL-master/extras/uClibc++-OriginalFiles/extra/locale/gen_collat... | Flatten | .global do_unrecognized
.type do_unrecognized, %function
do_unrecognized:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -16]!
.cfi_def_cfa_offset 16
.cfi_offset 29, -16
.cfi_offset 30, -8
mov x29, sp
adrp x0, :got:pos
ldr x0, [x0, #:got_lo12:pos]
ldr w0, [x0]
mov w1, w0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl e... | .global do_unrecognized
.type do_unrecognized, %function
do_unrecognized:
.LFB1:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str xzr, [sp, 24]
.L6:
ldr x0, [sp, 24]
cmp x0, 0
beq .L2
ldr x0, [sp, 24]
cmp x0, 1
bne .L8
b .L7
.L2:
adr... | @.str = external hidden unnamed_addr constant [26 x i8], align 1
@pos = external dso_local global i32, align 4
define dso_local void @do_unrecognized() {
%1 = load i32, i32* @pos, align 4
%2 = call i32 @error_msg(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str, i64 0, i64 0), i32 %1)
ret void
}
declare d... | /* BEGIN FUNCTION-DEF do_unrecognized LOC=UNKNOWN VKEY=4886 */
static void do_unrecognized(void)
{
unsigned long _TIG_FN_VRDV_1_do_unrecognized_next ;
{
{
_TIG_FN_VRDV_1_do_unrecognized_next = 0UL;
}
while (1) {
switch (_TIG_FN_VRDV_1_do_unrecognized_next) {
case 1UL: ;
return;
break;
... | 1,059,257,080 | train_synth_compilable | {"input": [{"var": ["pos"], "value": ["63"]}, {"var": ["pos"], "value": ["106"]}, {"var": ["pos"], "value": ["98"]}, {"var": ["pos"], "value": ["7"]}, {"var": ["pos"], "value": ["107"]}, {"var": ["pos"], "value": ["13"]}, {"var": ["pos"], "value": ["73"]}, {"var": ["pos"], "value": ["28"]}, {"var": ["pos"], "value": ["... | ||||
do_unrecognized | static void do_unrecognized(void)
{
error_msg("warning: unrecognized: %s", pos);
# 394 "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/Voskrese/mipsonqemu/refs/heads/ar9344/BAC Board Package/libraries/ArduinoSTL-master/extras/uClibc++-OriginalFiles/extra/locale/gen_collat... | EncodeArithmetic | .global do_unrecognized
.type do_unrecognized, %function
do_unrecognized:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -16]!
.cfi_def_cfa_offset 16
.cfi_offset 29, -16
.cfi_offset 30, -8
mov x29, sp
adrp x0, :got:pos
ldr x0, [x0, #:got_lo12:pos]
ldr w0, [x0]
mov w1, w0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl e... | .global do_unrecognized
.type do_unrecognized, %function
do_unrecognized:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -16]!
.cfi_def_cfa_offset 16
.cfi_offset 29, -16
.cfi_offset 30, -8
mov x29, sp
adrp x0, pos
add x0, x0, :lo12:pos
ldr w0, [x0]
mov w1, w0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl error_msg
... | @.str = external hidden unnamed_addr constant [26 x i8], align 1
@pos = external dso_local global i32, align 4
define dso_local void @do_unrecognized() {
%1 = load i32, i32* @pos, align 4
%2 = call i32 @error_msg(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str, i64 0, i64 0), i32 %1)
ret void
}
declare d... | /* BEGIN FUNCTION-DEF do_unrecognized LOC=UNKNOWN VKEY=4886 */
static void do_unrecognized(void)
{
{
#line 46 "/tmp/forklift_obfu_afv0mlbf/input.c"
error_msg("warning: unrecognized: %s", pos);
#line 394 "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/Voskrese/mipsonqem... | 1,128,466,620 | train_synth_compilable | {"input": [{"var": ["pos"], "value": ["63"]}, {"var": ["pos"], "value": ["106"]}, {"var": ["pos"], "value": ["98"]}, {"var": ["pos"], "value": ["7"]}, {"var": ["pos"], "value": ["107"]}, {"var": ["pos"], "value": ["13"]}, {"var": ["pos"], "value": ["73"]}, {"var": ["pos"], "value": ["28"]}, {"var": ["pos"], "value": ["... | ||||
do_unrecognized | static void do_unrecognized(void)
{
error_msg("warning: unrecognized: %s", pos);
# 394 "/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/Voskrese/mipsonqemu/refs/heads/ar9344/BAC Board Package/libraries/ArduinoSTL-master/extras/uClibc++-OriginalFiles/extra/locale/gen_collat... | Flatten+EncodeArithmetic | .global do_unrecognized
.type do_unrecognized, %function
do_unrecognized:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -16]!
.cfi_def_cfa_offset 16
.cfi_offset 29, -16
.cfi_offset 30, -8
mov x29, sp
adrp x0, :got:pos
ldr x0, [x0, #:got_lo12:pos]
ldr w0, [x0]
mov w1, w0
adrp x0, .LC0
add x0, x0, :lo12:.LC0
bl e... | .global do_unrecognized
.type do_unrecognized, %function
do_unrecognized:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str xzr, [sp, 24]
.L6:
ldr x0, [sp, 24]
cmp x0, 0
beq .L2
ldr x0, [sp, 24]
cmp x0, 1
bne .L8
b .L7
.L2:
adr... | @.str = external hidden unnamed_addr constant [26 x i8], align 1
@pos = external dso_local global i32, align 4
define dso_local void @do_unrecognized() {
%1 = load i32, i32* @pos, align 4
%2 = call i32 @error_msg(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str, i64 0, i64 0), i32 %1)
ret void
}
declare d... | /* BEGIN FUNCTION-DEF do_unrecognized LOC=UNKNOWN VKEY=4889 */
static void do_unrecognized(void)
{
unsigned long _TIG_FN_jKbX_1_do_unrecognized_next ;
{
_TIG_FN_jKbX_1_do_unrecognized_next = 0UL;
while (1) {
switch (_TIG_FN_jKbX_1_do_unrecognized_next) {
case 1UL: ;
return;
break;
case 0U... | 1,840,109,255 | train_synth_compilable | {"input": [{"var": ["pos"], "value": ["63"]}, {"var": ["pos"], "value": ["106"]}, {"var": ["pos"], "value": ["98"]}, {"var": ["pos"], "value": ["7"]}, {"var": ["pos"], "value": ["107"]}, {"var": ["pos"], "value": ["13"]}, {"var": ["pos"], "value": ["73"]}, {"var": ["pos"], "value": ["28"]}, {"var": ["pos"], "value": ["... | ||||
write_two_pages_check_phys1_crc | static void write_two_pages_check_phys1_crc(void)
{
int rc;
size_t len = 8192;
init_test();
log_fill_buffer(len);
log_write_start(len);
flush_disk_buffers();
phys1_read_start(len);
rc = cmp_crc_log_wr_phys1_rd(len);
basic_test(rc == 0);
cleanup_test();
} | EncodeArithmetic | .global write_two_pages_check_phys1_crc
.type write_two_pages_check_phys1_crc, %function
write_two_pages_check_phys1_crc:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
mov x0, 8192
str x0, [sp, 24]
bl init_test
ldr x0, [sp, 24]
bl lo... | .global write_two_pages_check_phys1_crc
.type write_two_pages_check_phys1_crc, %function
write_two_pages_check_phys1_crc:
.LFB5:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
mov x0, 8192
str x0, [sp, 24]
bl init_test
ldr x0, [sp, 24]
bl ... | define dso_local void @write_two_pages_check_phys1_crc() {
%1 = alloca i32, align 4
%2 = alloca i64, align 8
store i64 8192, i64* %2, align 8
%3 = call i32 (...) @init_test()
%4 = load i64, i64* %2, align 8
%5 = call i32 @log_fill_buffer(i64 %4)
%6 = load i64, i64* %2, align 8
%7 = call i32 @log_write_... | /* BEGIN FUNCTION-DEF write_two_pages_check_phys1_crc LOC=UNKNOWN VKEY=4899 */
static void write_two_pages_check_phys1_crc(void)
{
int rc ;
size_t___0 len ;
{
{
#line 52 "/tmp/forklift_obfu_n97lgz05/input.c"
len = (size_t___0 )8192;
#line 54
init_test();
#line 55
log_fill_buffer(len);
#line 56
log_wr... | 470,939,445 | train_synth_compilable | |||||
write_two_pages_check_phys1_crc | static void write_two_pages_check_phys1_crc(void)
{
int rc;
size_t len = 8192;
init_test();
log_fill_buffer(len);
log_write_start(len);
flush_disk_buffers();
phys1_read_start(len);
rc = cmp_crc_log_wr_phys1_rd(len);
basic_test(rc == 0);
cleanup_test();
} | Flatten | .global write_two_pages_check_phys1_crc
.type write_two_pages_check_phys1_crc, %function
write_two_pages_check_phys1_crc:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
mov x0, 8192
str x0, [sp, 24]
bl init_test
ldr x0, [sp, 24]
bl lo... | .global write_two_pages_check_phys1_crc
.type write_two_pages_check_phys1_crc, %function
write_two_pages_check_phys1_crc:
.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 xzr, [sp, 40]
.L7:
ldr x0, [sp, 40]
cmp x0, 2
beq .L8
ldr x... | define dso_local void @write_two_pages_check_phys1_crc() {
%1 = alloca i32, align 4
%2 = alloca i64, align 8
store i64 8192, i64* %2, align 8
%3 = call i32 (...) @init_test()
%4 = load i64, i64* %2, align 8
%5 = call i32 @log_fill_buffer(i64 %4)
%6 = load i64, i64* %2, align 8
%7 = call i32 @log_write_... | /* BEGIN FUNCTION-DEF write_two_pages_check_phys1_crc LOC=UNKNOWN VKEY=4899 */
static void write_two_pages_check_phys1_crc(void)
{
int rc ;
size_t___0 len ;
unsigned long _TIG_FN_izqo_1_write_two_pages_check_phys1_crc_next ;
{
{
_TIG_FN_izqo_1_write_two_pages_check_phys1_crc_next = 0UL;
}
while (1) {... | 202,363,285 | train_synth_compilable | |||||
ObjNumChildren | int ObjNumChildren(Obj *obj)
{
if (obj->type == 65) return(0);
return(obj->u1.nlst.numchildren);
} | EncodeArithmetic | .global ObjNumChildren
.type ObjNumChildren, %function
ObjNumChildren:
.LFB0:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
ldr x0, [sp, 8]
ldr w0, [x0]
cmp w0, 65
bne .L2
mov w0, 0
b .L3
.L2:
ldr x0, [sp, 8]
ldr w0, [x0, 4]
.L3:
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endp... | .global ObjNumChildren
.type ObjNumChildren, %function
ObjNumChildren:
.LFB4:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
ldr x0, [sp, 8]
ldr w0, [x0]
sub w1, w0, #65
ldr x0, [sp, 8]
ldr w0, [x0]
sub w0, w0, #65
asr w0, w0, 31
add w1, w1, w0
ldr x0, [sp, 8]
ldr w0, [x0]
sub w0... | %struct.TYPE_7__ = type { i32, %struct.TYPE_6__ }
%struct.TYPE_6__ = type { %struct.TYPE_5__ }
%struct.TYPE_5__ = type { i32 }
define dso_local i32 @ObjNumChildren(%struct.TYPE_7__* %0) {
%2 = alloca i32, align 4
%3 = alloca %struct.TYPE_7__*, align 8
store %struct.TYPE_7__* %0, %struct.TYPE_7__** %3, align 8
... | /* BEGIN FUNCTION-DEF ObjNumChildren LOC=UNKNOWN VKEY=4881 */
int ObjNumChildren(Obj *obj )
{
{
#line 50
if (((unsigned int )((((obj->type - 65) + ((obj->type - 65) >> 31)) ^ ((obj->type - 65) >> 31)) - 1) >> 31U) & 1) {
#line 50 "/tmp/forklift_obfu_nf11tbfl/input.c"
return (0);
}
#line 51
return (obj->... | 1,639,042,338 | train_synth_compilable | {"input": [{"var": ["obj"], "value": ["{\"type\": 49, \"u1\": {\"nlst\": {\"numchildren\": 105}}}"]}, {"var": ["obj"], "value": ["{\"type\": 16, \"u1\": {\"nlst\": {\"numchildren\": 118}}}"]}, {"var": ["obj"], "value": ["{\"type\": 107, \"u1\": {\"nlst\": {\"numchildren\": 26}}}"]}, {"var": ["obj"], "value": ["{\"type\... | ||||
write_two_pages_check_phys1_crc | static void write_two_pages_check_phys1_crc(void)
{
int rc;
size_t len = 8192;
init_test();
log_fill_buffer(len);
log_write_start(len);
flush_disk_buffers();
phys1_read_start(len);
rc = cmp_crc_log_wr_phys1_rd(len);
basic_test(rc == 0);
cleanup_test();
} | Flatten+EncodeArithmetic | .global write_two_pages_check_phys1_crc
.type write_two_pages_check_phys1_crc, %function
write_two_pages_check_phys1_crc:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
mov x0, 8192
str x0, [sp, 24]
bl init_test
ldr x0, [sp, 24]
bl lo... | .global write_two_pages_check_phys1_crc
.type write_two_pages_check_phys1_crc, %function
write_two_pages_check_phys1_crc:
.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 xzr, [sp, 40]
.L7:
ldr x0, [sp, 40]
cmp x0, 2
beq .L8
ldr x... | define dso_local void @write_two_pages_check_phys1_crc() {
%1 = alloca i32, align 4
%2 = alloca i64, align 8
store i64 8192, i64* %2, align 8
%3 = call i32 (...) @init_test()
%4 = load i64, i64* %2, align 8
%5 = call i32 @log_fill_buffer(i64 %4)
%6 = load i64, i64* %2, align 8
%7 = call i32 @log_write_... | /* BEGIN FUNCTION-DEF write_two_pages_check_phys1_crc LOC=UNKNOWN VKEY=4904 */
static void write_two_pages_check_phys1_crc(void)
{
int rc ;
size_t___0 len ;
unsigned long _TIG_FN_l9Qr_1_write_two_pages_check_phys1_crc_next ;
{
_TIG_FN_l9Qr_1_write_two_pages_check_phys1_crc_next = 0UL;
while (1) {
swi... | 656,448,479 | train_synth_compilable | |||||
irandianstodegrees | ireal irandianstodegrees(ireal randians) {
return randians * (180.0 / 3.14159265358979323846f);
} | Flatten+EncodeArithmetic | .global irandianstodegrees
.type irandianstodegrees, %function
irandianstodegrees:
.LFB0:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str d0, [sp, 8]
ldr d0, [sp, 8]
adrp x0, .LC0
ldr d1, [x0, #:lo12:.LC0]
fmul d0, d0, d1
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LC0: .word 218353446... | .global irandianstodegrees
.type irandianstodegrees, %function
irandianstodegrees:
.LFB3:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str d0, [sp, 8]
str xzr, [sp, 24]
.L4:
ldr x0, [sp, 24]
cmp x0, 0
bne .L7
ldr d31, [sp, 8]
adrp x0, .LC0
ldr d30, [x0, #:lo12:.LC0]
fmul d31, d31, d30
b .L6
.L7:... | define dso_local double @irandianstodegrees(double %0) {
%2 = alloca double, align 8
store double %0, double* %2, align 8
%3 = load double, double* %2, align 8
%4 = fmul double %3, 0x404CA5DC0D03CF26
ret double %4
} | /* BEGIN FUNCTION-DEF irandianstodegrees LOC=UNKNOWN VKEY=4885 */
ireal irandianstodegrees(ireal randians )
{
unsigned long _TIG_FN_r9Np_1_irandianstodegrees_next ;
{
_TIG_FN_r9Np_1_irandianstodegrees_next = 0UL;
while (1) {
switch (_TIG_FN_r9Np_1_irandianstodegrees_next) {
case 0UL: ;
return (ra... | 491,995,979 | train_synth_compilable | {"input": [{"var": ["randians"], "value": ["18.2026726959"]}, {"var": ["randians"], "value": ["97.2480348806"]}, {"var": ["randians"], "value": ["51.556372809"]}, {"var": ["randians"], "value": ["84.9117612182"]}, {"var": ["randians"], "value": ["80.8231090518"]}, {"var": ["randians"], "value": ["41.2226233943"]}, {"va... | ||||
irandianstodegrees | ireal irandianstodegrees(ireal randians) {
return randians * (180.0 / 3.14159265358979323846f);
} | Flatten | .global irandianstodegrees
.type irandianstodegrees, %function
irandianstodegrees:
.LFB0:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str d0, [sp, 8]
ldr d0, [sp, 8]
adrp x0, .LC0
ldr d1, [x0, #:lo12:.LC0]
fmul d0, d0, d1
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LC0: .word 218353446... | .global irandianstodegrees
.type irandianstodegrees, %function
irandianstodegrees:
.LFB5:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str d0, [sp, 8]
str xzr, [sp, 24]
.L10:
ldr x0, [sp, 24]
cmp x0, 0
bne .L13
ldr d31, [sp, 8]
adrp x0, .LC0
ldr d30, [x0, #:lo12:.LC0]
fmul d31, d31, d30
b .L12
.... | define dso_local double @irandianstodegrees(double %0) {
%2 = alloca double, align 8
store double %0, double* %2, align 8
%3 = load double, double* %2, align 8
%4 = fmul double %3, 0x404CA5DC0D03CF26
ret double %4
} | /* BEGIN FUNCTION-DEF irandianstodegrees LOC=UNKNOWN VKEY=4881 */
ireal irandianstodegrees(ireal randians )
{
unsigned long _TIG_FN_mvbv_1_irandianstodegrees_next ;
{
{
_TIG_FN_mvbv_1_irandianstodegrees_next = 0UL;
}
while (1) {
switch (_TIG_FN_mvbv_1_irandianstodegrees_next) {
case 0UL: ;
re... | 1,079,815,404 | train_synth_compilable | {"input": [{"var": ["randians"], "value": ["18.2026726959"]}, {"var": ["randians"], "value": ["97.2480348806"]}, {"var": ["randians"], "value": ["51.556372809"]}, {"var": ["randians"], "value": ["84.9117612182"]}, {"var": ["randians"], "value": ["80.8231090518"]}, {"var": ["randians"], "value": ["41.2226233943"]}, {"va... | ||||
ObjNumChildren | int ObjNumChildren(Obj *obj)
{
if (obj->type == 65) return(0);
return(obj->u1.nlst.numchildren);
} | Flatten | .global ObjNumChildren
.type ObjNumChildren, %function
ObjNumChildren:
.LFB0:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
ldr x0, [sp, 8]
ldr w0, [x0]
cmp w0, 65
bne .L2
mov w0, 0
b .L3
.L2:
ldr x0, [sp, 8]
ldr w0, [x0, 4]
.L3:
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endp... | .global ObjNumChildren
.type ObjNumChildren, %function
ObjNumChildren:
.LFB7:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, 8]
mov x0, 2
str x0, [sp, 24]
.L15:
ldr x0, [sp, 24]
cmp x0, 2
beq .L8
ldr x0, [sp, 24]
cmp x0, 2
bhi .L16
ldr x0, [sp, 24]
cmp x0, 0
beq .L10
ldr x0, [sp, 2... | %struct.TYPE_7__ = type { i32, %struct.TYPE_6__ }
%struct.TYPE_6__ = type { %struct.TYPE_5__ }
%struct.TYPE_5__ = type { i32 }
define dso_local i32 @ObjNumChildren(%struct.TYPE_7__* %0) {
%2 = alloca i32, align 4
%3 = alloca %struct.TYPE_7__*, align 8
store %struct.TYPE_7__* %0, %struct.TYPE_7__** %3, align 8
... | /* BEGIN FUNCTION-DEF ObjNumChildren LOC=UNKNOWN VKEY=4881 */
int ObjNumChildren(Obj *obj )
{
unsigned long _TIG_FN_zaNc_1_ObjNumChildren_next ;
{
{
_TIG_FN_zaNc_1_ObjNumChildren_next = 2UL;
}
while (1) {
switch (_TIG_FN_zaNc_1_ObjNumChildren_next) {
case 1UL: ;
return (obj->u1.nlst.numchildr... | 1,652,563,013 | train_synth_compilable | {"input": [{"var": ["obj"], "value": ["{\"type\": 49, \"u1\": {\"nlst\": {\"numchildren\": 105}}}"]}, {"var": ["obj"], "value": ["{\"type\": 16, \"u1\": {\"nlst\": {\"numchildren\": 118}}}"]}, {"var": ["obj"], "value": ["{\"type\": 107, \"u1\": {\"nlst\": {\"numchildren\": 26}}}"]}, {"var": ["obj"], "value": ["{\"type\... | ||||
onint | void
onint(void)
{
sigset_t sigs;
intpending = 0;
sigemptyset(&sigs);
sigprocmask(SIG_SETMASK, &sigs, NULL);
/*
* This doesn't seem to be needed, since main() emits a newline.
*/
#if 0
if (tcgetpgrp(0) == getpid())
write(STDERR_FILENO, "\n", 1);
#endif
if (rootshell && iflag)
exraise(EXINT);
else {
... | Flatten | .global onint
.type onint, %function
onint:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 24]
mov x1,0
adrp x0, :got:intpending
ld... | .global onint
.type onint, %function
onint:
.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 xzr, [sp, 40]
.L17:
ldr x0, [sp, 40]
cmp x0, 9
beq .L2
ldr x0, [sp, 40]
cmp x0, 9
bhi .L19
ldr x0, [sp, 40]
cmp x0, 8
beq .L4
ldr x... | @intpending = external dso_local global i64, align 8
@SIG_SETMASK = external dso_local global i32, align 4
@rootshell = external dso_local global i64, align 8
@iflag = external dso_local global i64, align 8
@EXINT = external dso_local global i32, align 4
@SIGINT = external dso_local global i64, align 8
@SIG_DFL = exter... | /* BEGIN FUNCTION-DEF onint LOC=UNKNOWN VKEY=4934 */
void onint(void)
{
sigset_t___0 sigs ;
scalar_t__ tmp ;
unsigned long _TIG_FN_fYsn_1_onint_next ;
{
{
_TIG_FN_fYsn_1_onint_next = 0UL;
}
while (1) {
switch (_TIG_FN_fYsn_1_onint_next) {
case 8UL:
#line 78 "/tmp/forklift_obfu_b6r58p7h/input... | 1,146,005,448 | train_synth_compilable | |||||
irandianstodegrees | ireal irandianstodegrees(ireal randians) {
return randians * (180.0 / 3.14159265358979323846f);
} | EncodeArithmetic | .global irandianstodegrees
.type irandianstodegrees, %function
irandianstodegrees:
.LFB0:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str d0, [sp, 8]
ldr d0, [sp, 8]
adrp x0, .LC0
ldr d1, [x0, #:lo12:.LC0]
fmul d0, d0, d1
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LC0: .word 218353446... | .global irandianstodegrees
.type irandianstodegrees, %function
irandianstodegrees:
.LFB3:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str d0, [sp, 8]
ldr d31, [sp, 8]
adrp x0, .LC0
ldr d30, [x0, #:lo12:.LC0]
fmul d31, d31, d30
fmov d0, d31
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.... | define dso_local double @irandianstodegrees(double %0) {
%2 = alloca double, align 8
store double %0, double* %2, align 8
%3 = load double, double* %2, align 8
%4 = fmul double %3, 0x404CA5DC0D03CF26
ret double %4
} | /* BEGIN FUNCTION-DEF irandianstodegrees LOC=UNKNOWN VKEY=4881 */
ireal irandianstodegrees(ireal randians )
{
{
#line 43 "/tmp/forklift_obfu_dzoyghtl/input.c"
return (randians * (180.0 / (double )3.14159265358979323846f));
}
}
/* END FUNCTION-DEF irandianstodegrees LOC=UNKNOWN VKEY=4881 */ | 49,310,608 | train_synth_compilable | {"input": [{"var": ["randians"], "value": ["18.2026726959"]}, {"var": ["randians"], "value": ["97.2480348806"]}, {"var": ["randians"], "value": ["51.556372809"]}, {"var": ["randians"], "value": ["84.9117612182"]}, {"var": ["randians"], "value": ["80.8231090518"]}, {"var": ["randians"], "value": ["41.2226233943"]}, {"va... | ||||
isrs_install | void isrs_install()
{
idt_set_gate(0, (unsigned)isr0, 0x08, 0x8E);
idt_set_gate(1, (unsigned)isr1, 0x08, 0x8E);
idt_set_gate(2, (unsigned)isr2, 0x08, 0x8E);
idt_set_gate(3, (unsigned)isr3, 0x08, 0x8E);
idt_set_gate(4, (unsigned)isr4, 0x08, 0x8E);
idt_set_gate(5, (unsigned)isr5, 0x08, 0x8E);
... | Flatten | .global isrs_install
.type isrs_install, %function
isrs_install:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -16]!
.cfi_def_cfa_offset 16
.cfi_offset 29, -16
.cfi_offset 30, -8
mov x29, sp
adrp x0, :got:isr0
ldr x0, [x0, #:got_lo12:isr0]
ldr x0, [x0]
mov w3, 142
mov w2, 8
mov w1, w0
mov w0, 0
bl idt_set_gate... | .global isrs_install
.type isrs_install, %function
isrs_install:
.LFB1:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str xzr, [sp, 24]
.L7:
ldr x0, [sp, 24]
cmp x0, 2
beq .L8
ldr x0, [sp, 24]
cmp x0, 2
bhi .L9
ldr x0, [sp, 24]
cmp x0... | @isr0 = external dso_local global i64, align 8
@isr1 = external dso_local global i64, align 8
@isr2 = external dso_local global i64, align 8
@isr3 = external dso_local global i64, align 8
@isr4 = external dso_local global i64, align 8
@isr5 = external dso_local global i64, align 8
@isr6 = external dso_local global i64,... | /* BEGIN FUNCTION-DEF isrs_install LOC=UNKNOWN VKEY=4953 */
void isrs_install(void)
{
unsigned long _TIG_FN_7gTD_1_isrs_install_next ;
{
{
_TIG_FN_7gTD_1_isrs_install_next = 0UL;
}
while (1) {
switch (_TIG_FN_7gTD_1_isrs_install_next) {
case 1UL:
#line 77 "/tmp/forklift_obfu_atdgzxzd/input.c"
... | 1,260,573,448 | train_synth_compilable | |||||
isrs_install | void isrs_install()
{
idt_set_gate(0, (unsigned)isr0, 0x08, 0x8E);
idt_set_gate(1, (unsigned)isr1, 0x08, 0x8E);
idt_set_gate(2, (unsigned)isr2, 0x08, 0x8E);
idt_set_gate(3, (unsigned)isr3, 0x08, 0x8E);
idt_set_gate(4, (unsigned)isr4, 0x08, 0x8E);
idt_set_gate(5, (unsigned)isr5, 0x08, 0x8E);
... | Flatten+EncodeArithmetic | .global isrs_install
.type isrs_install, %function
isrs_install:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -16]!
.cfi_def_cfa_offset 16
.cfi_offset 29, -16
.cfi_offset 30, -8
mov x29, sp
adrp x0, :got:isr0
ldr x0, [x0, #:got_lo12:isr0]
ldr x0, [x0]
mov w3, 142
mov w2, 8
mov w1, w0
mov w0, 0
bl idt_set_gate... | .global isrs_install
.type isrs_install, %function
isrs_install:
.LFB6:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
str xzr, [sp, 24]
.L46:
ldr x0, [sp, 24]
cmp x0, 2
beq .L47
ldr x0, [sp, 24]
cmp x0, 2
bhi .L48
ldr x0, [sp, 24]
cmp... | @isr0 = external dso_local global i64, align 8
@isr1 = external dso_local global i64, align 8
@isr2 = external dso_local global i64, align 8
@isr3 = external dso_local global i64, align 8
@isr4 = external dso_local global i64, align 8
@isr5 = external dso_local global i64, align 8
@isr6 = external dso_local global i64,... | /* BEGIN FUNCTION-DEF isrs_install LOC=UNKNOWN VKEY=4956 */
void isrs_install(void)
{
unsigned long _TIG_FN_SHba_1_isrs_install_next ;
{
_TIG_FN_SHba_1_isrs_install_next = 0UL;
while (1) {
switch (_TIG_FN_SHba_1_isrs_install_next) {
case 1UL:
{
#line 77 "/tmp/forklift_obfu_cnlsgmtn/input.c"
... | 679,282,378 | train_synth_compilable | |||||
ObjNumChildren | int ObjNumChildren(Obj *obj)
{
if (obj->type == 65) return(0);
return(obj->u1.nlst.numchildren);
} | Flatten+EncodeArithmetic | .global ObjNumChildren
.type ObjNumChildren, %function
ObjNumChildren:
.LFB0:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
ldr x0, [sp, 8]
ldr w0, [x0]
cmp w0, 65
bne .L2
mov w0, 0
b .L3
.L2:
ldr x0, [sp, 8]
ldr w0, [x0, 4]
.L3:
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endp... | .global ObjNumChildren
.type ObjNumChildren, %function
ObjNumChildren:
.LFB5:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, 8]
mov x0, 2
str x0, [sp, 24]
.L15:
ldr x0, [sp, 24]
cmp x0, 2
beq .L8
ldr x0, [sp, 24]
cmp x0, 2
bhi .L16
ldr x0, [sp, 24]
cmp x0, 0
beq .L10
ldr x0, [sp, 2... | %struct.TYPE_7__ = type { i32, %struct.TYPE_6__ }
%struct.TYPE_6__ = type { %struct.TYPE_5__ }
%struct.TYPE_5__ = type { i32 }
define dso_local i32 @ObjNumChildren(%struct.TYPE_7__* %0) {
%2 = alloca i32, align 4
%3 = alloca %struct.TYPE_7__*, align 8
store %struct.TYPE_7__* %0, %struct.TYPE_7__** %3, align 8
... | /* BEGIN FUNCTION-DEF ObjNumChildren LOC=UNKNOWN VKEY=4885 */
int ObjNumChildren(Obj *obj )
{
unsigned long _TIG_FN_DgJE_1_ObjNumChildren_next ;
{
_TIG_FN_DgJE_1_ObjNumChildren_next = 2UL;
while (1) {
switch (_TIG_FN_DgJE_1_ObjNumChildren_next) {
case 1UL: ;
return (obj->u1.nlst.numchildren);
... | 2,010,258,946 | train_synth_compilable | {"input": [{"var": ["obj"], "value": ["{\"type\": 49, \"u1\": {\"nlst\": {\"numchildren\": 105}}}"]}, {"var": ["obj"], "value": ["{\"type\": 16, \"u1\": {\"nlst\": {\"numchildren\": 118}}}"]}, {"var": ["obj"], "value": ["{\"type\": 107, \"u1\": {\"nlst\": {\"numchildren\": 26}}}"]}, {"var": ["obj"], "value": ["{\"type\... | ||||
onint | void
onint(void)
{
sigset_t sigs;
intpending = 0;
sigemptyset(&sigs);
sigprocmask(SIG_SETMASK, &sigs, NULL);
/*
* This doesn't seem to be needed, since main() emits a newline.
*/
#if 0
if (tcgetpgrp(0) == getpid())
write(STDERR_FILENO, "\n", 1);
#endif
if (rootshell && iflag)
exraise(EXINT);
else {
... | EncodeArithmetic | .global onint
.type onint, %function
onint:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 24]
mov x1,0
adrp x0, :got:intpending
ld... | .global onint
.type onint, %function
onint:
.LFB3:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
adrp x0, intpending
add x0, x0, :lo12:intpending
str xzr, [x0]
add x0, sp, 20
bl sigemptyset
adrp x0, SIG_SETMASK
add x0, x0, :lo12:SIG_SET... | @intpending = external dso_local global i64, align 8
@SIG_SETMASK = external dso_local global i32, align 4
@rootshell = external dso_local global i64, align 8
@iflag = external dso_local global i64, align 8
@EXINT = external dso_local global i32, align 4
@SIGINT = external dso_local global i64, align 8
@SIG_DFL = exter... | /* BEGIN FUNCTION-DEF onint LOC=UNKNOWN VKEY=4934 */
void onint(void)
{
sigset_t___0 sigs ;
scalar_t__ tmp ;
{
{
#line 64 "/tmp/forklift_obfu_ykwls5tg/input.c"
intpending = (scalar_t__ )0;
#line 65
sigemptyset(& sigs);
#line 66
sigprocmask(SIG_SETMASK, & sigs, (int *)((void *)0));
}
#line 75
if (ro... | 1,461,042,543 | train_synth_compilable | |||||
functor_get_id | int functor_get_id(Functor f)
{
return f->v.functor_id;
} | Flatten | .global functor_get_id
.type functor_get_id, %function
functor_get_id:
.LFB0:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
ldr x0, [sp, 8]
ldr w0, [x0]
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
| .global functor_get_id
.type functor_get_id, %function
functor_get_id:
.LFB7:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, 8]
str xzr, [sp, 24]
.L10:
ldr x0, [sp, 24]
cmp x0, 0
bne .L13
ldr x0, [sp, 8]
ldr w0, [x0]
b .L12
.L13:
nop
b .L10
.L12:
add sp, sp, 32
.cfi_def_cfa_offset 0... | %struct.TYPE_5__ = type { %struct.TYPE_4__ }
%struct.TYPE_4__ = type { i32 }
define dso_local i32 @functor_get_id(%struct.TYPE_5__* %0) {
%2 = alloca %struct.TYPE_5__*, align 8
store %struct.TYPE_5__* %0, %struct.TYPE_5__** %2, align 8
%3 = load %struct.TYPE_5__*, %struct.TYPE_5__** %2, align 8
%4 = getelement... | /* BEGIN FUNCTION-DEF functor_get_id LOC=UNKNOWN VKEY=4881 */
int functor_get_id(Functor f )
{
unsigned long _TIG_FN_LSW5_1_functor_get_id_next ;
{
{
_TIG_FN_LSW5_1_functor_get_id_next = 0UL;
}
while (1) {
switch (_TIG_FN_LSW5_1_functor_get_id_next) {
case 0UL: ;
return (f->v.functor_id);
... | 1,948,728,483 | train_synth_compilable | |||||
functor_get_id | int functor_get_id(Functor f)
{
return f->v.functor_id;
} | EncodeArithmetic | .global functor_get_id
.type functor_get_id, %function
functor_get_id:
.LFB0:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
ldr x0, [sp, 8]
ldr w0, [x0]
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
| .global functor_get_id
.type functor_get_id, %function
functor_get_id:
.LFB3:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
ldr x0, [sp, 8]
ldr w0, [x0]
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
.LFE3:
.size functor_get_id, .-functor_get_id | %struct.TYPE_5__ = type { %struct.TYPE_4__ }
%struct.TYPE_4__ = type { i32 }
define dso_local i32 @functor_get_id(%struct.TYPE_5__* %0) {
%2 = alloca %struct.TYPE_5__*, align 8
store %struct.TYPE_5__* %0, %struct.TYPE_5__** %2, align 8
%3 = load %struct.TYPE_5__*, %struct.TYPE_5__** %2, align 8
%4 = getelement... | /* BEGIN FUNCTION-DEF functor_get_id LOC=UNKNOWN VKEY=4881 */
int functor_get_id(Functor f )
{
{
#line 48
return (f->v.functor_id);
}
}
/* END FUNCTION-DEF functor_get_id LOC=UNKNOWN VKEY=4881 */ | 13,938,521 | train_synth_compilable | |||||
isrs_install | void isrs_install()
{
idt_set_gate(0, (unsigned)isr0, 0x08, 0x8E);
idt_set_gate(1, (unsigned)isr1, 0x08, 0x8E);
idt_set_gate(2, (unsigned)isr2, 0x08, 0x8E);
idt_set_gate(3, (unsigned)isr3, 0x08, 0x8E);
idt_set_gate(4, (unsigned)isr4, 0x08, 0x8E);
idt_set_gate(5, (unsigned)isr5, 0x08, 0x8E);
... | EncodeArithmetic | .global isrs_install
.type isrs_install, %function
isrs_install:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -16]!
.cfi_def_cfa_offset 16
.cfi_offset 29, -16
.cfi_offset 30, -8
mov x29, sp
adrp x0, :got:isr0
ldr x0, [x0, #:got_lo12:isr0]
ldr x0, [x0]
mov w3, 142
mov w2, 8
mov w1, w0
mov w0, 0
bl idt_set_gate... | .global isrs_install
.type isrs_install, %function
isrs_install:
.LFB7:
.cfi_startproc
stp x29, x30, [sp, -16]!
.cfi_def_cfa_offset 16
.cfi_offset 29, -16
.cfi_offset 30, -8
mov x29, sp
adrp x0, isr0
add x0, x0, :lo12:isr0
ldr x0, [x0]
mov w3, 142
mov w2, 8
mov w1, w0
mov w0, 0
bl idt_set_gate
adrp x0,... | @isr0 = external dso_local global i64, align 8
@isr1 = external dso_local global i64, align 8
@isr2 = external dso_local global i64, align 8
@isr3 = external dso_local global i64, align 8
@isr4 = external dso_local global i64, align 8
@isr5 = external dso_local global i64, align 8
@isr6 = external dso_local global i64,... | /* BEGIN FUNCTION-DEF isrs_install LOC=UNKNOWN VKEY=4953 */
void isrs_install(void)
{
{
{
#line 77
idt_set_gate(0, (unsigned int )isr0, 0x08, 0x8E);
#line 78
idt_set_gate(1, (unsigned int )isr1, 0x08, 0x8E);
#line 79
idt_set_gate(2, (unsigned int )isr2, 0x08, 0x8E);
#line 80
idt_set_gate(3, (unsigned in... | 1,867,302,554 | train_synth_compilable | |||||
onint | void
onint(void)
{
sigset_t sigs;
intpending = 0;
sigemptyset(&sigs);
sigprocmask(SIG_SETMASK, &sigs, NULL);
/*
* This doesn't seem to be needed, since main() emits a newline.
*/
#if 0
if (tcgetpgrp(0) == getpid())
write(STDERR_FILENO, "\n", 1);
#endif
if (rootshell && iflag)
exraise(EXINT);
else {
... | Flatten+EncodeArithmetic | .global onint
.type onint, %function
onint:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
adrp x0, :got:__stack_chk_guard
ldr x0, [x0, #:got_lo12:__stack_chk_guard]
ldr x1, [x0]
str x1, [sp, 24]
mov x1,0
adrp x0, :got:intpending
ld... | .global onint
.type onint, %function
onint:
.LFB6:
.cfi_startproc
stp x29, x30, [sp, -48]!
.cfi_def_cfa_offset 48
.cfi_offset 29, -48
.cfi_offset 30, -40
mov x29, sp
str xzr, [sp, 40]
.L31:
ldr x0, [sp, 40]
cmp x0, 9
beq .L16
ldr x0, [sp, 40]
cmp x0, 9
bhi .L33
ldr x0, [sp, 40]
cmp x0, 8
beq .L18
ldr... | @intpending = external dso_local global i64, align 8
@SIG_SETMASK = external dso_local global i32, align 4
@rootshell = external dso_local global i64, align 8
@iflag = external dso_local global i64, align 8
@EXINT = external dso_local global i32, align 4
@SIGINT = external dso_local global i64, align 8
@SIG_DFL = exter... | /* BEGIN FUNCTION-DEF onint LOC=UNKNOWN VKEY=4939 */
void onint(void)
{
sigset_t___0 sigs ;
scalar_t__ tmp ;
unsigned long _TIG_FN_6ube_1_onint_next ;
{
_TIG_FN_6ube_1_onint_next = 0UL;
while (1) {
switch (_TIG_FN_6ube_1_onint_next) {
case 8UL:
{
#line 78 "/tmp/forklift_obfu_habslgcr/input.c... | 479,112,937 | train_synth_compilable | |||||
functor_get_id | int functor_get_id(Functor f)
{
return f->v.functor_id;
} | Flatten+EncodeArithmetic | .global functor_get_id
.type functor_get_id, %function
functor_get_id:
.LFB0:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
ldr x0, [sp, 8]
ldr w0, [x0]
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_endproc
| .global functor_get_id
.type functor_get_id, %function
functor_get_id:
.LFB4:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, 8]
str xzr, [sp, 24]
.L10:
ldr x0, [sp, 24]
cmp x0, 0
bne .L13
ldr x0, [sp, 8]
ldr w0, [x0]
b .L12
.L13:
nop
b .L10
.L12:
add sp, sp, 32
.cfi_def_cfa_offset 0... | %struct.TYPE_5__ = type { %struct.TYPE_4__ }
%struct.TYPE_4__ = type { i32 }
define dso_local i32 @functor_get_id(%struct.TYPE_5__* %0) {
%2 = alloca %struct.TYPE_5__*, align 8
store %struct.TYPE_5__* %0, %struct.TYPE_5__** %2, align 8
%3 = load %struct.TYPE_5__*, %struct.TYPE_5__** %2, align 8
%4 = getelement... | /* BEGIN FUNCTION-DEF functor_get_id LOC=UNKNOWN VKEY=4885 */
int functor_get_id(Functor f )
{
unsigned long _TIG_FN_oFmv_1_functor_get_id_next ;
{
_TIG_FN_oFmv_1_functor_get_id_next = 0UL;
while (1) {
switch (_TIG_FN_oFmv_1_functor_get_id_next) {
case 0UL: ;
return (f->v.functor_id);
break;
... | 1,131,247,330 | train_synth_compilable | |||||
set_flags_cp | static inline void set_flags_cp(Z80 *z80, uint16_t rh)
{
uint8_t lh = z80->regs.a;
uint8_t res = lh - rh;
set_flags(z80, (((lh) - (rh)) & 0x100), 1, ((!((lh) & 0x80)) && ((rh) & 0x80) && ((res) & 0x80) || ((lh) & 0x80) && (!((rh) & 0x80)) && (!((res) & 0x80))), ((rh) & 0x08),
((((lh) & 0x0F) - ((rh)... | Flatten+EncodeArithmetic | .global set_flags_cp
.type set_flags_cp, %function
set_flags_cp:
.LFB0:
.cfi_startproc
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, 16]
.cfi_offset 29, -48
.cfi_offset 30, -40
add x29, sp, 16
str x0, [sp, 40]
str x1, [sp, 32]
ldr x0, [sp, 40]
ldr x0, [x0]
str x0, [sp, 48]
ldr x1, [sp, 48]
ldr... | .global set_flags_cp
.type set_flags_cp, %function
set_flags_cp:
.LFB7:
.cfi_startproc
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, 16]
.cfi_offset 29, -64
.cfi_offset 30, -56
add x29, sp, 16
str x0, [sp, 40]
str x1, [sp, 32]
mov x0, 16
str x0, [sp, 48]
.L39:
ldr x0, [sp, 48]
cmp x0, 16
beq... | %struct.TYPE_6__ = type { %struct.TYPE_5__ }
%struct.TYPE_5__ = type { i64 }
define dso_local void @set_flags_cp(%struct.TYPE_6__* %0, i64 %1) {
%3 = alloca %struct.TYPE_6__*, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
store %struct.TYPE_6__* %0, %struct.TYPE_6__** %3,... | /* BEGIN FUNCTION-DEF set_flags_cp LOC=UNKNOWN VKEY=4919 */
void set_flags_cp(Z80 *z80 , uint16_t___0 rh___0 )
{
uint8_t___0 lh___0 ;
uint8_t___0 res___0 ;
int tmp ;
unsigned long _TIG_FN_XlJE_1_set_flags_cp_next ;
{
_TIG_FN_XlJE_1_set_flags_cp_next = 16UL;
while (1) {
switch (_TIG_FN_XlJE_1_set_fl... | 1,281,810,600 | train_synth_compilable | |||||
set_flags_cp | static inline void set_flags_cp(Z80 *z80, uint16_t rh)
{
uint8_t lh = z80->regs.a;
uint8_t res = lh - rh;
set_flags(z80, (((lh) - (rh)) & 0x100), 1, ((!((lh) & 0x80)) && ((rh) & 0x80) && ((res) & 0x80) || ((lh) & 0x80) && (!((rh) & 0x80)) && (!((res) & 0x80))), ((rh) & 0x08),
((((lh) & 0x0F) - ((rh)... | Flatten | .global set_flags_cp
.type set_flags_cp, %function
set_flags_cp:
.LFB0:
.cfi_startproc
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, 16]
.cfi_offset 29, -48
.cfi_offset 30, -40
add x29, sp, 16
str x0, [sp, 40]
str x1, [sp, 32]
ldr x0, [sp, 40]
ldr x0, [x0]
str x0, [sp, 48]
ldr x1, [sp, 48]
ldr... | .global set_flags_cp
.type set_flags_cp, %function
set_flags_cp:
.LFB3:
.cfi_startproc
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, 16]
.cfi_offset 29, -64
.cfi_offset 30, -56
add x29, sp, 16
str x0, [sp, 40]
str x1, [sp, 32]
mov x0, 16
str x0, [sp, 48]
.L39:
ldr x0, [sp, 48]
cmp x0, 16
beq... | %struct.TYPE_6__ = type { %struct.TYPE_5__ }
%struct.TYPE_5__ = type { i64 }
define dso_local void @set_flags_cp(%struct.TYPE_6__* %0, i64 %1) {
%3 = alloca %struct.TYPE_6__*, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
store %struct.TYPE_6__* %0, %struct.TYPE_6__** %3,... | /* BEGIN FUNCTION-DEF set_flags_cp LOC=UNKNOWN VKEY=4911 */
void set_flags_cp(Z80 *z80 , uint16_t___0 rh___0 )
{
uint8_t___0 lh___0 ;
uint8_t___0 res___0 ;
int tmp ;
unsigned long _TIG_FN_hHlq_1_set_flags_cp_next ;
{
{
_TIG_FN_hHlq_1_set_flags_cp_next = 16UL;
}
while (1) {
switch (_TIG_FN_hHlq_... | 767,303,988 | train_synth_compilable | |||||
set_flags_cp | static inline void set_flags_cp(Z80 *z80, uint16_t rh)
{
uint8_t lh = z80->regs.a;
uint8_t res = lh - rh;
set_flags(z80, (((lh) - (rh)) & 0x100), 1, ((!((lh) & 0x80)) && ((rh) & 0x80) && ((res) & 0x80) || ((lh) & 0x80) && (!((rh) & 0x80)) && (!((res) & 0x80))), ((rh) & 0x08),
((((lh) & 0x0F) - ((rh)... | EncodeArithmetic | .global set_flags_cp
.type set_flags_cp, %function
set_flags_cp:
.LFB0:
.cfi_startproc
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, 16]
.cfi_offset 29, -48
.cfi_offset 30, -40
add x29, sp, 16
str x0, [sp, 40]
str x1, [sp, 32]
ldr x0, [sp, 40]
ldr x0, [x0]
str x0, [sp, 48]
ldr x1, [sp, 48]
ldr... | .global set_flags_cp
.type set_flags_cp, %function
set_flags_cp:
.LFB6:
.cfi_startproc
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, 16]
.cfi_offset 29, -64
.cfi_offset 30, -56
add x29, sp, 16
str x0, [sp, 40]
str x1, [sp, 32]
ldr x0, [sp, 40]
ldr x0, [x0]
str x0, [sp, 64]
ldr x0, [sp, 32]
m... | %struct.TYPE_6__ = type { %struct.TYPE_5__ }
%struct.TYPE_5__ = type { i64 }
define dso_local void @set_flags_cp(%struct.TYPE_6__* %0, i64 %1) {
%3 = alloca %struct.TYPE_6__*, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
%6 = alloca i64, align 8
store %struct.TYPE_6__* %0, %struct.TYPE_6__** %3,... | /* BEGIN FUNCTION-DEF set_flags_cp LOC=UNKNOWN VKEY=4911 */
void set_flags_cp(Z80 *z80 , uint16_t___0 rh___0 )
{
uint8_t___0 lh___0 ;
uint8_t___0 res___0 ;
int tmp ;
{
{
#line 54 "/tmp/forklift_obfu_0o7tj_2_/input.c"
lh___0 = z80->regs.a;
#line 55
res___0 = (lh___0 + ~ rh___0) + 1L;
}
#line 56
if (... | 457,031,004 | train_synth_compilable | |||||
ascii2int | static uint64_t ascii2int(const unsigned char *string, const unsigned int max_length)
{
uint64_t res=0;
unsigned int i;
for(i=0;i<max_length;i++)
{
if(string[i]>='0' && string[i]<='9')
res=res*10+(string[i]-'0');
else if(!(string[i]==' ' && res==0))
return 0;
}
return res;
} | Flatten | .global ascii2int
.type ascii2int, %function
ascii2int:
.LFB0:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, 8]
str w1, [sp, 4]
str wzr, [sp, 24]
str wzr, [sp, 28]
b .L2
.L7:
ldr w0, [sp, 28]
ldr x1, [sp, 8]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 47
bls .L3
ldr w0, [sp, 28]
ldr x1, [s... | .global ascii2int
.type ascii2int, %function
ascii2int:
.LFB3:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, 8]
str w1, [sp, 4]
mov x0, 13
str x0, [sp, 16]
.L27:
ldr x0, [sp, 16]
cmp x0, 13
beq .L2
ldr x0, [sp, 16]
cmp x0, 13
bhi .L28
ldr x0, [sp, 16]
cmp x0, 12
beq .L4
ldr x0, [... | define dso_local i32 @ascii2int(i8* %0, i32 %1) {
%3 = alloca i32, align 4
%4 = alloca i8*, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i8* %0, i8** %4, align 8
store i32 %1, i32* %5, align 4
store i32 0, i32* %6, align 4
store i32 0, i32* %7, align 4
br... | /* BEGIN FUNCTION-DEF ascii2int LOC=UNKNOWN VKEY=4886 */
static uint64_t___0 ascii2int(unsigned char const *string , unsigned int const max_length )
{
uint64_t___0 res ;
unsigned int i ;
unsigned long _TIG_FN_nSCO_1_ascii2int_next ;
{
{
_TIG_FN_nSCO_1_ascii2int_next = 13UL;
}
while (1) {
swit... | 248,786,714 | train_synth_compilable | |||||
ascii2int | static uint64_t ascii2int(const unsigned char *string, const unsigned int max_length)
{
uint64_t res=0;
unsigned int i;
for(i=0;i<max_length;i++)
{
if(string[i]>='0' && string[i]<='9')
res=res*10+(string[i]-'0');
else if(!(string[i]==' ' && res==0))
return 0;
}
return res;
} | EncodeArithmetic | .global ascii2int
.type ascii2int, %function
ascii2int:
.LFB0:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, 8]
str w1, [sp, 4]
str wzr, [sp, 24]
str wzr, [sp, 28]
b .L2
.L7:
ldr w0, [sp, 28]
ldr x1, [sp, 8]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 47
bls .L3
ldr w0, [sp, 28]
ldr x1, [s... | .global ascii2int
.type ascii2int, %function
ascii2int:
.LFB6:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, 8]
str w1, [sp, 4]
str wzr, [sp, 28]
str wzr, [sp, 24]
b .L8
.L14:
ldr w0, [sp, 24]
ldr x1, [sp, 8]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 47
bls .L15
ldr w0, [sp, 24]
ldr x1... | define dso_local i32 @ascii2int(i8* %0, i32 %1) {
%3 = alloca i32, align 4
%4 = alloca i8*, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i8* %0, i8** %4, align 8
store i32 %1, i32* %5, align 4
store i32 0, i32* %6, align 4
store i32 0, i32* %7, align 4
br... | /* BEGIN FUNCTION-DEF ascii2int LOC=UNKNOWN VKEY=4886 */
static uint64_t___0 ascii2int(unsigned char const *string , unsigned int const max_length )
{
uint64_t___0 res ;
unsigned int i ;
{
{
#line 44 "/tmp/forklift_obfu_ib1cjlx8/input.c"
res = 0;
#line 46
i = 0U;
}
#line 46
while ((int )((((~ i &... | 1,034,535,593 | train_synth_compilable | |||||
rs_rainflow_set_cycle_style | int
rs_rainflow_set_cycle_style (rs_rainflow_t *obj, int style)
{
if (obj == NULL)
{
errno = EINVAL;
return -1;
}
if (obj->busy != SETUP)
{
errno = EBUSY;
return -1;
}
if (style < 0 || style >= RS_RAINFLOW_CYCLE_REPRESENTATIONS)
{
errno = EINVAL;
return -1... | EncodeArithmetic | .global rs_rainflow_set_cycle_style
.type rs_rainflow_set_cycle_style, %function
rs_rainflow_set_cycle_style:
.LFB0:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
str w1, [sp, 4]
ldr x0, [sp, 8]
cmp x0, 0
bne .L2
adrp x0, :got:EINVAL
ldr x0, [x0, #:got_lo12:EINVAL]
ldr w1, [x0]
adrp ... | .global rs_rainflow_set_cycle_style
.type rs_rainflow_set_cycle_style, %function
rs_rainflow_set_cycle_style:
.LFB3:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
str w1, [sp, 4]
ldr x0, [sp, 8]
neg x1, x0
ldr x0, [sp, 8]
orr x0, x1, x0
mvn x0, x0
lsr x0, x0, 63
and w0, w0, 1
cmp ... | %struct.TYPE_3__ = type { i64, i32 }
@EINVAL = external dso_local global i32, align 4
@errno = external dso_local global i32, align 4
@SETUP = external dso_local global i64, align 8
@EBUSY = external dso_local global i32, align 4
@RS_RAINFLOW_CYCLE_REPRESENTATIONS = external dso_local global i32, align 4
define dso_loc... | /* BEGIN FUNCTION-DEF rs_rainflow_set_cycle_style LOC=UNKNOWN VKEY=4894 */
int rs_rainflow_set_cycle_style(rs_rainflow_t *obj , int style )
{
{
#line 52
if ((int )((~ (((unsigned long )obj - (unsigned long )((void *)0)) | ((unsigned long )((void *)0) - (unsigned long )obj)) >> 63UL) & 1UL)) {
#line 54 "/tmp/for... | 551,437,149 | train_synth_compilable | |||||
ascii2int | static uint64_t ascii2int(const unsigned char *string, const unsigned int max_length)
{
uint64_t res=0;
unsigned int i;
for(i=0;i<max_length;i++)
{
if(string[i]>='0' && string[i]<='9')
res=res*10+(string[i]-'0');
else if(!(string[i]==' ' && res==0))
return 0;
}
return res;
} | Flatten+EncodeArithmetic | .global ascii2int
.type ascii2int, %function
ascii2int:
.LFB0:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, 8]
str w1, [sp, 4]
str wzr, [sp, 24]
str wzr, [sp, 28]
b .L2
.L7:
ldr w0, [sp, 28]
ldr x1, [sp, 8]
add x0, x1, x0
ldrb w0, [x0]
cmp w0, 47
bls .L3
ldr w0, [sp, 28]
ldr x1, [s... | .global ascii2int
.type ascii2int, %function
ascii2int:
.LFB2:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, 8]
str w1, [sp, 4]
mov x0, 13
str x0, [sp, 16]
.L27:
ldr x0, [sp, 16]
cmp x0, 13
beq .L2
ldr x0, [sp, 16]
cmp x0, 13
bhi .L28
ldr x0, [sp, 16]
cmp x0, 12
beq .L4
ldr x0, [... | define dso_local i32 @ascii2int(i8* %0, i32 %1) {
%3 = alloca i32, align 4
%4 = alloca i8*, align 8
%5 = alloca i32, align 4
%6 = alloca i32, align 4
%7 = alloca i32, align 4
store i8* %0, i8** %4, align 8
store i32 %1, i32* %5, align 4
store i32 0, i32* %6, align 4
store i32 0, i32* %7, align 4
br... | /* BEGIN FUNCTION-DEF ascii2int LOC=UNKNOWN VKEY=4893 */
static uint64_t___0 ascii2int(unsigned char const *string , unsigned int const max_length )
{
uint64_t___0 res ;
unsigned int i ;
unsigned long _TIG_FN_cMfW_1_ascii2int_next ;
{
_TIG_FN_cMfW_1_ascii2int_next = 13UL;
while (1) {
switch (_TIG... | 338,258,951 | train_synth_compilable | |||||
WindowRemoveElement | void WindowRemoveElement( struct GUIWindow * w, struct GUIBase * g )
{
int i;
for( i = 0; i < 2048; i++ )
{
if( w->elements[i] == g )
w->elements[i] = 0;
}
} | EncodeArithmetic | .global WindowRemoveElement
.type WindowRemoveElement, %function
WindowRemoveElement:
.LFB0:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, 8]
str x1, [sp]
str wzr, [sp, 28]
b .L2
.L4:
ldr x0, [sp, 8]
ldr x1, [x0]
ldrsw x0, [sp, 28]
lsl x0, x0, 3
add x0, x1, x0
ldr x0, [x0]
ldr x1, [sp... | .global WindowRemoveElement
.type WindowRemoveElement, %function
WindowRemoveElement:
.LFB6:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, 8]
str x1, [sp]
str wzr, [sp, 28]
b .L2
.L4:
ldr x0, [sp, 8]
ldr x1, [x0]
ldrsw x0, [sp, 28]
lsl x0, x0, 3
add x0, x1, x0
ldr x0, [x0]
mov x1, x... | %struct.GUIWindow = type { %struct.GUIBase** }
%struct.GUIBase = type { i32 }
define dso_local void @WindowRemoveElement(%struct.GUIWindow* %0, %struct.GUIBase* %1) {
%3 = alloca %struct.GUIWindow*, align 8
%4 = alloca %struct.GUIBase*, align 8
%5 = alloca i32, align 4
store %struct.GUIWindow* %0, %struct.GUIW... | /* BEGIN FUNCTION-DEF WindowRemoveElement LOC=UNKNOWN VKEY=4885 */
void WindowRemoveElement(struct GUIWindow *w , struct GUIBase *g )
{
int i ;
{
#line 46 "/tmp/forklift_obfu_mbj00idh/input.c"
i = 0;
#line 46
while (((unsigned int )((i & ~ 2048) | (~ (i ^ 2048) & (i - 2048))) >> 31U) & 1) {
#line 48
if (... | 863,937,247 | train_synth_compilable | |||||
rs_rainflow_set_cycle_style | int
rs_rainflow_set_cycle_style (rs_rainflow_t *obj, int style)
{
if (obj == NULL)
{
errno = EINVAL;
return -1;
}
if (obj->busy != SETUP)
{
errno = EBUSY;
return -1;
}
if (style < 0 || style >= RS_RAINFLOW_CYCLE_REPRESENTATIONS)
{
errno = EINVAL;
return -1... | Flatten+EncodeArithmetic | .global rs_rainflow_set_cycle_style
.type rs_rainflow_set_cycle_style, %function
rs_rainflow_set_cycle_style:
.LFB0:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
str w1, [sp, 4]
ldr x0, [sp, 8]
cmp x0, 0
bne .L2
adrp x0, :got:EINVAL
ldr x0, [x0, #:got_lo12:EINVAL]
ldr w1, [x0]
adrp ... | .global rs_rainflow_set_cycle_style
.type rs_rainflow_set_cycle_style, %function
rs_rainflow_set_cycle_style:
.LFB4:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, 8]
str w1, [sp, 4]
mov x0, 12
str x0, [sp, 24]
.L27:
ldr x0, [sp, 24]
cmp x0, 13
beq .L2
ldr x0, [sp, 24]
cmp x0, 13
bhi ... | %struct.TYPE_3__ = type { i64, i32 }
@EINVAL = external dso_local global i32, align 4
@errno = external dso_local global i32, align 4
@SETUP = external dso_local global i64, align 8
@EBUSY = external dso_local global i32, align 4
@RS_RAINFLOW_CYCLE_REPRESENTATIONS = external dso_local global i32, align 4
define dso_loc... | /* BEGIN FUNCTION-DEF rs_rainflow_set_cycle_style LOC=UNKNOWN VKEY=4899 */
int rs_rainflow_set_cycle_style(rs_rainflow_t *obj , int style )
{
unsigned long _TIG_FN_nKzJ_1_rs_rainflow_set_cycle_style_next ;
{
_TIG_FN_nKzJ_1_rs_rainflow_set_cycle_style_next = 12UL;
while (1) {
switch (_TIG_FN_nKzJ_1_rs_rai... | 2,041,322,270 | train_synth_compilable | |||||
DACCheckOn | static inline uint8_t DACCheckOn(void)
{
return DACB.CTRLB;
} | Flatten+EncodeArithmetic | .global DACCheckOn
.type DACCheckOn, %function
DACCheckOn:
.LFB0:
.cfi_startproc
adrp x0, :got:DACB
ldr x0, [x0, #:got_lo12:DACB]
ldr w0, [x0]
ret
.cfi_endproc
| .global DACCheckOn
.type DACCheckOn, %function
DACCheckOn:
.LFB5:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str xzr, [sp, 8]
.L11:
ldr x0, [sp, 8]
cmp x0, 0
bne .L14
adrp x0, DACB
add x0, x0, :lo12:DACB
ldr w0, [x0]
b .L13
.L14:
nop
b .L11
.L13:
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.c... | %struct.TYPE_2__ = type { i32 }
@DACB = external dso_local global %struct.TYPE_2__, align 4
define dso_local i32 @DACCheckOn() {
%1 = load i32, i32* getelementptr inbounds (%struct.TYPE_2__, %struct.TYPE_2__* @DACB, i32 0, i32 0), align 4
ret i32 %1
} | /* BEGIN FUNCTION-DEF DACCheckOn LOC=UNKNOWN VKEY=4884 */
uint8_t___0 DACCheckOn(void)
{
unsigned long _TIG_FN_LDn7_1_DACCheckOn_next ;
{
_TIG_FN_LDn7_1_DACCheckOn_next = 0UL;
while (1) {
switch (_TIG_FN_LDn7_1_DACCheckOn_next) {
case 0UL: ;
return (DACB.CTRLB);
break;
default:
break... | 1,817,363,615 | train_synth_compilable | |||||
rs_rainflow_set_cycle_style | int
rs_rainflow_set_cycle_style (rs_rainflow_t *obj, int style)
{
if (obj == NULL)
{
errno = EINVAL;
return -1;
}
if (obj->busy != SETUP)
{
errno = EBUSY;
return -1;
}
if (style < 0 || style >= RS_RAINFLOW_CYCLE_REPRESENTATIONS)
{
errno = EINVAL;
return -1... | Flatten | .global rs_rainflow_set_cycle_style
.type rs_rainflow_set_cycle_style, %function
rs_rainflow_set_cycle_style:
.LFB0:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, 8]
str w1, [sp, 4]
ldr x0, [sp, 8]
cmp x0, 0
bne .L2
adrp x0, :got:EINVAL
ldr x0, [x0, #:got_lo12:EINVAL]
ldr w1, [x0]
adrp ... | .global rs_rainflow_set_cycle_style
.type rs_rainflow_set_cycle_style, %function
rs_rainflow_set_cycle_style:
.LFB3:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, 8]
str w1, [sp, 4]
mov x0, 12
str x0, [sp, 24]
.L27:
ldr x0, [sp, 24]
cmp x0, 13
beq .L2
ldr x0, [sp, 24]
cmp x0, 13
bhi ... | %struct.TYPE_3__ = type { i64, i32 }
@EINVAL = external dso_local global i32, align 4
@errno = external dso_local global i32, align 4
@SETUP = external dso_local global i64, align 8
@EBUSY = external dso_local global i32, align 4
@RS_RAINFLOW_CYCLE_REPRESENTATIONS = external dso_local global i32, align 4
define dso_loc... | /* BEGIN FUNCTION-DEF rs_rainflow_set_cycle_style LOC=UNKNOWN VKEY=4894 */
int rs_rainflow_set_cycle_style(rs_rainflow_t *obj , int style )
{
unsigned long _TIG_FN_47He_1_rs_rainflow_set_cycle_style_next ;
{
{
_TIG_FN_47He_1_rs_rainflow_set_cycle_style_next = 12UL;
}
while (1) {
switch (_TIG_FN_47He_... | 540,137,296 | train_synth_compilable | |||||
DACCheckOn | static inline uint8_t DACCheckOn(void)
{
return DACB.CTRLB;
} | Flatten | .global DACCheckOn
.type DACCheckOn, %function
DACCheckOn:
.LFB0:
.cfi_startproc
adrp x0, :got:DACB
ldr x0, [x0, #:got_lo12:DACB]
ldr w0, [x0]
ret
.cfi_endproc
| .global DACCheckOn
.type DACCheckOn, %function
DACCheckOn:
.LFB2:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str xzr, [sp, 8]
.L4:
ldr x0, [sp, 8]
cmp x0, 0
bne .L7
adrp x0, DACB
add x0, x0, :lo12:DACB
ldr w0, [x0]
b .L6
.L7:
nop
b .L4
.L6:
add sp, sp, 16
.cfi_def_cfa_offset 0
ret
.cfi_end... | %struct.TYPE_2__ = type { i32 }
@DACB = external dso_local global %struct.TYPE_2__, align 4
define dso_local i32 @DACCheckOn() {
%1 = load i32, i32* getelementptr inbounds (%struct.TYPE_2__, %struct.TYPE_2__* @DACB, i32 0, i32 0), align 4
ret i32 %1
} | /* BEGIN FUNCTION-DEF DACCheckOn LOC=UNKNOWN VKEY=4881 */
uint8_t___0 DACCheckOn(void)
{
unsigned long _TIG_FN_C64d_1_DACCheckOn_next ;
{
{
_TIG_FN_C64d_1_DACCheckOn_next = 0UL;
}
while (1) {
switch (_TIG_FN_C64d_1_DACCheckOn_next) {
case 0UL: ;
return (DACB.CTRLB);
break;
default:
... | 709,214,891 | train_synth_compilable | |||||
pgm_vertical_symmetry | void pgm_vertical_symmetry(pgm_image* pgm)
{
unsigned char** matrix = pgm_create_matrix(pgm->width, pgm->height);
for (size_t x = 0; x < pgm->width; x++)
for (size_t y = 0; y < pgm->height; y++) {
matrix[x][y] = pgm->matrix[pgm->width - x - 1][y];
}
pgm_destroy_matrix(pgm->width, pgm->matrix);
pgm-... | Flatten | .global pgm_vertical_symmetry
.type pgm_vertical_symmetry, %function
pgm_vertical_symmetry:
.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, 24]
ldr x0, [sp, 24]
ldr x2, [x0]
ldr x0, [sp, 24]
ldr x0, [x0, 8]
mov x1, x0
mo... | .global pgm_vertical_symmetry
.type pgm_vertical_symmetry, %function
pgm_vertical_symmetry:
.LFB3:
.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, 24]
mov x0, 13
str x0, [sp, 48]
.L24:
ldr x0, [sp, 48]
cmp x0, 13
beq .L8
ldr ... | %struct.TYPE_3__ = type { i64, i64, i8** }
define dso_local void @pgm_vertical_symmetry(%struct.TYPE_3__* %0) {
%2 = alloca %struct.TYPE_3__*, align 8
%3 = alloca i8**, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
store %struct.TYPE_3__* %0, %struct.TYPE_3__** %2, align 8
%6 = load %struct.TYP... | /* BEGIN FUNCTION-DEF pgm_vertical_symmetry LOC=UNKNOWN VKEY=4895 */
void pgm_vertical_symmetry(pgm_image *pgm )
{
unsigned char **matrix ;
unsigned char **tmp ;
size_t___0 x ;
size_t___0 y ;
unsigned long _TIG_FN_Ad9O_1_pgm_vertical_symmetry_next ;
{
{
_TIG_FN_Ad9O_1_pgm_vertical_symmetry_next = 13U... | 1,713,658,874 | train_synth_compilable | |||||
WindowRemoveElement | void WindowRemoveElement( struct GUIWindow * w, struct GUIBase * g )
{
int i;
for( i = 0; i < 2048; i++ )
{
if( w->elements[i] == g )
w->elements[i] = 0;
}
} | Flatten+EncodeArithmetic | .global WindowRemoveElement
.type WindowRemoveElement, %function
WindowRemoveElement:
.LFB0:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, 8]
str x1, [sp]
str wzr, [sp, 28]
b .L2
.L4:
ldr x0, [sp, 8]
ldr x1, [x0]
ldrsw x0, [sp, 28]
lsl x0, x0, 3
add x0, x1, x0
ldr x0, [x0]
ldr x1, [sp... | .global WindowRemoveElement
.type WindowRemoveElement, %function
WindowRemoveElement:
.LFB5:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, 8]
str x1, [sp]
mov x0, 3
str x0, [sp, 16]
.L21:
ldr x0, [sp, 16]
cmp x0, 7
beq .L8
ldr x0, [sp, 16]
cmp x0, 7
bhi .L22
ldr x0, [sp, 16]
cmp x0... | %struct.GUIWindow = type { %struct.GUIBase** }
%struct.GUIBase = type { i32 }
define dso_local void @WindowRemoveElement(%struct.GUIWindow* %0, %struct.GUIBase* %1) {
%3 = alloca %struct.GUIWindow*, align 8
%4 = alloca %struct.GUIBase*, align 8
%5 = alloca i32, align 4
store %struct.GUIWindow* %0, %struct.GUIW... | /* BEGIN FUNCTION-DEF WindowRemoveElement LOC=UNKNOWN VKEY=4891 */
void WindowRemoveElement(struct GUIWindow *w , struct GUIBase *g )
{
int i ;
unsigned long _TIG_FN_iSw6_1_WindowRemoveElement_next ;
{
_TIG_FN_iSw6_1_WindowRemoveElement_next = 3UL;
while (1) {
switch (_TIG_FN_iSw6_1_WindowRemoveElement... | 1,338,811,290 | train_synth_compilable | |||||
pgm_vertical_symmetry | void pgm_vertical_symmetry(pgm_image* pgm)
{
unsigned char** matrix = pgm_create_matrix(pgm->width, pgm->height);
for (size_t x = 0; x < pgm->width; x++)
for (size_t y = 0; y < pgm->height; y++) {
matrix[x][y] = pgm->matrix[pgm->width - x - 1][y];
}
pgm_destroy_matrix(pgm->width, pgm->matrix);
pgm-... | Flatten+EncodeArithmetic | .global pgm_vertical_symmetry
.type pgm_vertical_symmetry, %function
pgm_vertical_symmetry:
.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, 24]
ldr x0, [sp, 24]
ldr x2, [x0]
ldr x0, [sp, 24]
ldr x0, [x0, 8]
mov x1, x0
mo... | .global pgm_vertical_symmetry
.type pgm_vertical_symmetry, %function
pgm_vertical_symmetry:
.LFB3:
.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, 24]
mov x0, 13
str x0, [sp, 48]
.L24:
ldr x0, [sp, 48]
cmp x0, 13
beq .L8
ldr ... | %struct.TYPE_3__ = type { i64, i64, i8** }
define dso_local void @pgm_vertical_symmetry(%struct.TYPE_3__* %0) {
%2 = alloca %struct.TYPE_3__*, align 8
%3 = alloca i8**, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
store %struct.TYPE_3__* %0, %struct.TYPE_3__** %2, align 8
%6 = load %struct.TYP... | /* BEGIN FUNCTION-DEF pgm_vertical_symmetry LOC=UNKNOWN VKEY=4903 */
void pgm_vertical_symmetry(pgm_image *pgm )
{
unsigned char **matrix ;
unsigned char **tmp ;
size_t___0 x ;
size_t___0 y ;
unsigned long _TIG_FN_8oV9_1_pgm_vertical_symmetry_next ;
{
_TIG_FN_8oV9_1_pgm_vertical_symmetry_next = 13UL;
... | 1,881,625,505 | train_synth_compilable | |||||
DACCheckOn | static inline uint8_t DACCheckOn(void)
{
return DACB.CTRLB;
} | EncodeArithmetic | .global DACCheckOn
.type DACCheckOn, %function
DACCheckOn:
.LFB0:
.cfi_startproc
adrp x0, :got:DACB
ldr x0, [x0, #:got_lo12:DACB]
ldr w0, [x0]
ret
.cfi_endproc
| .global DACCheckOn
.type DACCheckOn, %function
DACCheckOn:
.LFB2:
.cfi_startproc
adrp x0, DACB
add x0, x0, :lo12:DACB
ldr w0, [x0]
ret
.cfi_endproc
.LFE2:
.size DACCheckOn, .-DACCheckOn | %struct.TYPE_2__ = type { i32 }
@DACB = external dso_local global %struct.TYPE_2__, align 4
define dso_local i32 @DACCheckOn() {
%1 = load i32, i32* getelementptr inbounds (%struct.TYPE_2__, %struct.TYPE_2__* @DACB, i32 0, i32 0), align 4
ret i32 %1
} | /* BEGIN FUNCTION-DEF DACCheckOn LOC=UNKNOWN VKEY=4881 */
uint8_t___0 DACCheckOn(void)
{
{
#line 47 "/tmp/forklift_obfu_ifj3h6sy/input.c"
return (DACB.CTRLB);
}
}
/* END FUNCTION-DEF DACCheckOn LOC=UNKNOWN VKEY=4881 */ | 1,138,409,539 | train_synth_compilable | |||||
WindowRemoveElement | void WindowRemoveElement( struct GUIWindow * w, struct GUIBase * g )
{
int i;
for( i = 0; i < 2048; i++ )
{
if( w->elements[i] == g )
w->elements[i] = 0;
}
} | Flatten | .global WindowRemoveElement
.type WindowRemoveElement, %function
WindowRemoveElement:
.LFB0:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, 8]
str x1, [sp]
str wzr, [sp, 28]
b .L2
.L4:
ldr x0, [sp, 8]
ldr x1, [x0]
ldrsw x0, [sp, 28]
lsl x0, x0, 3
add x0, x1, x0
ldr x0, [x0]
ldr x1, [sp... | .global WindowRemoveElement
.type WindowRemoveElement, %function
WindowRemoveElement:
.LFB7:
.cfi_startproc
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, 8]
str x1, [sp]
mov x0, 3
str x0, [sp, 16]
.L21:
ldr x0, [sp, 16]
cmp x0, 7
beq .L8
ldr x0, [sp, 16]
cmp x0, 7
bhi .L22
ldr x0, [sp, 16]
cmp x0... | %struct.GUIWindow = type { %struct.GUIBase** }
%struct.GUIBase = type { i32 }
define dso_local void @WindowRemoveElement(%struct.GUIWindow* %0, %struct.GUIBase* %1) {
%3 = alloca %struct.GUIWindow*, align 8
%4 = alloca %struct.GUIBase*, align 8
%5 = alloca i32, align 4
store %struct.GUIWindow* %0, %struct.GUIW... | /* BEGIN FUNCTION-DEF WindowRemoveElement LOC=UNKNOWN VKEY=4885 */
void WindowRemoveElement(struct GUIWindow *w , struct GUIBase *g )
{
int i ;
unsigned long _TIG_FN_C0jz_1_WindowRemoveElement_next ;
{
{
_TIG_FN_C0jz_1_WindowRemoveElement_next = 3UL;
}
while (1) {
switch (_TIG_FN_C0jz_1_WindowRemov... | 909,666,337 | train_synth_compilable | |||||
pgm_vertical_symmetry | void pgm_vertical_symmetry(pgm_image* pgm)
{
unsigned char** matrix = pgm_create_matrix(pgm->width, pgm->height);
for (size_t x = 0; x < pgm->width; x++)
for (size_t y = 0; y < pgm->height; y++) {
matrix[x][y] = pgm->matrix[pgm->width - x - 1][y];
}
pgm_destroy_matrix(pgm->width, pgm->matrix);
pgm-... | EncodeArithmetic | .global pgm_vertical_symmetry
.type pgm_vertical_symmetry, %function
pgm_vertical_symmetry:
.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, 24]
ldr x0, [sp, 24]
ldr x2, [x0]
ldr x0, [sp, 24]
ldr x0, [x0, 8]
mov x1, x0
mo... | .global pgm_vertical_symmetry
.type pgm_vertical_symmetry, %function
pgm_vertical_symmetry:
.LFB4:
.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, 24]
ldr x0, [sp, 24]
ldr x2, [x0]
ldr x0, [sp, 24]
ldr x0, [x0, 8]
mov x1, x0
... | %struct.TYPE_3__ = type { i64, i64, i8** }
define dso_local void @pgm_vertical_symmetry(%struct.TYPE_3__* %0) {
%2 = alloca %struct.TYPE_3__*, align 8
%3 = alloca i8**, align 8
%4 = alloca i64, align 8
%5 = alloca i64, align 8
store %struct.TYPE_3__* %0, %struct.TYPE_3__** %2, align 8
%6 = load %struct.TYP... | /* BEGIN FUNCTION-DEF pgm_vertical_symmetry LOC=UNKNOWN VKEY=4895 */
void pgm_vertical_symmetry(pgm_image *pgm )
{
unsigned char **matrix ;
unsigned char **tmp ;
size_t___0 x ;
size_t___0 y ;
{
{
#line 48 "/tmp/forklift_obfu_g3mnl780/input.c"
tmp = pgm_create_matrix(pgm->width, pgm->height);
#line 48
... | 1,603,828,849 | train_synth_compilable | |||||
blit | static inline void blit(fz_pixmap *pix, int x, int y,
unsigned char *list, int skipx, int len,
unsigned char *argb, int over)
{
unsigned char *dst;
unsigned char cov;
dst = pix->samples + ( (y - pix->y) * pix->w + (x - pix->x) ) * pix->n;
cov = 0;
while (skipx--)
{
cov += *list;
*list = 0;
++list;
}
... | Flatten | .global blit
.type blit, %function
blit:
.LFB0:
.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 w1, [sp, 52]
str w2, [sp, 48]
str x3, [sp, 40]
str w4, [sp, 36]
str w5, [sp, 32]
str x6, [sp, 24]
str w7, [sp, 20]
ldr x0... | .global blit
.type blit, %function
blit:
.LFB2:
.cfi_startproc
stp x29, x30, [sp, -96]!
.cfi_def_cfa_offset 96
.cfi_offset 29, -96
.cfi_offset 30, -88
mov x29, sp
str x0, [sp, 56]
str w1, [sp, 52]
str w2, [sp, 48]
str x3, [sp, 40]
str w4, [sp, 36]
str w5, [sp, 32]
str x6, [sp, 24]
str w7, [sp, 20]
mov ... | %struct.TYPE_3__ = type { i8*, i32, i32, i32, i32 }
define dso_local void @blit(%struct.TYPE_3__* %0, i32 %1, i32 %2, i8* %3, i32 %4, i32 %5, i8* %6, i32 %7) {
%9 = alloca %struct.TYPE_3__*, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i8*, align 8
%13 = alloca i32, align 4
%14 ... | /* BEGIN FUNCTION-DEF blit LOC=UNKNOWN VKEY=4934 */
void blit(fz_pixmap *pix , int x , int y , unsigned char *list , int skipx , int len ,
unsigned char *argb , int over )
{
unsigned char *dst ;
unsigned char cov ;
int tmp ;
unsigned long _TIG_FN_6TTB_1_blit_next ;
{
{
_TIG_FN_6TTB_1_blit_nex... | 1,939,118,223 | train_synth_compilable | |||||
blit | static inline void blit(fz_pixmap *pix, int x, int y,
unsigned char *list, int skipx, int len,
unsigned char *argb, int over)
{
unsigned char *dst;
unsigned char cov;
dst = pix->samples + ( (y - pix->y) * pix->w + (x - pix->x) ) * pix->n;
cov = 0;
while (skipx--)
{
cov += *list;
*list = 0;
++list;
}
... | EncodeArithmetic | .global blit
.type blit, %function
blit:
.LFB0:
.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 w1, [sp, 52]
str w2, [sp, 48]
str x3, [sp, 40]
str w4, [sp, 36]
str w5, [sp, 32]
str x6, [sp, 24]
str w7, [sp, 20]
ldr x0... | .global blit
.type blit, %function
blit:
.LFB4:
.cfi_startproc
stp x29, x30, [sp, -96]!
.cfi_def_cfa_offset 96
.cfi_offset 29, -96
.cfi_offset 30, -88
mov x29, sp
str x0, [sp, 56]
str w1, [sp, 52]
str w2, [sp, 48]
str x3, [sp, 40]
str w4, [sp, 36]
str w5, [sp, 32]
str x6, [sp, 24]
str w7, [sp, 20]
ldr ... | %struct.TYPE_3__ = type { i8*, i32, i32, i32, i32 }
define dso_local void @blit(%struct.TYPE_3__* %0, i32 %1, i32 %2, i8* %3, i32 %4, i32 %5, i8* %6, i32 %7) {
%9 = alloca %struct.TYPE_3__*, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i8*, align 8
%13 = alloca i32, align 4
%14 ... | /* BEGIN FUNCTION-DEF blit LOC=UNKNOWN VKEY=4934 */
void blit(fz_pixmap *pix , int x , int y , unsigned char *list , int skipx , int len ,
unsigned char *argb , int over )
{
unsigned char *dst ;
unsigned char cov ;
int tmp ;
{
{
#line 54 "/tmp/forklift_obfu_lvulev2y/input.c"
dst = pix->samples ... | 519,709,079 | train_synth_compilable | |||||
blit | static inline void blit(fz_pixmap *pix, int x, int y,
unsigned char *list, int skipx, int len,
unsigned char *argb, int over)
{
unsigned char *dst;
unsigned char cov;
dst = pix->samples + ( (y - pix->y) * pix->w + (x - pix->x) ) * pix->n;
cov = 0;
while (skipx--)
{
cov += *list;
*list = 0;
++list;
}
... | Flatten+EncodeArithmetic | .global blit
.type blit, %function
blit:
.LFB0:
.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 w1, [sp, 52]
str w2, [sp, 48]
str x3, [sp, 40]
str w4, [sp, 36]
str w5, [sp, 32]
str x6, [sp, 24]
str w7, [sp, 20]
ldr x0... | .global blit
.type blit, %function
blit:
.LFB5:
.cfi_startproc
stp x29, x30, [sp, -96]!
.cfi_def_cfa_offset 96
.cfi_offset 29, -96
.cfi_offset 30, -88
mov x29, sp
str x0, [sp, 56]
str w1, [sp, 52]
str w2, [sp, 48]
str x3, [sp, 40]
str w4, [sp, 36]
str w5, [sp, 32]
str x6, [sp, 24]
str w7, [sp, 20]
mov ... | %struct.TYPE_3__ = type { i8*, i32, i32, i32, i32 }
define dso_local void @blit(%struct.TYPE_3__* %0, i32 %1, i32 %2, i8* %3, i32 %4, i32 %5, i8* %6, i32 %7) {
%9 = alloca %struct.TYPE_3__*, align 8
%10 = alloca i32, align 4
%11 = alloca i32, align 4
%12 = alloca i8*, align 8
%13 = alloca i32, align 4
%14 ... | /* BEGIN FUNCTION-DEF blit LOC=UNKNOWN VKEY=4948 */
void blit(fz_pixmap *pix , int x , int y , unsigned char *list , int skipx , int len ,
unsigned char *argb , int over )
{
unsigned char *dst ;
unsigned char cov ;
int tmp ;
unsigned long _TIG_FN_IW0D_1_blit_next ;
{
_TIG_FN_IW0D_1_blit_next = ... | 1,064,746,525 | train_synth_compilable | |||||
CG_PoisonCloud_f | static void CG_PoisonCloud_f( void )
{
cg.poisonedTime = cg.time;
if( CG_IsParticleSystemValid( &cg.poisonCloudPS ) )
{
cg.poisonCloudPS = CG_SpawnNewParticleSystem( cgs.media.poisonCloudPS );
CG_SetAttachmentCent( &cg.poisonCloudPS->attachment, &cg.predictedPlayerEntity );
CG_AttachToCent( &cg.poiso... | EncodeArithmetic | .global CG_PoisonCloud_f
.type CG_PoisonCloud_f, %function
CG_PoisonCloud_f:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -16]!
.cfi_def_cfa_offset 16
.cfi_offset 29, -16
.cfi_offset 30, -8
mov x29, sp
adrp x0, :got:cg
ldr x0, [x0, #:got_lo12:cg]
ldr w1, [x0, 12]
adrp x0, :got:cg
ldr x0, [x0, #:got_lo12:cg]
str... | .global CG_PoisonCloud_f
.type CG_PoisonCloud_f, %function
CG_PoisonCloud_f:
.LFB3:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
adrp x0, cg
add x0, x0, :lo12:cg
ldr w1, [x0, 12]
adrp x0, cg
add x0, x0, :lo12:cg
str w1, [x0, 16]
adrp x... | %struct.TYPE_8__ = type { %struct.TYPE_9__*, i32, i32, i32 }
%struct.TYPE_9__ = type { i32 }
%struct.TYPE_7__ = type { %struct.TYPE_6__ }
%struct.TYPE_6__ = type { i32 }
@cg = external dso_local global %struct.TYPE_8__, align 8
@cgs = external dso_local global %struct.TYPE_7__, align 4
define dso_local void @CG_PoisonC... | /* BEGIN FUNCTION-DEF CG_PoisonCloud_f LOC=UNKNOWN VKEY=4898 */
static void CG_PoisonCloud_f(void)
{
scalar_t__ tmp ;
{
{
#line 57 "/tmp/forklift_obfu_9sj_rbse/input.c"
cg.poisonedTime = cg.time;
#line 59
tmp = CG_IsParticleSystemValid(& cg.poisonCloudPS);
}
#line 59
if (tmp) {
{
#line 61
cg.po... | 304,912,982 | train_synth_compilable | |||||
Nokia5110_ClearBuffer | void Nokia5110_ClearBuffer(void){int i;
for(i=0; i<84*48/8; i=i+1){
Screen[i] = 0;
}
} | EncodeArithmetic | .global Nokia5110_ClearBuffer
.type Nokia5110_ClearBuffer, %function
Nokia5110_ClearBuffer:
.LFB0:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str wzr, [sp, 12]
b .L2
.L3:
adrp x0, :got:Screen
ldr x0, [x0, #:got_lo12:Screen]
ldr x1, [x0]
ldrsw x0, [sp, 12]
lsl x0, x0, 3
add x0, x1, x0
str xzr, [x0... | .global Nokia5110_ClearBuffer
.type Nokia5110_ClearBuffer, %function
Nokia5110_ClearBuffer:
.LFB3:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str wzr, [sp, 12]
b .L2
.L3:
adrp x0, Screen
add x0, x0, :lo12:Screen
ldr x1, [x0]
ldrsw x0, [sp, 12]
lsl x0, x0, 3
add x0, x1, x0
str xzr, [x0]
ldr w0,... | @Screen = external dso_local global i64*, align 8
define dso_local void @Nokia5110_ClearBuffer() {
%1 = alloca i32, align 4
store i32 0, i32* %1, align 4
br label %2
2: ; preds = %10, %0
%3 = load i32, i32* %1, align 4
%4 = icmp slt i32 %3, 504
br i1 %4, label... | /* BEGIN FUNCTION-DEF Nokia5110_ClearBuffer LOC=UNKNOWN VKEY=4882 */
void Nokia5110_ClearBuffer(void)
{
int i ;
{
#line 43 "/tmp/forklift_obfu_mtwc94zs/input.c"
i = 0;
#line 43
while (((unsigned int )((i & ~ 504) | (~ (i ^ 504) & (i - 504))) >> 31U) & 1) {
{
#line 44
*(Screen + i) = (scalar_t__ )0;
#... | 289,482,182 | train_synth_compilable | |||||
CG_PoisonCloud_f | static void CG_PoisonCloud_f( void )
{
cg.poisonedTime = cg.time;
if( CG_IsParticleSystemValid( &cg.poisonCloudPS ) )
{
cg.poisonCloudPS = CG_SpawnNewParticleSystem( cgs.media.poisonCloudPS );
CG_SetAttachmentCent( &cg.poisonCloudPS->attachment, &cg.predictedPlayerEntity );
CG_AttachToCent( &cg.poiso... | Flatten+EncodeArithmetic | .global CG_PoisonCloud_f
.type CG_PoisonCloud_f, %function
CG_PoisonCloud_f:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -16]!
.cfi_def_cfa_offset 16
.cfi_offset 29, -16
.cfi_offset 30, -8
mov x29, sp
adrp x0, :got:cg
ldr x0, [x0, #:got_lo12:cg]
ldr w1, [x0, 12]
adrp x0, :got:cg
ldr x0, [x0, #:got_lo12:cg]
str... | .global CG_PoisonCloud_f
.type CG_PoisonCloud_f, %function
CG_PoisonCloud_f:
.LFB4:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
mov x0, 3
str x0, [sp, 16]
.L11:
ldr x0, [sp, 16]
cmp x0, 5
beq .L2
ldr x0, [sp, 16]
cmp x0, 5
bhi .L13
... | %struct.TYPE_8__ = type { %struct.TYPE_9__*, i32, i32, i32 }
%struct.TYPE_9__ = type { i32 }
%struct.TYPE_7__ = type { %struct.TYPE_6__ }
%struct.TYPE_6__ = type { i32 }
@cg = external dso_local global %struct.TYPE_8__, align 8
@cgs = external dso_local global %struct.TYPE_7__, align 4
define dso_local void @CG_PoisonC... | /* BEGIN FUNCTION-DEF CG_PoisonCloud_f LOC=UNKNOWN VKEY=4902 */
static void CG_PoisonCloud_f(void)
{
scalar_t__ tmp ;
unsigned long _TIG_FN_ebcd_1_CG_PoisonCloud_f_next ;
{
_TIG_FN_ebcd_1_CG_PoisonCloud_f_next = 3UL;
while (1) {
switch (_TIG_FN_ebcd_1_CG_PoisonCloud_f_next) {
case 1UL: ;
return... | 252,860,896 | train_synth_compilable | |||||
Nokia5110_ClearBuffer | void Nokia5110_ClearBuffer(void){int i;
for(i=0; i<84*48/8; i=i+1){
Screen[i] = 0;
}
} | Flatten+EncodeArithmetic | .global Nokia5110_ClearBuffer
.type Nokia5110_ClearBuffer, %function
Nokia5110_ClearBuffer:
.LFB0:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str wzr, [sp, 12]
b .L2
.L3:
adrp x0, :got:Screen
ldr x0, [x0, #:got_lo12:Screen]
ldr x1, [x0]
ldrsw x0, [sp, 12]
lsl x0, x0, 3
add x0, x1, x0
str xzr, [x0... | .global Nokia5110_ClearBuffer
.type Nokia5110_ClearBuffer, %function
Nokia5110_ClearBuffer:
.LFB0:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
mov x0, 1
str x0, [sp]
.L10:
ldr x0, [sp]
cmp x0, 6
beq .L11
ldr x0, [sp]
cmp x0, 6
bhi .L12
ldr x0, [sp]
cmp x0, 5
beq .L4
ldr x0, [sp]
cmp x0, 5
b... | @Screen = external dso_local global i64*, align 8
define dso_local void @Nokia5110_ClearBuffer() {
%1 = alloca i32, align 4
store i32 0, i32* %1, align 4
br label %2
2: ; preds = %10, %0
%3 = load i32, i32* %1, align 4
%4 = icmp slt i32 %3, 504
br i1 %4, label... | /* BEGIN FUNCTION-DEF Nokia5110_ClearBuffer LOC=UNKNOWN VKEY=4886 */
void Nokia5110_ClearBuffer(void)
{
int i ;
unsigned long _TIG_FN_Symf_1_Nokia5110_ClearBuffer_next ;
{
_TIG_FN_Symf_1_Nokia5110_ClearBuffer_next = 1UL;
while (1) {
switch (_TIG_FN_Symf_1_Nokia5110_ClearBuffer_next) {
case 1UL:
#l... | 134,917,627 | train_synth_compilable | |||||
CG_PoisonCloud_f | static void CG_PoisonCloud_f( void )
{
cg.poisonedTime = cg.time;
if( CG_IsParticleSystemValid( &cg.poisonCloudPS ) )
{
cg.poisonCloudPS = CG_SpawnNewParticleSystem( cgs.media.poisonCloudPS );
CG_SetAttachmentCent( &cg.poisonCloudPS->attachment, &cg.predictedPlayerEntity );
CG_AttachToCent( &cg.poiso... | Flatten | .global CG_PoisonCloud_f
.type CG_PoisonCloud_f, %function
CG_PoisonCloud_f:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -16]!
.cfi_def_cfa_offset 16
.cfi_offset 29, -16
.cfi_offset 30, -8
mov x29, sp
adrp x0, :got:cg
ldr x0, [x0, #:got_lo12:cg]
ldr w1, [x0, 12]
adrp x0, :got:cg
ldr x0, [x0, #:got_lo12:cg]
str... | .global CG_PoisonCloud_f
.type CG_PoisonCloud_f, %function
CG_PoisonCloud_f:
.LFB1:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
mov x0, 3
str x0, [sp, 16]
.L11:
ldr x0, [sp, 16]
cmp x0, 5
beq .L2
ldr x0, [sp, 16]
cmp x0, 5
bhi .L13
... | %struct.TYPE_8__ = type { %struct.TYPE_9__*, i32, i32, i32 }
%struct.TYPE_9__ = type { i32 }
%struct.TYPE_7__ = type { %struct.TYPE_6__ }
%struct.TYPE_6__ = type { i32 }
@cg = external dso_local global %struct.TYPE_8__, align 8
@cgs = external dso_local global %struct.TYPE_7__, align 4
define dso_local void @CG_PoisonC... | /* BEGIN FUNCTION-DEF CG_PoisonCloud_f LOC=UNKNOWN VKEY=4898 */
static void CG_PoisonCloud_f(void)
{
scalar_t__ tmp ;
unsigned long _TIG_FN_RhmL_1_CG_PoisonCloud_f_next ;
{
{
_TIG_FN_RhmL_1_CG_PoisonCloud_f_next = 3UL;
}
while (1) {
switch (_TIG_FN_RhmL_1_CG_PoisonCloud_f_next) {
case 1UL: ;
... | 30,884,438 | train_synth_compilable | |||||
Nokia5110_ClearBuffer | void Nokia5110_ClearBuffer(void){int i;
for(i=0; i<84*48/8; i=i+1){
Screen[i] = 0;
}
} | Flatten | .global Nokia5110_ClearBuffer
.type Nokia5110_ClearBuffer, %function
Nokia5110_ClearBuffer:
.LFB0:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
str wzr, [sp, 12]
b .L2
.L3:
adrp x0, :got:Screen
ldr x0, [x0, #:got_lo12:Screen]
ldr x1, [x0]
ldrsw x0, [sp, 12]
lsl x0, x0, 3
add x0, x1, x0
str xzr, [x0... | .global Nokia5110_ClearBuffer
.type Nokia5110_ClearBuffer, %function
Nokia5110_ClearBuffer:
.LFB2:
.cfi_startproc
sub sp, sp, #16
.cfi_def_cfa_offset 16
mov x0, 1
str x0, [sp]
.L10:
ldr x0, [sp]
cmp x0, 6
beq .L11
ldr x0, [sp]
cmp x0, 6
bhi .L12
ldr x0, [sp]
cmp x0, 5
beq .L4
ldr x0, [sp]
cmp x0, 5
b... | @Screen = external dso_local global i64*, align 8
define dso_local void @Nokia5110_ClearBuffer() {
%1 = alloca i32, align 4
store i32 0, i32* %1, align 4
br label %2
2: ; preds = %10, %0
%3 = load i32, i32* %1, align 4
%4 = icmp slt i32 %3, 504
br i1 %4, label... | /* BEGIN FUNCTION-DEF Nokia5110_ClearBuffer LOC=UNKNOWN VKEY=4882 */
void Nokia5110_ClearBuffer(void)
{
int i ;
unsigned long _TIG_FN_PWBS_1_Nokia5110_ClearBuffer_next ;
{
{
_TIG_FN_PWBS_1_Nokia5110_ClearBuffer_next = 1UL;
}
while (1) {
switch (_TIG_FN_PWBS_1_Nokia5110_ClearBuffer_next) {
case ... | 983,297,492 | train_synth_compilable | |||||
ixp23xx_pci_read_config | __attribute__((used)) static int ixp23xx_pci_read_config(struct pci_bus *bus, unsigned int devfn,
int where, int size, u32 *value)
{
u32 n;
u32 *addr;
n = where % 4;
DBG("In config_read(%d) %d from dev %d:%d:%d\n", size, where,
bus->number, PCI_SLOT(devfn), PCI_FUNC(devfn));
addr = ixp23xx_pci_config_addr... | EncodeArithmetic | .global ixp23xx_pci_read_config
.type ixp23xx_pci_read_config, %function
ixp23xx_pci_read_config:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -80]!
.cfi_def_cfa_offset 80
.cfi_offset 29, -80
.cfi_offset 30, -72
mov x29, sp
stp x19, x20, [sp, 16]
.cfi_offset 19, -64
.cfi_offset 20, -56
str x0, [sp, 56]
str w1, [... | .global ixp23xx_pci_read_config
.type ixp23xx_pci_read_config, %function
ixp23xx_pci_read_config:
.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, 40]
str w1, [sp, 36]
str w2, [sp, 32]
str w3, [sp, 28]
str x4, [sp, 16]
l... | %struct.pci_bus = type { i32 }
@.str = external hidden unnamed_addr constant [41 x i8], align 1
@PCIBIOS_DEVICE_NOT_FOUND = external dso_local global i32, align 4
@pci_master_aborts = external dso_local global i64, align 8
@bytemask = external dso_local global i32*, align 8
@PCIBIOS_SUCCESSFUL = external dso_local glob... | /* BEGIN FUNCTION-DEF ixp23xx_pci_read_config LOC=UNKNOWN VKEY=4932 */
static int ixp23xx_pci_read_config(struct pci_bus *bus , unsigned int devfn , int where ,
int size , u32 *value )
{
u32 n ;
u32 *addr ;
int tmp ;
int tmp___0 ;
{
{
#line 57 "/tmp/forklift_obfu_os1ilx... | 2,030,106,617 | train_synth_compilable | {"input": [{"var": ["bus", "devfn", "where", "size", "value", "PCIBIOS_DEVICE_NOT_FOUND", "PCIBIOS_SUCCESSFUL", "bytemask", "pci_master_aborts"], "value": ["{\"number\": 24}", "585", "125", "5", "[94, 79, 87, 10, 116, 104, 95, 6, 117, 0, 93, 50, 45, 65, 123, 38, 12, 107, 45, 117, 69, 84, 72, 12, 87, 38, 81, 105, 39, 11... | ||||
ixp23xx_pci_read_config | __attribute__((used)) static int ixp23xx_pci_read_config(struct pci_bus *bus, unsigned int devfn,
int where, int size, u32 *value)
{
u32 n;
u32 *addr;
n = where % 4;
DBG("In config_read(%d) %d from dev %d:%d:%d\n", size, where,
bus->number, PCI_SLOT(devfn), PCI_FUNC(devfn));
addr = ixp23xx_pci_config_addr... | Flatten | .global ixp23xx_pci_read_config
.type ixp23xx_pci_read_config, %function
ixp23xx_pci_read_config:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -80]!
.cfi_def_cfa_offset 80
.cfi_offset 29, -80
.cfi_offset 30, -72
mov x29, sp
stp x19, x20, [sp, 16]
.cfi_offset 19, -64
.cfi_offset 20, -56
str x0, [sp, 56]
str w1, [... | .global ixp23xx_pci_read_config
.type ixp23xx_pci_read_config, %function
ixp23xx_pci_read_config:
.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, 40]
str w1, [sp, 36]
str w2, [sp, 32]
str w3, [sp, 28]
str x4, [sp, 16]
m... | %struct.pci_bus = type { i32 }
@.str = external hidden unnamed_addr constant [41 x i8], align 1
@PCIBIOS_DEVICE_NOT_FOUND = external dso_local global i32, align 4
@pci_master_aborts = external dso_local global i64, align 8
@bytemask = external dso_local global i32*, align 8
@PCIBIOS_SUCCESSFUL = external dso_local glob... | /* BEGIN FUNCTION-DEF ixp23xx_pci_read_config LOC=UNKNOWN VKEY=4932 */
static int ixp23xx_pci_read_config(struct pci_bus *bus , unsigned int devfn , int where ,
int size , u32 *value )
{
u32 n ;
u32 *addr ;
int tmp ;
int tmp___0 ;
unsigned long _TIG_FN_WLmR_1_ixp23xx_pci_r... | 568,275,055 | train_synth_compilable | {"input": [{"var": ["bus", "devfn", "where", "size", "value", "PCIBIOS_DEVICE_NOT_FOUND", "PCIBIOS_SUCCESSFUL", "bytemask", "pci_master_aborts"], "value": ["{\"number\": 24}", "585", "125", "5", "[94, 79, 87, 10, 116, 104, 95, 6, 117, 0, 93, 50, 45, 65, 123, 38, 12, 107, 45, 117, 69, 84, 72, 12, 87, 38, 81, 105, 39, 11... | ||||
cleanup_pop | struct cleanup_item *
cleanup_pop(void)
{
return cleanup_pop_r(&static_stack);
} | EncodeArithmetic | .global cleanup_pop
.type cleanup_pop, %function
cleanup_pop:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -16]!
.cfi_def_cfa_offset 16
.cfi_offset 29, -16
.cfi_offset 30, -8
mov x29, sp
adrp x0, :got:static_stack
ldr x0, [x0, #:got_lo12:static_stack]
bl cleanup_pop_r
ldp x29, x30, [sp], 16
.cfi_restore 30
.cfi... | .global cleanup_pop
.type cleanup_pop, %function
cleanup_pop:
.LFB2:
.cfi_startproc
stp x29, x30, [sp, -32]!
.cfi_def_cfa_offset 32
.cfi_offset 29, -32
.cfi_offset 30, -24
mov x29, sp
adrp x0, static_stack
add x0, x0, :lo12:static_stack
bl cleanup_pop_r
str x0, [sp, 24]
ldr x0, [sp, 24]
ldp x29, x30, [sp]... | %struct.cleanup_item = type { i32 }
@static_stack = external dso_local global i32, align 4
define dso_local %struct.cleanup_item* @cleanup_pop() {
%1 = call %struct.cleanup_item* @cleanup_pop_r(i32* @static_stack)
ret %struct.cleanup_item* %1
}
declare dso_local %struct.cleanup_item* @cleanup_pop_r(i32*) | /* BEGIN FUNCTION-DEF cleanup_pop LOC=UNKNOWN VKEY=4885 */
struct cleanup_item *cleanup_pop(void)
{
struct cleanup_item *tmp ;
{
#line 47 "/tmp/forklift_obfu_zjnv3r5p/input.c"
tmp = cleanup_pop_r(& static_stack);
#line 47
return (tmp);
}
}
/* END FUNCTION-DEF cleanup_pop LOC=UNKNOWN VKEY=4885 */ | 416,314,667 | train_synth_compilable | {"input": [{"var": ["static_stack"], "value": ["94"]}, {"var": ["static_stack"], "value": ["50"]}, {"var": ["static_stack"], "value": ["14"]}, {"var": ["static_stack"], "value": ["40"]}, {"var": ["static_stack"], "value": ["91"]}, {"var": ["static_stack"], "value": ["7"]}, {"var": ["static_stack"], "value": ["117"]}, {... | ||||
ixp23xx_pci_read_config | __attribute__((used)) static int ixp23xx_pci_read_config(struct pci_bus *bus, unsigned int devfn,
int where, int size, u32 *value)
{
u32 n;
u32 *addr;
n = where % 4;
DBG("In config_read(%d) %d from dev %d:%d:%d\n", size, where,
bus->number, PCI_SLOT(devfn), PCI_FUNC(devfn));
addr = ixp23xx_pci_config_addr... | Flatten+EncodeArithmetic | .global ixp23xx_pci_read_config
.type ixp23xx_pci_read_config, %function
ixp23xx_pci_read_config:
.LFB0:
.cfi_startproc
stp x29, x30, [sp, -80]!
.cfi_def_cfa_offset 80
.cfi_offset 29, -80
.cfi_offset 30, -72
mov x29, sp
stp x19, x20, [sp, 16]
.cfi_offset 19, -64
.cfi_offset 20, -56
str x0, [sp, 56]
str w1, [... | .global ixp23xx_pci_read_config
.type ixp23xx_pci_read_config, %function
ixp23xx_pci_read_config:
.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, 40]
str w1, [sp, 36]
str w2, [sp, 32]
str w3, [sp, 28]
str x4, [sp, 16]
m... | %struct.pci_bus = type { i32 }
@.str = external hidden unnamed_addr constant [41 x i8], align 1
@PCIBIOS_DEVICE_NOT_FOUND = external dso_local global i32, align 4
@pci_master_aborts = external dso_local global i64, align 8
@bytemask = external dso_local global i32*, align 8
@PCIBIOS_SUCCESSFUL = external dso_local glob... | /* BEGIN FUNCTION-DEF ixp23xx_pci_read_config LOC=UNKNOWN VKEY=4944 */
static int ixp23xx_pci_read_config(struct pci_bus *bus , unsigned int devfn , int where ,
int size , u32 *value )
{
u32 n ;
u32 *addr ;
int tmp ;
int tmp___0 ;
unsigned long _TIG_FN_pHxe_1_ixp23xx_pci_r... | 1,043,665,192 | train_synth_compilable | {"input": [{"var": ["bus", "devfn", "where", "size", "value", "PCIBIOS_DEVICE_NOT_FOUND", "PCIBIOS_SUCCESSFUL", "bytemask", "pci_master_aborts"], "value": ["{\"number\": 24}", "585", "125", "5", "[94, 79, 87, 10, 116, 104, 95, 6, 117, 0, 93, 50, 45, 65, 123, 38, 12, 107, 45, 117, 69, 84, 72, 12, 87, 38, 81, 105, 39, 11... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.