dataset stringclasses 3 values | file stringlengths 7 83 | fun_name stringlengths 2 83 | llvm_ir_function stringlengths 61 121k | label stringclasses 2 values |
|---|---|---|---|---|
BinRealVul | http_header_add_tail_9956 | http_header_add_tail | define i64 @FUNC(i64* %arg1, i32* %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%storemerge.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg1 to i64
%3 = inttoptr i64 %arg3 to i8*
%4 = call i32 @strlen(i8* %3)
%5 = add i64 %2, 8
%6 = inttoptr i64 %5 to i32*
%7 = load i32, i32* %6, align 4
%8 = sext i32 %7 to i64
%9 = add i64 %8, %arg3
%10 = call i64 @FUNC(i64 %arg3, i64 %9, i64 %arg3, i32 %4)
%11 = trunc i64 %10 to i32
%12 = icmp eq i32 %11, 0
%13 = icmp eq i1 %12, false
store i64 4294967295, i64* %storemerge.reg2mem
br i1 %13, label LBL_1, label LBL_2
LBL_1:
%14 = trunc i64 %1 to i32
%15 = and i64 %10, 4294967295
%16 = call i64 @FUNC(i64 %2, i64 %15)
%17 = ptrtoint i32* %arg2 to i64
%18 = zext i32 %4 to i64
%19 = call i64 @FUNC(i64 %18, i64 1, i64 %17, i32 %14)
store i64 %19, i64* %storemerge.reg2mem
br label LBL_2
LBL_2:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i64 %arg3, { 2, 1, 0, 3 }
uselistorder label LBL_2, { 1, 0 }
} | 0 |
BinRealVul | ProcXFixesSetCursorName_11457 | ProcXFixesSetCursorName | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%1 = call i64* @malloc(i32 4)
%2 = add i64 %0, 4
%3 = inttoptr i64 %2 to i32*
%4 = load i32, i32* %3, align 4
%5 = icmp slt i32 %4, 1
%6 = icmp eq i1 %5, false
store i64 4294967294, i64* %storemerge.reg2mem
br i1 %6, label LBL_1, label LBL_2
LBL_1:
%7 = bitcast i64* %1 to i32*
store i32 1, i32* %7, align 4
store i64 0, i64* %storemerge.reg2mem
br label LBL_2
LBL_2:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder label LBL_2, { 1, 0 }
} | 1 |
BinRealVul | xfrm_dump_policy_done_12451 | xfrm_dump_policy_done | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
%1 = add i64 %0, 1
%2 = call i64 @FUNC(i64 %1)
ret i64 0
} | 1 |
BinRealVul | icmp6_dst_alloc_3782 | icmp6_dst_alloc | define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i64
%rdx = alloca i64, align 8
%0 = call i64 @FUNC(i64 %arg1)
%1 = call i64 @FUNC(i64 %arg1)
%2 = icmp eq i64 %0, 0
%3 = icmp eq i1 %2, false
br i1 %3, label LBL_2, label LBL_1
LBL_1:
%4 = call i64 @FUNC(i64 4294967277)
store i64 %4, i64* %rax.0.reg2mem
br label LBL_9
LBL_2:
%5 = call i64 @FUNC(i64 %1, i64 %arg1, i64 0)
%6 = icmp eq i64 %5, 0
%7 = icmp eq i1 %6, false
br i1 %7, label LBL_4, label LBL_3
LBL_3:
%8 = call i64 @FUNC(i64 %0)
%9 = call i64 @FUNC(i64 4294967284)
store i64 %9, i64* %rax.0.reg2mem
br label LBL_9
LBL_4:
%10 = icmp eq i64 %arg2, 0
br i1 %10, label LBL_6, label LBL_5
LBL_5:
%11 = call i64 @FUNC(i64 %arg2)
store i64 %arg2, i64* %sv_0.0.reg2mem
br label LBL_8
LBL_6:
%12 = call i64 @FUNC(i64 %5, i64 %arg3)
%13 = call i64 @FUNC(i64 %12)
%14 = trunc i64 %13 to i32
%15 = icmp eq i32 %14, 0
store i64 %12, i64* %sv_0.0.reg2mem
br i1 %15, label LBL_8, label LBL_7
LBL_7:
%16 = call i64 @FUNC(i64 %0)
%17 = call i64 @FUNC(i64 %5)
%18 = call i64 @FUNC(i64 %12)
store i64 %18, i64* %rax.0.reg2mem
br label LBL_9
LBL_8:
%19 = inttoptr i64 %5 to i32*
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%20 = load i32, i32* %19, align 4
%21 = or i32 %20, 1
store i32 %21, i32* %19, align 4
%22 = load i64, i64* @gv_0, align 8
%23 = add i64 %5, 16
%24 = inttoptr i64 %23 to i64*
store i64 %22, i64* %24, align 8
%25 = call i64 @FUNC(i64 %5, i64 %sv_0.0.reload)
%26 = add i64 %5, 24
%27 = call i64 @FUNC(i64 %26, i64 1)
%28 = bitcast i64* %rdx to i32*
%29 = load i32, i32* %28, align 8
%30 = add i64 %5, 32
%31 = inttoptr i64 %30 to i32*
store i32 %29, i32* %31, align 4
%32 = add i64 %5, 36
%33 = inttoptr i64 %32 to i32*
store i32 128, i32* %33, align 4
%34 = add i64 %5, 40
%35 = inttoptr i64 %34 to i64*
store i64 %0, i64* %35, align 8
%36 = call i64 @FUNC(i64 %5, i64 0, i64 255)
%37 = call i64 @FUNC(i64* nonnull @gv_1)
%38 = load i64, i64* @gv_2, align 8
%39 = add i64 %5, 8
%40 = inttoptr i64 %39 to i64*
store i64 %38, i64* %40, align 8
store i64 %5, i64* @gv_2, align 8
%41 = call i64 @FUNC(i64* nonnull @gv_1)
%42 = call i64 @FUNC(i64 %1)
%43 = call i64 @FUNC(i64 %arg3)
%sext = mul i64 %43, 4294967296
%44 = ashr exact i64 %sext, 32
%45 = call i64 @FUNC(i64 %1, i64 %5, i64 %44, i64 0, i64 0)
store i64 %45, i64* %rax.0.reg2mem
br label LBL_9
LBL_9:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i32* %19, { 1, 0 }
uselistorder i64 %12, { 1, 0, 2 }
uselistorder i64 %5, { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 0, 11, 13 }
uselistorder i64 %0, { 2, 1, 0, 3 }
uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 2, 4, 1, 3 }
uselistorder i64 (i64)* @in6_dev_put, { 1, 0 }
uselistorder i64 (i64)* @ERR_PTR, { 1, 0 }
uselistorder i32 1, { 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }
uselistorder i64 %arg2, { 0, 2, 1 }
uselistorder label LBL_9, { 1, 2, 0, 3 }
} | 0 |
BinRealVul | Jsi_MapKeysDump_9165 | Jsi_MapKeysDump | define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3, i32 %arg4) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = trunc i64 %1 to i32
%3 = icmp sgt i32 %2, 2
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %3, label LBL_4, label LBL_1
LBL_1:
store i64 4294967295, i64* %rax.0.reg2mem
switch i32 %2, label LBL_4 [
i32 1, label LBL_2
i32 2, label LBL_3
]
LBL_2:
%4 = add i64 %arg2, 8
%5 = inttoptr i64 %4 to i64*
%6 = load i64, i64* %5, align 8
%7 = call i64 @FUNC(i64 %arg1, i64 %6, i64 %arg3, i32 %arg4)
store i64 %7, i64* %rax.0.reg2mem
br label LBL_4
LBL_3:
%8 = add i64 %arg2, 8
%9 = inttoptr i64 %8 to i64*
%10 = load i64, i64* %9, align 8
%11 = call i64 @FUNC(i64 %arg1, i64 %10, i64 %arg3, i32 %arg4)
store i64 %11, i64* %rax.0.reg2mem
br label LBL_4
LBL_4:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64* %rax.0.reg2mem, { 0, 3, 4, 2, 1 }
uselistorder i32 2, { 1, 0 }
uselistorder label LBL_4, { 2, 3, 1, 0 }
} | 0 |
BinRealVul | ims_pcu_switch_to_bootloader_9075 | ims_pcu_switch_to_bootloader | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%storemerge.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = ptrtoint i64* %arg1 to i64
%4 = call i64 @FUNC(i64 %3, i64 1, i64 0, i64 0)
%5 = trunc i64 %4 to i32
%6 = icmp eq i32 %5, 0
store i64 0, i64* %storemerge.reg2mem
br i1 %6, label LBL_2, label LBL_1
LBL_1:
%7 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([61 x i8], [61 x i8]* @gv_0, i64 0, i64 0), i32 %5, i64 0, i64 %2, i64 %1)
%8 = and i64 %4, 4294967295
store i64 %8, i64* %storemerge.reg2mem
br label LBL_2
LBL_2:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i64* %0, { 1, 0 }
uselistorder label LBL_2, { 1, 0 }
} | 0 |
BinRealVul | sas_eh_finish_cmd_19310 | sas_eh_finish_cmd | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
%1 = call i64 @FUNC(i64 %0)
%2 = call i64 @FUNC(i64 %0)
%3 = call i64 @FUNC(i64 %0, i64 %2)
%4 = call i64 @FUNC(i64 %0, i64 %1)
ret i64 %4
} | 1 |
BinRealVul | migrate_xbzrle_cache_size_2001 | migrate_xbzrle_cache_size | define i64 @FUNC() local_unnamed_addr {
LBL_0:
%0 = call i64 @FUNC()
%1 = inttoptr i64 %0 to i64*
%2 = load i64, i64* %1, align 8
ret i64 %2
} | 0 |
BinRealVul | ff_nut_free_sp_15385 | ff_nut_free_sp | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
%1 = call i64 @FUNC(i64 %0, i64 0, i64 0, i64 4198696)
%2 = call i64 @FUNC(i64 %0)
ret i64 %2
} | 1 |
BinRealVul | ofpact_bitmap_to_openflow_8483 | ofpact_bitmap_to_openflow | define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%sv_0.1.lcssa.reg2mem = alloca i32
%sv_0.0.reg2mem = alloca i32
%sv_0.14.reg2mem = alloca i32
%storemerge3.in5.reg2mem = alloca i64
%.reg2mem = alloca i32
%0 = and i64 %arg2, 4294967295
%1 = call i64 @FUNC(i64 %0)
%2 = add i64 %1, 4
%3 = inttoptr i64 %2 to i32*
%4 = load i32, i32* %3, align 4
%5 = icmp slt i32 %4, 0
%6 = icmp eq i1 %5, false
store i32 %4, i32* %.reg2mem
store i64 %1, i64* %storemerge3.in5.reg2mem
store i32 0, i32* %sv_0.14.reg2mem
store i32 0, i32* %sv_0.1.lcssa.reg2mem
br i1 %6, label LBL_1, label LBL_4
LBL_1:
%sv_0.14.reload = load i32, i32* %sv_0.14.reg2mem
%storemerge3.in5.reload = load i64, i64* %storemerge3.in5.reg2mem
%storemerge3 = inttoptr i64 %storemerge3.in5.reload to i32*
%7 = load i32, i32* %storemerge3, align 4
%8 = urem i32 %7, 64
%9 = zext i32 %8 to i64
%10 = shl i64 1, %9
%11 = and i64 %10, %arg1
%12 = icmp eq i64 %11, 0
store i32 %sv_0.14.reload, i32* %sv_0.0.reg2mem
br i1 %12, label LBL_3, label LBL_2
LBL_2:
%.reload = load i32, i32* %.reg2mem
%13 = urem i32 %.reload, 32
%14 = shl i32 1, %13
%15 = or i32 %14, %sv_0.14.reload
store i32 %15, i32* %sv_0.0.reg2mem
br label LBL_3
LBL_3:
%sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem
%16 = add i64 %storemerge3.in5.reload, 8
%17 = add i64 %storemerge3.in5.reload, 12
%18 = inttoptr i64 %17 to i32*
%19 = load i32, i32* %18, align 4
%20 = icmp slt i32 %19, 0
%21 = icmp eq i1 %20, false
store i32 %19, i32* %.reg2mem
store i64 %16, i64* %storemerge3.in5.reg2mem
store i32 %sv_0.0.reload, i32* %sv_0.14.reg2mem
store i32 %sv_0.0.reload, i32* %sv_0.1.lcssa.reg2mem
br i1 %21, label LBL_1, label LBL_4
LBL_4:
%sv_0.1.lcssa.reload = load i32, i32* %sv_0.1.lcssa.reg2mem
%22 = call i32 @htonl(i32 %sv_0.1.lcssa.reload)
%23 = sext i32 %22 to i64
ret i64 %23
uselistorder i64 %storemerge3.in5.reload, { 2, 0, 1 }
uselistorder i32 %sv_0.14.reload, { 1, 0 }
uselistorder i32* %.reg2mem, { 2, 0, 1 }
uselistorder i64* %storemerge3.in5.reg2mem, { 2, 0, 1 }
uselistorder i32* %sv_0.14.reg2mem, { 2, 0, 1 }
uselistorder i1 false, { 1, 0 }
uselistorder i32 0, { 3, 0, 1, 2 }
uselistorder i32 1, { 5, 4, 3, 2, 1, 0 }
uselistorder label LBL_1, { 1, 0 }
} | 0 |
BinRealVul | gdb_vm_stopped_1663 | gdb_vm_stopped | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i32
%1 = load i64, i64* %0
%sv_1 = alloca i64, align 8
%2 = trunc i64 %1 to i32
%3 = icmp eq i32 %2, 1
store i64 1, i64* %rax.0.reg2mem
br i1 %3, label LBL_7, label LBL_1
LBL_1:
%4 = ptrtoint i64* %arg1 to i64
%5 = add i64 %4, 8
%6 = inttoptr i64 %5 to i64*
%7 = load i64, i64* %6, align 8
%8 = call i64 @FUNC(i64 %7, i64 0)
%9 = trunc i64 %arg2 to i32
%10 = icmp eq i32 %9, 2
%11 = icmp eq i1 %10, false
br i1 %11, label LBL_5, label LBL_2
LBL_2:
%12 = load i64, i64* %6, align 8
%13 = inttoptr i64 %12 to i32*
%14 = load i32, i32* %13, align 4
%15 = icmp eq i32 %14, 0
br i1 %15, label LBL_4, label LBL_3
LBL_3:
%16 = add i32 %14, -1
%17 = sext i32 %16 to i64
%18 = mul i64 %17, 4
%19 = add i64 %12, 4
%20 = add i64 %19, %18
%21 = inttoptr i64 %20 to i32*
%22 = load i32, i32* %21, align 4
%23 = bitcast i64* %sv_1 to i8*
%24 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %23, i32 256, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_0, i64 0, i64 0), i32 5, i32 %22)
%25 = call i64 @FUNC(i64 %4, i64* nonnull %sv_1)
%26 = load i64, i64* %6, align 8
%27 = inttoptr i64 %26 to i32*
store i32 0, i32* %27, align 4
store i64 %26, i64* %rax.0.reg2mem
br label LBL_7
LBL_4:
%28 = call i64 @FUNC(i64 %12)
store i32 5, i32* %sv_0.0.reg2mem
br label LBL_6
LBL_5:
%29 = icmp eq i32 %9, 3
%30 = icmp eq i1 %29, false
%. = select i1 %30, i32 0, i32 2
store i32 %., i32* %sv_0.0.reg2mem
br label LBL_6
LBL_6:
%sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem
%31 = bitcast i64* %sv_1 to i8*
%32 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* nonnull %31, i32 256, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_1, i64 0, i64 0), i32 %sv_0.0.reload)
%33 = call i64 @FUNC(i64 %4, i64* nonnull %sv_1)
store i64 %33, i64* %rax.0.reg2mem
br label LBL_7
LBL_7:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %4, { 1, 0, 2 }
uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 }
uselistorder i64 (i64, i64*)* @put_packet, { 1, 0 }
uselistorder i32 (i8*, i32, i8*, ...)* @snprintf, { 1, 0 }
uselistorder label LBL_7, { 1, 2, 0 }
} | 0 |
BinRealVul | fdc_configure_9591 | fdc_configure | define i64 @FUNC() local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%0 = call i64 @FUNC(i64 1)
%1 = call i64 @FUNC()
%2 = trunc i64 %1 to i32
%3 = icmp eq i32 %2, 1
store i64 0, i64* %storemerge.reg2mem
br i1 %3, label LBL_1, label LBL_2
LBL_1:
%4 = call i64 @FUNC(i64 0)
%5 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8
%6 = and i32 %5, 32
%7 = load i32, i32* inttoptr (i64 4210732 to i32*), align 4
%8 = urem i32 %7, 16
%9 = or i32 %6, %8
%10 = or i32 %9, 16
%11 = zext i32 %10 to i64
%12 = call i64 @FUNC(i64 %11)
%13 = call i64 @FUNC(i64 0)
store i64 1, i64* %storemerge.reg2mem
br label LBL_2
LBL_2:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i32 16, { 1, 0 }
uselistorder i64 (i64)* @output_byte, { 3, 2, 1, 0 }
uselistorder i64 1, { 0, 2, 1 }
uselistorder i32 1, { 2, 1, 0 }
uselistorder label LBL_2, { 1, 0 }
} | 0 |
BinRealVul | b43_op_stop_4727 | b43_op_stop | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%sv_0.0.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%1 = call i64 @FUNC(i64 %0)
%2 = inttoptr i64 %1 to i64*
%3 = load i64, i64* %2, align 8
%4 = add i64 %1, 52
%5 = call i64 @FUNC(i64 %4)
%6 = icmp eq i64 %3, 0
br i1 %6, label LBL_5, label LBL_1
LBL_1:
%7 = add i64 %1, 8
%8 = call i64 @FUNC(i64 %7)
%9 = call i64 @FUNC(i64 %3)
%10 = trunc i64 %9 to i32
%11 = icmp slt i32 %10, 1
store i64 %3, i64* %sv_0.0.reg2mem
br i1 %11, label LBL_3, label LBL_2
LBL_2:
%12 = call i64 @FUNC(i64 %3)
%13 = icmp eq i64 %12, 0
store i64 %12, i64* %sv_0.0.reg2mem
br i1 %13, label LBL_4, label LBL_3
LBL_3:
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%14 = call i64 @FUNC(i64 %sv_0.0.reload)
%15 = add i64 %1, 48
%16 = inttoptr i64 %15 to i32*
store i32 0, i32* %16, align 4
br label LBL_4
LBL_4:
%17 = call i64 @FUNC(i64 %7)
br label LBL_5
LBL_5:
%18 = add i64 %1, 56
%19 = call i64 @FUNC(i64 %18)
ret i64 %19
uselistorder i64 %3, { 1, 0, 2, 3 }
uselistorder i64 %1, { 2, 0, 1, 3, 4 }
uselistorder i64 (i64)* @cancel_work_sync, { 1, 0 }
uselistorder label LBL_5, { 1, 0 }
uselistorder label LBL_4, { 1, 0 }
} | 0 |
BinRealVul | unimap_bsearch_6513 | unimap_bsearch | define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%sv_0.08.reg2mem = alloca i64
%sv_1.0.ph9.reg2mem = alloca i64
%sv_0.0.ph10.reg2mem = alloca i64
%0 = trunc i64 %arg2 to i32
%1 = icmp ult i32 %0, 65536
store i64 0, i64* %rax.0.reg2mem
br i1 %1, label LBL_1, label LBL_9
LBL_1:
%2 = ptrtoint i64* %arg1 to i64
%3 = mul i64 %arg3, 4
%4 = add i64 %2, -4
%5 = add i64 %4, %3
%6 = icmp ult i64 %5, %2
store i64 0, i64* %rax.0.reg2mem
br i1 %6, label LBL_9, label LBL_2
LBL_2:
%7 = trunc i64 %arg2 to i16
store i64 %5, i64* %sv_0.0.ph10.reg2mem
store i64 %2, i64* %sv_1.0.ph9.reg2mem
br label LBL_3
LBL_3:
%sv_1.0.ph9.reload = load i64, i64* %sv_1.0.ph9.reg2mem
%sv_0.0.ph10.reload = load i64, i64* %sv_0.0.ph10.reg2mem
store i64 %sv_0.0.ph10.reload, i64* %sv_0.08.reg2mem
br label LBL_4
LBL_4:
%sv_0.08.reload = load i64, i64* %sv_0.08.reg2mem
%8 = sub i64 %sv_0.08.reload, %sv_1.0.ph9.reload
%9 = ashr i64 %8, 2
%10 = lshr i64 %9, 63
%11 = add nsw i64 %10, %9
%12 = udiv i64 %11, 2
%13 = mul i64 %12, 4
%14 = add i64 %13, %sv_1.0.ph9.reload
%15 = inttoptr i64 %14 to i16*
%16 = load i16, i16* %15, align 2
%17 = icmp ugt i16 %16, %7
%18 = icmp eq i1 %17, false
br i1 %18, label LBL_6, label LBL_5
LBL_5:
%19 = add i64 %14, -4
%20 = icmp ult i64 %19, %sv_1.0.ph9.reload
store i64 %19, i64* %sv_0.08.reg2mem
store i64 0, i64* %rax.0.reg2mem
br i1 %20, label LBL_9, label LBL_4
LBL_6:
%21 = icmp ult i16 %16, %7
br i1 %21, label LBL_7, label LBL_8
LBL_7:
%22 = add i64 %14, 4
%23 = icmp ult i64 %sv_0.08.reload, %22
store i64 %sv_0.08.reload, i64* %sv_0.0.ph10.reg2mem
store i64 %22, i64* %sv_1.0.ph9.reg2mem
store i64 0, i64* %rax.0.reg2mem
br i1 %23, label LBL_9, label LBL_3
LBL_8:
%24 = add i64 %14, 2
%25 = inttoptr i64 %24 to i8*
%26 = load i8, i8* %25, align 1
%27 = zext i8 %26 to i64
store i64 %27, i64* %rax.0.reg2mem
br label LBL_9
LBL_9:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %sv_0.08.reload, { 2, 1, 0 }
uselistorder i64 %sv_1.0.ph9.reload, { 1, 2, 0 }
uselistorder i64* %sv_0.0.ph10.reg2mem, { 1, 0, 2 }
uselistorder i64* %sv_1.0.ph9.reg2mem, { 1, 0, 2 }
uselistorder i64* %sv_0.08.reg2mem, { 1, 0, 2 }
uselistorder i64* %rax.0.reg2mem, { 0, 5, 1, 2, 3, 4 }
uselistorder i64 2, { 1, 0, 2 }
uselistorder label LBL_9, { 4, 0, 1, 2, 3 }
uselistorder label LBL_4, { 1, 0 }
uselistorder label LBL_3, { 1, 0 }
} | 0 |
BinRealVul | hevc_decode_extradata_15100 | hevc_decode_extradata | define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%storemerge12.reg2mem = alloca i32
%0 = ptrtoint i64* %arg2 to i64
%1 = ptrtoint i64* %arg1 to i64
%2 = trunc i64 %arg3 to i32
%3 = add i64 %1, 140
%4 = add i64 %1, 136
%5 = add i64 %1, 128
%6 = call i64 @FUNC(i64 %0, i32 %2, i64 %1, i64 %5, i64 %4, i64 %3)
%7 = trunc i64 %6 to i32
%8 = icmp slt i32 %7, 0
%9 = icmp eq i1 %8, false
store i32 0, i32* %storemerge12.reg2mem
br i1 %9, label LBL_2, label LBL_1
LBL_1:
%10 = and i64 %6, 4294967295
store i64 %10, i64* %storemerge.reg2mem
br label LBL_5
LBL_2:
%storemerge12.reload = load i32, i32* %storemerge12.reg2mem
%11 = sext i32 %storemerge12.reload to i64
%12 = mul i64 %11, 8
%13 = add i64 %12, %1
%14 = inttoptr i64 %13 to i64*
%15 = load i64, i64* %14, align 8
%16 = icmp eq i64 %15, 0
br i1 %16, label LBL_4, label LBL_3
LBL_3:
%17 = inttoptr i64 %15 to i64*
%18 = load i64, i64* %17, align 8
%19 = add i64 %1, 152
%20 = inttoptr i64 %19 to i64*
%21 = load i64, i64* %20, align 8
%22 = call i64 @FUNC(i64 %21, i64 %1, i64 %18)
store i64 0, i64* %storemerge.reg2mem
br label LBL_5
LBL_4:
%23 = add nuw i32 %storemerge12.reload, 1
%24 = icmp ult i32 %23, 16
store i32 %23, i32* %storemerge12.reg2mem
store i64 0, i64* %storemerge.reg2mem
br i1 %24, label LBL_2, label LBL_5
LBL_5:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64 %1, { 2, 1, 0, 3, 4, 5, 6 }
uselistorder i32* %storemerge12.reg2mem, { 2, 0, 1 }
uselistorder label LBL_2, { 1, 0 }
} | 1 |
BinRealVul | DestroyImageInfo_9078 | DestroyImageInfo | define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%rdi.1.reg2mem = alloca i64
%rdi.0.reg2mem = alloca i64
%0 = icmp eq i64 %arg1, 0
%1 = icmp eq i1 %0, false
store i64 %arg1, i64* %rdi.0.reg2mem
br i1 %1, label LBL_2, label LBL_1
LBL_1:
call void @__assert_fail(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_1, i64 0, i64 0), i32 69, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_2, i64 0, i64 0))
store i64 ptrtoint ([33 x i8]* @gv_0 to i64), i64* %rdi.0.reg2mem
br label LBL_2
LBL_2:
%rdi.0.reload = load i64, i64* %rdi.0.reg2mem
%2 = add i64 %arg1, 120
%3 = inttoptr i64 %2 to i64*
%4 = load i64, i64* %3, align 8
%5 = icmp eq i64 %4, 305419896
store i64 %rdi.0.reload, i64* %rdi.1.reg2mem
br i1 %5, label LBL_4, label LBL_3
LBL_3:
call void @__assert_fail(i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([50 x i8], [50 x i8]* @gv_1, i64 0, i64 0), i32 70, i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_2, i64 0, i64 0))
store i64 ptrtoint ([41 x i8]* @gv_3 to i64), i64* %rdi.1.reg2mem
br label LBL_4
LBL_4:
%6 = add i64 %arg1, 112
%7 = inttoptr i64 %6 to i32*
%8 = load i32, i32* %7, align 4
%9 = icmp eq i32 %8, 0
br i1 %9, label LBL_6, label LBL_5
LBL_5:
%rdi.1.reload = load i64, i64* %rdi.1.reg2mem
%10 = call i64 @FUNC()
%11 = call i64 @FUNC(i64 1, i64 %10, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_4, i64 0, i64 0), i64 %rdi.1.reload)
br label LBL_6
LBL_6:
%12 = add i64 %arg1, 8
%13 = inttoptr i64 %12 to i64*
%14 = load i64, i64* %13, align 8
%15 = icmp eq i64 %14, 0
br i1 %15, label LBL_8, label LBL_7
LBL_7:
%16 = call i64 @FUNC(i64 %14)
store i64 %16, i64* %13, align 8
br label LBL_8
LBL_8:
%17 = add i64 %arg1, 16
%18 = inttoptr i64 %17 to i64*
%19 = load i64, i64* %18, align 8
%20 = icmp eq i64 %19, 0
br i1 %20, label LBL_10, label LBL_9
LBL_9:
%21 = call i64 @FUNC(i64 %19)
store i64 %21, i64* %18, align 8
br label LBL_10
LBL_10:
%22 = add i64 %arg1, 24
%23 = inttoptr i64 %22 to i64*
%24 = load i64, i64* %23, align 8
%25 = icmp eq i64 %24, 0
br i1 %25, label LBL_12, label LBL_11
LBL_11:
%26 = call i64 @FUNC(i64 %24)
store i64 %26, i64* %23, align 8
br label LBL_12
LBL_12:
%27 = add i64 %arg1, 32
%28 = inttoptr i64 %27 to i64*
%29 = load i64, i64* %28, align 8
%30 = icmp eq i64 %29, 0
br i1 %30, label LBL_14, label LBL_13
LBL_13:
%31 = call i64 @FUNC(i64 %29)
store i64 %31, i64* %28, align 8
br label LBL_14
LBL_14:
%32 = add i64 %arg1, 40
%33 = inttoptr i64 %32 to i64*
%34 = load i64, i64* %33, align 8
%35 = icmp eq i64 %34, 0
br i1 %35, label LBL_16, label LBL_15
LBL_15:
%36 = call i64 @FUNC(i64 %34)
store i64 %36, i64* %33, align 8
br label LBL_16
LBL_16:
%37 = add i64 %arg1, 48
%38 = inttoptr i64 %37 to i64*
%39 = load i64, i64* %38, align 8
%40 = icmp eq i64 %39, 0
br i1 %40, label LBL_18, label LBL_17
LBL_17:
%41 = call i64 @FUNC(i64 %39)
store i64 %41, i64* %38, align 8
br label LBL_18
LBL_18:
%42 = add i64 %arg1, 56
%43 = inttoptr i64 %42 to i64*
%44 = load i64, i64* %43, align 8
%45 = icmp eq i64 %44, 0
br i1 %45, label LBL_20, label LBL_19
LBL_19:
%46 = call i64 @FUNC(i64 %44)
store i64 %46, i64* %43, align 8
br label LBL_20
LBL_20:
%47 = add i64 %arg1, 64
%48 = inttoptr i64 %47 to i64*
%49 = load i64, i64* %48, align 8
%50 = icmp eq i64 %49, 0
br i1 %50, label LBL_22, label LBL_21
LBL_21:
%51 = call i64 @FUNC(i64 %49)
store i64 %51, i64* %48, align 8
br label LBL_22
LBL_22:
%52 = add i64 %arg1, 72
%53 = inttoptr i64 %52 to i64*
%54 = load i64, i64* %53, align 8
%55 = icmp eq i64 %54, 0
br i1 %55, label LBL_24, label LBL_23
LBL_23:
%56 = call i64 @FUNC(i64 %54)
store i64 %56, i64* %53, align 8
br label LBL_24
LBL_24:
%57 = add i64 %arg1, 80
%58 = inttoptr i64 %57 to i64*
%59 = load i64, i64* %58, align 8
%60 = icmp eq i64 %59, 0
br i1 %60, label LBL_26, label LBL_25
LBL_25:
%61 = call i64 @FUNC(i64 %59)
store i64 %61, i64* %58, align 8
br label LBL_26
LBL_26:
%62 = add i64 %arg1, 88
%63 = inttoptr i64 %62 to i64*
%64 = load i64, i64* %63, align 8
%65 = icmp eq i64 %64, 0
br i1 %65, label LBL_28, label LBL_27
LBL_27:
%66 = call i64 @FUNC(i64 %64)
store i64 %66, i64* %63, align 8
br label LBL_28
LBL_28:
%67 = call i64 @FUNC(i64 %arg1)
%68 = add i64 %arg1, 96
%69 = inttoptr i64 %68 to i64*
%70 = load i64, i64* %69, align 8
%71 = icmp eq i64 %70, 0
br i1 %71, label LBL_30, label LBL_29
LBL_29:
%72 = call i64 @FUNC(i64 %70)
store i64 %72, i64* %69, align 8
br label LBL_30
LBL_30:
%73 = add i64 %arg1, 104
%74 = inttoptr i64 %73 to i64*
%75 = load i64, i64* %74, align 8
%76 = icmp eq i64 %75, 0
br i1 %76, label LBL_32, label LBL_31
LBL_31:
%77 = call i64 @FUNC(i64 %75)
store i64 %77, i64* %74, align 8
br label LBL_32
LBL_32:
store i64 -305419897, i64* %3, align 8
%78 = call i64 @FUNC(i64 %arg1)
ret i64 %78
uselistorder i64 (i64)* @DestroyString, { 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 }
uselistorder [41 x i8]* @gv_3, { 1, 0 }
uselistorder [33 x i8]* @gv_0, { 1, 0 }
uselistorder i64 %arg1, { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 0, 18 }
} | 0 |
BinRealVul | unix_detach_fds_13455 | unix_detach_fds | define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%rax.0.lcssa.reg2mem = alloca i64
%storemerge1.reg2mem = alloca i32
%.reg2mem = alloca i64
%0 = ptrtoint i64* %arg2 to i64
%1 = ptrtoint i64* %arg1 to i64
store i64 %0, i64* %arg1, align 8
store i64 0, i64* %arg2, align 8
%2 = trunc i64 %1 to i32
%3 = add i32 %2, -1
%4 = zext i32 %3 to i64
%5 = icmp slt i32 %3, 0
%6 = icmp eq i1 %5, false
store i64 %1, i64* %.reg2mem
store i32 %3, i32* %storemerge1.reg2mem
store i64 %4, i64* %rax.0.lcssa.reg2mem
br i1 %6, label LBL_1, label LBL_2
LBL_1:
%storemerge1.reload = load i32, i32* %storemerge1.reg2mem
%.reload = load i64, i64* %.reg2mem
%7 = add i64 %.reload, 8
%8 = inttoptr i64 %7 to i64*
%9 = load i64, i64* %8, align 8
%10 = sext i32 %storemerge1.reload to i64
%11 = mul i64 %10, 8
%12 = add i64 %11, %9
%13 = inttoptr i64 %12 to i64*
%14 = load i64, i64* %13, align 8
%15 = add i64 %.reload, 16
%16 = inttoptr i64 %15 to i64*
%17 = load i64, i64* %16, align 8
%18 = call i64 @FUNC(i64 %17, i64 %14)
%19 = add i32 %storemerge1.reload, -1
%20 = icmp slt i32 %19, 0
%21 = icmp eq i1 %20, false
store i64 %17, i64* %.reg2mem
store i32 %19, i32* %storemerge1.reg2mem
store i64 %18, i64* %rax.0.lcssa.reg2mem
br i1 %21, label LBL_1, label LBL_2
LBL_2:
%rax.0.lcssa.reload = load i64, i64* %rax.0.lcssa.reg2mem
ret i64 %rax.0.lcssa.reload
uselistorder i64* %.reg2mem, { 2, 0, 1 }
uselistorder i32* %storemerge1.reg2mem, { 2, 0, 1 }
uselistorder i1 false, { 1, 0 }
uselistorder i32 0, { 1, 0 }
uselistorder label LBL_1, { 1, 0 }
} | 0 |
BinRealVul | av_parse_cpu_caps_68 | av_parse_cpu_caps | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
%sv_0 = alloca i8*, align 8
store i8* bitcast ([9 x i8]** @gv_0 to i8*), i8** %sv_0, align 8
%1 = bitcast i8** %sv_0 to i64*
%2 = call i64 @FUNC(i64* nonnull %1, [6 x i8]** nonnull @gv_1, i64 %arg2, i64 %0)
ret i64 %2
uselistorder i8** %sv_0, { 1, 0 }
} | 1 |
BinRealVul | dvb_usb_device_exit_5595 | dvb_usb_device_exit | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
%sv_0 = alloca i64, align 8
%1 = call i64 @FUNC(i64 %0)
%2 = call i64 @FUNC(i64 %0, i64 0)
%3 = icmp eq i64 %1, 0
br i1 %3, label LBL_3, label LBL_1
LBL_1:
%4 = inttoptr i64 %1 to i64*
%5 = load i64, i64* %4, align 8
%6 = icmp eq i64 %5, 0
br i1 %6, label LBL_3, label LBL_2
LBL_2:
%7 = inttoptr i64 %5 to i64*
%8 = load i64, i64* %7, align 8
%9 = call i64 @FUNC(i64* nonnull %sv_0, i64 %8, i64 40)
%10 = call i64 @FUNC(i64 %1)
br label LBL_4
LBL_3:
%11 = call i64 @FUNC(i64* nonnull %sv_0, i64 ptrtoint ([23 x i8]* @gv_0 to i64), i64 40)
br label LBL_4
LBL_4:
%12 = call i64 @FUNC(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @gv_1, i64 0, i64 0), i64* nonnull %sv_0)
ret i64 %12
uselistorder i64 %1, { 1, 0, 2 }
uselistorder i64 (i64*, i64, i64)* @strscpy, { 1, 0 }
} | 0 |
BinRealVul | rgb2rgb_init_c_2299 | rgb2rgb_init_c | define i64 @FUNC() local_unnamed_addr {
LBL_0:
%0 = alloca i64
%1 = load i64, i64* %0
store i64 4198662, i64* @gv_0, align 8
store i64 4198669, i64* @gv_1, align 8
store i64 4198676, i64* @gv_2, align 8
store i64 4198683, i64* @gv_3, align 8
store i64 4198690, i64* @gv_4, align 8
store i64 4198697, i64* @gv_5, align 8
store i64 4198704, i64* @gv_6, align 8
store i64 4198711, i64* @gv_7, align 8
store i64 4198718, i64* @gv_8, align 8
store i64 4198725, i64* @gv_9, align 8
store i64 4198732, i64* @gv_10, align 8
store i64 4198739, i64* @gv_11, align 8
store i64 4198746, i64* @gv_12, align 8
store i64 4198753, i64* @gv_13, align 8
store i64 4198760, i64* @gv_14, align 8
store i64 4198767, i64* @gv_15, align 8
store i64 4198774, i64* @gv_16, align 8
store i64 4198781, i64* @gv_17, align 8
store i64 4198788, i64* @gv_18, align 8
store i64 4198795, i64* @gv_19, align 8
store i64 4198802, i64* @gv_20, align 8
store i64 4198809, i64* @gv_21, align 8
store i64 4198816, i64* @gv_22, align 8
store i64 4198823, i64* @gv_23, align 8
store i64 4198830, i64* @gv_24, align 8
store i64 4198837, i64* @gv_25, align 8
store i64 4198844, i64* @gv_26, align 8
store i64 4198851, i64* @gv_27, align 8
store i64 4198858, i64* @gv_28, align 8
store i64 4198865, i64* @gv_29, align 8
store i64 4198872, i64* @gv_30, align 8
store i64 4198879, i64* @gv_31, align 8
ret i64 %1
uselistorder i64 4198879, { 1, 0 }
uselistorder i64 4198872, { 1, 0 }
uselistorder i64 4198865, { 1, 0 }
uselistorder i64 4198858, { 1, 0 }
uselistorder i64 4198851, { 1, 0 }
uselistorder i64 4198844, { 1, 0 }
uselistorder i64 4198837, { 1, 0 }
uselistorder i64 4198830, { 1, 0 }
uselistorder i64 4198823, { 1, 0 }
uselistorder i64 4198816, { 1, 0 }
uselistorder i64 4198809, { 1, 0 }
uselistorder i64 4198802, { 1, 0 }
uselistorder i64 4198795, { 1, 0 }
uselistorder i64 4198788, { 1, 0 }
uselistorder i64 4198781, { 1, 0 }
uselistorder i64 4198774, { 1, 0 }
uselistorder i64 4198767, { 1, 0 }
uselistorder i64 4198760, { 1, 0 }
uselistorder i64 4198753, { 1, 0 }
uselistorder i64 4198746, { 1, 0 }
uselistorder i64 4198739, { 1, 0 }
uselistorder i64 4198732, { 1, 0 }
uselistorder i64 4198725, { 1, 0 }
uselistorder i64 4198718, { 1, 0 }
uselistorder i64 4198711, { 1, 0 }
uselistorder i64 4198704, { 1, 0 }
uselistorder i64 4198697, { 1, 0 }
uselistorder i64 4198690, { 1, 0 }
uselistorder i64 4198683, { 1, 0 }
uselistorder i64 4198676, { 1, 0 }
uselistorder i64 4198669, { 1, 0 }
uselistorder i64 4198662, { 1, 0 }
} | 0 |
BinRealVul | lookup_cb_cred_13088 | lookup_cb_cred | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
%sv_0 = alloca i32, align 4
store i32 1, i32* %sv_0, align 4
%1 = call i64 @FUNC(i64 %0, i32* nonnull %sv_0, i64 0)
ret i64 %1
} | 1 |
BinRealVul | find_regset_10367 | find_regset | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%storemerge23.reg2mem = alloca i32
%.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%1 = add i64 %0, 8
%2 = inttoptr i64 %1 to i32*
%3 = load i32, i32* %2, align 4
%4 = icmp eq i32 %3, 0
store i64 0, i64* %storemerge.reg2mem
br i1 %4, label LBL_4, label LBL_1
LBL_1:
%5 = trunc i64 %arg2 to i32
%6 = zext i32 %3 to i64
store i64 0, i64* %.reg2mem
store i32 0, i32* %storemerge23.reg2mem
br label LBL_2
LBL_2:
%.reload = load i64, i64* %.reg2mem
%7 = mul i64 %.reload, 4
%8 = add i64 %7, %0
%9 = inttoptr i64 %8 to i32*
%10 = load i32, i32* %9, align 4
%11 = icmp eq i32 %10, %5
%12 = icmp eq i1 %11, false
store i64 %8, i64* %storemerge.reg2mem
br i1 %12, label LBL_3, label LBL_4
LBL_3:
%storemerge23.reload = load i32, i32* %storemerge23.reg2mem
%13 = add i32 %storemerge23.reload, 1
%14 = sext i32 %13 to i64
%15 = icmp slt i64 %14, %6
store i64 %14, i64* %.reg2mem
store i32 %13, i32* %storemerge23.reg2mem
store i64 0, i64* %storemerge.reg2mem
br i1 %15, label LBL_2, label LBL_4
LBL_4:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64* %.reg2mem, { 1, 0, 2 }
uselistorder i32* %storemerge23.reg2mem, { 1, 0, 2 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1, 3 }
uselistorder label LBL_2, { 1, 0 }
} | 0 |
BinRealVul | AppLayerProtoDetectGetCtxThread_9679 | AppLayerProtoDetectGetCtxThread | define i64 @FUNC() local_unnamed_addr {
LBL_0:
%sv_0.0.reg2mem = alloca i64
%0 = call i64 @FUNC()
%1 = call i64 @FUNC(i64 176)
%cond = icmp eq i64 %1, 0
store i64 0, i64* %sv_0.0.reg2mem
br i1 %cond, label LBL_4, label LBL_1
LBL_1:
%2 = inttoptr i64 %1 to i64*
%3 = call i64* @memset(i64* %2, i32 0, i32 176)
%4 = add i64 %1, 160
%5 = call i64 @FUNC(i64 %4)
%6 = trunc i64 %5 to i32
%7 = icmp slt i32 %6, 0
br i1 %7, label LBL_3, label LBL_2
LBL_2:
%8 = load i64, i64* @gv_0, align 8
%9 = call i64 @FUNC(i64 %8)
%10 = add i64 %1, 168
%11 = inttoptr i64 %10 to i64*
store i64 %9, i64* %11, align 8
%12 = icmp eq i64 %9, 0
%13 = icmp eq i1 %12, false
store i64 %1, i64* %sv_0.0.reg2mem
br i1 %13, label LBL_4, label LBL_3
LBL_3:
%14 = call i64 @FUNC(i64 %1)
store i64 0, i64* %sv_0.0.reg2mem
br label LBL_4
LBL_4:
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%15 = call i64 @FUNC(i64 %sv_0.0.reload, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @gv_1, i64 0, i64 0))
ret i64 %15
uselistorder i64 %1, { 3, 0, 2, 5, 4, 1 }
uselistorder i64* %sv_0.0.reg2mem, { 0, 1, 3, 2 }
uselistorder i32 0, { 1, 0 }
uselistorder i32 1, { 2, 3, 1, 0 }
uselistorder label LBL_4, { 1, 2, 0 }
} | 0 |
BinRealVul | mqtt_packet_drop_6258 | mqtt_packet_drop | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg1 to i64
%3 = trunc i64 %1 to i32
%4 = add i64 %2, 4
%5 = inttoptr i64 %4 to i32*
%6 = load i32, i32* %5, align 4
%7 = icmp eq i32 %6, %3
%8 = icmp eq i1 %7, false
br i1 %8, label LBL_2, label LBL_1
LBL_1:
%9 = add i64 %2, 8
%10 = inttoptr i64 %9 to i32*
store i32 0, i32* %10, align 4
store i32 0, i32* %5, align 4
%11 = bitcast i64* %arg1 to i32*
store i32 0, i32* %11, align 4
br label LBL_3
LBL_2:
%12 = add i32 %3, 1
%13 = sub i32 %6, %12
%14 = add i64 %2, 12
%15 = sext i32 %12 to i64
%16 = add i64 %14, %15
%17 = inttoptr i64 %14 to i64*
%18 = inttoptr i64 %16 to i64*
%19 = call i64* @memmove(i64* %17, i64* %18, i32 %13)
%20 = add i64 %2, 8
%21 = inttoptr i64 %20 to i32*
store i32 0, i32* %21, align 4
%22 = load i32, i32* %5, align 4
%23 = sub i32 %22, %12
store i32 %23, i32* %5, align 4
%24 = bitcast i64* %arg1 to i32*
store i32 0, i32* %24, align 4
br label LBL_3
LBL_3:
ret i64 0
uselistorder i64 %14, { 1, 0 }
uselistorder i32 %12, { 2, 0, 1 }
uselistorder i32 %6, { 1, 0 }
uselistorder i32* %5, { 2, 1, 0, 3 }
uselistorder i32 %3, { 1, 0 }
uselistorder i64 %2, { 1, 2, 0, 3 }
} | 0 |
BinRealVul | do_rfi_18683 | do_rfi | define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
%1 = call i64 @FUNC(i64 %0)
%2 = call i64 @FUNC(i64 %1)
%3 = inttoptr i64 %2 to i32*
%4 = and i64 %arg3, -2
%5 = call i64 @FUNC(i64 %0, i64 %4)
%6 = and i64 %arg2, 4294967292
store i64 %6, i64* %arg1, align 8
%7 = call i64 @FUNC(i64 %0, i64 %4, i64 1)
%8 = add i64 %0, 8
%9 = inttoptr i64 %8 to i64*
%10 = load i64, i64* %9, align 8
%11 = call i64 @FUNC(i64 %0, i64 %10)
%12 = load i32, i32* %3, align 4
%13 = or i32 %12, 1
store i32 %13, i32* %3, align 4
%14 = call i64 @FUNC(i64 %0)
ret i64 %14
uselistorder i32* %3, { 1, 0 }
uselistorder i64 %0, { 0, 2, 3, 1, 4, 5 }
} | 1 |
BinRealVul | IsSkipTag_8543 | IsSkipTag | define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%storemerge12.reg2mem = alloca i64
%.reg2mem = alloca i64
%0 = load i64, i64* bitcast ([3 x i8*]* @gv_0 to i64*), align 16
%1 = icmp eq i64 %0, 0
%2 = icmp eq i1 %1, false
store i64 %0, i64* %.reg2mem
store i64 0, i64* %storemerge12.reg2mem
store i64 0, i64* %storemerge.reg2mem
br i1 %2, label LBL_1, label LBL_3
LBL_1:
%.reload = load i64, i64* %.reg2mem
%3 = call i64 @FUNC(i64 %arg1, i64 %.reload)
%4 = trunc i64 %3 to i32
%5 = icmp eq i32 %4, 0
%6 = icmp eq i1 %5, false
store i64 1, i64* %storemerge.reg2mem
br i1 %6, label LBL_2, label LBL_3
LBL_2:
%storemerge12.reload = load i64, i64* %storemerge12.reg2mem
%7 = add i64 %storemerge12.reload, 1
%8 = mul i64 %7, 8
%9 = add i64 %8, ptrtoint ([3 x i8*]* @gv_0 to i64)
%10 = inttoptr i64 %9 to i64*
%11 = load i64, i64* %10, align 8
%12 = icmp eq i64 %11, 0
%13 = icmp eq i1 %12, false
store i64 %11, i64* %.reg2mem
store i64 %7, i64* %storemerge12.reg2mem
store i64 0, i64* %storemerge.reg2mem
br i1 %13, label LBL_1, label LBL_3
LBL_3:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64* %.reg2mem, { 2, 0, 1 }
uselistorder i64* %storemerge12.reg2mem, { 2, 0, 1 }
uselistorder i64 1, { 1, 0 }
uselistorder i1 false, { 2, 1, 0 }
uselistorder [3 x i8*]* @gv_0, { 1, 0 }
uselistorder i32 1, { 2, 1, 0 }
uselistorder label LBL_3, { 1, 0, 2 }
uselistorder label LBL_1, { 1, 0 }
} | 0 |
BinRealVul | decode_init_thread_copy_2368 | decode_init_thread_copy | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%indvars.iv.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
store i64 %0, i64* %arg1, align 8
%1 = call i64 @FUNC(i64 %0)
%2 = trunc i64 %1 to i32
%3 = icmp slt i32 %2, 0
%4 = icmp eq i1 %3, false
br i1 %4, label LBL_1, label LBL_2
LBL_1:
%5 = add i64 %0, 16
store i64 0, i64* %indvars.iv.reg2mem
br label LBL_3
LBL_2:
%6 = call i64 @FUNC(i64 %0)
%7 = and i64 %1, 4294967295
store i64 %7, i64* %rax.0.reg2mem
br label LBL_7
LBL_3:
%indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem
%8 = mul i64 %indvars.iv.reload, 8
%9 = add i64 %8, %5
%10 = inttoptr i64 %9 to i64*
store i64 0, i64* %10, align 8
%indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1
%exitcond = icmp eq i64 %indvars.iv.next, 8
store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem
br i1 %exitcond, label LBL_4, label LBL_3
LBL_4:
%11 = add i64 %0, 8
%12 = inttoptr i64 %11 to i32*
%13 = load i32, i32* %12, align 4
%14 = icmp slt i32 %13, 2
br i1 %14, label LBL_6, label LBL_5
LBL_5:
%15 = inttoptr i64 %5 to i32*
%16 = load i32, i32* %15, align 4
%17 = inttoptr i64 %11 to i64*
%18 = load i64, i64* %17, align 8
%19 = add i64 %18, 4
%20 = call i64 @FUNC(i64 %0, i64 %19, i32 %16)
%21 = trunc i64 %20 to i32
%22 = icmp slt i32 %21, 0
%23 = icmp eq i1 %22, false
%24 = and i64 %20, 4294967295
%spec.select = select i1 %23, i64 0, i64 %24
store i64 %spec.select, i64* %rax.0.reg2mem
br label LBL_7
LBL_6:
%25 = call i64 @FUNC(i64 %0)
%26 = trunc i64 %25 to i32
%27 = icmp slt i32 %26, 0
%28 = icmp eq i1 %27, false
%29 = and i64 %25, 4294967295
%spec.select1 = select i1 %28, i64 0, i64 %29
ret i64 %spec.select1
LBL_7:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %5, { 1, 0 }
uselistorder i64 %0, { 3, 4, 2, 1, 0, 6, 5 }
uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }
uselistorder i64 8, { 2, 1, 0 }
} | 0 |
BinRealVul | net_slirp_init_16883 | net_slirp_init | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = load i32, i32* @gv_0, align 4
%1 = icmp eq i32 %0, 0
%2 = icmp eq i1 %1, false
br i1 %2, label LBL_2, label LBL_1
LBL_1:
store i32 1, i32* @gv_0, align 4
%3 = call i64 @FUNC()
br label LBL_2
LBL_2:
%4 = ptrtoint i64* %arg1 to i64
%5 = call i64 @FUNC(i64 %4, i64 4198802, i64 0)
%6 = inttoptr i64 %5 to i8*
store i8* %6, i8** @gv_1, align 8
%7 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* %6, i32 256, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_2, i64 0, i64 0))
ret i64 0
uselistorder i32 0, { 2, 0, 1 }
uselistorder i32* @gv_0, { 1, 0 }
} | 1 |
BinRealVul | atom_op_calltable_4667 | atom_op_calltable | define i64 @FUNC(i64* %arg1, i32* %arg2, i32 %arg3) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%rdi.0.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = trunc i64 %1 to i32
%3 = add i32 %2, 1
store i32 %3, i32* %arg2, align 4
%4 = urem i32 %2, 256
%5 = icmp ugt i32 %4, 9
br i1 %5, label LBL_2, label LBL_1
LBL_1:
%6 = mul i32 %4, 8
%7 = zext i32 %6 to i64
%8 = add i64 %7, ptrtoint ([10 x i8*]* @gv_0 to i64)
%9 = inttoptr i64 %8 to i64*
%10 = load i64, i64* %9, align 8
%11 = zext i32 %4 to i64
%12 = inttoptr i64 %10 to i8*
%13 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_1, i64 0, i64 0), i64 %11, i8* %12)
store i64 ptrtoint ([19 x i8]* @gv_1 to i64), i64* %rdi.0.reg2mem
br label LBL_3
LBL_2:
%14 = zext i32 %4 to i64
%15 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_2, i64 0, i64 0), i64 %14)
store i64 ptrtoint ([14 x i8]* @gv_2 to i64), i64* %rdi.0.reg2mem
br label LBL_3
LBL_3:
%rdi.0.reload = load i64, i64* %rdi.0.reg2mem
%16 = mul i32 %4, 2
%narrow = add nuw nsw i32 %16, 4
%17 = zext i32 %narrow to i64
%18 = add i64 %rdi.0.reload, %17
%19 = inttoptr i64 %18 to i16*
%20 = load i16, i16* %19, align 2
%21 = icmp eq i16 %20, 0
store i64 0, i64* %rax.0.reg2mem
br i1 %21, label LBL_5, label LBL_4
LBL_4:
%22 = ptrtoint i64* %arg1 to i64
%23 = add i64 %22, 8
%24 = inttoptr i64 %23 to i64*
%25 = load i64, i64* %24, align 8
%26 = add i64 %22, 16
%27 = inttoptr i64 %26 to i32*
%28 = load i32, i32* %27, align 4
%29 = sext i32 %28 to i64
%30 = mul i64 %29, 4
%31 = add i64 %30, %25
%32 = zext i32 %4 to i64
%33 = call i64 @FUNC(i64 %rdi.0.reload, i64 %32, i64 %31)
store i64 %33, i64* %rax.0.reg2mem
br label LBL_5
LBL_5:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %22, { 1, 0 }
uselistorder i32 %4, { 5, 0, 4, 3, 1, 2 }
uselistorder i64* %rdi.0.reg2mem, { 0, 2, 1 }
uselistorder [14 x i8]* @gv_2, { 1, 0 }
uselistorder i32 (i8*, ...)* @printf, { 0, 2, 1 }
uselistorder [19 x i8]* @gv_1, { 1, 0 }
} | 0 |
BinRealVul | xics_realize_17020 | xics_realize | define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%storemerge4.reg2mem = alloca i32
%0 = ptrtoint i64* %arg2 to i64
%1 = ptrtoint i64* %arg1 to i64
%sv_0 = alloca i64, align 8
%2 = call i64 @FUNC(i64 %1)
%3 = inttoptr i64 %2 to i32*
store i64 0, i64* %sv_0, align 8
%4 = load i32, i32* %3, align 4
%5 = icmp eq i32 %4, 0
%6 = icmp eq i1 %5, false
br i1 %6, label LBL_2, label LBL_1
LBL_1:
%7 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @gv_0, i64 0, i64 0))
store i64 %7, i64* %rax.0.reg2mem
br label LBL_9
LBL_2:
%8 = call i64 @FUNC(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_1, i64 0, i64 0), i64 4198758)
%9 = call i64 @FUNC(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_2, i64 0, i64 0), i64 4198765)
%10 = call i64 @FUNC(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @gv_3, i64 0, i64 0), i64 4198772)
%11 = call i64 @FUNC(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_4, i64 0, i64 0), i64 4198779)
%12 = call i64 @FUNC(i64 0, i64 4198786)
%13 = call i64 @FUNC(i64 1, i64 4198793)
%14 = call i64 @FUNC(i64 2, i64 4198800)
%15 = call i64 @FUNC(i64 3, i64 4198807)
%16 = call i64 @FUNC(i64 4, i64 4198814)
%17 = call i64 @FUNC(i64 5, i64 4198821)
%18 = add i64 %2, 16
%19 = inttoptr i64 %18 to i64*
%20 = load i64, i64* %19, align 8
%21 = call i64 @FUNC(i64 %20)
%22 = call i64 @FUNC(i64 %21, i64 1, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_5, i64 0, i64 0), i64* nonnull %sv_0)
%23 = load i64, i64* %sv_0, align 8
%24 = icmp eq i64 %23, 0
br i1 %24, label LBL_3, label LBL_5
LBL_3:
%25 = load i32, i32* %3, align 4
%26 = icmp eq i32 %25, 0
store i64 0, i64* %rax.0.reg2mem
br i1 %26, label LBL_9, label LBL_4
LBL_4:
%27 = add i64 %2, 8
%28 = inttoptr i64 %27 to i64*
store i32 0, i32* %storemerge4.reg2mem
br label LBL_6
LBL_5:
%29 = call i64 @FUNC(i64 %0, i64 %23)
store i64 %29, i64* %rax.0.reg2mem
br label LBL_9
LBL_6:
%30 = load i64, i64* %28, align 8
%31 = call i64 @FUNC(i64 %30)
%32 = call i64 @FUNC(i64 %31, i64 1, i8* getelementptr inbounds ([9 x i8], [9 x i8]* @gv_5, i64 0, i64 0), i64* nonnull %sv_0)
%33 = load i64, i64* %sv_0, align 8
%34 = icmp eq i64 %33, 0
br i1 %34, label LBL_8, label LBL_7
LBL_7:
%35 = call i64 @FUNC(i64 %0, i64 %33)
store i64 %35, i64* %rax.0.reg2mem
br label LBL_9
LBL_8:
%storemerge4.reload = load i32, i32* %storemerge4.reg2mem
%36 = add i32 %storemerge4.reload, 1
%37 = load i32, i32* %3, align 4
%38 = zext i32 %37 to i64
%39 = sext i32 %36 to i64
%40 = icmp slt i64 %39, %38
store i32 %36, i32* %storemerge4.reg2mem
store i64 %38, i64* %rax.0.reg2mem
br i1 %40, label LBL_6, label LBL_9
LBL_9:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i32* %3, { 1, 0, 2 }
uselistorder i64* %sv_0, { 2, 0, 3, 1, 4 }
uselistorder i64 %0, { 2, 1, 0 }
uselistorder i32* %storemerge4.reg2mem, { 1, 0, 2 }
uselistorder i64* %rax.0.reg2mem, { 0, 1, 5, 4, 2, 3 }
uselistorder i64 (i64, i64)* @error_propagate, { 1, 0 }
uselistorder i64 (i64, i64, i8*, i64*)* @object_property_set_bool, { 1, 0 }
uselistorder i64 (i64)* @OBJECT, { 1, 0 }
uselistorder i64 (i64, i64)* @spapr_register_hypercall, { 5, 4, 3, 2, 1, 0 }
uselistorder i64 (i8*, i64)* @spapr_rtas_register, { 3, 2, 1, 0 }
uselistorder label LBL_9, { 0, 2, 3, 1, 4 }
uselistorder label LBL_6, { 1, 0 }
} | 1 |
BinRealVul | update_focus_app_4545 | update_focus_app | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%sv_0 = alloca i64, align 8
%1 = call i64 @FUNC()
%2 = call i64 @FUNC(i64 %1)
%3 = call i64 @FUNC(i64 %2)
%4 = icmp eq i64 %3, 0
br i1 %4, label LBL_1, label LBL_2
LBL_1:
store i64 0, i64* %sv_0, align 8
store i64 0, i64* %.reg2mem
br label LBL_4
LBL_2:
%5 = call i64 @FUNC(i64 %0, i64 %3)
store i64 %5, i64* %sv_0, align 8
%6 = icmp eq i64 %5, 0
store i64 0, i64* %.reg2mem
br i1 %6, label LBL_4, label LBL_3
LBL_3:
%7 = call i64 @FUNC(i64 %5, i64 %3)
%8 = load i64, i64* %sv_0, align 8
%9 = call i64 @FUNC(i64 %8, i64 %3)
%.pre = load i64, i64* %sv_0, align 8
store i64 %.pre, i64* %.reg2mem
br label LBL_4
LBL_4:
%.reload = load i64, i64* %.reg2mem
%10 = call i64 @FUNC(i64 %0, i64 %.reload)
%11 = call i64 @FUNC(i64* nonnull %sv_0)
ret i64 %11
uselistorder i64 %5, { 2, 0, 1 }
uselistorder i64 %3, { 1, 0, 2, 3 }
uselistorder i64* %sv_0, { 2, 0, 3, 4, 1 }
uselistorder i64 %0, { 1, 0 }
uselistorder i64* %.reg2mem, { 0, 2, 1, 3 }
uselistorder label LBL_4, { 1, 2, 0 }
} | 0 |
BinRealVul | bio_endio_9629 | bio_endio | define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%storemerge2.reg2mem = alloca i64
%0 = call i64 @FUNC(i64 %arg1)
%1 = trunc i64 %0 to i32
%2 = icmp eq i32 %1, 0
store i64 %arg1, i64* %storemerge2.reg2mem
store i64 %0, i64* %rax.0.reg2mem
br i1 %2, label LBL_8, label LBL_1
LBL_1:
%storemerge2.reload = load i64, i64* %storemerge2.reg2mem
%3 = call i64 @FUNC(i64 %storemerge2.reload)
%4 = trunc i64 %3 to i32
%5 = icmp eq i32 %4, 0
store i64 %3, i64* %rax.0.reg2mem
br i1 %5, label LBL_8, label LBL_2
LBL_2:
%6 = inttoptr i64 %storemerge2.reload to i64*
%7 = load i64, i64* %6, align 8
%8 = icmp eq i64 %7, 4198840
%9 = icmp eq i1 %8, false
br i1 %9, label LBL_4, label LBL_3
LBL_3:
%10 = call i64 @FUNC(i64 %storemerge2.reload)
%11 = call i64 @FUNC(i64 %10)
%12 = trunc i64 %11 to i32
%13 = icmp eq i32 %12, 0
store i64 %10, i64* %storemerge2.reg2mem
store i64 %11, i64* %rax.0.reg2mem
br i1 %13, label LBL_8, label LBL_1
LBL_4:
%14 = add i64 %storemerge2.reload, 8
%15 = inttoptr i64 %14 to i64*
%16 = load i64, i64* %15, align 8
%17 = icmp eq i64 %16, 0
br i1 %17, label LBL_7, label LBL_5
LBL_5:
%18 = call i64 @FUNC(i64 %storemerge2.reload, i64 1)
%19 = trunc i64 %18 to i32
%20 = icmp eq i32 %19, 0
br i1 %20, label LBL_7, label LBL_6
LBL_6:
%21 = add i64 %storemerge2.reload, 16
%22 = inttoptr i64 %21 to i32*
%23 = load i32, i32* %22, align 4
%24 = zext i32 %23 to i64
%25 = call i64 @FUNC(i64 %24)
%26 = and i64 %25, 4294967295
%27 = load i64, i64* %15, align 8
%28 = inttoptr i64 %27 to i64*
%29 = load i64, i64* %28, align 8
%30 = call i64 @FUNC(i64 %29, i64 %storemerge2.reload, i64 %26)
%31 = call i64 @FUNC(i64 %storemerge2.reload, i64 1)
br label LBL_7
LBL_7:
%32 = call i64 @FUNC(i64 %storemerge2.reload)
%33 = call i64 @FUNC(i64 %storemerge2.reload)
%34 = load i64, i64* %6, align 8
%35 = icmp eq i64 %34, 0
%spec.select = select i1 %35, i64 0, i64 %storemerge2.reload
ret i64 %spec.select
LBL_8:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %storemerge2.reload, { 10, 5, 6, 9, 8, 7, 3, 4, 1, 0, 2 }
uselistorder i64* %storemerge2.reg2mem, { 2, 0, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 }
uselistorder i64 1, { 3, 4, 0, 1, 2 }
uselistorder i64 (i64)* @bio_remaining_done, { 1, 0 }
uselistorder i32 1, { 5, 4, 3, 2, 1, 0 }
uselistorder label LBL_1, { 1, 0 }
} | 0 |
BinRealVul | object_resolve_path_component_16655 | object_resolve_path_component | define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = call i64 @FUNC(i64 %arg1, i64 %arg2, i64 0)
%1 = icmp eq i64 %0, 0
%2 = icmp eq i1 %1, false
store i64 0, i64* %rax.0.reg2mem
br i1 %2, label LBL_1, label LBL_5
LBL_1:
%3 = call i64 @FUNC(i64 %0)
%4 = trunc i64 %3 to i32
%5 = icmp eq i32 %4, 0
br i1 %5, label LBL_3, label LBL_2
LBL_2:
%6 = inttoptr i64 %0 to i64*
%7 = load i64, i64* %6, align 8
%8 = inttoptr i64 %7 to i64*
%9 = load i64, i64* %8, align 8
store i64 %9, i64* %rax.0.reg2mem
br label LBL_5
LBL_3:
%10 = call i64 @FUNC(i64 %0)
%11 = trunc i64 %10 to i32
%12 = icmp eq i32 %11, 0
store i64 0, i64* %rax.0.reg2mem
br i1 %12, label LBL_5, label LBL_4
LBL_4:
%13 = inttoptr i64 %0 to i64*
%14 = load i64, i64* %13, align 8
store i64 %14, i64* %rax.0.reg2mem
br label LBL_5
LBL_5:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64* %rax.0.reg2mem, { 0, 4, 1, 3, 2 }
uselistorder label LBL_5, { 2, 0, 3, 1 }
} | 1 |
BinRealVul | vnc_display_local_addr_16861 | vnc_display_local_addr | define i64 @FUNC(i8* %arg1) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i8* %arg1 to i64
%1 = call i64 @FUNC(i64 %0)
%2 = inttoptr i64 %1 to i32*
%3 = load i32, i32* %2, align 4
%4 = zext i32 %3 to i64
%5 = call i64 @FUNC(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i64 %4)
ret i64 %5
} | 1 |
BinRealVul | dns_resolver_instantiate_7528 | dns_resolver_instantiate | define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.2.reg2mem = alloca i64
%r9.1.reg2mem = alloca i64
%r8.1.reg2mem = alloca i64
%rsi.0.reg2mem = alloca i64
%rdx.0.reg2mem = alloca i64
%rcx.1.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i64
%.reg2mem74 = alloca i64
%sv_1.022.reg2mem = alloca i64
%.reg2mem72 = alloca i64*
%spec.select23.reg2mem = alloca i64
%.reg2mem = alloca i32
%.lcssa.reg2mem = alloca i64
%r9.0.lcssa.reg2mem = alloca i64
%r8.0.lcssa.reg2mem = alloca i64
%rcx.0.lcssa.reg2mem = alloca i64
%.pre-phi.reg2mem = alloca i64
%1 = load i64, i64* %0
%rdi = alloca i64, align 8
%2 = load i64, i64* %0
%3 = ptrtoint i64* %arg1 to i64
%sv_2 = alloca i64, align 8
%sv_3 = alloca i64, align 8
%4 = add i64 %3, 8
%5 = inttoptr i64 %4 to i64*
%6 = load i64, i64* %5, align 8
%7 = and i64 %2, 4294967295
%8 = call i64 @FUNC(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_0, i64 0, i64 0), i64 %7, i64 %6, i64 %arg2, i64 %arg3, i64 %1)
%9 = icmp ult i64 %arg3, 2
%10 = icmp eq i64 %arg2, 0
%or.cond = or i1 %10, %9
store i64 4294967274, i64* %rax.2.reg2mem
br i1 %or.cond, label LBL_22, label LBL_1
LBL_1:
%11 = add i64 %arg3, -1
%12 = add i64 %11, %arg2
%13 = inttoptr i64 %12 to i8*
%14 = load i8, i8* %13, align 1
%15 = icmp eq i8 %14, 0
store i64 4294967274, i64* %rax.2.reg2mem
br i1 %15, label LBL_2, label LBL_22
LBL_2:
%16 = inttoptr i64 %arg2 to i64*
%17 = trunc i64 %11 to i32
%18 = call i64* @memchr(i64* %16, i32 35, i32 %17)
%19 = icmp eq i64* %18, null
%20 = icmp eq i1 %19, false
br i1 %20, label LBL_4, label LBL_3
LBL_3:
%21 = call i64 @FUNC(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_1, i64 0, i64 0), i64 35, i64 %11, i64 %arg2, i64 %arg3, i64 %1)
%.pre41 = add i64 %3, 16
%.pre43 = inttoptr i64 %.pre41 to i64*
%.pre71 = load i64, i64* %.pre43, align 8
store i64 %.pre71, i64* %.reg2mem74
store i64 %11, i64* %sv_0.0.reg2mem
store i64 %arg2, i64* %rcx.1.reg2mem
store i64 %11, i64* %rdx.0.reg2mem
store i64 35, i64* %rsi.0.reg2mem
store i64 %arg3, i64* %r8.1.reg2mem
br label LBL_16
LBL_4:
%22 = ptrtoint i64* %18 to i64
%23 = add i64 %22, 1
%24 = call i64 @FUNC(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_2, i64 0, i64 0), i64 %23, i64 %11, i64 %arg2, i64 %arg3, i64 %1)
%25 = sub i64 %12, %23
%26 = inttoptr i64 %23 to i64*
%27 = trunc i64 %25 to i32
%28 = call i64* @memchr(i64* %26, i32 35, i32 %27)
%29 = ptrtoint i64* %28 to i64
%30 = icmp eq i64* %28, null
%31 = icmp eq i1 %30, false
%spec.select21 = select i1 %31, i64 %29, i64 %12
%32 = sub i64 %spec.select21, %23
%33 = trunc i64 %32 to i32
%34 = icmp eq i32 %33, 0
%35 = icmp eq i1 %34, false
store i64 %7, i64* %.pre-phi.reg2mem
store i64 %arg2, i64* %rcx.0.lcssa.reg2mem
store i64 %arg3, i64* %r8.0.lcssa.reg2mem
store i64 %25, i64* %.lcssa.reg2mem
br i1 %35, label LBL_5, label LBL_8
LBL_5:
%36 = ptrtoint i64* %sv_3 to i64
%37 = bitcast i64* %rdi to i32*
%38 = sub i64 %22, %arg2
%39 = add i64 %36, -16
%40 = inttoptr i64 %39 to i64*
%41 = ptrtoint i64* %sv_2 to i64
%42 = add i64 %3, 16
%43 = inttoptr i64 %42 to i64*
store i32 %33, i32* %.reg2mem
store i64 %spec.select21, i64* %spec.select23.reg2mem
store i64* %26, i64** %.reg2mem72
store i64 %23, i64* %sv_1.022.reg2mem
br label LBL_9
LBL_6:
%44 = sub i64 %12, %85
%45 = inttoptr i64 %85 to i64*
%46 = trunc i64 %44 to i32
%47 = call i64* @memchr(i64* %45, i32 35, i32 %46)
%48 = ptrtoint i64* %47 to i64
%49 = icmp eq i64* %47, null
%50 = icmp eq i1 %49, false
%spec.select = select i1 %50, i64 %48, i64 %12
%51 = sub i64 %spec.select, %85
%52 = trunc i64 %51 to i32
%53 = icmp eq i32 %52, 0
%54 = icmp eq i1 %53, false
store i32 %52, i32* %.reg2mem
store i64 %spec.select, i64* %spec.select23.reg2mem
store i64* %45, i64** %.reg2mem72
store i64 %85, i64* %sv_1.022.reg2mem
br i1 %54, label LBL_9, label LBL_6.LBL_8_crit_edge
LBL_7:
%.pre = load i32, i32* %37, align 8
%.pre40 = zext i32 %.pre to i64
store i64 %.pre40, i64* %.pre-phi.reg2mem
store i64 %sv_1.022.reload, i64* %rcx.0.lcssa.reg2mem
store i64 %67, i64* %r8.0.lcssa.reg2mem
store i64 %67, i64* %r9.0.lcssa.reg2mem
store i64 %44, i64* %.lcssa.reg2mem
br label LBL_8
LBL_8:
%.lcssa.reload = load i64, i64* %.lcssa.reg2mem
%r9.0.lcssa.reload = load i64, i64* %r9.0.lcssa.reg2mem
%r8.0.lcssa.reload = load i64, i64* %r8.0.lcssa.reg2mem
%rcx.0.lcssa.reload = load i64, i64* %rcx.0.lcssa.reg2mem
%.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem
%55 = call i64 @FUNC(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @gv_3, i64 0, i64 0), i64 %.pre-phi.reload, i64 %.lcssa.reload, i64 %rcx.0.lcssa.reload, i64 %r8.0.lcssa.reload, i64 %r9.0.lcssa.reload)
store i64 4294967274, i64* %rax.2.reg2mem
br label LBL_22
LBL_9:
%sv_1.022.reload = load i64, i64* %sv_1.022.reg2mem
%.reload73 = load i64*, i64** %.reg2mem72
%spec.select23.reload = load i64, i64* %spec.select23.reg2mem
%.reload = load i32, i32* %.reg2mem
%56 = call i64* @memchr(i64* %.reload73, i32 61, i32 %.reload)
%57 = ptrtoint i64* %56 to i64
%58 = icmp eq i64* %56, null
%59 = icmp eq i1 %58, false
%spec.select4 = select i1 %59, i64 %57, i64 %12
%60 = sub i64 %spec.select4, %sv_1.022.reload
%61 = trunc i64 %60 to i32
%62 = add i64 %spec.select4, 1
%63 = sub i64 %spec.select23.reload, %62
%64 = trunc i64 %63 to i32
%65 = icmp sgt i32 %64, 0
%66 = and i64 %60, 4294967295
store i64 %62, i64* %40, align 8
%.op = and i64 %63, 4294967295
%67 = select i1 %65, i64 %.op, i64 0
%68 = call i64 @FUNC(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_4, i64 0, i64 0), i64 %66, i64 %66, i64 %sv_1.022.reload, i64 %67, i64 %67)
%69 = icmp eq i32 %61, 11
%70 = icmp eq i1 %69, false
br i1 %70, label LBL_15, label LBL_10
LBL_10:
%71 = call i32 @memcmp(i64* %.reload73, i64* bitcast ([12 x i8]* @gv_5 to i64*), i32 %61)
%72 = icmp eq i32 %71, 0
%73 = icmp eq i1 %72, false
br i1 %73, label LBL_15, label LBL_11
LBL_11:
%sext = mul i64 %60, 4294967296
%74 = ashr exact i64 %sext, 32
%75 = call i64 @FUNC(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_6, i64 0, i64 0), i64 ptrtoint ([12 x i8]* @gv_5 to i64), i64 %74, i64 %sv_1.022.reload, i64 %67, i64 %67)
%76 = icmp slt i32 %64, 1
br i1 %76, label LBL_15, label LBL_12
LBL_12:
%77 = call i64 @FUNC(i64 %62, i64 10, i64* nonnull %sv_2)
%78 = trunc i64 %77 to i32
%79 = icmp slt i32 %78, 0
br i1 %79, label LBL_15, label LBL_13
LBL_13:
%80 = load i64, i64* %sv_2, align 8
%.off = add i64 %80, -1
%81 = icmp ult i64 %.off, 511
br i1 %81, label LBL_14, label LBL_15
LBL_14:
%82 = call i64 @FUNC(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_7, i64 0, i64 0), i64 %80, i64 %41, i64 %sv_1.022.reload, i64 %67, i64 %67)
%83 = load i64, i64* %sv_2, align 8
%84 = sub i64 0, %83
store i64 %84, i64* %43, align 8
%85 = add i64 %spec.select23.reload, 1
%86 = icmp ugt i64 %12, %85
store i64 %84, i64* %.reg2mem74
store i64 %38, i64* %sv_0.0.reg2mem
store i64 %sv_1.022.reload, i64* %rcx.1.reg2mem
store i64 %84, i64* %rdx.0.reg2mem
store i64 %80, i64* %rsi.0.reg2mem
store i64 %67, i64* %r8.1.reg2mem
store i64 %67, i64* %r9.1.reg2mem
br i1 %86, label LBL_6, label LBL_16
LBL_15:
%87 = load i32, i32* %37, align 8
%88 = zext i32 %87 to i64
%89 = call i64 @FUNC(i8* getelementptr inbounds ([67 x i8], [67 x i8]* @gv_8, i64 0, i64 0), i64 %66, i64 %66, i64 %sv_1.022.reload, i64 %88, i64 %67)
store i64 4294967274, i64* %rax.2.reg2mem
br label LBL_22
LBL_16:
%r9.1.reload = load i64, i64* %r9.1.reg2mem
%r8.1.reload = load i64, i64* %r8.1.reg2mem
%rdx.0.reload = load i64, i64* %rdx.0.reg2mem
%rcx.1.reload = load i64, i64* %rcx.1.reg2mem
%.reload75 = load i64, i64* %.reg2mem74
%90 = icmp eq i64 %.reload75, 0
br i1 %90, label LBL_18, label LBL_17
LBL_17:
%91 = call i64 @FUNC(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_9, i64 0, i64 0), i64 %.reload75, i64 %rdx.0.reload, i64 %rcx.1.reload, i64 %r8.1.reload, i64 %r9.1.reload)
store i64 0, i64* %rax.2.reg2mem
br label LBL_22
LBL_18:
%rsi.0.reload = load i64, i64* %rsi.0.reg2mem
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%92 = call i64 @FUNC(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_10, i64 0, i64 0), i64 %rsi.0.reload, i64 %rdx.0.reload, i64 %rcx.1.reload, i64 %r8.1.reload, i64 %r9.1.reload)
%93 = call i64 @FUNC(i64 %3, i64 %sv_0.0.reload)
%94 = trunc i64 %93 to i32
%95 = icmp slt i32 %94, 0
%96 = icmp eq i1 %95, false
store i64 4294967274, i64* %rax.2.reg2mem
br i1 %96, label LBL_19, label LBL_22
LBL_19:
%97 = add i64 %sv_0.0.reload, 9
%98 = call i64 @FUNC(i64 %97, i64 0)
%99 = icmp eq i64 %98, 0
%100 = icmp eq i1 %99, false
br i1 %100, label LBL_21, label LBL_20
LBL_20:
%101 = call i64 @FUNC(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_11, i64 0, i64 0), i64 0, i64 %sv_0.0.reload, i64 %rcx.1.reload, i64 %r8.1.reload, i64 %r9.1.reload)
store i64 4294967284, i64* %rax.2.reg2mem
br label LBL_22
LBL_21:
%102 = inttoptr i64 %98 to i64*
store i64 %sv_0.0.reload, i64* %102, align 8
%103 = add i64 %98, 8
%104 = inttoptr i64 %103 to i64*
%105 = trunc i64 %sv_0.0.reload to i32
%106 = call i64* @memcpy(i64* %104, i64* %16, i32 %105)
%107 = add i64 %103, %sv_0.0.reload
%108 = inttoptr i64 %107 to i8*
store i8 0, i8* %108, align 1
%109 = add i64 %3, 24
%110 = inttoptr i64 %109 to i64*
%111 = load i64, i64* %110, align 8
%112 = call i64 @FUNC(i64 %111, i64 %98)
%113 = call i64 @FUNC(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_12, i64 0, i64 0), i64 %98, i64 %98, i64 %103, i64 %r8.1.reload, i64 %r9.1.reload)
store i64 0, i64* %rax.2.reg2mem
br label LBL_22
LBL_22:
%rax.2.reload = load i64, i64* %rax.2.reg2mem
ret i64 %rax.2.reload
uselistorder i64 %103, { 2, 0, 1 }
uselistorder i64 %sv_0.0.reload, { 5, 3, 2, 4, 1, 0 }
uselistorder i64 %rcx.1.reload, { 1, 0, 2 }
uselistorder i64 %r8.1.reload, { 1, 2, 0, 3 }
uselistorder i64 %r9.1.reload, { 1, 2, 0, 3 }
uselistorder i64 %85, { 1, 3, 2, 4, 0 }
uselistorder i64 %80, { 0, 2, 1 }
uselistorder i64 %67, { 4, 0, 1, 5, 6, 7, 8, 10, 9, 3, 2 }
uselistorder i64 %66, { 1, 0, 3, 2 }
uselistorder i32 %64, { 1, 0 }
uselistorder i64 %62, { 0, 2, 1 }
uselistorder i64 %spec.select4, { 1, 0 }
uselistorder i64 %spec.select23.reload, { 1, 0 }
uselistorder i64 %sv_1.022.reload, { 5, 0, 1, 2, 3, 4, 6 }
uselistorder i32* %37, { 1, 0 }
uselistorder i64* %18, { 1, 0 }
uselistorder i64 %12, { 0, 5, 4, 3, 1, 2, 6 }
uselistorder i64 %11, { 4, 0, 1, 3, 5, 2 }
uselistorder i64* %sv_2, { 1, 2, 0, 3 }
uselistorder i64 %3, { 1, 2, 3, 0, 4 }
uselistorder i64 %1, { 1, 2, 0 }
uselistorder i64* %.pre-phi.reg2mem, { 0, 2, 1 }
uselistorder i64* %rcx.0.lcssa.reg2mem, { 0, 2, 1 }
uselistorder i64* %r8.0.lcssa.reg2mem, { 0, 2, 1 }
uselistorder i64* %.lcssa.reg2mem, { 0, 2, 1 }
uselistorder i64* %rax.2.reg2mem, { 0, 7, 6, 1, 5, 8, 4, 3, 2 }
uselistorder i64* %0, { 1, 0 }
uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @kleave, { 2, 1, 0 }
uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @printk, { 1, 0 }
uselistorder i32 0, { 2, 3, 4, 1, 5, 0 }
uselistorder i64 16, { 1, 0 }
uselistorder i64 (i8*, i64, i64, i64, i64, i64)* @kdebug, { 5, 4, 3, 2, 1, 0 }
uselistorder i1 false, { 2, 3, 4, 5, 6, 7, 8, 0, 1, 9, 10 }
uselistorder i64* null, { 1, 2, 0, 3 }
uselistorder i64* (i64*, i32, i32)* @memchr, { 3, 2, 0, 1 }
uselistorder i32 35, { 1, 0, 2 }
uselistorder i64 4294967274, { 0, 4, 3, 2, 1 }
uselistorder i64 %arg3, { 1, 3, 0, 2, 4, 5, 6 }
uselistorder i64 %arg2, { 5, 1, 4, 0, 3, 6, 2, 7, 8 }
uselistorder label LBL_22, { 3, 4, 0, 5, 6, 7, 2, 1 }
uselistorder label LBL_15, { 0, 1, 2, 4, 3 }
uselistorder label LBL_9, { 1, 0 }
} | 1 |
BinRealVul | virtio_serial_class_init_14520 | virtio_serial_class_init | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
store i64 4198662, i64* %arg1, align 8
%1 = add i64 %0, 8
%2 = inttoptr i64 %1 to i64*
store i64 ptrtoint (i64* @gv_0 to i64), i64* %2, align 8
%3 = add i64 %0, 16
%4 = inttoptr i64 %3 to i64*
%5 = load i64, i64* %4, align 8
%6 = call i64 @FUNC(i64 0, i64 %5)
store i64 4198669, i64* %arg1, align 8
store i64 4198676, i64* %2, align 8
store i64 4198683, i64* %4, align 8
%7 = add i64 %0, 24
%8 = inttoptr i64 %7 to i64*
store i64 4198690, i64* %8, align 8
%9 = add i64 %0, 32
%10 = inttoptr i64 %9 to i64*
store i64 4198697, i64* %10, align 8
%11 = add i64 %0, 40
%12 = inttoptr i64 %11 to i64*
store i64 4198704, i64* %12, align 8
ret i64 %0
uselistorder i64 %0, { 1, 0, 2, 3, 4, 5 }
} | 1 |
BinRealVul | horizX1Filter_15013 | horizX1Filter | define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr {
LBL_0:
%sv_0.08.reg2mem = alloca i64
%storemerge9.reg2mem = alloca i32
%storemerge610.reg2mem = alloca i32
%indvars.iv.reg2mem = alloca i64
%.reg2mem = alloca i64
%0 = load i64, i64* @gv_0, align 8
%1 = icmp eq i64 %0, 0
%2 = icmp eq i1 %1, false
br i1 %2, label LBL_4, label LBL_1
LBL_1:
%3 = call i64 @FUNC(i64 2048)
store i64 %3, i64* @gv_0, align 8
store i64 %3, i64* %.reg2mem
store i64 0, i64* %indvars.iv.reg2mem
store i32 0, i32* %storemerge610.reg2mem
br label LBL_2
LBL_2:
%storemerge610.reload = load i32, i32* %storemerge610.reg2mem
%indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem
%.reload = load i64, i64* %.reg2mem
%4 = icmp ugt i64 %indvars.iv.reload, 127
%5 = mul i32 %storemerge610.reload, 2
%6 = add nuw nsw i32 %5, -512
%indvars.iv.tr = trunc i64 %indvars.iv.reload to i32
%7 = mul i32 %indvars.iv.tr, 2
%storemerge7.in = select i1 %4, i32 %6, i32 %7
%storemerge7 = zext i32 %storemerge7.in to i64
%8 = add i32 %storemerge7.in, 15
%9 = icmp slt i32 %storemerge7.in, 0
%10 = select i1 %9, i32 %8, i32 %storemerge7.in
%11 = udiv i32 %10, 16
%12 = zext i32 %11 to i64
%13 = mul i32 %storemerge7.in, 3
%14 = add i32 %13, 15
%15 = icmp slt i32 %13, 0
%16 = select i1 %15, i32 %14, i32 %13
%17 = udiv i32 %16, 16
%18 = urem i32 %17, 256
%19 = zext i32 %18 to i64
%20 = mul i32 %storemerge7.in, 5
%21 = add i32 %20, 15
%22 = icmp slt i32 %20, 0
%23 = select i1 %22, i32 %21, i32 %20
%24 = udiv i32 %23, 16
%25 = urem i32 %24, 256
%26 = zext i32 %25 to i64
%27 = mul i32 %storemerge7.in, 7
%28 = icmp slt i32 %27, 0
%29 = sub nsw i32 0, %11
%30 = urem i32 %29, 256
%31 = zext i32 %30 to i64
%32 = mul i64 %12, 72057594037927936
%33 = mul i64 %19, 281474976710656
%34 = mul i64 %26, 1099511627776
%35 = mul nuw nsw i64 %storemerge7, 1879048192
%36 = add nuw i64 %35, 4026531840
%37 = select i1 %28, i64 %36, i64 %35
%38 = urem i64 %37, 1095216660481
%39 = mul i32 %24, 16777216
%40 = sub i32 0, %39
%41 = zext i32 %40 to i64
%42 = mul i32 %24, 65536
%43 = sub i32 0, %42
%44 = and i32 %43, 16711680
%45 = zext i32 %44 to i64
%46 = mul i32 %17, 256
%47 = sub i32 0, %46
%48 = and i32 %47, 65280
%49 = zext i32 %48 to i64
%50 = mul i64 %indvars.iv.reload, 8
%51 = add i64 %50, %.reload
%52 = or i64 %38, %32
%53 = or i64 %52, %31
%54 = or i64 %53, %41
%55 = or i64 %54, %33
%56 = or i64 %55, %34
%57 = or i64 %56, %45
%58 = or i64 %57, %49
%59 = inttoptr i64 %51 to i64*
store i64 %58, i64* %59, align 8
%indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1
%exitcond11 = icmp eq i64 %indvars.iv.next, 256
br i1 %exitcond11, label LBL_4, label LBL_2.LBL_2_crit_edge
LBL_3:
%60 = add nuw nsw i32 %storemerge610.reload, 1
%.pre = load i64, i64* @gv_0, align 8
store i64 %.pre, i64* %.reg2mem
store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem
store i32 %60, i32* %storemerge610.reg2mem
br label LBL_2
LBL_4:
%61 = ptrtoint i64* %arg1 to i64
%sext = mul i64 %arg2, 4294967296
%62 = ashr exact i64 %sext, 32
store i32 0, i32* %storemerge9.reg2mem
store i64 %61, i64* %sv_0.08.reg2mem
br label LBL_5
LBL_5:
%sv_0.08.reload = load i64, i64* %sv_0.08.reg2mem
%storemerge9.reload = load i32, i32* %storemerge9.reg2mem
%63 = add i64 %sv_0.08.reload, 1
%64 = inttoptr i64 %63 to i8*
%65 = load i8, i8* %64, align 1
%66 = add i64 %sv_0.08.reload, 2
%67 = inttoptr i64 %66 to i8*
%68 = load i8, i8* %67, align 1
%69 = zext i8 %65 to i32
%70 = zext i8 %68 to i32
%71 = sub nsw i32 %69, %70
%72 = add i64 %sv_0.08.reload, 3
%73 = inttoptr i64 %72 to i8*
%74 = load i8, i8* %73, align 1
%75 = add i64 %sv_0.08.reload, 4
%76 = inttoptr i64 %75 to i8*
%77 = load i8, i8* %76, align 1
%78 = zext i8 %74 to i32
%79 = zext i8 %77 to i32
%80 = sub nsw i32 %78, %79
%81 = add i64 %sv_0.08.reload, 5
%82 = inttoptr i64 %81 to i8*
%83 = load i8, i8* %82, align 1
%84 = add i64 %sv_0.08.reload, 6
%85 = inttoptr i64 %84 to i8*
%86 = load i8, i8* %85, align 1
%87 = zext i8 %83 to i32
%88 = zext i8 %86 to i32
%89 = sub nsw i32 %87, %88
%90 = sub nsw i32 0, %80
%91 = icmp sgt i32 %80, 0
%92 = icmp eq i1 %91, false
%93 = select i1 %92, i32 %90, i32 %80
%94 = sub nsw i32 0, %71
%95 = icmp sgt i32 %71, 0
%96 = icmp eq i1 %95, false
%97 = select i1 %96, i32 %94, i32 %71
%98 = sub nsw i32 0, %89
%99 = icmp sgt i32 %89, 0
%100 = icmp eq i1 %99, false
%101 = select i1 %100, i32 %98, i32 %89
%102 = add nsw i32 %101, %97
%103 = icmp slt i32 %102, 0
%104 = zext i1 %103 to i32
%105 = add nsw i32 %102, %104
%106 = ashr i32 %105, 1
%107 = sub nsw i32 %93, %106
%108 = icmp sgt i32 %107, 0
%109 = select i1 %108, i32 %107, i32 0
%110 = icmp slt i32 %109, %arg3
br i1 %110, label LBL_6, label LBL_7
LBL_6:
%111 = icmp slt i32 %80, 1
%112 = select i1 %111, i32 1, i32 -1
%113 = mul i32 %109, %112
%114 = add i32 %113, 7
%115 = icmp slt i32 %113, 0
%116 = select i1 %115, i32 %114, i32 %113
%117 = udiv i32 %116, 8
%118 = trunc i32 %117 to i8
%119 = add i8 %65, %118
store i8 %119, i8* %64, align 1
%120 = load i8, i8* %67, align 1
%121 = add i32 %113, 3
%122 = select i1 %115, i32 %121, i32 %113
%123 = udiv i32 %122, 4
%124 = trunc i32 %123 to i8
%125 = add i8 %120, %124
store i8 %125, i8* %67, align 1
%126 = load i8, i8* %73, align 1
%127 = mul i32 %113, 3
%128 = add i32 %127, 7
%129 = icmp slt i32 %127, 0
%130 = select i1 %129, i32 %128, i32 %127
%131 = udiv i32 %130, 8
%132 = trunc i32 %131 to i8
%133 = add i8 %126, %132
store i8 %133, i8* %73, align 1
%134 = load i8, i8* %76, align 1
%135 = sub i8 %134, %132
store i8 %135, i8* %76, align 1
%136 = load i8, i8* %82, align 1
%137 = sub i8 %136, %124
store i8 %137, i8* %82, align 1
%138 = load i8, i8* %85, align 1
%139 = sub i8 %138, %118
store i8 %139, i8* %85, align 1
br label LBL_7
LBL_7:
%140 = add i64 %sv_0.08.reload, %62
%141 = add nuw nsw i32 %storemerge9.reload, 1
%exitcond = icmp eq i32 %141, 8
store i32 %141, i32* %storemerge9.reg2mem
store i64 %140, i64* %sv_0.08.reg2mem
br i1 %exitcond, label LBL_8, label LBL_5
LBL_8:
ret i64 %62
uselistorder i8 %132, { 1, 0 }
uselistorder i8 %124, { 1, 0 }
uselistorder i8 %118, { 1, 0 }
uselistorder i32 %89, { 2, 0, 1 }
uselistorder i8* %85, { 1, 0, 2 }
uselistorder i8* %82, { 1, 0, 2 }
uselistorder i8* %76, { 1, 0, 2 }
uselistorder i8* %73, { 1, 0, 2 }
uselistorder i32 %71, { 2, 0, 1 }
uselistorder i8* %67, { 1, 0, 2 }
uselistorder i64 %sv_0.08.reload, { 6, 1, 0, 4, 5, 3, 2 }
uselistorder i64 %62, { 1, 0 }
uselistorder i64 %35, { 1, 0 }
uselistorder i32 %20, { 2, 1, 0 }
uselistorder i32 %13, { 2, 1, 0 }
uselistorder i32 %storemerge7.in, { 6, 0, 1, 5, 4, 3, 2 }
uselistorder i64 %indvars.iv.reload, { 0, 3, 2, 1 }
uselistorder i64* %.reg2mem, { 1, 0, 2 }
uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }
uselistorder i32* %storemerge610.reg2mem, { 1, 0, 2 }
uselistorder i32* %storemerge9.reg2mem, { 1, 0, 2 }
uselistorder i64* %sv_0.08.reg2mem, { 1, 0, 2 }
uselistorder i32 8, { 2, 0, 1 }
uselistorder i64 1, { 1, 0 }
uselistorder i32 7, { 1, 2, 0 }
uselistorder i32 3, { 1, 2, 0 }
uselistorder i32 0, { 12, 13, 9, 10, 2, 3, 14, 4, 15, 11, 16, 0, 6, 7, 5, 8, 17, 18, 19, 20, 1 }
uselistorder label LBL_7, { 1, 0 }
} | 1 |
BinRealVul | msGetGDALBandList_7749 | msGetGDALBandList | define i64 @FUNC(i64* %arg1, i64 %arg2, i32 %arg3, i64* %arg4) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%storemerge3.reg2mem = alloca i32
%.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%rcx = alloca i64, align 8
%3 = load i64, i64* %0
%4 = call i64 @FUNC(i64 %arg2)
%5 = trunc i64 %4 to i32
%6 = icmp eq i32 %5, 0
%7 = icmp eq i1 %6, false
br i1 %7, label LBL_2, label LBL_1
LBL_1:
%8 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([57 x i8], [57 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_1, i64 0, i64 0), i64 %arg2, i64 %2, i64 %1)
store i64 0, i64* %rax.0.reg2mem
br label LBL_16
LBL_2:
%9 = ptrtoint i64* %arg1 to i64
%10 = add i64 %9, 8
%11 = inttoptr i64 %10 to i64*
%12 = load i64, i64* %11, align 8
%13 = call i64 @FUNC(i64 %12, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_2, i64 0, i64 0))
%14 = icmp eq i64 %13, 0
%15 = icmp eq i1 %14, false
br i1 %15, label LBL_9, label LBL_3
LBL_3:
%16 = icmp slt i32 %arg3, 1
br i1 %16, label LBL_5, label LBL_4
LBL_4:
%17 = sub i32 %arg3, %5
%18 = xor i32 %5, %arg3
%19 = xor i32 %17, %arg3
%20 = and i32 %19, %18
%21 = icmp slt i32 %20, 0
%22 = icmp eq i32 %17, 0
%23 = icmp slt i32 %17, 0
%24 = icmp eq i1 %23, %21
%25 = icmp eq i1 %22, false
%26 = icmp eq i1 %24, %25
%27 = select i1 %26, i32 %5, i32 %arg3
%28 = bitcast i64* %arg4 to i32*
store i32 %27, i32* %28, align 4
br label LBL_6
LBL_5:
%29 = bitcast i64* %arg4 to i32*
store i32 %5, i32* %29, align 4
br label LBL_6
LBL_6:
%30 = trunc i64 %3 to i32
%31 = mul i32 %30, 4
%32 = call i64* @malloc(i32 %31)
%33 = icmp eq i64* %32, null
%34 = icmp eq i1 %33, false
store i64 0, i64* %rax.0.reg2mem
br i1 %34, label LBL_7, label LBL_16
LBL_7:
%35 = bitcast i64* %rcx to i32*
%36 = ptrtoint i64* %32 to i64
%37 = icmp eq i32 %30, 0
store i64 0, i64* %.reg2mem
store i32 0, i32* %storemerge3.reg2mem
store i64 %36, i64* %rax.0.reg2mem
br i1 %37, label LBL_16, label LBL_8
LBL_8:
%storemerge3.reload = load i32, i32* %storemerge3.reg2mem
%.reload = load i64, i64* %.reg2mem
%38 = mul i64 %.reload, 4
%39 = add i64 %38, %36
%40 = add i32 %storemerge3.reload, 1
%41 = inttoptr i64 %39 to i32*
store i32 %40, i32* %41, align 4
%42 = load i32, i32* %35, align 8
%43 = zext i32 %42 to i64
%44 = sext i32 %40 to i64
%45 = icmp slt i64 %44, %43
store i64 %44, i64* %.reg2mem
store i32 %40, i32* %storemerge3.reg2mem
store i64 %36, i64* %rax.0.reg2mem
br i1 %45, label LBL_8, label LBL_16
LBL_9:
%46 = load i64, i64* %11, align 8
%47 = call i64 @FUNC(i64 %46, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_2, i64 0, i64 0))
store i64 0, i64* %rcx, align 8
%48 = call i64 @FUNC(i64 %47, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_3, i64 0, i64 0), i64 0, i64 0)
%49 = call i64 @FUNC(i64 %48)
%50 = trunc i64 %49 to i32
%51 = icmp eq i32 %50, 0
%52 = icmp eq i1 %51, false
br i1 %52, label LBL_11, label LBL_10
LBL_10:
%53 = call i64 @FUNC(i64 %48)
%54 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_4, i64 0, i64 0), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_1, i64 0, i64 0), i64 0, i64 %2, i64 %1)
store i64 0, i64* %rax.0.reg2mem
br label LBL_16
LBL_11:
%55 = icmp eq i32 %arg3, 0
br i1 %55, label LBL_14, label LBL_12
LBL_12:
%56 = call i64 @FUNC(i64 %48)
%57 = sext i32 %arg3 to i64
%58 = icmp sgt i64 %56, %57
br i1 %58, label LBL_13, label LBL_14
LBL_13:
%59 = call i64 @FUNC(i64 %48)
%60 = and i64 %59, 4294967295
%61 = zext i32 %arg3 to i64
%62 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([83 x i8], [83 x i8]* @gv_5, i64 0, i64 0), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_1, i64 0, i64 0), i64 %61, i64 %60, i64 %1)
%63 = call i64 @FUNC(i64 %48)
store i64 0, i64* %rax.0.reg2mem
br label LBL_16
LBL_14:
%64 = call i64 @FUNC(i64 %48)
%65 = trunc i64 %64 to i32
%66 = bitcast i64* %arg4 to i32*
store i32 %65, i32* %66, align 4
%67 = call i64* @malloc(i32 0)
%68 = icmp eq i64* %67, null
%69 = icmp eq i1 %68, false
store i64 0, i64* %rax.0.reg2mem
br i1 %69, label LBL_15, label LBL_16
LBL_15:
%70 = ptrtoint i64* %67 to i64
%71 = call i64 @FUNC(i64 %48)
store i64 %70, i64* %rax.0.reg2mem
br label LBL_16
LBL_16:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64* %67, { 1, 0 }
uselistorder i64 %48, { 4, 5, 1, 2, 3, 0, 6 }
uselistorder i64 %36, { 0, 2, 1 }
uselistorder i64* %32, { 1, 0 }
uselistorder i32 %30, { 1, 0 }
uselistorder i32 %17, { 1, 2, 0 }
uselistorder i32 %5, { 3, 2, 0, 1, 4 }
uselistorder i64 %2, { 1, 0 }
uselistorder i64 %1, { 2, 1, 0 }
uselistorder i64* %.reg2mem, { 2, 0, 1 }
uselistorder i32* %storemerge3.reg2mem, { 2, 0, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 8, 3, 7, 6, 1, 2, 4, 5 }
uselistorder i64* %0, { 2, 1, 0 }
uselistorder i64 (i64)* @CSLDestroy, { 2, 1, 0 }
uselistorder i64 (i64)* @CSLCount, { 3, 2, 1, 0 }
uselistorder i64* (i32)* @malloc, { 0, 2, 1 }
uselistorder i64 (i64, i8*)* @CSLFetchNameValue, { 1, 0 }
uselistorder i64 8, { 1, 0, 2 }
uselistorder i64 (i64, i8*, i8*, i64, i64, i64)* @msSetError, { 2, 1, 0 }
uselistorder i64 1, { 1, 2, 3, 0 }
uselistorder i32 %arg3, { 5, 6, 7, 3, 0, 1, 4, 2 }
uselistorder label LBL_16, { 4, 2, 5, 6, 0, 1, 3, 7 }
uselistorder label LBL_8, { 1, 0 }
} | 1 |
BinRealVul | inode_change_ok_12187 | inode_change_ok | define i64 @FUNC(i32* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%.pre-phi.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = ptrtoint i64* %arg2 to i64
%4 = trunc i64 %2 to i32
%5 = urem i32 %4, 2
%6 = icmp eq i32 %5, 0
br i1 %6, label LBL_3, label LBL_1
LBL_1:
%7 = add i64 %3, 4
%8 = inttoptr i64 %7 to i32*
%9 = load i32, i32* %8, align 4
%10 = ptrtoint i32* %arg1 to i64
%11 = zext i32 %9 to i64
%12 = call i64 @FUNC(i64 %10, i64 %11)
%13 = trunc i64 %12 to i32
%14 = icmp eq i32 %13, 0
br i1 %14, label LBL_3, label LBL_2
LBL_2:
%15 = and i64 %12, 4294967295
store i64 %15, i64* %rax.0.reg2mem
br label LBL_22
LBL_3:
%16 = and i32 %4, 2
%17 = icmp eq i32 %16, 0
store i64 0, i64* %rax.0.reg2mem
br i1 %17, label LBL_4, label LBL_22
LBL_4:
%18 = and i32 %4, 4
%19 = icmp eq i32 %18, 0
br i1 %19, label LBL_8, label LBL_5
LBL_5:
%20 = call i64 @FUNC()
%21 = and i64 %1, 4294967295
%22 = and i64 %20, 4294967295
%23 = call i64 @FUNC(i64 %22, i64 %21)
%24 = trunc i64 %23 to i32
%25 = icmp eq i32 %24, 0
br i1 %25, label LBL_7, label LBL_6
LBL_6:
%26 = add i64 %3, 8
%27 = inttoptr i64 %26 to i32*
%28 = load i32, i32* %27, align 4
%29 = zext i32 %28 to i64
%30 = call i64 @FUNC(i64 %29, i64 %21)
%31 = trunc i64 %30 to i32
%32 = icmp eq i32 %31, 0
%33 = icmp eq i1 %32, false
br i1 %33, label LBL_8, label LBL_7
LBL_7:
%34 = ptrtoint i32* %arg1 to i64
%35 = call i64 @FUNC(i64 %34, i64 1)
%36 = trunc i64 %35 to i32
%37 = icmp eq i32 %36, 0
%38 = icmp eq i1 %37, false
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %38, label LBL_8, label LBL_22
LBL_8:
%39 = and i32 %4, 8
%40 = icmp eq i32 %39, 0
br i1 %40, label LBL_14, label LBL_9
LBL_9:
%41 = call i64 @FUNC()
%42 = and i64 %1, 4294967295
%43 = and i64 %41, 4294967295
%44 = call i64 @FUNC(i64 %43, i64 %42)
%45 = trunc i64 %44 to i32
%46 = icmp eq i32 %45, 0
br i1 %46, label LBL_9.LBL_13_crit_edge, label LBL_11
LBL_10:
%.pre = ptrtoint i32* %arg1 to i64
store i64 %.pre, i64* %.pre-phi.reg2mem
br label LBL_13
LBL_11:
%47 = add i64 %3, 12
%48 = inttoptr i64 %47 to i32*
%49 = load i32, i32* %48, align 4
%50 = zext i32 %49 to i64
%51 = call i64 @FUNC(i64 %50)
%52 = trunc i64 %51 to i32
%53 = icmp eq i32 %52, 0
%54 = icmp eq i1 %53, false
br i1 %54, label LBL_14, label LBL_12
LBL_12:
%55 = ptrtoint i32* %arg1 to i64
%56 = add i64 %55, 4
%57 = inttoptr i64 %56 to i32*
%58 = load i32, i32* %57, align 4
%59 = load i32, i32* %48, align 4
%60 = zext i32 %58 to i64
%61 = zext i32 %59 to i64
%62 = call i64 @FUNC(i64 %61, i64 %60)
%63 = trunc i64 %62 to i32
%64 = icmp eq i32 %63, 0
%65 = icmp eq i1 %64, false
store i64 %55, i64* %.pre-phi.reg2mem
br i1 %65, label LBL_14, label LBL_13
LBL_13:
%.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem
%66 = call i64 @FUNC(i64 %.pre-phi.reload, i64 1)
%67 = trunc i64 %66 to i32
%68 = icmp eq i32 %67, 0
%69 = icmp eq i1 %68, false
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %69, label LBL_14, label LBL_22
LBL_14:
%70 = and i32 %4, 16
%71 = icmp eq i32 %70, 0
br i1 %71, label LBL_19, label LBL_15
LBL_15:
%72 = ptrtoint i32* %arg1 to i64
%73 = call i64 @FUNC(i64 %72)
%74 = trunc i64 %73 to i32
%75 = icmp eq i32 %74, 0
%76 = icmp eq i1 %75, false
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %76, label LBL_16, label LBL_22
LBL_16:
%77 = add i64 %72, 4
%78 = add i64 %3, 12
%storemerge.in.in.in = select i1 %40, i64 %77, i64 %78
%storemerge.in.in = inttoptr i64 %storemerge.in.in.in to i32*
%storemerge.in = load i32, i32* %storemerge.in.in, align 4
%storemerge = zext i32 %storemerge.in to i64
%79 = call i64 @FUNC(i64 %storemerge)
%80 = trunc i64 %79 to i32
%81 = icmp eq i32 %80, 0
%82 = icmp eq i1 %81, false
br i1 %82, label LBL_19, label LBL_17
LBL_17:
%83 = call i64 @FUNC(i64 %72, i64 2)
%84 = trunc i64 %83 to i32
%85 = icmp eq i32 %84, 0
%86 = icmp eq i1 %85, false
br i1 %86, label LBL_19, label LBL_18
LBL_18:
%87 = add i64 %3, 16
%88 = inttoptr i64 %87 to i32*
%89 = load i32, i32* %88, align 4
%90 = and i32 %89, -513
store i32 %90, i32* %88, align 4
br label LBL_19
LBL_19:
%91 = and i32 %4, 224
%92 = icmp eq i32 %91, 0
br i1 %92, label LBL_21, label LBL_20
LBL_20:
%93 = ptrtoint i32* %arg1 to i64
%94 = call i64 @FUNC(i64 %93)
%95 = trunc i64 %94 to i32
%96 = icmp eq i32 %95, 0
%97 = icmp eq i1 %96, false
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %97, label LBL_21, label LBL_22
LBL_21:
store i64 0, i64* %rax.0.reg2mem
br label LBL_22
LBL_22:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %21, { 1, 0 }
uselistorder i32 %4, { 5, 4, 3, 1, 2, 0 }
uselistorder i64 %3, { 3, 4, 2, 1, 0 }
uselistorder i64 %1, { 1, 0 }
uselistorder i64* %rax.0.reg2mem, { 0, 7, 1, 2, 3, 4, 5, 6 }
uselistorder i64* %0, { 1, 0 }
uselistorder i64 (i64)* @inode_owner_or_capable, { 1, 0 }
uselistorder i64 (i64)* @in_group_p, { 1, 0 }
uselistorder i64 (i64, i64)* @inode_capable, { 2, 1, 0 }
uselistorder i64 1, { 2, 3, 0, 1 }
uselistorder i64 (i64, i64)* @uid_eq, { 2, 1, 0 }
uselistorder i64 ()* @current_fsuid, { 1, 0 }
uselistorder i32 2, { 1, 0 }
uselistorder i32* %arg1, { 5, 4, 3, 0, 2, 1 }
uselistorder label LBL_22, { 5, 0, 1, 2, 3, 4, 6 }
uselistorder label LBL_13, { 1, 0 }
} | 1 |
BinRealVul | ssh_bind_accept_fd_11887 | ssh_bind_accept_fd | define i64 @FUNC(i64 %arg1, i64 %arg2, i32 %arg3) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%.reg2mem = alloca i64
%indvars.iv.reg2mem = alloca i64
%0 = icmp eq i64 %arg2, 0
%1 = icmp eq i1 %0, false
br i1 %1, label LBL_2, label LBL_1
LBL_1:
%2 = call i64 @FUNC(i64 %arg1, i64 1, i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_0, i64 0, i64 0))
store i64 4294967295, i64* %rax.0.reg2mem
br label LBL_22
LBL_2:
%3 = inttoptr i64 %arg2 to i32*
store i32 1, i32* %3, align 4
%4 = add i64 %arg2, 4
%5 = inttoptr i64 %4 to i32*
store i32 2, i32* %5, align 4
%6 = add i64 %arg2, 8
store i64 0, i64* %indvars.iv.reg2mem
br label LBL_3
LBL_3:
%indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem
%7 = mul i64 %indvars.iv.reload, 8
%8 = add i64 %7, %arg1
%9 = inttoptr i64 %8 to i64*
%10 = load i64, i64* %9, align 8
%11 = icmp eq i64 %10, 0
br i1 %11, label LBL_5, label LBL_4
LBL_4:
%12 = inttoptr i64 %10 to i8*
%13 = call i8* @strdup(i8* %12)
%14 = ptrtoint i8* %13 to i64
%15 = add i64 %6, %7
%16 = inttoptr i64 %15 to i64*
store i64 %14, i64* %16, align 8
%17 = icmp eq i8* %13, null
%18 = icmp eq i1 %17, false
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %18, label LBL_5, label LBL_22
LBL_5:
%indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1
%19 = icmp ult i64 %indvars.iv.next, 10
store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem
br i1 %19, label LBL_3, label LBL_6
LBL_6:
%20 = add i64 %arg1, 80
%21 = inttoptr i64 %20 to i64*
%22 = load i64, i64* %21, align 8
%23 = icmp eq i64 %22, 0
%24 = icmp eq i1 %23, false
%25 = add i64 %arg2, 88
%26 = inttoptr i64 %25 to i64*
br i1 %24, label LBL_8, label LBL_7
LBL_7:
store i64 0, i64* %26, align 8
br label LBL_11
LBL_8:
%27 = load i64, i64* %26, align 8
%28 = icmp eq i64 %27, 0
store i64 %22, i64* %.reg2mem
br i1 %28, label LBL_10, label LBL_9
LBL_9:
%29 = inttoptr i64 %27 to i64*
call void @free(i64* %29)
store i64 0, i64* %26, align 8
%.pre = load i64, i64* %21, align 8
store i64 %.pre, i64* %.reg2mem
br label LBL_10
LBL_10:
%.reload = load i64, i64* %.reg2mem
%30 = inttoptr i64 %.reload to i8*
%31 = call i8* @strdup(i8* %30)
%32 = ptrtoint i8* %31 to i64
store i64 %32, i64* %26, align 8
%33 = icmp eq i8* %31, null
%34 = icmp eq i1 %33, false
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %34, label LBL_11, label LBL_22
LBL_11:
%35 = add i64 %arg1, 96
%36 = inttoptr i64 %35 to i32*
%37 = load i32, i32* %36, align 4
%38 = add i64 %arg2, 104
%39 = inttoptr i64 %38 to i32*
store i32 %37, i32* %39, align 4
%40 = add i64 %arg1, 88
%41 = inttoptr i64 %40 to i64*
%42 = load i64, i64* %41, align 8
%43 = icmp eq i64 %42, 0
br i1 %43, label LBL_13, label LBL_12
LBL_12:
%44 = inttoptr i64 %42 to i8*
%45 = call i8* @strdup(i8* %44)
%46 = ptrtoint i8* %45 to i64
%47 = add i64 %arg2, 96
%48 = inttoptr i64 %47 to i64*
store i64 %46, i64* %48, align 8
br label LBL_13
LBL_13:
%49 = add i64 %arg2, 112
%50 = inttoptr i64 %49 to i64*
%51 = load i64, i64* %50, align 8
%52 = call i64 @FUNC(i64 %51)
%53 = call i64 @FUNC(i64 %arg2)
store i64 %53, i64* %50, align 8
%54 = icmp eq i64 %53, 0
%55 = icmp eq i1 %54, false
br i1 %55, label LBL_15, label LBL_14
LBL_14:
%56 = call i64 @FUNC(i64 %arg1)
store i64 4294967295, i64* %rax.0.reg2mem
br label LBL_22
LBL_15:
%57 = zext i32 %arg3 to i64
%58 = call i64 @FUNC(i64 %53, i64 %57)
%59 = load i64, i64* %50, align 8
%60 = call i64 @FUNC(i64 %59)
%61 = call i64 @FUNC(i64 %arg1)
%62 = trunc i64 %61 to i32
%63 = icmp eq i32 %62, 0
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %63, label LBL_16, label LBL_22
LBL_16:
%64 = add i64 %arg1, 112
%65 = inttoptr i64 %64 to i64*
%66 = load i64, i64* %65, align 8
%67 = icmp eq i64 %66, 0
br i1 %67, label LBL_19, label LBL_17
LBL_17:
%68 = call i64 @FUNC(i64 %66)
%69 = add i64 %arg2, 128
%70 = inttoptr i64 %69 to i64*
store i64 %68, i64* %70, align 8
%71 = icmp eq i64 %68, 0
%72 = icmp eq i1 %71, false
br i1 %72, label LBL_19, label LBL_18
LBL_18:
%73 = call i64 @FUNC(i64 %arg1)
store i64 4294967295, i64* %rax.0.reg2mem
br label LBL_22
LBL_19:
%74 = add i64 %arg1, 120
%75 = inttoptr i64 %74 to i64*
%76 = load i64, i64* %75, align 8
%77 = icmp eq i64 %76, 0
store i64 0, i64* %rax.0.reg2mem
br i1 %77, label LBL_22, label LBL_20
LBL_20:
%78 = call i64 @FUNC(i64 %76)
%79 = add i64 %arg2, 136
%80 = inttoptr i64 %79 to i64*
store i64 %78, i64* %80, align 8
%81 = icmp eq i64 %78, 0
%82 = icmp eq i1 %81, false
store i64 0, i64* %rax.0.reg2mem
br i1 %82, label LBL_22, label LBL_21
LBL_21:
%83 = call i64 @FUNC(i64 %arg1)
store i64 4294967295, i64* %rax.0.reg2mem
br label LBL_22
LBL_22:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %53, { 1, 0, 2 }
uselistorder i64* %26, { 1, 0, 3, 2 }
uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }
uselistorder i64* %.reg2mem, { 0, 2, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 9, 3, 2, 8, 4, 7, 5, 1, 6 }
uselistorder i64 (i64)* @ssh_key_dup, { 1, 0 }
uselistorder i64 (i64)* @ssh_set_error_oom, { 2, 1, 0 }
uselistorder i8* null, { 1, 0 }
uselistorder i8* (i8*)* @strdup, { 2, 1, 0 }
uselistorder i1 false, { 0, 1, 2, 3, 5, 4, 6 }
uselistorder i32 1, { 5, 3, 2, 1, 0, 4 }
uselistorder i64 %arg2, { 2, 1, 3, 4, 0, 5, 6, 7, 8, 9, 10 }
uselistorder i64 %arg1, { 4, 5, 3, 6, 7, 2, 8, 9, 10, 0, 1 }
uselistorder label LBL_22, { 5, 2, 1, 6, 3, 7, 4, 0, 8 }
uselistorder label LBL_3, { 1, 0 }
} | 1 |
reposvul_c_test | opj_j2k_convert_progression_order_163 | opj_j2k_convert_progression_order | define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%storemerge3.lcssa.reg2mem = alloca i32*
%storemerge34.reg2mem = alloca i32*
%.reg2mem = alloca i32
%0 = trunc i64 %arg1 to i32
store i32 1, i32* %.reg2mem
store i32* bitcast (i32** @gv_0 to i32*), i32** %storemerge34.reg2mem
br label LBL_1
LBL_1:
%storemerge34.reload = load i32*, i32** %storemerge34.reg2mem
%.reload = load i32, i32* %.reg2mem
%1 = icmp eq i32 %.reload, %0
%2 = icmp eq i1 %1, false
store i32* %storemerge34.reload, i32** %storemerge3.lcssa.reg2mem
br i1 %2, label LBL_2, label LBL_3
LBL_2:
%3 = ptrtoint i32* %storemerge34.reload to i64
%4 = add i64 %3, 16
%5 = inttoptr i64 %4 to i32*
%6 = load i32, i32* %5, align 4
%7 = icmp eq i32 %6, -1
%8 = icmp eq i1 %7, false
store i32 %6, i32* %.reg2mem
store i32* %5, i32** %storemerge34.reg2mem
store i32* %5, i32** %storemerge3.lcssa.reg2mem
br i1 %8, label LBL_1, label LBL_3
LBL_3:
%storemerge3.lcssa.reload = load i32*, i32** %storemerge3.lcssa.reg2mem
%storemerge.in.in.in = ptrtoint i32* %storemerge3.lcssa.reload to i64
%storemerge.in.in = add i64 %storemerge.in.in.in, 8
%storemerge.in = inttoptr i64 %storemerge.in.in to i64*
%storemerge = load i64, i64* %storemerge.in, align 8
ret i64 %storemerge
uselistorder i32* %storemerge34.reload, { 1, 0 }
uselistorder i32* %.reg2mem, { 1, 0, 2 }
uselistorder i32** %storemerge34.reg2mem, { 1, 0, 2 }
uselistorder i1 false, { 1, 0 }
uselistorder i32 1, { 2, 3, 1, 0 }
uselistorder label LBL_1, { 1, 0 }
} | 0 |
BinRealVul | init_vlcs_15121 | init_vlcs | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%rax.1.reg2mem = alloca i64
%indvars.iv.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%sv_0 = alloca i64, align 8
store i64 %0, i64* %sv_0, align 8
%1 = load i32, i32* @gv_0, align 4
%2 = zext i32 %1 to i64
%3 = icmp eq i32 %1, 0
%4 = icmp eq i1 %3, false
store i64 %2, i64* %rax.1.reg2mem
br i1 %4, label LBL_3, label LBL_1
LBL_1:
%5 = ptrtoint i64* %sv_0 to i64
store i32 1, i32* @gv_0, align 4
%6 = add i64 %5, -8
%7 = inttoptr i64 %6 to i64*
%8 = add i64 %5, -16
%9 = inttoptr i64 %8 to i64*
%10 = add i64 %5, -24
%11 = inttoptr i64 %10 to i64*
store i64 0, i64* %indvars.iv.reg2mem
br label LBL_2
LBL_2:
%indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem
%12 = mul i64 %indvars.iv.reload, 8
%13 = add i64 %12, ptrtoint (i64* @gv_1 to i64)
%14 = add nuw nsw i64 %12, 4210788
%15 = mul i64 %indvars.iv.reload, 4
%16 = add i64 %15, ptrtoint (i64* @gv_2 to i64)
store i64 1, i64* %7, align 8
store i64 2, i64* %9, align 8
store i64 %13, i64* %11, align 8
%17 = call i64 @FUNC(i64 %16, i64 8, i64 7, i64 %14, i64 2, i64 1)
%indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1
%exitcond = icmp eq i64 %indvars.iv.next, 4
store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem
store i64 %17, i64* %rax.1.reg2mem
br i1 %exitcond, label LBL_3, label LBL_2
LBL_3:
%rax.1.reload = load i64, i64* %rax.1.reg2mem
ret i64 %rax.1.reload
uselistorder i64 %12, { 1, 0 }
uselistorder i64 %indvars.iv.reload, { 0, 2, 1 }
uselistorder i64* %sv_0, { 1, 0 }
uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }
uselistorder i64 4, { 1, 0 }
uselistorder i64 8, { 1, 0 }
uselistorder i32 0, { 1, 0 }
uselistorder i32* @gv_0, { 1, 0 }
} | 1 |
BinRealVul | read_SubStreamsInfo_7505 | read_SubStreamsInfo | define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3, i64 %arg4) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%sv_0.2.in.reg2mem = alloca i8
%sv_1.1.reg2mem = alloca i32
%sv_2.1.reg2mem = alloca i32*
%sv_3.1.reg2mem = alloca i8*
%sv_3.015.reg2mem = alloca i8*
%sv_2.016.reg2mem = alloca i32*
%sv_1.017.reg2mem = alloca i32
%sv_4.018.reg2mem = alloca i32
%sv_3.221.reg2mem = alloca i8*
%sv_2.222.reg2mem = alloca i32*
%sv_1.223.reg2mem = alloca i32
%storemerge24.reg2mem = alloca i32
%.reg2mem68 = alloca i64
%sv_5.1.lcssa.reg2mem = alloca i32
%sv_5.0.reg2mem = alloca i32
%sv_5.125.reg2mem = alloca i32
%storemerge426.reg2mem = alloca i32
%.reg2mem66 = alloca i64
%storemerge528.reg2mem = alloca i32
%.reg2mem64 = alloca i64
%sv_0.1.in.reg2mem = alloca i8
%sv_6.2.reg2mem = alloca i64
%sv_7.1.reg2mem = alloca i64
%sv_6.1.reg2mem = alloca i64
%sv_6.029.reg2mem = alloca i64
%sv_7.030.reg2mem = alloca i64
%storemerge731.reg2mem = alloca i32
%sv_6.334.reg2mem = alloca i64
%storemerge635.reg2mem = alloca i32
%.reg2mem62 = alloca i64
%sv_8.1.reg2mem = alloca i64
%sv_0.0.in.reg2mem = alloca i8
%sv_8.0.lcssa.reg2mem = alloca i64
%sv_8.036.reg2mem = alloca i64
%storemerge837.reg2mem = alloca i32
%.reg2mem60 = alloca i64
%storemerge939.reg2mem = alloca i32
%.reg2mem = alloca i64
%1 = ptrtoint i64* %arg3 to i64
%2 = load i64, i64* %0
%sv_9 = alloca i64, align 8
%3 = call i64* @memset(i64* %arg2, i32 0, i32 32)
%4 = icmp eq i64 %arg4, 0
store i64 0, i64* %.reg2mem
store i32 0, i32* %storemerge939.reg2mem
br i1 %4, label LBL_2, label LBL_1
LBL_1:
%storemerge939.reload = load i32, i32* %storemerge939.reg2mem
%.reload = load i64, i64* %.reg2mem
%5 = mul i64 %.reload, 16
%6 = add i64 %5, %1
%7 = inttoptr i64 %6 to i64*
store i64 1, i64* %7, align 8
%8 = add i32 %storemerge939.reload, 1
%9 = zext i32 %8 to i64
%10 = icmp ult i64 %9, %arg4
store i64 %9, i64* %.reg2mem
store i32 %8, i32* %storemerge939.reg2mem
br i1 %10, label LBL_1, label LBL_2
LBL_2:
%11 = ptrtoint i64* %arg1 to i64
%12 = call i64 @FUNC(i64 %11, i64 1)
%13 = icmp eq i64 %12, 0
%14 = icmp eq i1 %13, false
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %14, label LBL_3, label LBL_46
LBL_3:
%15 = inttoptr i64 %12 to i8*
%16 = load i8, i8* %15, align 1
%17 = icmp eq i8 %16, 0
%18 = icmp eq i1 %17, false
store i8 %16, i8* %sv_0.0.in.reg2mem
store i64 %arg4, i64* %sv_8.1.reg2mem
br i1 %18, label LBL_10, label LBL_4
LBL_4:
store i64 0, i64* %.reg2mem60
store i32 0, i32* %storemerge837.reg2mem
store i64 0, i64* %sv_8.036.reg2mem
store i64 0, i64* %sv_8.0.lcssa.reg2mem
br i1 %4, label LBL_8, label LBL_5
LBL_5:
%.reload61 = load i64, i64* %.reg2mem60
%19 = mul i64 %.reload61, 16
%20 = add i64 %19, %1
%21 = call i64 @FUNC(i64 %11, i64 %20)
%22 = trunc i64 %21 to i32
%23 = icmp slt i32 %22, 0
%24 = icmp eq i1 %23, false
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %24, label LBL_6, label LBL_46
LBL_6:
%25 = inttoptr i64 %20 to i64*
%26 = load i64, i64* %25, align 8
%27 = icmp ult i64 %26, 17
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %27, label LBL_7, label LBL_46
LBL_7:
%sv_8.036.reload = load i64, i64* %sv_8.036.reg2mem
%storemerge837.reload = load i32, i32* %storemerge837.reg2mem
%28 = add i64 %26, %sv_8.036.reload
%29 = add i32 %storemerge837.reload, 1
%30 = zext i32 %29 to i64
%31 = icmp ult i64 %30, %arg4
store i64 %30, i64* %.reg2mem60
store i32 %29, i32* %storemerge837.reg2mem
store i64 %28, i64* %sv_8.036.reg2mem
store i64 %28, i64* %sv_8.0.lcssa.reg2mem
br i1 %31, label LBL_5, label LBL_8
LBL_8:
%32 = call i64 @FUNC(i64 %11, i64 1)
%33 = icmp eq i64 %32, 0
%34 = icmp eq i1 %33, false
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %34, label LBL_9, label LBL_46
LBL_9:
%sv_8.0.lcssa.reload = load i64, i64* %sv_8.0.lcssa.reg2mem
%35 = inttoptr i64 %32 to i8*
%36 = load i8, i8* %35, align 1
store i8 %36, i8* %sv_0.0.in.reg2mem
store i64 %sv_8.0.lcssa.reload, i64* %sv_8.1.reg2mem
br label LBL_10
LBL_10:
%37 = ptrtoint i64* %arg2 to i64
%sv_8.1.reload = load i64, i64* %sv_8.1.reg2mem
%sv_0.0.in.reload = load i8, i8* %sv_0.0.in.reg2mem
store i64 %sv_8.1.reload, i64* %arg2, align 8
%38 = icmp eq i64 %sv_8.1.reload, 0
br i1 %38, label LBL_13, label LBL_11
LBL_11:
%39 = trunc i64 %sv_8.1.reload to i32
%40 = call i64* @calloc(i32 %39, i32 8)
%41 = ptrtoint i64* %40 to i64
%42 = add i64 %37, 8
%43 = inttoptr i64 %42 to i64*
store i64 %41, i64* %43, align 8
%44 = call i64* @calloc(i32 %39, i32 1)
%45 = ptrtoint i64* %44 to i64
%46 = add i64 %37, 16
%47 = inttoptr i64 %46 to i64*
store i64 %45, i64* %47, align 8
%48 = call i64* @calloc(i32 %39, i32 4)
%49 = ptrtoint i64* %48 to i64
%50 = add i64 %37, 24
%51 = inttoptr i64 %50 to i64*
store i64 %49, i64* %51, align 8
%52 = load i64, i64* %43, align 8
%53 = icmp eq i64 %52, 0
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %53, label LBL_46, label LBL_12
LBL_12:
%54 = load i64, i64* %47, align 8
%55 = icmp ne i64 %54, 0
%56 = icmp eq i64* %48, null
%57 = icmp eq i1 %56, false
%or.cond = icmp eq i1 %57, %55
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %or.cond, label LBL_13, label LBL_46
LBL_13:
br i1 %4, label LBL_21, label LBL_14
LBL_14:
%58 = add i64 %37, 8
%59 = inttoptr i64 %58 to i64*
%60 = load i64, i64* %59, align 8
%61 = icmp eq i8 %sv_0.0.in.reload, 1
store i64 0, i64* %.reg2mem62
store i32 0, i32* %storemerge635.reg2mem
store i64 %60, i64* %sv_6.334.reg2mem
br label LBL_15
LBL_15:
%sv_6.334.reload = load i64, i64* %sv_6.334.reg2mem
%storemerge635.reload = load i32, i32* %storemerge635.reg2mem
%.reload63 = load i64, i64* %.reg2mem62
%62 = mul i64 %.reload63, 16
%63 = add i64 %62, %1
%64 = inttoptr i64 %63 to i64*
%65 = load i64, i64* %64, align 8
%66 = icmp eq i64 %65, 0
store i64 %sv_6.334.reload, i64* %sv_6.2.reg2mem
br i1 %66, label LBL_20, label LBL_16
LBL_16:
%67 = icmp ne i64 %65, 1
%or.cond46 = icmp eq i1 %61, %67
store i32 1, i32* %storemerge731.reg2mem
store i64 0, i64* %sv_7.030.reg2mem
store i64 %sv_6.334.reload, i64* %sv_6.029.reg2mem
store i64 %sv_6.334.reload, i64* %sv_6.1.reg2mem
store i64 0, i64* %sv_7.1.reg2mem
br i1 %or.cond46, label LBL_17, label LBL_19
LBL_17:
%sv_6.029.reload = load i64, i64* %sv_6.029.reg2mem
%68 = call i64 @FUNC(i64 %11, i64 %sv_6.029.reload)
%69 = trunc i64 %68 to i32
%70 = icmp slt i32 %69, 0
%71 = icmp eq i1 %70, false
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %71, label LBL_18, label LBL_46
LBL_18:
%sv_7.030.reload = load i64, i64* %sv_7.030.reg2mem
%storemerge731.reload = load i32, i32* %storemerge731.reg2mem
%72 = add i64 %sv_6.029.reload, 8
%73 = inttoptr i64 %sv_6.029.reload to i64*
%74 = load i64, i64* %73, align 8
%75 = add i64 %74, %sv_7.030.reload
%76 = add i32 %storemerge731.reload, 1
%77 = zext i32 %76 to i64
%78 = load i64, i64* %64, align 8
%79 = icmp ugt i64 %78, %77
store i32 %76, i32* %storemerge731.reg2mem
store i64 %75, i64* %sv_7.030.reg2mem
store i64 %72, i64* %sv_6.029.reg2mem
store i64 %72, i64* %sv_6.1.reg2mem
store i64 %75, i64* %sv_7.1.reg2mem
br i1 %79, label LBL_17, label LBL_19
LBL_19:
%sv_7.1.reload = load i64, i64* %sv_7.1.reg2mem
%sv_6.1.reload = load i64, i64* %sv_6.1.reg2mem
%80 = call i64 @FUNC(i64 %63)
%81 = add i64 %sv_6.1.reload, 8
%82 = sub i64 %80, %sv_7.1.reload
%83 = inttoptr i64 %sv_6.1.reload to i64*
store i64 %82, i64* %83, align 8
store i64 %81, i64* %sv_6.2.reg2mem
br label LBL_20
LBL_20:
%sv_6.2.reload = load i64, i64* %sv_6.2.reg2mem
%84 = add i32 %storemerge635.reload, 1
%85 = zext i32 %84 to i64
%86 = icmp ult i64 %85, %arg4
store i64 %85, i64* %.reg2mem62
store i32 %84, i32* %storemerge635.reg2mem
store i64 %sv_6.2.reload, i64* %sv_6.334.reg2mem
br i1 %86, label LBL_15, label LBL_21
LBL_21:
%87 = icmp eq i8 %sv_0.0.in.reload, 1
%88 = icmp eq i1 %87, false
store i8 %sv_0.0.in.reload, i8* %sv_0.1.in.reg2mem
br i1 %88, label LBL_24, label LBL_22
LBL_22:
%89 = call i64 @FUNC(i64 %11, i64 1)
%90 = icmp eq i64 %89, 0
%91 = icmp eq i1 %90, false
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %91, label LBL_23, label LBL_46
LBL_23:
%92 = inttoptr i64 %89 to i8*
%93 = load i8, i8* %92, align 1
store i8 %93, i8* %sv_0.1.in.reg2mem
br label LBL_24
LBL_24:
%sv_0.1.in.reload = load i8, i8* %sv_0.1.in.reg2mem
br i1 %38, label LBL_27, label LBL_25
LBL_25:
%94 = add i64 %37, 16
%95 = inttoptr i64 %94 to i64*
%96 = add i64 %37, 24
%97 = inttoptr i64 %96 to i64*
store i64 0, i64* %.reg2mem64
store i32 0, i32* %storemerge528.reg2mem
br label LBL_26
LBL_26:
%storemerge528.reload = load i32, i32* %storemerge528.reg2mem
%.reload65 = load i64, i64* %.reg2mem64
%98 = load i64, i64* %95, align 8
%99 = add i64 %98, %.reload65
%100 = inttoptr i64 %99 to i8*
store i8 0, i8* %100, align 1
%101 = load i64, i64* %97, align 8
%102 = mul i64 %.reload65, 4
%103 = add i64 %101, %102
%104 = inttoptr i64 %103 to i32*
store i32 0, i32* %104, align 4
%105 = add i32 %storemerge528.reload, 1
%106 = zext i32 %105 to i64
%107 = icmp ugt i64 %sv_8.1.reload, %106
store i64 %106, i64* %.reg2mem64
store i32 %105, i32* %storemerge528.reg2mem
br i1 %107, label LBL_26, label LBL_27
LBL_27:
store i64 0, i64* %.reg2mem66
store i32 0, i32* %storemerge426.reg2mem
store i32 0, i32* %sv_5.125.reg2mem
store i32 0, i32* %sv_5.1.lcssa.reg2mem
br i1 %4, label LBL_32, label LBL_28
LBL_28:
%sv_5.125.reload = load i32, i32* %sv_5.125.reg2mem
%storemerge426.reload = load i32, i32* %storemerge426.reg2mem
%.reload67 = load i64, i64* %.reg2mem66
%108 = mul i64 %.reload67, 16
%109 = add i64 %108, %1
%110 = inttoptr i64 %109 to i64*
%111 = load i64, i64* %110, align 8
%112 = icmp eq i64 %111, 1
%113 = icmp eq i1 %112, false
br i1 %113, label LBL_30, label LBL_29
LBL_29:
%114 = add i64 %109, 8
%115 = inttoptr i64 %114 to i32*
%116 = load i32, i32* %115, align 4
%117 = icmp eq i32 %116, 0
%118 = icmp eq i1 %117, false
store i32 %sv_5.125.reload, i32* %sv_5.0.reg2mem
br i1 %118, label LBL_31, label LBL_30
LBL_30:
%119 = trunc i64 %111 to i32
%120 = add i32 %sv_5.125.reload, %119
store i32 %120, i32* %sv_5.0.reg2mem
br label LBL_31
LBL_31:
%sv_5.0.reload = load i32, i32* %sv_5.0.reg2mem
%121 = add i32 %storemerge426.reload, 1
%122 = zext i32 %121 to i64
%123 = icmp ult i64 %122, %arg4
store i64 %122, i64* %.reg2mem66
store i32 %121, i32* %storemerge426.reg2mem
store i32 %sv_5.0.reload, i32* %sv_5.125.reg2mem
store i32 %sv_5.0.reload, i32* %sv_5.1.lcssa.reg2mem
br i1 %123, label LBL_28, label LBL_32
LBL_32:
%124 = icmp eq i8 %sv_0.1.in.reload, 2
%125 = icmp eq i1 %124, false
store i8 %sv_0.1.in.reload, i8* %sv_0.2.in.reg2mem
br i1 %125, label LBL_45, label LBL_33
LBL_33:
%sv_5.1.lcssa.reload = load i32, i32* %sv_5.1.lcssa.reg2mem
%126 = add i64 %37, 16
%127 = inttoptr i64 %126 to i64*
%128 = load i64, i64* %127, align 8
%129 = add i64 %37, 24
%130 = inttoptr i64 %129 to i64*
%131 = load i64, i64* %130, align 8
%132 = call i64* @memset(i64* nonnull %sv_9, i32 0, i32 16)
%133 = call i64 @FUNC(i64 %11, i64* nonnull %sv_9, i32 %sv_5.1.lcssa.reload)
%134 = trunc i64 %133 to i32
%135 = icmp slt i32 %134, 0
%136 = icmp eq i1 %135, false
br i1 %136, label LBL_34, label LBL_36
LBL_34:
br i1 %4, label LBL_43, label LBL_35
LBL_35:
%137 = inttoptr i64 %128 to i8*
%138 = inttoptr i64 %131 to i32*
store i64 0, i64* %.reg2mem68
store i32 0, i32* %storemerge24.reg2mem
store i32 0, i32* %sv_1.223.reg2mem
store i32* %138, i32** %sv_2.222.reg2mem
store i8* %137, i8** %sv_3.221.reg2mem
br label LBL_37
LBL_36:
%139 = call i64 @FUNC(i64* nonnull %sv_9)
store i64 4294967295, i64* %rax.0.reg2mem
br label LBL_46
LBL_37:
%sv_3.221.reload = load i8*, i8** %sv_3.221.reg2mem
%sv_2.222.reload = load i32*, i32** %sv_2.222.reg2mem
%sv_1.223.reload = load i32, i32* %sv_1.223.reg2mem
%storemerge24.reload = load i32, i32* %storemerge24.reg2mem
%.reload69 = load i64, i64* %.reg2mem68
%140 = mul i64 %.reload69, 16
%141 = add i64 %140, %1
%142 = inttoptr i64 %141 to i64*
%143 = load i64, i64* %142, align 8
%144 = icmp eq i64 %143, 1
%145 = icmp eq i1 %144, false
br i1 %145, label LBL_40, label LBL_38
LBL_38:
%146 = add i64 %141, 8
%147 = inttoptr i64 %146 to i32*
%148 = load i32, i32* %147, align 4
%149 = icmp eq i32 %148, 0
br i1 %149, label LBL_40, label LBL_39
LBL_39:
%150 = ptrtoint i8* %sv_3.221.reload to i64
%151 = add i64 %150, 1
%152 = inttoptr i64 %151 to i8*
store i8 1, i8* %sv_3.221.reload, align 1
%153 = ptrtoint i32* %sv_2.222.reload to i64
%154 = add i64 %153, 4
%155 = inttoptr i64 %154 to i32*
%156 = add i64 %141, 12
%157 = inttoptr i64 %156 to i32*
%158 = load i32, i32* %157, align 4
store i32 %158, i32* %sv_2.222.reload, align 4
store i8* %152, i8** %sv_3.1.reg2mem
store i32* %155, i32** %sv_2.1.reg2mem
store i32 %sv_1.223.reload, i32* %sv_1.1.reg2mem
br label LBL_42
LBL_40:
%159 = icmp eq i64 %143, 0
store i32 0, i32* %sv_4.018.reg2mem
store i32 %sv_1.223.reload, i32* %sv_1.017.reg2mem
store i32* %sv_2.222.reload, i32** %sv_2.016.reg2mem
store i8* %sv_3.221.reload, i8** %sv_3.015.reg2mem
store i8* %sv_3.221.reload, i8** %sv_3.1.reg2mem
store i32* %sv_2.222.reload, i32** %sv_2.1.reg2mem
store i32 %sv_1.223.reload, i32* %sv_1.1.reg2mem
br i1 %159, label LBL_42, label LBL_41
LBL_41:
%sv_3.015.reload = load i8*, i8** %sv_3.015.reg2mem
%sv_2.016.reload = load i32*, i32** %sv_2.016.reg2mem
%sv_1.017.reload = load i32, i32* %sv_1.017.reg2mem
%sv_4.018.reload = load i32, i32* %sv_4.018.reg2mem
%160 = load i64, i64* %sv_9, align 8
%161 = sext i32 %sv_1.017.reload to i64
%162 = add i64 %160, %161
%163 = ptrtoint i8* %sv_3.015.reload to i64
%164 = add i64 %163, 1
%165 = inttoptr i64 %164 to i8*
%166 = inttoptr i64 %162 to i8*
%167 = load i8, i8* %166, align 1
store i8 %167, i8* %sv_3.015.reload, align 1
%168 = mul i64 %161, 4
%169 = add i64 %168, %2
%170 = ptrtoint i32* %sv_2.016.reload to i64
%171 = add i64 %170, 4
%172 = inttoptr i64 %171 to i32*
%173 = inttoptr i64 %169 to i32*
%174 = load i32, i32* %173, align 4
store i32 %174, i32* %sv_2.016.reload, align 4
%175 = add i32 %sv_4.018.reload, 1
%176 = add i32 %sv_1.017.reload, 1
%177 = zext i32 %175 to i64
%178 = load i64, i64* %142, align 8
%179 = icmp ugt i64 %178, %177
store i32 %175, i32* %sv_4.018.reg2mem
store i32 %176, i32* %sv_1.017.reg2mem
store i32* %172, i32** %sv_2.016.reg2mem
store i8* %165, i8** %sv_3.015.reg2mem
store i8* %165, i8** %sv_3.1.reg2mem
store i32* %172, i32** %sv_2.1.reg2mem
store i32 %176, i32* %sv_1.1.reg2mem
br i1 %179, label LBL_41, label LBL_42
LBL_42:
%sv_1.1.reload = load i32, i32* %sv_1.1.reg2mem
%sv_2.1.reload = load i32*, i32** %sv_2.1.reg2mem
%sv_3.1.reload = load i8*, i8** %sv_3.1.reg2mem
%180 = add i32 %storemerge24.reload, 1
%181 = zext i32 %180 to i64
%182 = icmp ult i64 %181, %arg4
store i64 %181, i64* %.reg2mem68
store i32 %180, i32* %storemerge24.reg2mem
store i32 %sv_1.1.reload, i32* %sv_1.223.reg2mem
store i32* %sv_2.1.reload, i32** %sv_2.222.reg2mem
store i8* %sv_3.1.reload, i8** %sv_3.221.reg2mem
br i1 %182, label LBL_37, label LBL_43
LBL_43:
%183 = call i64 @FUNC(i64* nonnull %sv_9)
%184 = call i64 @FUNC(i64 %11, i64 1)
%185 = icmp eq i64 %184, 0
%186 = icmp eq i1 %185, false
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %186, label LBL_44, label LBL_46
LBL_44:
%187 = inttoptr i64 %184 to i8*
%188 = load i8, i8* %187, align 1
store i8 %188, i8* %sv_0.2.in.reg2mem
br label LBL_45
LBL_45:
%sv_0.2.in.reload = load i8, i8* %sv_0.2.in.reg2mem
%189 = icmp eq i8 %sv_0.2.in.reload, 3
%. = select i1 %189, i64 0, i64 4294967295
store i64 %., i64* %rax.0.reg2mem
br label LBL_46
LBL_46:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i32* %sv_2.016.reload, { 1, 0 }
uselistorder i8* %sv_3.015.reload, { 1, 0 }
uselistorder i32 %sv_1.223.reload, { 0, 2, 1 }
uselistorder i32* %sv_2.222.reload, { 0, 1, 3, 2 }
uselistorder i8* %sv_3.221.reload, { 0, 1, 3, 2 }
uselistorder i32 %sv_5.125.reload, { 1, 0 }
uselistorder i64 %.reload65, { 1, 0 }
uselistorder i64 %sv_6.1.reload, { 1, 0 }
uselistorder i64 %sv_6.334.reload, { 1, 2, 0 }
uselistorder i64 %sv_8.1.reload, { 3, 1, 2, 0 }
uselistorder i64 %37, { 4, 3, 5, 6, 7, 0, 1, 2 }
uselistorder i64 %11, { 3, 4, 2, 5, 0, 1, 6 }
uselistorder i64* %sv_9, { 0, 4, 1, 2, 3 }
uselistorder i64* %.reg2mem, { 2, 0, 1 }
uselistorder i32* %storemerge939.reg2mem, { 2, 0, 1 }
uselistorder i64* %.reg2mem60, { 2, 0, 1 }
uselistorder i32* %storemerge837.reg2mem, { 2, 0, 1 }
uselistorder i64* %sv_8.036.reg2mem, { 2, 0, 1 }
uselistorder i8* %sv_0.0.in.reg2mem, { 0, 2, 1 }
uselistorder i64* %sv_8.1.reg2mem, { 0, 2, 1 }
uselistorder i64* %.reg2mem62, { 1, 0, 2 }
uselistorder i32* %storemerge635.reg2mem, { 1, 0, 2 }
uselistorder i64* %sv_6.334.reg2mem, { 1, 0, 2 }
uselistorder i32* %storemerge731.reg2mem, { 2, 0, 1 }
uselistorder i64* %sv_7.030.reg2mem, { 2, 0, 1 }
uselistorder i64* %sv_6.029.reg2mem, { 2, 0, 1 }
uselistorder i64* %.reg2mem64, { 1, 0, 2 }
uselistorder i32* %storemerge528.reg2mem, { 1, 0, 2 }
uselistorder i64* %.reg2mem66, { 2, 0, 1 }
uselistorder i32* %storemerge426.reg2mem, { 2, 0, 1 }
uselistorder i32* %sv_5.125.reg2mem, { 2, 0, 1 }
uselistorder i32* %sv_5.0.reg2mem, { 0, 2, 1 }
uselistorder i64* %.reg2mem68, { 2, 0, 1 }
uselistorder i32* %storemerge24.reg2mem, { 2, 0, 1 }
uselistorder i32* %sv_1.223.reg2mem, { 2, 0, 1 }
uselistorder i32** %sv_2.222.reg2mem, { 2, 0, 1 }
uselistorder i8** %sv_3.221.reg2mem, { 2, 0, 1 }
uselistorder i32* %sv_4.018.reg2mem, { 2, 0, 1 }
uselistorder i32* %sv_1.017.reg2mem, { 2, 0, 1 }
uselistorder i32** %sv_2.016.reg2mem, { 2, 0, 1 }
uselistorder i8** %sv_3.015.reg2mem, { 2, 0, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 4, 5, 11, 6, 3, 8, 7, 9, 1, 2, 10 }
uselistorder i64 (i64*)* @free_Digest, { 1, 0 }
uselistorder i64 4, { 2, 0, 3, 1 }
uselistorder i8 1, { 2, 1, 0 }
uselistorder i64 8, { 0, 1, 3, 2, 4, 5 }
uselistorder i64* (i32, i32)* @calloc, { 2, 0, 1 }
uselistorder i64 (i64, i64)* @parse_7zip_uint64, { 1, 0 }
uselistorder i8 0, { 1, 0 }
uselistorder i1 false, { 2, 1, 5, 6, 3, 4, 8, 9, 7, 0, 11, 10, 12, 13 }
uselistorder i64 (i64, i64)* @header_bytes, { 3, 2, 1, 0 }
uselistorder i64 1, { 3, 7, 8, 2, 1, 4, 0, 5, 6, 9 }
uselistorder i64 16, { 0, 5, 1, 6, 2, 7, 3, 4 }
uselistorder i32 0, { 0, 12, 1, 2, 14, 10, 13, 3, 4, 5, 15, 6, 16, 7, 17, 8, 9, 11 }
uselistorder i64 %arg4, { 2, 3, 4, 5, 0, 6, 1 }
uselistorder i64* %arg2, { 0, 2, 1 }
uselistorder label LBL_46, { 4, 5, 10, 6, 2, 3, 7, 8, 0, 1, 9 }
uselistorder label LBL_41, { 1, 0 }
uselistorder label LBL_37, { 1, 0 }
uselistorder label LBL_28, { 1, 0 }
uselistorder label LBL_26, { 1, 0 }
uselistorder label LBL_20, { 1, 0 }
uselistorder label LBL_17, { 1, 0 }
uselistorder label LBL_15, { 1, 0 }
uselistorder label LBL_10, { 1, 0 }
uselistorder label LBL_5, { 1, 0 }
uselistorder label LBL_1, { 1, 0 }
} | 1 |
BinRealVul | copy_file_4815 | copy_file | define i64 @FUNC(i64 %arg1, i64 %arg2, i64 %arg3, i64 %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%sext4 = mul i64 %arg5, 4294967296
%0 = ashr exact i64 %sext4, 32
%1 = call i64 @FUNC(i64 1, i64 %arg2)
%2 = call i64 @FUNC(i64 0, i64 %arg1)
%3 = and i64 %arg5, 61440
%4 = icmp eq i64 %3, 40960
%5 = icmp eq i1 %4, false
%6 = select i1 %5, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_1, i64 0, i64 0)
%7 = call i64 @FUNC(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @gv_2, i64 0, i64 0), i8* %6, i64 %2, i64 %1, i64 %arg5, i64 %arg6)
%8 = and i64 %0, 61440
%9 = icmp eq i64 %8, 40960
%10 = icmp eq i1 %9, false
br i1 %10, label LBL_9, label LBL_1
LBL_1:
%11 = call i64 @FUNC(i64 4097)
%12 = call i64 @FUNC(i64 %arg1, i64 %11, i64 4096)
%13 = icmp slt i64 %12, 0
%14 = icmp eq i1 %13, false
br i1 %14, label LBL_3, label LBL_2
LBL_2:
%15 = call i64 @FUNC(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_3, i64 0, i64 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_1, i64 0, i64 0), i64 %arg1)
unreachable
LBL_3:
%16 = add i64 %12, %11
%17 = inttoptr i64 %16 to i8*
store i8 0, i8* %17, align 1
%18 = call i64 @FUNC(i64 %11, i64 %arg2)
%19 = trunc i64 %18 to i32
%20 = icmp eq i32 %19, 0
br i1 %20, label LBL_5, label LBL_4
LBL_4:
%21 = call i64 @FUNC(i8* getelementptr inbounds ([19 x i8], [19 x i8]* @gv_4, i64 0, i64 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_1, i64 0, i64 0), i64 %arg2)
unreachable
LBL_5:
%22 = icmp eq i64 %arg3, 0
br i1 %22, label LBL_8, label LBL_6
LBL_6:
%23 = call i64 @FUNC(i64 %arg2, i64 %arg3)
%24 = trunc i64 %23 to i32
%25 = icmp eq i32 %24, 0
br i1 %25, label LBL_8, label LBL_7
LBL_7:
%26 = call i64 @FUNC(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_5, i64 0, i64 0), i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_1, i64 0, i64 0), i64 %arg2)
unreachable
LBL_8:
%27 = inttoptr i64 %11 to i64*
call void @free(i64* %27)
store i64 ptrtoint (i32* @0 to i64), i64* %rax.0.reg2mem
br label LBL_16
LBL_9:
%28 = icmp eq i64 %8, 32768
br i1 %28, label LBL_11, label LBL_10
LBL_10:
call void @__assert_fail(i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_6, i64 0, i64 0), i8* getelementptr inbounds ([43 x i8], [43 x i8]* @gv_7, i64 0, i64 0), i32 94, i8* getelementptr inbounds ([10 x i8], [10 x i8]* @gv_8, i64 0, i64 0))
br label LBL_11
LBL_11:
%29 = trunc i64 %arg6 to i8
%30 = and i64 %arg4, 4294967294
%31 = or i64 %30, 1
%32 = trunc i64 %0 to i32
%33 = call i64 @FUNC(i64 %arg2, i64 %31, i32 %32, i8 %29)
%34 = trunc i64 %33 to i32
%35 = and i64 %33, 4294967295
%36 = call i64 @FUNC(i64 %arg1, i64 %35)
%37 = icmp eq i64 %arg3, 0
br i1 %37, label LBL_14, label LBL_12
LBL_12:
%38 = inttoptr i64 %arg3 to %stat*
%39 = call i32 @fstat(i32 %34, %stat* %38)
%40 = icmp eq i32 %39, 0
br i1 %40, label LBL_14, label LBL_13
LBL_13:
%41 = call i64 @FUNC(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_5, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), i64 %arg2)
unreachable
LBL_14:
%42 = call i32 @close(i32 %34)
%43 = icmp eq i32 %42, 0
store i64 0, i64* %rax.0.reg2mem
br i1 %43, label LBL_16, label LBL_15
LBL_15:
%44 = call i64 @FUNC()
unreachable
LBL_16:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i32 %34, { 1, 0 }
uselistorder i64 %11, { 1, 2, 0, 3 }
uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 }
uselistorder i64 ()* @write_fatal, { 1, 0 }
uselistorder i32 (i32)* @close, { 1, 0 }
uselistorder i8 0, { 1, 2, 0 }
uselistorder i64 (i8*, i8*, i64)* @pfatal, { 3, 2, 1, 0 }
uselistorder i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_1, i64 0, i64 0), { 1, 2, 3, 0 }
uselistorder i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0), { 1, 0 }
uselistorder i1 false, { 1, 2, 3, 4, 0, 5, 6 }
uselistorder i64 (i64, i64)* @quotearg_n, { 1, 0 }
uselistorder i64 %arg5, { 1, 2, 0 }
uselistorder i64 %arg3, { 3, 2, 1, 0 }
uselistorder i64 %arg2, { 4, 5, 1, 2, 0, 3, 6 }
uselistorder i64 %arg1, { 2, 0, 1, 3 }
} | 0 |
BinRealVul | atmci_regs_show_18200 | atmci_regs_show | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%0 = call i64 @FUNC(i64 256, i64 0)
%1 = icmp eq i64 %0, 0
%2 = icmp eq i1 %1, false
store i64 4294967284, i64* %storemerge.reg2mem
br i1 %2, label LBL_1, label LBL_2
LBL_1:
%3 = ptrtoint i64* %arg1 to i64
%4 = inttoptr i64 %0 to i32*
%5 = call i64 @FUNC(i64 256)
%6 = add i64 %3, 16
%7 = inttoptr i64 %6 to i64*
%8 = load i64, i64* %7, align 8
%9 = call i64 @FUNC(i64 %8)
%10 = add i64 %3, 8
%11 = inttoptr i64 %10 to i64*
%12 = load i64, i64* %11, align 8
%13 = call i64 @FUNC(i64 %0, i64 %12, i64 256)
%14 = load i64, i64* %7, align 8
%15 = call i64 @FUNC(i64 %14)
%16 = call i64 @FUNC(i64 %14)
%17 = load i32, i32* %4, align 4
%18 = and i32 %17, 2
%19 = icmp eq i32 %18, 0
%. = select i1 %19, i64 ptrtoint (i32* @gv_0 to i64), i64 ptrtoint ([9 x i8]* @gv_1 to i64)
%20 = urem i32 %17, 2
%21 = icmp eq i32 %20, 0
%22 = zext i32 %17 to i64
%23 = urem i32 %17, 256
%24 = zext i32 %23 to i64
%25 = select i1 %21, i32 ptrtoint (i32* @gv_0 to i32), i32 ptrtoint ([9 x i8]* @gv_2 to i32)
%26 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @gv_3, i64 0, i64 0), i64 %22, i32 %25, i64 %., i64 %24)
%27 = add i64 %0, 4
%28 = inttoptr i64 %27 to i32*
%29 = load i32, i32* %28, align 4
%30 = zext i32 %29 to i64
%31 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_4, i64 0, i64 0), i64 %30, i32 %25, i64 %., i64 %24)
%32 = add i64 %0, 8
%33 = inttoptr i64 %32 to i32*
%34 = load i32, i32* %33, align 4
%35 = zext i32 %34 to i64
%36 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_5, i64 0, i64 0), i64 %35, i32 %25, i64 %., i64 %24)
%37 = add i64 %0, 12
%38 = inttoptr i64 %37 to i32*
%39 = load i32, i32* %38, align 4
%40 = zext i32 %39 to i64
%41 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @gv_6, i64 0, i64 0), i64 %40, i32 %25, i64 %., i64 %24)
%42 = add i64 %0, 16
%43 = inttoptr i64 %42 to i32*
%44 = load i32, i32* %43, align 4
%45 = udiv i32 %44, 65536
%46 = zext i32 %44 to i64
%47 = zext i32 %45 to i64
%48 = urem i32 %44, 65536
%49 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_7, i64 0, i64 0), i64 %46, i32 %48, i64 %47, i64 %24)
%50 = add i64 %0, 20
%51 = inttoptr i64 %50 to i32*
%52 = load i32, i32* %51, align 4
%53 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_8, i64 0, i64 0), i32 %52)
%54 = add i64 %0, 24
%55 = inttoptr i64 %54 to i32*
%56 = load i32, i32* %55, align 4
%57 = call i64 @FUNC(i64 %3, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @gv_9, i64 0, i64 0), i32 %56)
store i64 0, i64* %storemerge.reg2mem
br label LBL_2
LBL_2:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i32 %44, { 1, 2, 0 }
uselistorder i32 %25, { 3, 2, 1, 0 }
uselistorder i64 %24, { 4, 3, 2, 1, 0 }
uselistorder i32 %17, { 0, 2, 1, 3 }
uselistorder i64 %3, { 0, 1, 2, 3, 4, 5, 6, 8, 7 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i64 (i64, i8*, i32)* @atmci_show_status_reg, { 1, 0 }
uselistorder i32 65536, { 1, 0 }
uselistorder i64 (i64, i8*, i64, i32, i64, i64)* @seq_printf, { 5, 4, 3, 2, 1, 0 }
uselistorder i64 256, { 1, 0, 2 }
uselistorder label LBL_2, { 1, 0 }
} | 1 |
BinRealVul | imap_disconnect_4201 | imap_disconnect | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
%1 = call i64 @FUNC(i64 %0)
%2 = call i64 @FUNC(i64 %0)
%3 = add i64 %0, 8
%4 = inttoptr i64 %3 to i64*
%5 = load i64, i64* %4, align 8
%6 = inttoptr i64 %5 to i64*
call void @free(i64* %6)
ret i64 0
} | 0 |
BinRealVul | r_bin_file_set_cur_binfile_obj_9788 | r_bin_file_set_cur_binfile_obj | define i64 @FUNC(i64* %arg1, i64* %arg2, i32* %arg3) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%0 = icmp ne i64* %arg1, null
%1 = icmp ne i64* %arg2, null
%or.cond.not = icmp eq i1 %0, %1
%2 = icmp eq i32* %arg3, null
%3 = icmp eq i1 %2, false
%or.cond6 = icmp eq i1 %or.cond.not, %3
store i64 0, i64* %storemerge.reg2mem
br i1 %or.cond6, label LBL_1, label LBL_3
LBL_1:
%4 = ptrtoint i64* %arg2 to i64
%5 = ptrtoint i64* %arg1 to i64
store i64 %4, i64* %arg1, align 8
%6 = add i64 %5, 8
%7 = inttoptr i64 %6 to i64*
store i64 %4, i64* %7, align 8
%8 = add i64 %4, 16
%9 = inttoptr i64 %8 to i32*
%10 = load i32, i32* %9, align 4
%11 = add i64 %5, 16
%12 = inttoptr i64 %11 to i32*
store i32 %10, i32* %12, align 4
%13 = ptrtoint i32* %arg3 to i64
%14 = add i64 %4, 24
%15 = inttoptr i64 %14 to i64*
store i64 %13, i64* %15, align 8
%16 = call i64 @FUNC(i64 %4)
%17 = add i64 %5, 20
%18 = inttoptr i64 %17 to i32*
%19 = load i32, i32* %18, align 4
%20 = icmp eq i32 %19, 0
%21 = icmp slt i32 %19, 0
%22 = icmp eq i1 %21, false
%23 = icmp eq i1 %20, false
%24 = icmp eq i1 %22, %23
store i64 1, i64* %storemerge.reg2mem
br i1 %24, label LBL_3, label LBL_2
LBL_2:
%25 = inttoptr i64 %16 to i32*
%26 = icmp eq i64 %16, 0
%storemerge3.in.in = select i1 %26, i32* %18, i32* %25
%storemerge3.in = load i32, i32* %storemerge3.in.in, align 4
store i32 %storemerge3.in, i32* %18, align 4
store i64 1, i64* %storemerge.reg2mem
br label LBL_3
LBL_3:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i32 %19, { 1, 0 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1, 3 }
uselistorder i64 1, { 1, 0 }
uselistorder i1 false, { 2, 1, 0 }
uselistorder i32* %arg3, { 1, 0 }
uselistorder i64* %arg2, { 1, 0 }
uselistorder i64* %arg1, { 0, 2, 1 }
uselistorder label LBL_3, { 2, 1, 0 }
} | 0 |
BinRealVul | dvb_free_device_7148 | dvb_free_device | define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%0 = call i64 @FUNC(i64 %arg1)
ret i64 %0
} | 0 |
BinRealVul | inet_diag_bc_audit_6308 | inet_diag_bc_audit | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%.lcssa.reg2mem = alloca i1
%sv_0.09.reg2mem = alloca i64
%storemerge10.reg2mem = alloca i64
%.reg2mem = alloca i32
%sext = mul i64 %arg2, 4294967296
%0 = ashr exact i64 %sext, 32
%1 = trunc i64 %0 to i32
%2 = icmp eq i32 %1, 0
%3 = icmp slt i32 %1, 0
%4 = icmp eq i1 %3, false
%5 = icmp eq i1 %2, false
%6 = icmp eq i1 %4, %5
store i1 %5, i1* %.lcssa.reg2mem
br i1 %6, label LBL_1, label LBL_12
LBL_1:
%7 = ptrtoint i64* %arg1 to i64
%8 = and i64 %0, 4294967295
store i32 %1, i32* %.reg2mem
store i64 %0, i64* %storemerge10.reg2mem
store i64 %7, i64* %sv_0.09.reg2mem
br label LBL_2
LBL_2:
%sv_0.09.reload = load i64, i64* %sv_0.09.reg2mem
%storemerge10.reload = load i64, i64* %storemerge10.reg2mem
%.reload = load i32, i32* %.reg2mem
%9 = inttoptr i64 %sv_0.09.reload to i32*
%10 = load i32, i32* %9, align 4
%11 = icmp sgt i32 %10, 8
br i1 %11, label LBL_4, label LBL_3
LBL_3:
%12 = icmp eq i32 %10, 0
%13 = icmp slt i32 %10, 0
%14 = icmp eq i1 %13, false
%15 = icmp eq i1 %12, false
%16 = icmp eq i1 %14, %15
store i64 4294967274, i64* %rax.0.reg2mem
br i1 %16, label LBL_5, label LBL_13
LBL_4:
%17 = icmp eq i32 %10, 9
store i64 4294967274, i64* %rax.0.reg2mem
br i1 %17, label LBL_9, label LBL_13
LBL_5:
%18 = add i64 %sv_0.09.reload, 4
%19 = inttoptr i64 %18 to i32*
%20 = load i32, i32* %19, align 4
%21 = icmp slt i32 %20, 4
store i64 4294967274, i64* %rax.0.reg2mem
br i1 %21, label LBL_13, label LBL_6
LBL_6:
%22 = zext i32 %20 to i64
%23 = add nsw i64 %storemerge10.reload, 4
%24 = and i64 %23, 4294967295
%25 = icmp uge i64 %24, %22
%26 = urem i32 %20, 4
%27 = icmp eq i32 %26, 0
%or.cond = icmp eq i1 %25, %27
store i64 4294967274, i64* %rax.0.reg2mem
br i1 %or.cond, label LBL_7, label LBL_13
LBL_7:
%28 = icmp sgt i64 %storemerge10.reload, %22
br i1 %28, label LBL_8, label LBL_9
LBL_8:
%29 = sub i32 %.reload, %20
%30 = zext i32 %29 to i64
%31 = call i64 @FUNC(i64 %7, i64 %8, i64 %30)
%32 = trunc i64 %31 to i32
%33 = icmp eq i32 %32, 0
%34 = icmp eq i1 %33, false
store i64 4294967274, i64* %rax.0.reg2mem
br i1 %34, label LBL_9, label LBL_13
LBL_9:
%35 = add i64 %sv_0.09.reload, 8
%36 = inttoptr i64 %35 to i32*
%37 = load i32, i32* %36, align 4
%38 = icmp slt i32 %37, 4
store i64 4294967274, i64* %rax.0.reg2mem
br i1 %38, label LBL_13, label LBL_10
LBL_10:
%39 = zext i32 %37 to i64
%40 = add nsw i64 %storemerge10.reload, 4
%41 = and i64 %40, 4294967295
%42 = icmp uge i64 %41, %39
%43 = urem i32 %37, 4
%44 = icmp eq i32 %43, 0
%or.cond7 = icmp eq i1 %42, %44
store i64 4294967274, i64* %rax.0.reg2mem
br i1 %or.cond7, label LBL_11, label LBL_13
LBL_11:
%45 = sext i32 %37 to i64
%46 = add i64 %sv_0.09.reload, %45
%47 = sub i32 %.reload, %37
%48 = sext i32 %47 to i64
%49 = icmp eq i32 %47, 0
%50 = icmp slt i32 %47, 0
%51 = icmp eq i1 %50, false
%52 = icmp eq i1 %49, false
%53 = icmp eq i1 %51, %52
store i32 %47, i32* %.reg2mem
store i64 %48, i64* %storemerge10.reg2mem
store i64 %46, i64* %sv_0.09.reg2mem
store i1 %52, i1* %.lcssa.reg2mem
br i1 %53, label LBL_2, label LBL_12
LBL_12:
%.lcssa.reload = load i1, i1* %.lcssa.reg2mem
%. = select i1 %.lcssa.reload, i64 4294967274, i64 0
store i64 %., i64* %rax.0.reg2mem
br label LBL_13
LBL_13:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i32 %47, { 0, 2, 1, 3 }
uselistorder i32 %37, { 1, 2, 0, 3, 4 }
uselistorder i32 %20, { 1, 0, 2, 3 }
uselistorder i32 %10, { 0, 2, 1, 3 }
uselistorder i32 %.reload, { 1, 0 }
uselistorder i64 %storemerge10.reload, { 2, 0, 1 }
uselistorder i64 %sv_0.09.reload, { 3, 1, 0, 2 }
uselistorder i64 %7, { 1, 0 }
uselistorder i64 %0, { 0, 2, 1 }
uselistorder i32* %.reg2mem, { 1, 0, 2 }
uselistorder i64* %storemerge10.reg2mem, { 1, 0, 2 }
uselistorder i64* %sv_0.09.reg2mem, { 1, 0, 2 }
uselistorder i64* %rax.0.reg2mem, { 0, 8, 2, 1, 5, 7, 6, 4, 3 }
uselistorder i32 4, { 0, 2, 1, 3 }
uselistorder i64 4294967274, { 7, 1, 0, 4, 6, 5, 3, 2 }
uselistorder i1 false, { 6, 2, 4, 5, 3, 0, 1 }
uselistorder i32 0, { 7, 8, 2, 4, 3, 5, 6, 0, 1 }
uselistorder label LBL_13, { 7, 1, 0, 4, 6, 5, 3, 2 }
uselistorder label LBL_2, { 1, 0 }
} | 0 |
BinRealVul | dec_sextb_1762 | dec_sextb | define i64 @FUNC(i32* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%storemerge.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i32* %arg1 to i64
%3 = and i64 %1, 4294967295
%4 = add i64 %2, 4
%5 = inttoptr i64 %4 to i32*
%6 = load i32, i32* %5, align 4
%7 = zext i32 %6 to i64
%8 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @gv_0, i64 0, i64 0), i64 %7, i64 %3)
%9 = add i64 %2, 8
%10 = inttoptr i64 %9 to i64*
%11 = load i64, i64* %10, align 8
%12 = inttoptr i64 %11 to i32*
%13 = load i32, i32* %12, align 4
%14 = urem i32 %13, 2
%15 = icmp eq i32 %14, 0
%16 = icmp eq i1 %15, false
br i1 %16, label LBL_2, label LBL_1
LBL_1:
%17 = call i64 @FUNC(i64 2, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @gv_1, i64 0, i64 0))
store i64 %17, i64* %storemerge.reg2mem
br label LBL_3
LBL_2:
%sext = mul i64 %1, 4294967296
%18 = ashr exact i64 %sext, 30
%19 = add i64 %18, ptrtoint (i32** @gv_2 to i64)
%20 = inttoptr i64 %19 to i32*
%21 = load i32, i32* %20, align 4
%22 = load i32, i32* %5, align 4
%23 = sext i32 %22 to i64
%24 = mul i64 %23, 4
%25 = add i64 %24, ptrtoint (i32** @gv_2 to i64)
%26 = inttoptr i64 %25 to i32*
%27 = load i32, i32* %26, align 4
%28 = zext i32 %21 to i64
%29 = zext i32 %27 to i64
%30 = call i64 @FUNC(i64 %29, i64 %28)
store i64 %30, i64* %storemerge.reg2mem
br label LBL_3
LBL_3:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64 %1, { 1, 0 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
} | 0 |
BinRealVul | decode_syncpoint_15647 | decode_syncpoint | define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr {
LBL_0:
%0 = alloca i128
%1 = alloca i64
%rax.0.reg2mem = alloca i64
%storemerge.reg2mem = alloca i64
%2 = load i64, i64* %1
%3 = load i64, i64* %1
%4 = load i128, i128* %0
%5 = load i128, i128* %0
%6 = ptrtoint i64* %arg1 to i64
%7 = call i64 @FUNC(i64 %6)
%8 = add i64 %7, -8
%9 = add i64 %6, 8
%10 = inttoptr i64 %9 to i64*
store i64 %8, i64* %10, align 8
%11 = call i64 @FUNC(i64 %6, i64 %6, i64 1, i64 1)
%12 = call i64 @FUNC(i64 %6)
%13 = call i64 @FUNC(i64 %6)
%14 = load i64, i64* %10, align 8
%15 = call i64 @FUNC(i64 %6)
%16 = mul i64 %15, 16
%17 = sub i64 %14, %16
store i64 %17, i64* %arg3, align 8
%18 = icmp slt i64 %17, 0
%19 = icmp eq i1 %18, false
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %19, label LBL_1, label LBL_8
LBL_1:
%20 = add i64 %12, %11
%21 = add i64 %6, 16
%22 = inttoptr i64 %21 to i32*
%23 = load i32, i32* %22, align 4
%24 = sext i32 %23 to i64
%25 = udiv i64 %13, %24
%26 = add i64 %6, 24
%27 = inttoptr i64 %26 to i64*
%28 = load i64, i64* %27, align 8
%29 = urem i64 %13, %24
%30 = mul i64 %29, 8
%31 = add i64 %30, %28
%32 = inttoptr i64 %31 to i64*
%33 = load i64, i64* %32, align 8
%34 = and i64 %33, 4294967295
%35 = and i64 %25, 4294967295
%36 = call i64 @FUNC(i64 %6, i64 %34, i64 %35)
%37 = call i64 @FUNC(i64 %6, i64 %20)
%38 = trunc i64 %37 to i32
%39 = icmp eq i32 %38, 0
%40 = icmp eq i1 %39, false
br i1 %40, label LBL_3, label LBL_2
LBL_2:
%41 = call i64 @FUNC(i64 %6)
%42 = trunc i64 %41 to i32
%43 = icmp eq i32 %42, 0
br i1 %43, label LBL_4, label LBL_3
LBL_3:
%44 = call i64 @FUNC(i64 %6, i64 16, i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_0, i64 0, i64 0), i64 %34, i64 %3, i64 %2)
store i64 4294967295, i64* %rax.0.reg2mem
br label LBL_8
LBL_4:
%45 = inttoptr i64 %9 to i32*
%46 = load i32, i32* %45, align 4
%47 = sext i32 %46 to i64
%48 = udiv i64 %13, %47
%49 = icmp slt i64 %48, 0
br i1 %49, label LBL_6, label LBL_5
LBL_5:
%50 = call i128 @FUNC(i128 %4, i128 %4)
%51 = call i128 @FUNC(i64 %48)
%52 = call i64 @FUNC(i128 %51)
store i64 %52, i64* %storemerge.reg2mem
br label LBL_7
LBL_6:
%53 = udiv i64 %48, 2
%54 = urem i64 %48, 2
%55 = or i64 %53, %54
%56 = call i128 @FUNC(i128 %5, i128 %5)
%57 = call i128 @FUNC(i64 %55)
%58 = call i128 @FUNC(i128 %57, i128 %57)
%59 = call i64 @FUNC(i128 %58)
store i64 %59, i64* %storemerge.reg2mem
br label LBL_7
LBL_7:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
%60 = load i64, i64* %27, align 8
%61 = load i32, i32* %45, align 4
%62 = sext i32 %61 to i64
%63 = urem i64 %13, %62
%64 = mul i64 %63, 8
%65 = add i64 %64, %60
%66 = inttoptr i64 %65 to i64*
%67 = load i64, i64* %66, align 8
%68 = call i128 @FUNC(i64 %67)
%69 = call i128 @__asm_movsd.1(i64 %storemerge.reload)
%70 = call i128 @FUNC(i128 %69, i128 %68)
%71 = call i128 @__asm_movsd.1(i64 4696837146684686336)
%72 = call i128 @FUNC(i128 %71, i128 %70)
%73 = call i64 @FUNC(i128 %72)
store i64 %73, i64* %arg2, align 8
%74 = load i64, i64* %10, align 8
%75 = call i64 @FUNC(i64 %6, i64 %74, i64 %73, i64 %60)
store i64 0, i64* %rax.0.reg2mem
br label LBL_8
LBL_8:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %60, { 1, 0 }
uselistorder i128 %57, { 1, 0 }
uselistorder i64 %48, { 1, 0, 3, 2 }
uselistorder i64 %13, { 2, 3, 0, 1 }
uselistorder i64 %6, { 0, 2, 1, 3, 4, 6, 5, 7, 8, 9, 11, 10, 12, 13 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 2, 3, 1 }
uselistorder i64* %1, { 1, 0 }
uselistorder i128* %0, { 1, 0 }
uselistorder i64 2, { 1, 0 }
uselistorder i64 4294967295, { 1, 2, 3, 0 }
uselistorder i64 16, { 1, 2, 0 }
uselistorder i64 (i64)* @ffio_read_varlen, { 1, 0 }
uselistorder i64 1, { 1, 0 }
uselistorder i64 (i64)* @avio_tell, { 1, 0 }
uselistorder label LBL_8, { 1, 2, 0 }
} | 1 |
BinRealVul | adb_kbd_put_keycode_17123 | adb_kbd_put_keycode | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%1 = add i64 %0, 1028
%2 = inttoptr i64 %1 to i32*
%3 = load i32, i32* %2, align 4
%4 = zext i32 %3 to i64
%5 = icmp ult i32 %3, 1024
store i64 %4, i64* %rax.0.reg2mem
br i1 %5, label LBL_1, label LBL_2
LBL_1:
%6 = add i64 %0, 1024
%7 = inttoptr i64 %6 to i32*
%8 = load i32, i32* %7, align 4
%9 = sext i32 %8 to i64
%10 = trunc i64 %arg2 to i32
%11 = mul i64 %9, 4
%12 = add i64 %11, %0
%13 = inttoptr i64 %12 to i32*
store i32 %10, i32* %13, align 4
%14 = load i32, i32* %7, align 4
%15 = add i32 %14, 1
%16 = icmp eq i32 %15, 1024
%17 = icmp eq i1 %16, false
%spec.store.select = select i1 %17, i32 %15, i32 0
store i32 %spec.store.select, i32* %7, align 4
%18 = load i32, i32* %2, align 4
%19 = add i32 %18, 1
store i32 %19, i32* %2, align 4
store i64 %0, i64* %rax.0.reg2mem
br label LBL_2
LBL_2:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i32* %2, { 1, 0, 2 }
uselistorder i64* %rax.0.reg2mem, { 0, 2, 1 }
uselistorder label LBL_2, { 1, 0 }
} | 1 |
BinRealVul | del_accepted_13012 | del_accepted | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%1 = and i64 %arg2, 4294967295
%2 = add i64 %0, 8
%3 = inttoptr i64 %2 to i64*
%4 = load i64, i64* %3, align 8
%5 = icmp ult i64 %1, %4
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %5, label LBL_1, label LBL_5
LBL_1:
%sext = mul i64 %arg2, 4294967296
%6 = ashr exact i64 %sext, 28
%7 = add i64 %6, %0
%8 = inttoptr i64 %7 to i32*
%9 = load i32, i32* %8, align 4
%10 = icmp eq i32 %9, 0
%11 = icmp eq i1 %10, false
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %11, label LBL_2, label LBL_5
LBL_2:
%12 = add i64 %7, 8
%13 = inttoptr i64 %12 to i64*
%14 = load i64, i64* %13, align 8
%15 = add i64 %0, 24
%16 = trunc i64 %arg2 to i32
%17 = call i64 @FUNC(i64 %15, i64 %14, i32 %16)
%18 = trunc i64 %17 to i32
%19 = icmp eq i32 %18, 0
%20 = icmp eq i1 %19, false
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %20, label LBL_3, label LBL_5
LBL_3:
%21 = add i64 %6, %15
%22 = call i64 @FUNC(i64 %21, i64 16)
%23 = add i64 %0, 16
%24 = inttoptr i64 %23 to i64*
%25 = load i64, i64* %24, align 8
%26 = add i64 %25, -1
store i64 %26, i64* %24, align 8
%27 = icmp eq i64 %26, 0
%28 = icmp eq i1 %27, false
store i64 0, i64* %rax.0.reg2mem
br i1 %28, label LBL_5, label LBL_4
LBL_4:
%29 = call i64 @FUNC(i64 %0, i64 0)
store i64 0, i64* %rax.0.reg2mem
br label LBL_5
LBL_5:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %0, { 1, 2, 3, 0, 4 }
uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3, 4, 5 }
uselistorder i64 16, { 1, 0 }
uselistorder i1 false, { 1, 2, 3, 4, 0 }
uselistorder i64 %arg2, { 1, 0, 2 }
uselistorder label LBL_5, { 1, 0, 2, 3, 4 }
} | 1 |
BinRealVul | ff_celt_quant_bands_94 | ff_celt_quant_bands | define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%.lcssa19.reg2mem = alloca i64
%storemerge6.reg2mem = alloca i32
%sv_0.2.reg2mem = alloca i32
%storemerge7.reg2mem = alloca i64
%storemerge817.reg2mem = alloca i64
%indvars.iv35.reg2mem = alloca i64
%sv_1.0.reg2mem = alloca i32
%sv_2.1.reg2mem = alloca i32
%sv_0.1.reg2mem = alloca i32
%sv_0.020.reg2mem = alloca i32
%sv_2.021.reg2mem = alloca i32
%indvars.iv.reg2mem = alloca i64
%sv_3.0.reg2mem = alloca i32
%sv_4.0.reg2mem = alloca i32
%sv_5.0.reg2mem = alloca i32
%sv_6.0.reg2mem = alloca i32
%sv_7.025.reg2mem = alloca i32
%sv_5.126.reg2mem = alloca i32
%storemerge527.reg2mem = alloca i32
%.reg2mem53 = alloca i64
%.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg2 to i64
%3 = ptrtoint i64* %arg1 to i64
%sv_8 = alloca i64, align 8
%sv_9 = alloca i64, align 8
%sv_10 = alloca i64, align 8
%sv_11 = alloca i64, align 8
%sv_12 = alloca i64, align 8
store i64 %2, i64* %sv_11, align 8
%4 = add i64 %3, 4
%5 = inttoptr i64 %4 to i32*
%6 = load i32, i32* %5, align 4
%7 = add i64 %3, 8
%8 = inttoptr i64 %7 to i32*
%9 = load i32, i32* %8, align 4
%10 = add i64 %3, 12
%11 = inttoptr i64 %10 to i32*
%12 = load i32, i32* %11, align 4
%13 = zext i32 %12 to i64
%14 = sext i32 %9 to i64
%15 = icmp slt i64 %14, %13
store i64 %13, i64* %.lcssa19.reg2mem
br i1 %15, label LBL_1, label LBL_35
LBL_1:
%16 = ptrtoint i64* %sv_11 to i64
%17 = ptrtoint i64* %sv_9 to i64
%18 = trunc i64 %1 to i32
%19 = mul i32 %18, 8
%20 = sub i32 %19, %6
%21 = ptrtoint i64* %sv_12 to i64
%22 = add i64 %3, 36
%23 = inttoptr i64 %22 to i32*
%24 = add i64 %3, 32
%25 = inttoptr i64 %24 to i32*
%26 = add i64 %3, 16
%27 = inttoptr i64 %26 to i32*
%28 = add i64 %3, 24
%29 = inttoptr i64 %28 to i32*
%30 = add i64 %3, 28
%31 = inttoptr i64 %30 to i32*
%32 = add i64 %3, 20
%33 = inttoptr i64 %32 to i32*
%34 = add i64 %3, 48
%35 = inttoptr i64 %34 to i64*
%36 = ptrtoint i64* %sv_10 to i64
%37 = add i64 %3, 104
%38 = inttoptr i64 %37 to i32*
%39 = add i64 %3, 56
%40 = inttoptr i64 %39 to i64*
%41 = add i64 %3, 72
%42 = inttoptr i64 %41 to i64*
%43 = add i64 %3, 44
%44 = inttoptr i64 %43 to i32*
%45 = add i64 %3, 40
%46 = inttoptr i64 %45 to i32*
%47 = add i64 %21, -7232
%48 = add i64 %3, 96
%49 = inttoptr i64 %48 to i64*
%50 = add i64 %16, -16
%51 = inttoptr i64 %50 to i64*
%52 = add i64 %16, -24
%53 = inttoptr i64 %52 to i64*
%54 = ptrtoint i64* %sv_8 to i64
%55 = add i64 %16, -32
%56 = inttoptr i64 %55 to i64*
%57 = add i64 %16, -40
%58 = inttoptr i64 %57 to i64*
%59 = add i64 %16, -48
%60 = inttoptr i64 %59 to i64*
%61 = add i64 %16, -56
%62 = inttoptr i64 %61 to i64*
%63 = add i64 %16, -64
%64 = inttoptr i64 %63 to i64*
%65 = add i64 %16, -72
%66 = inttoptr i64 %65 to i64*
%67 = add i64 %16, -80
%68 = inttoptr i64 %67 to i64*
store i64 %2, i64* %.reg2mem
store i64 %14, i64* %.reg2mem53
store i32 %9, i32* %storemerge527.reg2mem
store i32 0, i32* %sv_5.126.reg2mem
store i32 1, i32* %sv_7.025.reg2mem
br label LBL_2
LBL_2:
%sv_7.025.reload = load i32, i32* %sv_7.025.reg2mem
%sv_5.126.reload = load i32, i32* %sv_5.126.reg2mem
%storemerge527.reload = load i32, i32* %storemerge527.reg2mem
%.reload54 = load i64, i64* %.reg2mem53
%.reload = load i64, i64* %.reg2mem
%69 = load i32, i32* %23, align 4
%70 = mul i64 %.reload54, 4
%71 = add i64 %70, ptrtoint (i32** @gv_0 to i64)
%72 = inttoptr i64 %71 to i32*
%73 = load i32, i32* %72, align 4
%74 = load i32, i32* %25, align 4
%75 = add i64 %70, ptrtoint (i32** @gv_1 to i64)
%76 = inttoptr i64 %75 to i32*
%77 = load i32, i32* %76, align 4
%78 = call i64 @FUNC(i64 %.reload)
%79 = trunc i64 %78 to i32
%80 = load i32, i32* %8, align 4
%81 = icmp eq i32 %storemerge527.reload, %80
br i1 %81, label LBL_4, label LBL_3
LBL_3:
%82 = load i32, i32* %29, align 4
%83 = sub i32 %82, %79
store i32 %83, i32* %29, align 4
br label LBL_4
LBL_4:
%84 = sub i32 0, %79
%85 = sub i32 %84, 1
%86 = add i32 %20, %85
store i32 %86, i32* %31, align 4
%87 = load i32, i32* %33, align 4
%88 = zext i32 %87 to i64
%89 = icmp slt i64 %.reload54, %88
store i32 0, i32* %sv_6.0.reg2mem
br i1 %89, label LBL_5, label LBL_6
LBL_5:
%90 = load i32, i32* %29, align 4
%91 = sub i32 %87, %storemerge527.reload
%92 = add i32 %91, -3
%93 = sub i32 2, %91
%94 = and i32 %93, %91
%95 = icmp slt i32 %94, 0
%96 = icmp eq i32 %92, 0
%97 = icmp slt i32 %92, 0
%98 = icmp ne i1 %97, %95
%99 = or i1 %96, %98
%100 = ashr i32 %90, 31
%101 = zext i32 %90 to i64
%102 = zext i32 %100 to i64
%103 = mul i64 %102, 4294967296
%104 = or i64 %103, %101
%105 = zext i32 %91 to i64
%106 = select i1 %99, i64 %105, i64 3
%107 = sdiv i64 %104, %106
%108 = trunc i64 %107 to i32
%109 = load i64, i64* %35, align 8
%110 = add i64 %109, %70
%111 = inttoptr i64 %110 to i32*
%112 = load i32, i32* %111, align 4
%113 = add i32 %112, %108
%114 = add i32 %86, 1
%115 = sub i32 %113, %114
%116 = xor i32 %113, %114
%117 = xor i32 %115, %113
%118 = and i32 %117, %116
%119 = icmp slt i32 %118, 0
%120 = icmp eq i32 %115, 0
%121 = icmp slt i32 %115, 0
%122 = icmp ne i1 %121, %119
%123 = or i1 %120, %122
%124 = select i1 %123, i32 %113, i32 %114
%125 = zext i32 %124 to i64
%126 = call i64 @FUNC(i64 %125, i64 14)
%127 = trunc i64 %126 to i32
store i32 %127, i32* %sv_6.0.reg2mem
br label LBL_6
LBL_6:
%sv_6.0.reload = load i32, i32* %sv_6.0.reg2mem
%128 = load i32, i32* %72, align 4
%129 = load i32, i32* %76, align 4
%130 = sub i32 %128, %129
%131 = load i32, i32* %8, align 4
%132 = sext i32 %131 to i64
%133 = mul i64 %132, 4
%134 = add i64 %133, ptrtoint (i32** @gv_0 to i64)
%135 = inttoptr i64 %134 to i32*
%136 = load i32, i32* %135, align 4
%137 = icmp ult i32 %130, %136
%138 = add i32 %131, 1
%139 = icmp eq i32 %storemerge527.reload, %138
%140 = icmp eq i1 %139, false
%or.cond42 = icmp eq i1 %137, %140
store i32 %sv_5.126.reload, i32* %sv_5.0.reg2mem
br i1 %or.cond42, label LBL_8, label LBL_7
LBL_7:
%141 = icmp eq i32 %sv_7.025.reload, 0
%142 = icmp eq i32 %sv_5.126.reload, 0
%143 = icmp eq i1 %142, false
%or.cond = icmp eq i1 %141, %143
%spec.select16 = select i1 %or.cond, i32 %sv_5.126.reload, i32 %storemerge527.reload
store i32 %spec.select16, i32* %sv_5.0.reg2mem
br label LBL_8
LBL_8:
%sv_5.0.reload = load i32, i32* %sv_5.0.reg2mem
br i1 %140, label LBL_11, label LBL_9
LBL_9:
%144 = mul i32 %128, 8
%145 = add i32 %storemerge527.reload, -1
%146 = sext i32 %145 to i64
%147 = mul i64 %146, 4
%148 = add i64 %147, ptrtoint (i32** @gv_1 to i64)
%149 = inttoptr i64 %148 to i32*
%150 = load i32, i32* %149, align 4
%151 = sub i32 %129, %150
%152 = mul i32 %151, 8
%153 = mul i32 %151, 32
%154 = sub i32 %144, %152
%155 = sext i32 %154 to i64
%156 = mul i64 %155, 4
%157 = add i64 %156, %36
%158 = sext i32 %144 to i64
%159 = mul i64 %158, 4
%160 = add i64 %159, %36
%161 = inttoptr i64 %160 to i64*
%162 = inttoptr i64 %157 to i64*
%163 = call i64* @memcpy(i64* %161, i64* %162, i32 %153)
%164 = load i32, i32* %27, align 4
%165 = icmp eq i32 %164, 2
%166 = icmp eq i1 %165, false
br i1 %166, label LBL_11, label LBL_10
LBL_10:
%167 = add i64 %156, %17
%168 = add i64 %159, %17
%169 = inttoptr i64 %168 to i64*
%170 = inttoptr i64 %167 to i64*
%171 = call i64* @memcpy(i64* %169, i64* %170, i32 %153)
br label LBL_11
LBL_11:
%172 = urem i32 %69, 32
%notmask = shl nsw i32 -1, %172
%173 = sub i32 0, %notmask
%174 = sub i32 %173, 1
%175 = icmp eq i32 %sv_5.0.reload, 0
store i32 %174, i32* %sv_0.1.reg2mem
store i32 %174, i32* %sv_2.1.reg2mem
store i32 -1, i32* %sv_1.0.reg2mem
br i1 %175, label LBL_23, label LBL_12
LBL_12:
%176 = load i32, i32* %38, align 4
%177 = icmp eq i32 %176, 1
%178 = icmp eq i1 %177, false
br i1 %178, label LBL_15, label LBL_13
LBL_13:
%179 = load i32, i32* %23, align 4
%180 = icmp sgt i32 %179, 1
br i1 %180, label LBL_15, label LBL_14
LBL_14:
%181 = load i64, i64* %40, align 8
%182 = add i64 %181, %70
%183 = inttoptr i64 %182 to i32*
%184 = load i32, i32* %183, align 4
%185 = icmp slt i32 %184, 0
%186 = icmp eq i1 %185, false
store i32 %174, i32* %sv_0.1.reg2mem
store i32 %174, i32* %sv_2.1.reg2mem
store i32 -1, i32* %sv_1.0.reg2mem
br i1 %186, label LBL_23, label LBL_15
LBL_15:
%187 = sext i32 %sv_5.0.reload to i64
%188 = mul i64 %187, 4
%189 = add i64 %188, ptrtoint (i32** @gv_0 to i64)
%190 = inttoptr i64 %189 to i32*
%191 = load i32, i32* %190, align 4
%192 = load i32, i32* %76, align 4
%193 = sub i32 %191, %192
%194 = load i32, i32* %8, align 4
%195 = sext i32 %194 to i64
%196 = mul i64 %195, 4
%197 = add i64 %196, ptrtoint (i32** @gv_0 to i64)
%198 = inttoptr i64 %197 to i32*
%199 = load i32, i32* %198, align 4
%200 = sub i32 %193, %199
%201 = xor i32 %199, %193
%202 = xor i32 %200, %193
%203 = and i32 %202, %201
%204 = icmp slt i32 %203, 0
%205 = icmp slt i32 %200, 0
%206 = icmp eq i1 %205, %204
%207 = select i1 %206, i32 %193, i32 %199
%208 = sext i32 %207 to i64
store i32 %sv_5.0.reload, i32* %sv_4.0.reg2mem
br label LBL_16
LBL_16:
%sv_4.0.reload = load i32, i32* %sv_4.0.reg2mem
%209 = add i32 %sv_4.0.reload, -1
%210 = sext i32 %209 to i64
%211 = mul i64 %210, 4
%212 = add i64 %211, ptrtoint (i32** @gv_0 to i64)
%213 = inttoptr i64 %212 to i32*
%214 = load i32, i32* %213, align 4
%215 = zext i32 %214 to i64
%216 = icmp slt i64 %208, %215
store i32 %209, i32* %sv_4.0.reg2mem
br i1 %216, label LBL_16, label LBL_17
LBL_17:
%217 = add i32 %sv_5.0.reload, -1
%218 = add i32 %207, %192
store i32 %217, i32* %sv_3.0.reg2mem
br label LBL_18
LBL_18:
%sv_3.0.reload = load i32, i32* %sv_3.0.reg2mem
%219 = add i32 %sv_3.0.reload, 1
%220 = icmp slt i32 %219, %storemerge527.reload
br i1 %220, label LBL_19, label LBL_20
LBL_19:
%221 = sext i32 %219 to i64
%222 = mul i64 %221, 4
%223 = add i64 %222, ptrtoint (i32** @gv_0 to i64)
%224 = inttoptr i64 %223 to i32*
%225 = load i32, i32* %224, align 4
%226 = icmp ult i32 %225, %218
store i32 %219, i32* %sv_3.0.reg2mem
br i1 %226, label LBL_18, label LBL_20
LBL_20:
%227 = icmp slt i32 %209, %219
store i32 0, i32* %sv_0.1.reg2mem
store i32 0, i32* %sv_2.1.reg2mem
store i32 %207, i32* %sv_1.0.reg2mem
br i1 %227, label LBL_21, label LBL_23
LBL_21:
%228 = load i64, i64* %42, align 8
%229 = load i32, i32* %27, align 4
%230 = add i32 %229, -1
%231 = sext i32 %230 to i64
%232 = mul i64 %231, 16
%233 = add i64 %232, %41
%234 = inttoptr i64 %233 to i64*
%235 = load i64, i64* %234, align 8
%wide.trip.count = sext i32 %219 to i64
store i64 %210, i64* %indvars.iv.reg2mem
store i32 0, i32* %sv_2.021.reg2mem
store i32 0, i32* %sv_0.020.reg2mem
br label LBL_22
LBL_22:
%sv_0.020.reload = load i32, i32* %sv_0.020.reg2mem
%sv_2.021.reload = load i32, i32* %sv_2.021.reg2mem
%indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem
%236 = add i64 %indvars.iv.reload, %228
%237 = inttoptr i64 %236 to i8*
%238 = load i8, i8* %237, align 1
%239 = zext i8 %238 to i32
%240 = or i32 %sv_0.020.reload, %239
%241 = add i64 %indvars.iv.reload, %235
%242 = inttoptr i64 %241 to i8*
%243 = load i8, i8* %242, align 1
%244 = zext i8 %243 to i32
%245 = or i32 %sv_2.021.reload, %244
%indvars.iv.next = add nsw i64 %indvars.iv.reload, 1
%exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count
store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem
store i32 %245, i32* %sv_2.021.reg2mem
store i32 %240, i32* %sv_0.020.reg2mem
store i32 %240, i32* %sv_0.1.reg2mem
store i32 %245, i32* %sv_2.1.reg2mem
store i32 %207, i32* %sv_1.0.reg2mem
br i1 %exitcond, label LBL_23, label LBL_22
LBL_23:
%246 = urem i32 %74, 32
%247 = shl i32 %73, %246
%sv_1.0.reload = load i32, i32* %sv_1.0.reg2mem
%sv_2.1.reload = load i32, i32* %sv_2.1.reg2mem
%sv_0.1.reload = load i32, i32* %sv_0.1.reg2mem
%248 = load i32, i32* %44, align 4
%249 = icmp eq i32 %248, 0
br i1 %249, label LBL_28, label LBL_24
LBL_24:
%250 = load i32, i32* %46, align 4
%251 = icmp eq i32 %storemerge527.reload, %250
%252 = icmp eq i1 %251, false
br i1 %252, label LBL_28, label LBL_25
LBL_25:
store i32 0, i32* %44, align 4
%253 = load i32, i32* %8, align 4
%254 = sext i32 %253 to i64
%255 = mul i64 %254, 4
%256 = add i64 %255, ptrtoint (i32** @gv_0 to i64)
%257 = inttoptr i64 %256 to i32*
%258 = load i32, i32* %257, align 4
%259 = load i32, i32* %25, align 4
%260 = urem i32 %259, 32
%261 = shl i32 %258, %260
%262 = icmp slt i32 %261, %247
br i1 %262, label LBL_26, label LBL_28
LBL_26:
%263 = sext i32 %261 to i64
%wide.trip.count37 = sext i32 %247 to i64
store i64 %263, i64* %indvars.iv35.reg2mem
br label LBL_27
LBL_27:
%indvars.iv35.reload = load i64, i64* %indvars.iv35.reg2mem
%264 = mul i64 %indvars.iv35.reload, 4
%265 = add i64 %47, %264
%266 = inttoptr i64 %265 to i32*
%267 = load i32, i32* %266, align 4
%268 = call i128 @FUNC(i32 %267)
%269 = add i64 %264, %17
%270 = inttoptr i64 %269 to i32*
%271 = load i32, i32* %270, align 4
%272 = call i128 @FUNC(i32 %271)
%273 = call i128 @FUNC(i128 %272, i128 %268)
%274 = call i128 @FUNC(i32 1073741824)
%275 = call i128 @FUNC(i128 %273, i128 %274)
%276 = call i64 @__asm_movss.1(i128 %275)
%277 = trunc i64 %276 to i32
store i32 %277, i32* %266, align 4
%indvars.iv.next36 = add nsw i64 %indvars.iv35.reload, 1
%exitcond38 = icmp eq i64 %indvars.iv.next36, %wide.trip.count37
store i64 %indvars.iv.next36, i64* %indvars.iv35.reg2mem
br i1 %exitcond38, label LBL_28, label LBL_27
LBL_28:
%278 = icmp eq i32 %sv_1.0.reload, -1
store i64 0, i64* %storemerge817.reg2mem
store i64 0, i64* %storemerge7.reg2mem
br i1 %278, label LBL_30, label LBL_29
LBL_29:
%279 = load i32, i32* %25, align 4
%280 = urem i32 %279, 32
%281 = shl i32 %sv_1.0.reload, %280
%282 = sext i32 %281 to i64
%283 = mul i64 %282, 4
%284 = add i64 %283, %36
%285 = add i64 %283, %17
store i64 %284, i64* %storemerge817.reg2mem
store i64 %285, i64* %storemerge7.reg2mem
br label LBL_30
LBL_30:
%286 = shl i32 %77, %246
%storemerge817.reload = load i64, i64* %storemerge817.reg2mem
%287 = load i32, i32* %44, align 4
%288 = icmp eq i32 %287, 0
br i1 %288, label LBL_32, label LBL_31
LBL_31:
%storemerge7.reload = load i64, i64* %storemerge7.reg2mem
%289 = zext i32 %sv_0.1.reload to i64
%290 = sext i32 %247 to i64
%291 = mul i64 %290, 4
%292 = add i64 %291, %36
%293 = load i32, i32* %25, align 4
%294 = zext i32 %293 to i64
%295 = load i32, i32* %23, align 4
%296 = zext i32 %295 to i64
%297 = ashr i32 %sv_6.0.reload, 1
%298 = zext i32 %297 to i64
%299 = load i64, i64* %49, align 8
store i64 %289, i64* %51, align 8
store i64 %54, i64* %53, align 8
store i64 0, i64* %56, align 8
store i64 %292, i64* %58, align 8
store i64 %294, i64* %60, align 8
store i64 %storemerge817.reload, i64* %62, align 8
store i64 %296, i64* %64, align 8
store i64 %298, i64* %66, align 8
%300 = zext i32 %286 to i64
store i64 %300, i64* %68, align 8
%301 = load i32, i32* inttoptr (i64 4202516 to i32*), align 4
%302 = call i128 @FUNC(i32 %301)
%303 = trunc i64 %299 to i32
%304 = zext i32 %sv_2.1.reload to i64
%305 = add i64 %291, %17
%306 = load i32, i32* %25, align 4
%307 = zext i32 %306 to i64
%308 = load i32, i32* %23, align 4
%309 = zext i32 %308 to i64
%310 = load i64, i64* %49, align 8
store i64 %304, i64* %51, align 8
store i64 %54, i64* %53, align 8
store i64 0, i64* %56, align 8
store i64 %305, i64* %58, align 8
store i64 %307, i64* %60, align 8
store i64 %storemerge7.reload, i64* %62, align 8
store i64 %309, i64* %64, align 8
store i64 %298, i64* %66, align 8
store i64 %300, i64* %68, align 8
%311 = call i128 @FUNC(i32 1065353216)
%312 = trunc i64 %310 to i32
store i32 %303, i32* %sv_0.2.reg2mem
store i32 %312, i32* %storemerge6.reg2mem
br label LBL_33
LBL_32:
%313 = or i32 %sv_2.1.reload, %sv_0.1.reload
%314 = zext i32 %313 to i64
%315 = sext i32 %247 to i64
%316 = mul i64 %315, 4
%317 = add i64 %316, %36
%318 = load i32, i32* %25, align 4
%319 = zext i32 %318 to i64
%320 = load i32, i32* %23, align 4
%321 = zext i32 %320 to i64
%322 = load i64, i64* %49, align 8
store i64 %314, i64* %51, align 8
store i64 %54, i64* %53, align 8
store i64 0, i64* %56, align 8
store i64 %317, i64* %58, align 8
store i64 %319, i64* %60, align 8
store i64 %storemerge817.reload, i64* %62, align 8
store i64 %321, i64* %64, align 8
%323 = zext i32 %sv_6.0.reload to i64
store i64 %323, i64* %66, align 8
%324 = zext i32 %286 to i64
store i64 %324, i64* %68, align 8
%325 = call i128 @FUNC(i32 1065353216)
%326 = trunc i64 %322 to i32
store i32 %326, i32* %sv_0.2.reg2mem
store i32 %326, i32* %storemerge6.reg2mem
br label LBL_33
LBL_33:
%storemerge6.reload = load i32, i32* %storemerge6.reg2mem
%sv_0.2.reload = load i32, i32* %sv_0.2.reg2mem
%327 = load i64, i64* %42, align 8
%328 = add i64 %327, %.reload54
%329 = trunc i32 %sv_0.2.reload to i8
%330 = inttoptr i64 %328 to i8*
store i8 %329, i8* %330, align 1
%331 = load i32, i32* %27, align 4
%332 = add i32 %331, -1
%333 = sext i32 %332 to i64
%334 = mul i64 %333, 16
%335 = add i64 %334, %41
%336 = inttoptr i64 %335 to i64*
%337 = load i64, i64* %336, align 8
%338 = add i64 %337, %.reload54
%339 = trunc i32 %storemerge6.reload to i8
%340 = inttoptr i64 %338 to i8*
store i8 %339, i8* %340, align 1
%341 = load i32, i32* %29, align 4
%342 = load i64, i64* %35, align 8
%343 = add i64 %342, %70
%344 = inttoptr i64 %343 to i32*
%345 = load i32, i32* %344, align 4
%346 = add i32 %341, %79
%347 = add i32 %346, %345
store i32 %347, i32* %29, align 4
%348 = add i32 %storemerge527.reload, 1
%349 = load i32, i32* %11, align 4
%350 = zext i32 %349 to i64
%351 = sext i32 %348 to i64
%352 = icmp slt i64 %351, %350
store i64 %350, i64* %.lcssa19.reg2mem
br i1 %352, label LBL_33.LBL_2_crit_edge, label LBL_35
LBL_34:
%353 = mul i32 %286, 8
%354 = sub i32 %sv_6.0.reload, %353
%355 = icmp slt i32 %354, 0
%356 = xor i32 %354, %sv_6.0.reload
%357 = xor i32 %sv_6.0.reload, %353
%358 = and i32 %356, %357
%359 = icmp slt i32 %358, 0
%360 = icmp eq i1 %355, %359
%361 = icmp eq i32 %354, 0
%362 = icmp eq i1 %361, false
%363 = icmp eq i1 %360, %362
%364 = zext i1 %363 to i32
%.pre = load i64, i64* %sv_11, align 8
store i64 %.pre, i64* %.reg2mem
store i64 %351, i64* %.reg2mem53
store i32 %348, i32* %storemerge527.reg2mem
store i32 %sv_5.0.reload, i32* %sv_5.126.reg2mem
store i32 %364, i32* %sv_7.025.reg2mem
br label LBL_2
LBL_35:
%.lcssa19.reload = load i64, i64* %.lcssa19.reg2mem
ret i64 %.lcssa19.reload
uselistorder i32 %354, { 2, 0, 1 }
uselistorder i32 %353, { 1, 0 }
uselistorder i64 %291, { 1, 0 }
uselistorder i32 %286, { 0, 2, 1 }
uselistorder i64 %283, { 1, 0 }
uselistorder i64 %264, { 1, 0 }
uselistorder i32 %sv_0.1.reload, { 1, 0 }
uselistorder i32 %sv_2.1.reload, { 1, 0 }
uselistorder i32 %247, { 3, 2, 0, 1 }
uselistorder i32 %246, { 1, 0 }
uselistorder i64 %indvars.iv.reload, { 0, 2, 1 }
uselistorder i32 %219, { 2, 1, 0, 3, 4 }
uselistorder i32 %209, { 1, 0, 2 }
uselistorder i32 %200, { 1, 0 }
uselistorder i32 %199, { 1, 0, 2 }
uselistorder i32 %193, { 2, 0, 1, 3 }
uselistorder i32 %174, { 0, 2, 1, 3 }
uselistorder i64 %159, { 1, 0 }
uselistorder i64 %156, { 1, 0 }
uselistorder i32 %153, { 1, 0 }
uselistorder i32 %144, { 1, 0 }
uselistorder i32 %sv_5.0.reload, { 4, 3, 0, 2, 1 }
uselistorder i1 %140, { 1, 0 }
uselistorder i32 %sv_6.0.reload, { 4, 3, 1, 0, 2 }
uselistorder i32 %115, { 1, 2, 0 }
uselistorder i32 %114, { 1, 0, 2 }
uselistorder i32 %113, { 2, 0, 1, 3 }
uselistorder i32 %92, { 1, 0 }
uselistorder i32 %91, { 2, 0, 1, 3 }
uselistorder i32 %79, { 1, 0, 2 }
uselistorder i64 %70, { 4, 3, 2, 1, 0 }
uselistorder i64 %.reload54, { 2, 1, 0, 3 }
uselistorder i32 %storemerge527.reload, { 6, 5, 3, 4, 0, 7, 1, 2 }
uselistorder i32 %sv_5.126.reload, { 1, 2, 0 }
uselistorder i32* %44, { 1, 0, 2 }
uselistorder i32* %29, { 1, 0, 2, 3, 4 }
uselistorder i32* %27, { 2, 1, 0 }
uselistorder i32* %25, { 4, 2, 3, 1, 0, 5 }
uselistorder i32* %23, { 3, 1, 2, 0, 4 }
uselistorder i32* %11, { 1, 0 }
uselistorder i32* %8, { 1, 0, 2, 3, 4 }
uselistorder i64* %sv_11, { 0, 2, 1 }
uselistorder i64 %3, { 3, 5, 4, 1, 0, 2, 7, 6, 8, 9, 10, 11, 12, 13, 14, 15 }
uselistorder i64* %.reg2mem, { 1, 0, 2 }
uselistorder i64* %.reg2mem53, { 1, 0, 2 }
uselistorder i32* %storemerge527.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_5.126.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_7.025.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_6.0.reg2mem, { 0, 2, 1 }
uselistorder i32* %sv_5.0.reg2mem, { 0, 2, 1 }
uselistorder i32* %sv_4.0.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_3.0.reg2mem, { 1, 0, 2 }
uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_2.021.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_0.020.reg2mem, { 1, 0, 2 }
uselistorder i64* %indvars.iv35.reg2mem, { 1, 0, 2 }
uselistorder i64* %storemerge817.reg2mem, { 0, 2, 1 }
uselistorder i64* %storemerge7.reg2mem, { 0, 2, 1 }
uselistorder i32* %sv_0.2.reg2mem, { 0, 2, 1 }
uselistorder i32* %storemerge6.reg2mem, { 0, 2, 1 }
uselistorder i64* (i64*, i64*, i32)* @memcpy, { 1, 0 }
uselistorder i32 32, { 1, 2, 3, 4, 0, 5 }
uselistorder i32 -1, { 6, 4, 5, 7, 8, 0, 1, 2, 9, 3 }
uselistorder i1 false, { 2, 3, 4, 5, 6, 1, 0 }
uselistorder i32 2, { 1, 0 }
uselistorder i32 0, { 11, 12, 10, 13, 14, 15, 2, 3, 0, 1, 16, 17, 18, 19, 7, 9, 20, 21, 22, 23, 24, 25, 26, 4, 6, 5, 8, 27 }
uselistorder i64 32, { 1, 0 }
uselistorder label LBL_30, { 1, 0 }
uselistorder label LBL_20, { 1, 0 }
uselistorder label LBL_8, { 1, 0 }
uselistorder label LBL_6, { 1, 0 }
} | 1 |
BinRealVul | decode_subframe_length_18324 | decode_subframe_length | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.shrunk.reg2mem = alloca i32
%sv_0.0.reg2mem = alloca i32
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = load i64, i64* %0
%4 = ptrtoint i64* %arg1 to i64
%5 = trunc i64 %arg2 to i32
%6 = trunc i64 %3 to i32
%7 = add i64 %4, 4
%8 = inttoptr i64 %7 to i32*
%9 = load i32, i32* %8, align 4
%10 = sub i32 %9, %6
%11 = sub i32 0, %5
%12 = icmp eq i32 %10, %11
%13 = icmp eq i1 %12, false
store i32 %9, i32* %rax.0.shrunk.reg2mem
br i1 %13, label LBL_1, label LBL_7
LBL_1:
%14 = add i64 %4, 8
%15 = inttoptr i64 %14 to i32*
%16 = load i32, i32* %15, align 4
%17 = icmp eq i32 %16, 0
br i1 %17, label LBL_4, label LBL_2
LBL_2:
%18 = add i64 %4, 24
%19 = call i64 @FUNC(i64 %18)
%20 = trunc i64 %19 to i32
%21 = icmp eq i32 %20, 0
store i32 0, i32* %sv_0.0.reg2mem
br i1 %21, label LBL_5, label LBL_3
LBL_3:
%22 = add i64 %4, 12
%23 = inttoptr i64 %22 to i32*
%24 = load i32, i32* %23, align 4
%25 = add i32 %24, -1
%26 = zext i32 %25 to i64
%27 = call i64 @FUNC(i64 %18, i64 %26)
%28 = trunc i64 %27 to i32
%29 = add i32 %28, 1
store i32 %29, i32* %sv_0.0.reg2mem
br label LBL_5
LBL_4:
%30 = add i64 %4, 12
%31 = inttoptr i64 %30 to i32*
%32 = load i32, i32* %31, align 4
%33 = add i64 %4, 24
%34 = zext i32 %32 to i64
%35 = call i64 @FUNC(i64 %33, i64 %34)
%36 = trunc i64 %35 to i32
store i32 %36, i32* %sv_0.0.reg2mem
br label LBL_5
LBL_5:
%sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem
%37 = urem i32 %sv_0.0.reload, 32
%38 = ashr i32 %6, %37
%39 = load i32, i32* %8, align 4
%40 = zext i32 %39 to i64
%41 = sext i32 %38 to i64
%42 = icmp slt i64 %41, %40
%43 = and i64 %3, 4294967295
%44 = icmp slt i64 %43, %41
%or.cond = or i1 %42, %44
store i32 %38, i32* %rax.0.shrunk.reg2mem
br i1 %or.cond, label LBL_6, label LBL_7
LBL_6:
%45 = add i64 %4, 16
%46 = inttoptr i64 %45 to i64*
%47 = load i64, i64* %46, align 8
%48 = zext i32 %38 to i64
%49 = call i64 @FUNC(i64 %47, i64 16, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_0, i64 0, i64 0), i64 %48, i64 %2, i64 %1)
store i32 -1, i32* %rax.0.shrunk.reg2mem
br label LBL_7
LBL_7:
%rax.0.shrunk.reload = load i32, i32* %rax.0.shrunk.reg2mem
%rax.0 = zext i32 %rax.0.shrunk.reload to i64
ret i64 %rax.0
uselistorder i32 %38, { 2, 0, 1 }
uselistorder i64 %4, { 1, 4, 5, 0, 3, 2, 6 }
uselistorder i64 %3, { 1, 0 }
uselistorder i32* %sv_0.0.reg2mem, { 0, 3, 1, 2 }
uselistorder i32* %rax.0.shrunk.reg2mem, { 0, 3, 1, 2 }
uselistorder i64* %0, { 2, 1, 0 }
uselistorder i64 (i64, i64)* @get_bits, { 1, 0 }
uselistorder i32 0, { 0, 2, 3, 1 }
uselistorder label LBL_7, { 2, 0, 1 }
} | 1 |
BinRealVul | run_poll_handlers_once_16015 | run_poll_handlers_once | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%sv_0.1.lcssa.reg2mem = alloca i8
%sv_0.0.reg2mem = alloca i8
%sv_0.11.reg2mem = alloca i8
%storemerge2.reg2mem = alloca i64
%0 = icmp eq i64* %arg1, null
%1 = icmp eq i1 %0, false
store i8 0, i8* %sv_0.1.lcssa.reg2mem
br i1 %1, label LBL_1, label LBL_6
LBL_1:
%2 = ptrtoint i64* %arg1 to i64
store i64 %2, i64* %storemerge2.reg2mem
store i8 0, i8* %sv_0.11.reg2mem
br label LBL_2
LBL_2:
%sv_0.11.reload = load i8, i8* %sv_0.11.reg2mem
%storemerge2.reload = load i64, i64* %storemerge2.reg2mem
%3 = inttoptr i64 %storemerge2.reload to i8*
%4 = load i8, i8* %3, align 1
%5 = icmp eq i8 %4, 1
store i8 %sv_0.11.reload, i8* %sv_0.0.reg2mem
br i1 %5, label LBL_5, label LBL_3
LBL_3:
%6 = add i64 %storemerge2.reload, 8
%7 = inttoptr i64 %6 to i64*
%8 = load i64, i64* %7, align 8
%9 = icmp eq i64 %8, 0
store i8 %sv_0.11.reload, i8* %sv_0.0.reg2mem
br i1 %9, label LBL_5, label LBL_4
LBL_4:
%10 = add i64 %storemerge2.reload, 16
%11 = inttoptr i64 %10 to i64*
%12 = load i64, i64* %11, align 8
%13 = trunc i64 %12 to i8
%14 = icmp eq i8 %13, 0
%spec.select = select i1 %14, i8 %sv_0.11.reload, i8 1
store i8 %spec.select, i8* %sv_0.0.reg2mem
br label LBL_5
LBL_5:
%sv_0.0.reload = load i8, i8* %sv_0.0.reg2mem
%15 = add i64 %storemerge2.reload, 24
%16 = inttoptr i64 %15 to i64*
%17 = load i64, i64* %16, align 8
%18 = icmp eq i64 %17, 0
%19 = icmp eq i1 %18, false
store i64 %17, i64* %storemerge2.reg2mem
store i8 %sv_0.0.reload, i8* %sv_0.11.reg2mem
store i8 %sv_0.0.reload, i8* %sv_0.1.lcssa.reg2mem
br i1 %19, label LBL_2, label LBL_6
LBL_6:
%sv_0.1.lcssa.reload = load i8, i8* %sv_0.1.lcssa.reg2mem
%20 = zext i8 %sv_0.1.lcssa.reload to i64
ret i64 %20
uselistorder i8 %sv_0.11.reload, { 2, 0, 1 }
uselistorder i64* %storemerge2.reg2mem, { 1, 0, 2 }
uselistorder i8* %sv_0.11.reg2mem, { 1, 0, 2 }
uselistorder i1 false, { 1, 0 }
uselistorder i64* %arg1, { 1, 0 }
uselistorder label LBL_2, { 1, 0 }
} | 1 |
BinRealVul | json_print_chapter_header_16993 | json_print_chapter_header | define i64 @FUNC(i64* %arg1, i8* %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%storemerge4.reg2mem = alloca i32
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg1 to i64
%3 = add i64 %2, 8
%4 = inttoptr i64 %3 to i64*
%5 = load i64, i64* %4, align 8
%6 = trunc i64 %1 to i32
%7 = icmp eq i32 %6, 0
br i1 %7, label LBL_2, label LBL_1
LBL_1:
%8 = call i32 @putchar(i32 44)
br label LBL_2
LBL_2:
%9 = call i32 @strcmp(i8* %arg2, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0))
%10 = icmp eq i32 %9, 0
store i32 1, i32* %storemerge4.reg2mem
br i1 %10, label LBL_4, label LBL_3
LBL_3:
%11 = call i32 @strcmp(i8* %arg2, i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_1, i64 0, i64 0))
%12 = icmp eq i32 %11, 0
%phitmp = zext i1 %12 to i32
store i32 %phitmp, i32* %storemerge4.reg2mem
br label LBL_4
LBL_4:
%13 = inttoptr i64 %5 to i32*
%storemerge4.reload = load i32, i32* %storemerge4.reg2mem
store i32 %storemerge4.reload, i32* %13, align 4
%14 = ptrtoint i8* %arg2 to i64
%15 = call i64 @FUNC(i64 %14)
%16 = load i32, i32* %13, align 4
%17 = icmp eq i32 %16, 0
%18 = icmp eq i64 %15, 0
%storemerge = select i1 %18, i64 ptrtoint (i8** @gv_2 to i64), i64 %15
%19 = inttoptr i64 %storemerge to i8*
%20 = select i1 %17, i8* bitcast (i64* @gv_3 to i8*), i8* getelementptr inbounds ([3 x i8], [3 x i8]* @gv_4, i64 0, i64 0)
%21 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([11 x i8], [11 x i8]* @gv_5, i64 0, i64 0), i8* %19, i8* %20)
%22 = call i64 @FUNC(i64 %15)
ret i64 %22
uselistorder i64 %15, { 0, 2, 1 }
uselistorder i32 (i8*, i8*)* @strcmp, { 1, 0 }
uselistorder i8* %arg2, { 1, 0, 2 }
} | 1 |
BinRealVul | img_read_packet_16987 | img_read_packet | define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%sv_0.0.in.reg2mem = alloca i64
%sv_1.0.reg2mem = alloca i64
%.pre-phi.reg2mem = alloca i64
%rdi = alloca i64, align 8
%1 = load i64, i64* %0
%rsi = alloca i64, align 8
%2 = ptrtoint i64* %arg1 to i64
%sv_2 = alloca i64, align 8
%3 = trunc i64 %1 to i32
%4 = add i64 %2, 16
%5 = inttoptr i64 %4 to i64*
%6 = load i64, i64* %5, align 8
%7 = call i64 @FUNC(i64* nonnull %sv_2, i64 1024, i64 %6, i32 %3)
%8 = trunc i64 %7 to i32
%9 = icmp slt i32 %8, 0
%10 = icmp eq i1 %9, false
store i64 4294967291, i64* %rax.0.reg2mem
br i1 %10, label LBL_1, label LBL_17
LBL_1:
%11 = add i64 %2, 12
%12 = inttoptr i64 %11 to i32*
%13 = load i32, i32* %12, align 4
%14 = icmp eq i32 %13, 0
%15 = icmp eq i1 %14, false
br i1 %15, label LBL_4, label LBL_2
LBL_2:
%16 = ptrtoint i64* %sv_2 to i64
%17 = call i64 @FUNC(i64 %16, i64* nonnull %sv_2, i64 0)
%18 = trunc i64 %17 to i32
%19 = icmp slt i32 %18, 0
%20 = icmp eq i1 %19, false
store i64 4294967291, i64* %rax.0.reg2mem
br i1 %20, label LBL_2.LBL_5_crit_edge, label LBL_17
LBL_3:
%.pre = add i64 %2, 8
store i64 %.pre, i64* %.pre-phi.reg2mem
store i64 %16, i64* %sv_1.0.reg2mem
br label LBL_5
LBL_4:
%21 = add i64 %2, 8
%22 = call i64 @FUNC(i64 %21)
%23 = trunc i64 %22 to i32
%24 = icmp eq i32 %23, 0
store i64 %21, i64* %.pre-phi.reg2mem
store i64 %21, i64* %sv_1.0.reg2mem
store i64 4294967291, i64* %rax.0.reg2mem
br i1 %24, label LBL_5, label LBL_17
LBL_5:
%25 = ptrtoint i64* %arg2 to i64
%sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem
%.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem
%26 = add i64 %2, 4
%27 = inttoptr i64 %26 to i32*
%28 = load i32, i32* %27, align 4
%29 = zext i32 %28 to i64
%30 = call i64 @FUNC(i64 %25, i64 %29)
%31 = add i64 %25, 16
%32 = inttoptr i64 %31 to i32*
store i32 0, i32* %32, align 4
%33 = inttoptr i64 %.pre-phi.reload to i32*
%34 = load i32, i32* %33, align 4
%35 = icmp eq i32 %34, 4
br i1 %35, label LBL_11, label LBL_6
LBL_6:
%36 = icmp sgt i32 %34, 4
store i64 4294967291, i64* %rax.0.reg2mem
br i1 %36, label LBL_17, label LBL_7
LBL_7:
store i64 4294967291, i64* %rax.0.reg2mem
switch i32 %34, label LBL_17 [
i32 3, label LBL_10
i32 1, label LBL_8
i32 2, label LBL_9
]
LBL_8:
%37 = bitcast i64* %rsi to i32*
%38 = load i32, i32* %37, align 8
%39 = add i64 %25, 8
%40 = inttoptr i64 %39 to i64*
%41 = load i64, i64* %40, align 8
%42 = call i64 @FUNC(i64 %2, i64 %sv_1.0.reload, i64 %41, i32 %38, i64 1)
store i64 %42, i64* %sv_0.0.in.reg2mem
br label LBL_12
LBL_9:
%43 = bitcast i64* %rsi to i32*
%44 = load i32, i32* %43, align 8
%45 = add i64 %25, 8
%46 = inttoptr i64 %45 to i64*
%47 = load i64, i64* %46, align 8
%48 = call i64 @FUNC(i64 %2, i64 %sv_1.0.reload, i64 %47, i32 %44, i64 0)
store i64 %48, i64* %sv_0.0.in.reg2mem
br label LBL_12
LBL_10:
%49 = bitcast i64* %rsi to i32*
%50 = load i32, i32* %49, align 8
%51 = add i64 %25, 8
%52 = inttoptr i64 %51 to i64*
%53 = load i64, i64* %52, align 8
%54 = call i64 @FUNC(i64 %2, i64* nonnull %sv_2, i64 %53, i32 %50)
store i64 %54, i64* %sv_0.0.in.reg2mem
br label LBL_12
LBL_11:
%55 = bitcast i64* %rsi to i32*
%56 = load i32, i32* %55, align 8
%57 = add i64 %25, 8
%58 = inttoptr i64 %57 to i64*
%59 = load i64, i64* %58, align 8
%60 = call i64 @FUNC(i64 %2, i64 %sv_1.0.reload, i64 %59, i32 %56)
store i64 %60, i64* %sv_0.0.in.reg2mem
br label LBL_12
LBL_12:
%sv_0.0.in.reload = load i64, i64* %sv_0.0.in.reg2mem
%61 = load i32, i32* %12, align 4
%62 = icmp eq i32 %61, 0
%63 = icmp eq i1 %62, false
br i1 %63, label LBL_14, label LBL_13
LBL_13:
%64 = call i64 @FUNC(i64 %sv_1.0.reload)
br label LBL_14
LBL_14:
%sv_0.0 = trunc i64 %sv_0.0.in.reload to i32
%65 = icmp slt i32 %sv_0.0, 0
%66 = icmp eq i1 %65, false
br i1 %66, label LBL_16, label LBL_15
LBL_15:
%67 = call i64 @FUNC(i64 %25)
store i64 4294967291, i64* %rax.0.reg2mem
br label LBL_17
LBL_16:
%68 = bitcast i64* %rdi to i32*
%69 = load i32, i32* %68, align 8
%70 = add i32 %69, 1
%71 = bitcast i64* %arg1 to i32*
store i32 %70, i32* %71, align 4
store i64 0, i64* %rax.0.reg2mem
br label LBL_17
LBL_17:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %sv_1.0.reload, { 1, 0, 3, 2 }
uselistorder i64 %25, { 3, 4, 2, 0, 1, 6, 5 }
uselistorder i64* %sv_2, { 0, 1, 3, 2 }
uselistorder i64 %2, { 4, 3, 1, 2, 5, 6, 0, 7, 8 }
uselistorder i64* %rsi, { 3, 2, 1, 0 }
uselistorder i64* %sv_0.0.in.reg2mem, { 0, 4, 3, 1, 2 }
uselistorder i64* %rax.0.reg2mem, { 0, 7, 6, 1, 2, 3, 4, 5 }
uselistorder i64 (i64, i64, i64, i32, i64)* @pgm_read, { 1, 0 }
uselistorder i32 4, { 1, 0 }
uselistorder i64 8, { 1, 2, 3, 4, 5, 0, 6, 7 }
uselistorder i64 4294967291, { 5, 0, 1, 2, 3, 4 }
uselistorder label LBL_17, { 5, 6, 0, 1, 2, 3, 4 }
uselistorder label LBL_5, { 1, 0 }
} | 1 |
BinRealVul | sd_start_4790 | sd_start | define i64 @FUNC(i32* %arg1) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%rdi = alloca i64, align 8
%0 = ptrtoint i32* %arg1 to i64
%1 = call i64 @FUNC(i64 1024, i64 0)
%2 = add i64 %0, 16
%3 = inttoptr i64 %2 to i64*
store i64 %1, i64* %3, align 8
%4 = icmp eq i64 %1, 0
%5 = icmp eq i1 %4, false
store i64 4294967284, i64* %rax.0.reg2mem
br i1 %5, label LBL_1, label LBL_4
LBL_1:
%6 = add i64 %0, 4
%7 = inttoptr i64 %6 to i32*
%8 = load i32, i32* %7, align 4
%9 = bitcast i64* %rdi to i32*
%10 = load i32, i32* %9, align 8
%11 = call i64 @FUNC(i64 %1, i32 %10, i32 %8, i64 33)
%12 = add i64 %0, 8
%13 = inttoptr i64 %12 to i32*
%14 = load i32, i32* %13, align 4
%15 = load i64, i64* %3, align 8
%16 = zext i32 %14 to i64
%17 = call i64 @FUNC(i64 %15, i64 %16)
%18 = call i64 @FUNC(i64 1, i8* getelementptr inbounds ([27 x i8], [27 x i8]* @gv_0, i64 0, i64 0))
%19 = call i64 @FUNC(i64 %0)
%20 = trunc i64 %19 to i32
%21 = icmp slt i32 %20, 0
%22 = icmp eq i1 %21, false
br i1 %22, label LBL_3, label LBL_2
LBL_2:
%23 = call i64 @FUNC(i64 2, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @gv_1, i64 0, i64 0))
%24 = and i64 %19, 4294967295
store i64 %24, i64* %rax.0.reg2mem
br label LBL_4
LBL_3:
%25 = call i64 @FUNC(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_2, i64 0, i64 0))
%26 = add i64 %0, 24
%27 = inttoptr i64 %26 to i64*
store i64 %25, i64* %27, align 8
%28 = add i64 %0, 32
%29 = call i64 @FUNC(i64 %25, i64 %28)
store i64 0, i64* %rax.0.reg2mem
br label LBL_4
LBL_4:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }
uselistorder i64 (i64, i8*)* @PDEBUG, { 1, 0 }
uselistorder label LBL_4, { 1, 2, 0 }
} | 0 |
BinRealVul | css_create_css_image_17142 | css_create_css_image | define i64 @FUNC(i64 %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%sext = mul i64 %arg1, 72057594037927936
%0 = ashr exact i64 %sext, 56
%1 = trunc i64 %arg2 to i8
%2 = icmp eq i8 %1, 0
%. = select i1 %2, i64 ptrtoint (i64* @gv_0 to i64), i64 ptrtoint ([10 x i8]* @gv_1 to i64)
%3 = urem i64 %0, 256
%4 = call i64 @FUNC(i64 %3, i64 %.)
%5 = mul i64 %arg1, 8
%6 = and i64 %5, 2040
%7 = add i64 %6, ptrtoint (i64* @gv_2 to i64)
%8 = inttoptr i64 %7 to i64*
%9 = load i64, i64* %8, align 8
%10 = icmp eq i64 %9, 0
store i64 4294967280, i64* %storemerge.reg2mem
br i1 %10, label LBL_1, label LBL_3
LBL_1:
%11 = call i64 @FUNC(i64 0)
store i64 %11, i64* %8, align 8
store i64 0, i64* %storemerge.reg2mem
br i1 %2, label LBL_3, label LBL_2
LBL_2:
%12 = trunc i64 %0 to i8
store i8 %12, i8* bitcast (i64* @gv_3 to i8*), align 8
store i64 0, i64* %storemerge.reg2mem
br label LBL_3
LBL_3:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64 %0, { 1, 0 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1, 3 }
uselistorder i8 0, { 1, 0 }
uselistorder label LBL_3, { 1, 0, 2 }
} | 1 |
BinRealVul | Mac_Read_POST_Resource_7721 | Mac_Read_POST_Resource | define i64 @FUNC(i64 %arg1, i64 %arg2, i64* %arg3, i64 %arg4, i64 %arg5, i64 %arg6) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%sv_0.1.reg2mem = alloca i64
%sv_1.1.lcssa.reg2mem = alloca i64
%sv_2.1.lcssa.reg2mem = alloca i64
%.pre-phi.reg2mem = alloca i64
%.pre-phi47.reg2mem = alloca i8*
%sv_3.0.reg2mem = alloca i32
%sv_1.0.reg2mem = alloca i64
%sv_4.0.reg2mem = alloca i64
%sv_2.0.reg2mem = alloca i64
%.reg2mem81 = alloca i64
%sv_2.114.reg2mem = alloca i64
%sv_4.115.reg2mem = alloca i64
%sv_1.116.reg2mem = alloca i64
%sv_3.117.reg2mem = alloca i32
%storemerge18.reg2mem = alloca i32
%.reg2mem79 = alloca i64
%sv_5.0.lcssa.reg2mem = alloca i32
%sv_0.0.lcssa.reg2mem = alloca i64
%sv_5.024.reg2mem = alloca i64
%storemerge225.reg2mem = alloca i32
%.reg2mem = alloca i64
%sv_6 = alloca i64, align 8
%sv_7 = alloca i64, align 8
%sv_8 = alloca i64, align 8
%0 = add i64 %arg5, 1
%1 = icmp ult i64 %0, 2
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %1, label LBL_1, label LBL_22
LBL_1:
%2 = ptrtoint i64* %arg3 to i64
%3 = icmp sgt i64 %arg4, 0
store i64 4294967295, i64* %sv_0.0.lcssa.reg2mem
store i32 2, i32* %sv_5.0.lcssa.reg2mem
br i1 %3, label LBL_2, label LBL_7
LBL_2:
%4 = inttoptr i64 %arg2 to %_IO_FILE*
store i64 0, i64* %.reg2mem
store i32 0, i32* %storemerge225.reg2mem
store i64 0, i64* %sv_5.024.reg2mem
br label LBL_3
LBL_3:
%.reload = load i64, i64* %.reg2mem
%5 = mul i64 %.reload, 8
%6 = add i64 %5, %2
%7 = inttoptr i64 %6 to i64*
%8 = load i64, i64* %7, align 8
%9 = call i64 @FUNC(i64 %arg2, i64 %8)
%10 = trunc i64 %9 to i32
%11 = icmp eq i32 %10, 0
%12 = icmp eq i1 %11, false
store i64 %9, i64* %sv_0.1.reg2mem
br i1 %12, label LBL_21, label LBL_4
LBL_4:
%13 = call i32 @fread(i64* nonnull %sv_8, i32 8, i32 1, %_IO_FILE* %4)
%14 = icmp eq i32 %13, 1
%15 = icmp eq i1 %14, false
store i64 %9, i64* %sv_0.1.reg2mem
br i1 %15, label LBL_21, label LBL_5
LBL_5:
%sv_5.024.reload = load i64, i64* %sv_5.024.reg2mem
%storemerge225.reload = load i32, i32* %storemerge225.reg2mem
%16 = load i64, i64* %sv_8, align 8
%17 = add i64 %sv_5.024.reload, 6
%18 = add i64 %17, %16
%19 = add i32 %storemerge225.reload, 1
%20 = sext i32 %19 to i64
%21 = icmp slt i64 %20, %arg4
store i64 %20, i64* %.reg2mem
store i32 %19, i32* %storemerge225.reg2mem
store i64 %18, i64* %sv_5.024.reg2mem
br i1 %21, label LBL_3, label LBL_6
LBL_6:
%phitmp = trunc i64 %18 to i32
%phitmp28 = add i32 %phitmp, 2
store i64 %9, i64* %sv_0.0.lcssa.reg2mem
store i32 %phitmp28, i32* %sv_5.0.lcssa.reg2mem
br label LBL_7
LBL_7:
%sv_5.0.lcssa.reload = load i32, i32* %sv_5.0.lcssa.reg2mem
%sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem
%22 = call i64* @malloc(i32 %sv_5.0.lcssa.reload)
%23 = icmp eq i64* %22, null
store i64 %sv_0.0.lcssa.reload, i64* %sv_0.1.reg2mem
br i1 %23, label LBL_21, label LBL_8
LBL_8:
%24 = ptrtoint i64* %22 to i64
%25 = bitcast i64* %22 to i8*
store i8 -128, i8* %25, align 1
%26 = add i64 %24, 1
%27 = inttoptr i64 %26 to i8*
store i8 1, i8* %27, align 1
%28 = add i64 %24, 2
%29 = inttoptr i64 %28 to i8*
store i8 0, i8* %29, align 1
%30 = add i64 %24, 3
%31 = inttoptr i64 %30 to i8*
store i8 0, i8* %31, align 1
%32 = add i64 %24, 4
%33 = inttoptr i64 %32 to i8*
store i8 0, i8* %33, align 1
%34 = add i64 %24, 5
%35 = inttoptr i64 %34 to i8*
store i8 0, i8* %35, align 1
store i8* %29, i8** %.pre-phi47.reg2mem
store i64 %28, i64* %.pre-phi.reg2mem
store i64 6, i64* %sv_2.1.lcssa.reg2mem
store i64 0, i64* %sv_1.1.lcssa.reg2mem
br i1 %3, label LBL_9, label LBL_19
LBL_9:
%36 = inttoptr i64 %arg2 to %_IO_FILE*
store i64 0, i64* %.reg2mem79
store i32 0, i32* %storemerge18.reg2mem
store i32 1, i32* %sv_3.117.reg2mem
store i64 0, i64* %sv_1.116.reg2mem
store i64 2, i64* %sv_4.115.reg2mem
store i64 6, i64* %sv_2.114.reg2mem
br label LBL_10
LBL_10:
%.reload80 = load i64, i64* %.reg2mem79
%37 = mul i64 %.reload80, 8
%38 = add i64 %37, %2
%39 = inttoptr i64 %38 to i64*
%40 = load i64, i64* %39, align 8
%41 = call i64 @FUNC(i64 %arg2, i64 %40)
%42 = trunc i64 %41 to i32
%43 = icmp eq i32 %42, 0
%44 = icmp eq i1 %43, false
br i1 %44, label LBL_20, label LBL_11
LBL_11:
%45 = call i32 @fread(i64* nonnull %sv_7, i32 8, i32 1, %_IO_FILE* %36)
%46 = icmp eq i32 %45, 1
%47 = icmp eq i1 %46, false
store i64 %41, i64* %sv_0.1.reg2mem
br i1 %47, label LBL_21, label LBL_12
LBL_12:
%48 = call i32 @fread(i64* nonnull %sv_6, i32 2, i32 1, %_IO_FILE* %36)
%49 = icmp eq i32 %48, 1
%50 = icmp eq i1 %49, false
store i64 %41, i64* %sv_0.1.reg2mem
br i1 %50, label LBL_21, label LBL_13
LBL_13:
%sv_2.114.reload = load i64, i64* %sv_2.114.reg2mem
%sv_4.115.reload = load i64, i64* %sv_4.115.reg2mem
%sv_1.116.reload = load i64, i64* %sv_1.116.reg2mem
%sv_3.117.reload = load i32, i32* %sv_3.117.reg2mem
%storemerge18.reload = load i32, i32* %storemerge18.reg2mem
%51 = load i64, i64* %sv_7, align 8
%52 = add i64 %51, -2
store i64 %52, i64* %sv_7, align 8
%53 = load i64, i64* %sv_6, align 8
%54 = trunc i64 %53 to i32
%55 = ashr i32 %54, 8
%56 = icmp eq i32 %sv_3.117.reload, %55
%57 = icmp eq i1 %56, false
br i1 %57, label LBL_15, label LBL_14
LBL_14:
%58 = add i64 %52, %sv_1.116.reload
store i64 %52, i64* %.reg2mem81
store i64 %sv_2.114.reload, i64* %sv_2.0.reg2mem
store i64 %sv_4.115.reload, i64* %sv_4.0.reg2mem
store i64 %58, i64* %sv_1.0.reg2mem
store i32 %sv_3.117.reload, i32* %sv_3.0.reg2mem
br label LBL_17
LBL_15:
%59 = add i64 %sv_4.115.reload, %24
%60 = trunc i64 %sv_1.116.reload to i8
%61 = inttoptr i64 %59 to i8*
store i8 %60, i8* %61, align 1
%62 = udiv i64 %sv_1.116.reload, 256
%63 = add i64 %59, 1
%64 = trunc i64 %62 to i8
%65 = inttoptr i64 %63 to i8*
store i8 %64, i8* %65, align 1
%66 = udiv i64 %sv_1.116.reload, 65536
%67 = add i64 %59, 2
%68 = trunc i64 %66 to i8
%69 = inttoptr i64 %67 to i8*
store i8 %68, i8* %69, align 1
%70 = udiv i64 %sv_1.116.reload, 16777216
%71 = add i64 %59, 3
%72 = trunc i64 %70 to i8
%73 = inttoptr i64 %71 to i8*
store i8 %72, i8* %73, align 1
%74 = load i64, i64* %sv_6, align 8
%.mask1 = and i64 %74, 4294967040
%75 = icmp eq i64 %.mask1, 1280
store i8* %61, i8** %.pre-phi47.reg2mem
store i64 %59, i64* %.pre-phi.reg2mem
store i64 %sv_2.114.reload, i64* %sv_2.1.lcssa.reg2mem
store i64 %sv_1.116.reload, i64* %sv_1.1.lcssa.reg2mem
br i1 %75, label LBL_19, label LBL_16
LBL_16:
%76 = add i64 %sv_2.114.reload, %24
%77 = inttoptr i64 %76 to i8*
store i8 -128, i8* %77, align 1
%78 = load i64, i64* %sv_6, align 8
%79 = trunc i64 %78 to i32
%80 = ashr i32 %79, 8
%81 = load i64, i64* %sv_7, align 8
%82 = add i64 %sv_2.114.reload, 2
%83 = add i64 %76, 1
%84 = trunc i32 %80 to i8
%85 = inttoptr i64 %83 to i8*
store i8 %84, i8* %85, align 1
%86 = add i64 %82, %24
%87 = inttoptr i64 %86 to i8*
store i8 0, i8* %87, align 1
%88 = add i64 %76, 3
%89 = inttoptr i64 %88 to i8*
store i8 0, i8* %89, align 1
%90 = add i64 %76, 4
%91 = inttoptr i64 %90 to i8*
store i8 0, i8* %91, align 1
%92 = add i64 %sv_2.114.reload, 6
%93 = add i64 %76, 5
%94 = inttoptr i64 %93 to i8*
store i8 0, i8* %94, align 1
%.pre = load i64, i64* %sv_7, align 8
store i64 %.pre, i64* %.reg2mem81
store i64 %92, i64* %sv_2.0.reg2mem
store i64 %82, i64* %sv_4.0.reg2mem
store i64 %81, i64* %sv_1.0.reg2mem
store i32 %80, i32* %sv_3.0.reg2mem
br label LBL_17
LBL_17:
%sv_3.0.reload = load i32, i32* %sv_3.0.reg2mem
%sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem
%sv_4.0.reload = load i64, i64* %sv_4.0.reg2mem
%sv_2.0.reload = load i64, i64* %sv_2.0.reg2mem
%.reload82 = load i64, i64* %.reg2mem81
%95 = add i64 %sv_2.0.reload, %24
%96 = call i64 @FUNC(i64 %arg2, i64 %95, i64 %.reload82)
%97 = load i64, i64* %sv_7, align 8
%98 = add i64 %97, %sv_2.0.reload
%99 = add i32 %storemerge18.reload, 1
%100 = sext i32 %99 to i64
%101 = icmp slt i64 %100, %arg4
store i64 %100, i64* %.reg2mem79
store i32 %99, i32* %storemerge18.reg2mem
store i32 %sv_3.0.reload, i32* %sv_3.117.reg2mem
store i64 %sv_1.0.reload, i64* %sv_1.116.reg2mem
store i64 %sv_4.0.reload, i64* %sv_4.115.reg2mem
store i64 %98, i64* %sv_2.114.reg2mem
br i1 %101, label LBL_10, label LBL_18
LBL_18:
%.pre45 = add i64 %sv_4.0.reload, %24
%.pre46 = inttoptr i64 %.pre45 to i8*
store i8* %.pre46, i8** %.pre-phi47.reg2mem
store i64 %.pre45, i64* %.pre-phi.reg2mem
store i64 %98, i64* %sv_2.1.lcssa.reg2mem
store i64 %sv_1.0.reload, i64* %sv_1.1.lcssa.reg2mem
br label LBL_19
LBL_19:
%sv_1.1.lcssa.reload = load i64, i64* %sv_1.1.lcssa.reg2mem
%sv_2.1.lcssa.reload = load i64, i64* %sv_2.1.lcssa.reg2mem
%.pre-phi.reload = load i64, i64* %.pre-phi.reg2mem
%.pre-phi47.reload = load i8*, i8** %.pre-phi47.reg2mem
%102 = trunc i64 %sv_1.1.lcssa.reload to i8
store i8 %102, i8* %.pre-phi47.reload, align 1
%103 = udiv i64 %sv_1.1.lcssa.reload, 256
%104 = add i64 %.pre-phi.reload, 1
%105 = trunc i64 %103 to i8
%106 = inttoptr i64 %104 to i8*
store i8 %105, i8* %106, align 1
%107 = udiv i64 %sv_1.1.lcssa.reload, 65536
%108 = add i64 %.pre-phi.reload, 2
%109 = trunc i64 %107 to i8
%110 = inttoptr i64 %108 to i8*
store i8 %109, i8* %110, align 1
%111 = udiv i64 %sv_1.1.lcssa.reload, 16777216
%112 = add i64 %.pre-phi.reload, 3
%113 = trunc i64 %111 to i8
%114 = inttoptr i64 %112 to i8*
store i8 %113, i8* %114, align 1
%115 = call i64 @FUNC(i64 %arg1, i64 %24, i64 %sv_2.1.lcssa.reload, i64 0, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_0, i64 0, i64 0), i64 %arg6)
store i64 %115, i64* %rax.0.reg2mem
br label LBL_22
LBL_20:
call void @free(i64* nonnull %22)
store i64 %41, i64* %sv_0.1.reg2mem
br label LBL_21
LBL_21:
%sv_0.1.reload = load i64, i64* %sv_0.1.reg2mem
%116 = and i64 %sv_0.1.reload, 4294967295
store i64 %116, i64* %rax.0.reg2mem
br label LBL_22
LBL_22:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %sv_1.1.lcssa.reload, { 3, 2, 1, 0 }
uselistorder i64 %sv_2.0.reload, { 1, 0 }
uselistorder i64 %sv_1.116.reload, { 0, 5, 4, 3, 1, 2 }
uselistorder i64 %sv_4.115.reload, { 1, 0 }
uselistorder i64 %sv_2.114.reload, { 3, 2, 4, 0, 1 }
uselistorder i64 %41, { 2, 0, 1, 3 }
uselistorder i64 %24, { 5, 0, 1, 2, 3, 4, 6, 7, 8, 9, 10 }
uselistorder i64* %22, { 0, 1, 3, 2 }
uselistorder i64 %18, { 1, 0 }
uselistorder i64 %9, { 2, 0, 1, 3 }
uselistorder i64* %sv_8, { 1, 0 }
uselistorder i64* %sv_7, { 2, 0, 3, 4, 5, 1 }
uselistorder i64* %sv_6, { 1, 2, 3, 0 }
uselistorder i64* %.reg2mem, { 1, 0, 2 }
uselistorder i32* %storemerge225.reg2mem, { 1, 0, 2 }
uselistorder i64* %sv_5.024.reg2mem, { 1, 0, 2 }
uselistorder i64* %sv_0.0.lcssa.reg2mem, { 0, 2, 1 }
uselistorder i32* %sv_5.0.lcssa.reg2mem, { 0, 2, 1 }
uselistorder i64* %.reg2mem79, { 1, 0, 2 }
uselistorder i32* %storemerge18.reg2mem, { 1, 0, 2 }
uselistorder i32* %sv_3.117.reg2mem, { 1, 0, 2 }
uselistorder i64* %sv_1.116.reg2mem, { 1, 0, 2 }
uselistorder i64* %sv_4.115.reg2mem, { 1, 0, 2 }
uselistorder i64* %sv_2.114.reg2mem, { 1, 0, 2 }
uselistorder i64* %.reg2mem81, { 0, 2, 1 }
uselistorder i64* %sv_2.0.reg2mem, { 0, 2, 1 }
uselistorder i64* %sv_4.0.reg2mem, { 0, 2, 1 }
uselistorder i64* %sv_1.0.reg2mem, { 0, 2, 1 }
uselistorder i32* %sv_3.0.reg2mem, { 0, 2, 1 }
uselistorder i8** %.pre-phi47.reg2mem, { 0, 3, 1, 2 }
uselistorder i64* %.pre-phi.reg2mem, { 0, 3, 1, 2 }
uselistorder i64* %sv_2.1.lcssa.reg2mem, { 0, 3, 1, 2 }
uselistorder i64* %sv_1.1.lcssa.reg2mem, { 0, 3, 1, 2 }
uselistorder i64* %sv_0.1.reg2mem, { 0, 5, 3, 4, 6, 1, 2 }
uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }
uselistorder i64 6, { 2, 1, 0, 3 }
uselistorder i32 (i64*, i32, i32, %_IO_FILE*)* @fread, { 2, 1, 0 }
uselistorder i32 8, { 2, 3, 1, 0 }
uselistorder i64 (i64, i64)* @FT_Stream_Seek, { 1, 0 }
uselistorder i32 2, { 2, 1, 0 }
uselistorder i64 2, { 2, 4, 3, 0, 5, 1 }
uselistorder i64 1, { 1, 2, 3, 4, 0 }
uselistorder i64 %arg4, { 1, 2, 0 }
uselistorder i64 %arg2, { 0, 2, 1, 4, 3 }
uselistorder label LBL_22, { 1, 2, 0 }
uselistorder label LBL_21, { 5, 2, 3, 4, 0, 1 }
uselistorder label LBL_19, { 1, 0, 2 }
uselistorder label LBL_10, { 1, 0 }
uselistorder label LBL_3, { 1, 0 }
} | 1 |
BinRealVul | migrate_zspage_4660 | migrate_zspage | define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr {
LBL_0:
%sv_0.0.reg2mem = alloca i64
%sv_1.2.reg2mem = alloca i64
%sv_2.1.reg2mem = alloca i64
%sv_1.1.reg2mem = alloca i64
%sv_2.0.reg2mem = alloca i64
%sv_1.0.reg2mem = alloca i64
%0 = ptrtoint i64* %arg3 to i64
%1 = ptrtoint i64* %arg2 to i64
%2 = ptrtoint i64* %arg1 to i64
%3 = add i64 %0, 8
%4 = inttoptr i64 %3 to i64*
%5 = load i64, i64* %4, align 8
%6 = add i64 %0, 16
%7 = inttoptr i64 %6 to i64*
%8 = load i64, i64* %7, align 8
store i64 %0, i64* %sv_1.0.reg2mem
store i64 %8, i64* %sv_2.0.reg2mem
br label LBL_1
LBL_1:
%sv_2.0.reload = load i64, i64* %sv_2.0.reg2mem
%sv_1.0.reload = load i64, i64* %sv_1.0.reg2mem
%9 = call i64 @FUNC(i64 %sv_1.0.reload, i64 %sv_2.0.reload, i64 %1)
%10 = icmp eq i64 %9, 0
%11 = icmp eq i1 %10, false
br i1 %11, label LBL_3, label LBL_2
LBL_2:
%12 = call i64 @FUNC(i64 %sv_1.0.reload)
%13 = icmp eq i64 %12, 0
store i64 %12, i64* %sv_1.1.reg2mem
store i64 0, i64* %sv_2.1.reg2mem
store i64 0, i64* %sv_1.2.reg2mem
store i64 0, i64* %sv_0.0.reg2mem
br i1 %13, label LBL_7, label LBL_6
LBL_3:
%14 = call i64 @FUNC(i64 %5)
%15 = trunc i64 %14 to i32
%16 = icmp eq i32 %15, 0
br i1 %16, label LBL_5, label LBL_4
LBL_4:
%17 = call i64 @FUNC(i64 %9)
store i64 %sv_1.0.reload, i64* %sv_1.2.reg2mem
store i64 4294967284, i64* %sv_0.0.reg2mem
br label LBL_7
LBL_5:
%18 = call i64 @FUNC(i64 %9)
%19 = call i64 @FUNC(i64 %5, i64 %1, i64 %9)
%20 = call i64 @FUNC(i64 %19, i64 %18, i64 %1)
%21 = add i64 %sv_2.0.reload, 1
%22 = or i64 %19, 1
%23 = call i64 @FUNC(i64 %9, i64 %22)
%24 = call i64 @FUNC(i64 %9)
%25 = call i64 @FUNC(i64 %2, i64 %1, i64 %18)
store i64 %sv_1.0.reload, i64* %sv_1.1.reg2mem
store i64 %21, i64* %sv_2.1.reg2mem
br label LBL_6
LBL_6:
%sv_2.1.reload = load i64, i64* %sv_2.1.reg2mem
%sv_1.1.reload = load i64, i64* %sv_1.1.reg2mem
store i64 %sv_1.1.reload, i64* %sv_1.0.reg2mem
store i64 %sv_2.1.reload, i64* %sv_2.0.reg2mem
br label LBL_1
LBL_7:
%sv_0.0.reload = load i64, i64* %sv_0.0.reg2mem
%sv_1.2.reload = load i64, i64* %sv_1.2.reg2mem
store i64 %sv_1.2.reload, i64* %arg3, align 8
store i64 %sv_2.0.reload, i64* %7, align 8
ret i64 %sv_0.0.reload
uselistorder i64 %19, { 1, 0 }
uselistorder i64 %9, { 2, 1, 4, 3, 0, 5 }
uselistorder i64 %sv_1.0.reload, { 1, 0, 3, 2 }
uselistorder i64 %sv_2.0.reload, { 2, 1, 0 }
uselistorder i64 %1, { 0, 2, 1, 3 }
uselistorder i64* %sv_1.0.reg2mem, { 1, 0, 2 }
uselistorder i64* %sv_2.0.reg2mem, { 1, 0, 2 }
uselistorder i64* %sv_1.1.reg2mem, { 0, 2, 1 }
uselistorder i64* %sv_2.1.reg2mem, { 0, 2, 1 }
uselistorder i64* %sv_1.2.reg2mem, { 0, 2, 1 }
uselistorder i64* %sv_0.0.reg2mem, { 0, 2, 1 }
uselistorder i64 (i64)* @unpin_tag, { 1, 0 }
uselistorder label LBL_7, { 1, 0 }
uselistorder label LBL_6, { 1, 0 }
} | 0 |
BinRealVul | aux_init_bus_17176 | aux_init_bus | define i64 @FUNC(i64* %arg1, i8* %arg2) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
%1 = ptrtoint i8* %arg2 to i64
%2 = call i64 @FUNC(i64 1, i64 %0, i64 %1)
%3 = call i64 @FUNC(i64 %2)
%4 = call i64 @FUNC(i64 %3)
%5 = call i64 @FUNC(i64 %4, i64 2)
%6 = call i64 @FUNC(i64 %5)
%7 = inttoptr i64 %3 to i64*
store i64 %6, i64* %7, align 8
%8 = call i64 @FUNC(i64 1)
%9 = add i64 %3, 8
%10 = inttoptr i64 %9 to i64*
store i64 %8, i64* %10, align 8
%11 = call i64 @FUNC(i64 %3)
%12 = load i64, i64* %10, align 8
%13 = call i64 @FUNC(i64 %12, i64 %11, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0), i64 1048576)
%14 = load i64, i64* %10, align 8
%15 = add i64 %3, 16
%16 = call i64 @FUNC(i64 %15, i64 %14, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0))
ret i64 %3
} | 1 |
BinRealVul | vp8_decode_flush_impl_15269 | vp8_decode_flush_impl | define i64 @FUNC(i32* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%indvars.iv.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i32* %arg1 to i64
%3 = and i64 %arg3, 4294967295
%4 = add i64 %2, 8
%5 = inttoptr i64 %4 to i64*
%6 = load i64, i64* %5, align 8
%7 = trunc i64 %1 to i32
%8 = icmp ne i32 %7, 0
%9 = trunc i64 %arg2 to i32
%10 = icmp eq i32 %9, 0
%or.cond = icmp eq i1 %10, %8
store i64 0, i64* %indvars.iv.reg2mem
br i1 %or.cond, label LBL_4, label LBL_1
LBL_1:
%indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem
%11 = mul i64 %indvars.iv.reload, 8
%12 = add i64 %11, %6
%13 = inttoptr i64 %12 to i64*
%14 = load i64, i64* %13, align 8
%15 = icmp eq i64 %14, 0
br i1 %15, label LBL_3, label LBL_2
LBL_2:
%16 = call i64 @FUNC(i64 %6, i64 %12, i64 %3)
br label LBL_3
LBL_3:
%indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1
%exitcond = icmp eq i64 %indvars.iv.next, 5
store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem
br i1 %exitcond, label LBL_4, label LBL_1
LBL_4:
%17 = add i64 %6, 40
%18 = inttoptr i64 %17 to i64*
%19 = load i64, i64* %18, align 8
%20 = inttoptr i64 %19 to i64*
%21 = call i64* @memset(i64* %20, i32 0, i32 8)
%22 = call i64 @FUNC(i64 %6)
%23 = add i64 %6, 48
%24 = inttoptr i64 %23 to i32*
store i32 1, i32* %24, align 4
ret i64 %6
uselistorder i64 %6, { 1, 2, 4, 3, 5, 0 }
uselistorder i64* %indvars.iv.reg2mem, { 2, 0, 1 }
uselistorder label LBL_1, { 1, 0 }
} | 1 |
BinRealVul | rfcomm_tty_tiocmset_8494 | rfcomm_tty_tiocmset | define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%.reg2mem = alloca i32
%.pre.reg2mem = alloca i32
%0 = ptrtoint i64* %arg1 to i64
%sv_0 = alloca i32, align 4
%1 = trunc i64 %arg2 to i32
%2 = trunc i64 %arg3 to i32
%3 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @gv_0, i64 0, i64 0), i64* %arg1, i64* %arg1, i32 %1, i32 %2)
%4 = bitcast i32* %sv_0 to i64*
%5 = call i64 @FUNC(i64 %0, i64* nonnull %4)
%6 = urem i64 %arg2, 4
%7 = icmp eq i64 %6, 0
br i1 %7, label LBL_2, label LBL_1
LBL_1:
%8 = load i32, i32* %sv_0, align 4
%9 = mul i32 %8, 16777216
%sext4 = ashr exact i32 %9, 24
%10 = or i32 %sext4, 1
store i32 %10, i32* %sv_0, align 4
br label LBL_2
LBL_2:
%11 = and i64 %arg2, 12
%12 = icmp eq i64 %11, 0
br i1 %12, label LBL_4, label LBL_3
LBL_3:
%13 = load i32, i32* %sv_0, align 4
%14 = mul i32 %13, 16777216
%sext5 = ashr exact i32 %14, 24
%15 = or i32 %sext5, 2
store i32 %15, i32* %sv_0, align 4
br label LBL_4
LBL_4:
%16 = and i64 %arg2, 16
%17 = icmp eq i64 %16, 0
br i1 %17, label LBL_6, label LBL_5
LBL_5:
%18 = load i32, i32* %sv_0, align 4
%19 = mul i32 %18, 16777216
%sext6 = ashr exact i32 %19, 24
%20 = or i32 %sext6, 4
store i32 %20, i32* %sv_0, align 4
br label LBL_6
LBL_6:
%21 = and i64 %arg2, 32
%22 = icmp eq i64 %21, 0
br i1 %22, label LBL_8, label LBL_7
LBL_7:
%23 = load i32, i32* %sv_0, align 4
%24 = mul i32 %23, 16777216
%sext7 = ashr exact i32 %24, 24
%25 = or i32 %sext7, 8
store i32 %25, i32* %sv_0, align 4
br label LBL_8
LBL_8:
%26 = urem i64 %arg3, 4
%27 = icmp eq i64 %26, 0
br i1 %27, label LBL_10, label LBL_9
LBL_9:
%28 = load i32, i32* %sv_0, align 4
%29 = mul i32 %28, 16777216
%sext8 = ashr exact i32 %29, 24
%30 = and i32 %sext8, -2
store i32 %30, i32* %sv_0, align 4
br label LBL_10
LBL_10:
%31 = and i64 %arg3, 12
%32 = icmp eq i64 %31, 0
br i1 %32, label LBL_12, label LBL_11
LBL_11:
%33 = load i32, i32* %sv_0, align 4
%34 = mul i32 %33, 16777216
%sext9 = ashr exact i32 %34, 24
%35 = and i32 %sext9, -3
store i32 %35, i32* %sv_0, align 4
br label LBL_12
LBL_12:
%36 = and i64 %arg3, 16
%37 = icmp eq i64 %36, 0
%.pre.pre = load i32, i32* %sv_0, align 4
store i32 %.pre.pre, i32* %.pre.reg2mem
br i1 %37, label LBL_14, label LBL_13
LBL_13:
%38 = mul i32 %.pre.pre, 16777216
%sext10 = ashr exact i32 %38, 24
%39 = and i32 %sext10, -5
store i32 %39, i32* %sv_0, align 4
store i32 %39, i32* %.pre.reg2mem
br label LBL_14
LBL_14:
%.pre.reload = load i32, i32* %.pre.reg2mem
%40 = and i64 %arg3, 32
%41 = icmp eq i64 %40, 0
store i32 %.pre.reload, i32* %.reg2mem
br i1 %41, label LBL_16, label LBL_15
LBL_15:
%42 = mul i32 %.pre.reload, 16777216
%sext11 = ashr exact i32 %42, 24
%43 = and i32 %sext11, -9
store i32 %43, i32* %sv_0, align 4
store i32 %43, i32* %.reg2mem
br label LBL_16
LBL_16:
%.reload = load i32, i32* %.reg2mem
%44 = urem i32 %.reload, 256
%45 = zext i32 %44 to i64
%46 = call i64 @FUNC(i64 %0, i64 %45)
ret i64 0
uselistorder i32 %.pre.reload, { 1, 0 }
uselistorder i32 %.pre.pre, { 1, 0 }
uselistorder i32* %sv_0, { 14, 13, 0, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 15 }
uselistorder i32* %.pre.reg2mem, { 0, 2, 1 }
uselistorder i32* %.reg2mem, { 0, 2, 1 }
uselistorder i64 %arg3, { 3, 4, 1, 0, 2 }
uselistorder i64 %arg2, { 2, 3, 1, 0, 4 }
uselistorder label LBL_16, { 1, 0 }
uselistorder label LBL_14, { 1, 0 }
uselistorder label LBL_12, { 1, 0 }
uselistorder label LBL_10, { 1, 0 }
uselistorder label LBL_4, { 1, 0 }
uselistorder label LBL_2, { 1, 0 }
} | 0 |
BinRealVul | gic_complete_irq_16859 | gic_complete_irq | define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%rax.1.reg2mem = alloca i64
%rax.0.reg2mem = alloca i64
%storemerge12.reg2mem = alloca i32
%sv_0.0.reg2mem = alloca i32
%.reg2mem = alloca i32
%0 = ptrtoint i64* %arg1 to i64
%sext = mul i64 %arg2, 4294967296
%sext2 = mul i64 %arg3, 4294967296
%1 = ashr exact i64 %sext2, 32
%2 = and i64 %1, 4294967295
%3 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @gv_0, i64 0, i64 0), i64 %2)
%4 = ashr exact i64 %sext, 30
%5 = add i64 %4, %0
%6 = inttoptr i64 %5 to i32*
%7 = load i32, i32* %6, align 4
%8 = icmp eq i32 %7, 1023
store i64 1023, i64* %rax.1.reg2mem
br i1 %8, label LBL_12, label LBL_1
LBL_1:
%9 = trunc i64 %arg2 to i32
%10 = urem i32 %9, 32
%11 = trunc i64 %1 to i32
%12 = icmp ne i32 %11, 1023
%13 = icmp eq i32 %10, 0
%or.cond = icmp eq i1 %13, %12
store i32 %7, i32* %.reg2mem
store i32 0, i32* %sv_0.0.reg2mem
br i1 %or.cond, label LBL_2, label LBL_3
LBL_2:
%14 = shl i32 1, %10
%15 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @gv_1, i64 0, i64 0), i64 %2, i32 %14)
%.pre = load i32, i32* %6, align 4
store i32 %.pre, i32* %.reg2mem
store i32 1, i32* %sv_0.0.reg2mem
br label LBL_3
LBL_3:
%.reload = load i32, i32* %.reg2mem
%16 = icmp eq i32 %.reload, %11
%17 = ashr exact i64 %sext, 32
br i1 %16, label LBL_11, label LBL_4
LBL_4:
%sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem
%18 = add i64 %0, 16
store i32 %.reload, i32* %storemerge12.reg2mem
br label LBL_7
LBL_5:
%19 = icmp eq i32 %33, %11
%20 = icmp eq i1 %19, false
store i32 %33, i32* %storemerge12.reg2mem
br i1 %20, label LBL_7, label LBL_6
LBL_6:
%21 = ashr exact i64 %sext2, 30
%22 = add nsw i64 %21, %17
%23 = mul i64 %22, 4
%24 = add i64 %23, %18
%25 = inttoptr i64 %24 to i32*
%26 = load i32, i32* %25, align 4
store i32 %26, i32* %32, align 4
store i64 %0, i64* %rax.0.reg2mem
br label LBL_9
LBL_7:
%storemerge12.reload = load i32, i32* %storemerge12.reg2mem
%27 = sext i32 %storemerge12.reload to i64
%28 = mul i64 %27, 4
%29 = add nsw i64 %28, %17
%30 = mul i64 %29, 4
%31 = add i64 %30, %18
%32 = inttoptr i64 %31 to i32*
%33 = load i32, i32* %32, align 4
%34 = icmp eq i32 %33, 1023
%35 = icmp eq i1 %34, false
br i1 %35, label LBL_5, label LBL_8
LBL_8:
%36 = zext i32 %33 to i64
store i64 %36, i64* %rax.0.reg2mem
br label LBL_9
LBL_9:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
%37 = icmp eq i32 %sv_0.0.reload, 0
store i64 %rax.0.reload, i64* %rax.1.reg2mem
br i1 %37, label LBL_12, label LBL_10
LBL_10:
%38 = call i64 @FUNC(i64 %0)
store i64 %38, i64* %rax.1.reg2mem
br label LBL_12
LBL_11:
%39 = and i64 %arg2, 4294967295
%40 = ashr exact i64 %sext2, 30
%41 = add nsw i64 %40, %17
%42 = mul i64 %41, 4
%43 = add i64 %0, 16
%44 = add i64 %43, %42
%45 = inttoptr i64 %44 to i32*
%46 = load i32, i32* %45, align 4
%47 = call i64 @FUNC(i64 %0, i64 %39, i32 %46)
store i64 %47, i64* %rax.1.reg2mem
br label LBL_12
LBL_12:
%rax.1.reload = load i64, i64* %rax.1.reg2mem
ret i64 %rax.1.reload
uselistorder i32 %33, { 1, 3, 2, 0 }
uselistorder i32* %32, { 1, 0 }
uselistorder i64 %18, { 1, 0 }
uselistorder i64 %17, { 0, 2, 1 }
uselistorder i64 %sext2, { 2, 1, 0 }
uselistorder i64 %sext, { 1, 0 }
uselistorder i64 %0, { 5, 2, 4, 0, 3, 1 }
uselistorder i32* %storemerge12.reg2mem, { 0, 2, 1 }
uselistorder i64* %rax.1.reg2mem, { 0, 3, 1, 2, 4 }
uselistorder i1 false, { 1, 0 }
uselistorder i32 (i8*, ...)* @printf, { 1, 0 }
uselistorder i64 %arg2, { 1, 2, 0 }
uselistorder label LBL_12, { 1, 2, 3, 0 }
uselistorder label LBL_7, { 1, 0 }
uselistorder label LBL_3, { 1, 0 }
} | 1 |
BinRealVul | rocker_msix_init_16278 | rocker_msix_init | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg1 to i64
%3 = call i64 @FUNC(i64 %2)
%4 = add i64 %2, 8
%5 = trunc i64 %1 to i32
%6 = call i64 @FUNC(i64 %3, i32 %5, i64 %4, i64 0, i64 0, i64 %4)
%7 = trunc i64 %6 to i32
%8 = icmp eq i32 %7, 0
br i1 %8, label LBL_2, label LBL_1
LBL_1:
%9 = and i64 %6, 4294967295
store i64 %9, i64* %rax.0.reg2mem
br label LBL_4
LBL_2:
%10 = and i64 %1, 4294967295
%11 = call i64 @FUNC(i64 %2, i64 %10)
%12 = trunc i64 %11 to i32
%13 = icmp eq i32 %12, 0
%14 = icmp eq i1 %13, false
store i64 0, i64* %rax.0.reg2mem
br i1 %14, label LBL_3, label LBL_4
LBL_3:
%15 = call i64 @FUNC(i64 %3, i64 %4, i64 %4)
%16 = and i64 %11, 4294967295
store i64 %16, i64* %rax.0.reg2mem
br label LBL_4
LBL_4:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %4, { 0, 1, 3, 2 }
uselistorder i64 %1, { 1, 0 }
uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }
uselistorder i32 0, { 1, 2, 0 }
uselistorder label LBL_4, { 1, 0, 2 }
} | 1 |
BinRealVul | mm_decode_pal_14596 | mm_decode_pal | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%indvars.iv.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%1 = call i64 @FUNC(i64 %0, i64 4)
%2 = add i64 %0, 8
store i64 0, i64* %indvars.iv.reg2mem
br label LBL_1
LBL_1:
%indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem
%3 = call i64 @FUNC(i64 %0)
%4 = trunc i64 %3 to i32
%5 = or i32 %4, -16777216
%6 = mul i64 %indvars.iv.reload, 4
%7 = add i64 %6, %2
%8 = inttoptr i64 %7 to i32*
store i32 %5, i32* %8, align 4
%9 = mul i32 %5, 4
%10 = add i64 %7, 512
%11 = inttoptr i64 %10 to i32*
store i32 %9, i32* %11, align 4
%indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1
%exitcond = icmp eq i64 %indvars.iv.next, 128
store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem
br i1 %exitcond, label LBL_2, label LBL_1
LBL_2:
ret i64 0
uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }
} | 1 |
BinRealVul | paging_invlpg_6565 | paging_invlpg | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%0 = call i64 @FUNC(i64 %arg2)
%1 = trunc i64 %0 to i32
%2 = icmp eq i32 %1, 0
br i1 %2, label LBL_2, label LBL_1
LBL_1:
%3 = ptrtoint i64* %arg1 to i64
%4 = call i64 @FUNC(i64 %3)
%5 = trunc i64 %3 to i32
%6 = icmp eq i32 %5, 0
store i64 1, i64* %storemerge.reg2mem
br i1 %6, label LBL_2, label LBL_3
LBL_2:
store i64 0, i64* %storemerge.reg2mem
br label LBL_3
LBL_3:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64 %3, { 1, 0 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder label LBL_3, { 1, 0 }
} | 0 |
BinRealVul | txd_read_header_14627 | txd_read_header | define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%1 = call i64 @FUNC(i64 %0, i64 0)
%2 = icmp eq i64 %1, 0
%3 = icmp eq i1 %2, false
store i64 4294967284, i64* %storemerge.reg2mem
br i1 %3, label LBL_1, label LBL_2
LBL_1:
%4 = inttoptr i64 %1 to i64*
%5 = load i64, i64* %4, align 8
%6 = inttoptr i64 %5 to i32*
store i32 0, i32* %6, align 4
%7 = load i64, i64* %4, align 8
%8 = add i64 %7, 4
%9 = inttoptr i64 %8 to i32*
store i32 1, i32* %9, align 4
%10 = load i64, i64* %4, align 8
%11 = add i64 %10, 12
%12 = inttoptr i64 %11 to i32*
store i32 5, i32* %12, align 4
%13 = load i64, i64* %4, align 8
%14 = add i64 %13, 8
%15 = inttoptr i64 %14 to i32*
store i32 1, i32* %15, align 4
store i64 0, i64* %storemerge.reg2mem
br label LBL_2
LBL_2:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder label LBL_2, { 1, 0 }
} | 1 |
BinRealVul | nfs_file_flush_4411 | nfs_file_flush | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%storemerge.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i32
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = ptrtoint i64* %arg1 to i64
%4 = add i64 %3, 16
%5 = inttoptr i64 %4 to i64*
%6 = load i64, i64* %5, align 8
%7 = add i64 %3, 8
%8 = inttoptr i64 %7 to i64*
%9 = load i64, i64* %8, align 8
%10 = call i64 @FUNC(i64 0, i8* getelementptr inbounds ([20 x i8], [20 x i8]* @gv_0, i64 0, i64 0), i64 %3, i64 %9, i64 %2, i64 %1)
%11 = inttoptr i64 %7 to i32*
%12 = load i32, i32* %11, align 4
%13 = urem i32 %12, 2
%14 = icmp eq i32 %13, 0
%15 = icmp eq i1 %14, false
store i64 0, i64* %storemerge.reg2mem
br i1 %15, label LBL_1, label LBL_5
LBL_1:
%16 = call i64 @FUNC(i64 %3, i64 2)
%17 = call i64 @FUNC()
%18 = call i64 @FUNC(i64 %3)
%19 = trunc i64 %18 to i32
%20 = icmp eq i32 %19, 0
%21 = icmp eq i1 %20, false
store i32 %19, i32* %sv_0.0.reg2mem
br i1 %21, label LBL_4, label LBL_2
LBL_2:
%22 = inttoptr i64 %6 to i32*
%23 = load i32, i32* %22, align 4
store i32 0, i32* %22, align 4
%24 = icmp eq i32 %23, 0
%25 = icmp eq i1 %24, false
store i32 %23, i32* %sv_0.0.reg2mem
br i1 %25, label LBL_4, label LBL_3
LBL_3:
%26 = call i64 @FUNC(i64 %3)
%27 = call i64 @FUNC(i64 %26, i64 %3)
store i32 %23, i32* %sv_0.0.reg2mem
br label LBL_4
LBL_4:
%sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem
%28 = call i64 @FUNC()
%29 = zext i32 %sv_0.0.reload to i64
store i64 %29, i64* %storemerge.reg2mem
br label LBL_5
LBL_5:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i32* %22, { 1, 0 }
uselistorder i64 %3, { 1, 0, 3, 2, 4, 5, 6 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i64* %0, { 1, 0 }
uselistorder label LBL_5, { 1, 0 }
} | 0 |
BinRealVul | mpeg4_encode_gop_header_17361 | mpeg4_encode_gop_header | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%sv_0.0.in.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%1 = add i64 %0, 32
%2 = call i64 @FUNC(i64 %1, i64 16, i64 0)
%3 = call i64 @FUNC(i64 %1, i64 16, i64 438)
%4 = add i64 %0, 16
%5 = inttoptr i64 %4 to i64*
%6 = load i64, i64* %5, align 8
%7 = icmp eq i64 %6, 0
store i64 %1, i64* %sv_0.0.in.reg2mem
br i1 %7, label LBL_2, label LBL_1
LBL_1:
%8 = inttoptr i64 %6 to i64*
%9 = load i64, i64* %8, align 8
%10 = inttoptr i64 %9 to i64*
%11 = load i64, i64* %10, align 8
%12 = call i64 @FUNC(i64 %1, i64 %11)
store i64 %12, i64* %sv_0.0.in.reg2mem
br label LBL_2
LBL_2:
%sv_0.0.in.reload = load i64, i64* %sv_0.0.in.reg2mem
%13 = add i64 %0, 24
%14 = inttoptr i64 %13 to i64*
%15 = load i64, i64* %14, align 8
%16 = inttoptr i64 %15 to i32*
%17 = load i32, i32* %16, align 4
%18 = sext i32 %17 to i64
%19 = mul i64 %sv_0.0.in.reload, %18
%20 = add i64 %15, 4
%21 = inttoptr i64 %20 to i32*
%22 = load i32, i32* %21, align 4
%23 = sext i32 %22 to i64
%24 = call i64 @FUNC(i64 %19, i64 %23)
%25 = trunc i64 %24 to i32
%26 = inttoptr i64 %1 to i32*
store i32 %25, i32* %26, align 4
%27 = load i64, i64* %14, align 8
%28 = add i64 %27, 4
%29 = inttoptr i64 %28 to i32*
%30 = load i32, i32* %29, align 4
%31 = sext i32 %30 to i64
%32 = call i64 @FUNC(i64 %19, i64 %31)
%sext = mul i64 %32, 4294967296
%33 = ashr exact i64 %sext, 32
%34 = call i64 @FUNC(i64 %33, i64 60)
%35 = call i64 @FUNC(i64 %33, i64 60)
%sext3 = mul i64 %34, 4294967296
%36 = ashr exact i64 %sext3, 32
%37 = call i64 @FUNC(i64 %36, i64 60)
%38 = call i64 @FUNC(i64 %36, i64 60)
%sext5 = mul i64 %37, 4294967296
%39 = ashr exact i64 %sext5, 32
%40 = call i64 @FUNC(i64 %39, i64 24)
%41 = and i64 %40, 4294967295
%42 = call i64 @FUNC(i64 %1, i64 5, i64 %41)
%43 = and i64 %38, 4294967295
%44 = call i64 @FUNC(i64 %1, i64 6, i64 %43)
%45 = call i64 @FUNC(i64 %1, i64 1, i64 1)
%46 = and i64 %35, 4294967295
%47 = call i64 @FUNC(i64 %1, i64 6, i64 %46)
%48 = load i64, i64* %14, align 8
%49 = add i64 %48, 8
%50 = inttoptr i64 %49 to i32*
%51 = load i32, i32* %50, align 4
%52 = urem i32 %51, 2
%53 = icmp eq i32 %52, 0
%54 = icmp eq i1 %53, false
%55 = zext i1 %54 to i64
%56 = call i64 @FUNC(i64 %1, i64 1, i64 %55)
%57 = call i64 @FUNC(i64 %1, i64 1, i64 0)
%58 = call i64 @FUNC(i64 %1)
ret i64 %58
uselistorder i64 %19, { 1, 0 }
uselistorder i64 %1, { 3, 2, 1, 5, 4, 7, 6, 8, 9, 0, 10, 11 }
uselistorder i64 1, { 0, 1, 3, 2 }
uselistorder i64 (i64, i64)* @FFUMOD, { 2, 1, 0 }
uselistorder i64 (i64, i64)* @FFUDIV, { 3, 2, 1, 0 }
uselistorder i64 (i64, i64, i64)* @put_bits, { 7, 6, 5, 4, 3, 2, 1, 0 }
uselistorder i64 16, { 2, 0, 1 }
} | 1 |
BinRealVul | ff_packet_split_and_drop_side_data_3351 | ff_packet_split_and_drop_side_data | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%sv_0.0.in5.reg2mem = alloca i64
%storemerge6.reg2mem = alloca i32
%.reg2mem = alloca i32
%0 = ptrtoint i64* %arg1 to i64
%1 = add i64 %0, 12
%2 = inttoptr i64 %1 to i32*
%3 = load i32, i32* %2, align 4
%4 = icmp eq i32 %3, 0
%5 = icmp eq i1 %4, false
store i64 0, i64* %rax.0.reg2mem
br i1 %5, label LBL_10, label LBL_1
LBL_1:
%6 = add i64 %0, 8
%7 = inttoptr i64 %6 to i32*
%8 = load i32, i32* %7, align 4
%9 = icmp slt i32 %8, 13
store i64 0, i64* %rax.0.reg2mem
br i1 %9, label LBL_10, label LBL_2
LBL_2:
%10 = sext i32 %8 to i64
%11 = add i64 %10, %0
%12 = add i64 %11, -8
%13 = inttoptr i64 %12 to i64*
%14 = load i64, i64* %13, align 8
%15 = icmp eq i64 %14, 1311768467294899695
%16 = icmp eq i1 %15, false
store i64 0, i64* %rax.0.reg2mem
br i1 %16, label LBL_10, label LBL_3
LBL_3:
%17 = add i64 %11, -13
%sv_0.04 = inttoptr i64 %17 to i32*
%18 = load i32, i32* %sv_0.04, align 4
%19 = icmp ult i32 %18, 2147483643
store i32 %18, i32* %.reg2mem
store i32 1, i32* %storemerge6.reg2mem
store i64 %17, i64* %sv_0.0.in5.reg2mem
store i64 0, i64* %rax.0.reg2mem
br i1 %19, label LBL_4, label LBL_10
LBL_4:
%sv_0.0.in5.reload = load i64, i64* %sv_0.0.in5.reg2mem
%.reload = load i32, i32* %.reg2mem
%20 = sub i64 %sv_0.0.in5.reload, %0
%21 = zext i32 %.reload to i64
%22 = icmp slt i64 %20, %21
store i64 0, i64* %rax.0.reg2mem
br i1 %22, label LBL_10, label LBL_5
LBL_5:
%23 = add i64 %sv_0.0.in5.reload, 4
%24 = inttoptr i64 %23 to i8*
%25 = load i8, i8* %24, align 1
%26 = icmp slt i8 %25, 0
br i1 %26, label LBL_8, label LBL_6
LBL_6:
%storemerge6.reload = load i32, i32* %storemerge6.reg2mem
%27 = add i32 %.reload, 5
%28 = zext i32 %27 to i64
%29 = icmp sge i64 %20, %28
%30 = icmp ult i32 %storemerge6.reload, 17
%or.cond = icmp eq i1 %30, %29
store i64 0, i64* %rax.0.reg2mem
br i1 %or.cond, label LBL_7, label LBL_10
LBL_7:
%31 = sub i64 %sv_0.0.in5.reload, %28
%32 = add nuw nsw i32 %storemerge6.reload, 1
%sv_0.0 = inttoptr i64 %31 to i32*
%33 = load i32, i32* %sv_0.0, align 4
%34 = icmp ult i32 %33, 2147483643
store i32 %33, i32* %.reg2mem
store i32 %32, i32* %storemerge6.reg2mem
store i64 %31, i64* %sv_0.0.in5.reg2mem
store i64 0, i64* %rax.0.reg2mem
br i1 %34, label LBL_4, label LBL_10
LBL_8:
%35 = trunc i64 %20 to i32
%36 = sub i32 %35, %.reload
store i32 %36, i32* %7, align 4
%37 = icmp slt i32 %36, 0
%38 = icmp eq i1 %37, false
store i64 1, i64* %rax.0.reg2mem
br i1 %38, label LBL_10, label LBL_9
LBL_9:
%39 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8
%40 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %39, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @gv_1, i64 0, i64 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_2, i64 0, i64 0))
call void @exit(i32 1)
unreachable
LBL_10:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i32 %storemerge6.reload, { 1, 0 }
uselistorder i32 %.reload, { 2, 0, 1 }
uselistorder i64 %0, { 1, 0, 2, 3 }
uselistorder i32* %.reg2mem, { 2, 0, 1 }
uselistorder i32* %storemerge6.reg2mem, { 2, 0, 1 }
uselistorder i64* %sv_0.0.in5.reg2mem, { 2, 0, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 8, 2, 3, 1, 4, 7, 6, 5 }
uselistorder i32 2147483643, { 1, 0 }
uselistorder label LBL_10, { 7, 1, 2, 0, 3, 6, 5, 4 }
uselistorder label LBL_4, { 1, 0 }
} | 0 |
BinRealVul | qeth_do_start_thread_10185 | qeth_do_start_thread | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%1 = ptrtoint i64* %arg1 to i64
%2 = load i64, i64* %0
%3 = add i64 %1, 24
%4 = call i64 @FUNC(i64 %3, i64 %2)
%5 = add i64 %1, 16
%6 = inttoptr i64 %5 to i64*
%7 = load i64, i64* %6, align 8
%8 = add i64 %1, 8
%9 = inttoptr i64 %8 to i64*
%10 = load i64, i64* %9, align 8
%11 = urem i64 %7, 256
%12 = urem i64 %10, 256
%13 = urem i64 %3, 256
%14 = call i64 @FUNC(i64 %1, i64 4, i8* getelementptr inbounds ([15 x i8], [15 x i8]* @gv_0, i64 0, i64 0), i64 %13, i64 %12, i64 %11)
%15 = call i64 @FUNC(i64 %3, i64 %2)
%16 = and i64 %arg2, 4294967295
%17 = and i64 %16, %1
ret i64 %17
uselistorder i64 %3, { 1, 0, 2 }
} | 0 |
BinRealVul | local_chown_15168 | local_chown | define i64 @FUNC(i32* %arg1, i64 %arg2, i32* %arg3) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%.reg2mem = alloca i32
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = trunc i64 %2 to i32
%4 = icmp eq i32 %3, -1
%5 = icmp eq i1 %4, false
br i1 %5, label LBL_2, label LBL_1
LBL_1:
%6 = ptrtoint i32* %arg3 to i64
%7 = add i64 %6, 4
%8 = inttoptr i64 %7 to i32*
%9 = load i32, i32* %8, align 4
%10 = icmp eq i32 %9, -1
store i32 -1, i32* %.reg2mem
br i1 %10, label LBL_4, label LBL_2
LBL_2:
%11 = trunc i64 %1 to i32
%12 = icmp eq i32 %11, 0
%13 = icmp eq i1 %12, false
br i1 %13, label LBL_5, label LBL_2.LBL_4_crit_edge
LBL_3:
%.pre = ptrtoint i32* %arg3 to i64
%.pre3 = add i64 %.pre, 4
%.pre5 = inttoptr i64 %.pre3 to i32*
%.pre7 = load i32, i32* %.pre5, align 4
store i32 %.pre7, i32* %.reg2mem
br label LBL_4
LBL_4:
%.reload = load i32, i32* %.reg2mem
%14 = ptrtoint i32* %arg1 to i64
%15 = call i64 @FUNC(i64 %14, i64 %arg2)
%16 = inttoptr i64 %15 to i8*
%17 = call i32 @lchown(i8* %16, i32 %3, i32 %.reload)
%18 = sext i32 %17 to i64
store i64 %18, i64* %rax.0.reg2mem
br label LBL_7
LBL_5:
%19 = icmp eq i32 %11, 1
%20 = icmp eq i1 %19, false
store i64 4294967295, i64* %rax.0.reg2mem
br i1 %20, label LBL_7, label LBL_6
LBL_6:
%21 = ptrtoint i32* %arg1 to i64
%22 = call i64 @FUNC(i64 %21, i64 %arg2)
%23 = ptrtoint i32* %arg3 to i64
%24 = call i64 @FUNC(i64 %22, i64 %23)
store i64 %24, i64* %rax.0.reg2mem
br label LBL_7
LBL_7:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i32 %11, { 1, 0 }
uselistorder i32* %.reg2mem, { 0, 2, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 3, 1, 2 }
uselistorder i64* %0, { 1, 0 }
uselistorder i64 (i64, i64)* @rpath, { 1, 0 }
uselistorder i32* %arg3, { 1, 0, 2 }
uselistorder i64 %arg2, { 1, 0 }
uselistorder i32* %arg1, { 1, 0 }
uselistorder label LBL_7, { 1, 0, 2 }
} | 1 |
BinRealVul | qemu_chr_open_pp_14659 | qemu_chr_open_pp | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%1 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_0, i64 0, i64 0))
%2 = inttoptr i64 %1 to i8*
%3 = call i32 (i8*, i32, ...) @open(i8* %2, i32 2)
%4 = icmp slt i32 %3, 0
%5 = icmp eq i1 %4, false
store i64 0, i64* %storemerge.reg2mem
br i1 %5, label LBL_1, label LBL_2
LBL_1:
%6 = call i64 @FUNC(i64 24)
%7 = sext i32 %3 to i64
%8 = inttoptr i64 %6 to i64*
store i64 %7, i64* %8, align 8
%9 = add i64 %6, 8
%10 = inttoptr i64 %9 to i64*
store i64 4198843, i64* %10, align 8
%11 = add i64 %6, 16
%12 = inttoptr i64 %11 to i64*
store i64 4198863, i64* %12, align 8
store i64 %6, i64* %storemerge.reg2mem
br label LBL_2
LBL_2:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i32 0, { 1, 0, 2 }
uselistorder label LBL_2, { 1, 0 }
} | 1 |
BinRealVul | r128_cce_reset_4287 | r128_cce_reset | define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
%1 = call i64 @FUNC(i64 4202515)
%2 = call i64 @FUNC(i64 %0)
%3 = bitcast i64* %arg1 to i32*
store i32 0, i32* %3, align 4
ret i64 0
} | 0 |
BinRealVul | nfs4_xdr_dec_setattr_8657 | nfs4_xdr_dec_setattr | define i64 @FUNC(i64* %arg1, i64* %arg2, i64* %arg3) local_unnamed_addr {
LBL_0:
%.reg2mem = alloca i32
%0 = ptrtoint i64* %arg2 to i64
%1 = ptrtoint i64* %arg1 to i64
%sv_0 = alloca i32, align 4
%2 = bitcast i32* %sv_0 to i64*
%3 = call i64 @FUNC(i64* nonnull %2, i64 %1, i64 %0)
%4 = call i64 @FUNC(i64* nonnull %2, i64* nonnull %2)
%5 = trunc i64 %4 to i32
store i32 %5, i32* %sv_0, align 4
%6 = icmp eq i32 %5, 0
%7 = icmp eq i1 %6, false
store i32 %5, i32* %.reg2mem
br i1 %7, label LBL_4, label LBL_1
LBL_1:
%8 = call i64 @FUNC(i64* nonnull %2)
%9 = trunc i64 %8 to i32
store i32 %9, i32* %sv_0, align 4
%10 = icmp eq i32 %9, 0
%11 = icmp eq i1 %10, false
store i32 %9, i32* %.reg2mem
br i1 %11, label LBL_4, label LBL_2
LBL_2:
%12 = ptrtoint i64* %arg3 to i64
%13 = call i64 @FUNC(i64* nonnull %2, i64 %12)
%14 = trunc i64 %13 to i32
store i32 %14, i32* %sv_0, align 4
%15 = icmp eq i32 %14, 0
%16 = icmp eq i1 %15, false
store i32 %14, i32* %.reg2mem
br i1 %16, label LBL_4, label LBL_3
LBL_3:
%17 = add i64 %12, 8
%18 = inttoptr i64 %17 to i64*
%19 = load i64, i64* %18, align 8
%20 = call i64 @FUNC(i64* nonnull %2, i64 %19, i64 %19)
%21 = trunc i64 %20 to i32
%22 = icmp eq i32 %21, 1
%23 = icmp eq i1 %22, false
%spec.store.select = select i1 %23, i32 %21, i32 0
store i32 %spec.store.select, i32* %sv_0, align 4
store i32 %spec.store.select, i32* %.reg2mem
br label LBL_4
LBL_4:
%.reload = load i32, i32* %.reg2mem
%24 = zext i32 %.reload to i64
ret i64 %24
uselistorder i64 %19, { 1, 0 }
uselistorder i64* %2, { 0, 1, 2, 4, 3, 5 }
uselistorder i32* %sv_0, { 3, 2, 1, 0, 4 }
uselistorder i32* %.reg2mem, { 0, 4, 3, 2, 1 }
} | 0 |
BinRealVul | exif_scan_thumbnail_13277 | exif_scan_thumbnail | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%sv_0.0.reg2mem = alloca i32
%sv_1.1.reg2mem = alloca i64
%.reg2mem77 = alloca i64
%.reg2mem = alloca i64
%sv_2 = alloca i32, align 4
%0 = icmp eq i64* %arg1, null
store i64 0, i64* %rax.0.reg2mem
br i1 %0, label LBL_20, label LBL_1
LBL_1:
%1 = ptrtoint i64* %arg1 to i64
%2 = add i64 %1, 8
%3 = inttoptr i64 %2 to i64*
%4 = load i64, i64* %3, align 8
%5 = icmp ult i64 %4, 4
store i64 0, i64* %rax.0.reg2mem
br i1 %5, label LBL_20, label LBL_2
LBL_2:
%6 = call i32 @memcmp(i64* nonnull %arg1, i64* nonnull @gv_0, i32 3)
%7 = icmp eq i32 %6, 0
br i1 %7, label LBL_3, label LBL_4
LBL_3:
%8 = load i64, i64* %3, align 8
%9 = icmp ugt i64 %8, 2
store i64 %8, i64* %.reg2mem
store i64 2, i64* %.reg2mem77
store i64 0, i64* %rax.0.reg2mem
br i1 %9, label LBL_7, label LBL_20
LBL_4:
%10 = add i64 %1, 16
%11 = inttoptr i64 %10 to i32*
%12 = load i32, i32* %11, align 4
%13 = icmp eq i32 %12, 0
%14 = icmp eq i1 %13, false
store i64 0, i64* %rax.0.reg2mem
br i1 %14, label LBL_20, label LBL_5
LBL_5:
%15 = add i64 %1, 20
%16 = inttoptr i64 %15 to i32*
%17 = load i32, i32* %16, align 4
%18 = icmp eq i32 %17, 0
%19 = icmp eq i1 %18, false
store i64 0, i64* %rax.0.reg2mem
br i1 %19, label LBL_20, label LBL_6
LBL_6:
%20 = call i64 @FUNC(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @gv_1, i64 0, i64 0))
store i64 0, i64* %rax.0.reg2mem
br label LBL_20
LBL_7:
%.reload78 = load i64, i64* %.reg2mem77
%.reload = load i64, i64* %.reg2mem
%21 = add i64 %.reload78, 1
%22 = icmp ult i64 %21, %.reload
store i64 0, i64* %rax.0.reg2mem
br i1 %22, label LBL_8, label LBL_20
LBL_8:
%23 = add i64 %.reload78, %1
%24 = inttoptr i64 %23 to i8*
%25 = load i8, i8* %24, align 1
%26 = icmp eq i8 %25, -1
store i64 %21, i64* %sv_1.1.reg2mem
store i32 8, i32* %sv_0.0.reg2mem
store i64 0, i64* %rax.0.reg2mem
br i1 %26, label LBL_10, label LBL_20
LBL_9:
%27 = add nsw i32 %sv_0.0.reload, -1
%28 = add i64 %sv_1.1.reload, 4
%29 = icmp ult i64 %28, %.reload
store i64 %30, i64* %sv_1.1.reg2mem
store i32 %27, i32* %sv_0.0.reg2mem
store i64 0, i64* %rax.0.reg2mem
br i1 %29, label LBL_10, label LBL_20
LBL_10:
%sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem
%sv_1.1.reload = load i64, i64* %sv_1.1.reg2mem
%30 = add i64 %sv_1.1.reload, 1
%31 = add i64 %sv_1.1.reload, %1
%32 = inttoptr i64 %31 to i8*
%33 = load i8, i8* %32, align 1
%34 = icmp eq i8 %33, -1
%35 = icmp eq i32 %sv_0.0.reload, 0
%36 = icmp eq i1 %35, false
%or.cond = icmp eq i1 %34, %36
br i1 %or.cond, label LBL_9, label LBL_11
LBL_11:
%37 = icmp eq i1 %34, false
store i64 0, i64* %rax.0.reg2mem
br i1 %37, label LBL_12, label LBL_20
LBL_12:
%38 = add i64 %30, %1
%39 = call i64 @FUNC(i64 %38)
%sext = mul i64 %39, 4294967296
%40 = ashr exact i64 %sext, 32
%41 = load i64, i64* %3, align 8
%42 = icmp uge i64 %41, %40
%43 = sub i64 %41, %40
%44 = icmp ult i64 %30, %43
%or.cond5 = icmp eq i1 %42, %44
store i64 0, i64* %rax.0.reg2mem
br i1 %or.cond5, label LBL_13, label LBL_20
LBL_13:
%45 = zext i8 %33 to i32
%46 = add nsw i32 %45, -192
%47 = icmp ult i32 %46, 27
%48 = icmp ne i1 %47, true
%49 = icmp eq i1 %48, false
%50 = icmp eq i1 %49, false
br i1 %50, label LBL_19, label LBL_14
LBL_14:
%51 = urem i8 %33, 64
%52 = icmp eq i8 %51, 0
%53 = zext i8 %51 to i64
%54 = shl i64 1, %53
%rdx.0 = select i1 %52, i64 1, i64 %54
%55 = and i64 %rdx.0, 61167
%56 = icmp eq i64 %55, 0
%57 = icmp eq i1 %56, false
%58 = icmp eq i1 %57, false
%59 = icmp eq i1 %58, false
br i1 %59, label LBL_16, label LBL_15
LBL_15:
%60 = and i64 %rdx.0, 100663296
%61 = icmp eq i64 %60, 0
%62 = icmp eq i1 %61, false
%63 = icmp eq i1 %62, false
%64 = icmp eq i1 %63, false
br i1 %64, label LBL_18, label LBL_19
LBL_16:
%65 = icmp ult i64 %40, 8
%66 = add i64 %41, -8
%67 = icmp ugt i64 %30, %66
%or.cond7 = or i1 %65, %67
store i64 0, i64* %rax.0.reg2mem
br i1 %or.cond7, label LBL_20, label LBL_17
LBL_17:
%68 = zext i8 %33 to i64
%69 = bitcast i32* %sv_2 to i64*
%70 = call i64 @FUNC(i64 %38, i64 %68, i64* nonnull %69)
%71 = add i64 %1, 20
%72 = inttoptr i64 %71 to i32*
%73 = load i32, i32* %sv_2, align 4
%74 = add i64 %1, 16
%75 = inttoptr i64 %74 to i32*
store i32 %73, i32* %75, align 4
store i64 1, i64* %rax.0.reg2mem
br label LBL_20
LBL_18:
%76 = call i64 @FUNC(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @gv_2, i64 0, i64 0))
store i64 0, i64* %rax.0.reg2mem
br label LBL_20
LBL_19:
%77 = add i64 %40, %30
%78 = icmp ult i64 %77, %41
store i64 %41, i64* %.reg2mem
store i64 %77, i64* %.reg2mem77
store i64 0, i64* %rax.0.reg2mem
br i1 %78, label LBL_7, label LBL_20
LBL_20:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %41, { 0, 2, 1, 3, 4 }
uselistorder i64 %40, { 1, 0, 2, 3 }
uselistorder i1 %34, { 1, 0 }
uselistorder i8 %33, { 1, 0, 2, 3 }
uselistorder i64 %30, { 1, 2, 4, 3, 0 }
uselistorder i64 %sv_1.1.reload, { 2, 0, 1 }
uselistorder i32 %sv_0.0.reload, { 1, 0 }
uselistorder i64 %.reload, { 1, 0 }
uselistorder i64 %.reload78, { 1, 0 }
uselistorder i64* %3, { 1, 0, 2 }
uselistorder i64 %1, { 5, 6, 0, 1, 2, 4, 3, 7 }
uselistorder i64* %.reg2mem, { 2, 0, 1 }
uselistorder i64* %.reg2mem77, { 2, 0, 1 }
uselistorder i64* %sv_1.1.reg2mem, { 0, 2, 1 }
uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 1, 14, 15, 8, 5, 4, 6, 3, 2, 11, 10, 9, 7, 13, 12 }
uselistorder i64 (i8*)* @raise_warning, { 1, 0 }
uselistorder i1 false, { 4, 1, 5, 6, 2, 7, 8, 3, 9, 0, 10, 11 }
uselistorder i64* %arg1, { 0, 2, 1 }
uselistorder label LBL_20, { 0, 13, 14, 7, 4, 3, 5, 2, 1, 10, 9, 8, 6, 12, 11 }
uselistorder label LBL_10, { 1, 0 }
uselistorder label LBL_7, { 1, 0 }
} | 1 |
BinRealVul | cdg_load_palette_14828 | cdg_load_palette | define i64 @FUNC(i64* %arg1, i64* %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%indvars.iv.reg2mem = alloca i64
%0 = ptrtoint i64* %arg2 to i64
%1 = ptrtoint i64* %arg1 to i64
%2 = trunc i64 %arg3 to i32
%3 = icmp eq i32 %2, 0
%. = select i1 %3, i64 8, i64 0
%4 = add i64 %1, 4
%5 = inttoptr i64 %4 to i32*
%6 = load i32, i32* %5, align 4
%7 = zext i32 %6 to i64
store i64 0, i64* %indvars.iv.reg2mem
br label LBL_1
LBL_1:
%indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem
%8 = mul i64 %indvars.iv.reload, 2
%9 = add i64 %8, %0
%10 = inttoptr i64 %9 to i8*
%11 = load i8, i8* %10, align 1
%12 = zext i8 %11 to i16
%13 = mul i16 %12, 64
%14 = or i64 %8, 1
%15 = add i64 %14, %0
%16 = inttoptr i64 %15 to i8*
%17 = load i8, i8* %16, align 1
%18 = and i8 %17, 48
%19 = zext i8 %18 to i16
%20 = or i16 %13, %19
%21 = udiv i16 %12, 4
%22 = urem i16 %21, 16
%23 = mul i16 %21, 16
%24 = udiv i16 %20, 16
%25 = urem i16 %24, 16
%26 = mul i16 %25, 16
%27 = or i16 %26, %25
%28 = urem i8 %17, 16
%29 = mul i8 %17, 16
%30 = or i8 %29, %28
%.masked = and i16 %23, 240
%31 = or i16 %.masked, %22
%32 = zext i16 %31 to i32
%33 = mul i32 %32, 65536
%34 = mul i16 %27, 256
%35 = zext i16 %34 to i32
%36 = zext i8 %30 to i32
%37 = or i32 %33, %36
%38 = or i32 %37, %35
%39 = or i32 %38, -16777216
%40 = add nuw nsw i64 %indvars.iv.reload, %.
%41 = mul i64 %40, 4
%42 = add nuw nsw i64 %41, %7
%43 = inttoptr i64 %42 to i32*
store i32 %39, i32* %43, align 4
%indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1
%exitcond = icmp eq i64 %indvars.iv.next, 8
store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem
br i1 %exitcond, label LBL_2, label LBL_1
LBL_2:
%44 = add i64 %1, 8
%45 = inttoptr i64 %44 to i32*
store i32 1, i32* %45, align 4
ret i64 %1
uselistorder i16 %25, { 1, 0 }
uselistorder i16 %12, { 1, 0 }
uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }
uselistorder i16 16, { 0, 3, 2, 1, 4 }
uselistorder i64 1, { 1, 0 }
uselistorder i64 8, { 2, 1, 0 }
} | 1 |
BinRealVul | pci_qdev_init_2537 | pci_qdev_init | define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg2 to i64
%3 = add i64 %2, -48
%4 = inttoptr i64 %3 to i32*
%5 = load i32, i32* %4, align 4
%6 = icmp eq i32 %5, 0
br i1 %6, label LBL_2, label LBL_1
LBL_1:
%7 = trunc i64 %1 to i32
%8 = or i32 %7, 1
%9 = bitcast i64* %arg1 to i32*
store i32 %8, i32* %9, align 4
br label LBL_2
LBL_2:
%10 = ptrtoint i64* %arg1 to i64
%11 = call i64 @FUNC(i64 %10)
%12 = add i64 %10, 4
%13 = inttoptr i64 %12 to i32*
%14 = load i32, i32* %13, align 4
%15 = add i64 %2, -24
%16 = inttoptr i64 %15 to i64*
%17 = load i64, i64* %16, align 8
%18 = add i64 %2, -32
%19 = inttoptr i64 %18 to i64*
%20 = load i64, i64* %19, align 8
%21 = call i64 @FUNC(i64 %10, i64 %11, i64 %2, i32 %14, i64 %20, i64 %17)
%22 = trunc i64 %21 to i32
%23 = icmp eq i32 %22, 0
%24 = and i64 %21, 4294967295
%storemerge = select i1 %23, i64 0, i64 %24
ret i64 %storemerge
uselistorder i64 %10, { 1, 0, 2 }
uselistorder i64 %2, { 2, 0, 1, 3 }
uselistorder i64* %arg1, { 1, 0 }
} | 0 |
BinRealVul | __udp4_lib_rcv_7665 | __udp4_lib_rcv | define i64 @FUNC(i64* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%.pre-phi14.reg2mem = alloca i16*
%sv_0.0.reg2mem = alloca i32
%sv_1.0.reg2mem = alloca i16*
%0 = ptrtoint i64* %arg1 to i64
%1 = call i64 @FUNC(i64 %0)
%2 = add i64 %0, 8
%3 = inttoptr i64 %2 to i64*
%4 = load i64, i64* %3, align 8
%5 = call i64 @FUNC(i64 %0)
%6 = inttoptr i64 %5 to i32*
%7 = load i32, i32* %6, align 4
%8 = call i64 @FUNC(i64 %0)
%9 = add i64 %8, 4
%10 = inttoptr i64 %9 to i32*
%11 = load i32, i32* %10, align 4
%12 = call i64 @FUNC(i64 %0)
%13 = call i64 @FUNC(i64 %0, i64 8)
%14 = trunc i64 %13 to i32
%15 = icmp eq i32 %14, 0
br i1 %15, label LBL_21, label LBL_1
LBL_1:
%16 = inttoptr i64 %1 to i16*
%17 = add i64 %1, 4
%18 = inttoptr i64 %17 to i16*
%19 = load i16, i16* %18, align 2
%20 = call i16 @ntohs(i16 %19)
%21 = sext i16 %20 to i32
%22 = add i64 %0, 16
%23 = inttoptr i64 %22 to i32*
%24 = load i32, i32* %23, align 4
%25 = zext i16 %20 to i32
%26 = icmp ult i32 %24, %25
br i1 %26, label LBL_19, label LBL_2
LBL_2:
%27 = icmp eq i32 %arg3, 17
%28 = icmp eq i1 %27, false
store i16* %16, i16** %sv_1.0.reg2mem
br i1 %28, label LBL_6, label LBL_3
LBL_3:
%29 = icmp ult i16 %20, 8
br i1 %29, label LBL_19, label LBL_4
LBL_4:
%30 = urem i32 %21, 65536
%31 = zext i32 %30 to i64
%32 = call i64 @FUNC(i64 %0, i64 %31)
%33 = trunc i64 %32 to i32
%34 = icmp eq i32 %33, 0
%35 = icmp eq i1 %34, false
br i1 %35, label LBL_19, label LBL_5
LBL_5:
%36 = call i64 @FUNC(i64 %0)
%37 = inttoptr i64 %36 to i16*
store i16* %37, i16** %sv_1.0.reg2mem
br label LBL_6
LBL_6:
%sv_1.0.reload = load i16*, i16** %sv_1.0.reg2mem
%38 = ptrtoint i16* %sv_1.0.reload to i64
%39 = call i64 @FUNC(i64 %0, i64 %38, i32 %arg3)
%40 = trunc i64 %39 to i32
%41 = icmp eq i32 %40, 0
%42 = icmp eq i1 %41, false
br i1 %42, label LBL_6.LBL_20_crit_edge, label LBL_8
LBL_7:
%.pre = add i64 %38, 2
%.pre13 = inttoptr i64 %.pre to i16*
store i16* %.pre13, i16** %.pre-phi14.reg2mem
br label LBL_20
LBL_8:
%43 = inttoptr i64 %4 to i32*
%44 = load i32, i32* %43, align 4
%45 = urem i32 %44, 4
%46 = icmp eq i32 %45, 0
br i1 %46, label LBL_10, label LBL_9
LBL_9:
%47 = ptrtoint i64* %arg2 to i64
%48 = zext i32 %11 to i64
%49 = call i64 @FUNC(i64 %12, i64 %0, i64 %38, i32 %7, i64 %48, i64 %47)
store i64 %49, i64* %rax.0.reg2mem
br label LBL_22
LBL_10:
%50 = call i64 @FUNC(i64 %0)
%51 = add i64 %38, 2
%52 = inttoptr i64 %51 to i16*
%53 = load i16, i16* %52, align 2
%54 = zext i16 %53 to i64
%55 = load i16, i16* %sv_1.0.reload, align 2
%56 = zext i16 %55 to i64
%57 = and i64 %50, 4294967295
%58 = call i64 @FUNC(i64 %12, i32 %7, i64 %56, i32 %11, i64 %54, i64 %57)
%59 = icmp eq i64 %58, 0
br i1 %59, label LBL_16, label LBL_11
LBL_11:
%60 = call i64 @FUNC(i64 %58)
%61 = call i64 @FUNC(i64 %58)
%62 = trunc i64 %61 to i32
%63 = icmp eq i32 %62, 0
%64 = icmp eq i1 %63, false
br i1 %64, label LBL_13, label LBL_12
LBL_12:
%65 = call i64 @FUNC(i64 %58, i64 %0)
%66 = trunc i64 %65 to i32
store i32 %66, i32* %sv_0.0.reg2mem
br label LBL_14
LBL_13:
%67 = call i64 @FUNC(i64 %58, i64 %0)
store i32 0, i32* %sv_0.0.reg2mem
br label LBL_14
LBL_14:
%sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem
%68 = call i64 @FUNC(i64 %58)
%69 = call i64 @FUNC(i64 %58)
%70 = icmp slt i32 %sv_0.0.reload, 1
store i64 0, i64* %rax.0.reg2mem
br i1 %70, label LBL_22, label LBL_15
LBL_15:
%71 = sub i32 0, %sv_0.0.reload
%72 = zext i32 %71 to i64
store i64 %72, i64* %rax.0.reg2mem
br label LBL_22
LBL_16:
%73 = call i64 @FUNC(i64 0, i64 0, i64 %0)
%74 = trunc i64 %73 to i32
%75 = icmp eq i32 %74, 0
br i1 %75, label LBL_21, label LBL_17
LBL_17:
%76 = call i64 @FUNC(i64 %0)
%77 = call i64 @FUNC(i64 %0)
%78 = trunc i64 %77 to i32
%79 = icmp eq i32 %78, 0
%80 = icmp eq i1 %79, false
store i16* %52, i16** %.pre-phi14.reg2mem
br i1 %80, label LBL_20, label LBL_18
LBL_18:
%81 = call i64 @FUNC(i64 %0, i64 3, i64 3, i64 0)
%82 = call i64 @FUNC(i64 %0)
store i64 0, i64* %rax.0.reg2mem
br label LBL_22
LBL_19:
%83 = add i64 %1, 2
%84 = inttoptr i64 %83 to i16*
%85 = load i16, i16* %84, align 2
%86 = call i16 @ntohs(i16 %85)
%87 = zext i16 %86 to i32
%88 = urem i32 %11, 256
%89 = udiv i32 %11, 256
%90 = urem i32 %89, 256
%91 = udiv i32 %11, 65536
%92 = urem i32 %91, 256
%93 = udiv i32 %11, 16777216
%94 = load i32, i32* %23, align 4
%95 = urem i32 %21, 65536
%96 = load i16, i16* %16, align 2
%97 = call i16 @ntohs(i16 %96)
%98 = urem i32 %7, 256
%99 = udiv i32 %7, 256
%100 = urem i32 %99, 256
%101 = udiv i32 %7, 65536
%102 = urem i32 %101, 256
%103 = udiv i32 %7, 16777216
%104 = icmp eq i32 %arg3, 136
%105 = icmp eq i1 %104, false
%106 = zext i16 %97 to i32
%107 = select i1 %105, i8* bitcast (i64* @gv_0 to i8*), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_1, i64 0, i64 0)
%108 = zext i32 %95 to i64
%109 = sext i32 %94 to i64
%110 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([71 x i8], [71 x i8]* @gv_2, i64 0, i64 0), i8* %107, i32 %103, i32 %102, i32 %100, i32 %98, i32 %106, i64 %108, i64 %109, i32 %93, i32 %92, i32 %90, i32 %88, i32 %87)
br label LBL_21
LBL_20:
%.pre-phi14.reload = load i16*, i16** %.pre-phi14.reg2mem
%111 = urem i32 %21, 65536
%112 = zext i32 %111 to i64
%113 = load i16, i16* %.pre-phi14.reload, align 2
%114 = call i16 @ntohs(i16 %113)
%115 = urem i32 %11, 256
%116 = udiv i32 %11, 256
%117 = urem i32 %116, 256
%118 = udiv i32 %11, 65536
%119 = urem i32 %118, 256
%120 = udiv i32 %11, 16777216
%121 = load i16, i16* %sv_1.0.reload, align 2
%122 = call i16 @ntohs(i16 %121)
%123 = urem i32 %7, 256
%124 = udiv i32 %7, 256
%125 = urem i32 %124, 256
%126 = udiv i32 %7, 65536
%127 = urem i32 %126, 256
%128 = udiv i32 %7, 16777216
%129 = icmp eq i32 %arg3, 136
%130 = icmp eq i1 %129, false
%131 = zext i16 %114 to i32
%132 = zext i16 %122 to i32
%133 = select i1 %130, i8* bitcast (i64* @gv_0 to i8*), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_1, i64 0, i64 0)
%134 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([73 x i8], [73 x i8]* @gv_3, i64 0, i64 0), i8* %133, i32 %128, i32 %127, i32 %125, i32 %123, i32 %132, i32 %120, i32 %119, i32 %117, i32 %115, i32 %131, i64 %112)
br label LBL_21
LBL_21:
%135 = call i64 @FUNC(i64 %0)
store i64 0, i64* %rax.0.reg2mem
br label LBL_22
LBL_22:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %58, { 1, 0, 2, 3, 5, 4, 6 }
uselistorder i64 %38, { 2, 1, 0, 3 }
uselistorder i16* %sv_1.0.reload, { 1, 2, 0 }
uselistorder i16* %16, { 1, 0 }
uselistorder i64 %12, { 1, 0 }
uselistorder i32 %11, { 0, 1, 2, 3, 4, 5, 6, 7, 9, 8 }
uselistorder i32 %7, { 0, 1, 2, 3, 4, 5, 6, 7, 9, 8 }
uselistorder i64 %0, { 13, 5, 4, 7, 6, 8, 2, 3, 9, 1, 10, 0, 12, 11, 14, 15, 16, 17, 18, 19 }
uselistorder i32* %sv_0.0.reg2mem, { 0, 2, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 5, 4, 3, 1, 2 }
uselistorder i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_1, i64 0, i64 0), { 1, 0 }
uselistorder i8* bitcast (i64* @gv_0 to i8*), { 1, 0 }
uselistorder i32 136, { 1, 0 }
uselistorder i32 256, { 2, 3, 0, 4, 5, 6, 1, 7, 10, 11, 8, 12, 13, 14, 9, 15 }
uselistorder i64 (i64)* @kfree_skb, { 1, 0 }
uselistorder i64 3, { 1, 0 }
uselistorder i64 2, { 1, 2, 0 }
uselistorder i32 65536, { 0, 1, 2, 3, 5, 4, 6, 7 }
uselistorder i16 (i16)* @ntohs, { 4, 3, 2, 1, 0 }
uselistorder i64 (i64)* @ip_hdr, { 1, 0 }
uselistorder i64 (i64)* @udp_hdr, { 1, 0 }
uselistorder i32 %arg3, { 0, 3, 1, 2 }
uselistorder label LBL_22, { 1, 2, 3, 0, 4 }
uselistorder label LBL_21, { 2, 3, 0, 1 }
uselistorder label LBL_20, { 1, 0 }
uselistorder label LBL_19, { 1, 0, 2 }
} | 1 |
BinRealVul | http_read_header_11027 | http_read_header | define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.in.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = load i64, i64* %0
%3 = ptrtoint i64* %arg1 to i64
%sv_0 = alloca i64, align 8
%4 = bitcast i64* %arg1 to i32*
store i32 -1, i32* %4, align 4
%5 = call i64 @FUNC(i64 %3, i64* nonnull %sv_0, i64 2048)
%6 = trunc i64 %5 to i32
%7 = icmp slt i32 %6, 0
%8 = icmp eq i1 %7, false
store i64 %5, i64* %rax.0.in.reg2mem
br i1 %8, label LBL_1, label LBL_10
LBL_1:
%9 = ptrtoint i64* %arg2 to i64
%10 = add i64 %3, 4
%11 = inttoptr i64 %10 to i32*
br label LBL_2
LBL_2:
%12 = call i64 @FUNC(i64 %3, i64 0, i8* getelementptr inbounds ([13 x i8], [13 x i8]* @gv_0, i64 0, i64 0), i64* nonnull %sv_0, i64 %2, i64 %1)
%13 = load i32, i32* %11, align 4
%14 = call i64 @FUNC(i64 %3, i64* nonnull %sv_0, i32 %13, i64 %9)
%15 = trunc i64 %14 to i32
%16 = icmp slt i32 %15, 0
%17 = icmp eq i1 %16, false
store i64 %14, i64* %rax.0.in.reg2mem
br i1 %17, label LBL_3, label LBL_10
LBL_3:
%18 = icmp eq i32 %15, 0
br i1 %18, label LBL_5, label LBL_4
LBL_4:
%19 = load i32, i32* %11, align 4
%20 = add i32 %19, 1
store i32 %20, i32* %11, align 4
%21 = call i64 @FUNC(i64 %3, i64* nonnull %sv_0, i64 2048)
%22 = trunc i64 %21 to i32
%23 = icmp slt i32 %22, 0
%24 = icmp eq i1 %23, false
store i64 %21, i64* %rax.0.in.reg2mem
br i1 %24, label LBL_2, label LBL_10
LBL_5:
%25 = add i64 %3, 8
%26 = inttoptr i64 %25 to i32*
%27 = load i32, i32* %26, align 4
%28 = icmp eq i32 %27, -1
%29 = icmp eq i1 %28, false
br i1 %29, label LBL_9, label LBL_6
LBL_6:
%30 = add i64 %3, 12
%31 = inttoptr i64 %30 to i32*
%32 = load i32, i32* %31, align 4
%33 = icmp eq i32 %32, 0
br i1 %33, label LBL_9, label LBL_7
LBL_7:
%34 = add i64 %3, 16
%35 = inttoptr i64 %34 to i32*
%36 = load i32, i32* %35, align 4
%37 = icmp eq i32 %36, 2000000000
%38 = icmp eq i1 %37, false
br i1 %38, label LBL_9, label LBL_8
LBL_8:
store i32 1, i32* %26, align 4
br label LBL_9
LBL_9:
%39 = add i64 %3, 32
%40 = add i64 %3, 24
%41 = inttoptr i64 %40 to i64*
%42 = load i64, i64* %41, align 8
%43 = call i64 @FUNC(i64 %42, i64 %39)
%44 = call i64 @FUNC(i64 %40)
store i64 %14, i64* %rax.0.in.reg2mem
br label LBL_10
LBL_10:
%rax.0.in.reload = load i64, i64* %rax.0.in.reg2mem
%rax.0 = and i64 %rax.0.in.reload, 4294967295
ret i64 %rax.0
uselistorder i64 %14, { 1, 0, 2 }
uselistorder i32* %11, { 1, 0, 2 }
uselistorder i64* %sv_0, { 3, 1, 2, 0 }
uselistorder i64 %3, { 2, 1, 5, 4, 3, 9, 6, 8, 7, 0 }
uselistorder i64* %rax.0.in.reg2mem, { 0, 4, 1, 2, 3 }
uselistorder i64* %0, { 1, 0 }
uselistorder i64 4294967295, { 1, 0 }
uselistorder i1 false, { 1, 2, 4, 3, 0, 5, 6 }
uselistorder i32 0, { 1, 4, 2, 3, 0, 5 }
uselistorder i64 (i64, i64*, i64)* @http_get_line, { 1, 0 }
uselistorder i64 2048, { 1, 0 }
uselistorder label LBL_10, { 3, 0, 1, 2 }
uselistorder label LBL_2, { 1, 0 }
} | 1 |
BinRealVul | ds1338_recv_3402 | ds1338_recv | define i64 @FUNC(i32* %arg1) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i32* %arg1 to i64
%1 = add i64 %0, 256
%2 = inttoptr i64 %1 to i32*
%3 = load i32, i32* %2, align 4
%4 = sext i32 %3 to i64
%5 = add i64 %4, %0
%6 = inttoptr i64 %5 to i8*
%7 = load i8, i8* %6, align 1
%8 = add i32 %3, 1
%9 = urem i32 %8, 256
store i32 %9, i32* %2, align 4
%10 = zext i8 %7 to i64
ret i64 %10
} | 0 |
BinRealVul | batadv_tt_local_event_17458 | batadv_tt_local_event | define i64 @FUNC(i64* %arg1, i32* %arg2, i8 %arg3) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%sv_0.012.reg2mem = alloca i64
%.reg2mem = alloca i64
%0 = call i64 @FUNC(i64 24, i64 0)
%1 = icmp eq i64 %0, 0
store i64 0, i64* %rax.0.reg2mem
br i1 %1, label LBL_7, label LBL_1
LBL_1:
%2 = ptrtoint i64* %arg1 to i64
%3 = add i64 %0, 6
%4 = inttoptr i64 %3 to i8*
store i8 %arg3, i8* %4, align 1
%5 = inttoptr i64 %0 to i64*
%6 = bitcast i32* %arg2 to i64*
%7 = call i64* @memcpy(i64* %5, i64* %6, i32 6)
%8 = urem i8 %arg3, 2
%9 = icmp eq i8 %8, 0
%10 = icmp eq i1 %9, false
%11 = add i64 %2, 16
%12 = call i64 @FUNC(i64 %11)
%13 = add i64 %2, 8
%14 = ptrtoint i32* %arg2 to i64
store i64 %11, i64* %.reg2mem
store i64 %13, i64* %sv_0.012.reg2mem
br label LBL_2
LBL_2:
%sv_0.012.reload = load i64, i64* %sv_0.012.reg2mem
%.reload = load i64, i64* %.reg2mem
%storemerge14.in.in = inttoptr i64 %.reload to i64*
%storemerge14.in = load i64, i64* %storemerge14.in.in, align 8
%15 = call i64 @FUNC(i64 %sv_0.012.reload, i64 %14)
%16 = trunc i64 %15 to i8
%17 = icmp eq i8 %16, 1
%18 = icmp eq i1 %17, false
br i1 %18, label LBL_4, label LBL_3
LBL_3:
%19 = add i64 %sv_0.012.reload, 6
%20 = inttoptr i64 %19 to i8*
%21 = load i8, i8* %20, align 1
%22 = urem i8 %21, 2
%23 = icmp eq i8 %22, 0
%24 = icmp eq i1 %23, false
%25 = icmp eq i1 %9, %24
%26 = icmp ne i1 %25, true
%27 = icmp eq i1 %10, %23
%28 = icmp ne i1 %27, true
%or.cond5 = icmp eq i1 %28, %26
br i1 %or.cond5, label LBL_4, label LBL_5
LBL_4:
%storemerge14 = add i64 %storemerge14.in, -8
%29 = icmp eq i64 %storemerge14.in, %2
%30 = icmp eq i1 %29, false
store i64 %storemerge14.in, i64* %.reg2mem
store i64 %storemerge14, i64* %sv_0.012.reg2mem
br i1 %30, label LBL_2, label LBL_6
LBL_5:
%31 = call i64 @FUNC(i64 %.reload)
%32 = call i64 @FUNC(i64 %sv_0.012.reload)
%33 = call i64 @FUNC(i64 %11)
%34 = add i64 %2, 24
%35 = call i64 @FUNC(i64 %34)
store i64 %35, i64* %rax.0.reg2mem
br label LBL_7
LBL_6:
%36 = add i64 %0, 8
%37 = call i64 @FUNC(i64 %36, i64 %2)
%38 = call i64 @FUNC(i64 %11)
%39 = add i64 %2, 24
%40 = call i64 @FUNC(i64 %39)
store i64 %40, i64* %rax.0.reg2mem
br label LBL_7
LBL_7:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %storemerge14.in, { 0, 2, 1 }
uselistorder i64 %.reload, { 1, 0 }
uselistorder i64 %sv_0.012.reload, { 2, 0, 1 }
uselistorder i64 %11, { 1, 2, 0, 3 }
uselistorder i64 %2, { 0, 3, 1, 2, 5, 4 }
uselistorder i64* %.reg2mem, { 1, 0, 2 }
uselistorder i64* %sv_0.012.reg2mem, { 1, 0, 2 }
uselistorder i64* %rax.0.reg2mem, { 0, 2, 1, 3 }
uselistorder i64 8, { 1, 0 }
uselistorder i1 false, { 2, 0, 1, 3 }
uselistorder i64 24, { 0, 2, 1 }
uselistorder label LBL_7, { 1, 2, 0 }
uselistorder label LBL_2, { 1, 0 }
} | 1 |
BinRealVul | hpet_reset_2131 | hpet_reset | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%indvars.iv.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
store i64 0, i64* %indvars.iv.reg2mem
br label LBL_1
LBL_1:
%indvars.iv.reload = load i64, i64* %indvars.iv.reg2mem
%1 = mul nuw nsw i64 %indvars.iv.reload, 40
%2 = add i64 %1, %0
%3 = call i64 @FUNC(i64 %2)
%4 = add i64 %2, 28
%5 = inttoptr i64 %4 to i32*
%6 = trunc i64 %indvars.iv.reload to i32
store i32 %6, i32* %5, align 4
%7 = inttoptr i64 %2 to i64*
store i64 -1, i64* %7, align 8
%8 = add i64 %2, 8
%9 = inttoptr i64 %8 to i64*
store i64 17179869187, i64* %9, align 8
%10 = add i64 %2, 32
%11 = inttoptr i64 %10 to i64*
store i64 %0, i64* %11, align 8
%12 = add i64 %2, 16
%13 = inttoptr i64 %12 to i64*
store i64 0, i64* %13, align 8
%14 = add i64 %2, 24
%15 = inttoptr i64 %14 to i32*
store i32 0, i32* %15, align 4
%indvars.iv.next = add nuw nsw i64 %indvars.iv.reload, 1
%exitcond = icmp eq i64 %indvars.iv.next, 8
store i64 %indvars.iv.next, i64* %indvars.iv.reg2mem
br i1 %exitcond, label LBL_2, label LBL_1
LBL_2:
%16 = add i64 %0, 320
%17 = inttoptr i64 %16 to i64*
store i64 0, i64* %17, align 8
%18 = add i64 %0, 328
%19 = inttoptr i64 %18 to i64*
store i64 0, i64* %19, align 8
%20 = add i64 %0, 336
%21 = inttoptr i64 %20 to i64*
store i64 429496731756306945, i64* %21, align 8
%22 = add i64 %0, 344
%23 = inttoptr i64 %22 to i64*
store i64 0, i64* %23, align 8
%24 = load i32, i32* bitcast (i64* @gv_0 to i32*), align 8
%25 = zext i32 %24 to i64
%26 = icmp slt i32 %24, 1
store i64 %25, i64* %rax.0.reg2mem
br i1 %26, label LBL_4, label LBL_3
LBL_3:
%27 = call i64 @FUNC()
store i64 %27, i64* %rax.0.reg2mem
br label LBL_4
LBL_4:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
store i32 1, i32* bitcast (i64* @gv_0 to i32*), align 8
ret i64 %rax.0.reload
uselistorder i64 %indvars.iv.reload, { 0, 2, 1 }
uselistorder i64 %0, { 1, 2, 3, 4, 5, 0 }
uselistorder i64* %indvars.iv.reg2mem, { 1, 0, 2 }
} | 0 |
BinRealVul | do_device_add_15758 | do_device_add | define i64 @FUNC(i64* %arg1, i64* %arg2) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = ptrtoint i64* %arg2 to i64
%1 = call i64 @FUNC(i64 %0, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_0, i64 0, i64 0))
%2 = call i64 @FUNC(i64* nonnull @gv_1, i64 %1, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_2, i64 0, i64 0))
%3 = icmp eq i64 %2, 0
store i64 0, i64* %rax.0.reg2mem
br i1 %3, label LBL_3, label LBL_1
LBL_1:
%4 = call i64 @FUNC(i64 %2)
%5 = trunc i64 %4 to i32
%6 = icmp eq i32 %5, 0
%7 = icmp eq i1 %6, false
store i64 %4, i64* %rax.0.reg2mem
br i1 %7, label LBL_3, label LBL_2
LBL_2:
%8 = call i64 @FUNC(i64 %2)
store i64 %8, i64* %rax.0.reg2mem
br label LBL_3
LBL_3:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
} | 1 |
BinRealVul | allocate_buffers_3297 | allocate_buffers | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%storemerge1.reg2mem = alloca i64
%.pre-phi5.reg2mem = alloca i64*
%storemerge3.reg2mem = alloca i32
%.reg2mem = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg1 to i64
%3 = trunc i64 %1 to i32
%4 = icmp ult i32 %3, 536870912
br i1 %4, label LBL_2, label LBL_0.LBL_11_crit_edge
LBL_1:
%.pre = add i64 %2, 16
%.pre4 = inttoptr i64 %.pre to i64*
store i64* %.pre4, i64** %.pre-phi5.reg2mem
br label LBL_11
LBL_2:
%5 = add i64 %2, 4
%6 = inttoptr i64 %5 to i32*
%7 = load i32, i32* %6, align 4
%8 = add i32 %7, -2
%9 = sub i32 1, %7
%10 = and i32 %9, %7
%11 = icmp slt i32 %10, 0
%12 = icmp eq i32 %8, 0
%13 = icmp slt i32 %8, 0
%14 = icmp eq i1 %13, %11
%15 = icmp eq i1 %12, false
%16 = icmp eq i1 %14, %15
%17 = icmp ne i32 %7, 0
%18 = or i1 %17, %16
store i64 0, i64* %storemerge1.reg2mem
br i1 %18, label LBL_3, label LBL_12
LBL_3:
%19 = mul i32 %3, 4
%20 = add i64 %2, 24
%21 = inttoptr i64 %20 to i64*
%22 = add i64 %2, 8
%23 = inttoptr i64 %22 to i32*
%24 = add i64 %2, 16
%25 = inttoptr i64 %24 to i64*
%26 = add i64 %2, 48
%27 = inttoptr i64 %26 to i32*
%28 = add i64 %2, 32
%29 = inttoptr i64 %28 to i64*
%30 = add i64 %2, 40
%31 = inttoptr i64 %30 to i64*
store i64 0, i64* %.reg2mem
store i32 0, i32* %storemerge3.reg2mem
br label LBL_4
LBL_4:
%.reload = load i64, i64* %.reg2mem
%32 = load i64, i64* %21, align 8
%33 = mul i64 %.reload, 8
%34 = add i64 %32, %33
%35 = call i64* @malloc(i32 %19)
%36 = ptrtoint i64* %35 to i64
%37 = inttoptr i64 %34 to i64*
store i64 %36, i64* %37, align 8
%38 = load i64, i64* %21, align 8
%39 = add i64 %38, %33
%40 = inttoptr i64 %39 to i64*
%41 = load i64, i64* %40, align 8
%42 = icmp eq i64 %41, 0
store i64* %25, i64** %.pre-phi5.reg2mem
br i1 %42, label LBL_11, label LBL_5
LBL_5:
%storemerge3.reload = load i32, i32* %storemerge3.reg2mem
%43 = load i32, i32* %23, align 4
%44 = icmp slt i32 %43, 17
br i1 %44, label LBL_8, label LBL_6
LBL_6:
%45 = load i64, i64* %25, align 8
%46 = inttoptr i64 %45 to i32*
%47 = load i32, i32* %46, align 4
%48 = zext i32 %47 to i64
%49 = call i64 @FUNC(i64 %48)
%50 = trunc i64 %49 to i32
%51 = icmp eq i32 %50, 0
br i1 %51, label LBL_8, label LBL_7
LBL_7:
store i32 1, i32* %27, align 4
br label LBL_9
LBL_8:
store i32 0, i32* %27, align 4
%52 = load i64, i64* %29, align 8
%53 = add i64 %52, %33
%54 = call i64* @malloc(i32 %19)
%55 = ptrtoint i64* %54 to i64
%56 = inttoptr i64 %53 to i64*
store i64 %55, i64* %56, align 8
%57 = load i64, i64* %29, align 8
%58 = add i64 %57, %33
%59 = inttoptr i64 %58 to i64*
%60 = load i64, i64* %59, align 8
%61 = icmp eq i64 %60, 0
store i64* %25, i64** %.pre-phi5.reg2mem
br i1 %61, label LBL_11, label LBL_9
LBL_9:
%62 = load i64, i64* %31, align 8
%63 = add i64 %62, %33
%64 = call i64* @malloc(i32 %19)
%65 = ptrtoint i64* %64 to i64
%66 = inttoptr i64 %63 to i64*
store i64 %65, i64* %66, align 8
%67 = load i64, i64* %31, align 8
%68 = add i64 %67, %33
%69 = inttoptr i64 %68 to i64*
%70 = load i64, i64* %69, align 8
%71 = icmp eq i64 %70, 0
store i64* %25, i64** %.pre-phi5.reg2mem
br i1 %71, label LBL_11, label LBL_10
LBL_10:
%72 = add i32 %storemerge3.reload, 1
%73 = load i32, i32* %6, align 4
%74 = add i32 %73, -2
%75 = sub i32 1, %73
%76 = and i32 %75, %73
%77 = icmp slt i32 %76, 0
%78 = icmp eq i32 %74, 0
%79 = icmp slt i32 %74, 0
%80 = icmp eq i1 %79, %77
%81 = icmp eq i1 %78, false
%82 = icmp eq i1 %80, %81
%83 = zext i32 %73 to i64
%84 = select i1 %82, i64 2, i64 %83
%85 = sext i32 %72 to i64
%86 = icmp sgt i64 %84, %85
store i64 %85, i64* %.reg2mem
store i32 %72, i32* %storemerge3.reg2mem
store i64 0, i64* %storemerge1.reg2mem
br i1 %86, label LBL_4, label LBL_12
LBL_11:
%.pre-phi5.reload = load i64*, i64** %.pre-phi5.reg2mem
%87 = load i64, i64* %.pre-phi5.reload, align 8
%88 = call i64 @FUNC(i64 %87)
store i64 4294967284, i64* %storemerge1.reg2mem
br label LBL_12
LBL_12:
%storemerge1.reload = load i64, i64* %storemerge1.reg2mem
ret i64 %storemerge1.reload
uselistorder i32 %74, { 1, 0 }
uselistorder i32 %73, { 2, 0, 1, 3 }
uselistorder i64 %33, { 5, 4, 3, 2, 1, 0 }
uselistorder i64* %25, { 0, 1, 3, 2 }
uselistorder i32 %19, { 1, 2, 0 }
uselistorder i32 %7, { 1, 0, 2, 3 }
uselistorder i32* %6, { 1, 0 }
uselistorder i64 %2, { 2, 3, 1, 5, 4, 7, 6, 0 }
uselistorder i64* %.reg2mem, { 1, 0, 2 }
uselistorder i32* %storemerge3.reg2mem, { 1, 0, 2 }
uselistorder i64* %storemerge1.reg2mem, { 0, 3, 1, 2 }
uselistorder i32 -2, { 1, 0 }
uselistorder i64 16, { 1, 0 }
uselistorder label LBL_12, { 2, 0, 1 }
uselistorder label LBL_9, { 1, 0 }
uselistorder label LBL_4, { 1, 0 }
} | 0 |
BinRealVul | av_opt_query_ranges_default_3860 | av_opt_query_ranges_default | define i64 @FUNC(i64* %arg1, i64 %arg2, i8* %arg3, i64 %arg4) local_unnamed_addr {
LBL_0:
%storemerge3.reg2mem = alloca i64
%storemerge.reg2mem = alloca i64
%0 = ptrtoint i8* %arg3 to i64
%1 = call i64 @FUNC(i64 16)
%2 = call i64 @FUNC(i64 8)
%3 = call i64 @FUNC(i64 20)
%4 = and i64 %arg4, 4294967295
%5 = call i64 @FUNC(i64 %arg2, i64 %0, i64 0, i64 0, i64 %4)
store i64 0, i64* %arg1, align 8
%6 = icmp eq i64 %1, 0
%7 = icmp eq i64 %3, 0
%or.cond = or i1 %6, %7
%8 = icmp eq i64 %2, 0
%or.cond6 = or i1 %8, %or.cond
%or.cond6.not = icmp ne i1 %or.cond6, true
%9 = icmp eq i64 %5, 0
%10 = icmp eq i1 %9, false
%or.cond8 = icmp eq i1 %10, %or.cond6.not
store i64 4294967284, i64* %storemerge.reg2mem
br i1 %or.cond8, label LBL_1, label LBL_10
LBL_1:
%11 = inttoptr i64 %5 to i32*
%12 = inttoptr i64 %3 to i32*
%13 = inttoptr i64 %1 to i64*
store i64 %2, i64* %13, align 8
%14 = inttoptr i64 %2 to i64*
store i64 %3, i64* %14, align 8
%15 = add i64 %1, 8
%16 = inttoptr i64 %15 to i32*
store i32 1, i32* %16, align 4
store i32 1, i32* %12, align 4
%17 = add i64 %5, 4
%18 = inttoptr i64 %17 to i32*
%19 = load i32, i32* %18, align 4
%20 = add i64 %3, 4
%21 = inttoptr i64 %20 to i32*
store i32 %19, i32* %21, align 4
%22 = add i64 %5, 8
%23 = inttoptr i64 %22 to i32*
%24 = load i32, i32* %23, align 4
%25 = add i64 %3, 8
%26 = inttoptr i64 %25 to i32*
store i32 %24, i32* %26, align 4
%27 = load i32, i32* %11, align 4
%28 = icmp eq i32 %27, 8
br i1 %28, label LBL_8, label LBL_2
LBL_2:
%29 = icmp sgt i32 %27, 8
store i64 4294967258, i64* %storemerge.reg2mem
br i1 %29, label LBL_10, label LBL_3
LBL_3:
%30 = icmp eq i32 %27, 7
br i1 %30, label LBL_7, label LBL_4
LBL_4:
%31 = icmp sgt i32 %27, 5
br i1 %31, label LBL_6, label LBL_5
LBL_5:
%32 = icmp slt i32 %27, 0
%33 = icmp eq i1 %32, false
store i64 4294967258, i64* %storemerge.reg2mem
br i1 %33, label LBL_9, label LBL_10
LBL_6:
%34 = add i64 %3, 12
%35 = inttoptr i64 %34 to i32*
store i32 0, i32* %35, align 4
%36 = add i64 %3, 16
%37 = inttoptr i64 %36 to i32*
store i32 1114111, i32* %37, align 4
store i32 -1, i32* %21, align 4
store i32 2147483647, i32* %26, align 4
br label LBL_9
LBL_7:
%38 = add i64 %3, 12
%39 = inttoptr i64 %38 to i32*
store i32 -2147483648, i32* %39, align 4
%40 = add i64 %3, 16
%41 = inttoptr i64 %40 to i32*
store i32 2147483647, i32* %41, align 4
br label LBL_9
LBL_8:
%42 = add i64 %3, 12
%43 = inttoptr i64 %42 to i32*
store i32 0, i32* %43, align 4
%44 = add i64 %3, 16
%45 = inttoptr i64 %44 to i32*
store i32 2097151, i32* %45, align 4
store i32 0, i32* %21, align 4
store i32 268435455, i32* %26, align 4
br label LBL_9
LBL_9:
store i64 %1, i64* %arg1, align 8
store i64 0, i64* %storemerge3.reg2mem
br label LBL_11
LBL_10:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
%46 = call i64 @FUNC(i64 %1)
%47 = call i64 @FUNC(i64 %3)
%48 = call i64 @FUNC(i64 %2)
store i64 %storemerge.reload, i64* %storemerge3.reg2mem
br label LBL_11
LBL_11:
%storemerge3.reload = load i64, i64* %storemerge3.reg2mem
ret i64 %storemerge3.reload
uselistorder i32* %26, { 1, 0, 2 }
uselistorder i32* %21, { 1, 0, 2 }
uselistorder i64 %5, { 1, 2, 3, 0 }
uselistorder i64 %3, { 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 11, 10 }
uselistorder i64 %2, { 1, 0, 3, 2 }
uselistorder i64 %1, { 3, 0, 1, 2, 4 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1, 3 }
uselistorder i64 (i64)* @av_free, { 2, 1, 0 }
uselistorder i64 4294967258, { 1, 0 }
uselistorder i32 8, { 1, 0 }
uselistorder i64 8, { 1, 2, 3, 0 }
uselistorder i64 (i64)* @av_mallocz, { 2, 1, 0 }
uselistorder i64 16, { 1, 2, 3, 0 }
uselistorder label LBL_10, { 2, 1, 0 }
uselistorder label LBL_9, { 1, 2, 3, 0 }
} | 0 |
BinRealVul | read_mem_2720 | read_mem | define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3, i64 %arg4) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg3 to i64
%1 = ptrtoint i64* %arg1 to i64
%2 = load i64, i64* @gv_0, align 8
store i64 %1, i64* @gv_0, align 8
%3 = add i64 %1, 16
%4 = inttoptr i64 %3 to i32*
%5 = load i32, i32* %4, align 4
%6 = add i64 %1, 8
%7 = inttoptr i64 %6 to i64*
%8 = load i64, i64* %7, align 8
%9 = call i64 @FUNC(i64 %8, i32 %5, i64 %arg2, i64 %0, i64 %arg4)
store i64 %2, i64* @gv_0, align 8
ret i64 %2
uselistorder i64 %2, { 1, 0 }
} | 0 |
BinRealVul | archive_read_extract_set_skip_file_8730 | archive_read_extract_set_skip_file | define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%1 = call i64 @FUNC(i64 %0, i64 1, i64 2, i8* getelementptr inbounds ([35 x i8], [35 x i8]* @gv_0, i64 0, i64 0))
%2 = trunc i64 %1 to i32
%3 = icmp eq i32 %2, 0
%4 = icmp eq i1 %3, false
store i64 %1, i64* %rax.0.reg2mem
br i1 %4, label LBL_2, label LBL_1
LBL_1:
%5 = bitcast i64* %arg1 to i32*
store i32 1, i32* %5, align 4
%6 = add i64 %0, 8
%7 = inttoptr i64 %6 to i64*
store i64 %arg2, i64* %7, align 8
%8 = add i64 %0, 16
%9 = inttoptr i64 %8 to i64*
store i64 %arg3, i64* %9, align 8
store i64 %0, i64* %rax.0.reg2mem
br label LBL_2
LBL_2:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder label LBL_2, { 1, 0 }
} | 0 |
BinRealVul | parse_content_length_6861 | parse_content_length | define i64 @FUNC(i64* %arg1, i64 %arg2, i64* %arg3) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%sv_0.3.reg2mem = alloca i64
%sv_0.2.reg2mem = alloca i64
%sv_0.1.lcssa.reg2mem = alloca i64
%sv_0.16.reg2mem = alloca i64
%sv_1.0.lcssa.reg2mem = alloca i32
%sv_2.0.lcssa.reg2mem = alloca i32
%sv_0.0.lcssa.reg2mem = alloca i64
%sv_0.010.reg2mem = alloca i64
%sv_2.011.reg2mem = alloca i32
%sv_1.012.reg2mem = alloca i32
%storemerge.lcssa.reg2mem = alloca i64
%storemerge19.reg2mem = alloca i64
%0 = ptrtoint i64* %arg1 to i64
%1 = icmp ult i64 %0, %arg2
%2 = icmp eq i1 %1, false
store i64 %0, i64* %storemerge19.reg2mem
store i64 %0, i64* %storemerge.lcssa.reg2mem
br i1 %2, label LBL_7, label LBL_2
LBL_1:
%3 = add i64 %storemerge19.reload, 1
%4 = icmp ult i64 %3, %arg2
%5 = icmp eq i1 %4, false
store i64 %3, i64* %storemerge19.reg2mem
store i64 %3, i64* %storemerge.lcssa.reg2mem
br i1 %5, label LBL_7, label LBL_2
LBL_2:
%storemerge19.reload = load i64, i64* %storemerge19.reg2mem
%6 = inttoptr i64 %storemerge19.reload to i8*
%7 = load i8, i8* %6, align 1
switch i8 %7, label LBL_3 [
i8 32, label LBL_1
i8 9, label LBL_1
]
LBL_3:
%8 = icmp eq i8 %7, 13
%9 = icmp eq i1 %8, false
br i1 %9, label LBL_5, label LBL_4
LBL_4:
%10 = add i64 %storemerge19.reload, 1
%11 = inttoptr i64 %10 to i8*
%12 = load i8, i8* %11, align 1
%13 = icmp eq i8 %12, 10
br i1 %13, label LBL_1, label LBL_5
LBL_5:
%14 = icmp eq i8 %7, 10
%15 = icmp eq i1 %14, false
store i64 %storemerge19.reload, i64* %storemerge.lcssa.reg2mem
br i1 %15, label LBL_7, label LBL_6
LBL_6:
%16 = add i64 %storemerge19.reload, 1
%17 = inttoptr i64 %16 to i8*
%18 = load i8, i8* %17, align 1
store i64 %storemerge19.reload, i64* %storemerge.lcssa.reg2mem
switch i8 %18, label LBL_7 [
i8 32, label LBL_1
i8 9, label LBL_1
]
LBL_7:
%storemerge.lcssa.reload = load i64, i64* %storemerge.lcssa.reg2mem
%19 = icmp eq i64 %storemerge.lcssa.reload, %arg2
store i64 %arg2, i64* %sv_0.3.reg2mem
br i1 %19, label LBL_24, label LBL_8
LBL_8:
%20 = icmp ult i64 %storemerge.lcssa.reload, %arg2
%21 = icmp eq i1 %20, false
store i32 0, i32* %sv_1.012.reg2mem
store i32 0, i32* %sv_2.011.reg2mem
store i64 %storemerge.lcssa.reload, i64* %sv_0.010.reg2mem
store i64 %storemerge.lcssa.reload, i64* %sv_0.3.reg2mem
br i1 %21, label LBL_24, label LBL_12
LBL_9:
%22 = icmp slt i32 %sv_1.012.reload, 214748364
br i1 %22, label LBL_11, label LBL_10
LBL_10:
%23 = sub i64 %arg2, %0
%24 = and i64 %23, 4294967295
%25 = sub i64 %sv_0.010.reload, %0
%26 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8
%27 = and i64 %25, 4294967295
%28 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %26, i8* getelementptr inbounds ([54 x i8], [54 x i8]* @gv_1, i64 0, i64 0), i64 %27, i64 %24, i64* %arg1)
store i64 0, i64* %rax.0.reg2mem
br label LBL_25
LBL_11:
%29 = mul i32 %sv_1.012.reload, 10
%30 = sext i8 %38 to i32
%31 = add i32 %29, -48
%32 = add i32 %31, %30
%33 = add i32 %sv_2.011.reload, 1
%34 = add i64 %sv_0.010.reload, 1
%35 = icmp ult i64 %34, %arg2
%36 = icmp eq i1 %35, false
store i32 %32, i32* %sv_1.012.reg2mem
store i32 %33, i32* %sv_2.011.reg2mem
store i64 %34, i64* %sv_0.010.reg2mem
store i64 %34, i64* %sv_0.0.lcssa.reg2mem
store i32 %33, i32* %sv_2.0.lcssa.reg2mem
store i32 %32, i32* %sv_1.0.lcssa.reg2mem
br i1 %36, label LBL_13, label LBL_12
LBL_12:
%sv_0.010.reload = load i64, i64* %sv_0.010.reg2mem
%sv_2.011.reload = load i32, i32* %sv_2.011.reg2mem
%sv_1.012.reload = load i32, i32* %sv_1.012.reg2mem
%37 = inttoptr i64 %sv_0.010.reload to i8*
%38 = load i8, i8* %37, align 1
%.off = add i8 %38, -48
%39 = icmp ult i8 %.off, 10
store i64 %sv_0.010.reload, i64* %sv_0.0.lcssa.reg2mem
store i32 %sv_2.011.reload, i32* %sv_2.0.lcssa.reg2mem
store i32 %sv_1.012.reload, i32* %sv_1.0.lcssa.reg2mem
br i1 %39, label LBL_9, label LBL_13
LBL_13:
%sv_2.0.lcssa.reload = load i32, i32* %sv_2.0.lcssa.reg2mem
%sv_0.0.lcssa.reload = load i64, i64* %sv_0.0.lcssa.reg2mem
%40 = icmp eq i64 %sv_0.0.lcssa.reload, %arg2
%41 = icmp eq i32 %sv_2.0.lcssa.reload, 0
%or.cond = or i1 %40, %41
store i64 %sv_0.0.lcssa.reload, i64* %sv_0.3.reg2mem
br i1 %or.cond, label LBL_24, label LBL_14
LBL_14:
%sv_1.0.lcssa.reload = load i32, i32* %sv_1.0.lcssa.reg2mem
%42 = icmp ult i64 %sv_0.0.lcssa.reload, %arg2
%43 = icmp eq i1 %42, false
store i64 %sv_0.0.lcssa.reload, i64* %sv_0.16.reg2mem
store i64 %sv_0.0.lcssa.reload, i64* %sv_0.1.lcssa.reg2mem
br i1 %43, label LBL_19, label LBL_16
LBL_15:
%44 = add i64 %sv_0.16.reload, 1
%45 = icmp ult i64 %44, %arg2
%46 = icmp eq i1 %45, false
store i64 %44, i64* %sv_0.16.reg2mem
store i64 %44, i64* %sv_0.1.lcssa.reg2mem
br i1 %46, label LBL_19, label LBL_16
LBL_16:
%sv_0.16.reload = load i64, i64* %sv_0.16.reg2mem
%47 = inttoptr i64 %sv_0.16.reload to i8*
%48 = load i8, i8* %47, align 1
switch i8 %48, label LBL_17 [
i8 32, label LBL_15
i8 9, label LBL_15
]
LBL_17:
%49 = icmp eq i8 %48, 10
%50 = icmp eq i1 %49, false
store i64 %sv_0.16.reload, i64* %sv_0.1.lcssa.reg2mem
br i1 %50, label LBL_19, label LBL_18
LBL_18:
%51 = add i64 %sv_0.16.reload, 1
%52 = inttoptr i64 %51 to i8*
%53 = load i8, i8* %52, align 1
store i64 %sv_0.16.reload, i64* %sv_0.1.lcssa.reg2mem
switch i8 %53, label LBL_19 [
i8 32, label LBL_15
i8 9, label LBL_15
]
LBL_19:
%sv_0.1.lcssa.reload = load i64, i64* %sv_0.1.lcssa.reg2mem
%54 = icmp eq i64 %sv_0.1.lcssa.reload, %arg2
store i64 %arg2, i64* %sv_0.3.reg2mem
br i1 %54, label LBL_24, label LBL_20
LBL_20:
%55 = add i64 %sv_0.1.lcssa.reload, 1
%56 = inttoptr i64 %sv_0.1.lcssa.reload to i8*
%57 = load i8, i8* %56, align 1
%58 = icmp eq i8 %57, 10
store i64 %55, i64* %sv_0.2.reg2mem
br i1 %58, label LBL_23, label LBL_21
LBL_21:
%59 = icmp eq i8 %57, 13
%60 = icmp eq i1 %59, false
store i64 %55, i64* %sv_0.3.reg2mem
br i1 %60, label LBL_24, label LBL_22
LBL_22:
%61 = add i64 %sv_0.1.lcssa.reload, 2
%62 = inttoptr i64 %55 to i8*
%63 = load i8, i8* %62, align 1
%64 = icmp eq i8 %63, 10
%65 = icmp eq i1 %64, false
store i64 %61, i64* %sv_0.2.reg2mem
store i64 %61, i64* %sv_0.3.reg2mem
br i1 %65, label LBL_24, label LBL_23
LBL_23:
%sv_0.2.reload = load i64, i64* %sv_0.2.reg2mem
%66 = bitcast i64* %arg3 to i32*
store i32 %sv_1.0.lcssa.reload, i32* %66, align 4
store i64 %sv_0.2.reload, i64* %rax.0.reg2mem
br label LBL_25
LBL_24:
%sv_0.3.reload = load i64, i64* %sv_0.3.reg2mem
%67 = inttoptr i64 %sv_0.3.reload to i8*
%68 = load i8, i8* %67, align 1
%69 = sext i8 %68 to i64
%70 = load %_IO_FILE*, %_IO_FILE** @gv_0, align 8
%71 = call i32 (%_IO_FILE*, i8*, ...) @fprintf(%_IO_FILE* %70, i8* getelementptr inbounds ([32 x i8], [32 x i8]* @gv_2, i64 0, i64 0), i64 %69, i8 %68)
store i64 0, i64* %rax.0.reg2mem
br label LBL_25
LBL_25:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %55, { 2, 0, 1 }
uselistorder i64 %sv_0.1.lcssa.reload, { 0, 3, 2, 1 }
uselistorder i8 %48, { 1, 0 }
uselistorder i64 %sv_0.16.reload, { 0, 3, 1, 2, 4 }
uselistorder i64 %sv_0.0.lcssa.reload, { 1, 2, 4, 0, 3 }
uselistorder i64 %sv_0.010.reload, { 0, 2, 3, 1 }
uselistorder i64 %storemerge.lcssa.reload, { 0, 1, 3, 2 }
uselistorder i8 %7, { 0, 2, 1 }
uselistorder i64 %storemerge19.reload, { 0, 2, 1, 3, 4, 5 }
uselistorder i64 %0, { 4, 3, 0, 1, 2 }
uselistorder i64* %storemerge19.reg2mem, { 0, 2, 1 }
uselistorder i32* %sv_1.012.reg2mem, { 0, 2, 1 }
uselistorder i32* %sv_2.011.reg2mem, { 0, 2, 1 }
uselistorder i64* %sv_0.010.reg2mem, { 0, 2, 1 }
uselistorder i64* %sv_0.0.lcssa.reg2mem, { 0, 2, 1 }
uselistorder i32* %sv_2.0.lcssa.reg2mem, { 0, 2, 1 }
uselistorder i32* %sv_1.0.lcssa.reg2mem, { 0, 2, 1 }
uselistorder i64* %sv_0.16.reg2mem, { 0, 2, 1 }
uselistorder i64* %sv_0.3.reg2mem, { 0, 2, 3, 4, 5, 1, 6 }
uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }
uselistorder i32 (%_IO_FILE*, i8*, ...)* @fprintf, { 1, 0 }
uselistorder %_IO_FILE** @gv_0, { 1, 0 }
uselistorder i32 0, { 2, 0, 1 }
uselistorder i8 10, { 1, 2, 3, 0, 4, 5 }
uselistorder i64 1, { 1, 2, 0, 3, 5, 6, 4 }
uselistorder i1 false, { 3, 4, 5, 6, 2, 7, 1, 8, 9, 10, 0 }
uselistorder i64 %arg2, { 0, 5, 6, 4, 7, 8, 9, 3, 1, 10, 11, 2 }
uselistorder label LBL_24, { 2, 1, 3, 4, 0, 5 }
uselistorder label LBL_19, { 2, 1, 0, 3 }
uselistorder label LBL_16, { 1, 0 }
uselistorder label LBL_13, { 1, 0 }
uselistorder label LBL_12, { 1, 0 }
uselistorder label LBL_7, { 2, 1, 0, 3 }
uselistorder label LBL_2, { 1, 0 }
uselistorder label LBL_1, { 0, 1, 4, 2, 3 }
} | 0 |
BinRealVul | BN_to_ASN1_INTEGER_6215 | BN_to_ASN1_INTEGER | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%.pre-phi4.reg2mem = alloca i64*
%.reg2mem = alloca i64
%storemerge1.reg2mem = alloca i64
%storemerge2.reg2mem = alloca i64
%0 = icmp eq i64 %arg2, 0
%1 = icmp eq i1 %0, false
store i64 %arg2, i64* %storemerge2.reg2mem
br i1 %1, label LBL_2, label LBL_1
LBL_1:
%2 = call i64 @FUNC()
store i64 %2, i64* %storemerge2.reg2mem
br label LBL_2
LBL_2:
%storemerge2.reload = load i64, i64* %storemerge2.reg2mem
%3 = icmp eq i64 %storemerge2.reload, 0
%4 = icmp eq i1 %3, false
br i1 %4, label LBL_4, label LBL_3
LBL_3:
%5 = call i64 @FUNC(i64 0, i64 1)
br label LBL_17
LBL_4:
%6 = ptrtoint i64* %arg1 to i64
%7 = call i64 @FUNC(i64 %6)
%8 = trunc i64 %7 to i32
%9 = icmp eq i32 %8, 0
br i1 %9, label LBL_7, label LBL_5
LBL_5:
%10 = call i64 @FUNC(i64 %6)
%11 = trunc i64 %10 to i32
%12 = icmp eq i32 %11, 0
%13 = icmp eq i1 %12, false
br i1 %13, label LBL_7, label LBL_6
LBL_6:
%14 = inttoptr i64 %storemerge2.reload to i32*
store i32 2, i32* %14, align 4
br label LBL_8
LBL_7:
%15 = inttoptr i64 %storemerge2.reload to i32*
store i32 2, i32* %15, align 4
br label LBL_8
LBL_8:
%16 = call i64 @FUNC(i64 %6)
%17 = trunc i64 %16 to i32
%18 = icmp eq i32 %17, 0
store i64 0, i64* %storemerge1.reg2mem
br i1 %18, label LBL_10, label LBL_9
LBL_9:
%19 = sdiv i32 %17, 128
%20 = add nsw i32 %19, 1
%21 = zext i32 %20 to i64
store i64 %21, i64* %storemerge1.reg2mem
br label LBL_10
LBL_10:
%storemerge1.reload = load i64, i64* %storemerge1.reg2mem
%22 = add nuw nsw i64 %storemerge1.reload, 3
%23 = and i64 %22, 4294967295
%24 = add i64 %storemerge2.reload, 4
%25 = inttoptr i64 %24 to i32*
%26 = load i32, i32* %25, align 4
%27 = zext i32 %26 to i64
%28 = icmp ult i64 %23, %27
br i1 %28, label LBL_10.LBL_15_crit_edge, label LBL_12
LBL_11:
%.pre = add i64 %storemerge2.reload, 8
%.pre3 = inttoptr i64 %.pre to i64*
%.pre5 = load i64, i64* %.pre3, align 8
store i64 %.pre5, i64* %.reg2mem
store i64* %.pre3, i64** %.pre-phi4.reg2mem
br label LBL_15
LBL_12:
%29 = mul i64 %storemerge1.reload, 4294967296
%sext = add i64 %29, 17179869184
%30 = ashr exact i64 %sext, 32
%31 = add i64 %storemerge2.reload, 8
%32 = inttoptr i64 %31 to i64*
%33 = load i64, i64* %32, align 8
%34 = call i64 @FUNC(i64 %33, i64 %30)
%35 = icmp eq i64 %34, 0
%36 = icmp eq i1 %35, false
br i1 %36, label LBL_14, label LBL_13
LBL_13:
%37 = call i64 @FUNC(i64 0, i64 2)
br label LBL_17
LBL_14:
store i64 %34, i64* %32, align 8
store i64 %34, i64* %.reg2mem
store i64* %32, i64** %.pre-phi4.reg2mem
br label LBL_15
LBL_15:
%.pre-phi4.reload = load i64*, i64** %.pre-phi4.reg2mem
%.reload = load i64, i64* %.reg2mem
%38 = call i64 @FUNC(i64 %6, i64 %.reload)
%39 = trunc i64 %38 to i32
store i32 %39, i32* %25, align 4
%40 = icmp eq i32 %39, 0
%41 = icmp eq i1 %40, false
store i64 %storemerge2.reload, i64* %storemerge.reg2mem
br i1 %41, label LBL_19, label LBL_16
LBL_16:
%42 = load i64, i64* %.pre-phi4.reload, align 8
%43 = inttoptr i64 %42 to i8*
store i8 0, i8* %43, align 1
store i32 1, i32* %25, align 4
store i64 %storemerge2.reload, i64* %storemerge.reg2mem
br label LBL_19
LBL_17:
%44 = icmp eq i64 %storemerge2.reload, %arg2
store i64 0, i64* %storemerge.reg2mem
br i1 %44, label LBL_19, label LBL_18
LBL_18:
%45 = call i64 @FUNC(i64 %storemerge2.reload)
store i64 0, i64* %storemerge.reg2mem
br label LBL_19
LBL_19:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64 %storemerge1.reload, { 1, 0 }
uselistorder i64 %6, { 1, 2, 0, 3 }
uselistorder i64 %storemerge2.reload, { 6, 7, 1, 0, 4, 9, 5, 3, 8, 2 }
uselistorder i64* %storemerge2.reg2mem, { 0, 2, 1 }
uselistorder i64* %storemerge1.reg2mem, { 0, 2, 1 }
uselistorder i64* %storemerge.reg2mem, { 0, 4, 3, 2, 1 }
uselistorder i64 8, { 1, 0, 2, 3 }
uselistorder i64 (i64, i64)* @ASN1err, { 1, 0 }
uselistorder i64 %arg2, { 1, 0, 2 }
uselistorder label LBL_19, { 3, 2, 1, 0 }
uselistorder label LBL_15, { 1, 0 }
uselistorder label LBL_10, { 1, 0 }
uselistorder label LBL_2, { 1, 0 }
} | 0 |
BinRealVul | qmp_query_named_block_nodes_300 | qmp_query_named_block_nodes | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%0 = ptrtoint i64* %arg1 to i64
%1 = call i64 @FUNC(i64 %0)
ret i64 %1
} | 0 |
BinRealVul | crypto_init_skcipher_ops_ablkcipher_9575 | crypto_init_skcipher_ops_ablkcipher | define i64 @FUNC(i64* %arg1) local_unnamed_addr {
LBL_0:
%rax.0.reg2mem = alloca i64
%rdi = alloca i64, align 8
%0 = ptrtoint i64* %arg1 to i64
%1 = call i64 @FUNC(i64 %0)
%2 = call i64 @FUNC(i64 %0)
%3 = call i64 @FUNC(i64 %0)
%4 = trunc i64 %3 to i32
%5 = icmp eq i32 %4, 0
%6 = icmp eq i1 %5, false
store i64 4294967285, i64* %rax.0.reg2mem
br i1 %6, label LBL_1, label LBL_4
LBL_1:
%7 = call i64 @FUNC(i64 %0, i64 0, i64 0)
%8 = icmp ult i64 %7, -1000
br i1 %8, label LBL_3, label LBL_2
LBL_2:
%9 = call i64 @FUNC(i64 %0)
store i64 %7, i64* %rax.0.reg2mem
br label LBL_4
LBL_3:
%10 = inttoptr i64 %1 to i32*
%11 = call i64 @FUNC(i64 %7)
%12 = inttoptr i64 %2 to i64*
store i64 %11, i64* %12, align 8
%13 = add i64 %0, 8
%14 = inttoptr i64 %13 to i64*
store i64 4198936, i64* %14, align 8
%15 = add i64 %1, 16
%16 = inttoptr i64 %15 to i64*
store i64 4198838, i64* %16, align 8
%17 = add i64 %1, 24
%18 = inttoptr i64 %17 to i64*
store i64 4198860, i64* %18, align 8
%19 = add i64 %1, 32
%20 = inttoptr i64 %19 to i64*
store i64 4198883, i64* %20, align 8
%21 = call i64 @FUNC(i64 %11)
%22 = trunc i64 %21 to i32
store i32 %22, i32* %10, align 4
%23 = call i64 @FUNC(i64 %11)
%24 = trunc i64 %23 to i32
%25 = add i64 %1, 4
%26 = inttoptr i64 %25 to i32*
store i32 %24, i32* %26, align 4
%27 = bitcast i64* %rdi to i32*
%28 = load i32, i32* %27, align 8
%29 = add i64 %1, 8
%30 = inttoptr i64 %29 to i32*
store i32 %28, i32* %30, align 4
store i64 0, i64* %rax.0.reg2mem
br label LBL_4
LBL_4:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i64 %7, { 1, 0, 2 }
uselistorder i64 %0, { 1, 0, 2, 3, 4, 5 }
uselistorder i64* %rax.0.reg2mem, { 0, 3, 2, 1 }
uselistorder i64 16, { 1, 0 }
uselistorder i32 0, { 1, 0 }
uselistorder label LBL_4, { 1, 2, 0 }
} | 0 |
BinRealVul | ti_do_config_9224 | ti_do_config | define i64 @FUNC(i64* %arg1, i64 %arg2, i64 %arg3) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg1 to i64
%3 = trunc i64 %arg2 to i32
%4 = trunc i64 %arg3 to i32
%5 = icmp eq i32 %4, 0
%6 = icmp eq i1 %5, false
%7 = zext i1 %6 to i64
%8 = add i64 %1, 1
%9 = urem i64 %8, 256
%10 = add i64 %2, 8
%11 = inttoptr i64 %10 to i64*
%12 = load i64, i64* %11, align 8
%13 = inttoptr i64 %12 to i32*
%14 = load i32, i32* %13, align 4
%15 = zext i32 %14 to i64
%16 = call i64 @FUNC(i64 %15, i32 %3, i64 %9, i64 %7, i64 0, i64 0)
ret i64 %16
} | 0 |
BinRealVul | try_poll_mode_16900 | try_poll_mode | define i64 @FUNC(i64* %arg1, i64 %arg2) local_unnamed_addr {
LBL_0:
%storemerge.reg2mem = alloca i64
%storemerge1.reg2mem = alloca i64
%0 = trunc i64 %arg2 to i8
%1 = icmp eq i8 %0, 0
%2 = icmp eq i64* %arg1, null
%or.cond = or i1 %2, %1
br i1 %or.cond, label LBL_6, label LBL_1
LBL_1:
%3 = ptrtoint i64* %arg1 to i64
%4 = add i64 %3, 8
%5 = inttoptr i64 %4 to i32*
%6 = load i32, i32* %5, align 4
%7 = icmp eq i32 %6, 0
%8 = icmp eq i1 %7, false
br i1 %8, label LBL_6, label LBL_2
LBL_2:
%9 = call i64 @FUNC(i64 %3)
%10 = icmp ult i64 %9, %3
%11 = icmp eq i1 %10, false
store i64 %3, i64* %storemerge1.reg2mem
br i1 %11, label LBL_4, label LBL_3
LBL_3:
%12 = call i64 @FUNC(i64 %3)
store i64 %12, i64* %storemerge1.reg2mem
br label LBL_4
LBL_4:
%storemerge1.reload = load i64, i64* %storemerge1.reg2mem
%13 = icmp eq i64 %storemerge1.reload, 0
br i1 %13, label LBL_6, label LBL_5
LBL_5:
%14 = call i64 @FUNC(i64 %3, i64 %storemerge1.reload)
%15 = trunc i64 %14 to i8
%16 = icmp eq i8 %15, 0
store i64 1, i64* %storemerge.reg2mem
br i1 %16, label LBL_6, label LBL_7
LBL_6:
store i64 0, i64* %storemerge.reg2mem
br label LBL_7
LBL_7:
%storemerge.reload = load i64, i64* %storemerge.reg2mem
ret i64 %storemerge.reload
uselistorder i64 %storemerge1.reload, { 1, 0 }
uselistorder i64 %3, { 2, 1, 0, 4, 3, 5 }
uselistorder i64* %storemerge1.reg2mem, { 0, 2, 1 }
uselistorder i64* %storemerge.reg2mem, { 0, 2, 1 }
uselistorder i64 (i64)* @aio_compute_timeout, { 1, 0 }
uselistorder i64* %arg1, { 1, 0 }
uselistorder label LBL_7, { 1, 0 }
uselistorder label LBL_4, { 1, 0 }
} | 1 |
BinRealVul | f_libxml_disable_entity_loader_6096 | f_libxml_disable_entity_loader | define i64 @FUNC(i64 %arg1) local_unnamed_addr {
LBL_0:
%0 = trunc i64 %arg1 to i8
%1 = load i8*, i8** @gv_0, align 8
%2 = load i8, i8* %1, align 1
store i8 %0, i8* %1, align 1
%3 = zext i8 %2 to i64
ret i64 %3
} | 0 |
BinRealVul | set_buildid_dir_10040 | set_buildid_dir | define i64 @FUNC() local_unnamed_addr {
LBL_0:
store i8 0, i8* bitcast (i8** @gv_0 to i8*), align 8
%0 = call i64 @FUNC()
%1 = load i8, i8* bitcast (i8** @gv_0 to i8*), align 8
%2 = icmp eq i8 %1, 0
%3 = icmp eq i1 %2, false
br i1 %3, label LBL_5, label LBL_1
LBL_1:
%4 = call i8* @getenv(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @gv_1, i64 0, i64 0))
%5 = icmp eq i8* %4, null
br i1 %5, label LBL_3, label LBL_2
LBL_2:
%6 = call i32 (i8*, i32, i8*, ...) @snprintf(i8* bitcast (i8** @gv_0 to i8*), i32 4095, i8* getelementptr inbounds ([6 x i8], [6 x i8]* @gv_2, i64 0, i64 0), i8* nonnull %4, i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_3, i64 0, i64 0))
br label LBL_4
LBL_3:
%7 = call i8* @strncpy(i8* bitcast (i8** @gv_0 to i8*), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @gv_3, i64 0, i64 0), i32 4095)
br label LBL_4
LBL_4:
store i8 0, i8* inttoptr (i64 4214911 to i8*), align 1
br label LBL_5
LBL_5:
%8 = call i32 @setenv(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @gv_4, i64 0, i64 0), i8* bitcast (i8** @gv_0 to i8*), i32 1)
%9 = sext i32 %8 to i64
ret i64 %9
uselistorder i32 1, { 1, 0 }
uselistorder i8 0, { 1, 2, 3, 0 }
} | 0 |
BinRealVul | reduce_matrix_7460 | reduce_matrix | define i64 @FUNC(i32* %arg1, i64* %arg2, i32 %arg3) local_unnamed_addr {
LBL_0:
%0 = alloca i64
%rax.0.reg2mem = alloca i64
%xmm1.3037.reg2mem = alloca i128
%storemerge38.reg2mem = alloca i32
%.reg2mem187 = alloca i64
%.reg2mem185 = alloca i32
%.reg2mem183 = alloca i32
%xmm1.2914.reg2mem = alloca i128
%.reg2mem181 = alloca i32
%xmm1.28.lcssa.reg2mem = alloca i128
%xmm1.27.reg2mem = alloca i128
%.reg2mem179 = alloca i32
%xmm1.2833.reg2mem = alloca i128
%storemerge234.reg2mem = alloca i32
%.reg2mem177 = alloca i32
%xmm1.25.reg2mem = alloca i128
%sv_0.0.reg2mem = alloca i32
%.reg2mem175 = alloca i32
%xmm1.25.ph.reg2mem = alloca i128
%sv_0.0.ph.reg2mem = alloca i32
%xmm1.23.reg2mem = alloca i128
%xmm1.2422.reg2mem = alloca i128
%storemerge323.reg2mem = alloca i32
%xmm1.20.lcssa.reg2mem = alloca i128
%.reg2mem173 = alloca i32
%sv_1.045.reg2mem = alloca i32
%xmm1.2049.reg2mem = alloca i128
%.reg2mem171 = alloca i64
%.reg2mem169 = alloca i32
%.reg2mem167 = alloca i32
%xmm1.1913.reg2mem = alloca i128
%.reg2mem165 = alloca i32
%xmm1.18.lcssa.reg2mem = alloca i128
%xmm1.1842.reg2mem = alloca i128
%storemerge443.reg2mem = alloca i32
%storemerge5.lcssa.reg2mem = alloca i32
%xmm1.16.lcssa.reg2mem = alloca i128
%.reg2mem163 = alloca i32
%.reg2mem161 = alloca i32
%xmm1.1666.reg2mem = alloca i128
%storemerge567.reg2mem = alloca i32
%.reg2mem159 = alloca i64
%.reg2mem157 = alloca i32
%.reg2mem155 = alloca i32
%xmm1.1512.reg2mem = alloca i128
%.reg2mem153 = alloca i32
%xmm1.14.lcssa124.reg2mem = alloca i128
%xmm1.13.reg2mem = alloca i128
%sv_2.0.reg2mem = alloca i32
%.reg2mem151 = alloca i32
%xmm1.11.reg2mem = alloca i128
%xmm1.1251.reg2mem = alloca i128
%storemerge752.reg2mem = alloca i32
%.reg2mem149 = alloca i32
%sv_2.160.reg2mem = alloca i32
%xmm1.1461.reg2mem = alloca i128
%storemerge662.reg2mem = alloca i32
%.reg2mem147 = alloca i32
%xmm1.6.lcssa.reg2mem = alloca i128
%.reg2mem145 = alloca i32
%.pre-phi119.reg2mem = alloca i32*
%xmm1.688.reg2mem = alloca i128
%storemerge889.reg2mem = alloca i32
%.reg2mem143 = alloca i64
%.reg2mem = alloca i32
%xmm1.511.reg2mem = alloca i128
%xmm1.5.reg2mem = alloca i128
%xmm1.485.reg2mem = alloca i128
%storemerge986.reg2mem = alloca i32
%xmm1.2.reg2mem = alloca i128
%sv_3.0.reg2mem = alloca i32
%.pre-phi142.reg2mem = alloca i64
%xmm1.174.reg2mem = alloca i128
%storemerge1075.reg2mem = alloca i32
%rdi = alloca i64, align 8
%1 = load i64, i64* %0
%2 = ptrtoint i64* %arg2 to i64
%3 = ptrtoint i32* %arg1 to i64
%4 = add i64 %3, 16
%5 = inttoptr i64 %4 to i64*
%6 = call i64* @memset(i64* %5, i32 0, i32 64)
%7 = add i64 %3, 80
%8 = inttoptr i64 %7 to i64*
%9 = call i64* @memset(i64* %8, i32 0, i32 64)
%10 = add i64 %3, 144
%11 = inttoptr i64 %10 to i64*
%12 = call i64* @memset(i64* %11, i32 0, i32 64)
%13 = add i64 %3, 4
%14 = inttoptr i64 %13 to i32*
%15 = load i32, i32* %14, align 4
%16 = icmp eq i32 %15, 0
br i1 %16, label LBL_0.LBL_17_crit_edge, label LBL_2
LBL_1:
%.pre117 = add i64 %3, 12
%.pre118 = inttoptr i64 %.pre117 to i32*
store i32* %.pre118, i32** %.pre-phi119.reg2mem
store i32 0, i32* %.reg2mem145
br label LBL_17
LBL_2:
%17 = trunc i64 %1 to i32
%18 = bitcast i64* %rdi to i32*
%19 = add i64 %3, 12
%20 = inttoptr i64 %19 to i32*
store i32 %17, i32* %.reg2mem
store i64 0, i64* %.reg2mem143
store i32 0, i32* %storemerge889.reg2mem
br label LBL_5.preheader
LBL_3:
%xmm1.174.reload = load i128, i128* %xmm1.174.reg2mem
%storemerge1075.reload = load i32, i32* %storemerge1075.reg2mem
%21 = add i32 %storemerge1075.reload, %73
%22 = sext i32 %21 to i64
%23 = mul i64 %22, 8
%24 = add i64 %23, %2
%25 = trunc i64 %24 to i8
%26 = call i8 @llvm.ctpop.i8(i8 %25), !range !11
%27 = urem i8 %26, 2
%28 = icmp eq i8 %27, 0
%29 = inttoptr i64 %24 to i64*
%30 = load i64, i64* %29, align 8
%31 = call i128 @FUNC(i64 %30)
%32 = call i128 @FUNC(i128 %xmm1.174.reload, i128 %xmm1.174.reload)
call void @FUNC(i128 %31, i128 %32)
store i64 %74, i64* %.pre-phi142.reg2mem
store i32 0, i32* %sv_3.0.reg2mem
store i128 %32, i128* %xmm1.2.reg2mem
br i1 %28, label LBL_6, label LBL_4
LBL_4:
%33 = icmp eq i64 %24, 0
%34 = call i128 @FUNC(i128 %32, i128 %32)
call void @FUNC(i128 %31, i128 %34)
store i64 %74, i64* %.pre-phi142.reg2mem
store i32 0, i32* %sv_3.0.reg2mem
store i128 %34, i128* %xmm1.2.reg2mem
br i1 %33, label LBL_5, label LBL_6
LBL_5:
%35 = add i32 %storemerge1075.reload, 1
%36 = sext i32 %35 to i64
%37 = icmp slt i64 %36, %74
store i32 %35, i32* %storemerge1075.reg2mem
store i128 %34, i128* %xmm1.174.reg2mem
store i64 %74, i64* %.pre-phi142.reg2mem
store i32 1, i32* %sv_3.0.reg2mem
store i128 %34, i128* %xmm1.2.reg2mem
br i1 %37, label LBL_3, label LBL_6
LBL_6:
%xmm1.2.reload = load i128, i128* %xmm1.2.reg2mem
%sv_3.0.reload = load i32, i32* %sv_3.0.reg2mem
%.pre-phi142.reload = load i64, i64* %.pre-phi142.reg2mem
%38 = icmp slt i64 %.reload144, %.pre-phi142.reload
store i128 %xmm1.2.reload, i128* %xmm1.5.reg2mem
br i1 %38, label LBL_7, label LBL_11
LBL_7:
%39 = load i32, i32* %14, align 4
%40 = icmp eq i32 %39, 0
store i32 0, i32* %storemerge986.reg2mem
store i128 %xmm1.2.reload, i128* %xmm1.485.reg2mem
store i128 %xmm1.2.reload, i128* %xmm1.5.reg2mem
br i1 %40, label LBL_11, label LBL_8
LBL_8:
%xmm1.485.reload = load i128, i128* %xmm1.485.reg2mem
%storemerge986.reload = load i32, i32* %storemerge986.reg2mem
%41 = mul i32 %storemerge986.reload, %arg3
%42 = add i32 %41, %storemerge889.reload
%43 = sext i32 %42 to i64
%44 = mul i64 %43, 8
%45 = add i64 %44, %2
%46 = trunc i64 %45 to i8
%47 = call i8 @llvm.ctpop.i8(i8 %46), !range !11
%48 = urem i8 %47, 2
%49 = icmp eq i8 %48, 0
%50 = inttoptr i64 %45 to i64*
%51 = load i64, i64* %50, align 8
%52 = call i128 @FUNC(i64 %51)
%53 = call i128 @FUNC(i128 %xmm1.485.reload, i128 %xmm1.485.reload)
call void @FUNC(i128 %52, i128 %53)
store i128 %53, i128* %xmm1.511.reg2mem
br i1 %49, label LBL_13, label LBL_9
LBL_9:
%54 = icmp eq i64 %45, 0
%55 = call i128 @FUNC(i128 %53, i128 %53)
call void @FUNC(i128 %52, i128 %55)
store i128 %55, i128* %xmm1.511.reg2mem
br i1 %54, label LBL_10, label LBL_13
LBL_10:
%56 = add i32 %storemerge986.reload, 1
%57 = load i32, i32* %14, align 4
%58 = zext i32 %57 to i64
%59 = sext i32 %56 to i64
%60 = icmp slt i64 %59, %58
store i32 %56, i32* %storemerge986.reg2mem
store i128 %55, i128* %xmm1.485.reg2mem
store i128 %55, i128* %xmm1.5.reg2mem
br i1 %60, label LBL_8, label LBL_11
LBL_11:
%xmm1.5.reload = load i128, i128* %xmm1.5.reg2mem
%61 = icmp eq i32 %sv_3.0.reload, 0
store i128 %xmm1.5.reload, i128* %xmm1.511.reg2mem
br i1 %61, label LBL_13, label LBL_12
LBL_12:
%62 = mul i64 %.reload144, 4
%63 = add i64 %62, %4
%64 = inttoptr i64 %63 to i32*
store i32 1, i32* %64, align 4
%65 = load i32, i32* %20, align 4
%66 = add i32 %65, -1
store i32 %66, i32* %20, align 4
store i128 %xmm1.5.reload, i128* %xmm1.511.reg2mem
br label LBL_13
LBL_13:
%xmm1.511.reload = load i128, i128* %xmm1.511.reg2mem
%67 = add i32 %storemerge889.reload, 1
%68 = load i32, i32* %14, align 4
%69 = zext i32 %68 to i64
%70 = sext i32 %67 to i64
%71 = icmp slt i64 %70, %69
store i32* %20, i32** %.pre-phi119.reg2mem
store i32 %68, i32* %.reg2mem145
store i128 %xmm1.511.reload, i128* %xmm1.6.lcssa.reg2mem
br i1 %71, label LBL_13.LBL_5.preheader_crit_edge, label LBL_17
LBL_14:
%.pre = load i32, i32* %18, align 8
store i32 %.pre, i32* %.reg2mem
store i64 %70, i64* %.reg2mem143
store i32 %67, i32* %storemerge889.reg2mem
store i128 %xmm1.511.reload, i128* %xmm1.688.reg2mem
br label LBL_5.preheader
LBL_15:
%xmm1.688.reload = load i128, i128* %xmm1.688.reg2mem
%storemerge889.reload = load i32, i32* %storemerge889.reg2mem
%.reload144 = load i64, i64* %.reg2mem143
%.reload = load i32, i32* %.reg2mem
%72 = icmp eq i32 %.reload, 0
store i64 0, i64* %.pre-phi142.reg2mem
store i32 1, i32* %sv_3.0.reg2mem
store i128 %xmm1.688.reload, i128* %xmm1.2.reg2mem
br i1 %72, label LBL_6, label LBL_3.preheader
LBL_16:
%73 = mul i32 %storemerge889.reload, %arg3
%74 = zext i32 %.reload to i64
store i32 0, i32* %storemerge1075.reg2mem
store i128 %xmm1.688.reload, i128* %xmm1.174.reg2mem
br label LBL_3
LBL_17:
%.pre-phi119.reload = load i32*, i32** %.pre-phi119.reg2mem
%75 = load i32, i32* %.pre-phi119.reload, align 4
%76 = icmp eq i32 %75, 0
%77 = icmp eq i1 %76, false
br i1 %77, label LBL_18, label LBL_19
LBL_18:
%xmm1.6.lcssa.reload = load i128, i128* %xmm1.6.lcssa.reg2mem
%.reload146 = load i32, i32* %.reg2mem145
%78 = bitcast i64* %rdi to i32*
%79 = load i32, i32* %78, align 8
%80 = sub i32 %.reload146, %79
%81 = xor i32 %79, %.reload146
%82 = xor i32 %80, %.reload146
%83 = and i32 %82, %81
%84 = icmp slt i32 %83, 0
%85 = icmp eq i32 %80, 0
%86 = icmp slt i32 %80, 0
%87 = icmp ne i1 %86, %84
%88 = or i1 %85, %87
%89 = select i1 %88, i32 %.reload146, i32 %79
%90 = icmp eq i32 %89, 0
%.pre138 = add i64 %3, 8
%.pre139 = inttoptr i64 %.pre138 to i32*
store i32 %79, i32* %.reg2mem155
store i32 %.reload146, i32* %.reg2mem157
store i64 0, i64* %.reg2mem159
store i32 0, i32* %storemerge567.reg2mem
store i128 %xmm1.6.lcssa.reload, i128* %xmm1.1666.reg2mem
store i32 %.reload146, i32* %.reg2mem161
store i32 %79, i32* %.reg2mem163
store i128 %xmm1.6.lcssa.reload, i128* %xmm1.16.lcssa.reg2mem
store i32 0, i32* %storemerge5.lcssa.reg2mem
br i1 %90, label LBL_36, label LBL_34
LBL_19:
%91 = add i64 %3, 8
%92 = inttoptr i64 %91 to i32*
store i32 0, i32* %92, align 4
store i64 %3, i64* %rax.0.reg2mem
br label LBL_67
LBL_20:
%sv_2.160.reload = load i32, i32* %sv_2.160.reg2mem
%storemerge662.reload = load i32, i32* %storemerge662.reg2mem
%.reload148 = load i32, i32* %.reg2mem147
%93 = icmp eq i32 %storemerge662.reload, %storemerge567.reload
%94 = mul i32 %storemerge662.reload, %arg3
%95 = add i32 %94, %storemerge567.reload
%96 = sext i32 %95 to i64
%97 = mul i64 %96, 8
%98 = add i64 %97, %2
%99 = trunc i64 %98 to i8
%100 = call i8 @llvm.ctpop.i8(i8 %99), !range !11
%101 = urem i8 %100, 2
%102 = icmp eq i8 %101, 0
%103 = inttoptr i64 %98 to i64*
%104 = load i64, i64* %103, align 8
%105 = call i128 @FUNC(i64 %104)
br i1 %93, label LBL_23, label LBL_21
LBL_21:
%xmm1.1461.reload = load i128, i128* %xmm1.1461.reg2mem
%106 = call i128 @FUNC(i128 %xmm1.1461.reload, i128 %xmm1.1461.reload)
call void @FUNC(i128 %105, i128 %106)
store i32 %.reload156, i32* %.reg2mem153
store i128 %106, i128* %xmm1.1512.reg2mem
br i1 %102, label LBL_33, label LBL_22
LBL_22:
%107 = icmp eq i64 %98, 0
%108 = call i128 @FUNC(i128 %106, i128 %106)
call void @FUNC(i128 %105, i128 %108)
%109 = icmp eq i1 %107, false
store i32 %.reload148, i32* %.reg2mem151
store i32 %sv_2.160.reload, i32* %sv_2.0.reg2mem
store i128 %108, i128* %xmm1.13.reg2mem
store i32 %.reload156, i32* %.reg2mem153
store i128 %108, i128* %xmm1.1512.reg2mem
br i1 %109, label LBL_33, label LBL_30
LBL_23:
%110 = call i128 @FUNC(i64 4607182418800017408)
call void @FUNC(i128 %105, i128 %110)
store i32 %.reload156, i32* %.reg2mem153
store i128 %110, i128* %xmm1.1512.reg2mem
br i1 %102, label LBL_33, label LBL_24
LBL_24:
%111 = icmp eq i64 %98, 0
%112 = call i128 @FUNC(i64 4607182418800017408)
call void @FUNC(i128 %105, i128 %112)
store i32 %.reload156, i32* %.reg2mem153
store i128 %112, i128* %xmm1.1512.reg2mem
br i1 %111, label LBL_25, label LBL_33
LBL_25:
%113 = icmp eq i32 %.reload148, 0
store i32 %.reload148, i32* %.reg2mem149
store i32 0, i32* %storemerge752.reg2mem
store i128 %112, i128* %xmm1.1251.reg2mem
store i32 0, i32* %.reg2mem151
store i32 %sv_2.160.reload, i32* %sv_2.0.reg2mem
store i128 %112, i128* %xmm1.13.reg2mem
br i1 %113, label LBL_30, label LBL_26
LBL_26:
%xmm1.1251.reload = load i128, i128* %xmm1.1251.reg2mem
%storemerge752.reload = load i32, i32* %storemerge752.reg2mem
%114 = icmp eq i32 %storemerge752.reload, %storemerge567.reload
store i128 %xmm1.1251.reload, i128* %xmm1.11.reg2mem
br i1 %114, label LBL_29, label LBL_27
LBL_27:
%.reload150 = load i32, i32* %.reg2mem149
%115 = add i32 %storemerge752.reload, %159
%116 = sext i32 %115 to i64
%117 = mul i64 %116, 8
%118 = add i64 %117, %2
%119 = trunc i64 %118 to i8
%120 = call i8 @llvm.ctpop.i8(i8 %119), !range !11
%121 = urem i8 %120, 2
%122 = icmp eq i8 %121, 0
%123 = inttoptr i64 %118 to i64*
%124 = load i64, i64* %123, align 8
%125 = call i128 @FUNC(i64 %124)
%126 = call i128 @FUNC(i128 %xmm1.1251.reload, i128 %xmm1.1251.reload)
call void @FUNC(i128 %125, i128 %126)
store i32 %.reload150, i32* %.reg2mem151
store i32 0, i32* %sv_2.0.reg2mem
store i128 %126, i128* %xmm1.13.reg2mem
br i1 %122, label LBL_30, label LBL_28
LBL_28:
%127 = icmp eq i64 %118, 0
%128 = call i128 @FUNC(i128 %126, i128 %126)
call void @FUNC(i128 %125, i128 %128)
store i128 %128, i128* %xmm1.11.reg2mem
store i32 %.reload150, i32* %.reg2mem151
store i32 0, i32* %sv_2.0.reg2mem
store i128 %128, i128* %xmm1.13.reg2mem
br i1 %127, label LBL_29, label LBL_30
LBL_29:
%xmm1.11.reload = load i128, i128* %xmm1.11.reg2mem
%129 = add i32 %storemerge752.reload, 1
%130 = sext i32 %129 to i64
%131 = icmp slt i64 %130, %160
store i32 %.reload156, i32* %.reg2mem149
store i32 %129, i32* %storemerge752.reg2mem
store i128 %xmm1.11.reload, i128* %xmm1.1251.reg2mem
store i32 %.reload156, i32* %.reg2mem151
store i32 %sv_2.160.reload, i32* %sv_2.0.reg2mem
store i128 %xmm1.11.reload, i128* %xmm1.13.reg2mem
br i1 %131, label LBL_26, label LBL_30
LBL_30:
%xmm1.13.reload = load i128, i128* %xmm1.13.reg2mem
%sv_2.0.reload = load i32, i32* %sv_2.0.reg2mem
%.reload152 = load i32, i32* %.reg2mem151
%132 = add i32 %storemerge662.reload, 1
%133 = load i32, i32* %14, align 4
%134 = zext i32 %133 to i64
%135 = sext i32 %132 to i64
%136 = icmp slt i64 %135, %134
store i32 %.reload152, i32* %.reg2mem147
store i32 %132, i32* %storemerge662.reg2mem
store i128 %xmm1.13.reload, i128* %xmm1.1461.reg2mem
store i32 %sv_2.0.reload, i32* %sv_2.160.reg2mem
br i1 %136, label LBL_20, label LBL_31
LBL_31:
%137 = icmp eq i32 %sv_2.0.reload, 0
store i128 %xmm1.13.reload, i128* %xmm1.14.lcssa124.reg2mem
store i32 %.reload156, i32* %.reg2mem153
store i128 %xmm1.13.reload, i128* %xmm1.1512.reg2mem
br i1 %137, label LBL_33, label LBL_32
LBL_32:
%xmm1.14.lcssa124.reload = load i128, i128* %xmm1.14.lcssa124.reg2mem
%138 = mul i64 %.reload160, 4
%139 = add i64 %138, %7
%140 = inttoptr i64 %139 to i32*
store i32 1, i32* %140, align 4
%141 = load i32, i32* %.pre139, align 4
%142 = add i32 %141, -1
store i32 %142, i32* %.pre139, align 4
%.pre112 = load i32, i32* %78, align 8
store i32 %.pre112, i32* %.reg2mem153
store i128 %xmm1.14.lcssa124.reload, i128* %xmm1.1512.reg2mem
br label LBL_33
LBL_33:
%xmm1.1512.reload = load i128, i128* %xmm1.1512.reg2mem
%.reload154 = load i32, i32* %.reg2mem153
%143 = add i32 %storemerge567.reload, 1
%144 = load i32, i32* %14, align 4
%145 = sub i32 %144, %.reload154
%146 = xor i32 %144, %.reload154
%147 = xor i32 %145, %144
%148 = and i32 %147, %146
%149 = icmp slt i32 %148, 0
%150 = icmp eq i32 %145, 0
%151 = icmp slt i32 %145, 0
%152 = icmp ne i1 %151, %149
%153 = or i1 %150, %152
%154 = select i1 %153, i32 %144, i32 %.reload154
%155 = zext i32 %154 to i64
%156 = sext i32 %143 to i64
%157 = icmp slt i64 %156, %155
store i32 %.reload154, i32* %.reg2mem155
store i32 %144, i32* %.reg2mem157
store i64 %156, i64* %.reg2mem159
store i32 %143, i32* %storemerge567.reg2mem
store i128 %xmm1.1512.reload, i128* %xmm1.1666.reg2mem
store i32 %144, i32* %.reg2mem161
store i32 %.reload154, i32* %.reg2mem163
store i128 %xmm1.1512.reload, i128* %xmm1.16.lcssa.reg2mem
store i32 %143, i32* %storemerge5.lcssa.reg2mem
br i1 %157, label LBL_34, label LBL_36
LBL_34:
%xmm1.1666.reload = load i128, i128* %xmm1.1666.reg2mem
%storemerge567.reload = load i32, i32* %storemerge567.reg2mem
%.reload160 = load i64, i64* %.reg2mem159
%.reload158 = load i32, i32* %.reg2mem157
%158 = icmp eq i32 %.reload158, 0
store i128 %xmm1.1666.reload, i128* %xmm1.14.lcssa124.reg2mem
br i1 %158, label LBL_32, label LBL_20.preheader
LBL_35:
%.reload156 = load i32, i32* %.reg2mem155
%159 = mul i32 %storemerge567.reload, %arg3
%160 = zext i32 %.reload156 to i64
store i32 %.reload156, i32* %.reg2mem147
store i32 0, i32* %storemerge662.reg2mem
store i128 %xmm1.1666.reload, i128* %xmm1.1461.reg2mem
store i32 1, i32* %sv_2.160.reg2mem
br label LBL_20
LBL_36:
%storemerge5.lcssa.reload = load i32, i32* %storemerge5.lcssa.reg2mem
%xmm1.16.lcssa.reload = load i128, i128* %xmm1.16.lcssa.reg2mem
%.reload164 = load i32, i32* %.reg2mem163
%.reload162 = load i32, i32* %.reg2mem161
%161 = zext i32 %.reload164 to i64
%162 = sext i32 %storemerge5.lcssa.reload to i64
%163 = icmp slt i64 %162, %161
store i32 %.reload164, i32* %.reg2mem167
store i32 %.reload162, i32* %.reg2mem169
store i64 %162, i64* %.reg2mem171
store i128 %xmm1.16.lcssa.reload, i128* %xmm1.2049.reg2mem
store i32 %storemerge5.lcssa.reload, i32* %sv_1.045.reg2mem
store i32 %.reload164, i32* %.reg2mem173
store i128 %xmm1.16.lcssa.reload, i128* %xmm1.20.lcssa.reg2mem
br i1 %163, label LBL_39.preheader, label LBL_44
LBL_37:
%xmm1.1842.reload = load i128, i128* %xmm1.1842.reg2mem
%storemerge443.reload = load i32, i32* %storemerge443.reg2mem
%164 = mul i32 %storemerge443.reload, %arg3
%165 = add i32 %164, %sv_1.045.reload
%166 = sext i32 %165 to i64
%167 = mul i64 %166, 8
%168 = add i64 %167, %2
%169 = trunc i64 %168 to i8
%170 = call i8 @llvm.ctpop.i8(i8 %169), !range !11
%171 = urem i8 %170, 2
%172 = icmp eq i8 %171, 0
%173 = inttoptr i64 %168 to i64*
%174 = load i64, i64* %173, align 8
%175 = call i128 @FUNC(i64 %174)
%176 = call i128 @FUNC(i128 %xmm1.1842.reload, i128 %xmm1.1842.reload)
call void @FUNC(i128 %175, i128 %176)
store i32 %.reload168, i32* %.reg2mem165
store i128 %176, i128* %xmm1.1913.reg2mem
br i1 %172, label LBL_41, label LBL_38
LBL_38:
%177 = icmp eq i64 %168, 0
%178 = call i128 @FUNC(i128 %176, i128 %176)
call void @FUNC(i128 %175, i128 %178)
store i32 %.reload168, i32* %.reg2mem165
store i128 %178, i128* %xmm1.1913.reg2mem
br i1 %177, label LBL_39, label LBL_41
LBL_39:
%179 = add i32 %storemerge443.reload, 1
%180 = load i32, i32* %14, align 4
%181 = zext i32 %180 to i64
%182 = sext i32 %179 to i64
%183 = icmp slt i64 %182, %181
store i32 %179, i32* %storemerge443.reg2mem
store i128 %178, i128* %xmm1.1842.reg2mem
store i128 %178, i128* %xmm1.18.lcssa.reg2mem
br i1 %183, label LBL_37, label LBL_40
LBL_40:
%xmm1.18.lcssa.reload = load i128, i128* %xmm1.18.lcssa.reg2mem
%184 = mul i64 %.reload172, 4
%185 = add i64 %184, %7
%186 = inttoptr i64 %185 to i32*
store i32 1, i32* %186, align 4
%187 = load i32, i32* %.pre139, align 4
%188 = add i32 %187, -1
store i32 %188, i32* %.pre139, align 4
%.pre114 = load i32, i32* %78, align 8
store i32 %.pre114, i32* %.reg2mem165
store i128 %xmm1.18.lcssa.reload, i128* %xmm1.1913.reg2mem
br label LBL_41
LBL_41:
%xmm1.1913.reload = load i128, i128* %xmm1.1913.reg2mem
%.reload166 = load i32, i32* %.reg2mem165
%189 = add i32 %sv_1.045.reload, 1
%190 = zext i32 %.reload166 to i64
%191 = sext i32 %189 to i64
%192 = icmp slt i64 %191, %190
store i32 %.reload166, i32* %.reg2mem173
store i128 %xmm1.1913.reload, i128* %xmm1.20.lcssa.reg2mem
br i1 %192, label LBL_41.LBL_39.preheader_crit_edge, label LBL_44
LBL_42:
%.pre113 = load i32, i32* %14, align 4
store i32 %.reload166, i32* %.reg2mem167
store i32 %.pre113, i32* %.reg2mem169
store i64 %191, i64* %.reg2mem171
store i128 %xmm1.1913.reload, i128* %xmm1.2049.reg2mem
store i32 %189, i32* %sv_1.045.reg2mem
br label LBL_39.preheader
LBL_43:
%sv_1.045.reload = load i32, i32* %sv_1.045.reg2mem
%xmm1.2049.reload = load i128, i128* %xmm1.2049.reg2mem
%.reload172 = load i64, i64* %.reg2mem171
%.reload170 = load i32, i32* %.reg2mem169
%.reload168 = load i32, i32* %.reg2mem167
%193 = icmp eq i32 %.reload170, 0
store i32 0, i32* %storemerge443.reg2mem
store i128 %xmm1.2049.reload, i128* %xmm1.1842.reg2mem
store i128 %xmm1.2049.reload, i128* %xmm1.18.lcssa.reg2mem
br i1 %193, label LBL_40, label LBL_37
LBL_44:
%194 = load i32, i32* %.pre139, align 4
%195 = icmp eq i32 %194, 0
%196 = icmp eq i1 %195, false
br i1 %196, label LBL_45, label LBL_46
LBL_45:
%xmm1.20.lcssa.reload = load i128, i128* %xmm1.20.lcssa.reg2mem
%.reload174 = load i32, i32* %.reg2mem173
%197 = load i32, i32* %14, align 4
%198 = sub i32 %197, %.reload174
%199 = xor i32 %197, %.reload174
%200 = xor i32 %198, %197
%201 = and i32 %200, %199
%202 = icmp slt i32 %201, 0
%203 = icmp eq i32 %198, 0
%204 = icmp slt i32 %198, 0
%205 = icmp ne i1 %204, %202
%206 = or i1 %203, %205
%207 = select i1 %206, i32 %197, i32 %.reload174
%208 = icmp eq i32 %207, 0
store i32 %197, i32* %.reg2mem183
store i32 %.reload174, i32* %.reg2mem185
store i64 0, i64* %.reg2mem187
store i32 0, i32* %storemerge38.reg2mem
store i128 %xmm1.20.lcssa.reload, i128* %xmm1.3037.reg2mem
br i1 %208, label LBL_65, label LBL_63
LBL_46:
store i32 0, i32* %.pre-phi119.reload, align 4
store i64 %3, i64* %rax.0.reg2mem
br label LBL_67
LBL_47:
%storemerge323.reload = load i32, i32* %storemerge323.reg2mem
%209 = icmp eq i32 %storemerge38.reload, %storemerge323.reload
%210 = add i32 %storemerge323.reload, %274
%211 = sext i32 %210 to i64
%212 = mul i64 %211, 8
%213 = add i64 %212, %2
%214 = trunc i64 %213 to i8
%215 = call i8 @llvm.ctpop.i8(i8 %214), !range !11
%216 = urem i8 %215, 2
%217 = icmp eq i8 %216, 0
%218 = inttoptr i64 %213 to i64*
%219 = load i64, i64* %218, align 8
%220 = call i128 @FUNC(i64 %219)
br i1 %209, label LBL_50, label LBL_48
LBL_48:
%xmm1.2422.reload = load i128, i128* %xmm1.2422.reg2mem
%221 = call i128 @FUNC(i128 %xmm1.2422.reload, i128 %xmm1.2422.reload)
call void @FUNC(i128 %220, i128 %221)
store i32 0, i32* %sv_0.0.ph.reg2mem
store i128 %221, i128* %xmm1.25.ph.reg2mem
br i1 %217, label LBL_53, label LBL_49
LBL_49:
%222 = icmp eq i64 %213, 0
%223 = call i128 @FUNC(i128 %221, i128 %221)
call void @FUNC(i128 %220, i128 %223)
%224 = icmp eq i1 %222, false
store i128 %223, i128* %xmm1.23.reg2mem
store i32 0, i32* %sv_0.0.ph.reg2mem
store i128 %223, i128* %xmm1.25.ph.reg2mem
br i1 %224, label LBL_53, label LBL_52
LBL_50:
%225 = call i128 @FUNC(i64 4607182418800017408)
call void @FUNC(i128 %220, i128 %225)
store i32 0, i32* %sv_0.0.ph.reg2mem
store i128 %225, i128* %xmm1.25.ph.reg2mem
br i1 %217, label LBL_53, label LBL_51
LBL_51:
%226 = icmp eq i64 %213, 0
%227 = call i128 @FUNC(i64 4607182418800017408)
call void @FUNC(i128 %220, i128 %227)
store i128 %227, i128* %xmm1.23.reg2mem
store i32 0, i32* %sv_0.0.ph.reg2mem
store i128 %227, i128* %xmm1.25.ph.reg2mem
br i1 %226, label LBL_52, label LBL_53
LBL_52:
%xmm1.23.reload = load i128, i128* %xmm1.23.reg2mem
%228 = add i32 %storemerge323.reload, 1
%229 = sext i32 %228 to i64
%230 = icmp slt i64 %229, %275
store i32 %228, i32* %storemerge323.reg2mem
store i128 %xmm1.23.reload, i128* %xmm1.2422.reg2mem
store i32 1, i32* %sv_0.0.ph.reg2mem
store i128 %xmm1.23.reload, i128* %xmm1.25.ph.reg2mem
br i1 %230, label LBL_47, label LBL_53
LBL_53:
%xmm1.25.ph.reload = load i128, i128* %xmm1.25.ph.reg2mem
%sv_0.0.ph.reload = load i32, i32* %sv_0.0.ph.reg2mem
%.pre137 = load i32, i32* %14, align 4
store i32 %.pre137, i32* %.reg2mem175
store i32 %sv_0.0.ph.reload, i32* %sv_0.0.reg2mem
store i128 %xmm1.25.ph.reload, i128* %xmm1.25.reg2mem
br label LBL_54
LBL_54:
%xmm1.25.reload = load i128, i128* %xmm1.25.reg2mem
%sv_0.0.reload = load i32, i32* %sv_0.0.reg2mem
%.reload176 = load i32, i32* %.reg2mem175
%231 = icmp eq i32 %.reload176, 0
store i32 %.reload176, i32* %.reg2mem177
store i32 0, i32* %storemerge234.reg2mem
store i128 %xmm1.25.reload, i128* %xmm1.2833.reg2mem
store i128 %xmm1.25.reload, i128* %xmm1.28.lcssa.reg2mem
br i1 %231, label LBL_60, label LBL_55
LBL_55:
%xmm1.2833.reload = load i128, i128* %xmm1.2833.reg2mem
%storemerge234.reload = load i32, i32* %storemerge234.reg2mem
%.reload178 = load i32, i32* %.reg2mem177
%232 = icmp eq i32 %storemerge234.reload, %storemerge38.reload
store i32 %.reload178, i32* %.reg2mem179
store i128 %xmm1.2833.reload, i128* %xmm1.27.reg2mem
br i1 %232, label LBL_59, label LBL_56
LBL_56:
%233 = mul i32 %storemerge234.reload, %arg3
%234 = add i32 %233, %storemerge38.reload
%235 = sext i32 %234 to i64
%236 = mul i64 %235, 8
%237 = add i64 %236, %2
%238 = trunc i64 %237 to i8
%239 = call i8 @llvm.ctpop.i8(i8 %238), !range !11
%240 = urem i8 %239, 2
%241 = icmp eq i8 %240, 0
%242 = inttoptr i64 %237 to i64*
%243 = load i64, i64* %242, align 8
%244 = call i128 @FUNC(i64 %243)
%245 = call i128 @FUNC(i128 %xmm1.2833.reload, i128 %xmm1.2833.reload)
call void @FUNC(i128 %244, i128 %245)
store i32 %.reload186, i32* %.reg2mem181
store i128 %245, i128* %xmm1.2914.reg2mem
br i1 %241, label LBL_62, label LBL_57
LBL_57:
%246 = icmp eq i64 %237, 0
%247 = call i128 @FUNC(i128 %245, i128 %245)
call void @FUNC(i128 %244, i128 %247)
store i32 %.reload186, i32* %.reg2mem181
store i128 %247, i128* %xmm1.2914.reg2mem
br i1 %246, label LBL_57.LBL_59_crit_edge, label LBL_62
LBL_58:
%.pre115 = load i32, i32* %14, align 4
store i32 %.pre115, i32* %.reg2mem179
store i128 %247, i128* %xmm1.27.reg2mem
br label LBL_59
LBL_59:
%xmm1.27.reload = load i128, i128* %xmm1.27.reg2mem
%.reload180 = load i32, i32* %.reg2mem179
%248 = add i32 %storemerge234.reload, 1
%249 = zext i32 %.reload180 to i64
%250 = sext i32 %248 to i64
%251 = icmp slt i64 %250, %249
store i32 %.reload180, i32* %.reg2mem177
store i32 %248, i32* %storemerge234.reg2mem
store i128 %xmm1.27.reload, i128* %xmm1.2833.reg2mem
store i128 %xmm1.27.reload, i128* %xmm1.28.lcssa.reg2mem
br i1 %251, label LBL_55, label LBL_60
LBL_60:
%xmm1.28.lcssa.reload = load i128, i128* %xmm1.28.lcssa.reg2mem
%252 = icmp eq i32 %sv_0.0.reload, 0
store i32 %.reload186, i32* %.reg2mem181
store i128 %xmm1.28.lcssa.reload, i128* %xmm1.2914.reg2mem
br i1 %252, label LBL_62, label LBL_61
LBL_61:
%253 = mul i64 %.reload188, 4
%254 = add i64 %253, %10
%255 = inttoptr i64 %254 to i32*
store i32 1, i32* %255, align 4
%256 = load i32, i32* %.pre-phi119.reload, align 4
%257 = add i32 %256, -1
store i32 %257, i32* %.pre-phi119.reload, align 4
%.pre116 = load i32, i32* %78, align 8
store i32 %.pre116, i32* %.reg2mem181
store i128 %xmm1.28.lcssa.reload, i128* %xmm1.2914.reg2mem
br label LBL_62
LBL_62:
%xmm1.2914.reload = load i128, i128* %xmm1.2914.reg2mem
%.reload182 = load i32, i32* %.reg2mem181
%258 = add i32 %storemerge38.reload, 1
%259 = load i32, i32* %14, align 4
%260 = sub i32 %259, %.reload182
%261 = xor i32 %259, %.reload182
%262 = xor i32 %260, %259
%263 = and i32 %262, %261
%264 = icmp slt i32 %263, 0
%265 = icmp eq i32 %260, 0
%266 = icmp slt i32 %260, 0
%267 = icmp ne i1 %266, %264
%268 = or i1 %265, %267
%269 = select i1 %268, i32 %259, i32 %.reload182
%270 = zext i32 %269 to i64
%271 = sext i32 %258 to i64
%272 = icmp slt i64 %271, %270
store i32 %259, i32* %.reg2mem183
store i32 %.reload182, i32* %.reg2mem185
store i64 %271, i64* %.reg2mem187
store i32 %258, i32* %storemerge38.reg2mem
store i128 %xmm1.2914.reload, i128* %xmm1.3037.reg2mem
br i1 %272, label LBL_63, label LBL_65
LBL_63:
%xmm1.3037.reload = load i128, i128* %xmm1.3037.reg2mem
%storemerge38.reload = load i32, i32* %storemerge38.reg2mem
%.reload188 = load i64, i64* %.reg2mem187
%.reload186 = load i32, i32* %.reg2mem185
%.reload184 = load i32, i32* %.reg2mem183
%273 = icmp eq i32 %.reload186, 0
store i32 %.reload184, i32* %.reg2mem175
store i32 1, i32* %sv_0.0.reg2mem
store i128 %xmm1.3037.reload, i128* %xmm1.25.reg2mem
br i1 %273, label LBL_54, label LBL_47.lr.ph
LBL_64:
%274 = mul i32 %storemerge38.reload, %arg3
%275 = zext i32 %.reload186 to i64
store i32 0, i32* %storemerge323.reg2mem
store i128 %xmm1.3037.reload, i128* %xmm1.2422.reg2mem
br label LBL_47
LBL_65:
%276 = load i32, i32* %.pre-phi119.reload, align 4
%277 = zext i32 %276 to i64
%278 = icmp eq i32 %276, 0
%279 = icmp eq i1 %278, false
store i64 %277, i64* %rax.0.reg2mem
br i1 %279, label LBL_67, label LBL_66
LBL_66:
store i32 0, i32* %.pre139, align 4
store i64 %3, i64* %rax.0.reg2mem
br label LBL_67
LBL_67:
%rax.0.reload = load i64, i64* %rax.0.reg2mem
ret i64 %rax.0.reload
uselistorder i32 %.reload186, { 0, 1, 4, 3, 2 }
uselistorder i32 %storemerge38.reload, { 3, 1, 0, 4, 2 }
uselistorder i32 %260, { 1, 2, 0 }
uselistorder i32 %259, { 0, 3, 1, 2, 4 }
uselistorder i32 %.reload182, { 0, 1, 3, 2 }
uselistorder i128 %xmm1.28.lcssa.reload, { 1, 0 }
uselistorder i32 %.reload180, { 1, 0 }
uselistorder i128 %247, { 1, 0, 2 }
uselistorder i128 %245, { 2, 1, 0, 3 }
uselistorder i64 %237, { 2, 0, 1 }
uselistorder i32 %storemerge234.reload, { 1, 2, 0 }
uselistorder i128 %xmm1.2833.reload, { 2, 1, 0 }
uselistorder i128 %221, { 2, 1, 0, 3 }
uselistorder i128 %xmm1.2422.reload, { 1, 0 }
uselistorder i128 %220, { 2, 3, 1, 0 }
uselistorder i1 %217, { 1, 0 }
uselistorder i64 %213, { 3, 0, 1, 2 }
uselistorder i32 %storemerge323.reload, { 0, 2, 1 }
uselistorder i32 %198, { 1, 2, 0 }
uselistorder i32 %197, { 0, 3, 1, 2, 4 }
uselistorder i32 %.reload174, { 0, 1, 3, 2 }
uselistorder i32 %.reload168, { 1, 0 }
uselistorder i128 %xmm1.2049.reload, { 1, 0 }
uselistorder i32 %sv_1.045.reload, { 1, 0 }
uselistorder i32 %.reload166, { 1, 0, 2 }
uselistorder i128 %xmm1.1913.reload, { 1, 0 }
uselistorder i128 %178, { 1, 2, 0, 3 }
uselistorder i128 %176, { 2, 1, 0, 3 }
uselistorder i64 %168, { 2, 0, 1 }
uselistorder i128 %xmm1.1842.reload, { 1, 0 }
uselistorder i32 %.reload156, { 1, 0, 8, 7, 6, 5, 2, 3, 4 }
uselistorder i32 %storemerge567.reload, { 4, 1, 3, 0, 2 }
uselistorder i32 %145, { 1, 2, 0 }
uselistorder i32 %144, { 0, 1, 4, 2, 3, 5 }
uselistorder i32 %.reload154, { 0, 1, 2, 4, 3 }
uselistorder i128 %126, { 2, 1, 0, 3 }
uselistorder i64 %118, { 2, 0, 1 }
uselistorder i32 %storemerge752.reload, { 1, 2, 0 }
uselistorder i128 %xmm1.1251.reload, { 2, 1, 0 }
uselistorder i128 %112, { 1, 2, 0, 3 }
uselistorder i128 %106, { 2, 1, 0, 3 }
uselistorder i128 %xmm1.1461.reload, { 1, 0 }
uselistorder i128 %105, { 2, 3, 1, 0 }
uselistorder i1 %102, { 1, 0 }
uselistorder i64 %98, { 3, 0, 1, 2 }
uselistorder i32 %.reload148, { 1, 2, 0 }
uselistorder i32 %storemerge662.reload, { 1, 2, 0 }
uselistorder i32* %.pre139, { 0, 1, 2, 3, 5, 4 }
uselistorder i32 %80, { 1, 2, 0 }
uselistorder i32 %79, { 0, 1, 3, 2, 4 }
uselistorder i32 %.reload146, { 0, 1, 2, 5, 4, 3 }
uselistorder i32* %.pre-phi119.reload, { 1, 3, 2, 0, 4 }
uselistorder i64 %74, { 2, 1, 3, 0 }
uselistorder i32 %storemerge889.reload, { 1, 2, 0 }
uselistorder i128 %xmm1.511.reload, { 1, 0 }
uselistorder i128 %xmm1.5.reload, { 1, 0 }
uselistorder i128 %55, { 1, 2, 0, 3 }
uselistorder i128 %53, { 2, 1, 0, 3 }
uselistorder i64 %45, { 2, 0, 1 }
uselistorder i128 %xmm1.485.reload, { 1, 0 }
uselistorder i128 %xmm1.2.reload, { 0, 2, 1 }
uselistorder i128 %34, { 0, 2, 1, 3 }
uselistorder i128 %32, { 2, 1, 0, 3 }
uselistorder i64 %24, { 2, 0, 1 }
uselistorder i128 %xmm1.174.reload, { 1, 0 }
uselistorder i32* %14, { 3, 1, 0, 7, 2, 4, 6, 5, 11, 10, 9, 8 }
uselistorder i64 %3, { 2, 1, 0, 7, 3, 5, 4, 6, 8, 9, 10 }
uselistorder i64* %rdi, { 1, 0 }
uselistorder i32* %storemerge1075.reg2mem, { 1, 2, 0 }
uselistorder i128* %xmm1.174.reg2mem, { 1, 2, 0 }
uselistorder i64* %.pre-phi142.reg2mem, { 1, 0, 2, 3, 4 }
uselistorder i32* %sv_3.0.reg2mem, { 1, 0, 2, 3, 4 }
uselistorder i128* %xmm1.2.reg2mem, { 1, 0, 2, 3, 4 }
uselistorder i32* %storemerge986.reg2mem, { 2, 0, 1 }
uselistorder i128* %xmm1.485.reg2mem, { 2, 0, 1 }
uselistorder i128* %xmm1.511.reg2mem, { 0, 4, 3, 2, 1 }
uselistorder i32* %.reg2mem147, { 1, 2, 0 }
uselistorder i32* %storemerge662.reg2mem, { 1, 2, 0 }
uselistorder i128* %xmm1.1461.reg2mem, { 1, 2, 0 }
uselistorder i32* %sv_2.160.reg2mem, { 1, 2, 0 }
uselistorder i32* %.reg2mem149, { 2, 0, 1 }
uselistorder i32* %storemerge752.reg2mem, { 2, 0, 1 }
uselistorder i128* %xmm1.1251.reg2mem, { 2, 0, 1 }
uselistorder i128* %xmm1.14.lcssa124.reg2mem, { 1, 0, 2 }
uselistorder i32* %.reg2mem153, { 0, 6, 5, 4, 3, 2, 1 }
uselistorder i128* %xmm1.1512.reg2mem, { 0, 6, 5, 4, 3, 2, 1 }
uselistorder i32* %.reg2mem155, { 0, 2, 1 }
uselistorder i32* %.reg2mem157, { 0, 2, 1 }
uselistorder i64* %.reg2mem159, { 0, 2, 1 }
uselistorder i32* %storemerge567.reg2mem, { 0, 2, 1 }
uselistorder i128* %xmm1.1666.reg2mem, { 0, 2, 1 }
uselistorder i32* %.reg2mem161, { 0, 2, 1 }
uselistorder i32* %.reg2mem163, { 0, 2, 1 }
uselistorder i128* %xmm1.16.lcssa.reg2mem, { 0, 2, 1 }
uselistorder i32* %storemerge5.lcssa.reg2mem, { 0, 2, 1 }
uselistorder i32* %storemerge443.reg2mem, { 1, 2, 0 }
uselistorder i128* %xmm1.1842.reg2mem, { 1, 2, 0 }
uselistorder i128* %xmm1.18.lcssa.reg2mem, { 2, 0, 1 }
uselistorder i32* %.reg2mem165, { 0, 3, 2, 1 }
uselistorder i128* %xmm1.1913.reg2mem, { 0, 3, 2, 1 }
uselistorder i32* %.reg2mem167, { 0, 2, 1 }
uselistorder i32* %.reg2mem169, { 0, 2, 1 }
uselistorder i64* %.reg2mem171, { 0, 2, 1 }
uselistorder i128* %xmm1.2049.reg2mem, { 0, 2, 1 }
uselistorder i32* %sv_1.045.reg2mem, { 0, 2, 1 }
uselistorder i32* %storemerge323.reg2mem, { 2, 1, 0 }
uselistorder i128* %xmm1.2422.reg2mem, { 2, 1, 0 }
uselistorder i128* %xmm1.23.reg2mem, { 0, 2, 1 }
uselistorder i32* %sv_0.0.ph.reg2mem, { 0, 5, 4, 3, 2, 1 }
uselistorder i128* %xmm1.25.ph.reg2mem, { 0, 5, 4, 3, 2, 1 }
uselistorder i32* %.reg2mem175, { 2, 0, 1 }
uselistorder i32* %sv_0.0.reg2mem, { 2, 0, 1 }
uselistorder i128* %xmm1.25.reg2mem, { 2, 0, 1 }
uselistorder i32* %.reg2mem177, { 2, 0, 1 }
uselistorder i32* %storemerge234.reg2mem, { 2, 0, 1 }
uselistorder i128* %xmm1.2833.reg2mem, { 2, 0, 1 }
uselistorder i32* %.reg2mem181, { 0, 4, 3, 2, 1 }
uselistorder i128* %xmm1.2914.reg2mem, { 0, 4, 3, 2, 1 }
uselistorder i32* %.reg2mem183, { 0, 2, 1 }
uselistorder i32* %.reg2mem185, { 0, 2, 1 }
uselistorder i64* %.reg2mem187, { 0, 2, 1 }
uselistorder i32* %storemerge38.reg2mem, { 0, 2, 1 }
uselistorder i128* %xmm1.3037.reg2mem, { 0, 2, 1 }
uselistorder i64* %rax.0.reg2mem, { 0, 3, 4, 2, 1 }
uselistorder i1 false, { 1, 0, 2, 3, 4 }
uselistorder i32 -1, { 3, 2, 1, 0 }
uselistorder i64 8, { 0, 1, 2, 3, 4, 8, 7, 5, 6 }
uselistorder i64 12, { 1, 0 }
uselistorder i32 0, { 41, 42, 6, 27, 43, 44, 45, 40, 1, 26, 5, 4, 3, 2, 46, 0, 28, 34, 35, 36, 47, 7, 25, 14, 24, 49, 50, 51, 48, 10, 11, 12, 13, 23, 53, 8, 9, 29, 31, 32, 33, 54, 20, 22, 52, 17, 21, 18, 19, 16, 15, 30, 37, 38, 39 }
uselistorder i32 %arg3, { 1, 0, 2, 3, 4, 6, 5 }
uselistorder label LBL_63, { 1, 0 }
uselistorder label LBL_62, { 2, 3, 1, 0 }
uselistorder label LBL_55, { 1, 0 }
uselistorder label LBL_54, { 1, 0 }
uselistorder label LBL_53, { 4, 3, 2, 1, 0 }
uselistorder label LBL_52, { 1, 0 }
uselistorder label LBL_39.preheader, { 1, 0 }
uselistorder label LBL_41, { 2, 1, 0 }
uselistorder label LBL_40, { 1, 0 }
uselistorder label LBL_36, { 1, 0 }
uselistorder label LBL_34, { 1, 0 }
uselistorder label LBL_33, { 4, 5, 3, 2, 1, 0 }
uselistorder label LBL_26, { 1, 0 }
uselistorder label LBL_13, { 2, 3, 1, 0 }
uselistorder label LBL_8, { 1, 0 }
} | 1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.