llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmpmcxezagu.c' source_filename = "/tmp/tmpmcxezagu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmcxezagu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpozf1xb6p.c' source_filename = "/tmp/tmpozf1xb6p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.sub1.hello_string = private unnamed_addr constant [12 x i8] c"hello world\00", align 1 @.str = private unnamed_addr constant [6 x i8] c"\0A%s\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @sub1() #0 { %1 = alloca [12 x i8], align 1 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %1, ptr align 1 @__const.sub1.hello_string, i64 12, i1 false) %2 = getelementptr inbounds [12 x i8], ptr %1, i64 0, i64 0 %3 = call i32 @printf(ptr noundef @.str, ptr noundef %2) ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpozf1xb6p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @__const.sub1.hello_string = private unnamed_addr constant [12 x i8] c"hello world\00", align 1 @.str = private unnamed_addr constant [6 x i8] c"\0A%s\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @sub1() #0 { %1 = alloca [12 x i8], align 1 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %1, ptr align 1 @__const.sub1.hello_string, i64 12, i1 false) %2 = getelementptr inbounds [12 x i8], ptr %1, i64 0, i64 0 %3 = call i32 @printf(ptr noundef @.str, ptr noundef %2) ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmps8djp96b.c' source_filename = "/tmp/tmps8djp96b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"%d %s %d\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"add\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"sub\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"mul\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"div\00", align 1 @.str.5 = private unnamed_addr constant [4 x i8] c"mod\00", align 1 @.str.6 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @.str.7 = private unnamed_addr constant [6 x i8] c"error\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca [3 x i8], align 1 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %9, align 4 %11 = getelementptr inbounds [3 x i8], ptr %10, i64 0, i64 0 %12 = call i32 @scanf(ptr noundef @.str, ptr noundef %6, ptr noundef %11, ptr noundef %7) %13 = getelementptr inbounds [3 x i8], ptr %10, i64 0, i64 0 %14 = call i32 @strcmp(ptr noundef %13, ptr noundef @.str.1) %15 = icmp ne i32 %14, 0 br i1 %15, label %20, label %16 16: ; preds = %2 %17 = load i32, ptr %6, align 4 %18 = load i32, ptr %7, align 4 %19 = add nsw i32 %17, %18 store i32 %19, ptr %8, align 4 store i32 1, ptr %9, align 4 br label %20 20: ; preds = %16, %2 %21 = getelementptr inbounds [3 x i8], ptr %10, i64 0, i64 0 %22 = call i32 @strcmp(ptr noundef %21, ptr noundef @.str.2) %23 = icmp ne i32 %22, 0 br i1 %23, label %28, label %24 24: ; preds = %20 %25 = load i32, ptr %6, align 4 %26 = load i32, ptr %7, align 4 %27 = sub nsw i32 %25, %26 store i32 %27, ptr %8, align 4 store i32 1, ptr %9, align 4 br label %28 28: ; preds = %24, %20 %29 = getelementptr inbounds [3 x i8], ptr %10, i64 0, i64 0 %30 = call i32 @strcmp(ptr noundef %29, ptr noundef @.str.3) %31 = icmp ne i32 %30, 0 br i1 %31, label %36, label %32 32: ; preds = %28 %33 = load i32, ptr %6, align 4 %34 = load i32, ptr %7, align 4 %35 = mul nsw i32 %33, %34 store i32 %35, ptr %8, align 4 store i32 1, ptr %9, align 4 br label %36 36: ; preds = %32, %28 %37 = getelementptr inbounds [3 x i8], ptr %10, i64 0, i64 0 %38 = call i32 @strcmp(ptr noundef %37, ptr noundef @.str.4) %39 = icmp ne i32 %38, 0 br i1 %39, label %48, label %40 40: ; preds = %36 %41 = load i32, ptr %7, align 4 %42 = icmp ne i32 %41, 0 br i1 %42, label %43, label %47 43: ; preds = %40 %44 = load i32, ptr %6, align 4 %45 = load i32, ptr %7, align 4 %46 = sdiv i32 %44, %45 store i32 %46, ptr %8, align 4 store i32 1, ptr %9, align 4 br label %47 47: ; preds = %43, %40 br label %48 48: ; preds = %47, %36 %49 = getelementptr inbounds [3 x i8], ptr %10, i64 0, i64 0 %50 = call i32 @strcmp(ptr noundef %49, ptr noundef @.str.5) %51 = icmp ne i32 %50, 0 br i1 %51, label %60, label %52 52: ; preds = %48 %53 = load i32, ptr %7, align 4 %54 = icmp ne i32 %53, 0 br i1 %54, label %55, label %59 55: ; preds = %52 %56 = load i32, ptr %6, align 4 %57 = load i32, ptr %7, align 4 %58 = srem i32 %56, %57 store i32 %58, ptr %8, align 4 store i32 1, ptr %9, align 4 br label %59 59: ; preds = %55, %52 br label %60 60: ; preds = %59, %48 %61 = load i32, ptr %9, align 4 %62 = icmp eq i32 %61, 1 br i1 %62, label %63, label %66 63: ; preds = %60 %64 = load i32, ptr %8, align 4 %65 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %64) br label %68 66: ; preds = %60 %67 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) br label %68 68: ; preds = %66, %63 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmps8djp96b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"%d %s %d\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"add\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"sub\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"mul\00", align 1 @.str.4 = private unnamed_addr constant [4 x i8] c"div\00", align 1 @.str.5 = private unnamed_addr constant [4 x i8] c"mod\00", align 1 @.str.6 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 @.str.7 = private unnamed_addr constant [6 x i8] c"error\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca [3 x i8], align 1 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %9, align 4 %11 = getelementptr inbounds [3 x i8], ptr %10, i64 0, i64 0 %12 = call i32 @scanf(ptr noundef @.str, ptr noundef %6, ptr noundef %11, ptr noundef %7) %13 = getelementptr inbounds [3 x i8], ptr %10, i64 0, i64 0 %14 = call i32 @strcmp(ptr noundef %13, ptr noundef @.str.1) %15 = icmp ne i32 %14, 0 br i1 %15, label %20, label %16 16: ; preds = %2 %17 = load i32, ptr %6, align 4 %18 = load i32, ptr %7, align 4 %19 = add nsw i32 %17, %18 store i32 %19, ptr %8, align 4 store i32 1, ptr %9, align 4 br label %20 20: ; preds = %16, %2 %21 = getelementptr inbounds [3 x i8], ptr %10, i64 0, i64 0 %22 = call i32 @strcmp(ptr noundef %21, ptr noundef @.str.2) %23 = icmp ne i32 %22, 0 br i1 %23, label %28, label %24 24: ; preds = %20 %25 = load i32, ptr %6, align 4 %26 = load i32, ptr %7, align 4 %27 = sub nsw i32 %25, %26 store i32 %27, ptr %8, align 4 store i32 1, ptr %9, align 4 br label %28 28: ; preds = %24, %20 %29 = getelementptr inbounds [3 x i8], ptr %10, i64 0, i64 0 %30 = call i32 @strcmp(ptr noundef %29, ptr noundef @.str.3) %31 = icmp ne i32 %30, 0 br i1 %31, label %36, label %32 32: ; preds = %28 %33 = load i32, ptr %6, align 4 %34 = load i32, ptr %7, align 4 %35 = mul nsw i32 %33, %34 store i32 %35, ptr %8, align 4 store i32 1, ptr %9, align 4 br label %36 36: ; preds = %32, %28 %37 = getelementptr inbounds [3 x i8], ptr %10, i64 0, i64 0 %38 = call i32 @strcmp(ptr noundef %37, ptr noundef @.str.4) %39 = icmp ne i32 %38, 0 br i1 %39, label %48, label %40 40: ; preds = %36 %41 = load i32, ptr %7, align 4 %42 = icmp ne i32 %41, 0 br i1 %42, label %43, label %47 43: ; preds = %40 %44 = load i32, ptr %6, align 4 %45 = load i32, ptr %7, align 4 %46 = sdiv i32 %44, %45 store i32 %46, ptr %8, align 4 store i32 1, ptr %9, align 4 br label %47 47: ; preds = %43, %40 br label %48 48: ; preds = %47, %36 %49 = getelementptr inbounds [3 x i8], ptr %10, i64 0, i64 0 %50 = call i32 @strcmp(ptr noundef %49, ptr noundef @.str.5) %51 = icmp ne i32 %50, 0 br i1 %51, label %60, label %52 52: ; preds = %48 %53 = load i32, ptr %7, align 4 %54 = icmp ne i32 %53, 0 br i1 %54, label %55, label %59 55: ; preds = %52 %56 = load i32, ptr %6, align 4 %57 = load i32, ptr %7, align 4 %58 = srem i32 %56, %57 store i32 %58, ptr %8, align 4 store i32 1, ptr %9, align 4 br label %59 59: ; preds = %55, %52 br label %60 60: ; preds = %59, %48 %61 = load i32, ptr %9, align 4 %62 = icmp eq i32 %61, 1 br i1 %62, label %63, label %66 63: ; preds = %60 %64 = load i32, ptr %8, align 4 %65 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %64) br label %68 66: ; preds = %60 %67 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) br label %68 68: ; preds = %66, %63 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpyfi41qx2.c' source_filename = "/tmp/tmpyfi41qx2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpyfi41qx2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp7ejp4eqj.c' source_filename = "/tmp/tmp7ejp4eqj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [39 x i8] c"\0Aerror: corect usage ./exec_file f1 f2\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [24 x i8] c"\0Aerror:couldn't open %s\00", align 1 @.str.3 = private unnamed_addr constant [44 x i8] c"\0AFirst lines that don't match are: \0A\09%s\0A\09%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca [256 x i8], align 16 %10 = alloca [256 x i8], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 store ptr null, ptr %7, align 8 store ptr null, ptr %8, align 8 call void @llvm.memset.p0.i64(ptr align 16 %9, i8 0, i64 256, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %10, i8 0, i64 256, i1 false) %11 = load i32, ptr %4, align 4 %12 = icmp ne i32 %11, 3 br i1 %12, label %13, label %16 13: ; preds = %2 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str) %15 = call i32 @exit(i32 noundef 0) #4 unreachable 16: ; preds = %2 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 1 %19 = load ptr, ptr %18, align 8 %20 = call ptr @fopen(ptr noundef %19, ptr noundef @.str.1) store ptr %20, ptr %7, align 8 %21 = icmp eq ptr %20, null br i1 %21, label %22, label %28 22: ; preds = %16 %23 = load ptr, ptr %5, align 8 %24 = getelementptr inbounds ptr, ptr %23, i64 1 %25 = load ptr, ptr %24, align 8 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %25) %27 = call i32 @exit(i32 noundef 0) #4 unreachable 28: ; preds = %16 %29 = load ptr, ptr %5, align 8 %30 = getelementptr inbounds ptr, ptr %29, i64 2 %31 = load ptr, ptr %30, align 8 %32 = call ptr @fopen(ptr noundef %31, ptr noundef @.str.1) store ptr %32, ptr %8, align 8 %33 = icmp eq ptr %32, null br i1 %33, label %34, label %40 34: ; preds = %28 %35 = load ptr, ptr %5, align 8 %36 = getelementptr inbounds ptr, ptr %35, i64 2 %37 = load ptr, ptr %36, align 8 %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %37) %39 = call i32 @exit(i32 noundef 0) #4 unreachable 40: ; preds = %28 br label %41 41: ; preds = %40, %62 %42 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0 %43 = call i32 @memset(ptr noundef %42, i32 noundef 0, i32 noundef 256) %44 = getelementptr inbounds [256 x i8], ptr %10, i64 0, i64 0 %45 = call i32 @memset(ptr noundef %44, i32 noundef 0, i32 noundef 256) %46 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0 %47 = load ptr, ptr %7, align 8 %48 = call ptr @fgets(ptr noundef %46, i32 noundef 256, ptr noundef %47) %49 = icmp eq ptr %48, null br i1 %49, label %50, label %51 50: ; preds = %41 br label %67 51: ; preds = %41 %52 = getelementptr inbounds [256 x i8], ptr %10, i64 0, i64 0 %53 = load ptr, ptr %8, align 8 %54 = call ptr @fgets(ptr noundef %52, i32 noundef 256, ptr noundef %53) %55 = icmp eq ptr %54, null br i1 %55, label %56, label %57 56: ; preds = %51 br label %67 57: ; preds = %51 %58 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0 %59 = getelementptr inbounds [256 x i8], ptr %10, i64 0, i64 0 %60 = call i32 @strcmp(ptr noundef %58, ptr noundef %59) %61 = icmp ne i32 %60, 0 br i1 %61, label %63, label %62 62: ; preds = %57 br label %41 63: ; preds = %57 %64 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0 %65 = getelementptr inbounds [256 x i8], ptr %10, i64 0, i64 0 %66 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %64, ptr noundef %65) br label %67 67: ; preds = %63, %56, %50 %68 = load i32, ptr %6, align 4 ret i32 %68 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, ...) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 declare ptr @fopen(ptr noundef, ptr noundef) #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #2 declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #2 declare i32 @strcmp(ptr noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7ejp4eqj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [39 x i8] c"\0Aerror: corect usage ./exec_file f1 f2\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [24 x i8] c"\0Aerror:couldn't open %s\00", align 1 @.str.3 = private unnamed_addr constant [44 x i8] c"\0AFirst lines that don't match are: \0A\09%s\0A\09%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca [256 x i8], align 16 %10 = alloca [256 x i8], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %6, align 4 store ptr null, ptr %7, align 8 store ptr null, ptr %8, align 8 call void @llvm.memset.p0.i64(ptr align 16 %9, i8 0, i64 256, i1 false) call void @llvm.memset.p0.i64(ptr align 16 %10, i8 0, i64 256, i1 false) %11 = load i32, ptr %4, align 4 %12 = icmp ne i32 %11, 3 br i1 %12, label %13, label %16 13: ; preds = %2 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str) %15 = call i32 @exit(i32 noundef 0) #4 unreachable 16: ; preds = %2 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 1 %19 = load ptr, ptr %18, align 8 %20 = call ptr @fopen(ptr noundef %19, ptr noundef @.str.1) store ptr %20, ptr %7, align 8 %21 = icmp eq ptr %20, null br i1 %21, label %22, label %28 22: ; preds = %16 %23 = load ptr, ptr %5, align 8 %24 = getelementptr inbounds ptr, ptr %23, i64 1 %25 = load ptr, ptr %24, align 8 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %25) %27 = call i32 @exit(i32 noundef 0) #4 unreachable 28: ; preds = %16 %29 = load ptr, ptr %5, align 8 %30 = getelementptr inbounds ptr, ptr %29, i64 2 %31 = load ptr, ptr %30, align 8 %32 = call ptr @fopen(ptr noundef %31, ptr noundef @.str.1) store ptr %32, ptr %8, align 8 %33 = icmp eq ptr %32, null br i1 %33, label %34, label %40 34: ; preds = %28 %35 = load ptr, ptr %5, align 8 %36 = getelementptr inbounds ptr, ptr %35, i64 2 %37 = load ptr, ptr %36, align 8 %38 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %37) %39 = call i32 @exit(i32 noundef 0) #4 unreachable 40: ; preds = %28 %41 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0 %42 = call i32 @memset(ptr noundef %41, i32 noundef 0, i32 noundef 256) %43 = getelementptr inbounds [256 x i8], ptr %10, i64 0, i64 0 %44 = call i32 @memset(ptr noundef %43, i32 noundef 0, i32 noundef 256) %45 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0 %46 = load ptr, ptr %7, align 8 %47 = call ptr @fgets(ptr noundef %45, i32 noundef 256, ptr noundef %46) %48 = icmp eq ptr %47, null br i1 %48, label %55, label %.lr.ph .lr.ph: ; preds = %40 br label %56 49: ; preds = %62 %50 = call i32 @memset(ptr noundef %41, i32 noundef 0, i32 noundef 256) %51 = call i32 @memset(ptr noundef %43, i32 noundef 0, i32 noundef 256) %52 = load ptr, ptr %7, align 8 %53 = call ptr @fgets(ptr noundef %45, i32 noundef 256, ptr noundef %52) %54 = icmp eq ptr %53, null br i1 %54, label %._crit_edge, label %56 ._crit_edge: ; preds = %49 br label %55 55: ; preds = %._crit_edge, %40 br label %71 56: ; preds = %.lr.ph, %49 %57 = getelementptr inbounds [256 x i8], ptr %10, i64 0, i64 0 %58 = load ptr, ptr %8, align 8 %59 = call ptr @fgets(ptr noundef %57, i32 noundef 256, ptr noundef %58) %60 = icmp eq ptr %59, null br i1 %60, label %61, label %62 61: ; preds = %56 br label %71 62: ; preds = %56 %63 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0 %64 = getelementptr inbounds [256 x i8], ptr %10, i64 0, i64 0 %65 = call i32 @strcmp(ptr noundef %63, ptr noundef %64) %66 = icmp ne i32 %65, 0 br i1 %66, label %67, label %49 67: ; preds = %62 %68 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0 %69 = getelementptr inbounds [256 x i8], ptr %10, i64 0, i64 0 %70 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %68, ptr noundef %69) br label %71 71: ; preds = %67, %61, %55 %72 = load i32, ptr %6, align 4 ret i32 %72 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, ...) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 declare ptr @fopen(ptr noundef, ptr noundef) #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #2 declare ptr @fgets(ptr noundef, i32 noundef, ptr noundef) #2 declare i32 @strcmp(ptr noundef, ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpgdl666vd.c' source_filename = "/tmp/tmpgdl666vd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgdl666vd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpmcoonll5.c' source_filename = "/tmp/tmpmcoonll5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (...) @testnext() %3 = call i32 (...) @testinitialize() %4 = call i32 (...) @testchecktkts() %5 = call i32 (...) @testlocktkts() ret i32 0 } declare i32 @testnext(...) #1 declare i32 @testinitialize(...) #1 declare i32 @testchecktkts(...) #1 declare i32 @testlocktkts(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmcoonll5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (...) @testnext() %3 = call i32 (...) @testinitialize() %4 = call i32 (...) @testchecktkts() %5 = call i32 (...) @testlocktkts() ret i32 0 } declare i32 @testnext(...) #1 declare i32 @testinitialize(...) #1 declare i32 @testchecktkts(...) #1 declare i32 @testlocktkts(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmprq7kx8ky.c' source_filename = "/tmp/tmprq7kx8ky.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.winsize = type { i64, i64 } @STDOUT_FILENO = dso_local global i32 0, align 4 @TIOCGWINSZ = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @getTermSize(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca %struct.winsize, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %7 = load i32, ptr @STDOUT_FILENO, align 4 %8 = load i32, ptr @TIOCGWINSZ, align 4 %9 = call i32 @ioctl(i32 noundef %7, i32 noundef %8, ptr noundef %6) %10 = getelementptr inbounds %struct.winsize, ptr %6, i32 0, i32 0 %11 = load i64, ptr %10, align 8 %12 = load ptr, ptr %4, align 8 %13 = load i64, ptr %12, align 8 %14 = icmp eq i64 %11, %13 br i1 %14, label %15, label %22 15: ; preds = %2 %16 = getelementptr inbounds %struct.winsize, ptr %6, i32 0, i32 1 %17 = load i64, ptr %16, align 8 %18 = load ptr, ptr %5, align 8 %19 = load i64, ptr %18, align 8 %20 = icmp eq i64 %17, %19 br i1 %20, label %21, label %22 21: ; preds = %15 store i32 0, ptr %3, align 4 br label %29 22: ; preds = %15, %2 %23 = getelementptr inbounds %struct.winsize, ptr %6, i32 0, i32 0 %24 = load i64, ptr %23, align 8 %25 = load ptr, ptr %4, align 8 store i64 %24, ptr %25, align 8 %26 = getelementptr inbounds %struct.winsize, ptr %6, i32 0, i32 1 %27 = load i64, ptr %26, align 8 %28 = load ptr, ptr %5, align 8 store i64 %27, ptr %28, align 8 store i32 1, ptr %3, align 4 br label %29 29: ; preds = %22, %21 %30 = load i32, ptr %3, align 4 ret i32 %30 } declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprq7kx8ky.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.winsize = type { i64, i64 } @STDOUT_FILENO = dso_local global i32 0, align 4 @TIOCGWINSZ = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @getTermSize(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca %struct.winsize, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %7 = load i32, ptr @STDOUT_FILENO, align 4 %8 = load i32, ptr @TIOCGWINSZ, align 4 %9 = call i32 @ioctl(i32 noundef %7, i32 noundef %8, ptr noundef %6) %10 = getelementptr inbounds %struct.winsize, ptr %6, i32 0, i32 0 %11 = load i64, ptr %10, align 8 %12 = load ptr, ptr %4, align 8 %13 = load i64, ptr %12, align 8 %14 = icmp eq i64 %11, %13 br i1 %14, label %15, label %22 15: ; preds = %2 %16 = getelementptr inbounds %struct.winsize, ptr %6, i32 0, i32 1 %17 = load i64, ptr %16, align 8 %18 = load ptr, ptr %5, align 8 %19 = load i64, ptr %18, align 8 %20 = icmp eq i64 %17, %19 br i1 %20, label %21, label %22 21: ; preds = %15 store i32 0, ptr %3, align 4 br label %29 22: ; preds = %15, %2 %23 = getelementptr inbounds %struct.winsize, ptr %6, i32 0, i32 0 %24 = load i64, ptr %23, align 8 %25 = load ptr, ptr %4, align 8 store i64 %24, ptr %25, align 8 %26 = getelementptr inbounds %struct.winsize, ptr %6, i32 0, i32 1 %27 = load i64, ptr %26, align 8 %28 = load ptr, ptr %5, align 8 store i64 %27, ptr %28, align 8 store i32 1, ptr %3, align 4 br label %29 29: ; preds = %22, %21 %30 = load i32, ptr %3, align 4 ret i32 %30 } declare i32 @ioctl(i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp7920lnw5.c' source_filename = "/tmp/tmp7920lnw5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @make_matrix(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %7 = load i32, ptr %3, align 4 %8 = load i32, ptr %4, align 4 %9 = mul nsw i32 %7, %8 %10 = sext i32 %9 to i64 %11 = mul i64 %10, 4 %12 = trunc i64 %11 to i32 %13 = call ptr @malloc(i32 noundef %12) store ptr %13, ptr %6, align 8 store i32 0, ptr %5, align 4 br label %14 14: ; preds = %26, %2 %15 = load i32, ptr %5, align 4 %16 = load i32, ptr %3, align 4 %17 = load i32, ptr %4, align 4 %18 = mul nsw i32 %16, %17 %19 = icmp slt i32 %15, %18 br i1 %19, label %20, label %29 20: ; preds = %14 %21 = call float (...) @get_float() %22 = load ptr, ptr %6, align 8 %23 = load i32, ptr %5, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds float, ptr %22, i64 %24 store float %21, ptr %25, align 4 br label %26 26: ; preds = %20 %27 = load i32, ptr %5, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %5, align 4 br label %14, !llvm.loop !6 29: ; preds = %14 %30 = load ptr, ptr %6, align 8 ret ptr %30 } declare ptr @malloc(i32 noundef) #1 declare float @get_float(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7920lnw5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @make_matrix(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %7 = load i32, ptr %3, align 4 %8 = load i32, ptr %4, align 4 %9 = mul nsw i32 %7, %8 %10 = sext i32 %9 to i64 %11 = mul i64 %10, 4 %12 = trunc i64 %11 to i32 %13 = call ptr @malloc(i32 noundef %12) store ptr %13, ptr %6, align 8 store i32 0, ptr %5, align 4 %14 = load i32, ptr %5, align 4 %15 = load i32, ptr %3, align 4 %16 = load i32, ptr %4, align 4 %17 = mul nsw i32 %15, %16 %18 = icmp slt i32 %14, %17 br i1 %18, label %.lr.ph, label %33 .lr.ph: ; preds = %2 br label %19 19: ; preds = %.lr.ph, %25 %20 = call float (...) @get_float() %21 = load ptr, ptr %6, align 8 %22 = load i32, ptr %5, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds float, ptr %21, i64 %23 store float %20, ptr %24, align 4 br label %25 25: ; preds = %19 %26 = load i32, ptr %5, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %5, align 4 %28 = load i32, ptr %5, align 4 %29 = load i32, ptr %3, align 4 %30 = load i32, ptr %4, align 4 %31 = mul nsw i32 %29, %30 %32 = icmp slt i32 %28, %31 br i1 %32, label %19, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %25 br label %33 33: ; preds = %._crit_edge, %2 %34 = load ptr, ptr %6, align 8 ret ptr %34 } declare ptr @malloc(i32 noundef) #1 declare float @get_float(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpp590pg36.c' source_filename = "/tmp/tmpp590pg36.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpp590pg36.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpa6dtaau4.c' source_filename = "/tmp/tmpa6dtaau4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (...) @getLocal() %3 = call i32 (...) @getUTC() ret i32 0 } declare i32 @getLocal(...) #1 declare i32 @getUTC(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpa6dtaau4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 (...) @getLocal() %3 = call i32 (...) @getUTC() ret i32 0 } declare i32 @getLocal(...) #1 declare i32 @getUTC(...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpmrx1jda7.c' source_filename = "/tmp/tmpmrx1jda7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.flock = type { i32, i64, i32, i32 } @EXIT_FAILURE = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [3 x i8] c"on\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"off\00", align 1 @O_RDWR = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [24 x i8] c"Couldn't open file: %s\0A\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"-c\00", align 1 @F_RDLCK = dso_local global i32 0, align 4 @SEEK_SET = dso_local global i32 0, align 4 @F_SETLK = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [3 x i8] c"-l\00", align 1 @F_LOCK = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [3 x i8] c"-f\00", align 1 @LOCK_EX = dso_local global i32 0, align 4 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @t1(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca %struct.flock, align 8 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 %10 = load i32, ptr %4, align 4 %11 = icmp ne i32 %10, 5 br i1 %11, label %12, label %15 12: ; preds = %2 %13 = call i32 (...) @t1_usage() %14 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %14, ptr %3, align 4 br label %109 15: ; preds = %2 %16 = load ptr, ptr %5, align 8 %17 = getelementptr inbounds ptr, ptr %16, i64 2 %18 = load ptr, ptr %17, align 8 %19 = call i32 @strncmp(ptr noundef %18, ptr noundef @.str, i32 noundef 3) %20 = icmp ne i32 %19, 0 br i1 %20, label %22, label %21 21: ; preds = %15 store i32 1, ptr %7, align 4 br label %33 22: ; preds = %15 %23 = load ptr, ptr %5, align 8 %24 = getelementptr inbounds ptr, ptr %23, i64 2 %25 = load ptr, ptr %24, align 8 %26 = call i32 @strncmp(ptr noundef %25, ptr noundef @.str.1, i32 noundef 4) %27 = icmp ne i32 %26, 0 br i1 %27, label %29, label %28 28: ; preds = %22 store i32 0, ptr %7, align 4 br label %32 29: ; preds = %22 %30 = call i32 (...) @t1_usage() %31 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %31, ptr %3, align 4 br label %109 32: ; preds = %28 br label %33 33: ; preds = %32, %21 %34 = load ptr, ptr %5, align 8 %35 = getelementptr inbounds ptr, ptr %34, i64 4 %36 = load ptr, ptr %35, align 8 %37 = load i32, ptr @O_RDWR, align 4 %38 = call i32 @open(ptr noundef %36, i32 noundef %37) store i32 %38, ptr %6, align 4 %39 = icmp slt i32 %38, 0 br i1 %39, label %40, label %47 40: ; preds = %33 %41 = load i32, ptr @stderr, align 4 %42 = load ptr, ptr %5, align 8 %43 = getelementptr inbounds ptr, ptr %42, i64 3 %44 = load ptr, ptr %43, align 8 %45 = call i32 @fprintf(i32 noundef %41, ptr noundef @.str.2, ptr noundef %44) %46 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %46, ptr %3, align 4 br label %109 47: ; preds = %33 %48 = load ptr, ptr %5, align 8 %49 = getelementptr inbounds ptr, ptr %48, i64 3 %50 = load ptr, ptr %49, align 8 %51 = call i32 @strncmp(ptr noundef %50, ptr noundef @.str.3, i32 noundef 3) %52 = icmp ne i32 %51, 0 br i1 %52, label %63, label %53 53: ; preds = %47 %54 = load i32, ptr @F_RDLCK, align 4 %55 = getelementptr inbounds %struct.flock, ptr %9, i32 0, i32 3 store i32 %54, ptr %55, align 4 %56 = load i32, ptr @SEEK_SET, align 4 %57 = getelementptr inbounds %struct.flock, ptr %9, i32 0, i32 2 store i32 %56, ptr %57, align 8 %58 = getelementptr inbounds %struct.flock, ptr %9, i32 0, i32 1 store i64 0, ptr %58, align 8 %59 = getelementptr inbounds %struct.flock, ptr %9, i32 0, i32 0 store i32 1, ptr %59, align 8 %60 = load i32, ptr %6, align 4 %61 = load i32, ptr @F_SETLK, align 4 %62 = call i32 @fcntl(i32 noundef %60, i32 noundef %61, ptr noundef %9) store i32 %62, ptr %8, align 4 br label %88 63: ; preds = %47 %64 = load ptr, ptr %5, align 8 %65 = getelementptr inbounds ptr, ptr %64, i64 3 %66 = load ptr, ptr %65, align 8 %67 = call i32 @strncmp(ptr noundef %66, ptr noundef @.str.4, i32 noundef 3) %68 = icmp ne i32 %67, 0 br i1 %68, label %73, label %69 69: ; preds = %63 %70 = load i32, ptr %6, align 4 %71 = load i32, ptr @F_LOCK, align 4 %72 = call i32 @lockf(i32 noundef %70, i32 noundef %71, i32 noundef 1) store i32 %72, ptr %8, align 4 br label %87 73: ; preds = %63 %74 = load ptr, ptr %5, align 8 %75 = getelementptr inbounds ptr, ptr %74, i64 3 %76 = load ptr, ptr %75, align 8 %77 = call i32 @strncmp(ptr noundef %76, ptr noundef @.str.5, i32 noundef 3) %78 = icmp ne i32 %77, 0 br i1 %78, label %83, label %79 79: ; preds = %73 %80 = load i32, ptr %6, align 4 %81 = load i32, ptr @LOCK_EX, align 4 %82 = call i32 @flock(i32 noundef %80, i32 noundef %81) store i32 %82, ptr %8, align 4 br label %86 83: ; preds = %73 %84 = call i32 (...) @t1_usage() %85 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %85, ptr %3, align 4 br label %109 86: ; preds = %79 br label %87 87: ; preds = %86, %69 br label %88 88: ; preds = %87, %53 %89 = load i32, ptr %7, align 4 %90 = icmp ne i32 %89, 0 br i1 %90, label %91, label %100 91: ; preds = %88 %92 = load i32, ptr %8, align 4 %93 = icmp eq i32 %92, 0 br i1 %93, label %94, label %96 94: ; preds = %91 %95 = load i32, ptr @EXIT_SUCCESS, align 4 br label %98 96: ; preds = %91 %97 = load i32, ptr @EXIT_FAILURE, align 4 br label %98 98: ; preds = %96, %94 %99 = phi i32 [ %95, %94 ], [ %97, %96 ] store i32 %99, ptr %3, align 4 br label %109 100: ; preds = %88 %101 = load i32, ptr %8, align 4 %102 = icmp eq i32 %101, 0 br i1 %102, label %103, label %105 103: ; preds = %100 %104 = load i32, ptr @EXIT_FAILURE, align 4 br label %107 105: ; preds = %100 %106 = load i32, ptr @EXIT_SUCCESS, align 4 br label %107 107: ; preds = %105, %103 %108 = phi i32 [ %104, %103 ], [ %106, %105 ] store i32 %108, ptr %3, align 4 br label %109 109: ; preds = %107, %98, %83, %40, %29, %12 %110 = load i32, ptr %3, align 4 ret i32 %110 } declare i32 @t1_usage(...) #1 declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @fcntl(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @lockf(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @flock(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmrx1jda7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.flock = type { i32, i64, i32, i32 } @EXIT_FAILURE = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [3 x i8] c"on\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"off\00", align 1 @O_RDWR = dso_local global i32 0, align 4 @stderr = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [24 x i8] c"Couldn't open file: %s\0A\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"-c\00", align 1 @F_RDLCK = dso_local global i32 0, align 4 @SEEK_SET = dso_local global i32 0, align 4 @F_SETLK = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [3 x i8] c"-l\00", align 1 @F_LOCK = dso_local global i32 0, align 4 @.str.5 = private unnamed_addr constant [3 x i8] c"-f\00", align 1 @LOCK_EX = dso_local global i32 0, align 4 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @t1(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca %struct.flock, align 8 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 %10 = load i32, ptr %4, align 4 %11 = icmp ne i32 %10, 5 br i1 %11, label %12, label %15 12: ; preds = %2 %13 = call i32 (...) @t1_usage() %14 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %14, ptr %3, align 4 br label %109 15: ; preds = %2 %16 = load ptr, ptr %5, align 8 %17 = getelementptr inbounds ptr, ptr %16, i64 2 %18 = load ptr, ptr %17, align 8 %19 = call i32 @strncmp(ptr noundef %18, ptr noundef @.str, i32 noundef 3) %20 = icmp ne i32 %19, 0 br i1 %20, label %22, label %21 21: ; preds = %15 store i32 1, ptr %7, align 4 br label %33 22: ; preds = %15 %23 = load ptr, ptr %5, align 8 %24 = getelementptr inbounds ptr, ptr %23, i64 2 %25 = load ptr, ptr %24, align 8 %26 = call i32 @strncmp(ptr noundef %25, ptr noundef @.str.1, i32 noundef 4) %27 = icmp ne i32 %26, 0 br i1 %27, label %29, label %28 28: ; preds = %22 store i32 0, ptr %7, align 4 br label %32 29: ; preds = %22 %30 = call i32 (...) @t1_usage() %31 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %31, ptr %3, align 4 br label %109 32: ; preds = %28 br label %33 33: ; preds = %32, %21 %34 = load ptr, ptr %5, align 8 %35 = getelementptr inbounds ptr, ptr %34, i64 4 %36 = load ptr, ptr %35, align 8 %37 = load i32, ptr @O_RDWR, align 4 %38 = call i32 @open(ptr noundef %36, i32 noundef %37) store i32 %38, ptr %6, align 4 %39 = icmp slt i32 %38, 0 br i1 %39, label %40, label %47 40: ; preds = %33 %41 = load i32, ptr @stderr, align 4 %42 = load ptr, ptr %5, align 8 %43 = getelementptr inbounds ptr, ptr %42, i64 3 %44 = load ptr, ptr %43, align 8 %45 = call i32 @fprintf(i32 noundef %41, ptr noundef @.str.2, ptr noundef %44) %46 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %46, ptr %3, align 4 br label %109 47: ; preds = %33 %48 = load ptr, ptr %5, align 8 %49 = getelementptr inbounds ptr, ptr %48, i64 3 %50 = load ptr, ptr %49, align 8 %51 = call i32 @strncmp(ptr noundef %50, ptr noundef @.str.3, i32 noundef 3) %52 = icmp ne i32 %51, 0 br i1 %52, label %63, label %53 53: ; preds = %47 %54 = load i32, ptr @F_RDLCK, align 4 %55 = getelementptr inbounds %struct.flock, ptr %9, i32 0, i32 3 store i32 %54, ptr %55, align 4 %56 = load i32, ptr @SEEK_SET, align 4 %57 = getelementptr inbounds %struct.flock, ptr %9, i32 0, i32 2 store i32 %56, ptr %57, align 8 %58 = getelementptr inbounds %struct.flock, ptr %9, i32 0, i32 1 store i64 0, ptr %58, align 8 %59 = getelementptr inbounds %struct.flock, ptr %9, i32 0, i32 0 store i32 1, ptr %59, align 8 %60 = load i32, ptr %6, align 4 %61 = load i32, ptr @F_SETLK, align 4 %62 = call i32 @fcntl(i32 noundef %60, i32 noundef %61, ptr noundef %9) store i32 %62, ptr %8, align 4 br label %88 63: ; preds = %47 %64 = load ptr, ptr %5, align 8 %65 = getelementptr inbounds ptr, ptr %64, i64 3 %66 = load ptr, ptr %65, align 8 %67 = call i32 @strncmp(ptr noundef %66, ptr noundef @.str.4, i32 noundef 3) %68 = icmp ne i32 %67, 0 br i1 %68, label %73, label %69 69: ; preds = %63 %70 = load i32, ptr %6, align 4 %71 = load i32, ptr @F_LOCK, align 4 %72 = call i32 @lockf(i32 noundef %70, i32 noundef %71, i32 noundef 1) store i32 %72, ptr %8, align 4 br label %87 73: ; preds = %63 %74 = load ptr, ptr %5, align 8 %75 = getelementptr inbounds ptr, ptr %74, i64 3 %76 = load ptr, ptr %75, align 8 %77 = call i32 @strncmp(ptr noundef %76, ptr noundef @.str.5, i32 noundef 3) %78 = icmp ne i32 %77, 0 br i1 %78, label %83, label %79 79: ; preds = %73 %80 = load i32, ptr %6, align 4 %81 = load i32, ptr @LOCK_EX, align 4 %82 = call i32 @flock(i32 noundef %80, i32 noundef %81) store i32 %82, ptr %8, align 4 br label %86 83: ; preds = %73 %84 = call i32 (...) @t1_usage() %85 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %85, ptr %3, align 4 br label %109 86: ; preds = %79 br label %87 87: ; preds = %86, %69 br label %88 88: ; preds = %87, %53 %89 = load i32, ptr %7, align 4 %90 = icmp ne i32 %89, 0 br i1 %90, label %91, label %100 91: ; preds = %88 %92 = load i32, ptr %8, align 4 %93 = icmp eq i32 %92, 0 br i1 %93, label %94, label %96 94: ; preds = %91 %95 = load i32, ptr @EXIT_SUCCESS, align 4 br label %98 96: ; preds = %91 %97 = load i32, ptr @EXIT_FAILURE, align 4 br label %98 98: ; preds = %96, %94 %99 = phi i32 [ %95, %94 ], [ %97, %96 ] store i32 %99, ptr %3, align 4 br label %109 100: ; preds = %88 %101 = load i32, ptr %8, align 4 %102 = icmp eq i32 %101, 0 br i1 %102, label %103, label %105 103: ; preds = %100 %104 = load i32, ptr @EXIT_FAILURE, align 4 br label %107 105: ; preds = %100 %106 = load i32, ptr @EXIT_SUCCESS, align 4 br label %107 107: ; preds = %105, %103 %108 = phi i32 [ %104, %103 ], [ %106, %105 ] store i32 %108, ptr %3, align 4 br label %109 109: ; preds = %107, %98, %83, %40, %29, %12 %110 = load i32, ptr %3, align 4 ret i32 %110 } declare i32 @t1_usage(...) #1 declare i32 @strncmp(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @fcntl(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @lockf(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @flock(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmprk2853gj.c' source_filename = "/tmp/tmprk2853gj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @convert_float_to_int24(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 store i32 0, ptr %9, align 4 br label %14 14: ; preds = %67, %4 %15 = load i32, ptr %9, align 4 %16 = load i32, ptr %7, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %18, label %70 18: ; preds = %14 store i32 0, ptr %10, align 4 br label %19 19: ; preds = %63, %18 %20 = load i32, ptr %10, align 4 %21 = load i32, ptr %8, align 4 %22 = icmp slt i32 %20, %21 br i1 %22, label %23, label %66 23: ; preds = %19 %24 = load i32, ptr %9, align 4 %25 = load i32, ptr %8, align 4 %26 = mul nsw i32 %24, %25 %27 = load i32, ptr %10, align 4 %28 = add nsw i32 %26, %27 store i32 %28, ptr %11, align 4 %29 = load i32, ptr %11, align 4 %30 = mul nsw i32 3, %29 store i32 %30, ptr %12, align 4 %31 = load ptr, ptr %5, align 8 %32 = load i32, ptr %11, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds float, ptr %31, i64 %33 %35 = load float, ptr %34, align 4 %36 = fptosi float %35 to i32 store i32 %36, ptr %13, align 4 %37 = load i32, ptr %13, align 4 %38 = and i32 %37, 255 %39 = sext i32 %38 to i64 %40 = load ptr, ptr %6, align 8 %41 = load i32, ptr %12, align 4 %42 = add nsw i32 %41, 0 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds i64, ptr %40, i64 %43 store i64 %39, ptr %44, align 8 %45 = load i32, ptr %13, align 4 %46 = ashr i32 %45, 8 %47 = and i32 %46, 255 %48 = sext i32 %47 to i64 %49 = load ptr, ptr %6, align 8 %50 = load i32, ptr %12, align 4 %51 = add nsw i32 %50, 1 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds i64, ptr %49, i64 %52 store i64 %48, ptr %53, align 8 %54 = load i32, ptr %13, align 4 %55 = ashr i32 %54, 16 %56 = and i32 %55, 255 %57 = sext i32 %56 to i64 %58 = load ptr, ptr %6, align 8 %59 = load i32, ptr %12, align 4 %60 = add nsw i32 %59, 2 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds i64, ptr %58, i64 %61 store i64 %57, ptr %62, align 8 br label %63 63: ; preds = %23 %64 = load i32, ptr %10, align 4 %65 = add nsw i32 %64, 1 store i32 %65, ptr %10, align 4 br label %19, !llvm.loop !6 66: ; preds = %19 br label %67 67: ; preds = %66 %68 = load i32, ptr %9, align 4 %69 = add nsw i32 %68, 1 store i32 %69, ptr %9, align 4 br label %14, !llvm.loop !8 70: ; preds = %14 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprk2853gj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @convert_float_to_int24(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 store i32 0, ptr %9, align 4 %14 = load i32, ptr %9, align 4 %15 = load i32, ptr %7, align 4 %16 = icmp slt i32 %14, %15 br i1 %16, label %.lr.ph2, label %74 .lr.ph2: ; preds = %4 br label %17 17: ; preds = %.lr.ph2, %68 store i32 0, ptr %10, align 4 %18 = load i32, ptr %10, align 4 %19 = load i32, ptr %8, align 4 %20 = icmp slt i32 %18, %19 br i1 %20, label %.lr.ph, label %67 .lr.ph: ; preds = %17 br label %21 21: ; preds = %.lr.ph, %61 %22 = load i32, ptr %9, align 4 %23 = load i32, ptr %8, align 4 %24 = mul nsw i32 %22, %23 %25 = load i32, ptr %10, align 4 %26 = add nsw i32 %24, %25 store i32 %26, ptr %11, align 4 %27 = load i32, ptr %11, align 4 %28 = mul nsw i32 3, %27 store i32 %28, ptr %12, align 4 %29 = load ptr, ptr %5, align 8 %30 = load i32, ptr %11, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds float, ptr %29, i64 %31 %33 = load float, ptr %32, align 4 %34 = fptosi float %33 to i32 store i32 %34, ptr %13, align 4 %35 = load i32, ptr %13, align 4 %36 = and i32 %35, 255 %37 = sext i32 %36 to i64 %38 = load ptr, ptr %6, align 8 %39 = load i32, ptr %12, align 4 %40 = add nsw i32 %39, 0 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds i64, ptr %38, i64 %41 store i64 %37, ptr %42, align 8 %43 = load i32, ptr %13, align 4 %44 = ashr i32 %43, 8 %45 = and i32 %44, 255 %46 = sext i32 %45 to i64 %47 = load ptr, ptr %6, align 8 %48 = load i32, ptr %12, align 4 %49 = add nsw i32 %48, 1 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds i64, ptr %47, i64 %50 store i64 %46, ptr %51, align 8 %52 = load i32, ptr %13, align 4 %53 = ashr i32 %52, 16 %54 = and i32 %53, 255 %55 = sext i32 %54 to i64 %56 = load ptr, ptr %6, align 8 %57 = load i32, ptr %12, align 4 %58 = add nsw i32 %57, 2 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds i64, ptr %56, i64 %59 store i64 %55, ptr %60, align 8 br label %61 61: ; preds = %21 %62 = load i32, ptr %10, align 4 %63 = add nsw i32 %62, 1 store i32 %63, ptr %10, align 4 %64 = load i32, ptr %10, align 4 %65 = load i32, ptr %8, align 4 %66 = icmp slt i32 %64, %65 br i1 %66, label %21, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %61 br label %67 67: ; preds = %._crit_edge, %17 br label %68 68: ; preds = %67 %69 = load i32, ptr %9, align 4 %70 = add nsw i32 %69, 1 store i32 %70, ptr %9, align 4 %71 = load i32, ptr %9, align 4 %72 = load i32, ptr %7, align 4 %73 = icmp slt i32 %71, %72 br i1 %73, label %17, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %68 br label %74 74: ; preds = %._crit_edge3, %4 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpacopqv4b.c' source_filename = "/tmp/tmpacopqv4b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @EVP_MD_CTX_free(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @EVP_MD_CTX_cleanup(ptr noundef %3) %5 = load ptr, ptr %2, align 8 %6 = call i32 @bson_free(ptr noundef %5) ret void } declare i32 @EVP_MD_CTX_cleanup(ptr noundef) #1 declare i32 @bson_free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpacopqv4b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @EVP_MD_CTX_free(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 @EVP_MD_CTX_cleanup(ptr noundef %3) %5 = load ptr, ptr %2, align 8 %6 = call i32 @bson_free(ptr noundef %5) ret void } declare i32 @EVP_MD_CTX_cleanup(ptr noundef) #1 declare i32 @bson_free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpzod9yv1m.c' source_filename = "/tmp/tmpzod9yv1m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca [500 x i32], align 16 %7 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %7, align 4 %8 = call i32 @scanf(ptr noundef @.str, ptr noundef %3) store i32 0, ptr %7, align 4 br label %9 9: ; preds = %18, %0 %10 = load i32, ptr %7, align 4 %11 = load i32, ptr %3, align 4 %12 = icmp slt i32 %10, %11 br i1 %12, label %13, label %21 13: ; preds = %9 %14 = load i32, ptr %7, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds [500 x i32], ptr %6, i64 0, i64 %15 %17 = call i32 @scanf(ptr noundef @.str, ptr noundef %16) br label %18 18: ; preds = %13 %19 = load i32, ptr %7, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %7, align 4 br label %9, !llvm.loop !6 21: ; preds = %9 %22 = getelementptr inbounds [500 x i32], ptr %6, i64 0, i64 0 %23 = load i32, ptr %3, align 4 %24 = call i32 @minmax(ptr noundef %22, i32 noundef %23, ptr noundef %4, ptr noundef %5) %25 = load i32, ptr %4, align 4 %26 = load i32, ptr %5, align 4 %27 = add nsw i32 %25, %26 store i32 %27, ptr %2, align 4 %28 = load i32, ptr %2, align 4 %29 = call i32 @printf(ptr noundef @.str, i32 noundef %28) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @minmax(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzod9yv1m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca [500 x i32], align 16 %7 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %3, align 4 store i32 0, ptr %4, align 4 store i32 0, ptr %5, align 4 store i32 0, ptr %7, align 4 %8 = call i32 @scanf(ptr noundef @.str, ptr noundef %3) store i32 0, ptr %7, align 4 %9 = load i32, ptr %7, align 4 %10 = load i32, ptr %3, align 4 %11 = icmp slt i32 %9, %10 br i1 %11, label %.lr.ph, label %23 .lr.ph: ; preds = %0 br label %12 12: ; preds = %.lr.ph, %17 %13 = load i32, ptr %7, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds [500 x i32], ptr %6, i64 0, i64 %14 %16 = call i32 @scanf(ptr noundef @.str, ptr noundef %15) br label %17 17: ; preds = %12 %18 = load i32, ptr %7, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %7, align 4 %20 = load i32, ptr %7, align 4 %21 = load i32, ptr %3, align 4 %22 = icmp slt i32 %20, %21 br i1 %22, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %17 br label %23 23: ; preds = %._crit_edge, %0 %24 = getelementptr inbounds [500 x i32], ptr %6, i64 0, i64 0 %25 = load i32, ptr %3, align 4 %26 = call i32 @minmax(ptr noundef %24, i32 noundef %25, ptr noundef %4, ptr noundef %5) %27 = load i32, ptr %4, align 4 %28 = load i32, ptr %5, align 4 %29 = add nsw i32 %27, %28 store i32 %29, ptr %2, align 4 %30 = load i32, ptr %2, align 4 %31 = call i32 @printf(ptr noundef @.str, i32 noundef %30) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @minmax(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp_0anth_g.c' source_filename = "/tmp/tmp_0anth_g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @bar(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = load double, ptr %2, align 8 %4 = call double @mysinfp(double noundef %3) ret double %4 } declare double @mysinfp(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_0anth_g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @bar(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = load double, ptr %2, align 8 %4 = call double @mysinfp(double noundef %3) ret double %4 } declare double @mysinfp(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp8523y5cr.c' source_filename = "/tmp/tmp8523y5cr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @sre_tolower(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = call i64 @isupper(i32 noundef %4) %6 = icmp ne i64 %5, 0 br i1 %6, label %7, label %10 7: ; preds = %1 %8 = load i32, ptr %3, align 4 %9 = call i32 @tolower(i32 noundef %8) #3 store i32 %9, ptr %2, align 4 br label %12 10: ; preds = %1 %11 = load i32, ptr %3, align 4 store i32 %11, ptr %2, align 4 br label %12 12: ; preds = %10, %7 %13 = load i32, ptr %2, align 4 ret i32 %13 } declare i64 @isupper(i32 noundef) #1 ; Function Attrs: nounwind willreturn memory(read) declare i32 @tolower(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind willreturn memory(read) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8523y5cr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @sre_tolower(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = call i64 @isupper(i32 noundef %4) %6 = icmp ne i64 %5, 0 br i1 %6, label %7, label %10 7: ; preds = %1 %8 = load i32, ptr %3, align 4 %9 = call i32 @tolower(i32 noundef %8) #3 store i32 %9, ptr %2, align 4 br label %12 10: ; preds = %1 %11 = load i32, ptr %3, align 4 store i32 %11, ptr %2, align 4 br label %12 12: ; preds = %10, %7 %13 = load i32, ptr %2, align 4 ret i32 %13 } declare i64 @isupper(i32 noundef) #1 ; Function Attrs: nounwind willreturn memory(read) declare i32 @tolower(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind willreturn memory(read) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpfq260ili.c' source_filename = "/tmp/tmpfq260ili.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ComparatorConfigure(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %7 = load i32, ptr %6, align 4 %8 = load i32, ptr %4, align 4 %9 = load i32, ptr %5, align 4 %10 = mul nsw i32 %9, 32 %11 = add nsw i32 %8, %10 %12 = add nsw i32 %11, 36 %13 = sext i32 %12 to i64 %14 = inttoptr i64 %13 to ptr store volatile i32 %7, ptr %14, align 4 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpfq260ili.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ComparatorConfigure(i32 noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %7 = load i32, ptr %6, align 4 %8 = load i32, ptr %4, align 4 %9 = load i32, ptr %5, align 4 %10 = mul nsw i32 %9, 32 %11 = add nsw i32 %8, %10 %12 = add nsw i32 %11, 36 %13 = sext i32 %12 to i64 %14 = inttoptr i64 %13 to ptr store volatile i32 %7, ptr %14, align 4 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpspmokd8x.c' source_filename = "/tmp/tmpspmokd8x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"NULL\0A\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"EVEN \00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"ODD \00", align 1 @.str.4 = private unnamed_addr constant [10 x i8] c"NEGATIVE\0A\00", align 1 @.str.5 = private unnamed_addr constant [10 x i8] c"POSITIVE\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) br label %5 5: ; preds = %31, %0 %6 = load i32, ptr %2, align 4 %7 = add nsw i32 %6, -1 store i32 %7, ptr %2, align 4 %8 = icmp sgt i32 %6, 0 br i1 %8, label %9, label %32 9: ; preds = %5 %10 = call i32 @scanf(ptr noundef @.str, ptr noundef %3) %11 = load i32, ptr %3, align 4 %12 = icmp eq i32 %11, 0 br i1 %12, label %13, label %15 13: ; preds = %9 %14 = call i32 @printf(ptr noundef @.str.1) br label %31 15: ; preds = %9 %16 = load i32, ptr %3, align 4 %17 = srem i32 %16, 2 %18 = icmp eq i32 %17, 0 br i1 %18, label %19, label %21 19: ; preds = %15 %20 = call i32 @printf(ptr noundef @.str.2) br label %23 21: ; preds = %15 %22 = call i32 @printf(ptr noundef @.str.3) br label %23 23: ; preds = %21, %19 %24 = load i32, ptr %3, align 4 %25 = icmp slt i32 %24, 0 br i1 %25, label %26, label %28 26: ; preds = %23 %27 = call i32 @printf(ptr noundef @.str.4) br label %30 28: ; preds = %23 %29 = call i32 @printf(ptr noundef @.str.5) br label %30 30: ; preds = %28, %26 br label %31 31: ; preds = %30, %13 br label %5, !llvm.loop !6 32: ; preds = %5 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpspmokd8x.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.1 = private unnamed_addr constant [6 x i8] c"NULL\0A\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"EVEN \00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"ODD \00", align 1 @.str.4 = private unnamed_addr constant [10 x i8] c"NEGATIVE\0A\00", align 1 @.str.5 = private unnamed_addr constant [10 x i8] c"POSITIVE\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 0, ptr %1, align 4 %4 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %5 = load i32, ptr %2, align 4 %6 = add nsw i32 %5, -1 store i32 %6, ptr %2, align 4 %7 = icmp sgt i32 %5, 0 br i1 %7, label %.lr.ph, label %34 .lr.ph: ; preds = %0 br label %8 8: ; preds = %.lr.ph, %30 %9 = call i32 @scanf(ptr noundef @.str, ptr noundef %3) %10 = load i32, ptr %3, align 4 %11 = icmp eq i32 %10, 0 br i1 %11, label %12, label %14 12: ; preds = %8 %13 = call i32 @printf(ptr noundef @.str.1) br label %30 14: ; preds = %8 %15 = load i32, ptr %3, align 4 %16 = srem i32 %15, 2 %17 = icmp eq i32 %16, 0 br i1 %17, label %18, label %20 18: ; preds = %14 %19 = call i32 @printf(ptr noundef @.str.2) br label %22 20: ; preds = %14 %21 = call i32 @printf(ptr noundef @.str.3) br label %22 22: ; preds = %20, %18 %23 = load i32, ptr %3, align 4 %24 = icmp slt i32 %23, 0 br i1 %24, label %25, label %27 25: ; preds = %22 %26 = call i32 @printf(ptr noundef @.str.4) br label %29 27: ; preds = %22 %28 = call i32 @printf(ptr noundef @.str.5) br label %29 29: ; preds = %27, %25 br label %30 30: ; preds = %29, %12 %31 = load i32, ptr %2, align 4 %32 = add nsw i32 %31, -1 store i32 %32, ptr %2, align 4 %33 = icmp sgt i32 %31, 0 br i1 %33, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %30 br label %34 34: ; preds = %._crit_edge, %0 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpb95dy9i1.c' source_filename = "/tmp/tmpb95dy9i1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpb95dy9i1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_zu4n26v.c' source_filename = "/tmp/tmp_zu4n26v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.msghdr = type { i32, i32, ptr, i32, ptr, i64, ptr } %struct.iovec = type { i32, ptr } %struct.cmsghdr = type { i64, i64, i64 } @.str = private unnamed_addr constant [23 x i8] c"Error receiving packet\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c"Null control message\00", align 1 @IPPROTO_IP = dso_local global i64 0, align 8 @IP_TOS = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @receive_packet(i32 noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca %struct.msghdr, align 8 %12 = alloca %struct.iovec, align 8 %13 = alloca ptr, align 8 %14 = alloca i64, align 8 %15 = alloca ptr, align 8 %16 = alloca i32, align 4 store i32 %0, ptr %6, align 4 store ptr %1, ptr %7, align 8 store i32 %2, ptr %8, align 4 store ptr %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 %17 = call i32 @CMSG_SPACE(i32 noundef 100) %18 = zext i32 %17 to i64 %19 = call ptr @llvm.stacksave() store ptr %19, ptr %13, align 8 %20 = alloca i8, i64 %18, align 16 store i64 %18, ptr %14, align 8 %21 = load ptr, ptr %7, align 8 %22 = getelementptr inbounds %struct.iovec, ptr %12, i32 0, i32 1 store ptr %21, ptr %22, align 8 %23 = load i32, ptr %8, align 4 %24 = getelementptr inbounds %struct.iovec, ptr %12, i32 0, i32 0 store i32 %23, ptr %24, align 8 %25 = getelementptr inbounds %struct.msghdr, ptr %11, i32 0, i32 6 store ptr %12, ptr %25, align 8 %26 = getelementptr inbounds %struct.msghdr, ptr %11, i32 0, i32 0 store i32 1, ptr %26, align 8 %27 = getelementptr inbounds %struct.msghdr, ptr %11, i32 0, i32 5 store i64 0, ptr %27, align 8 %28 = load ptr, ptr %9, align 8 %29 = getelementptr inbounds %struct.msghdr, ptr %11, i32 0, i32 4 store ptr %28, ptr %29, align 8 %30 = getelementptr inbounds %struct.msghdr, ptr %11, i32 0, i32 1 store i32 4, ptr %30, align 4 %31 = getelementptr inbounds %struct.msghdr, ptr %11, i32 0, i32 2 store ptr %20, ptr %31, align 8 %32 = trunc i64 %18 to i32 %33 = getelementptr inbounds %struct.msghdr, ptr %11, i32 0, i32 3 store i32 %32, ptr %33, align 8 %34 = load i32, ptr %6, align 4 %35 = call i32 @recvmsg(i32 noundef %34, ptr noundef %11, i32 noundef 0) store i32 %35, ptr %16, align 4 %36 = load i32, ptr %16, align 4 %37 = icmp slt i32 %36, 0 br i1 %37, label %38, label %41 38: ; preds = %5 %39 = call i32 @perror(ptr noundef @.str) %40 = call i32 @exit(i32 noundef 1) #4 unreachable 41: ; preds = %5 %42 = load ptr, ptr %10, align 8 %43 = icmp ne ptr %42, null br i1 %43, label %44, label %46 44: ; preds = %41 %45 = load ptr, ptr %10, align 8 store i32 0, ptr %45, align 4 br label %46 46: ; preds = %44, %41 store ptr %20, ptr %15, align 8 %47 = call ptr @CMSG_FIRSTHDR(ptr noundef %11) store ptr %47, ptr %15, align 8 br label %48 48: ; preds = %82, %46 %49 = load ptr, ptr %15, align 8 %50 = icmp ne ptr %49, null br i1 %50, label %51, label %85 51: ; preds = %48 %52 = load ptr, ptr %15, align 8 %53 = getelementptr inbounds %struct.cmsghdr, ptr %52, i32 0, i32 0 %54 = load i64, ptr %53, align 8 %55 = icmp eq i64 %54, 0 br i1 %55, label %56, label %59 56: ; preds = %51 %57 = call i32 @perror(ptr noundef @.str.1) %58 = call i32 @exit(i32 noundef 1) #4 unreachable 59: ; preds = %51 %60 = load ptr, ptr %15, align 8 %61 = getelementptr inbounds %struct.cmsghdr, ptr %60, i32 0, i32 1 %62 = load i64, ptr %61, align 8 %63 = load i64, ptr @IPPROTO_IP, align 8 %64 = icmp eq i64 %62, %63 br i1 %64, label %65, label %81 65: ; preds = %59 %66 = load ptr, ptr %15, align 8 %67 = getelementptr inbounds %struct.cmsghdr, ptr %66, i32 0, i32 2 %68 = load i64, ptr %67, align 8 %69 = load i64, ptr @IP_TOS, align 8 %70 = icmp eq i64 %68, %69 br i1 %70, label %71, label %81 71: ; preds = %65 %72 = load ptr, ptr %10, align 8 %73 = icmp ne ptr %72, null br i1 %73, label %74, label %80 74: ; preds = %71 %75 = load ptr, ptr %15, align 8 %76 = call ptr @CMSG_DATA(ptr noundef %75) %77 = getelementptr inbounds i32, ptr %76, i64 0 %78 = load i32, ptr %77, align 4 %79 = load ptr, ptr %10, align 8 store i32 %78, ptr %79, align 4 br label %80 80: ; preds = %74, %71 br label %81 81: ; preds = %80, %65, %59 br label %82 82: ; preds = %81 %83 = load ptr, ptr %15, align 8 %84 = call ptr @CMSG_NXTHDR(ptr noundef %11, ptr noundef %83) store ptr %84, ptr %15, align 8 br label %48, !llvm.loop !6 85: ; preds = %48 %86 = load i32, ptr %16, align 4 %87 = load ptr, ptr %13, align 8 call void @llvm.stackrestore(ptr %87) ret i32 %86 } declare i32 @CMSG_SPACE(i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @recvmsg(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 declare ptr @CMSG_FIRSTHDR(ptr noundef) #1 declare ptr @CMSG_DATA(ptr noundef) #1 declare ptr @CMSG_NXTHDR(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_zu4n26v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.msghdr = type { i32, i32, ptr, i32, ptr, i64, ptr } %struct.iovec = type { i32, ptr } %struct.cmsghdr = type { i64, i64, i64 } @.str = private unnamed_addr constant [23 x i8] c"Error receiving packet\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c"Null control message\00", align 1 @IPPROTO_IP = dso_local global i64 0, align 8 @IP_TOS = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @receive_packet(i32 noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4) #0 { %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca %struct.msghdr, align 8 %12 = alloca %struct.iovec, align 8 %13 = alloca ptr, align 8 %14 = alloca i64, align 8 %15 = alloca ptr, align 8 %16 = alloca i32, align 4 store i32 %0, ptr %6, align 4 store ptr %1, ptr %7, align 8 store i32 %2, ptr %8, align 4 store ptr %3, ptr %9, align 8 store ptr %4, ptr %10, align 8 %17 = call i32 @CMSG_SPACE(i32 noundef 100) %18 = zext i32 %17 to i64 %19 = call ptr @llvm.stacksave() store ptr %19, ptr %13, align 8 %20 = alloca i8, i64 %18, align 16 store i64 %18, ptr %14, align 8 %21 = load ptr, ptr %7, align 8 %22 = getelementptr inbounds %struct.iovec, ptr %12, i32 0, i32 1 store ptr %21, ptr %22, align 8 %23 = load i32, ptr %8, align 4 %24 = getelementptr inbounds %struct.iovec, ptr %12, i32 0, i32 0 store i32 %23, ptr %24, align 8 %25 = getelementptr inbounds %struct.msghdr, ptr %11, i32 0, i32 6 store ptr %12, ptr %25, align 8 %26 = getelementptr inbounds %struct.msghdr, ptr %11, i32 0, i32 0 store i32 1, ptr %26, align 8 %27 = getelementptr inbounds %struct.msghdr, ptr %11, i32 0, i32 5 store i64 0, ptr %27, align 8 %28 = load ptr, ptr %9, align 8 %29 = getelementptr inbounds %struct.msghdr, ptr %11, i32 0, i32 4 store ptr %28, ptr %29, align 8 %30 = getelementptr inbounds %struct.msghdr, ptr %11, i32 0, i32 1 store i32 4, ptr %30, align 4 %31 = getelementptr inbounds %struct.msghdr, ptr %11, i32 0, i32 2 store ptr %20, ptr %31, align 8 %32 = trunc i64 %18 to i32 %33 = getelementptr inbounds %struct.msghdr, ptr %11, i32 0, i32 3 store i32 %32, ptr %33, align 8 %34 = load i32, ptr %6, align 4 %35 = call i32 @recvmsg(i32 noundef %34, ptr noundef %11, i32 noundef 0) store i32 %35, ptr %16, align 4 %36 = load i32, ptr %16, align 4 %37 = icmp slt i32 %36, 0 br i1 %37, label %38, label %41 38: ; preds = %5 %39 = call i32 @perror(ptr noundef @.str) %40 = call i32 @exit(i32 noundef 1) #4 unreachable 41: ; preds = %5 %42 = load ptr, ptr %10, align 8 %43 = icmp ne ptr %42, null br i1 %43, label %44, label %46 44: ; preds = %41 %45 = load ptr, ptr %10, align 8 store i32 0, ptr %45, align 4 br label %46 46: ; preds = %44, %41 store ptr %20, ptr %15, align 8 %47 = call ptr @CMSG_FIRSTHDR(ptr noundef %11) store ptr %47, ptr %15, align 8 %48 = load ptr, ptr %15, align 8 %49 = icmp ne ptr %48, null br i1 %49, label %.lr.ph, label %86 .lr.ph: ; preds = %46 br label %50 50: ; preds = %.lr.ph, %81 %51 = load ptr, ptr %15, align 8 %52 = getelementptr inbounds %struct.cmsghdr, ptr %51, i32 0, i32 0 %53 = load i64, ptr %52, align 8 %54 = icmp eq i64 %53, 0 br i1 %54, label %55, label %58 55: ; preds = %50 %56 = call i32 @perror(ptr noundef @.str.1) %57 = call i32 @exit(i32 noundef 1) #4 unreachable 58: ; preds = %50 %59 = load ptr, ptr %15, align 8 %60 = getelementptr inbounds %struct.cmsghdr, ptr %59, i32 0, i32 1 %61 = load i64, ptr %60, align 8 %62 = load i64, ptr @IPPROTO_IP, align 8 %63 = icmp eq i64 %61, %62 br i1 %63, label %64, label %80 64: ; preds = %58 %65 = load ptr, ptr %15, align 8 %66 = getelementptr inbounds %struct.cmsghdr, ptr %65, i32 0, i32 2 %67 = load i64, ptr %66, align 8 %68 = load i64, ptr @IP_TOS, align 8 %69 = icmp eq i64 %67, %68 br i1 %69, label %70, label %80 70: ; preds = %64 %71 = load ptr, ptr %10, align 8 %72 = icmp ne ptr %71, null br i1 %72, label %73, label %79 73: ; preds = %70 %74 = load ptr, ptr %15, align 8 %75 = call ptr @CMSG_DATA(ptr noundef %74) %76 = getelementptr inbounds i32, ptr %75, i64 0 %77 = load i32, ptr %76, align 4 %78 = load ptr, ptr %10, align 8 store i32 %77, ptr %78, align 4 br label %79 79: ; preds = %73, %70 br label %80 80: ; preds = %79, %64, %58 br label %81 81: ; preds = %80 %82 = load ptr, ptr %15, align 8 %83 = call ptr @CMSG_NXTHDR(ptr noundef %11, ptr noundef %82) store ptr %83, ptr %15, align 8 %84 = load ptr, ptr %15, align 8 %85 = icmp ne ptr %84, null br i1 %85, label %50, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %81 br label %86 86: ; preds = %._crit_edge, %46 %87 = load i32, ptr %16, align 4 %88 = load ptr, ptr %13, align 8 call void @llvm.stackrestore(ptr %88) ret i32 %87 } declare i32 @CMSG_SPACE(i32 noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #2 declare i32 @recvmsg(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 declare ptr @CMSG_FIRSTHDR(ptr noundef) #1 declare ptr @CMSG_DATA(ptr noundef) #1 declare ptr @CMSG_NXTHDR(ptr noundef, ptr noundef) #1 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nocallback nofree nosync nounwind willreturn } attributes #3 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp4yhms2rc.c' source_filename = "/tmp/tmp4yhms2rc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4yhms2rc.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpnuw4mcuy.c' source_filename = "/tmp/tmpnuw4mcuy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [14 x i8] c"ERROR %d: %s\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @exit_error(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = load i32, ptr @stderr, align 4 %6 = load i32, ptr %3, align 4 %7 = load ptr, ptr %4, align 8 %8 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str, i32 noundef %6, ptr noundef %7) %9 = load i32, ptr @EXIT_FAILURE, align 4 %10 = call i32 @exit(i32 noundef %9) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnuw4mcuy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [14 x i8] c"ERROR %d: %s\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @exit_error(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = load i32, ptr @stderr, align 4 %6 = load i32, ptr %3, align 4 %7 = load ptr, ptr %4, align 8 %8 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str, i32 noundef %6, ptr noundef %7) %9 = load i32, ptr @EXIT_FAILURE, align 4 %10 = call i32 @exit(i32 noundef %9) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpcqcbwjyj.c' source_filename = "/tmp/tmpcqcbwjyj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @__pruabi_isfinite(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = load double, ptr %2, align 8 %4 = call i32 @isfinite(double noundef %3) ret i32 %4 } declare i32 @isfinite(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcqcbwjyj.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @__pruabi_isfinite(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = load double, ptr %2, align 8 %4 = call i32 @isfinite(double noundef %3) ret i32 %4 } declare i32 @isfinite(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpipj7o31k.c' source_filename = "/tmp/tmpipj7o31k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @yahoo_f01_56(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %3, align 4 %7 = mul nsw i32 %6, 789016299 %8 = add nsw i32 %7, 23503 store i32 %8, ptr %5, align 4 %9 = load i32, ptr %5, align 4 %10 = load i32, ptr %4, align 4 %11 = call i32 @yahoo_M1Common(i32 noundef %9, i32 noundef %10) ret i32 %11 } declare i32 @yahoo_M1Common(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpipj7o31k.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @yahoo_f01_56(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %3, align 4 %7 = mul nsw i32 %6, 789016299 %8 = add nsw i32 %7, 23503 store i32 %8, ptr %5, align 4 %9 = load i32, ptr %5, align 4 %10 = load i32, ptr %4, align 4 %11 = call i32 @yahoo_M1Common(i32 noundef %9, i32 noundef %10) ret i32 %11 } declare i32 @yahoo_M1Common(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpae15tli_.c' source_filename = "/tmp/tmpae15tli_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpae15tli_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpt7_h9lck.c' source_filename = "/tmp/tmpt7_h9lck.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @strncpy(ptr noalias noundef %0, ptr noalias noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 %9 = load ptr, ptr %5, align 8 store ptr %9, ptr %8, align 8 %10 = load i64, ptr %7, align 8 %11 = icmp ne i64 %10, 0 br i1 %11, label %14, label %12 12: ; preds = %3 %13 = load ptr, ptr %5, align 8 store ptr %13, ptr %4, align 8 br label %44 14: ; preds = %3 %15 = load i64, ptr %7, align 8 %16 = add i64 %15, 1 store i64 %16, ptr %7, align 8 br label %17 17: ; preds = %28, %14 %18 = load i64, ptr %7, align 8 %19 = add i64 %18, -1 store i64 %19, ptr %7, align 8 %20 = icmp ne i64 %19, 0 br i1 %20, label %21, label %26 21: ; preds = %17 %22 = load ptr, ptr %6, align 8 %23 = load i8, ptr %22, align 1 %24 = sext i8 %23 to i32 %25 = icmp ne i32 %24, 0 br label %26 26: ; preds = %21, %17 %27 = phi i1 [ false, %17 ], [ %25, %21 ] br i1 %27, label %28, label %34 28: ; preds = %26 %29 = load ptr, ptr %6, align 8 %30 = getelementptr inbounds i8, ptr %29, i32 1 store ptr %30, ptr %6, align 8 %31 = load i8, ptr %29, align 1 %32 = load ptr, ptr %8, align 8 %33 = getelementptr inbounds i8, ptr %32, i32 1 store ptr %33, ptr %8, align 8 store i8 %31, ptr %32, align 1 br label %17, !llvm.loop !6 34: ; preds = %26 br label %35 35: ; preds = %39, %34 %36 = load i64, ptr %7, align 8 %37 = add i64 %36, -1 store i64 %37, ptr %7, align 8 %38 = icmp ne i64 %36, 0 br i1 %38, label %39, label %42 39: ; preds = %35 %40 = load ptr, ptr %8, align 8 %41 = getelementptr inbounds i8, ptr %40, i32 1 store ptr %41, ptr %8, align 8 store i8 0, ptr %40, align 1 br label %35, !llvm.loop !8 42: ; preds = %35 %43 = load ptr, ptr %5, align 8 store ptr %43, ptr %4, align 8 br label %44 44: ; preds = %42, %12 %45 = load ptr, ptr %4, align 8 ret ptr %45 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpt7_h9lck.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @strncpy(ptr noalias noundef %0, ptr noalias noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 %9 = load ptr, ptr %5, align 8 store ptr %9, ptr %8, align 8 %10 = load i64, ptr %7, align 8 %11 = icmp ne i64 %10, 0 br i1 %11, label %14, label %12 12: ; preds = %3 %13 = load ptr, ptr %5, align 8 store ptr %13, ptr %4, align 8 br label %46 14: ; preds = %3 %15 = load i64, ptr %7, align 8 %16 = add i64 %15, 1 store i64 %16, ptr %7, align 8 br label %17 17: ; preds = %28, %14 %18 = load i64, ptr %7, align 8 %19 = add i64 %18, -1 store i64 %19, ptr %7, align 8 %20 = icmp ne i64 %19, 0 br i1 %20, label %21, label %26 21: ; preds = %17 %22 = load ptr, ptr %6, align 8 %23 = load i8, ptr %22, align 1 %24 = sext i8 %23 to i32 %25 = icmp ne i32 %24, 0 br label %26 26: ; preds = %21, %17 %27 = phi i1 [ false, %17 ], [ %25, %21 ] br i1 %27, label %28, label %34 28: ; preds = %26 %29 = load ptr, ptr %6, align 8 %30 = getelementptr inbounds i8, ptr %29, i32 1 store ptr %30, ptr %6, align 8 %31 = load i8, ptr %29, align 1 %32 = load ptr, ptr %8, align 8 %33 = getelementptr inbounds i8, ptr %32, i32 1 store ptr %33, ptr %8, align 8 store i8 %31, ptr %32, align 1 br label %17, !llvm.loop !6 34: ; preds = %26 %35 = load i64, ptr %7, align 8 %36 = add i64 %35, -1 store i64 %36, ptr %7, align 8 %37 = icmp ne i64 %35, 0 br i1 %37, label %.lr.ph, label %44 .lr.ph: ; preds = %34 br label %38 38: ; preds = %.lr.ph, %38 %39 = load ptr, ptr %8, align 8 %40 = getelementptr inbounds i8, ptr %39, i32 1 store ptr %40, ptr %8, align 8 store i8 0, ptr %39, align 1 %41 = load i64, ptr %7, align 8 %42 = add i64 %41, -1 store i64 %42, ptr %7, align 8 %43 = icmp ne i64 %41, 0 br i1 %43, label %38, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %38 br label %44 44: ; preds = %._crit_edge, %34 %45 = load ptr, ptr %5, align 8 store ptr %45, ptr %4, align 8 br label %46 46: ; preds = %44, %12 %47 = load ptr, ptr %4, align 8 ret ptr %47 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpjvioz_34.c' source_filename = "/tmp/tmpjvioz_34.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isupper.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"isupper should be 0 for 0x98\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isupper_0x98() #0 { %1 = call i64 @isupper(i32 noundef 152) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 765, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isupper(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjvioz_34.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [168 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isupper.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"isupper should be 0 for 0x98\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isupper_0x98() #0 { %1 = call i64 @isupper(i32 noundef 152) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 765, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isupper(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp6qf27li9.c' source_filename = "/tmp/tmp6qf27li9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @OK = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @PDC_scr_close() #0 { %1 = load i32, ptr @OK, align 4 ret i32 %1 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp6qf27li9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @OK = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @PDC_scr_close() #0 { %1 = load i32, ptr @OK, align 4 ret i32 %1 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmporl8p2p3.c' source_filename = "/tmp/tmporl8p2p3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmporl8p2p3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpljsx4ze4.c' source_filename = "/tmp/tmpljsx4ze4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @nanotest_putchar(i8 noundef signext %0) #0 { %2 = alloca i8, align 1 store i8 %0, ptr %2, align 1 %3 = load i8, ptr %2, align 1 %4 = sext i8 %3 to i32 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpljsx4ze4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @nanotest_putchar(i8 noundef signext %0) #0 { %2 = alloca i8, align 1 store i8 %0, ptr %2, align 1 %3 = load i8, ptr %2, align 1 %4 = sext i8 %3 to i32 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpsr5t4pc4.c' source_filename = "/tmp/tmpsr5t4pc4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @mystrcasestr(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca [500 x i8], align 16 %7 = alloca [500 x i8], align 16 %8 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %9 = getelementptr inbounds [500 x i8], ptr %6, i64 0, i64 0 %10 = load ptr, ptr %4, align 8 %11 = call i32 @strcpy(ptr noundef %9, ptr noundef %10) %12 = getelementptr inbounds [500 x i8], ptr %7, i64 0, i64 0 %13 = load ptr, ptr %5, align 8 %14 = call i32 @strcpy(ptr noundef %12, ptr noundef %13) %15 = getelementptr inbounds [500 x i8], ptr %6, i64 0, i64 0 %16 = call i32 @string_toupper(ptr noundef %15) %17 = getelementptr inbounds [500 x i8], ptr %7, i64 0, i64 0 %18 = call i32 @string_toupper(ptr noundef %17) %19 = getelementptr inbounds [500 x i8], ptr %6, i64 0, i64 0 %20 = getelementptr inbounds [500 x i8], ptr %7, i64 0, i64 0 %21 = call ptr @strstr(ptr noundef %19, ptr noundef %20) store ptr %21, ptr %8, align 8 %22 = load ptr, ptr %8, align 8 %23 = icmp eq ptr %22, null br i1 %23, label %24, label %25 24: ; preds = %2 store ptr null, ptr %3, align 8 br label %33 25: ; preds = %2 %26 = load ptr, ptr %4, align 8 %27 = load ptr, ptr %8, align 8 %28 = getelementptr inbounds [500 x i8], ptr %6, i64 0, i64 0 %29 = ptrtoint ptr %27 to i64 %30 = ptrtoint ptr %28 to i64 %31 = sub i64 %29, %30 %32 = getelementptr inbounds i8, ptr %26, i64 %31 store ptr %32, ptr %3, align 8 br label %33 33: ; preds = %25, %24 %34 = load ptr, ptr %3, align 8 ret ptr %34 } declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @string_toupper(ptr noundef) #1 declare ptr @strstr(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsr5t4pc4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @mystrcasestr(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca [500 x i8], align 16 %7 = alloca [500 x i8], align 16 %8 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %9 = getelementptr inbounds [500 x i8], ptr %6, i64 0, i64 0 %10 = load ptr, ptr %4, align 8 %11 = call i32 @strcpy(ptr noundef %9, ptr noundef %10) %12 = getelementptr inbounds [500 x i8], ptr %7, i64 0, i64 0 %13 = load ptr, ptr %5, align 8 %14 = call i32 @strcpy(ptr noundef %12, ptr noundef %13) %15 = getelementptr inbounds [500 x i8], ptr %6, i64 0, i64 0 %16 = call i32 @string_toupper(ptr noundef %15) %17 = getelementptr inbounds [500 x i8], ptr %7, i64 0, i64 0 %18 = call i32 @string_toupper(ptr noundef %17) %19 = getelementptr inbounds [500 x i8], ptr %6, i64 0, i64 0 %20 = getelementptr inbounds [500 x i8], ptr %7, i64 0, i64 0 %21 = call ptr @strstr(ptr noundef %19, ptr noundef %20) store ptr %21, ptr %8, align 8 %22 = load ptr, ptr %8, align 8 %23 = icmp eq ptr %22, null br i1 %23, label %24, label %25 24: ; preds = %2 store ptr null, ptr %3, align 8 br label %33 25: ; preds = %2 %26 = load ptr, ptr %4, align 8 %27 = load ptr, ptr %8, align 8 %28 = getelementptr inbounds [500 x i8], ptr %6, i64 0, i64 0 %29 = ptrtoint ptr %27 to i64 %30 = ptrtoint ptr %28 to i64 %31 = sub i64 %29, %30 %32 = getelementptr inbounds i8, ptr %26, i64 %31 store ptr %32, ptr %3, align 8 br label %33 33: ; preds = %25, %24 %34 = load ptr, ptr %3, align 8 ret ptr %34 } declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @string_toupper(ptr noundef) #1 declare ptr @strstr(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmphgku1acq.c' source_filename = "/tmp/tmphgku1acq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @B115200 = dso_local global i32 0, align 4 @B19200 = dso_local global i32 0, align 4 @B38400 = dso_local global i32 0, align 4 @B57600 = dso_local global i32 0, align 4 @B9600 = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphgku1acq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @B115200 = dso_local global i32 0, align 4 @B19200 = dso_local global i32 0, align 4 @B38400 = dso_local global i32 0, align 4 @B57600 = dso_local global i32 0, align 4 @B9600 = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpbw59wd3g.c' source_filename = "/tmp/tmpbw59wd3g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @O_RDONLY = dso_local global i32 0, align 4 @SEEK_SET = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @getbootfilecsum(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %6 = load ptr, ptr %2, align 8 %7 = load i32, ptr @O_RDONLY, align 4 %8 = call i32 @open(ptr noundef %6, i32 noundef %7) store i32 %8, ptr %5, align 4 %9 = load i32, ptr %5, align 4 %10 = icmp ne i32 %9, -1 %11 = zext i1 %10 to i32 %12 = call i32 @assert(i32 noundef %11) %13 = load i32, ptr %5, align 4 %14 = load i32, ptr @SEEK_SET, align 4 %15 = call i32 @lseek(i32 noundef %13, i32 noundef 64, i32 noundef %14) store i32 0, ptr %4, align 4 br label %16 16: ; preds = %20, %1 %17 = load i32, ptr %5, align 4 %18 = call i32 @read(i32 noundef %17, ptr noundef %3, i32 noundef 4) %19 = icmp eq i32 %18, 4 br i1 %19, label %20, label %24 20: ; preds = %16 %21 = load i32, ptr %3, align 4 %22 = load i32, ptr %4, align 4 %23 = add nsw i32 %22, %21 store i32 %23, ptr %4, align 4 br label %16, !llvm.loop !6 24: ; preds = %16 %25 = load i32, ptr %5, align 4 %26 = call i32 @close(i32 noundef %25) %27 = load i32, ptr %4, align 4 ret i32 %27 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @assert(i32 noundef) #1 declare i32 @lseek(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpbw59wd3g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @O_RDONLY = dso_local global i32 0, align 4 @SEEK_SET = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @getbootfilecsum(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %6 = load ptr, ptr %2, align 8 %7 = load i32, ptr @O_RDONLY, align 4 %8 = call i32 @open(ptr noundef %6, i32 noundef %7) store i32 %8, ptr %5, align 4 %9 = load i32, ptr %5, align 4 %10 = icmp ne i32 %9, -1 %11 = zext i1 %10 to i32 %12 = call i32 @assert(i32 noundef %11) %13 = load i32, ptr %5, align 4 %14 = load i32, ptr @SEEK_SET, align 4 %15 = call i32 @lseek(i32 noundef %13, i32 noundef 64, i32 noundef %14) store i32 0, ptr %4, align 4 %16 = load i32, ptr %5, align 4 %17 = call i32 @read(i32 noundef %16, ptr noundef %3, i32 noundef 4) %18 = icmp eq i32 %17, 4 br i1 %18, label %.lr.ph, label %26 .lr.ph: ; preds = %1 br label %19 19: ; preds = %.lr.ph, %19 %20 = load i32, ptr %3, align 4 %21 = load i32, ptr %4, align 4 %22 = add nsw i32 %21, %20 store i32 %22, ptr %4, align 4 %23 = load i32, ptr %5, align 4 %24 = call i32 @read(i32 noundef %23, ptr noundef %3, i32 noundef 4) %25 = icmp eq i32 %24, 4 br i1 %25, label %19, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %19 br label %26 26: ; preds = %._crit_edge, %1 %27 = load i32, ptr %5, align 4 %28 = call i32 @close(i32 noundef %27) %29 = load i32, ptr %4, align 4 ret i32 %29 } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @assert(i32 noundef) #1 declare i32 @lseek(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @read(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmph31_lb0c.c' source_filename = "/tmp/tmph31_lb0c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @GL_MODELVIEW = dso_local global i32 0, align 4 @GL_PROJECTION = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @Reshape(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = call i32 @glViewport(i32 noundef 0, i32 noundef 0, i32 noundef %5, i32 noundef %6) %8 = load i32, ptr @GL_MODELVIEW, align 4 %9 = call i32 @glMatrixMode(i32 noundef %8) %10 = call i32 (...) @glLoadIdentity() %11 = load i32, ptr @GL_PROJECTION, align 4 %12 = call i32 @glMatrixMode(i32 noundef %11) %13 = call i32 (...) @glLoadIdentity() %14 = call i32 @gluLookAt(i32 noundef 400, i32 noundef 300, i32 noundef 0, i32 noundef 400, i32 noundef 300, i32 noundef 0, i32 noundef 0, i32 noundef 1, i32 noundef 0) ret void } declare i32 @glViewport(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @glMatrixMode(i32 noundef) #1 declare i32 @glLoadIdentity(...) #1 declare i32 @gluLookAt(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmph31_lb0c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @GL_MODELVIEW = dso_local global i32 0, align 4 @GL_PROJECTION = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @Reshape(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %3, align 4 %6 = load i32, ptr %4, align 4 %7 = call i32 @glViewport(i32 noundef 0, i32 noundef 0, i32 noundef %5, i32 noundef %6) %8 = load i32, ptr @GL_MODELVIEW, align 4 %9 = call i32 @glMatrixMode(i32 noundef %8) %10 = call i32 (...) @glLoadIdentity() %11 = load i32, ptr @GL_PROJECTION, align 4 %12 = call i32 @glMatrixMode(i32 noundef %11) %13 = call i32 (...) @glLoadIdentity() %14 = call i32 @gluLookAt(i32 noundef 400, i32 noundef 300, i32 noundef 0, i32 noundef 400, i32 noundef 300, i32 noundef 0, i32 noundef 0, i32 noundef 1, i32 noundef 0) ret void } declare i32 @glViewport(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @glMatrixMode(i32 noundef) #1 declare i32 @glLoadIdentity(...) #1 declare i32 @gluLookAt(i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp9atwjamd.c' source_filename = "/tmp/tmp9atwjamd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @datetime_to_string(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr null, ptr %6, align 8 store ptr null, ptr %8, align 8 %9 = call i64 @calloc(i32 noundef 30, i32 noundef 1) %10 = inttoptr i64 %9 to ptr store ptr %10, ptr %6, align 8 %11 = load ptr, ptr %6, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %14, label %13 13: ; preds = %2 store ptr null, ptr %3, align 8 br label %22 14: ; preds = %2 %15 = load i32, ptr %4, align 4 store i32 %15, ptr %7, align 4 %16 = call ptr @localtime(ptr noundef %7) store ptr %16, ptr %8, align 8 %17 = load ptr, ptr %6, align 8 %18 = load ptr, ptr %5, align 8 %19 = load ptr, ptr %8, align 8 %20 = call i32 @strftime(ptr noundef %17, i32 noundef 30, ptr noundef %18, ptr noundef %19) %21 = load ptr, ptr %6, align 8 store ptr %21, ptr %3, align 8 br label %22 22: ; preds = %14, %13 %23 = load ptr, ptr %3, align 8 ret ptr %23 } declare i64 @calloc(i32 noundef, i32 noundef) #1 declare ptr @localtime(ptr noundef) #1 declare i32 @strftime(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9atwjamd.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @datetime_to_string(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr null, ptr %6, align 8 store ptr null, ptr %8, align 8 %9 = call i64 @calloc(i32 noundef 30, i32 noundef 1) %10 = inttoptr i64 %9 to ptr store ptr %10, ptr %6, align 8 %11 = load ptr, ptr %6, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %14, label %13 13: ; preds = %2 store ptr null, ptr %3, align 8 br label %22 14: ; preds = %2 %15 = load i32, ptr %4, align 4 store i32 %15, ptr %7, align 4 %16 = call ptr @localtime(ptr noundef %7) store ptr %16, ptr %8, align 8 %17 = load ptr, ptr %6, align 8 %18 = load ptr, ptr %5, align 8 %19 = load ptr, ptr %8, align 8 %20 = call i32 @strftime(ptr noundef %17, i32 noundef 30, ptr noundef %18, ptr noundef %19) %21 = load ptr, ptr %6, align 8 store ptr %21, ptr %3, align 8 br label %22 22: ; preds = %14, %13 %23 = load ptr, ptr %3, align 8 ret ptr %23 } declare i64 @calloc(i32 noundef, i32 noundef) #1 declare ptr @localtime(ptr noundef) #1 declare i32 @strftime(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp570h5poq.c' source_filename = "/tmp/tmp570h5poq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"ASLR [%s]\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"ON\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"OFF\00", align 1 @.str.3 = private unnamed_addr constant [11 x i8] c"NX [%s]\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 (...) @sectests() store i32 %3, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = and i32 %4, 1 %6 = icmp ne i32 %5, 0 %7 = zext i1 %6 to i64 %8 = select i1 %6, ptr @.str.1, ptr @.str.2 %9 = call i32 @printf(ptr noundef @.str, ptr noundef %8) %10 = load i32, ptr %2, align 4 %11 = and i32 %10, 2 %12 = icmp ne i32 %11, 0 %13 = zext i1 %12 to i64 %14 = select i1 %12, ptr @.str.1, ptr @.str.2 %15 = call i32 @printf(ptr noundef @.str.3, ptr noundef %14) ret i32 0 } declare i32 @sectests(...) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp570h5poq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [11 x i8] c"ASLR [%s]\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"ON\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"OFF\00", align 1 @.str.3 = private unnamed_addr constant [11 x i8] c"NX [%s]\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 (...) @sectests() store i32 %3, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = and i32 %4, 1 %6 = icmp ne i32 %5, 0 %7 = zext i1 %6 to i64 %8 = select i1 %6, ptr @.str.1, ptr @.str.2 %9 = call i32 @printf(ptr noundef @.str, ptr noundef %8) %10 = load i32, ptr %2, align 4 %11 = and i32 %10, 2 %12 = icmp ne i32 %11, 0 %13 = zext i1 %12 to i64 %14 = select i1 %12, ptr @.str.1, ptr @.str.2 %15 = call i32 @printf(ptr noundef @.str.3, ptr noundef %14) ret i32 0 } declare i32 @sectests(...) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_c2d3tej.c' source_filename = "/tmp/tmp_c2d3tej.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i32, i32, %struct.TYPE_2__ } %struct.TYPE_2__ = type { i32 } %struct.hostent = type { i32, i32 } @AF_INET = dso_local global i32 0, align 4 @PF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @F_SETFL = dso_local global i32 0, align 4 @O_NONBLOCK = dso_local global i32 0, align 4 @F_GETFL = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @getconnect(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca %struct.sockaddr_in, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %9 = load ptr, ptr %4, align 8 %10 = call ptr @gethostbyname(ptr noundef %9) store ptr %10, ptr %7, align 8 %11 = icmp eq ptr %10, null br i1 %11, label %12, label %17 12: ; preds = %2 %13 = load ptr, ptr %4, align 8 %14 = call i32 @inet_addr(ptr noundef %13) %15 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 2 %16 = getelementptr inbounds %struct.TYPE_2__, ptr %15, i32 0, i32 0 store i32 %14, ptr %16, align 4 br label %27 17: ; preds = %2 %18 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 2 %19 = getelementptr inbounds %struct.TYPE_2__, ptr %18, i32 0, i32 0 %20 = load ptr, ptr %7, align 8 %21 = getelementptr inbounds %struct.hostent, ptr %20, i32 0, i32 1 %22 = load i32, ptr %21, align 4 %23 = load ptr, ptr %7, align 8 %24 = getelementptr inbounds %struct.hostent, ptr %23, i32 0, i32 0 %25 = load i32, ptr %24, align 4 %26 = call i32 @memcpy(ptr noundef %19, i32 noundef %22, i32 noundef %25) br label %27 27: ; preds = %17, %12 %28 = load i32, ptr @AF_INET, align 4 %29 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 1 store i32 %28, ptr %29, align 4 %30 = load i32, ptr %5, align 4 %31 = call i32 @htons(i32 noundef %30) %32 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 0 store i32 %31, ptr %32, align 4 %33 = load i32, ptr @PF_INET, align 4 %34 = load i32, ptr @SOCK_STREAM, align 4 %35 = call i32 @socket(i32 noundef %33, i32 noundef %34, i32 noundef 0) store i32 %35, ptr %8, align 4 %36 = load i32, ptr %8, align 4 %37 = icmp slt i32 %36, 0 br i1 %37, label %38, label %39 38: ; preds = %27 store i32 -1, ptr %3, align 4 br label %56 39: ; preds = %27 %40 = load i32, ptr %8, align 4 %41 = call i64 @connect(i32 noundef %40, ptr noundef %6, i32 noundef 12) %42 = icmp ne i64 %41, 0 br i1 %42, label %43, label %46 43: ; preds = %39 %44 = load i32, ptr %8, align 4 %45 = call i32 @close(i32 noundef %44) store i32 -1, ptr %3, align 4 br label %56 46: ; preds = %39 %47 = load i32, ptr %8, align 4 %48 = load i32, ptr @F_SETFL, align 4 %49 = load i32, ptr @O_NONBLOCK, align 4 %50 = load i32, ptr %8, align 4 %51 = load i32, ptr @F_GETFL, align 4 %52 = call i32 (i32, i32, ...) @fcntl(i32 noundef %50, i32 noundef %51) %53 = or i32 %49, %52 %54 = call i32 (i32, i32, ...) @fcntl(i32 noundef %47, i32 noundef %48, i32 noundef %53) %55 = load i32, ptr %8, align 4 store i32 %55, ptr %3, align 4 br label %56 56: ; preds = %46, %43, %38 %57 = load i32, ptr %3, align 4 ret i32 %57 } declare ptr @gethostbyname(ptr noundef) #1 declare i32 @inet_addr(ptr noundef) #1 declare i32 @memcpy(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @htons(i32 noundef) #1 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i64 @connect(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @fcntl(i32 noundef, i32 noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_c2d3tej.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i32, i32, %struct.TYPE_2__ } %struct.TYPE_2__ = type { i32 } %struct.hostent = type { i32, i32 } @AF_INET = dso_local global i32 0, align 4 @PF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @F_SETFL = dso_local global i32 0, align 4 @O_NONBLOCK = dso_local global i32 0, align 4 @F_GETFL = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @getconnect(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca %struct.sockaddr_in, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %9 = load ptr, ptr %4, align 8 %10 = call ptr @gethostbyname(ptr noundef %9) store ptr %10, ptr %7, align 8 %11 = icmp eq ptr %10, null br i1 %11, label %12, label %17 12: ; preds = %2 %13 = load ptr, ptr %4, align 8 %14 = call i32 @inet_addr(ptr noundef %13) %15 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 2 %16 = getelementptr inbounds %struct.TYPE_2__, ptr %15, i32 0, i32 0 store i32 %14, ptr %16, align 4 br label %27 17: ; preds = %2 %18 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 2 %19 = getelementptr inbounds %struct.TYPE_2__, ptr %18, i32 0, i32 0 %20 = load ptr, ptr %7, align 8 %21 = getelementptr inbounds %struct.hostent, ptr %20, i32 0, i32 1 %22 = load i32, ptr %21, align 4 %23 = load ptr, ptr %7, align 8 %24 = getelementptr inbounds %struct.hostent, ptr %23, i32 0, i32 0 %25 = load i32, ptr %24, align 4 %26 = call i32 @memcpy(ptr noundef %19, i32 noundef %22, i32 noundef %25) br label %27 27: ; preds = %17, %12 %28 = load i32, ptr @AF_INET, align 4 %29 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 1 store i32 %28, ptr %29, align 4 %30 = load i32, ptr %5, align 4 %31 = call i32 @htons(i32 noundef %30) %32 = getelementptr inbounds %struct.sockaddr_in, ptr %6, i32 0, i32 0 store i32 %31, ptr %32, align 4 %33 = load i32, ptr @PF_INET, align 4 %34 = load i32, ptr @SOCK_STREAM, align 4 %35 = call i32 @socket(i32 noundef %33, i32 noundef %34, i32 noundef 0) store i32 %35, ptr %8, align 4 %36 = load i32, ptr %8, align 4 %37 = icmp slt i32 %36, 0 br i1 %37, label %38, label %39 38: ; preds = %27 store i32 -1, ptr %3, align 4 br label %56 39: ; preds = %27 %40 = load i32, ptr %8, align 4 %41 = call i64 @connect(i32 noundef %40, ptr noundef %6, i32 noundef 12) %42 = icmp ne i64 %41, 0 br i1 %42, label %43, label %46 43: ; preds = %39 %44 = load i32, ptr %8, align 4 %45 = call i32 @close(i32 noundef %44) store i32 -1, ptr %3, align 4 br label %56 46: ; preds = %39 %47 = load i32, ptr %8, align 4 %48 = load i32, ptr @F_SETFL, align 4 %49 = load i32, ptr @O_NONBLOCK, align 4 %50 = load i32, ptr %8, align 4 %51 = load i32, ptr @F_GETFL, align 4 %52 = call i32 (i32, i32, ...) @fcntl(i32 noundef %50, i32 noundef %51) %53 = or i32 %49, %52 %54 = call i32 (i32, i32, ...) @fcntl(i32 noundef %47, i32 noundef %48, i32 noundef %53) %55 = load i32, ptr %8, align 4 store i32 %55, ptr %3, align 4 br label %56 56: ; preds = %46, %43, %38 %57 = load i32, ptr %3, align 4 ret i32 %57 } declare ptr @gethostbyname(ptr noundef) #1 declare i32 @inet_addr(ptr noundef) #1 declare i32 @memcpy(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @htons(i32 noundef) #1 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i64 @connect(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @fcntl(i32 noundef, i32 noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpl6s40qas.c' source_filename = "/tmp/tmpl6s40qas.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i64 0, align 8 @.str = private unnamed_addr constant [20 x i8] c"Error closing file!\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @closeFile(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i64 @fclose(ptr noundef %3) %5 = load i64, ptr @EOF, align 8 %6 = icmp eq i64 %4, %5 br i1 %6, label %7, label %9 7: ; preds = %1 %8 = call i32 @error(ptr noundef @.str) br label %9 9: ; preds = %7, %1 ret void } declare i64 @fclose(ptr noundef) #1 declare i32 @error(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpl6s40qas.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EOF = dso_local global i64 0, align 8 @.str = private unnamed_addr constant [20 x i8] c"Error closing file!\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @closeFile(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i64 @fclose(ptr noundef %3) %5 = load i64, ptr @EOF, align 8 %6 = icmp eq i64 %4, %5 br i1 %6, label %7, label %9 7: ; preds = %1 %8 = call i32 @error(ptr noundef @.str) br label %9 9: ; preds = %7, %1 ret void } declare i64 @fclose(ptr noundef) #1 declare i32 @error(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpz9jmohwn.c' source_filename = "/tmp/tmpz9jmohwn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpz9jmohwn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpm9ya88zi.c' source_filename = "/tmp/tmpm9ya88zi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"%.18f\09%.18f\09%d\0A\00", align 1 @.str.1 = private unnamed_addr constant [16 x i8] c"integral_recur\0A\00", align 1 @.str.2 = private unnamed_addr constant [37 x i8] c" %10.2f usec %10.6f sec %10d\0A\00", align 1 @.str.3 = private unnamed_addr constant [14 x i8] c"integral_gen\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca [101 x double], align 16 %5 = alloca [101 x double], align 16 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca double, align 8 %13 = alloca i32, align 4 %14 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 store i32 100, ptr %3, align 4 %15 = load i32, ptr %2, align 4 %16 = load i32, ptr %3, align 4 %17 = getelementptr inbounds [101 x double], ptr %4, i64 0, i64 0 %18 = call i32 @integral_recur(i32 noundef %15, i32 noundef %16, ptr noundef %17) %19 = load i32, ptr %2, align 4 %20 = load i32, ptr %3, align 4 %21 = getelementptr inbounds [101 x double], ptr %5, i64 0, i64 0 %22 = call i32 @integral_gen(i32 noundef %19, i32 noundef %20, ptr noundef %21) store i32 0, ptr %6, align 4 %23 = load i32, ptr %2, align 4 store i32 %23, ptr %7, align 4 br label %24 24: ; preds = %41, %0 %25 = load i32, ptr %6, align 4 %26 = load i32, ptr %3, align 4 %27 = load i32, ptr %2, align 4 %28 = sub nsw i32 %26, %27 %29 = icmp sle i32 %25, %28 br i1 %29, label %30, label %46 30: ; preds = %24 %31 = load i32, ptr %6, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds [101 x double], ptr %4, i64 0, i64 %32 %34 = load double, ptr %33, align 8 %35 = load i32, ptr %6, align 4 %36 = sext i32 %35 to i64 %37 = getelementptr inbounds [101 x double], ptr %5, i64 0, i64 %36 %38 = load double, ptr %37, align 8 %39 = load i32, ptr %7, align 4 %40 = call i32 (ptr, ...) @printf(ptr noundef @.str, double noundef %34, double noundef %38, i32 noundef %39) br label %41 41: ; preds = %30 %42 = load i32, ptr %6, align 4 %43 = add nsw i32 %42, 1 store i32 %43, ptr %6, align 4 %44 = load i32, ptr %7, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %7, align 4 br label %24, !llvm.loop !6 46: ; preds = %24 store i32 10, ptr %8, align 4 store double 1.000000e+00, ptr %11, align 8 store double 2.000000e+00, ptr %12, align 8 %47 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %48 48: ; preds = %86, %46 %49 = call i32 (...) @timer_start() store i32 0, ptr %13, align 4 br label %50 50: ; preds = %59, %48 %51 = load i32, ptr %13, align 4 %52 = load i32, ptr %8, align 4 %53 = icmp sle i32 %51, %52 br i1 %53, label %54, label %62 54: ; preds = %50 %55 = load i32, ptr %2, align 4 %56 = load i32, ptr %3, align 4 %57 = getelementptr inbounds [101 x double], ptr %4, i64 0, i64 0 %58 = call i32 @integral_recur(i32 noundef %55, i32 noundef %56, ptr noundef %57) br label %59 59: ; preds = %54 %60 = load i32, ptr %13, align 4 %61 = add nsw i32 %60, 1 store i32 %61, ptr %13, align 4 br label %50, !llvm.loop !8 62: ; preds = %50 %63 = call double (...) @timer_stop() store double %63, ptr %9, align 8 %64 = load double, ptr %9, align 8 %65 = load i32, ptr %8, align 4 %66 = sitofp i32 %65 to double %67 = fdiv double %64, %66 store double %67, ptr %10, align 8 %68 = load double, ptr %10, align 8 %69 = fmul double %68, 1.000000e+06 %70 = load double, ptr %9, align 8 %71 = load i32, ptr %8, align 4 %72 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %69, double noundef %70, i32 noundef %71) %73 = load i32, ptr %8, align 4 %74 = load double, ptr %9, align 8 %75 = load double, ptr %11, align 8 %76 = load double, ptr %12, align 8 %77 = call i32 @adjust_rep_count(i32 noundef %73, double noundef %74, double noundef %75, double noundef %76) store i32 %77, ptr %8, align 4 br label %78 78: ; preds = %62 %79 = load double, ptr %9, align 8 %80 = load double, ptr %12, align 8 %81 = fcmp ogt double %79, %80 br i1 %81, label %86, label %82 82: ; preds = %78 %83 = load double, ptr %9, align 8 %84 = load double, ptr %11, align 8 %85 = fcmp olt double %83, %84 br label %86 86: ; preds = %82, %78 %87 = phi i1 [ true, %78 ], [ %85, %82 ] br i1 %87, label %48, label %88, !llvm.loop !9 88: ; preds = %86 %89 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) store i32 10, ptr %8, align 4 br label %90 90: ; preds = %128, %88 %91 = call i32 (...) @timer_start() store i32 0, ptr %14, align 4 br label %92 92: ; preds = %101, %90 %93 = load i32, ptr %14, align 4 %94 = load i32, ptr %8, align 4 %95 = icmp sle i32 %93, %94 br i1 %95, label %96, label %104 96: ; preds = %92 %97 = load i32, ptr %2, align 4 %98 = load i32, ptr %3, align 4 %99 = getelementptr inbounds [101 x double], ptr %5, i64 0, i64 0 %100 = call i32 @integral_gen(i32 noundef %97, i32 noundef %98, ptr noundef %99) br label %101 101: ; preds = %96 %102 = load i32, ptr %14, align 4 %103 = add nsw i32 %102, 1 store i32 %103, ptr %14, align 4 br label %92, !llvm.loop !10 104: ; preds = %92 %105 = call double (...) @timer_stop() store double %105, ptr %9, align 8 %106 = load double, ptr %9, align 8 %107 = load i32, ptr %8, align 4 %108 = sitofp i32 %107 to double %109 = fdiv double %106, %108 store double %109, ptr %10, align 8 %110 = load double, ptr %10, align 8 %111 = fmul double %110, 1.000000e+06 %112 = load double, ptr %9, align 8 %113 = load i32, ptr %8, align 4 %114 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %111, double noundef %112, i32 noundef %113) %115 = load i32, ptr %8, align 4 %116 = load double, ptr %9, align 8 %117 = load double, ptr %11, align 8 %118 = load double, ptr %12, align 8 %119 = call i32 @adjust_rep_count(i32 noundef %115, double noundef %116, double noundef %117, double noundef %118) store i32 %119, ptr %8, align 4 br label %120 120: ; preds = %104 %121 = load double, ptr %9, align 8 %122 = load double, ptr %12, align 8 %123 = fcmp ogt double %121, %122 br i1 %123, label %128, label %124 124: ; preds = %120 %125 = load double, ptr %9, align 8 %126 = load double, ptr %11, align 8 %127 = fcmp olt double %125, %126 br label %128 128: ; preds = %124, %120 %129 = phi i1 [ true, %120 ], [ %127, %124 ] br i1 %129, label %90, label %130, !llvm.loop !11 130: ; preds = %128 ret i32 0 } declare i32 @integral_recur(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @integral_gen(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @timer_start(...) #1 declare double @timer_stop(...) #1 declare i32 @adjust_rep_count(i32 noundef, double noundef, double noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpm9ya88zi.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [16 x i8] c"%.18f\09%.18f\09%d\0A\00", align 1 @.str.1 = private unnamed_addr constant [16 x i8] c"integral_recur\0A\00", align 1 @.str.2 = private unnamed_addr constant [37 x i8] c" %10.2f usec %10.6f sec %10d\0A\00", align 1 @.str.3 = private unnamed_addr constant [14 x i8] c"integral_gen\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca [101 x double], align 16 %5 = alloca [101 x double], align 16 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca double, align 8 %12 = alloca double, align 8 %13 = alloca i32, align 4 %14 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 store i32 100, ptr %3, align 4 %15 = load i32, ptr %2, align 4 %16 = load i32, ptr %3, align 4 %17 = getelementptr inbounds [101 x double], ptr %4, i64 0, i64 0 %18 = call i32 @integral_recur(i32 noundef %15, i32 noundef %16, ptr noundef %17) %19 = load i32, ptr %2, align 4 %20 = load i32, ptr %3, align 4 %21 = getelementptr inbounds [101 x double], ptr %5, i64 0, i64 0 %22 = call i32 @integral_gen(i32 noundef %19, i32 noundef %20, ptr noundef %21) store i32 0, ptr %6, align 4 %23 = load i32, ptr %2, align 4 store i32 %23, ptr %7, align 4 %24 = load i32, ptr %6, align 4 %25 = load i32, ptr %3, align 4 %26 = load i32, ptr %2, align 4 %27 = sub nsw i32 %25, %26 %28 = icmp sle i32 %24, %27 br i1 %28, label %.lr.ph, label %50 .lr.ph: ; preds = %0 br label %29 29: ; preds = %.lr.ph, %40 %30 = load i32, ptr %6, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds [101 x double], ptr %4, i64 0, i64 %31 %33 = load double, ptr %32, align 8 %34 = load i32, ptr %6, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds [101 x double], ptr %5, i64 0, i64 %35 %37 = load double, ptr %36, align 8 %38 = load i32, ptr %7, align 4 %39 = call i32 (ptr, ...) @printf(ptr noundef @.str, double noundef %33, double noundef %37, i32 noundef %38) br label %40 40: ; preds = %29 %41 = load i32, ptr %6, align 4 %42 = add nsw i32 %41, 1 store i32 %42, ptr %6, align 4 %43 = load i32, ptr %7, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %7, align 4 %45 = load i32, ptr %6, align 4 %46 = load i32, ptr %3, align 4 %47 = load i32, ptr %2, align 4 %48 = sub nsw i32 %46, %47 %49 = icmp sle i32 %45, %48 br i1 %49, label %29, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %40 br label %50 50: ; preds = %._crit_edge, %0 store i32 10, ptr %8, align 4 store double 1.000000e+00, ptr %11, align 8 store double 2.000000e+00, ptr %12, align 8 %51 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %52 52: ; preds = %92, %50 %53 = call i32 (...) @timer_start() store i32 0, ptr %13, align 4 %54 = load i32, ptr %13, align 4 %55 = load i32, ptr %8, align 4 %56 = icmp sle i32 %54, %55 br i1 %56, label %.lr.ph2, label %68 .lr.ph2: ; preds = %52 br label %57 57: ; preds = %.lr.ph2, %62 %58 = load i32, ptr %2, align 4 %59 = load i32, ptr %3, align 4 %60 = getelementptr inbounds [101 x double], ptr %4, i64 0, i64 0 %61 = call i32 @integral_recur(i32 noundef %58, i32 noundef %59, ptr noundef %60) br label %62 62: ; preds = %57 %63 = load i32, ptr %13, align 4 %64 = add nsw i32 %63, 1 store i32 %64, ptr %13, align 4 %65 = load i32, ptr %13, align 4 %66 = load i32, ptr %8, align 4 %67 = icmp sle i32 %65, %66 br i1 %67, label %57, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %62 br label %68 68: ; preds = %._crit_edge3, %52 %69 = call double (...) @timer_stop() store double %69, ptr %9, align 8 %70 = load double, ptr %9, align 8 %71 = load i32, ptr %8, align 4 %72 = sitofp i32 %71 to double %73 = fdiv double %70, %72 store double %73, ptr %10, align 8 %74 = load double, ptr %10, align 8 %75 = fmul double %74, 1.000000e+06 %76 = load double, ptr %9, align 8 %77 = load i32, ptr %8, align 4 %78 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %75, double noundef %76, i32 noundef %77) %79 = load i32, ptr %8, align 4 %80 = load double, ptr %9, align 8 %81 = load double, ptr %11, align 8 %82 = load double, ptr %12, align 8 %83 = call i32 @adjust_rep_count(i32 noundef %79, double noundef %80, double noundef %81, double noundef %82) store i32 %83, ptr %8, align 4 br label %84 84: ; preds = %68 %85 = load double, ptr %9, align 8 %86 = load double, ptr %12, align 8 %87 = fcmp ogt double %85, %86 br i1 %87, label %92, label %88 88: ; preds = %84 %89 = load double, ptr %9, align 8 %90 = load double, ptr %11, align 8 %91 = fcmp olt double %89, %90 br label %92 92: ; preds = %88, %84 %93 = phi i1 [ true, %84 ], [ %91, %88 ] br i1 %93, label %52, label %94, !llvm.loop !9 94: ; preds = %92 %95 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) store i32 10, ptr %8, align 4 br label %96 96: ; preds = %136, %94 %97 = call i32 (...) @timer_start() store i32 0, ptr %14, align 4 %98 = load i32, ptr %14, align 4 %99 = load i32, ptr %8, align 4 %100 = icmp sle i32 %98, %99 br i1 %100, label %.lr.ph5, label %112 .lr.ph5: ; preds = %96 br label %101 101: ; preds = %.lr.ph5, %106 %102 = load i32, ptr %2, align 4 %103 = load i32, ptr %3, align 4 %104 = getelementptr inbounds [101 x double], ptr %5, i64 0, i64 0 %105 = call i32 @integral_gen(i32 noundef %102, i32 noundef %103, ptr noundef %104) br label %106 106: ; preds = %101 %107 = load i32, ptr %14, align 4 %108 = add nsw i32 %107, 1 store i32 %108, ptr %14, align 4 %109 = load i32, ptr %14, align 4 %110 = load i32, ptr %8, align 4 %111 = icmp sle i32 %109, %110 br i1 %111, label %101, label %._crit_edge6, !llvm.loop !10 ._crit_edge6: ; preds = %106 br label %112 112: ; preds = %._crit_edge6, %96 %113 = call double (...) @timer_stop() store double %113, ptr %9, align 8 %114 = load double, ptr %9, align 8 %115 = load i32, ptr %8, align 4 %116 = sitofp i32 %115 to double %117 = fdiv double %114, %116 store double %117, ptr %10, align 8 %118 = load double, ptr %10, align 8 %119 = fmul double %118, 1.000000e+06 %120 = load double, ptr %9, align 8 %121 = load i32, ptr %8, align 4 %122 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %119, double noundef %120, i32 noundef %121) %123 = load i32, ptr %8, align 4 %124 = load double, ptr %9, align 8 %125 = load double, ptr %11, align 8 %126 = load double, ptr %12, align 8 %127 = call i32 @adjust_rep_count(i32 noundef %123, double noundef %124, double noundef %125, double noundef %126) store i32 %127, ptr %8, align 4 br label %128 128: ; preds = %112 %129 = load double, ptr %9, align 8 %130 = load double, ptr %12, align 8 %131 = fcmp ogt double %129, %130 br i1 %131, label %136, label %132 132: ; preds = %128 %133 = load double, ptr %9, align 8 %134 = load double, ptr %11, align 8 %135 = fcmp olt double %133, %134 br label %136 136: ; preds = %132, %128 %137 = phi i1 [ true, %128 ], [ %135, %132 ] br i1 %137, label %96, label %138, !llvm.loop !11 138: ; preds = %136 ret i32 0 } declare i32 @integral_recur(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @integral_gen(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @timer_start(...) #1 declare double @timer_stop(...) #1 declare i32 @adjust_rep_count(i32 noundef, double noundef, double noundef, double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7}
; ModuleID = '/tmp/tmpjgc7kb5b.c' source_filename = "/tmp/tmpjgc7kb5b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [26 x i8] c"Usage: %s <size> <steps>\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [45 x i8] c"Jacobi relaxation calculation: %d x %d mesh\0A\00", align 1 @.str.2 = private unnamed_addr constant [35 x i8] c"output is %lf\0Atime: %.3lf seconds\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca float, align 4 %12 = alloca float, align 4 %13 = alloca float, align 4 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %20 = load i32, ptr %4, align 4 %21 = icmp ne i32 %20, 3 br i1 %21, label %22, label %30 22: ; preds = %2 %23 = load i32, ptr @stderr, align 4 %24 = load ptr, ptr %5, align 8 %25 = getelementptr inbounds ptr, ptr %24, i64 0 %26 = load ptr, ptr %25, align 8 %27 = call i32 @fprintf(i32 noundef %23, ptr noundef @.str, ptr noundef %26) %28 = load i32, ptr @EXIT_FAILURE, align 4 %29 = call i32 @exit(i32 noundef %28) #4 unreachable 30: ; preds = %2 %31 = load ptr, ptr %5, align 8 %32 = getelementptr inbounds ptr, ptr %31, i64 1 %33 = load ptr, ptr %32, align 8 %34 = call i32 @atoi(ptr noundef %33) store i32 %34, ptr %6, align 4 %35 = load ptr, ptr %5, align 8 %36 = getelementptr inbounds ptr, ptr %35, i64 2 %37 = load ptr, ptr %36, align 8 %38 = call i32 @atoi(ptr noundef %37) store i32 %38, ptr %7, align 4 %39 = call float @asinf(float noundef 1.000000e+00) #5 %40 = fmul float 2.000000e+00, %39 store float %40, ptr %11, align 4 store float 0x3EE4F8B580000000, ptr %12, align 4 store float 1.000000e+00, ptr %13, align 4 %41 = load i32, ptr %6, align 4 %42 = load i32, ptr %6, align 4 %43 = mul nsw i32 %41, %42 %44 = call i64 @calloc(i32 noundef %43, i32 noundef 4) %45 = inttoptr i64 %44 to ptr store ptr %45, ptr %14, align 8 %46 = load i32, ptr %6, align 4 %47 = load i32, ptr %6, align 4 %48 = mul nsw i32 %46, %47 %49 = sext i32 %48 to i64 %50 = mul i64 %49, 4 %51 = trunc i64 %50 to i32 %52 = call i64 @malloc(i32 noundef %51) %53 = inttoptr i64 %52 to ptr store ptr %53, ptr %15, align 8 %54 = load i32, ptr %6, align 4 %55 = sext i32 %54 to i64 %56 = mul i64 %55, 4 %57 = trunc i64 %56 to i32 %58 = call i64 @malloc(i32 noundef %57) %59 = inttoptr i64 %58 to ptr store ptr %59, ptr %16, align 8 store i32 0, ptr %17, align 4 br label %60 60: ; preds = %78, %30 %61 = load i32, ptr %17, align 4 %62 = load i32, ptr %6, align 4 %63 = icmp slt i32 %61, %62 br i1 %63, label %64, label %81 64: ; preds = %60 %65 = load ptr, ptr %14, align 8 %66 = load i32, ptr %17, align 4 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds float, ptr %65, i64 %67 store float 0.000000e+00, ptr %68, align 4 %69 = load ptr, ptr %14, align 8 %70 = load i32, ptr %6, align 4 %71 = sub nsw i32 %70, 1 %72 = load i32, ptr %6, align 4 %73 = mul nsw i32 %71, %72 %74 = load i32, ptr %17, align 4 %75 = add nsw i32 %73, %74 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds float, ptr %69, i64 %76 store float 0.000000e+00, ptr %77, align 4 br label %78 78: ; preds = %64 %79 = load i32, ptr %17, align 4 %80 = add nsw i32 %79, 1 store i32 %80, ptr %17, align 4 br label %60, !llvm.loop !6 81: ; preds = %60 store i32 0, ptr %18, align 4 br label %82 82: ; preds = %129, %81 %83 = load i32, ptr %18, align 4 %84 = load i32, ptr %6, align 4 %85 = icmp slt i32 %83, %84 br i1 %85, label %86, label %132 86: ; preds = %82 %87 = load float, ptr %11, align 4 %88 = load i32, ptr %18, align 4 %89 = sitofp i32 %88 to float %90 = fmul float %87, %89 %91 = load i32, ptr %6, align 4 %92 = sub nsw i32 %91, 1 %93 = sitofp i32 %92 to float %94 = fdiv float %90, %93 %95 = call float @sinf(float noundef %94) #5 %96 = load ptr, ptr %16, align 8 %97 = load i32, ptr %18, align 4 %98 = sext i32 %97 to i64 %99 = getelementptr inbounds float, ptr %96, i64 %98 store float %95, ptr %99, align 4 %100 = load ptr, ptr %16, align 8 %101 = load i32, ptr %18, align 4 %102 = sext i32 %101 to i64 %103 = getelementptr inbounds float, ptr %100, i64 %102 %104 = load float, ptr %103, align 4 %105 = load ptr, ptr %14, align 8 %106 = load i32, ptr %18, align 4 %107 = load i32, ptr %6, align 4 %108 = mul nsw i32 %106, %107 %109 = sext i32 %108 to i64 %110 = getelementptr inbounds float, ptr %105, i64 %109 store float %104, ptr %110, align 4 %111 = load ptr, ptr %16, align 8 %112 = load i32, ptr %18, align 4 %113 = sext i32 %112 to i64 %114 = getelementptr inbounds float, ptr %111, i64 %113 %115 = load float, ptr %114, align 4 %116 = load float, ptr %11, align 4 %117 = fneg float %116 %118 = call float @expf(float noundef %117) #5 %119 = fmul float %115, %118 %120 = load ptr, ptr %14, align 8 %121 = load i32, ptr %18, align 4 %122 = load i32, ptr %6, align 4 %123 = mul nsw i32 %121, %122 %124 = load i32, ptr %6, align 4 %125 = add nsw i32 %123, %124 %126 = sub nsw i32 %125, 1 %127 = sext i32 %126 to i64 %128 = getelementptr inbounds float, ptr %120, i64 %127 store float %119, ptr %128, align 4 br label %129 129: ; preds = %86 %130 = load i32, ptr %18, align 4 %131 = add nsw i32 %130, 1 store i32 %131, ptr %18, align 4 br label %82, !llvm.loop !8 132: ; preds = %82 store i32 1, ptr %17, align 4 br label %133 133: ; preds = %151, %132 %134 = load i32, ptr %17, align 4 %135 = load i32, ptr %6, align 4 %136 = icmp slt i32 %134, %135 br i1 %136, label %137, label %154 137: ; preds = %133 %138 = load ptr, ptr %15, align 8 %139 = load i32, ptr %17, align 4 %140 = sext i32 %139 to i64 %141 = getelementptr inbounds float, ptr %138, i64 %140 store float 0.000000e+00, ptr %141, align 4 %142 = load ptr, ptr %15, align 8 %143 = load i32, ptr %6, align 4 %144 = sub nsw i32 %143, 1 %145 = load i32, ptr %6, align 4 %146 = mul nsw i32 %144, %145 %147 = load i32, ptr %17, align 4 %148 = add nsw i32 %146, %147 %149 = sext i32 %148 to i64 %150 = getelementptr inbounds float, ptr %142, i64 %149 store float 0.000000e+00, ptr %150, align 4 br label %151 151: ; preds = %137 %152 = load i32, ptr %17, align 4 %153 = add nsw i32 %152, 1 store i32 %153, ptr %17, align 4 br label %133, !llvm.loop !9 154: ; preds = %133 store i32 1, ptr %18, align 4 br label %155 155: ; preds = %189, %154 %156 = load i32, ptr %18, align 4 %157 = load i32, ptr %6, align 4 %158 = icmp slt i32 %156, %157 br i1 %158, label %159, label %192 159: ; preds = %155 %160 = load ptr, ptr %16, align 8 %161 = load i32, ptr %18, align 4 %162 = sext i32 %161 to i64 %163 = getelementptr inbounds float, ptr %160, i64 %162 %164 = load float, ptr %163, align 4 %165 = load ptr, ptr %15, align 8 %166 = load i32, ptr %18, align 4 %167 = load i32, ptr %6, align 4 %168 = mul nsw i32 %166, %167 %169 = sext i32 %168 to i64 %170 = getelementptr inbounds float, ptr %165, i64 %169 store float %164, ptr %170, align 4 %171 = load ptr, ptr %16, align 8 %172 = load i32, ptr %18, align 4 %173 = sext i32 %172 to i64 %174 = getelementptr inbounds float, ptr %171, i64 %173 %175 = load float, ptr %174, align 4 %176 = load float, ptr %11, align 4 %177 = fneg float %176 %178 = call float @expf(float noundef %177) #5 %179 = fmul float %175, %178 %180 = load ptr, ptr %15, align 8 %181 = load i32, ptr %18, align 4 %182 = load i32, ptr %6, align 4 %183 = mul nsw i32 %181, %182 %184 = load i32, ptr %6, align 4 %185 = add nsw i32 %183, %184 %186 = sub nsw i32 %185, 1 %187 = sext i32 %186 to i64 %188 = getelementptr inbounds float, ptr %180, i64 %187 store float %179, ptr %188, align 4 br label %189 189: ; preds = %159 %190 = load i32, ptr %18, align 4 %191 = add nsw i32 %190, 1 store i32 %191, ptr %18, align 4 br label %155, !llvm.loop !10 192: ; preds = %155 %193 = load i32, ptr %6, align 4 %194 = sitofp i32 %193 to float %195 = load i32, ptr %6, align 4 %196 = sitofp i32 %195 to double %197 = call i32 @printf(ptr noundef @.str.1, float noundef %194, double noundef %196) %198 = call double (...) @omp_get_wtime() store double %198, ptr %9, align 8 store i32 1, ptr %19, align 4 br label %199 199: ; preds = %310, %192 %200 = load i32, ptr %19, align 4 %201 = load i32, ptr %7, align 4 %202 = icmp sle i32 %200, %201 br i1 %202, label %203, label %313 203: ; preds = %199 store i32 1, ptr %18, align 4 br label %204 204: ; preds = %264, %203 %205 = load i32, ptr %18, align 4 %206 = load i32, ptr %6, align 4 %207 = sub nsw i32 %206, 1 %208 = icmp slt i32 %205, %207 br i1 %208, label %209, label %267 209: ; preds = %204 store i32 1, ptr %17, align 4 br label %210 210: ; preds = %260, %209 %211 = load i32, ptr %17, align 4 %212 = load i32, ptr %6, align 4 %213 = sub nsw i32 %212, 1 %214 = icmp slt i32 %211, %213 br i1 %214, label %215, label %263 215: ; preds = %210 %216 = load ptr, ptr %14, align 8 %217 = load i32, ptr %18, align 4 %218 = load i32, ptr %17, align 4 %219 = add nsw i32 %218, 1 %220 = mul nsw i32 %217, %219 %221 = sext i32 %220 to i64 %222 = getelementptr inbounds float, ptr %216, i64 %221 %223 = load float, ptr %222, align 4 %224 = load ptr, ptr %14, align 8 %225 = load i32, ptr %18, align 4 %226 = load i32, ptr %17, align 4 %227 = sub nsw i32 %226, 1 %228 = mul nsw i32 %225, %227 %229 = sext i32 %228 to i64 %230 = getelementptr inbounds float, ptr %224, i64 %229 %231 = load float, ptr %230, align 4 %232 = fadd float %223, %231 %233 = load ptr, ptr %14, align 8 %234 = load i32, ptr %18, align 4 %235 = sub nsw i32 %234, 1 %236 = load i32, ptr %17, align 4 %237 = mul nsw i32 %235, %236 %238 = sext i32 %237 to i64 %239 = getelementptr inbounds float, ptr %233, i64 %238 %240 = load float, ptr %239, align 4 %241 = fadd float %232, %240 %242 = load ptr, ptr %14, align 8 %243 = load i32, ptr %18, align 4 %244 = add nsw i32 %243, 1 %245 = load i32, ptr %17, align 4 %246 = mul nsw i32 %244, %245 %247 = sext i32 %246 to i64 %248 = getelementptr inbounds float, ptr %242, i64 %247 %249 = load float, ptr %248, align 4 %250 = fadd float %241, %249 %251 = fmul float 2.500000e-01, %250 %252 = load ptr, ptr %15, align 8 %253 = load i32, ptr %18, align 4 %254 = load i32, ptr %6, align 4 %255 = mul nsw i32 %253, %254 %256 = load i32, ptr %17, align 4 %257 = add nsw i32 %255, %256 %258 = sext i32 %257 to i64 %259 = getelementptr inbounds float, ptr %252, i64 %258 store float %251, ptr %259, align 4 br label %260 260: ; preds = %215 %261 = load i32, ptr %17, align 4 %262 = add nsw i32 %261, 1 store i32 %262, ptr %17, align 4 br label %210, !llvm.loop !11 263: ; preds = %210 br label %264 264: ; preds = %263 %265 = load i32, ptr %18, align 4 %266 = add nsw i32 %265, 1 store i32 %266, ptr %18, align 4 br label %204, !llvm.loop !12 267: ; preds = %204 %268 = load i32, ptr %19, align 4 %269 = load i32, ptr %7, align 4 %270 = icmp eq i32 %268, %269 br i1 %270, label %271, label %272 271: ; preds = %267 br label %313 272: ; preds = %267 store i32 1, ptr %18, align 4 br label %273 273: ; preds = %306, %272 %274 = load i32, ptr %18, align 4 %275 = load i32, ptr %6, align 4 %276 = sub nsw i32 %275, 1 %277 = icmp slt i32 %274, %276 br i1 %277, label %278, label %309 278: ; preds = %273 store i32 1, ptr %17, align 4 br label %279 279: ; preds = %302, %278 %280 = load i32, ptr %17, align 4 %281 = load i32, ptr %6, align 4 %282 = sub nsw i32 %281, 1 %283 = icmp slt i32 %280, %282 br i1 %283, label %284, label %305 284: ; preds = %279 %285 = load ptr, ptr %15, align 8 %286 = load i32, ptr %18, align 4 %287 = load i32, ptr %6, align 4 %288 = mul nsw i32 %286, %287 %289 = load i32, ptr %17, align 4 %290 = add nsw i32 %288, %289 %291 = sext i32 %290 to i64 %292 = getelementptr inbounds float, ptr %285, i64 %291 %293 = load float, ptr %292, align 4 %294 = load ptr, ptr %14, align 8 %295 = load i32, ptr %18, align 4 %296 = load i32, ptr %6, align 4 %297 = mul nsw i32 %295, %296 %298 = load i32, ptr %17, align 4 %299 = add nsw i32 %297, %298 %300 = sext i32 %299 to i64 %301 = getelementptr inbounds float, ptr %294, i64 %300 store float %293, ptr %301, align 4 br label %302 302: ; preds = %284 %303 = load i32, ptr %17, align 4 %304 = add nsw i32 %303, 1 store i32 %304, ptr %17, align 4 br label %279, !llvm.loop !13 305: ; preds = %279 br label %306 306: ; preds = %305 %307 = load i32, ptr %18, align 4 %308 = add nsw i32 %307, 1 store i32 %308, ptr %18, align 4 br label %273, !llvm.loop !14 309: ; preds = %273 br label %310 310: ; preds = %309 %311 = load i32, ptr %19, align 4 %312 = add nsw i32 %311, 1 store i32 %312, ptr %19, align 4 br label %199, !llvm.loop !15 313: ; preds = %271, %199 %314 = call double (...) @omp_get_wtime() store double %314, ptr %10, align 8 %315 = load double, ptr %10, align 8 %316 = load double, ptr %9, align 8 %317 = fsub double %315, %316 store double %317, ptr %8, align 8 store float 0.000000e+00, ptr %13, align 4 store i32 0, ptr %17, align 4 br label %318 318: ; preds = %355, %313 %319 = load i32, ptr %17, align 4 %320 = load i32, ptr %6, align 4 %321 = icmp slt i32 %319, %320 br i1 %321, label %322, label %358 322: ; preds = %318 store i32 0, ptr %18, align 4 br label %323 323: ; preds = %351, %322 %324 = load i32, ptr %18, align 4 %325 = load i32, ptr %6, align 4 %326 = icmp slt i32 %324, %325 br i1 %326, label %327, label %354 327: ; preds = %323 %328 = load ptr, ptr %15, align 8 %329 = load i32, ptr %17, align 4 %330 = load i32, ptr %6, align 4 %331 = mul nsw i32 %329, %330 %332 = load i32, ptr %18, align 4 %333 = add nsw i32 %331, %332 %334 = sext i32 %333 to i64 %335 = getelementptr inbounds float, ptr %328, i64 %334 %336 = load float, ptr %335, align 4 %337 = load ptr, ptr %14, align 8 %338 = load i32, ptr %17, align 4 %339 = load i32, ptr %6, align 4 %340 = mul nsw i32 %338, %339 %341 = load i32, ptr %18, align 4 %342 = add nsw i32 %340, %341 %343 = sext i32 %342 to i64 %344 = getelementptr inbounds float, ptr %337, i64 %343 %345 = load float, ptr %344, align 4 %346 = fsub float %336, %345 %347 = call i64 @fabsf(float noundef %346) %348 = sitofp i64 %347 to float %349 = load float, ptr %13, align 4 %350 = fadd float %349, %348 store float %350, ptr %13, align 4 br label %351 351: ; preds = %327 %352 = load i32, ptr %18, align 4 %353 = add nsw i32 %352, 1 store i32 %353, ptr %18, align 4 br label %323, !llvm.loop !16 354: ; preds = %323 br label %355 355: ; preds = %354 %356 = load i32, ptr %17, align 4 %357 = add nsw i32 %356, 1 store i32 %357, ptr %17, align 4 br label %318, !llvm.loop !17 358: ; preds = %318 %359 = load float, ptr %13, align 4 %360 = load double, ptr %8, align 8 %361 = call i32 @printf(ptr noundef @.str.2, float noundef %359, double noundef %360) %362 = load ptr, ptr %14, align 8 %363 = call i32 @free(ptr noundef %362) %364 = load ptr, ptr %15, align 8 %365 = call i32 @free(ptr noundef %364) %366 = load ptr, ptr %16, align 8 %367 = call i32 @free(ptr noundef %366) %368 = load i32, ptr %3, align 4 ret i32 %368 } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @atoi(ptr noundef) #1 ; Function Attrs: nounwind declare float @asinf(float noundef) #3 declare i64 @calloc(i32 noundef, i32 noundef) #1 declare i64 @malloc(i32 noundef) #1 ; Function Attrs: nounwind declare float @sinf(float noundef) #3 ; Function Attrs: nounwind declare float @expf(float noundef) #3 declare i32 @printf(ptr noundef, float noundef, double noundef) #1 declare double @omp_get_wtime(...) #1 declare i64 @fabsf(float noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { noreturn } attributes #5 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7} !14 = distinct !{!14, !7} !15 = distinct !{!15, !7} !16 = distinct !{!16, !7} !17 = distinct !{!17, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjgc7kb5b.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [26 x i8] c"Usage: %s <size> <steps>\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [45 x i8] c"Jacobi relaxation calculation: %d x %d mesh\0A\00", align 1 @.str.2 = private unnamed_addr constant [35 x i8] c"output is %lf\0Atime: %.3lf seconds\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca float, align 4 %12 = alloca float, align 4 %13 = alloca float, align 4 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 %17 = alloca i32, align 4 %18 = alloca i32, align 4 %19 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %20 = load i32, ptr %4, align 4 %21 = icmp ne i32 %20, 3 br i1 %21, label %22, label %30 22: ; preds = %2 %23 = load i32, ptr @stderr, align 4 %24 = load ptr, ptr %5, align 8 %25 = getelementptr inbounds ptr, ptr %24, i64 0 %26 = load ptr, ptr %25, align 8 %27 = call i32 @fprintf(i32 noundef %23, ptr noundef @.str, ptr noundef %26) %28 = load i32, ptr @EXIT_FAILURE, align 4 %29 = call i32 @exit(i32 noundef %28) #4 unreachable 30: ; preds = %2 %31 = load ptr, ptr %5, align 8 %32 = getelementptr inbounds ptr, ptr %31, i64 1 %33 = load ptr, ptr %32, align 8 %34 = call i32 @atoi(ptr noundef %33) store i32 %34, ptr %6, align 4 %35 = load ptr, ptr %5, align 8 %36 = getelementptr inbounds ptr, ptr %35, i64 2 %37 = load ptr, ptr %36, align 8 %38 = call i32 @atoi(ptr noundef %37) store i32 %38, ptr %7, align 4 %39 = call float @asinf(float noundef 1.000000e+00) #5 %40 = fmul float 2.000000e+00, %39 store float %40, ptr %11, align 4 store float 0x3EE4F8B580000000, ptr %12, align 4 store float 1.000000e+00, ptr %13, align 4 %41 = load i32, ptr %6, align 4 %42 = load i32, ptr %6, align 4 %43 = mul nsw i32 %41, %42 %44 = call i64 @calloc(i32 noundef %43, i32 noundef 4) %45 = inttoptr i64 %44 to ptr store ptr %45, ptr %14, align 8 %46 = load i32, ptr %6, align 4 %47 = load i32, ptr %6, align 4 %48 = mul nsw i32 %46, %47 %49 = sext i32 %48 to i64 %50 = mul i64 %49, 4 %51 = trunc i64 %50 to i32 %52 = call i64 @malloc(i32 noundef %51) %53 = inttoptr i64 %52 to ptr store ptr %53, ptr %15, align 8 %54 = load i32, ptr %6, align 4 %55 = sext i32 %54 to i64 %56 = mul i64 %55, 4 %57 = trunc i64 %56 to i32 %58 = call i64 @malloc(i32 noundef %57) %59 = inttoptr i64 %58 to ptr store ptr %59, ptr %16, align 8 store i32 0, ptr %17, align 4 %60 = load i32, ptr %17, align 4 %61 = load i32, ptr %6, align 4 %62 = icmp slt i32 %60, %61 br i1 %62, label %.lr.ph, label %83 .lr.ph: ; preds = %30 br label %63 63: ; preds = %.lr.ph, %77 %64 = load ptr, ptr %14, align 8 %65 = load i32, ptr %17, align 4 %66 = sext i32 %65 to i64 %67 = getelementptr inbounds float, ptr %64, i64 %66 store float 0.000000e+00, ptr %67, align 4 %68 = load ptr, ptr %14, align 8 %69 = load i32, ptr %6, align 4 %70 = sub nsw i32 %69, 1 %71 = load i32, ptr %6, align 4 %72 = mul nsw i32 %70, %71 %73 = load i32, ptr %17, align 4 %74 = add nsw i32 %72, %73 %75 = sext i32 %74 to i64 %76 = getelementptr inbounds float, ptr %68, i64 %75 store float 0.000000e+00, ptr %76, align 4 br label %77 77: ; preds = %63 %78 = load i32, ptr %17, align 4 %79 = add nsw i32 %78, 1 store i32 %79, ptr %17, align 4 %80 = load i32, ptr %17, align 4 %81 = load i32, ptr %6, align 4 %82 = icmp slt i32 %80, %81 br i1 %82, label %63, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %77 br label %83 83: ; preds = %._crit_edge, %30 store i32 0, ptr %18, align 4 %84 = load i32, ptr %18, align 4 %85 = load i32, ptr %6, align 4 %86 = icmp slt i32 %84, %85 br i1 %86, label %.lr.ph2, label %136 .lr.ph2: ; preds = %83 br label %87 87: ; preds = %.lr.ph2, %130 %88 = load float, ptr %11, align 4 %89 = load i32, ptr %18, align 4 %90 = sitofp i32 %89 to float %91 = fmul float %88, %90 %92 = load i32, ptr %6, align 4 %93 = sub nsw i32 %92, 1 %94 = sitofp i32 %93 to float %95 = fdiv float %91, %94 %96 = call float @sinf(float noundef %95) #5 %97 = load ptr, ptr %16, align 8 %98 = load i32, ptr %18, align 4 %99 = sext i32 %98 to i64 %100 = getelementptr inbounds float, ptr %97, i64 %99 store float %96, ptr %100, align 4 %101 = load ptr, ptr %16, align 8 %102 = load i32, ptr %18, align 4 %103 = sext i32 %102 to i64 %104 = getelementptr inbounds float, ptr %101, i64 %103 %105 = load float, ptr %104, align 4 %106 = load ptr, ptr %14, align 8 %107 = load i32, ptr %18, align 4 %108 = load i32, ptr %6, align 4 %109 = mul nsw i32 %107, %108 %110 = sext i32 %109 to i64 %111 = getelementptr inbounds float, ptr %106, i64 %110 store float %105, ptr %111, align 4 %112 = load ptr, ptr %16, align 8 %113 = load i32, ptr %18, align 4 %114 = sext i32 %113 to i64 %115 = getelementptr inbounds float, ptr %112, i64 %114 %116 = load float, ptr %115, align 4 %117 = load float, ptr %11, align 4 %118 = fneg float %117 %119 = call float @expf(float noundef %118) #5 %120 = fmul float %116, %119 %121 = load ptr, ptr %14, align 8 %122 = load i32, ptr %18, align 4 %123 = load i32, ptr %6, align 4 %124 = mul nsw i32 %122, %123 %125 = load i32, ptr %6, align 4 %126 = add nsw i32 %124, %125 %127 = sub nsw i32 %126, 1 %128 = sext i32 %127 to i64 %129 = getelementptr inbounds float, ptr %121, i64 %128 store float %120, ptr %129, align 4 br label %130 130: ; preds = %87 %131 = load i32, ptr %18, align 4 %132 = add nsw i32 %131, 1 store i32 %132, ptr %18, align 4 %133 = load i32, ptr %18, align 4 %134 = load i32, ptr %6, align 4 %135 = icmp slt i32 %133, %134 br i1 %135, label %87, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %130 br label %136 136: ; preds = %._crit_edge3, %83 store i32 1, ptr %17, align 4 %137 = load i32, ptr %17, align 4 %138 = load i32, ptr %6, align 4 %139 = icmp slt i32 %137, %138 br i1 %139, label %.lr.ph5, label %160 .lr.ph5: ; preds = %136 br label %140 140: ; preds = %.lr.ph5, %154 %141 = load ptr, ptr %15, align 8 %142 = load i32, ptr %17, align 4 %143 = sext i32 %142 to i64 %144 = getelementptr inbounds float, ptr %141, i64 %143 store float 0.000000e+00, ptr %144, align 4 %145 = load ptr, ptr %15, align 8 %146 = load i32, ptr %6, align 4 %147 = sub nsw i32 %146, 1 %148 = load i32, ptr %6, align 4 %149 = mul nsw i32 %147, %148 %150 = load i32, ptr %17, align 4 %151 = add nsw i32 %149, %150 %152 = sext i32 %151 to i64 %153 = getelementptr inbounds float, ptr %145, i64 %152 store float 0.000000e+00, ptr %153, align 4 br label %154 154: ; preds = %140 %155 = load i32, ptr %17, align 4 %156 = add nsw i32 %155, 1 store i32 %156, ptr %17, align 4 %157 = load i32, ptr %17, align 4 %158 = load i32, ptr %6, align 4 %159 = icmp slt i32 %157, %158 br i1 %159, label %140, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %154 br label %160 160: ; preds = %._crit_edge6, %136 store i32 1, ptr %18, align 4 %161 = load i32, ptr %18, align 4 %162 = load i32, ptr %6, align 4 %163 = icmp slt i32 %161, %162 br i1 %163, label %.lr.ph8, label %200 .lr.ph8: ; preds = %160 br label %164 164: ; preds = %.lr.ph8, %194 %165 = load ptr, ptr %16, align 8 %166 = load i32, ptr %18, align 4 %167 = sext i32 %166 to i64 %168 = getelementptr inbounds float, ptr %165, i64 %167 %169 = load float, ptr %168, align 4 %170 = load ptr, ptr %15, align 8 %171 = load i32, ptr %18, align 4 %172 = load i32, ptr %6, align 4 %173 = mul nsw i32 %171, %172 %174 = sext i32 %173 to i64 %175 = getelementptr inbounds float, ptr %170, i64 %174 store float %169, ptr %175, align 4 %176 = load ptr, ptr %16, align 8 %177 = load i32, ptr %18, align 4 %178 = sext i32 %177 to i64 %179 = getelementptr inbounds float, ptr %176, i64 %178 %180 = load float, ptr %179, align 4 %181 = load float, ptr %11, align 4 %182 = fneg float %181 %183 = call float @expf(float noundef %182) #5 %184 = fmul float %180, %183 %185 = load ptr, ptr %15, align 8 %186 = load i32, ptr %18, align 4 %187 = load i32, ptr %6, align 4 %188 = mul nsw i32 %186, %187 %189 = load i32, ptr %6, align 4 %190 = add nsw i32 %188, %189 %191 = sub nsw i32 %190, 1 %192 = sext i32 %191 to i64 %193 = getelementptr inbounds float, ptr %185, i64 %192 store float %184, ptr %193, align 4 br label %194 194: ; preds = %164 %195 = load i32, ptr %18, align 4 %196 = add nsw i32 %195, 1 store i32 %196, ptr %18, align 4 %197 = load i32, ptr %18, align 4 %198 = load i32, ptr %6, align 4 %199 = icmp slt i32 %197, %198 br i1 %199, label %164, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %194 br label %200 200: ; preds = %._crit_edge9, %160 %201 = load i32, ptr %6, align 4 %202 = sitofp i32 %201 to float %203 = load i32, ptr %6, align 4 %204 = sitofp i32 %203 to double %205 = call i32 @printf(ptr noundef @.str.1, float noundef %202, double noundef %204) %206 = call double (...) @omp_get_wtime() store double %206, ptr %9, align 8 store i32 1, ptr %19, align 4 %207 = load i32, ptr %19, align 4 %208 = load i32, ptr %7, align 4 %209 = icmp sle i32 %207, %208 br i1 %209, label %.lr.ph23, label %.loopexit .lr.ph23: ; preds = %200 br label %210 210: ; preds = %.lr.ph23, %329 store i32 1, ptr %18, align 4 %211 = load i32, ptr %18, align 4 %212 = load i32, ptr %6, align 4 %213 = sub nsw i32 %212, 1 %214 = icmp slt i32 %211, %213 br i1 %214, label %.lr.ph14, label %280 .lr.ph14: ; preds = %210 br label %215 215: ; preds = %.lr.ph14, %273 store i32 1, ptr %17, align 4 %216 = load i32, ptr %17, align 4 %217 = load i32, ptr %6, align 4 %218 = sub nsw i32 %217, 1 %219 = icmp slt i32 %216, %218 br i1 %219, label %.lr.ph11, label %272 .lr.ph11: ; preds = %215 br label %220 220: ; preds = %.lr.ph11, %265 %221 = load ptr, ptr %14, align 8 %222 = load i32, ptr %18, align 4 %223 = load i32, ptr %17, align 4 %224 = add nsw i32 %223, 1 %225 = mul nsw i32 %222, %224 %226 = sext i32 %225 to i64 %227 = getelementptr inbounds float, ptr %221, i64 %226 %228 = load float, ptr %227, align 4 %229 = load ptr, ptr %14, align 8 %230 = load i32, ptr %18, align 4 %231 = load i32, ptr %17, align 4 %232 = sub nsw i32 %231, 1 %233 = mul nsw i32 %230, %232 %234 = sext i32 %233 to i64 %235 = getelementptr inbounds float, ptr %229, i64 %234 %236 = load float, ptr %235, align 4 %237 = fadd float %228, %236 %238 = load ptr, ptr %14, align 8 %239 = load i32, ptr %18, align 4 %240 = sub nsw i32 %239, 1 %241 = load i32, ptr %17, align 4 %242 = mul nsw i32 %240, %241 %243 = sext i32 %242 to i64 %244 = getelementptr inbounds float, ptr %238, i64 %243 %245 = load float, ptr %244, align 4 %246 = fadd float %237, %245 %247 = load ptr, ptr %14, align 8 %248 = load i32, ptr %18, align 4 %249 = add nsw i32 %248, 1 %250 = load i32, ptr %17, align 4 %251 = mul nsw i32 %249, %250 %252 = sext i32 %251 to i64 %253 = getelementptr inbounds float, ptr %247, i64 %252 %254 = load float, ptr %253, align 4 %255 = fadd float %246, %254 %256 = fmul float 2.500000e-01, %255 %257 = load ptr, ptr %15, align 8 %258 = load i32, ptr %18, align 4 %259 = load i32, ptr %6, align 4 %260 = mul nsw i32 %258, %259 %261 = load i32, ptr %17, align 4 %262 = add nsw i32 %260, %261 %263 = sext i32 %262 to i64 %264 = getelementptr inbounds float, ptr %257, i64 %263 store float %256, ptr %264, align 4 br label %265 265: ; preds = %220 %266 = load i32, ptr %17, align 4 %267 = add nsw i32 %266, 1 store i32 %267, ptr %17, align 4 %268 = load i32, ptr %17, align 4 %269 = load i32, ptr %6, align 4 %270 = sub nsw i32 %269, 1 %271 = icmp slt i32 %268, %270 br i1 %271, label %220, label %._crit_edge12, !llvm.loop !11 ._crit_edge12: ; preds = %265 br label %272 272: ; preds = %._crit_edge12, %215 br label %273 273: ; preds = %272 %274 = load i32, ptr %18, align 4 %275 = add nsw i32 %274, 1 store i32 %275, ptr %18, align 4 %276 = load i32, ptr %18, align 4 %277 = load i32, ptr %6, align 4 %278 = sub nsw i32 %277, 1 %279 = icmp slt i32 %276, %278 br i1 %279, label %215, label %._crit_edge15, !llvm.loop !12 ._crit_edge15: ; preds = %273 br label %280 280: ; preds = %._crit_edge15, %210 %281 = load i32, ptr %19, align 4 %282 = load i32, ptr %7, align 4 %283 = icmp eq i32 %281, %282 br i1 %283, label %284, label %285 284: ; preds = %280 br label %335 285: ; preds = %280 store i32 1, ptr %18, align 4 %286 = load i32, ptr %18, align 4 %287 = load i32, ptr %6, align 4 %288 = sub nsw i32 %287, 1 %289 = icmp slt i32 %286, %288 br i1 %289, label %.lr.ph20, label %328 .lr.ph20: ; preds = %285 br label %290 290: ; preds = %.lr.ph20, %321 store i32 1, ptr %17, align 4 %291 = load i32, ptr %17, align 4 %292 = load i32, ptr %6, align 4 %293 = sub nsw i32 %292, 1 %294 = icmp slt i32 %291, %293 br i1 %294, label %.lr.ph17, label %320 .lr.ph17: ; preds = %290 br label %295 295: ; preds = %.lr.ph17, %313 %296 = load ptr, ptr %15, align 8 %297 = load i32, ptr %18, align 4 %298 = load i32, ptr %6, align 4 %299 = mul nsw i32 %297, %298 %300 = load i32, ptr %17, align 4 %301 = add nsw i32 %299, %300 %302 = sext i32 %301 to i64 %303 = getelementptr inbounds float, ptr %296, i64 %302 %304 = load float, ptr %303, align 4 %305 = load ptr, ptr %14, align 8 %306 = load i32, ptr %18, align 4 %307 = load i32, ptr %6, align 4 %308 = mul nsw i32 %306, %307 %309 = load i32, ptr %17, align 4 %310 = add nsw i32 %308, %309 %311 = sext i32 %310 to i64 %312 = getelementptr inbounds float, ptr %305, i64 %311 store float %304, ptr %312, align 4 br label %313 313: ; preds = %295 %314 = load i32, ptr %17, align 4 %315 = add nsw i32 %314, 1 store i32 %315, ptr %17, align 4 %316 = load i32, ptr %17, align 4 %317 = load i32, ptr %6, align 4 %318 = sub nsw i32 %317, 1 %319 = icmp slt i32 %316, %318 br i1 %319, label %295, label %._crit_edge18, !llvm.loop !13 ._crit_edge18: ; preds = %313 br label %320 320: ; preds = %._crit_edge18, %290 br label %321 321: ; preds = %320 %322 = load i32, ptr %18, align 4 %323 = add nsw i32 %322, 1 store i32 %323, ptr %18, align 4 %324 = load i32, ptr %18, align 4 %325 = load i32, ptr %6, align 4 %326 = sub nsw i32 %325, 1 %327 = icmp slt i32 %324, %326 br i1 %327, label %290, label %._crit_edge21, !llvm.loop !14 ._crit_edge21: ; preds = %321 br label %328 328: ; preds = %._crit_edge21, %285 br label %329 329: ; preds = %328 %330 = load i32, ptr %19, align 4 %331 = add nsw i32 %330, 1 store i32 %331, ptr %19, align 4 %332 = load i32, ptr %19, align 4 %333 = load i32, ptr %7, align 4 %334 = icmp sle i32 %332, %333 br i1 %334, label %210, label %..loopexit_crit_edge, !llvm.loop !15 ..loopexit_crit_edge: ; preds = %329 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %200 br label %335 335: ; preds = %.loopexit, %284 %336 = call double (...) @omp_get_wtime() store double %336, ptr %10, align 8 %337 = load double, ptr %10, align 8 %338 = load double, ptr %9, align 8 %339 = fsub double %337, %338 store double %339, ptr %8, align 8 store float 0.000000e+00, ptr %13, align 4 store i32 0, ptr %17, align 4 %340 = load i32, ptr %17, align 4 %341 = load i32, ptr %6, align 4 %342 = icmp slt i32 %340, %341 br i1 %342, label %.lr.ph28, label %384 .lr.ph28: ; preds = %335 br label %343 343: ; preds = %.lr.ph28, %378 store i32 0, ptr %18, align 4 %344 = load i32, ptr %18, align 4 %345 = load i32, ptr %6, align 4 %346 = icmp slt i32 %344, %345 br i1 %346, label %.lr.ph25, label %377 .lr.ph25: ; preds = %343 br label %347 347: ; preds = %.lr.ph25, %371 %348 = load ptr, ptr %15, align 8 %349 = load i32, ptr %17, align 4 %350 = load i32, ptr %6, align 4 %351 = mul nsw i32 %349, %350 %352 = load i32, ptr %18, align 4 %353 = add nsw i32 %351, %352 %354 = sext i32 %353 to i64 %355 = getelementptr inbounds float, ptr %348, i64 %354 %356 = load float, ptr %355, align 4 %357 = load ptr, ptr %14, align 8 %358 = load i32, ptr %17, align 4 %359 = load i32, ptr %6, align 4 %360 = mul nsw i32 %358, %359 %361 = load i32, ptr %18, align 4 %362 = add nsw i32 %360, %361 %363 = sext i32 %362 to i64 %364 = getelementptr inbounds float, ptr %357, i64 %363 %365 = load float, ptr %364, align 4 %366 = fsub float %356, %365 %367 = call i64 @fabsf(float noundef %366) %368 = sitofp i64 %367 to float %369 = load float, ptr %13, align 4 %370 = fadd float %369, %368 store float %370, ptr %13, align 4 br label %371 371: ; preds = %347 %372 = load i32, ptr %18, align 4 %373 = add nsw i32 %372, 1 store i32 %373, ptr %18, align 4 %374 = load i32, ptr %18, align 4 %375 = load i32, ptr %6, align 4 %376 = icmp slt i32 %374, %375 br i1 %376, label %347, label %._crit_edge26, !llvm.loop !16 ._crit_edge26: ; preds = %371 br label %377 377: ; preds = %._crit_edge26, %343 br label %378 378: ; preds = %377 %379 = load i32, ptr %17, align 4 %380 = add nsw i32 %379, 1 store i32 %380, ptr %17, align 4 %381 = load i32, ptr %17, align 4 %382 = load i32, ptr %6, align 4 %383 = icmp slt i32 %381, %382 br i1 %383, label %343, label %._crit_edge29, !llvm.loop !17 ._crit_edge29: ; preds = %378 br label %384 384: ; preds = %._crit_edge29, %335 %385 = load float, ptr %13, align 4 %386 = load double, ptr %8, align 8 %387 = call i32 @printf(ptr noundef @.str.2, float noundef %385, double noundef %386) %388 = load ptr, ptr %14, align 8 %389 = call i32 @free(ptr noundef %388) %390 = load ptr, ptr %15, align 8 %391 = call i32 @free(ptr noundef %390) %392 = load ptr, ptr %16, align 8 %393 = call i32 @free(ptr noundef %392) %394 = load i32, ptr %3, align 4 ret i32 %394 } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @atoi(ptr noundef) #1 ; Function Attrs: nounwind declare float @asinf(float noundef) #3 declare i64 @calloc(i32 noundef, i32 noundef) #1 declare i64 @malloc(i32 noundef) #1 ; Function Attrs: nounwind declare float @sinf(float noundef) #3 ; Function Attrs: nounwind declare float @expf(float noundef) #3 declare i32 @printf(ptr noundef, float noundef, double noundef) #1 declare double @omp_get_wtime(...) #1 declare i64 @fabsf(float noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #4 = { noreturn } attributes #5 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7} !11 = distinct !{!11, !7} !12 = distinct !{!12, !7} !13 = distinct !{!13, !7} !14 = distinct !{!14, !7} !15 = distinct !{!15, !7} !16 = distinct !{!16, !7} !17 = distinct !{!17, !7}
; ModuleID = '/tmp/tmprlz74fao.c' source_filename = "/tmp/tmprlz74fao.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_2__ = type { ptr } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @set_XClassHint_res_name(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i32 0, i32 0 store ptr %5, ptr %7, align 8 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprlz74fao.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_2__ = type { ptr } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @set_XClassHint_res_name(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %5 = load ptr, ptr %4, align 8 %6 = load ptr, ptr %3, align 8 %7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i32 0, i32 0 store ptr %5, ptr %7, align 8 ret void } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp7t40es3m.c' source_filename = "/tmp/tmp7t40es3m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7t40es3m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp_owh254v.c' source_filename = "/tmp/tmp_owh254v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [169 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isodigit.c\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c"isodigit should be 0 for 0xbf\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isodigit_0xbf() #0 { %1 = call i64 @isodigit(i32 noundef 191) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 960, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isodigit(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_owh254v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [169 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/bitfixer/bitfixer/refs/heads/master/dg/z88dk/test/suites/ctype/test_isodigit.c\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c"isodigit should be 0 for 0xbf\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isodigit_0xbf() #0 { %1 = call i64 @isodigit(i32 noundef 191) %2 = icmp eq i64 %1, 0 %3 = zext i1 %2 to i32 %4 = call i32 @Assert_real(i32 noundef %3, ptr noundef @.str, i32 noundef 960, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isodigit(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmph9h4a80h.c' source_filename = "/tmp/tmph9h4a80h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @senoh(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = call i32 @getNumber(ptr noundef %2) %4 = load double, ptr %2, align 8 %5 = call double @sinh(double noundef %4) #3 ret double %5 } declare i32 @getNumber(ptr noundef) #1 ; Function Attrs: nounwind declare double @sinh(double noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmph9h4a80h.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @senoh(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = call i32 @getNumber(ptr noundef %2) %4 = load double, ptr %2, align 8 %5 = call double @sinh(double noundef %4) #3 ret double %5 } declare i32 @getNumber(ptr noundef) #1 ; Function Attrs: nounwind declare double @sinh(double noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { nounwind } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpk9fowe7v.c' source_filename = "/tmp/tmpk9fowe7v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpk9fowe7v.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpb1vfkxzx.c' source_filename = "/tmp/tmpb1vfkxzx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @O_NONBLOCK = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @set_socket_non_blocking(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = call i32 @get_socket_flags(i32 noundef %4) store i32 %5, ptr %3, align 4 %6 = load i32, ptr @O_NONBLOCK, align 4 %7 = load i32, ptr %3, align 4 %8 = or i32 %7, %6 store i32 %8, ptr %3, align 4 %9 = load i32, ptr %2, align 4 %10 = load i32, ptr %3, align 4 %11 = call i32 @set_socket_flags(i32 noundef %9, i32 noundef %10) %12 = load i32, ptr %3, align 4 ret i32 %12 } declare i32 @get_socket_flags(i32 noundef) #1 declare i32 @set_socket_flags(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpb1vfkxzx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @O_NONBLOCK = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @set_socket_non_blocking(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = call i32 @get_socket_flags(i32 noundef %4) store i32 %5, ptr %3, align 4 %6 = load i32, ptr @O_NONBLOCK, align 4 %7 = load i32, ptr %3, align 4 %8 = or i32 %7, %6 store i32 %8, ptr %3, align 4 %9 = load i32, ptr %2, align 4 %10 = load i32, ptr %3, align 4 %11 = call i32 @set_socket_flags(i32 noundef %9, i32 noundef %10) %12 = load i32, ptr %3, align 4 ret i32 %12 } declare i32 @get_socket_flags(i32 noundef) #1 declare i32 @set_socket_flags(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpes0s_gpq.c' source_filename = "/tmp/tmpes0s_gpq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpes0s_gpq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpl8ydcllm.c' source_filename = "/tmp/tmpl8ydcllm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @validFile(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %13 = call i64 @calloc(i32 noundef 10, i32 noundef 8) %14 = inttoptr i64 %13 to ptr store ptr %14, ptr %4, align 8 %15 = call i64 @calloc(i32 noundef 10, i32 noundef 8) %16 = inttoptr i64 %15 to ptr store ptr %16, ptr %5, align 8 %17 = load ptr, ptr %4, align 8 %18 = icmp ne ptr %17, null br i1 %18, label %19, label %22 19: ; preds = %1 %20 = load ptr, ptr %5, align 8 %21 = icmp ne ptr %20, null br i1 %21, label %23, label %22 22: ; preds = %19, %1 store i32 0, ptr %2, align 4 br label %203 23: ; preds = %19 %24 = load ptr, ptr %4, align 8 %25 = call i32 @memoryInit(ptr noundef %24, i32 noundef 0) store i32 10, ptr %6, align 4 store i32 10, ptr %7, align 4 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 store i32 0, ptr %10, align 4 store i32 0, ptr %11, align 4 %26 = load ptr, ptr %3, align 8 %27 = call ptr @readLine(ptr noundef %26) store ptr %27, ptr %12, align 8 br label %28 28: ; preds = %193, %23 %29 = load ptr, ptr %12, align 8 %30 = icmp ne ptr %29, null br i1 %30, label %31, label %198 31: ; preds = %28 %32 = load ptr, ptr %12, align 8 %33 = call i32 @unusedLine(ptr noundef %32) %34 = icmp ne i32 %33, 0 br i1 %34, label %193, label %35 35: ; preds = %31 %36 = load ptr, ptr %12, align 8 %37 = call i64 @checkSection(ptr noundef %36) %38 = icmp ne i64 %37, 0 br i1 %38, label %39, label %100 39: ; preds = %35 store i32 1, ptr %10, align 4 store i32 1, ptr %11, align 4 %40 = load i32, ptr %8, align 4 %41 = load i32, ptr %6, align 4 %42 = icmp uge i32 %40, %41 br i1 %42, label %43, label %54 43: ; preds = %39 %44 = call i32 @reallocate2D(ptr noundef %4, ptr noundef %6) %45 = icmp ne i32 %44, 0 br i1 %45, label %53, label %46 46: ; preds = %43 %47 = load ptr, ptr %4, align 8 %48 = call i32 @cleanValues(ptr noundef %47) %49 = load ptr, ptr %5, align 8 %50 = call i32 @cleanValues(ptr noundef %49) %51 = load ptr, ptr %12, align 8 %52 = call i32 @free(ptr noundef %51) store i32 0, ptr %2, align 4 br label %203 53: ; preds = %43 br label %54 54: ; preds = %53, %39 %55 = load ptr, ptr %12, align 8 %56 = call i32 @strlen(ptr noundef %55) %57 = add nsw i32 %56, 1 %58 = call i64 @calloc(i32 noundef %57, i32 noundef 1) %59 = inttoptr i64 %58 to ptr %60 = load ptr, ptr %4, align 8 %61 = load i32, ptr %8, align 4 %62 = zext i32 %61 to i64 %63 = getelementptr inbounds ptr, ptr %60, i64 %62 store ptr %59, ptr %63, align 8 %64 = load ptr, ptr %4, align 8 %65 = load i32, ptr %8, align 4 %66 = zext i32 %65 to i64 %67 = getelementptr inbounds ptr, ptr %64, i64 %66 %68 = load ptr, ptr %67, align 8 %69 = icmp ne ptr %68, null br i1 %69, label %77, label %70 70: ; preds = %54 %71 = load ptr, ptr %4, align 8 %72 = call i32 @cleanValues(ptr noundef %71) %73 = load ptr, ptr %5, align 8 %74 = call i32 @cleanValues(ptr noundef %73) %75 = load ptr, ptr %12, align 8 %76 = call i32 @free(ptr noundef %75) store i32 0, ptr %2, align 4 br label %203 77: ; preds = %54 %78 = load ptr, ptr %4, align 8 %79 = load i32, ptr %8, align 4 %80 = zext i32 %79 to i64 %81 = getelementptr inbounds ptr, ptr %78, i64 %80 %82 = load ptr, ptr %81, align 8 %83 = load ptr, ptr %12, align 8 %84 = call i32 @strcpy(ptr noundef %82, ptr noundef %83) %85 = load ptr, ptr %4, align 8 %86 = load ptr, ptr %12, align 8 %87 = load i32, ptr %8, align 4 %88 = call i64 @searchDuplicitySections(ptr noundef %85, ptr noundef %86, i32 noundef %87) %89 = icmp ne i64 %88, 0 br i1 %89, label %90, label %97 90: ; preds = %77 %91 = load ptr, ptr %4, align 8 %92 = call i32 @cleanValues(ptr noundef %91) %93 = load ptr, ptr %5, align 8 %94 = call i32 @cleanValues(ptr noundef %93) %95 = load ptr, ptr %12, align 8 %96 = call i32 @free(ptr noundef %95) store i32 0, ptr %2, align 4 br label %203 97: ; preds = %77 %98 = load i32, ptr %8, align 4 %99 = add i32 %98, 1 store i32 %99, ptr %8, align 4 br label %192 100: ; preds = %35 %101 = load ptr, ptr %12, align 8 %102 = call i64 @checkKeyValue(ptr noundef %101) %103 = icmp ne i64 %102, 0 br i1 %103, label %104, label %184 104: ; preds = %100 %105 = load i32, ptr %10, align 4 %106 = icmp ne i32 %105, 0 br i1 %106, label %114, label %107 107: ; preds = %104 %108 = load ptr, ptr %4, align 8 %109 = call i32 @cleanValues(ptr noundef %108) %110 = load ptr, ptr %5, align 8 %111 = call i32 @cleanValues(ptr noundef %110) %112 = load ptr, ptr %12, align 8 %113 = call i32 @free(ptr noundef %112) store i32 0, ptr %2, align 4 br label %203 114: ; preds = %104 %115 = load i32, ptr %11, align 4 %116 = icmp ne i32 %115, 0 br i1 %116, label %117, label %123 117: ; preds = %114 store i32 0, ptr %11, align 4 %118 = load ptr, ptr %5, align 8 %119 = load i32, ptr %9, align 4 %120 = call i32 @cleanBufferKeys(ptr noundef %118, i32 noundef %119) %121 = load ptr, ptr %5, align 8 %122 = call i32 @memoryInit(ptr noundef %121, i32 noundef 0) store i32 10, ptr %7, align 4 store i32 0, ptr %9, align 4 br label %123 123: ; preds = %117, %114 %124 = load i32, ptr %9, align 4 %125 = load i32, ptr %7, align 4 %126 = icmp uge i32 %124, %125 br i1 %126, label %127, label %138 127: ; preds = %123 %128 = call i32 @reallocate2D(ptr noundef %5, ptr noundef %7) %129 = icmp ne i32 %128, 0 br i1 %129, label %137, label %130 130: ; preds = %127 %131 = load ptr, ptr %4, align 8 %132 = call i32 @cleanValues(ptr noundef %131) %133 = load ptr, ptr %5, align 8 %134 = call i32 @cleanValues(ptr noundef %133) %135 = load ptr, ptr %12, align 8 %136 = call i32 @free(ptr noundef %135) store i32 0, ptr %2, align 4 br label %203 137: ; preds = %127 br label %138 138: ; preds = %137, %123 %139 = load ptr, ptr %12, align 8 %140 = call i32 @strlen(ptr noundef %139) %141 = add nsw i32 %140, 1 %142 = call i64 @calloc(i32 noundef %141, i32 noundef 1) %143 = inttoptr i64 %142 to ptr %144 = load ptr, ptr %5, align 8 %145 = load i32, ptr %9, align 4 %146 = zext i32 %145 to i64 %147 = getelementptr inbounds ptr, ptr %144, i64 %146 store ptr %143, ptr %147, align 8 %148 = load ptr, ptr %5, align 8 %149 = load i32, ptr %9, align 4 %150 = zext i32 %149 to i64 %151 = getelementptr inbounds ptr, ptr %148, i64 %150 %152 = load ptr, ptr %151, align 8 %153 = icmp ne ptr %152, null br i1 %153, label %161, label %154 154: ; preds = %138 %155 = load ptr, ptr %4, align 8 %156 = call i32 @cleanValues(ptr noundef %155) %157 = load ptr, ptr %5, align 8 %158 = call i32 @cleanValues(ptr noundef %157) %159 = load ptr, ptr %12, align 8 %160 = call i32 @free(ptr noundef %159) store i32 0, ptr %2, align 4 br label %203 161: ; preds = %138 %162 = load ptr, ptr %5, align 8 %163 = load i32, ptr %9, align 4 %164 = zext i32 %163 to i64 %165 = getelementptr inbounds ptr, ptr %162, i64 %164 %166 = load ptr, ptr %165, align 8 %167 = load ptr, ptr %12, align 8 %168 = call i32 @strcpy(ptr noundef %166, ptr noundef %167) %169 = load ptr, ptr %5, align 8 %170 = load ptr, ptr %12, align 8 %171 = load i32, ptr %9, align 4 %172 = call i64 @searchDuplicityKeys(ptr noundef %169, ptr noundef %170, i32 noundef %171) %173 = icmp ne i64 %172, 0 br i1 %173, label %174, label %181 174: ; preds = %161 %175 = load ptr, ptr %4, align 8 %176 = call i32 @cleanValues(ptr noundef %175) %177 = load ptr, ptr %5, align 8 %178 = call i32 @cleanValues(ptr noundef %177) %179 = load ptr, ptr %12, align 8 %180 = call i32 @free(ptr noundef %179) store i32 0, ptr %2, align 4 br label %203 181: ; preds = %161 %182 = load i32, ptr %9, align 4 %183 = add i32 %182, 1 store i32 %183, ptr %9, align 4 br label %191 184: ; preds = %100 %185 = load ptr, ptr %4, align 8 %186 = call i32 @cleanValues(ptr noundef %185) %187 = load ptr, ptr %5, align 8 %188 = call i32 @cleanValues(ptr noundef %187) %189 = load ptr, ptr %12, align 8 %190 = call i32 @free(ptr noundef %189) store i32 0, ptr %2, align 4 br label %203 191: ; preds = %181 br label %192 192: ; preds = %191, %97 br label %193 193: ; preds = %192, %31 %194 = load ptr, ptr %12, align 8 %195 = call i32 @free(ptr noundef %194) %196 = load ptr, ptr %3, align 8 %197 = call ptr @readLine(ptr noundef %196) store ptr %197, ptr %12, align 8 br label %28, !llvm.loop !6 198: ; preds = %28 %199 = load ptr, ptr %4, align 8 %200 = call i32 @cleanValues(ptr noundef %199) %201 = load ptr, ptr %5, align 8 %202 = call i32 @cleanValues(ptr noundef %201) store i32 1, ptr %2, align 4 br label %203 203: ; preds = %198, %184, %174, %154, %130, %107, %90, %70, %46, %22 %204 = load i32, ptr %2, align 4 ret i32 %204 } declare i64 @calloc(i32 noundef, i32 noundef) #1 declare i32 @memoryInit(ptr noundef, i32 noundef) #1 declare ptr @readLine(ptr noundef) #1 declare i32 @unusedLine(ptr noundef) #1 declare i64 @checkSection(ptr noundef) #1 declare i32 @reallocate2D(ptr noundef, ptr noundef) #1 declare i32 @cleanValues(ptr noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i64 @searchDuplicitySections(ptr noundef, ptr noundef, i32 noundef) #1 declare i64 @checkKeyValue(ptr noundef) #1 declare i32 @cleanBufferKeys(ptr noundef, i32 noundef) #1 declare i64 @searchDuplicityKeys(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpl8ydcllm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @validFile(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %13 = call i64 @calloc(i32 noundef 10, i32 noundef 8) %14 = inttoptr i64 %13 to ptr store ptr %14, ptr %4, align 8 %15 = call i64 @calloc(i32 noundef 10, i32 noundef 8) %16 = inttoptr i64 %15 to ptr store ptr %16, ptr %5, align 8 %17 = load ptr, ptr %4, align 8 %18 = icmp ne ptr %17, null br i1 %18, label %19, label %22 19: ; preds = %1 %20 = load ptr, ptr %5, align 8 %21 = icmp ne ptr %20, null br i1 %21, label %23, label %22 22: ; preds = %19, %1 store i32 0, ptr %2, align 4 br label %204 23: ; preds = %19 %24 = load ptr, ptr %4, align 8 %25 = call i32 @memoryInit(ptr noundef %24, i32 noundef 0) store i32 10, ptr %6, align 4 store i32 10, ptr %7, align 4 store i32 0, ptr %8, align 4 store i32 0, ptr %9, align 4 store i32 0, ptr %10, align 4 store i32 0, ptr %11, align 4 %26 = load ptr, ptr %3, align 8 %27 = call ptr @readLine(ptr noundef %26) store ptr %27, ptr %12, align 8 %28 = load ptr, ptr %12, align 8 %29 = icmp ne ptr %28, null br i1 %29, label %.lr.ph, label %199 .lr.ph: ; preds = %23 br label %30 30: ; preds = %.lr.ph, %192 %31 = load ptr, ptr %12, align 8 %32 = call i32 @unusedLine(ptr noundef %31) %33 = icmp ne i32 %32, 0 br i1 %33, label %192, label %34 34: ; preds = %30 %35 = load ptr, ptr %12, align 8 %36 = call i64 @checkSection(ptr noundef %35) %37 = icmp ne i64 %36, 0 br i1 %37, label %38, label %99 38: ; preds = %34 store i32 1, ptr %10, align 4 store i32 1, ptr %11, align 4 %39 = load i32, ptr %8, align 4 %40 = load i32, ptr %6, align 4 %41 = icmp uge i32 %39, %40 br i1 %41, label %42, label %53 42: ; preds = %38 %43 = call i32 @reallocate2D(ptr noundef %4, ptr noundef %6) %44 = icmp ne i32 %43, 0 br i1 %44, label %52, label %45 45: ; preds = %42 %46 = load ptr, ptr %4, align 8 %47 = call i32 @cleanValues(ptr noundef %46) %48 = load ptr, ptr %5, align 8 %49 = call i32 @cleanValues(ptr noundef %48) %50 = load ptr, ptr %12, align 8 %51 = call i32 @free(ptr noundef %50) store i32 0, ptr %2, align 4 br label %204 52: ; preds = %42 br label %53 53: ; preds = %52, %38 %54 = load ptr, ptr %12, align 8 %55 = call i32 @strlen(ptr noundef %54) %56 = add nsw i32 %55, 1 %57 = call i64 @calloc(i32 noundef %56, i32 noundef 1) %58 = inttoptr i64 %57 to ptr %59 = load ptr, ptr %4, align 8 %60 = load i32, ptr %8, align 4 %61 = zext i32 %60 to i64 %62 = getelementptr inbounds ptr, ptr %59, i64 %61 store ptr %58, ptr %62, align 8 %63 = load ptr, ptr %4, align 8 %64 = load i32, ptr %8, align 4 %65 = zext i32 %64 to i64 %66 = getelementptr inbounds ptr, ptr %63, i64 %65 %67 = load ptr, ptr %66, align 8 %68 = icmp ne ptr %67, null br i1 %68, label %76, label %69 69: ; preds = %53 %70 = load ptr, ptr %4, align 8 %71 = call i32 @cleanValues(ptr noundef %70) %72 = load ptr, ptr %5, align 8 %73 = call i32 @cleanValues(ptr noundef %72) %74 = load ptr, ptr %12, align 8 %75 = call i32 @free(ptr noundef %74) store i32 0, ptr %2, align 4 br label %204 76: ; preds = %53 %77 = load ptr, ptr %4, align 8 %78 = load i32, ptr %8, align 4 %79 = zext i32 %78 to i64 %80 = getelementptr inbounds ptr, ptr %77, i64 %79 %81 = load ptr, ptr %80, align 8 %82 = load ptr, ptr %12, align 8 %83 = call i32 @strcpy(ptr noundef %81, ptr noundef %82) %84 = load ptr, ptr %4, align 8 %85 = load ptr, ptr %12, align 8 %86 = load i32, ptr %8, align 4 %87 = call i64 @searchDuplicitySections(ptr noundef %84, ptr noundef %85, i32 noundef %86) %88 = icmp ne i64 %87, 0 br i1 %88, label %89, label %96 89: ; preds = %76 %90 = load ptr, ptr %4, align 8 %91 = call i32 @cleanValues(ptr noundef %90) %92 = load ptr, ptr %5, align 8 %93 = call i32 @cleanValues(ptr noundef %92) %94 = load ptr, ptr %12, align 8 %95 = call i32 @free(ptr noundef %94) store i32 0, ptr %2, align 4 br label %204 96: ; preds = %76 %97 = load i32, ptr %8, align 4 %98 = add i32 %97, 1 store i32 %98, ptr %8, align 4 br label %191 99: ; preds = %34 %100 = load ptr, ptr %12, align 8 %101 = call i64 @checkKeyValue(ptr noundef %100) %102 = icmp ne i64 %101, 0 br i1 %102, label %103, label %183 103: ; preds = %99 %104 = load i32, ptr %10, align 4 %105 = icmp ne i32 %104, 0 br i1 %105, label %113, label %106 106: ; preds = %103 %107 = load ptr, ptr %4, align 8 %108 = call i32 @cleanValues(ptr noundef %107) %109 = load ptr, ptr %5, align 8 %110 = call i32 @cleanValues(ptr noundef %109) %111 = load ptr, ptr %12, align 8 %112 = call i32 @free(ptr noundef %111) store i32 0, ptr %2, align 4 br label %204 113: ; preds = %103 %114 = load i32, ptr %11, align 4 %115 = icmp ne i32 %114, 0 br i1 %115, label %116, label %122 116: ; preds = %113 store i32 0, ptr %11, align 4 %117 = load ptr, ptr %5, align 8 %118 = load i32, ptr %9, align 4 %119 = call i32 @cleanBufferKeys(ptr noundef %117, i32 noundef %118) %120 = load ptr, ptr %5, align 8 %121 = call i32 @memoryInit(ptr noundef %120, i32 noundef 0) store i32 10, ptr %7, align 4 store i32 0, ptr %9, align 4 br label %122 122: ; preds = %116, %113 %123 = load i32, ptr %9, align 4 %124 = load i32, ptr %7, align 4 %125 = icmp uge i32 %123, %124 br i1 %125, label %126, label %137 126: ; preds = %122 %127 = call i32 @reallocate2D(ptr noundef %5, ptr noundef %7) %128 = icmp ne i32 %127, 0 br i1 %128, label %136, label %129 129: ; preds = %126 %130 = load ptr, ptr %4, align 8 %131 = call i32 @cleanValues(ptr noundef %130) %132 = load ptr, ptr %5, align 8 %133 = call i32 @cleanValues(ptr noundef %132) %134 = load ptr, ptr %12, align 8 %135 = call i32 @free(ptr noundef %134) store i32 0, ptr %2, align 4 br label %204 136: ; preds = %126 br label %137 137: ; preds = %136, %122 %138 = load ptr, ptr %12, align 8 %139 = call i32 @strlen(ptr noundef %138) %140 = add nsw i32 %139, 1 %141 = call i64 @calloc(i32 noundef %140, i32 noundef 1) %142 = inttoptr i64 %141 to ptr %143 = load ptr, ptr %5, align 8 %144 = load i32, ptr %9, align 4 %145 = zext i32 %144 to i64 %146 = getelementptr inbounds ptr, ptr %143, i64 %145 store ptr %142, ptr %146, align 8 %147 = load ptr, ptr %5, align 8 %148 = load i32, ptr %9, align 4 %149 = zext i32 %148 to i64 %150 = getelementptr inbounds ptr, ptr %147, i64 %149 %151 = load ptr, ptr %150, align 8 %152 = icmp ne ptr %151, null br i1 %152, label %160, label %153 153: ; preds = %137 %154 = load ptr, ptr %4, align 8 %155 = call i32 @cleanValues(ptr noundef %154) %156 = load ptr, ptr %5, align 8 %157 = call i32 @cleanValues(ptr noundef %156) %158 = load ptr, ptr %12, align 8 %159 = call i32 @free(ptr noundef %158) store i32 0, ptr %2, align 4 br label %204 160: ; preds = %137 %161 = load ptr, ptr %5, align 8 %162 = load i32, ptr %9, align 4 %163 = zext i32 %162 to i64 %164 = getelementptr inbounds ptr, ptr %161, i64 %163 %165 = load ptr, ptr %164, align 8 %166 = load ptr, ptr %12, align 8 %167 = call i32 @strcpy(ptr noundef %165, ptr noundef %166) %168 = load ptr, ptr %5, align 8 %169 = load ptr, ptr %12, align 8 %170 = load i32, ptr %9, align 4 %171 = call i64 @searchDuplicityKeys(ptr noundef %168, ptr noundef %169, i32 noundef %170) %172 = icmp ne i64 %171, 0 br i1 %172, label %173, label %180 173: ; preds = %160 %174 = load ptr, ptr %4, align 8 %175 = call i32 @cleanValues(ptr noundef %174) %176 = load ptr, ptr %5, align 8 %177 = call i32 @cleanValues(ptr noundef %176) %178 = load ptr, ptr %12, align 8 %179 = call i32 @free(ptr noundef %178) store i32 0, ptr %2, align 4 br label %204 180: ; preds = %160 %181 = load i32, ptr %9, align 4 %182 = add i32 %181, 1 store i32 %182, ptr %9, align 4 br label %190 183: ; preds = %99 %184 = load ptr, ptr %4, align 8 %185 = call i32 @cleanValues(ptr noundef %184) %186 = load ptr, ptr %5, align 8 %187 = call i32 @cleanValues(ptr noundef %186) %188 = load ptr, ptr %12, align 8 %189 = call i32 @free(ptr noundef %188) store i32 0, ptr %2, align 4 br label %204 190: ; preds = %180 br label %191 191: ; preds = %190, %96 br label %192 192: ; preds = %191, %30 %193 = load ptr, ptr %12, align 8 %194 = call i32 @free(ptr noundef %193) %195 = load ptr, ptr %3, align 8 %196 = call ptr @readLine(ptr noundef %195) store ptr %196, ptr %12, align 8 %197 = load ptr, ptr %12, align 8 %198 = icmp ne ptr %197, null br i1 %198, label %30, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %192 br label %199 199: ; preds = %._crit_edge, %23 %200 = load ptr, ptr %4, align 8 %201 = call i32 @cleanValues(ptr noundef %200) %202 = load ptr, ptr %5, align 8 %203 = call i32 @cleanValues(ptr noundef %202) store i32 1, ptr %2, align 4 br label %204 204: ; preds = %199, %183, %173, %153, %129, %106, %89, %69, %45, %22 %205 = load i32, ptr %2, align 4 ret i32 %205 } declare i64 @calloc(i32 noundef, i32 noundef) #1 declare i32 @memoryInit(ptr noundef, i32 noundef) #1 declare ptr @readLine(ptr noundef) #1 declare i32 @unusedLine(ptr noundef) #1 declare i64 @checkSection(ptr noundef) #1 declare i32 @reallocate2D(ptr noundef, ptr noundef) #1 declare i32 @cleanValues(ptr noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i64 @searchDuplicitySections(ptr noundef, ptr noundef, i32 noundef) #1 declare i64 @checkKeyValue(ptr noundef) #1 declare i32 @cleanBufferKeys(ptr noundef, i32 noundef) #1 declare i64 @searchDuplicityKeys(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpa5ca3ajm.c' source_filename = "/tmp/tmpa5ca3ajm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @uninitvar_iswlower() #0 { %1 = alloca i32, align 4 %2 = load i32, ptr %1, align 4 %3 = call i32 @iswlower(i32 noundef %2) ret void } declare i32 @iswlower(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpa5ca3ajm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @uninitvar_iswlower() #0 { %1 = alloca i32, align 4 %2 = load i32, ptr %1, align 4 %3 = call i32 @iswlower(i32 noundef %2) ret void } declare i32 @iswlower(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpu27y3_ku.c' source_filename = "/tmp/tmpu27y3_ku.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @tab(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 %6 = load i32, ptr %5, align 4 %7 = icmp slt i32 %6, 0 br i1 %7, label %8, label %9 8: ; preds = %2 store i32 0, ptr %3, align 4 br label %12 9: ; preds = %2 %10 = load i32, ptr %5, align 4 %11 = call i32 @linsert(i32 noundef %10, i32 noundef 9) store i32 %11, ptr %3, align 4 br label %12 12: ; preds = %9, %8 %13 = load i32, ptr %3, align 4 ret i32 %13 } declare i32 @linsert(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpu27y3_ku.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @tab(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 %6 = load i32, ptr %5, align 4 %7 = icmp slt i32 %6, 0 br i1 %7, label %8, label %9 8: ; preds = %2 store i32 0, ptr %3, align 4 br label %12 9: ; preds = %2 %10 = load i32, ptr %5, align 4 %11 = call i32 @linsert(i32 noundef %10, i32 noundef 9) store i32 %11, ptr %3, align 4 br label %12 12: ; preds = %9, %8 %13 = load i32, ptr %3, align 4 ret i32 %13 } declare i32 @linsert(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpp1h6wtap.c' source_filename = "/tmp/tmpp1h6wtap.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @M_PI = dso_local global double 0.000000e+00, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @nanotec_rad_to_deg(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = load double, ptr %2, align 8 %4 = fmul double %3, 1.800000e+02 %5 = load double, ptr @M_PI, align 8 %6 = fdiv double %4, %5 ret double %6 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpp1h6wtap.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @M_PI = dso_local global double 0.000000e+00, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local double @nanotec_rad_to_deg(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = load double, ptr %2, align 8 %4 = fmul double %3, 1.800000e+02 %5 = load double, ptr @M_PI, align 8 %6 = fdiv double %4, %5 ret double %6 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmps41olgi0.c' source_filename = "/tmp/tmps41olgi0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmps41olgi0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpz0986ud0.c' source_filename = "/tmp/tmpz0986ud0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @RAND_MAX = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @rand_r(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = icmp ne ptr %3, null %5 = zext i1 %4 to i32 %6 = call i32 @_DIAGASSERT(i32 noundef %5) %7 = load ptr, ptr %2, align 8 %8 = load i32, ptr %7, align 4 %9 = mul i32 %8, 1103515245 %10 = add i32 %9, 12345 %11 = load ptr, ptr %2, align 8 store i32 %10, ptr %11, align 4 %12 = load i32, ptr @RAND_MAX, align 4 %13 = and i32 %10, %12 ret i32 %13 } declare i32 @_DIAGASSERT(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpz0986ud0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @RAND_MAX = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @rand_r(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = icmp ne ptr %3, null %5 = zext i1 %4 to i32 %6 = call i32 @_DIAGASSERT(i32 noundef %5) %7 = load ptr, ptr %2, align 8 %8 = load i32, ptr %7, align 4 %9 = mul i32 %8, 1103515245 %10 = add i32 %9, 12345 %11 = load ptr, ptr %2, align 8 store i32 %10, ptr %11, align 4 %12 = load i32, ptr @RAND_MAX, align 4 %13 = and i32 %10, %12 ret i32 %13 } declare i32 @_DIAGASSERT(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpf4gjnup4.c' source_filename = "/tmp/tmpf4gjnup4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"+\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @pinta_cruz() #0 { br label %1 1: ; preds = %0, %1 %2 = call i32 @printf(ptr noundef @.str) %3 = call i32 @usleep(i32 noundef 200) br label %1 } declare i32 @printf(ptr noundef) #1 declare i32 @usleep(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpf4gjnup4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"+\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @pinta_cruz() #0 { br label %1 1: ; preds = %1, %0 %2 = call i32 @printf(ptr noundef @.str) %3 = call i32 @usleep(i32 noundef 200) br label %1 } declare i32 @printf(ptr noundef) #1 declare i32 @usleep(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp7hrayndg.c' source_filename = "/tmp/tmp7hrayndg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7hrayndg.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp4rnfm5km.c' source_filename = "/tmp/tmp4rnfm5km.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @strspn(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i64 0, ptr %5, align 8 br label %6 6: ; preds = %21, %2 %7 = load ptr, ptr %3, align 8 %8 = load i8, ptr %7, align 1 %9 = sext i8 %8 to i32 %10 = icmp ne i32 %9, 0 br i1 %10, label %11, label %19 11: ; preds = %6 %12 = load ptr, ptr %4, align 8 %13 = load ptr, ptr %3, align 8 %14 = getelementptr inbounds i8, ptr %13, i32 1 store ptr %14, ptr %3, align 8 %15 = load i8, ptr %13, align 1 %16 = sext i8 %15 to i32 %17 = call i64 @strchr(ptr noundef %12, i32 noundef %16) %18 = icmp ne i64 %17, 0 br label %19 19: ; preds = %11, %6 %20 = phi i1 [ false, %6 ], [ %18, %11 ] br i1 %20, label %21, label %24 21: ; preds = %19 %22 = load i64, ptr %5, align 8 %23 = add i64 %22, 1 store i64 %23, ptr %5, align 8 br label %6, !llvm.loop !6 24: ; preds = %19 %25 = load i64, ptr %5, align 8 ret i64 %25 } declare i64 @strchr(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4rnfm5km.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @strspn(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i64 0, ptr %5, align 8 br label %6 6: ; preds = %21, %2 %7 = load ptr, ptr %3, align 8 %8 = load i8, ptr %7, align 1 %9 = sext i8 %8 to i32 %10 = icmp ne i32 %9, 0 br i1 %10, label %11, label %19 11: ; preds = %6 %12 = load ptr, ptr %4, align 8 %13 = load ptr, ptr %3, align 8 %14 = getelementptr inbounds i8, ptr %13, i32 1 store ptr %14, ptr %3, align 8 %15 = load i8, ptr %13, align 1 %16 = sext i8 %15 to i32 %17 = call i64 @strchr(ptr noundef %12, i32 noundef %16) %18 = icmp ne i64 %17, 0 br label %19 19: ; preds = %11, %6 %20 = phi i1 [ false, %6 ], [ %18, %11 ] br i1 %20, label %21, label %24 21: ; preds = %19 %22 = load i64, ptr %5, align 8 %23 = add i64 %22, 1 store i64 %23, ptr %5, align 8 br label %6, !llvm.loop !6 24: ; preds = %19 %25 = load i64, ptr %5, align 8 ret i64 %25 } declare i64 @strchr(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpw0ma225g.c' source_filename = "/tmp/tmpw0ma225g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpw0ma225g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpnzsv7sxf.c' source_filename = "/tmp/tmpnzsv7sxf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"data_in.txt\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"%d%c%d=\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca [71 x i8], align 16 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i8, align 1 %13 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %14 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %14, ptr %6, align 8 %15 = load ptr, ptr %6, align 8 %16 = icmp eq ptr %15, null br i1 %16, label %17, label %19 17: ; preds = %2 %18 = call i32 @exit(i32 noundef 1) #3 unreachable 19: ; preds = %2 %20 = load i32, ptr %4, align 4 %21 = icmp sgt i32 %20, 0 br i1 %21, label %22, label %27 22: ; preds = %19 %23 = load ptr, ptr %5, align 8 %24 = getelementptr inbounds ptr, ptr %23, i64 1 %25 = load ptr, ptr %24, align 8 %26 = call i32 @atoi(ptr noundef %25) store i32 %26, ptr %8, align 4 br label %28 27: ; preds = %19 store i32 1000, ptr %8, align 4 br label %28 28: ; preds = %27, %22 store i32 0, ptr %9, align 4 br label %29 29: ; preds = %56, %28 %30 = load i32, ptr %9, align 4 %31 = load i32, ptr %8, align 4 %32 = icmp slt i32 %30, %31 br i1 %32, label %33, label %67 33: ; preds = %29 %34 = call i32 (...) @rand() %35 = srem i32 %34, 100 %36 = add nsw i32 %35, 1 store i32 %36, ptr %10, align 4 %37 = call i32 (...) @rand() %38 = srem i32 %37, 100 %39 = add nsw i32 %38, 1 store i32 %39, ptr %11, align 4 %40 = call i32 (...) @rand() %41 = srem i32 %40, 256 store i32 %41, ptr %13, align 4 %42 = load i32, ptr %13, align 4 %43 = icmp sgt i32 %42, 192 br i1 %43, label %44, label %45 44: ; preds = %33 store i8 47, ptr %12, align 1 br label %56 45: ; preds = %33 %46 = load i32, ptr %13, align 4 %47 = icmp sgt i32 %46, 128 br i1 %47, label %48, label %49 48: ; preds = %45 store i8 42, ptr %12, align 1 br label %55 49: ; preds = %45 %50 = load i32, ptr %13, align 4 %51 = icmp sgt i32 %50, 64 br i1 %51, label %52, label %53 52: ; preds = %49 store i8 45, ptr %12, align 1 br label %54 53: ; preds = %49 store i8 43, ptr %12, align 1 br label %54 54: ; preds = %53, %52 br label %55 55: ; preds = %54, %48 br label %56 56: ; preds = %55, %44 %57 = getelementptr inbounds [71 x i8], ptr %7, i64 0, i64 0 %58 = load i32, ptr %10, align 4 %59 = load i8, ptr %12, align 1 %60 = load i32, ptr %11, align 4 %61 = call i32 @sprintf(ptr noundef %57, ptr noundef @.str.2, i32 noundef %58, i8 noundef signext %59, i32 noundef %60) %62 = getelementptr inbounds [71 x i8], ptr %7, i64 0, i64 0 %63 = load ptr, ptr %6, align 8 %64 = call i32 @fputs(ptr noundef %62, ptr noundef %63) %65 = load i32, ptr %9, align 4 %66 = add nsw i32 %65, 1 store i32 %66, ptr %9, align 4 br label %29, !llvm.loop !6 67: ; preds = %29 %68 = load ptr, ptr %6, align 8 %69 = call i32 @fclose(ptr noundef %68) ret i32 0 } declare ptr @fopen(ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @atoi(ptr noundef) #1 declare i32 @rand(...) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, i8 noundef signext, i32 noundef) #1 declare i32 @fputs(ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpnzsv7sxf.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"data_in.txt\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"w\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"%d%c%d=\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca [71 x i8], align 16 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i8, align 1 %13 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %14 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %14, ptr %6, align 8 %15 = load ptr, ptr %6, align 8 %16 = icmp eq ptr %15, null br i1 %16, label %17, label %19 17: ; preds = %2 %18 = call i32 @exit(i32 noundef 1) #3 unreachable 19: ; preds = %2 %20 = load i32, ptr %4, align 4 %21 = icmp sgt i32 %20, 0 br i1 %21, label %22, label %27 22: ; preds = %19 %23 = load ptr, ptr %5, align 8 %24 = getelementptr inbounds ptr, ptr %23, i64 1 %25 = load ptr, ptr %24, align 8 %26 = call i32 @atoi(ptr noundef %25) store i32 %26, ptr %8, align 4 br label %28 27: ; preds = %19 store i32 1000, ptr %8, align 4 br label %28 28: ; preds = %27, %22 store i32 0, ptr %9, align 4 %29 = load i32, ptr %9, align 4 %30 = load i32, ptr %8, align 4 %31 = icmp slt i32 %29, %30 br i1 %31, label %.lr.ph, label %69 .lr.ph: ; preds = %28 br label %32 32: ; preds = %.lr.ph, %55 %33 = call i32 (...) @rand() %34 = srem i32 %33, 100 %35 = add nsw i32 %34, 1 store i32 %35, ptr %10, align 4 %36 = call i32 (...) @rand() %37 = srem i32 %36, 100 %38 = add nsw i32 %37, 1 store i32 %38, ptr %11, align 4 %39 = call i32 (...) @rand() %40 = srem i32 %39, 256 store i32 %40, ptr %13, align 4 %41 = load i32, ptr %13, align 4 %42 = icmp sgt i32 %41, 192 br i1 %42, label %43, label %44 43: ; preds = %32 store i8 47, ptr %12, align 1 br label %55 44: ; preds = %32 %45 = load i32, ptr %13, align 4 %46 = icmp sgt i32 %45, 128 br i1 %46, label %47, label %48 47: ; preds = %44 store i8 42, ptr %12, align 1 br label %54 48: ; preds = %44 %49 = load i32, ptr %13, align 4 %50 = icmp sgt i32 %49, 64 br i1 %50, label %51, label %52 51: ; preds = %48 store i8 45, ptr %12, align 1 br label %53 52: ; preds = %48 store i8 43, ptr %12, align 1 br label %53 53: ; preds = %52, %51 br label %54 54: ; preds = %53, %47 br label %55 55: ; preds = %54, %43 %56 = getelementptr inbounds [71 x i8], ptr %7, i64 0, i64 0 %57 = load i32, ptr %10, align 4 %58 = load i8, ptr %12, align 1 %59 = load i32, ptr %11, align 4 %60 = call i32 @sprintf(ptr noundef %56, ptr noundef @.str.2, i32 noundef %57, i8 noundef signext %58, i32 noundef %59) %61 = getelementptr inbounds [71 x i8], ptr %7, i64 0, i64 0 %62 = load ptr, ptr %6, align 8 %63 = call i32 @fputs(ptr noundef %61, ptr noundef %62) %64 = load i32, ptr %9, align 4 %65 = add nsw i32 %64, 1 store i32 %65, ptr %9, align 4 %66 = load i32, ptr %9, align 4 %67 = load i32, ptr %8, align 4 %68 = icmp slt i32 %66, %67 br i1 %68, label %32, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %55 br label %69 69: ; preds = %._crit_edge, %28 %70 = load ptr, ptr %6, align 8 %71 = call i32 @fclose(ptr noundef %70) ret i32 0 } declare ptr @fopen(ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @atoi(ptr noundef) #1 declare i32 @rand(...) #1 declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef, i8 noundef signext, i32 noundef) #1 declare i32 @fputs(ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpamef53gh.c' source_filename = "/tmp/tmpamef53gh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [33 x i8] c"A soma de %d com %6.3f \C3\A9 %6.3f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca float, align 4 %4 = alloca float, align 4 store i32 0, ptr %1, align 4 store i32 10, ptr %2, align 4 store float 0x40289999A0000000, ptr %3, align 4 %5 = load float, ptr %3, align 4 %6 = load i32, ptr %2, align 4 %7 = call float @soma(float noundef %5, i32 noundef %6) store float %7, ptr %4, align 4 %8 = load i32, ptr %2, align 4 %9 = load float, ptr %3, align 4 %10 = load float, ptr %4, align 4 %11 = call i32 @printf(ptr noundef @.str, i32 noundef %8, float noundef %9, float noundef %10) ret i32 0 } declare float @soma(float noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, float noundef, float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpamef53gh.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [33 x i8] c"A soma de %d com %6.3f \C3\A9 %6.3f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca float, align 4 %4 = alloca float, align 4 store i32 0, ptr %1, align 4 store i32 10, ptr %2, align 4 store float 0x40289999A0000000, ptr %3, align 4 %5 = load float, ptr %3, align 4 %6 = load i32, ptr %2, align 4 %7 = call float @soma(float noundef %5, i32 noundef %6) store float %7, ptr %4, align 4 %8 = load i32, ptr %2, align 4 %9 = load float, ptr %3, align 4 %10 = load float, ptr %4, align 4 %11 = call i32 @printf(ptr noundef @.str, i32 noundef %8, float noundef %9, float noundef %10) ret i32 0 } declare float @soma(float noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, float noundef, float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpof12dg1p.c' source_filename = "/tmp/tmpof12dg1p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"strvalues.tmp\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"wppstr\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"w+\00", align 1 @.str.4 = private unnamed_addr constant [7 x i8] c"%s %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @Str_remove(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca [30 x i8], align 16 %5 = alloca [1000 x i8], align 16 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %8 = load ptr, ptr %3, align 8 %9 = call i64 @Str_exists(ptr noundef %8) %10 = icmp ne i64 %9, 0 br i1 %10, label %11, label %61 11: ; preds = %1 %12 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %12, ptr %6, align 8 %13 = call ptr @fopen(ptr noundef @.str.2, ptr noundef @.str.3) store ptr %13, ptr %7, align 8 br label %14 14: ; preds = %33, %11 %15 = load ptr, ptr %6, align 8 %16 = call i32 @feof(ptr noundef %15) %17 = icmp ne i32 %16, 0 %18 = xor i1 %17, true br i1 %18, label %19, label %34 19: ; preds = %14 %20 = load ptr, ptr %6, align 8 %21 = getelementptr inbounds [30 x i8], ptr %4, i64 0, i64 0 %22 = getelementptr inbounds [1000 x i8], ptr %5, i64 0, i64 0 %23 = call i32 @fscanf(ptr noundef %20, ptr noundef @.str.4, ptr noundef %21, ptr noundef %22) %24 = load ptr, ptr %3, align 8 %25 = getelementptr inbounds [30 x i8], ptr %4, i64 0, i64 0 %26 = call i64 @strcmp(ptr noundef %24, ptr noundef %25) %27 = icmp ne i64 %26, 0 br i1 %27, label %28, label %33 28: ; preds = %19 %29 = load ptr, ptr %7, align 8 %30 = getelementptr inbounds [30 x i8], ptr %4, i64 0, i64 0 %31 = getelementptr inbounds [1000 x i8], ptr %5, i64 0, i64 0 %32 = call i32 @fprintf(ptr noundef %29, ptr noundef @.str.4, ptr noundef %30, ptr noundef %31) br label %33 33: ; preds = %28, %19 br label %14, !llvm.loop !6 34: ; preds = %14 %35 = load ptr, ptr %6, align 8 %36 = call i32 @fclose(ptr noundef %35) %37 = load ptr, ptr %7, align 8 %38 = call i32 @fclose(ptr noundef %37) %39 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.3) store ptr %39, ptr %6, align 8 %40 = call ptr @fopen(ptr noundef @.str.2, ptr noundef @.str.1) store ptr %40, ptr %7, align 8 br label %41 41: ; preds = %46, %34 %42 = load ptr, ptr %7, align 8 %43 = call i32 @feof(ptr noundef %42) %44 = icmp ne i32 %43, 0 %45 = xor i1 %44, true br i1 %45, label %46, label %55 46: ; preds = %41 %47 = load ptr, ptr %7, align 8 %48 = getelementptr inbounds [30 x i8], ptr %4, i64 0, i64 0 %49 = getelementptr inbounds [1000 x i8], ptr %5, i64 0, i64 0 %50 = call i32 @fscanf(ptr noundef %47, ptr noundef @.str.4, ptr noundef %48, ptr noundef %49) %51 = load ptr, ptr %6, align 8 %52 = getelementptr inbounds [30 x i8], ptr %4, i64 0, i64 0 %53 = getelementptr inbounds [1000 x i8], ptr %5, i64 0, i64 0 %54 = call i32 @fprintf(ptr noundef %51, ptr noundef @.str.4, ptr noundef %52, ptr noundef %53) br label %41, !llvm.loop !8 55: ; preds = %41 %56 = load ptr, ptr %6, align 8 %57 = call i32 @fclose(ptr noundef %56) %58 = load ptr, ptr %7, align 8 %59 = call i32 @fclose(ptr noundef %58) %60 = call i32 @remove(ptr noundef @.str.2) store i32 1, ptr %2, align 4 br label %62 61: ; preds = %1 store i32 0, ptr %2, align 4 br label %62 62: ; preds = %61, %55 %63 = load i32, ptr %2, align 4 ret i32 %63 } declare i64 @Str_exists(ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @feof(ptr noundef) #1 declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @remove(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpof12dg1p.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"strvalues.tmp\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"wppstr\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"w+\00", align 1 @.str.4 = private unnamed_addr constant [7 x i8] c"%s %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @Str_remove(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca [30 x i8], align 16 %5 = alloca [1000 x i8], align 16 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %8 = load ptr, ptr %3, align 8 %9 = call i64 @Str_exists(ptr noundef %8) %10 = icmp ne i64 %9, 0 br i1 %10, label %11, label %67 11: ; preds = %1 %12 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %12, ptr %6, align 8 %13 = call ptr @fopen(ptr noundef @.str.2, ptr noundef @.str.3) store ptr %13, ptr %7, align 8 %14 = load ptr, ptr %6, align 8 %15 = call i32 @feof(ptr noundef %14) %16 = icmp ne i32 %15, 0 %17 = xor i1 %16, true br i1 %17, label %.lr.ph, label %37 .lr.ph: ; preds = %11 br label %18 18: ; preds = %.lr.ph, %32 %19 = load ptr, ptr %6, align 8 %20 = getelementptr inbounds [30 x i8], ptr %4, i64 0, i64 0 %21 = getelementptr inbounds [1000 x i8], ptr %5, i64 0, i64 0 %22 = call i32 @fscanf(ptr noundef %19, ptr noundef @.str.4, ptr noundef %20, ptr noundef %21) %23 = load ptr, ptr %3, align 8 %24 = getelementptr inbounds [30 x i8], ptr %4, i64 0, i64 0 %25 = call i64 @strcmp(ptr noundef %23, ptr noundef %24) %26 = icmp ne i64 %25, 0 br i1 %26, label %27, label %32 27: ; preds = %18 %28 = load ptr, ptr %7, align 8 %29 = getelementptr inbounds [30 x i8], ptr %4, i64 0, i64 0 %30 = getelementptr inbounds [1000 x i8], ptr %5, i64 0, i64 0 %31 = call i32 @fprintf(ptr noundef %28, ptr noundef @.str.4, ptr noundef %29, ptr noundef %30) br label %32 32: ; preds = %27, %18 %33 = load ptr, ptr %6, align 8 %34 = call i32 @feof(ptr noundef %33) %35 = icmp ne i32 %34, 0 %36 = xor i1 %35, true br i1 %36, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %32 br label %37 37: ; preds = %._crit_edge, %11 %38 = load ptr, ptr %6, align 8 %39 = call i32 @fclose(ptr noundef %38) %40 = load ptr, ptr %7, align 8 %41 = call i32 @fclose(ptr noundef %40) %42 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.3) store ptr %42, ptr %6, align 8 %43 = call ptr @fopen(ptr noundef @.str.2, ptr noundef @.str.1) store ptr %43, ptr %7, align 8 %44 = load ptr, ptr %7, align 8 %45 = call i32 @feof(ptr noundef %44) %46 = icmp ne i32 %45, 0 %47 = xor i1 %46, true br i1 %47, label %.lr.ph2, label %61 .lr.ph2: ; preds = %37 br label %48 48: ; preds = %.lr.ph2, %48 %49 = load ptr, ptr %7, align 8 %50 = getelementptr inbounds [30 x i8], ptr %4, i64 0, i64 0 %51 = getelementptr inbounds [1000 x i8], ptr %5, i64 0, i64 0 %52 = call i32 @fscanf(ptr noundef %49, ptr noundef @.str.4, ptr noundef %50, ptr noundef %51) %53 = load ptr, ptr %6, align 8 %54 = getelementptr inbounds [30 x i8], ptr %4, i64 0, i64 0 %55 = getelementptr inbounds [1000 x i8], ptr %5, i64 0, i64 0 %56 = call i32 @fprintf(ptr noundef %53, ptr noundef @.str.4, ptr noundef %54, ptr noundef %55) %57 = load ptr, ptr %7, align 8 %58 = call i32 @feof(ptr noundef %57) %59 = icmp ne i32 %58, 0 %60 = xor i1 %59, true br i1 %60, label %48, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %48 br label %61 61: ; preds = %._crit_edge3, %37 %62 = load ptr, ptr %6, align 8 %63 = call i32 @fclose(ptr noundef %62) %64 = load ptr, ptr %7, align 8 %65 = call i32 @fclose(ptr noundef %64) %66 = call i32 @remove(ptr noundef @.str.2) store i32 1, ptr %2, align 4 br label %68 67: ; preds = %1 store i32 0, ptr %2, align 4 br label %68 68: ; preds = %67, %61 %69 = load i32, ptr %2, align 4 ret i32 %69 } declare i64 @Str_exists(ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @feof(ptr noundef) #1 declare i32 @fscanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 declare i32 @remove(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp294278gy.c' source_filename = "/tmp/tmp294278gy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp294278gy.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpme92xidk.c' source_filename = "/tmp/tmpme92xidk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"%d %d %d\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"AP %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"GP %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 br label %5 5: ; preds = %0, %39 %6 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4) %7 = load i32, ptr %2, align 4 %8 = icmp ne i32 %7, 0 br i1 %8, label %15, label %9 9: ; preds = %5 %10 = load i32, ptr %3, align 4 %11 = icmp ne i32 %10, 0 br i1 %11, label %15, label %12 12: ; preds = %9 %13 = load i32, ptr %4, align 4 %14 = icmp ne i32 %13, 0 br i1 %14, label %15, label %38 15: ; preds = %12, %9, %5 %16 = load i32, ptr %3, align 4 %17 = load i32, ptr %2, align 4 %18 = sub nsw i32 %16, %17 %19 = load i32, ptr %4, align 4 %20 = load i32, ptr %3, align 4 %21 = sub nsw i32 %19, %20 %22 = icmp eq i32 %18, %21 br i1 %22, label %23, label %30 23: ; preds = %15 %24 = load i32, ptr %4, align 4 %25 = load i32, ptr %4, align 4 %26 = add nsw i32 %24, %25 %27 = load i32, ptr %3, align 4 %28 = sub nsw i32 %26, %27 %29 = call i32 @printf(ptr noundef @.str.1, i32 noundef %28) br label %37 30: ; preds = %15 %31 = load i32, ptr %4, align 4 %32 = load i32, ptr %4, align 4 %33 = mul nsw i32 %31, %32 %34 = load i32, ptr %3, align 4 %35 = sdiv i32 %33, %34 %36 = call i32 @printf(ptr noundef @.str.2, i32 noundef %35) br label %37 37: ; preds = %30, %23 br label %39 38: ; preds = %12 br label %40 39: ; preds = %37 br label %5 40: ; preds = %38 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpme92xidk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [9 x i8] c"%d %d %d\00", align 1 @.str.1 = private unnamed_addr constant [7 x i8] c"AP %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"GP %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 br label %5 5: ; preds = %39, %0 %6 = call i32 @scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4) %7 = load i32, ptr %2, align 4 %8 = icmp ne i32 %7, 0 br i1 %8, label %15, label %9 9: ; preds = %5 %10 = load i32, ptr %3, align 4 %11 = icmp ne i32 %10, 0 br i1 %11, label %15, label %12 12: ; preds = %9 %13 = load i32, ptr %4, align 4 %14 = icmp ne i32 %13, 0 br i1 %14, label %15, label %38 15: ; preds = %12, %9, %5 %16 = load i32, ptr %3, align 4 %17 = load i32, ptr %2, align 4 %18 = sub nsw i32 %16, %17 %19 = load i32, ptr %4, align 4 %20 = load i32, ptr %3, align 4 %21 = sub nsw i32 %19, %20 %22 = icmp eq i32 %18, %21 br i1 %22, label %23, label %30 23: ; preds = %15 %24 = load i32, ptr %4, align 4 %25 = load i32, ptr %4, align 4 %26 = add nsw i32 %24, %25 %27 = load i32, ptr %3, align 4 %28 = sub nsw i32 %26, %27 %29 = call i32 @printf(ptr noundef @.str.1, i32 noundef %28) br label %37 30: ; preds = %15 %31 = load i32, ptr %4, align 4 %32 = load i32, ptr %4, align 4 %33 = mul nsw i32 %31, %32 %34 = load i32, ptr %3, align 4 %35 = sdiv i32 %33, %34 %36 = call i32 @printf(ptr noundef @.str.2, i32 noundef %35) br label %37 37: ; preds = %30, %23 br label %39 38: ; preds = %12 br label %40 39: ; preds = %37 br label %5 40: ; preds = %38 ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmptqzdivhr.c' source_filename = "/tmp/tmptqzdivhr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ENOSYS = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @sysconf(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr @ENOSYS, align 4 store i32 %3, ptr @errno, align 4 ret i64 -1 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmptqzdivhr.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ENOSYS = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @sysconf(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr @ENOSYS, align 4 store i32 %3, ptr @errno, align 4 ret i64 -1 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp2d4xyqfs.c' source_filename = "/tmp/tmp2d4xyqfs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printUnsignedLongLong(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca [20 x i8], align 16 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i64 %0, ptr %2, align 8 call void @llvm.memset.p0.i64(ptr align 16 %3, i8 0, i64 20, i1 false) store i32 0, ptr %4, align 4 br label %6 6: ; preds = %9, %1 %7 = load i64, ptr %2, align 8 %8 = icmp ne i64 %7, 0 br i1 %8, label %9, label %24 9: ; preds = %6 %10 = load i64, ptr %2, align 8 %11 = load i64, ptr %2, align 8 %12 = udiv i64 %11, 10 %13 = mul i64 %12, 10 %14 = sub i64 %10, %13 %15 = add i64 %14, 48 %16 = trunc i64 %15 to i8 %17 = load i32, ptr %4, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 %18 store i8 %16, ptr %19, align 1 %20 = load i32, ptr %4, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %4, align 4 %22 = load i64, ptr %2, align 8 %23 = udiv i64 %22, 10 store i64 %23, ptr %2, align 8 br label %6, !llvm.loop !6 24: ; preds = %6 %25 = load i32, ptr %4, align 4 store i32 %25, ptr %5, align 4 br label %26 26: ; preds = %34, %24 %27 = load i32, ptr %5, align 4 %28 = icmp sgt i32 %27, -1 br i1 %28, label %29, label %37 29: ; preds = %26 %30 = load i32, ptr %5, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 %31 %33 = call i32 @write(i32 noundef 2, ptr noundef %32, i32 noundef 1) br label %34 34: ; preds = %29 %35 = load i32, ptr %5, align 4 %36 = add nsw i32 %35, -1 store i32 %36, ptr %5, align 4 br label %26, !llvm.loop !8 37: ; preds = %26 ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2d4xyqfs.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printUnsignedLongLong(i64 noundef %0) #0 { %2 = alloca i64, align 8 %3 = alloca [20 x i8], align 16 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i64 %0, ptr %2, align 8 call void @llvm.memset.p0.i64(ptr align 16 %3, i8 0, i64 20, i1 false) store i32 0, ptr %4, align 4 %6 = load i64, ptr %2, align 8 %7 = icmp ne i64 %6, 0 br i1 %7, label %.lr.ph, label %25 .lr.ph: ; preds = %1 br label %8 8: ; preds = %.lr.ph, %8 %9 = load i64, ptr %2, align 8 %10 = load i64, ptr %2, align 8 %11 = udiv i64 %10, 10 %12 = mul i64 %11, 10 %13 = sub i64 %9, %12 %14 = add i64 %13, 48 %15 = trunc i64 %14 to i8 %16 = load i32, ptr %4, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 %17 store i8 %15, ptr %18, align 1 %19 = load i32, ptr %4, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %4, align 4 %21 = load i64, ptr %2, align 8 %22 = udiv i64 %21, 10 store i64 %22, ptr %2, align 8 %23 = load i64, ptr %2, align 8 %24 = icmp ne i64 %23, 0 br i1 %24, label %8, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %8 br label %25 25: ; preds = %._crit_edge, %1 %26 = load i32, ptr %4, align 4 store i32 %26, ptr %5, align 4 %27 = load i32, ptr %5, align 4 %28 = icmp sgt i32 %27, -1 br i1 %28, label %.lr.ph2, label %39 .lr.ph2: ; preds = %25 br label %29 29: ; preds = %.lr.ph2, %34 %30 = load i32, ptr %5, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds [20 x i8], ptr %3, i64 0, i64 %31 %33 = call i32 @write(i32 noundef 2, ptr noundef %32, i32 noundef 1) br label %34 34: ; preds = %29 %35 = load i32, ptr %5, align 4 %36 = add nsw i32 %35, -1 store i32 %36, ptr %5, align 4 %37 = load i32, ptr %5, align 4 %38 = icmp sgt i32 %37, -1 br i1 %38, label %29, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %34 br label %39 39: ; preds = %._crit_edge3, %25 ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpuyr6_r41.c' source_filename = "/tmp/tmpuyr6_r41.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpuyr6_r41.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpmlas9vad.c' source_filename = "/tmp/tmpmlas9vad.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [51 x i8] c"Usage: %s <input.dts> <output.dts> [first] [last]\0A\00", align 1 @ULONG_MAX = dso_local global i64 0, align 8 @.str.1 = private unnamed_addr constant [22 x i8] c"Invalid packet range\0A\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"Couldn't open input file\0A\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"wb\00", align 1 @.str.4 = private unnamed_addr constant [27 x i8] c"Couldn't open output file\0A\00", align 1 @.str.5 = private unnamed_addr constant [25 x i8] c"Error %d reading packet\0A\00", align 1 @.str.6 = private unnamed_addr constant [25 x i8] c"Error %d writing packet\0A\00", align 1 @errno = dso_local global i32 0, align 4 @.str.7 = private unnamed_addr constant [19 x i8] c"Wrote %lu packets\0A\00", align 1 @.str.8 = private unnamed_addr constant [31 x i8] c"Didn't write a single packet!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca i32, align 4 %13 = alloca ptr, align 8 %14 = alloca i64, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %15 = load i32, ptr %4, align 4 %16 = icmp slt i32 %15, 3 br i1 %16, label %17, label %23 17: ; preds = %2 %18 = load i32, ptr @stderr, align 4 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds ptr, ptr %19, i64 0 %21 = load ptr, ptr %20, align 8 %22 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %18, ptr noundef @.str, ptr noundef %21) store i32 1, ptr %3, align 4 br label %127 23: ; preds = %2 store i64 0, ptr %6, align 8 %24 = load i64, ptr @ULONG_MAX, align 8 store i64 %24, ptr %7, align 8 %25 = load i32, ptr %4, align 4 %26 = icmp sgt i32 %25, 3 br i1 %26, label %27, label %32 27: ; preds = %23 %28 = load ptr, ptr %5, align 8 %29 = getelementptr inbounds ptr, ptr %28, i64 3 %30 = load ptr, ptr %29, align 8 %31 = call i64 @strtoul(ptr noundef %30, ptr noundef null, i32 noundef 0) store i64 %31, ptr %6, align 8 br label %32 32: ; preds = %27, %23 %33 = load i32, ptr %4, align 4 %34 = icmp sgt i32 %33, 4 br i1 %34, label %35, label %40 35: ; preds = %32 %36 = load ptr, ptr %5, align 8 %37 = getelementptr inbounds ptr, ptr %36, i64 4 %38 = load ptr, ptr %37, align 8 %39 = call i64 @strtoul(ptr noundef %38, ptr noundef null, i32 noundef 0) store i64 %39, ptr %7, align 8 br label %40 40: ; preds = %35, %32 %41 = load i64, ptr %7, align 8 %42 = load i64, ptr %6, align 8 %43 = icmp ult i64 %41, %42 br i1 %43, label %44, label %47 44: ; preds = %40 %45 = load i32, ptr @stderr, align 4 %46 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %45, ptr noundef @.str.1) store i32 1, ptr %3, align 4 br label %127 47: ; preds = %40 %48 = load ptr, ptr %5, align 8 %49 = getelementptr inbounds ptr, ptr %48, i64 1 %50 = load ptr, ptr %49, align 8 %51 = call ptr @dcadec_stream_open(ptr noundef %50, i32 noundef 0) store ptr %51, ptr %8, align 8 %52 = load ptr, ptr %8, align 8 %53 = icmp ne ptr %52, null br i1 %53, label %57, label %54 54: ; preds = %47 %55 = load i32, ptr @stderr, align 4 %56 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %55, ptr noundef @.str.2) store i32 1, ptr %3, align 4 br label %127 57: ; preds = %47 %58 = load ptr, ptr %5, align 8 %59 = getelementptr inbounds ptr, ptr %58, i64 2 %60 = load ptr, ptr %59, align 8 %61 = call ptr @fopen(ptr noundef %60, ptr noundef @.str.3) store ptr %61, ptr %9, align 8 %62 = load ptr, ptr %9, align 8 %63 = icmp ne ptr %62, null br i1 %63, label %69, label %64 64: ; preds = %57 %65 = load i32, ptr @stderr, align 4 %66 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %65, ptr noundef @.str.4) %67 = load ptr, ptr %8, align 8 %68 = call i32 @dcadec_stream_close(ptr noundef %67) store i32 1, ptr %3, align 4 br label %127 69: ; preds = %57 store i64 0, ptr %10, align 8 store i64 0, ptr %11, align 8 br label %70 70: ; preds = %69, %106 %71 = load ptr, ptr %8, align 8 %72 = call i32 @dcadec_stream_read(ptr noundef %71, ptr noundef %13, ptr noundef %14) store i32 %72, ptr %12, align 4 %73 = load i32, ptr %12, align 4 %74 = icmp slt i32 %73, 0 br i1 %74, label %75, label %79 75: ; preds = %70 %76 = load i32, ptr @stderr, align 4 %77 = load i32, ptr %12, align 4 %78 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %76, ptr noundef @.str.5, i32 noundef %77) br label %107 79: ; preds = %70 %80 = load i32, ptr %12, align 4 %81 = icmp eq i32 %80, 0 br i1 %81, label %82, label %83 82: ; preds = %79 br label %107 83: ; preds = %79 %84 = load i64, ptr %10, align 8 %85 = load i64, ptr %6, align 8 %86 = icmp uge i64 %84, %85 br i1 %86, label %87, label %100 87: ; preds = %83 %88 = load ptr, ptr %13, align 8 %89 = load i64, ptr %14, align 8 %90 = load ptr, ptr %9, align 8 %91 = call i32 @fwrite(ptr noundef %88, i64 noundef %89, i32 noundef 1, ptr noundef %90) %92 = icmp ne i32 %91, 1 br i1 %92, label %93, label %97 93: ; preds = %87 %94 = load i32, ptr @stderr, align 4 %95 = load i32, ptr @errno, align 4 %96 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %94, ptr noundef @.str.6, i32 noundef %95) store i32 -1, ptr %12, align 4 br label %107 97: ; preds = %87 %98 = load i64, ptr %11, align 8 %99 = add i64 %98, 1 store i64 %99, ptr %11, align 8 br label %100 100: ; preds = %97, %83 %101 = load i64, ptr %10, align 8 %102 = add i64 %101, 1 store i64 %102, ptr %10, align 8 %103 = load i64, ptr %7, align 8 %104 = icmp ugt i64 %102, %103 br i1 %104, label %105, label %106 105: ; preds = %100 br label %107 106: ; preds = %100 br label %70 107: ; preds = %105, %93, %82, %75 %108 = load i64, ptr %11, align 8 %109 = icmp ne i64 %108, 0 br i1 %109, label %110, label %114 110: ; preds = %107 %111 = load i32, ptr @stderr, align 4 %112 = load i64, ptr %11, align 8 %113 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %111, ptr noundef @.str.7, i64 noundef %112) br label %117 114: ; preds = %107 %115 = load i32, ptr @stderr, align 4 %116 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %115, ptr noundef @.str.8) store i32 -1, ptr %12, align 4 br label %117 117: ; preds = %114, %110 %118 = load ptr, ptr %9, align 8 %119 = call i32 @fclose(ptr noundef %118) %120 = load ptr, ptr %8, align 8 %121 = call i32 @dcadec_stream_close(ptr noundef %120) %122 = load i32, ptr %12, align 4 %123 = icmp ne i32 %122, 0 %124 = xor i1 %123, true %125 = xor i1 %124, true %126 = zext i1 %125 to i32 store i32 %126, ptr %3, align 4 br label %127 127: ; preds = %117, %64, %54, %44, %17 %128 = load i32, ptr %3, align 4 ret i32 %128 } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare i64 @strtoul(ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @dcadec_stream_open(ptr noundef, i32 noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @dcadec_stream_close(ptr noundef) #1 declare i32 @dcadec_stream_read(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fwrite(ptr noundef, i64 noundef, i32 noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmlas9vad.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [51 x i8] c"Usage: %s <input.dts> <output.dts> [first] [last]\0A\00", align 1 @ULONG_MAX = dso_local global i64 0, align 8 @.str.1 = private unnamed_addr constant [22 x i8] c"Invalid packet range\0A\00", align 1 @.str.2 = private unnamed_addr constant [26 x i8] c"Couldn't open input file\0A\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"wb\00", align 1 @.str.4 = private unnamed_addr constant [27 x i8] c"Couldn't open output file\0A\00", align 1 @.str.5 = private unnamed_addr constant [25 x i8] c"Error %d reading packet\0A\00", align 1 @.str.6 = private unnamed_addr constant [25 x i8] c"Error %d writing packet\0A\00", align 1 @errno = dso_local global i32 0, align 4 @.str.7 = private unnamed_addr constant [19 x i8] c"Wrote %lu packets\0A\00", align 1 @.str.8 = private unnamed_addr constant [31 x i8] c"Didn't write a single packet!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 %10 = alloca i64, align 8 %11 = alloca i64, align 8 %12 = alloca i32, align 4 %13 = alloca ptr, align 8 %14 = alloca i64, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %15 = load i32, ptr %4, align 4 %16 = icmp slt i32 %15, 3 br i1 %16, label %17, label %23 17: ; preds = %2 %18 = load i32, ptr @stderr, align 4 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds ptr, ptr %19, i64 0 %21 = load ptr, ptr %20, align 8 %22 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %18, ptr noundef @.str, ptr noundef %21) store i32 1, ptr %3, align 4 br label %130 23: ; preds = %2 store i64 0, ptr %6, align 8 %24 = load i64, ptr @ULONG_MAX, align 8 store i64 %24, ptr %7, align 8 %25 = load i32, ptr %4, align 4 %26 = icmp sgt i32 %25, 3 br i1 %26, label %27, label %32 27: ; preds = %23 %28 = load ptr, ptr %5, align 8 %29 = getelementptr inbounds ptr, ptr %28, i64 3 %30 = load ptr, ptr %29, align 8 %31 = call i64 @strtoul(ptr noundef %30, ptr noundef null, i32 noundef 0) store i64 %31, ptr %6, align 8 br label %32 32: ; preds = %27, %23 %33 = load i32, ptr %4, align 4 %34 = icmp sgt i32 %33, 4 br i1 %34, label %35, label %40 35: ; preds = %32 %36 = load ptr, ptr %5, align 8 %37 = getelementptr inbounds ptr, ptr %36, i64 4 %38 = load ptr, ptr %37, align 8 %39 = call i64 @strtoul(ptr noundef %38, ptr noundef null, i32 noundef 0) store i64 %39, ptr %7, align 8 br label %40 40: ; preds = %35, %32 %41 = load i64, ptr %7, align 8 %42 = load i64, ptr %6, align 8 %43 = icmp ult i64 %41, %42 br i1 %43, label %44, label %47 44: ; preds = %40 %45 = load i32, ptr @stderr, align 4 %46 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %45, ptr noundef @.str.1) store i32 1, ptr %3, align 4 br label %130 47: ; preds = %40 %48 = load ptr, ptr %5, align 8 %49 = getelementptr inbounds ptr, ptr %48, i64 1 %50 = load ptr, ptr %49, align 8 %51 = call ptr @dcadec_stream_open(ptr noundef %50, i32 noundef 0) store ptr %51, ptr %8, align 8 %52 = load ptr, ptr %8, align 8 %53 = icmp ne ptr %52, null br i1 %53, label %57, label %54 54: ; preds = %47 %55 = load i32, ptr @stderr, align 4 %56 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %55, ptr noundef @.str.2) store i32 1, ptr %3, align 4 br label %130 57: ; preds = %47 %58 = load ptr, ptr %5, align 8 %59 = getelementptr inbounds ptr, ptr %58, i64 2 %60 = load ptr, ptr %59, align 8 %61 = call ptr @fopen(ptr noundef %60, ptr noundef @.str.3) store ptr %61, ptr %9, align 8 %62 = load ptr, ptr %9, align 8 %63 = icmp ne ptr %62, null br i1 %63, label %69, label %64 64: ; preds = %57 %65 = load i32, ptr @stderr, align 4 %66 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %65, ptr noundef @.str.4) %67 = load ptr, ptr %8, align 8 %68 = call i32 @dcadec_stream_close(ptr noundef %67) store i32 1, ptr %3, align 4 br label %130 69: ; preds = %57 store i64 0, ptr %10, align 8 store i64 0, ptr %11, align 8 %70 = load ptr, ptr %8, align 8 %71 = call i32 @dcadec_stream_read(ptr noundef %70, ptr noundef %13, ptr noundef %14) store i32 %71, ptr %12, align 4 %72 = load i32, ptr %12, align 4 %73 = icmp slt i32 %72, 0 br i1 %73, label %79, label %.lr.ph .lr.ph: ; preds = %69 br label %83 74: ; preds = %104 %75 = load ptr, ptr %8, align 8 %76 = call i32 @dcadec_stream_read(ptr noundef %75, ptr noundef %13, ptr noundef %14) store i32 %76, ptr %12, align 4 %77 = load i32, ptr %12, align 4 %78 = icmp slt i32 %77, 0 br i1 %78, label %._crit_edge, label %83 ._crit_edge: ; preds = %74 br label %79 79: ; preds = %._crit_edge, %69 %80 = load i32, ptr @stderr, align 4 %81 = load i32, ptr %12, align 4 %82 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %80, ptr noundef @.str.5, i32 noundef %81) br label %110 83: ; preds = %.lr.ph, %74 %84 = load i32, ptr %12, align 4 %85 = icmp eq i32 %84, 0 br i1 %85, label %86, label %87 86: ; preds = %83 br label %110 87: ; preds = %83 %88 = load i64, ptr %10, align 8 %89 = load i64, ptr %6, align 8 %90 = icmp uge i64 %88, %89 br i1 %90, label %91, label %104 91: ; preds = %87 %92 = load ptr, ptr %13, align 8 %93 = load i64, ptr %14, align 8 %94 = load ptr, ptr %9, align 8 %95 = call i32 @fwrite(ptr noundef %92, i64 noundef %93, i32 noundef 1, ptr noundef %94) %96 = icmp ne i32 %95, 1 br i1 %96, label %97, label %101 97: ; preds = %91 %98 = load i32, ptr @stderr, align 4 %99 = load i32, ptr @errno, align 4 %100 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %98, ptr noundef @.str.6, i32 noundef %99) store i32 -1, ptr %12, align 4 br label %110 101: ; preds = %91 %102 = load i64, ptr %11, align 8 %103 = add i64 %102, 1 store i64 %103, ptr %11, align 8 br label %104 104: ; preds = %101, %87 %105 = load i64, ptr %10, align 8 %106 = add i64 %105, 1 store i64 %106, ptr %10, align 8 %107 = load i64, ptr %7, align 8 %108 = icmp ugt i64 %106, %107 br i1 %108, label %109, label %74 109: ; preds = %104 br label %110 110: ; preds = %109, %97, %86, %79 %111 = load i64, ptr %11, align 8 %112 = icmp ne i64 %111, 0 br i1 %112, label %113, label %117 113: ; preds = %110 %114 = load i32, ptr @stderr, align 4 %115 = load i64, ptr %11, align 8 %116 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %114, ptr noundef @.str.7, i64 noundef %115) br label %120 117: ; preds = %110 %118 = load i32, ptr @stderr, align 4 %119 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %118, ptr noundef @.str.8) store i32 -1, ptr %12, align 4 br label %120 120: ; preds = %117, %113 %121 = load ptr, ptr %9, align 8 %122 = call i32 @fclose(ptr noundef %121) %123 = load ptr, ptr %8, align 8 %124 = call i32 @dcadec_stream_close(ptr noundef %123) %125 = load i32, ptr %12, align 4 %126 = icmp ne i32 %125, 0 %127 = xor i1 %126, true %128 = xor i1 %127, true %129 = zext i1 %128 to i32 store i32 %129, ptr %3, align 4 br label %130 130: ; preds = %120, %64, %54, %44, %17 %131 = load i32, ptr %3, align 4 ret i32 %131 } declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare i64 @strtoul(ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @dcadec_stream_open(ptr noundef, i32 noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @dcadec_stream_close(ptr noundef) #1 declare i32 @dcadec_stream_read(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @fwrite(ptr noundef, i64 noundef, i32 noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpo4am86ck.c' source_filename = "/tmp/tmpo4am86ck.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpo4am86ck.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpxyxoskbw.c' source_filename = "/tmp/tmpxyxoskbw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_6__ = type { i32, i32 } @COLS = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.1 = private unnamed_addr constant [2 x i8] c" \00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @tx_colorwin(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %5 = load i32, ptr @COLS, align 4 %6 = add nsw i32 %5, 1 %7 = sext i32 %6 to i64 %8 = mul i64 1, %7 %9 = trunc i64 %8 to i32 %10 = call i64 @malloc(i32 noundef %9) %11 = inttoptr i64 %10 to ptr store ptr %11, ptr %4, align 8 %12 = load ptr, ptr %4, align 8 %13 = call i32 @strcpy(ptr noundef %12, ptr noundef @.str) store i32 0, ptr %3, align 4 br label %14 14: ; preds = %23, %1 %15 = load i32, ptr %3, align 4 %16 = load ptr, ptr %2, align 8 %17 = getelementptr inbounds %struct.TYPE_6__, ptr %16, i32 0, i32 0 %18 = load i32, ptr %17, align 4 %19 = icmp sle i32 %15, %18 br i1 %19, label %20, label %26 20: ; preds = %14 %21 = load ptr, ptr %4, align 8 %22 = call i32 @strcat(ptr noundef %21, ptr noundef @.str.1) br label %23 23: ; preds = %20 %24 = load i32, ptr %3, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %3, align 4 br label %14, !llvm.loop !6 26: ; preds = %14 %27 = load ptr, ptr %2, align 8 %28 = call i32 @scrollok(ptr noundef %27, i32 noundef 0) store i32 0, ptr %3, align 4 br label %29 29: ; preds = %42, %26 %30 = load i32, ptr %3, align 4 %31 = load ptr, ptr %2, align 8 %32 = getelementptr inbounds %struct.TYPE_6__, ptr %31, i32 0, i32 1 %33 = load i32, ptr %32, align 4 %34 = icmp sle i32 %30, %33 br i1 %34, label %35, label %45 35: ; preds = %29 %36 = load ptr, ptr %2, align 8 %37 = load i32, ptr %3, align 4 %38 = call i32 @wmove(ptr noundef %36, i32 noundef %37, i32 noundef 0) %39 = load ptr, ptr %2, align 8 %40 = load ptr, ptr %4, align 8 %41 = call i32 @wprintw(ptr noundef %39, ptr noundef @.str.2, ptr noundef %40) br label %42 42: ; preds = %35 %43 = load i32, ptr %3, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %3, align 4 br label %29, !llvm.loop !8 45: ; preds = %29 %46 = load ptr, ptr %2, align 8 %47 = call i32 @scrollok(ptr noundef %46, i32 noundef 1) %48 = load ptr, ptr %4, align 8 %49 = call i32 @free(ptr noundef %48) ret void } declare i64 @malloc(i32 noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare i32 @scrollok(ptr noundef, i32 noundef) #1 declare i32 @wmove(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @wprintw(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxyxoskbw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.TYPE_6__ = type { i32, i32 } @COLS = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 @.str.1 = private unnamed_addr constant [2 x i8] c" \00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @tx_colorwin(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %5 = load i32, ptr @COLS, align 4 %6 = add nsw i32 %5, 1 %7 = sext i32 %6 to i64 %8 = mul i64 1, %7 %9 = trunc i64 %8 to i32 %10 = call i64 @malloc(i32 noundef %9) %11 = inttoptr i64 %10 to ptr store ptr %11, ptr %4, align 8 %12 = load ptr, ptr %4, align 8 %13 = call i32 @strcpy(ptr noundef %12, ptr noundef @.str) store i32 0, ptr %3, align 4 %14 = load i32, ptr %3, align 4 %15 = load ptr, ptr %2, align 8 %16 = load i32, ptr %15, align 4 %17 = icmp sle i32 %14, %16 br i1 %17, label %.lr.ph, label %29 .lr.ph: ; preds = %1 br label %18 18: ; preds = %.lr.ph, %21 %19 = load ptr, ptr %4, align 8 %20 = call i32 @strcat(ptr noundef %19, ptr noundef @.str.1) br label %21 21: ; preds = %18 %22 = load i32, ptr %3, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %3, align 4 %24 = load i32, ptr %3, align 4 %25 = load ptr, ptr %2, align 8 %26 = getelementptr inbounds %struct.TYPE_6__, ptr %25, i32 0, i32 0 %27 = load i32, ptr %26, align 4 %28 = icmp sle i32 %24, %27 br i1 %28, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %21 br label %29 29: ; preds = %._crit_edge, %1 %30 = load ptr, ptr %2, align 8 %31 = call i32 @scrollok(ptr noundef %30, i32 noundef 0) store i32 0, ptr %3, align 4 %32 = load i32, ptr %3, align 4 %33 = load ptr, ptr %2, align 8 %34 = getelementptr inbounds %struct.TYPE_6__, ptr %33, i32 0, i32 1 %35 = load i32, ptr %34, align 4 %36 = icmp sle i32 %32, %35 br i1 %36, label %.lr.ph2, label %52 .lr.ph2: ; preds = %29 br label %37 37: ; preds = %.lr.ph2, %44 %38 = load ptr, ptr %2, align 8 %39 = load i32, ptr %3, align 4 %40 = call i32 @wmove(ptr noundef %38, i32 noundef %39, i32 noundef 0) %41 = load ptr, ptr %2, align 8 %42 = load ptr, ptr %4, align 8 %43 = call i32 @wprintw(ptr noundef %41, ptr noundef @.str.2, ptr noundef %42) br label %44 44: ; preds = %37 %45 = load i32, ptr %3, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %3, align 4 %47 = load i32, ptr %3, align 4 %48 = load ptr, ptr %2, align 8 %49 = getelementptr inbounds %struct.TYPE_6__, ptr %48, i32 0, i32 1 %50 = load i32, ptr %49, align 4 %51 = icmp sle i32 %47, %50 br i1 %51, label %37, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %44 br label %52 52: ; preds = %._crit_edge3, %29 %53 = load ptr, ptr %2, align 8 %54 = call i32 @scrollok(ptr noundef %53, i32 noundef 1) %55 = load ptr, ptr %4, align 8 %56 = call i32 @free(ptr noundef %55) ret void } declare i64 @malloc(i32 noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare i32 @scrollok(ptr noundef, i32 noundef) #1 declare i32 @wmove(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @wprintw(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp04ib5b9i.c' source_filename = "/tmp/tmp04ib5b9i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @db_delete_membership.stmt = internal global ptr null, align 8 @db_delete_membership.query = internal constant [63 x i8] c"DELETE FROM membership WHERE id_channel = ? AND id_client = ?;\00", align 16 @SQLITE_OK = dso_local global i32 0, align 4 @SQLITE_DONE = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @db_delete_membership(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 br label %9 9: ; preds = %3 %10 = load ptr, ptr %5, align 8 %11 = icmp eq ptr %10, null br i1 %11, label %12, label %19 12: ; preds = %9 %13 = load ptr, ptr @db_delete_membership.stmt, align 8 %14 = icmp ne ptr %13, null br i1 %14, label %15, label %18 15: ; preds = %12 %16 = load ptr, ptr @db_delete_membership.stmt, align 8 %17 = call i32 @sqlite3_finalize(ptr noundef %16) store ptr null, ptr @db_delete_membership.stmt, align 8 br label %18 18: ; preds = %15, %12 store i32 0, ptr %4, align 4 br label %58 19: ; preds = %9 br label %20 20: ; preds = %19 br label %21 21: ; preds = %20 %22 = load ptr, ptr @db_delete_membership.stmt, align 8 %23 = icmp eq ptr %22, null br i1 %23, label %24, label %33 24: ; preds = %21 %25 = load ptr, ptr %5, align 8 %26 = call i32 @strlen(ptr noundef @db_delete_membership.query) %27 = call i32 @sqlite3_prepare_v2(ptr noundef %25, ptr noundef @db_delete_membership.query, i32 noundef %26, ptr noundef @db_delete_membership.stmt, ptr noundef null) store i32 %27, ptr %8, align 4 %28 = load i32, ptr %8, align 4 %29 = load i32, ptr @SQLITE_OK, align 4 %30 = icmp eq i32 %28, %29 %31 = zext i1 %30 to i32 %32 = call i32 @assert(i32 noundef %31) br label %33 33: ; preds = %24, %21 br label %34 34: ; preds = %33 %35 = load ptr, ptr @db_delete_membership.stmt, align 8 %36 = call i32 @sqlite3_reset(ptr noundef %35) %37 = load ptr, ptr @db_delete_membership.stmt, align 8 %38 = load i32, ptr %6, align 4 %39 = call i32 @sqlite3_bind_int64(ptr noundef %37, i32 noundef 1, i32 noundef %38) store i32 %39, ptr %8, align 4 %40 = load i32, ptr %8, align 4 %41 = load i32, ptr @SQLITE_OK, align 4 %42 = icmp eq i32 %40, %41 %43 = zext i1 %42 to i32 %44 = call i32 @assert(i32 noundef %43) %45 = load ptr, ptr @db_delete_membership.stmt, align 8 %46 = load i32, ptr %7, align 4 %47 = call i32 @sqlite3_bind_int64(ptr noundef %45, i32 noundef 2, i32 noundef %46) store i32 %47, ptr %8, align 4 %48 = load i32, ptr %8, align 4 %49 = load i32, ptr @SQLITE_OK, align 4 %50 = icmp eq i32 %48, %49 %51 = zext i1 %50 to i32 %52 = call i32 @assert(i32 noundef %51) %53 = load ptr, ptr @db_delete_membership.stmt, align 8 %54 = call i64 @sqlite3_step(ptr noundef %53) %55 = load i64, ptr @SQLITE_DONE, align 8 %56 = icmp ne i64 %54, %55 %57 = zext i1 %56 to i32 store i32 %57, ptr %4, align 4 br label %58 58: ; preds = %34, %18 %59 = load i32, ptr %4, align 4 ret i32 %59 } declare i32 @sqlite3_finalize(ptr noundef) #1 declare i32 @sqlite3_prepare_v2(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @assert(i32 noundef) #1 declare i32 @sqlite3_reset(ptr noundef) #1 declare i32 @sqlite3_bind_int64(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @sqlite3_step(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp04ib5b9i.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @db_delete_membership.stmt = internal global ptr null, align 8 @db_delete_membership.query = internal constant [63 x i8] c"DELETE FROM membership WHERE id_channel = ? AND id_client = ?;\00", align 16 @SQLITE_OK = dso_local global i32 0, align 4 @SQLITE_DONE = dso_local global i64 0, align 8 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @db_delete_membership(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 br label %9 9: ; preds = %3 %10 = load ptr, ptr %5, align 8 %11 = icmp eq ptr %10, null br i1 %11, label %12, label %19 12: ; preds = %9 %13 = load ptr, ptr @db_delete_membership.stmt, align 8 %14 = icmp ne ptr %13, null br i1 %14, label %15, label %18 15: ; preds = %12 %16 = load ptr, ptr @db_delete_membership.stmt, align 8 %17 = call i32 @sqlite3_finalize(ptr noundef %16) store ptr null, ptr @db_delete_membership.stmt, align 8 br label %18 18: ; preds = %15, %12 store i32 0, ptr %4, align 4 br label %58 19: ; preds = %9 br label %20 20: ; preds = %19 br label %21 21: ; preds = %20 %22 = load ptr, ptr @db_delete_membership.stmt, align 8 %23 = icmp eq ptr %22, null br i1 %23, label %24, label %33 24: ; preds = %21 %25 = load ptr, ptr %5, align 8 %26 = call i32 @strlen(ptr noundef @db_delete_membership.query) %27 = call i32 @sqlite3_prepare_v2(ptr noundef %25, ptr noundef @db_delete_membership.query, i32 noundef %26, ptr noundef @db_delete_membership.stmt, ptr noundef null) store i32 %27, ptr %8, align 4 %28 = load i32, ptr %8, align 4 %29 = load i32, ptr @SQLITE_OK, align 4 %30 = icmp eq i32 %28, %29 %31 = zext i1 %30 to i32 %32 = call i32 @assert(i32 noundef %31) br label %33 33: ; preds = %24, %21 br label %34 34: ; preds = %33 %35 = load ptr, ptr @db_delete_membership.stmt, align 8 %36 = call i32 @sqlite3_reset(ptr noundef %35) %37 = load ptr, ptr @db_delete_membership.stmt, align 8 %38 = load i32, ptr %6, align 4 %39 = call i32 @sqlite3_bind_int64(ptr noundef %37, i32 noundef 1, i32 noundef %38) store i32 %39, ptr %8, align 4 %40 = load i32, ptr %8, align 4 %41 = load i32, ptr @SQLITE_OK, align 4 %42 = icmp eq i32 %40, %41 %43 = zext i1 %42 to i32 %44 = call i32 @assert(i32 noundef %43) %45 = load ptr, ptr @db_delete_membership.stmt, align 8 %46 = load i32, ptr %7, align 4 %47 = call i32 @sqlite3_bind_int64(ptr noundef %45, i32 noundef 2, i32 noundef %46) store i32 %47, ptr %8, align 4 %48 = load i32, ptr %8, align 4 %49 = load i32, ptr @SQLITE_OK, align 4 %50 = icmp eq i32 %48, %49 %51 = zext i1 %50 to i32 %52 = call i32 @assert(i32 noundef %51) %53 = load ptr, ptr @db_delete_membership.stmt, align 8 %54 = call i64 @sqlite3_step(ptr noundef %53) %55 = load i64, ptr @SQLITE_DONE, align 8 %56 = icmp ne i64 %54, %55 %57 = zext i1 %56 to i32 store i32 %57, ptr %4, align 4 br label %58 58: ; preds = %34, %18 %59 = load i32, ptr %4, align 4 ret i32 %59 } declare i32 @sqlite3_finalize(ptr noundef) #1 declare i32 @sqlite3_prepare_v2(ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @assert(i32 noundef) #1 declare i32 @sqlite3_reset(ptr noundef) #1 declare i32 @sqlite3_bind_int64(ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @sqlite3_step(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpde3hl2b0.c' source_filename = "/tmp/tmpde3hl2b0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.shmid_ds = type { i64, i64, i64, i64, i32, i32, i64, %struct.ipc_perm } %struct.ipc_perm = type { i32, i32, i32, i32, i32 } @IPC_STAT = dso_local global i32 0, align 4 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [14 x i8] c"shmctl failed\00", align 1 @.str.1 = private unnamed_addr constant [33 x i8] c"\0AShared memory Segment shmid=%d\0A\00", align 1 @.str.2 = private unnamed_addr constant [31 x i8] c"uid=%d\09gid=%d\09cuid=%d\09cgid=%d\0A\00", align 1 @.str.3 = private unnamed_addr constant [27 x i8] c"mode=%#o\09access_perms=%#o\0A\00", align 1 @.str.4 = private unnamed_addr constant [38 x i8] c"bytes=%ld\09lpid=%d\09cpid=%d\09nattch=%ld\0A\00", align 1 @.str.5 = private unnamed_addr constant [19 x i8] c"att_time=%-26.24s\0A\00", align 1 @.str.6 = private unnamed_addr constant [8 x i8] c"Not set\00", align 1 @.str.7 = private unnamed_addr constant [19 x i8] c"det_time=%-26.24s\0A\00", align 1 @.str.8 = private unnamed_addr constant [22 x i8] c"change_time=%-26.24s\0A\00", align 1 @.str.9 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_shm(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca %struct.shmid_ds, align 8 %4 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 %5 = getelementptr inbounds %struct.shmid_ds, ptr %3, i32 0, i32 7 store ptr %5, ptr %4, align 8 %6 = load i32, ptr %2, align 4 %7 = load i32, ptr @IPC_STAT, align 4 %8 = call i32 @shmctl(i32 noundef %6, i32 noundef %7, ptr noundef %3) %9 = icmp eq i32 %8, -1 br i1 %9, label %10, label %13 10: ; preds = %1 %11 = load i32, ptr @EXIT_FAILURE, align 4 %12 = call i32 @err(i32 noundef %11, ptr noundef @.str) br label %13 13: ; preds = %10, %1 %14 = load i32, ptr %2, align 4 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %14) %16 = load ptr, ptr %4, align 8 %17 = getelementptr inbounds %struct.ipc_perm, ptr %16, i32 0, i32 0 %18 = load i32, ptr %17, align 4 %19 = load ptr, ptr %4, align 8 %20 = getelementptr inbounds %struct.ipc_perm, ptr %19, i32 0, i32 1 %21 = load i32, ptr %20, align 4 %22 = load ptr, ptr %4, align 8 %23 = getelementptr inbounds %struct.ipc_perm, ptr %22, i32 0, i32 2 %24 = load i32, ptr %23, align 4 %25 = load ptr, ptr %4, align 8 %26 = getelementptr inbounds %struct.ipc_perm, ptr %25, i32 0, i32 3 %27 = load i32, ptr %26, align 4 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %18, i32 noundef %21, i32 noundef %24, i32 noundef %27) %29 = load ptr, ptr %4, align 8 %30 = getelementptr inbounds %struct.ipc_perm, ptr %29, i32 0, i32 4 %31 = load i32, ptr %30, align 4 %32 = load ptr, ptr %4, align 8 %33 = getelementptr inbounds %struct.ipc_perm, ptr %32, i32 0, i32 4 %34 = load i32, ptr %33, align 4 %35 = and i32 %34, 511 %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %31, i32 noundef %35) %37 = getelementptr inbounds %struct.shmid_ds, ptr %3, i32 0, i32 6 %38 = load i64, ptr %37, align 8 %39 = getelementptr inbounds %struct.shmid_ds, ptr %3, i32 0, i32 5 %40 = load i32, ptr %39, align 4 %41 = getelementptr inbounds %struct.shmid_ds, ptr %3, i32 0, i32 4 %42 = load i32, ptr %41, align 8 %43 = getelementptr inbounds %struct.shmid_ds, ptr %3, i32 0, i32 3 %44 = load i64, ptr %43, align 8 %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i64 noundef %38, i32 noundef %40, i32 noundef %42, i64 noundef %44) %46 = getelementptr inbounds %struct.shmid_ds, ptr %3, i32 0, i32 2 %47 = load i64, ptr %46, align 8 %48 = icmp ne i64 %47, 0 br i1 %48, label %49, label %52 49: ; preds = %13 %50 = getelementptr inbounds %struct.shmid_ds, ptr %3, i32 0, i32 2 %51 = call ptr @ctime(ptr noundef %50) br label %53 52: ; preds = %13 br label %53 53: ; preds = %52, %49 %54 = phi ptr [ %51, %49 ], [ @.str.6, %52 ] %55 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %54) %56 = getelementptr inbounds %struct.shmid_ds, ptr %3, i32 0, i32 1 %57 = load i64, ptr %56, align 8 %58 = icmp ne i64 %57, 0 br i1 %58, label %59, label %62 59: ; preds = %53 %60 = getelementptr inbounds %struct.shmid_ds, ptr %3, i32 0, i32 1 %61 = call ptr @ctime(ptr noundef %60) br label %63 62: ; preds = %53 br label %63 63: ; preds = %62, %59 %64 = phi ptr [ %61, %59 ], [ @.str.6, %62 ] %65 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %64) %66 = getelementptr inbounds %struct.shmid_ds, ptr %3, i32 0, i32 0 %67 = call ptr @ctime(ptr noundef %66) %68 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef %67) %69 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) ret void } declare i32 @shmctl(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @err(i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare ptr @ctime(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpde3hl2b0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.shmid_ds = type { i64, i64, i64, i64, i32, i32, i64, %struct.ipc_perm } %struct.ipc_perm = type { i32, i32, i32, i32, i32 } @IPC_STAT = dso_local global i32 0, align 4 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [14 x i8] c"shmctl failed\00", align 1 @.str.1 = private unnamed_addr constant [33 x i8] c"\0AShared memory Segment shmid=%d\0A\00", align 1 @.str.2 = private unnamed_addr constant [31 x i8] c"uid=%d\09gid=%d\09cuid=%d\09cgid=%d\0A\00", align 1 @.str.3 = private unnamed_addr constant [27 x i8] c"mode=%#o\09access_perms=%#o\0A\00", align 1 @.str.4 = private unnamed_addr constant [38 x i8] c"bytes=%ld\09lpid=%d\09cpid=%d\09nattch=%ld\0A\00", align 1 @.str.5 = private unnamed_addr constant [19 x i8] c"att_time=%-26.24s\0A\00", align 1 @.str.6 = private unnamed_addr constant [8 x i8] c"Not set\00", align 1 @.str.7 = private unnamed_addr constant [19 x i8] c"det_time=%-26.24s\0A\00", align 1 @.str.8 = private unnamed_addr constant [22 x i8] c"change_time=%-26.24s\0A\00", align 1 @.str.9 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_shm(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca %struct.shmid_ds, align 8 %4 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 %5 = getelementptr inbounds %struct.shmid_ds, ptr %3, i32 0, i32 7 store ptr %5, ptr %4, align 8 %6 = load i32, ptr %2, align 4 %7 = load i32, ptr @IPC_STAT, align 4 %8 = call i32 @shmctl(i32 noundef %6, i32 noundef %7, ptr noundef %3) %9 = icmp eq i32 %8, -1 br i1 %9, label %10, label %13 10: ; preds = %1 %11 = load i32, ptr @EXIT_FAILURE, align 4 %12 = call i32 @err(i32 noundef %11, ptr noundef @.str) br label %13 13: ; preds = %10, %1 %14 = load i32, ptr %2, align 4 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %14) %16 = load ptr, ptr %4, align 8 %17 = getelementptr inbounds %struct.ipc_perm, ptr %16, i32 0, i32 0 %18 = load i32, ptr %17, align 4 %19 = load ptr, ptr %4, align 8 %20 = getelementptr inbounds %struct.ipc_perm, ptr %19, i32 0, i32 1 %21 = load i32, ptr %20, align 4 %22 = load ptr, ptr %4, align 8 %23 = getelementptr inbounds %struct.ipc_perm, ptr %22, i32 0, i32 2 %24 = load i32, ptr %23, align 4 %25 = load ptr, ptr %4, align 8 %26 = getelementptr inbounds %struct.ipc_perm, ptr %25, i32 0, i32 3 %27 = load i32, ptr %26, align 4 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %18, i32 noundef %21, i32 noundef %24, i32 noundef %27) %29 = load ptr, ptr %4, align 8 %30 = getelementptr inbounds %struct.ipc_perm, ptr %29, i32 0, i32 4 %31 = load i32, ptr %30, align 4 %32 = load ptr, ptr %4, align 8 %33 = getelementptr inbounds %struct.ipc_perm, ptr %32, i32 0, i32 4 %34 = load i32, ptr %33, align 4 %35 = and i32 %34, 511 %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %31, i32 noundef %35) %37 = getelementptr inbounds %struct.shmid_ds, ptr %3, i32 0, i32 6 %38 = load i64, ptr %37, align 8 %39 = getelementptr inbounds %struct.shmid_ds, ptr %3, i32 0, i32 5 %40 = load i32, ptr %39, align 4 %41 = getelementptr inbounds %struct.shmid_ds, ptr %3, i32 0, i32 4 %42 = load i32, ptr %41, align 8 %43 = getelementptr inbounds %struct.shmid_ds, ptr %3, i32 0, i32 3 %44 = load i64, ptr %43, align 8 %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i64 noundef %38, i32 noundef %40, i32 noundef %42, i64 noundef %44) %46 = getelementptr inbounds %struct.shmid_ds, ptr %3, i32 0, i32 2 %47 = load i64, ptr %46, align 8 %48 = icmp ne i64 %47, 0 br i1 %48, label %49, label %52 49: ; preds = %13 %50 = getelementptr inbounds %struct.shmid_ds, ptr %3, i32 0, i32 2 %51 = call ptr @ctime(ptr noundef %50) br label %53 52: ; preds = %13 br label %53 53: ; preds = %52, %49 %54 = phi ptr [ %51, %49 ], [ @.str.6, %52 ] %55 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %54) %56 = getelementptr inbounds %struct.shmid_ds, ptr %3, i32 0, i32 1 %57 = load i64, ptr %56, align 8 %58 = icmp ne i64 %57, 0 br i1 %58, label %59, label %62 59: ; preds = %53 %60 = getelementptr inbounds %struct.shmid_ds, ptr %3, i32 0, i32 1 %61 = call ptr @ctime(ptr noundef %60) br label %63 62: ; preds = %53 br label %63 63: ; preds = %62, %59 %64 = phi ptr [ %61, %59 ], [ @.str.6, %62 ] %65 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, ptr noundef %64) %66 = getelementptr inbounds %struct.shmid_ds, ptr %3, i32 0, i32 0 %67 = call ptr @ctime(ptr noundef %66) %68 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, ptr noundef %67) %69 = call i32 (ptr, ...) @printf(ptr noundef @.str.9) ret void } declare i32 @shmctl(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @err(i32 noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare ptr @ctime(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpb5hryugw.c' source_filename = "/tmp/tmpb5hryugw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [32 x i8] c"Usage: ./test dividend divisor\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr %4, align 4 %7 = icmp ne i32 %6, 3 br i1 %7, label %8, label %12 8: ; preds = %2 %9 = load i32, ptr @stderr, align 4 %10 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str) %11 = call i32 @exit(i32 noundef -1) #3 unreachable 12: ; preds = %2 %13 = load ptr, ptr %5, align 8 %14 = getelementptr inbounds ptr, ptr %13, i64 1 %15 = load ptr, ptr %14, align 8 %16 = call i32 @atoi(ptr noundef %15) %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 2 %19 = load ptr, ptr %18, align 8 %20 = call i32 @atoi(ptr noundef %19) %21 = call i32 @divide(i32 noundef %16, i32 noundef %20) %22 = call i32 @printf(ptr noundef @.str.1, i32 noundef %21) ret i32 0 } declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @divide(i32 noundef, i32 noundef) #1 declare i32 @atoi(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpb5hryugw.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [32 x i8] c"Usage: ./test dividend divisor\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr %4, align 4 %7 = icmp ne i32 %6, 3 br i1 %7, label %8, label %12 8: ; preds = %2 %9 = load i32, ptr @stderr, align 4 %10 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str) %11 = call i32 @exit(i32 noundef -1) #3 unreachable 12: ; preds = %2 %13 = load ptr, ptr %5, align 8 %14 = getelementptr inbounds ptr, ptr %13, i64 1 %15 = load ptr, ptr %14, align 8 %16 = call i32 @atoi(ptr noundef %15) %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 2 %19 = load ptr, ptr %18, align 8 %20 = call i32 @atoi(ptr noundef %19) %21 = call i32 @divide(i32 noundef %16, i32 noundef %20) %22 = call i32 @printf(ptr noundef @.str.1, i32 noundef %21) ret i32 0 } declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @divide(i32 noundef, i32 noundef) #1 declare i32 @atoi(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpoh6w1596.c' source_filename = "/tmp/tmpoh6w1596.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [53 x i8] c"Usage: %s <e/d> <input-file> <output-file> <offset>\0A\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"Invlaid Option\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr %4, align 4 %7 = icmp ne i32 %6, 5 br i1 %7, label %8, label %15 8: ; preds = %2 %9 = load i32, ptr @stderr, align 4 %10 = load ptr, ptr %5, align 8 %11 = getelementptr inbounds ptr, ptr %10, i64 0 %12 = load ptr, ptr %11, align 8 %13 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str, ptr noundef %12) %14 = call i32 @exit(i32 noundef 1) #3 unreachable 15: ; preds = %2 %16 = load ptr, ptr %5, align 8 %17 = getelementptr inbounds ptr, ptr %16, i64 1 %18 = load ptr, ptr %17, align 8 %19 = load i8, ptr %18, align 1 %20 = call signext i8 @toupper(i8 noundef signext %19) %21 = sext i8 %20 to i32 %22 = icmp eq i32 %21, 69 br i1 %22, label %23, label %35 23: ; preds = %15 %24 = load ptr, ptr %5, align 8 %25 = getelementptr inbounds ptr, ptr %24, i64 2 %26 = load ptr, ptr %25, align 8 %27 = load ptr, ptr %5, align 8 %28 = getelementptr inbounds ptr, ptr %27, i64 3 %29 = load ptr, ptr %28, align 8 %30 = load ptr, ptr %5, align 8 %31 = getelementptr inbounds ptr, ptr %30, i64 4 %32 = load ptr, ptr %31, align 8 %33 = call i32 @atoi(ptr noundef %32) %34 = call i32 @fencrypt(ptr noundef %26, ptr noundef %29, i32 noundef %33) br label %58 35: ; preds = %15 %36 = load ptr, ptr %5, align 8 %37 = getelementptr inbounds ptr, ptr %36, i64 1 %38 = load ptr, ptr %37, align 8 %39 = load i8, ptr %38, align 1 %40 = call signext i8 @toupper(i8 noundef signext %39) %41 = sext i8 %40 to i32 %42 = icmp eq i32 %41, 68 br i1 %42, label %43, label %55 43: ; preds = %35 %44 = load ptr, ptr %5, align 8 %45 = getelementptr inbounds ptr, ptr %44, i64 2 %46 = load ptr, ptr %45, align 8 %47 = load ptr, ptr %5, align 8 %48 = getelementptr inbounds ptr, ptr %47, i64 3 %49 = load ptr, ptr %48, align 8 %50 = load ptr, ptr %5, align 8 %51 = getelementptr inbounds ptr, ptr %50, i64 4 %52 = load ptr, ptr %51, align 8 %53 = call i32 @atoi(ptr noundef %52) %54 = call i32 @fdecrypt(ptr noundef %46, ptr noundef %49, i32 noundef %53) br label %57 55: ; preds = %35 %56 = call i32 @die(ptr noundef @.str.1) br label %57 57: ; preds = %55, %43 br label %58 58: ; preds = %57, %23 ret i32 0 } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare signext i8 @toupper(i8 noundef signext) #1 declare i32 @fencrypt(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @fdecrypt(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @die(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpoh6w1596.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [53 x i8] c"Usage: %s <e/d> <input-file> <output-file> <offset>\0A\00", align 1 @.str.1 = private unnamed_addr constant [15 x i8] c"Invlaid Option\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr %4, align 4 %7 = icmp ne i32 %6, 5 br i1 %7, label %8, label %15 8: ; preds = %2 %9 = load i32, ptr @stderr, align 4 %10 = load ptr, ptr %5, align 8 %11 = getelementptr inbounds ptr, ptr %10, i64 0 %12 = load ptr, ptr %11, align 8 %13 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str, ptr noundef %12) %14 = call i32 @exit(i32 noundef 1) #3 unreachable 15: ; preds = %2 %16 = load ptr, ptr %5, align 8 %17 = getelementptr inbounds ptr, ptr %16, i64 1 %18 = load ptr, ptr %17, align 8 %19 = load i8, ptr %18, align 1 %20 = call signext i8 @toupper(i8 noundef signext %19) %21 = sext i8 %20 to i32 %22 = icmp eq i32 %21, 69 br i1 %22, label %23, label %35 23: ; preds = %15 %24 = load ptr, ptr %5, align 8 %25 = getelementptr inbounds ptr, ptr %24, i64 2 %26 = load ptr, ptr %25, align 8 %27 = load ptr, ptr %5, align 8 %28 = getelementptr inbounds ptr, ptr %27, i64 3 %29 = load ptr, ptr %28, align 8 %30 = load ptr, ptr %5, align 8 %31 = getelementptr inbounds ptr, ptr %30, i64 4 %32 = load ptr, ptr %31, align 8 %33 = call i32 @atoi(ptr noundef %32) %34 = call i32 @fencrypt(ptr noundef %26, ptr noundef %29, i32 noundef %33) br label %58 35: ; preds = %15 %36 = load ptr, ptr %5, align 8 %37 = getelementptr inbounds ptr, ptr %36, i64 1 %38 = load ptr, ptr %37, align 8 %39 = load i8, ptr %38, align 1 %40 = call signext i8 @toupper(i8 noundef signext %39) %41 = sext i8 %40 to i32 %42 = icmp eq i32 %41, 68 br i1 %42, label %43, label %55 43: ; preds = %35 %44 = load ptr, ptr %5, align 8 %45 = getelementptr inbounds ptr, ptr %44, i64 2 %46 = load ptr, ptr %45, align 8 %47 = load ptr, ptr %5, align 8 %48 = getelementptr inbounds ptr, ptr %47, i64 3 %49 = load ptr, ptr %48, align 8 %50 = load ptr, ptr %5, align 8 %51 = getelementptr inbounds ptr, ptr %50, i64 4 %52 = load ptr, ptr %51, align 8 %53 = call i32 @atoi(ptr noundef %52) %54 = call i32 @fdecrypt(ptr noundef %46, ptr noundef %49, i32 noundef %53) br label %57 55: ; preds = %35 %56 = call i32 @die(ptr noundef @.str.1) br label %57 57: ; preds = %55, %43 br label %58 58: ; preds = %57, %23 ret i32 0 } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare signext i8 @toupper(i8 noundef signext) #1 declare i32 @fencrypt(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @atoi(ptr noundef) #1 declare i32 @fdecrypt(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @die(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { noreturn "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #3 = { noreturn } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp895kv4i2.c' source_filename = "/tmp/tmp895kv4i2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"cdb\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c".c\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c".pdm\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"-f\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"-o\00", align 1 @.str.5 = private unnamed_addr constant [4 x i8] c"pdm\00", align 1 @.str.6 = private unnamed_addr constant [2 x i8] c"c\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.7 = private unnamed_addr constant [28 x i8] c"CDB Compiler - Version 2.1\0A\00", align 1 @.str.8 = private unnamed_addr constant [28 x i8] c"--------------------------\0A\00", align 1 @.str.9 = private unnamed_addr constant [18 x i8] c"checking syntax.\0A\00", align 1 @.str.10 = private unnamed_addr constant [26 x i8] c"echo %d > cdbc.pdm.number\00", align 1 @.str.11 = private unnamed_addr constant [7 x i8] c" %s\0A\00", align 1 @.str.12 = private unnamed_addr constant [35 x i8] c"./PDMParser < %s > cdbc.pdm.input0\00", align 1 @.str.13 = private unnamed_addr constant [36 x i8] c"./PDMParser < %s > cdbc.pdm.input%d\00", align 1 @.str.14 = private unnamed_addr constant [34 x i8] c"./CDBParser < %s > cdbc.cdb.input\00", align 1 @.str.15 = private unnamed_addr constant [30 x i8] c"sbcl --noinform --load CDBRun\00", align 1 @.str.16 = private unnamed_addr constant [29 x i8] c"indent cdbc.output -kr -o %s\00", align 1 @.str.17 = private unnamed_addr constant [14 x i8] c"rm cdbc.pdm.*\00", align 1 @.str.18 = private unnamed_addr constant [14 x i8] c"rm cdbc.cdb.*\00", align 1 @.str.19 = private unnamed_addr constant [15 x i8] c"rm cdbc.output\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca [50 x i8], align 16 %11 = alloca [20 x [50 x i8]], align 16 %12 = alloca [50 x i8], align 16 %13 = alloca [50 x i8], align 16 %14 = alloca [50 x i8], align 16 %15 = alloca [256 x i8], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %8, align 4 %16 = load i32, ptr %4, align 4 %17 = icmp eq i32 %16, 1 br i1 %17, label %18, label %20 18: ; preds = %2 %19 = call i32 (...) @Error() br label %20 20: ; preds = %18, %2 %21 = getelementptr inbounds [50 x i8], ptr %12, i64 0, i64 0 %22 = load ptr, ptr %5, align 8 %23 = load i32, ptr %4, align 4 %24 = sub nsw i32 %23, 1 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds ptr, ptr %22, i64 %25 %27 = load ptr, ptr %26, align 8 %28 = call ptr @FixExtension(ptr noundef %27, ptr noundef @.str) %29 = call i32 @strcpy(ptr noundef %21, ptr noundef %28) store i32 0, ptr %6, align 4 br label %30 30: ; preds = %44, %20 %31 = load i32, ptr %6, align 4 %32 = getelementptr inbounds [50 x i8], ptr %12, i64 0, i64 0 %33 = call i32 @strlen(ptr noundef %32) %34 = sub nsw i32 %33, 5 %35 = icmp sle i32 %31, %34 br i1 %35, label %36, label %47 36: ; preds = %30 %37 = load i32, ptr %6, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds [50 x i8], ptr %12, i64 0, i64 %38 %40 = load i8, ptr %39, align 1 %41 = load i32, ptr %6, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds [50 x i8], ptr %10, i64 0, i64 %42 store i8 %40, ptr %43, align 1 br label %44 44: ; preds = %36 %45 = load i32, ptr %6, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %6, align 4 br label %30, !llvm.loop !6 47: ; preds = %30 %48 = load i32, ptr %6, align 4 %49 = sext i32 %48 to i64 %50 = getelementptr inbounds [50 x i8], ptr %10, i64 0, i64 %49 store i8 0, ptr %50, align 1 %51 = getelementptr inbounds [50 x i8], ptr %13, i64 0, i64 0 %52 = getelementptr inbounds [50 x i8], ptr %10, i64 0, i64 0 %53 = call i32 @strcpy(ptr noundef %51, ptr noundef %52) %54 = getelementptr inbounds [50 x i8], ptr %13, i64 0, i64 0 %55 = call i32 @strcat(ptr noundef %54, ptr noundef @.str.1) %56 = getelementptr inbounds [20 x [50 x i8]], ptr %11, i64 0, i64 0 %57 = getelementptr inbounds [50 x i8], ptr %56, i64 0, i64 0 %58 = getelementptr inbounds [50 x i8], ptr %10, i64 0, i64 0 %59 = call i32 @strcpy(ptr noundef %57, ptr noundef %58) %60 = getelementptr inbounds [20 x [50 x i8]], ptr %11, i64 0, i64 0 %61 = getelementptr inbounds [50 x i8], ptr %60, i64 0, i64 0 %62 = call i32 @strcat(ptr noundef %61, ptr noundef @.str.2) %63 = load i32, ptr %4, align 4 %64 = sub nsw i32 %63, 2 store i32 %64, ptr %7, align 4 store i32 0, ptr %9, align 4 store i32 1, ptr %6, align 4 br label %65 65: ; preds = %145, %47 %66 = load i32, ptr %6, align 4 %67 = load i32, ptr %7, align 4 %68 = icmp sle i32 %66, %67 br i1 %68, label %69, label %148 69: ; preds = %65 %70 = load ptr, ptr %5, align 8 %71 = load i32, ptr %6, align 4 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds ptr, ptr %70, i64 %72 %74 = load ptr, ptr %73, align 8 %75 = call i64 @strcmp(ptr noundef %74, ptr noundef @.str.3) %76 = icmp eq i64 %75, 0 br i1 %76, label %77, label %83 77: ; preds = %69 %78 = load i32, ptr %9, align 4 %79 = icmp ne i32 %78, 0 br i1 %79, label %80, label %82 80: ; preds = %77 %81 = call i32 (...) @Error() br label %82 82: ; preds = %80, %77 store i32 1, ptr %9, align 4 br label %144 83: ; preds = %69 %84 = load ptr, ptr %5, align 8 %85 = load i32, ptr %6, align 4 %86 = sext i32 %85 to i64 %87 = getelementptr inbounds ptr, ptr %84, i64 %86 %88 = load ptr, ptr %87, align 8 %89 = call i64 @strcmp(ptr noundef %88, ptr noundef @.str.4) %90 = icmp eq i64 %89, 0 br i1 %90, label %91, label %99 91: ; preds = %83 %92 = load i32, ptr %6, align 4 %93 = add nsw i32 %92, 1 %94 = load i32, ptr %7, align 4 %95 = icmp ne i32 %93, %94 br i1 %95, label %96, label %98 96: ; preds = %91 %97 = call i32 (...) @Error() br label %98 98: ; preds = %96, %91 store i32 2, ptr %9, align 4 br label %143 99: ; preds = %83 %100 = load ptr, ptr %5, align 8 %101 = load i32, ptr %6, align 4 %102 = sext i32 %101 to i64 %103 = getelementptr inbounds ptr, ptr %100, i64 %102 %104 = load ptr, ptr %103, align 8 %105 = getelementptr inbounds i8, ptr %104, i64 0 %106 = load i8, ptr %105, align 1 %107 = sext i8 %106 to i32 %108 = icmp eq i32 %107, 45 br i1 %108, label %109, label %111 109: ; preds = %99 %110 = call i32 (...) @Error() br label %111 111: ; preds = %109, %99 %112 = load i32, ptr %9, align 4 %113 = icmp eq i32 %112, 0 br i1 %113, label %114, label %116 114: ; preds = %111 %115 = call i32 (...) @Error() br label %116 116: ; preds = %114, %111 %117 = load i32, ptr %9, align 4 %118 = icmp eq i32 %117, 1 br i1 %118, label %119, label %133 119: ; preds = %116 %120 = load i32, ptr %8, align 4 %121 = add nsw i32 %120, 1 store i32 %121, ptr %8, align 4 %122 = load i32, ptr %8, align 4 %123 = sext i32 %122 to i64 %124 = getelementptr inbounds [20 x [50 x i8]], ptr %11, i64 0, i64 %123 %125 = getelementptr inbounds [50 x i8], ptr %124, i64 0, i64 0 %126 = load ptr, ptr %5, align 8 %127 = load i32, ptr %6, align 4 %128 = sext i32 %127 to i64 %129 = getelementptr inbounds ptr, ptr %126, i64 %128 %130 = load ptr, ptr %129, align 8 %131 = call ptr @FixExtension(ptr noundef %130, ptr noundef @.str.5) %132 = call i32 @strcpy(ptr noundef %125, ptr noundef %131) br label %142 133: ; preds = %116 %134 = getelementptr inbounds [50 x i8], ptr %13, i64 0, i64 0 %135 = load ptr, ptr %5, align 8 %136 = load i32, ptr %6, align 4 %137 = sext i32 %136 to i64 %138 = getelementptr inbounds ptr, ptr %135, i64 %137 %139 = load ptr, ptr %138, align 8 %140 = call ptr @FixExtension(ptr noundef %139, ptr noundef @.str.6) %141 = call i32 @strcpy(ptr noundef %134, ptr noundef %140) br label %142 142: ; preds = %133, %119 br label %143 143: ; preds = %142, %98 br label %144 144: ; preds = %143, %82 br label %145 145: ; preds = %144 %146 = load i32, ptr %6, align 4 %147 = add nsw i32 %146, 1 store i32 %147, ptr %6, align 4 br label %65, !llvm.loop !8 148: ; preds = %65 %149 = load i32, ptr @stderr, align 4 %150 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %149, ptr noundef @.str.7) %151 = load i32, ptr @stderr, align 4 %152 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %151, ptr noundef @.str.8) %153 = load i32, ptr @stderr, align 4 %154 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %153, ptr noundef @.str.9) %155 = getelementptr inbounds [256 x i8], ptr %15, i64 0, i64 0 %156 = load i32, ptr %8, align 4 %157 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %155, ptr noundef @.str.10, i32 noundef %156) %158 = getelementptr inbounds [256 x i8], ptr %15, i64 0, i64 0 %159 = call i32 @CSystem(ptr noundef %158) %160 = load i32, ptr %8, align 4 %161 = icmp eq i32 %160, 0 br i1 %161, label %162, label %173 162: ; preds = %148 %163 = load i32, ptr @stderr, align 4 %164 = getelementptr inbounds [20 x [50 x i8]], ptr %11, i64 0, i64 0 %165 = getelementptr inbounds [50 x i8], ptr %164, i64 0, i64 0 %166 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %163, ptr noundef @.str.11, ptr noundef %165) %167 = getelementptr inbounds [256 x i8], ptr %15, i64 0, i64 0 %168 = getelementptr inbounds [20 x [50 x i8]], ptr %11, i64 0, i64 0 %169 = getelementptr inbounds [50 x i8], ptr %168, i64 0, i64 0 %170 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %167, ptr noundef @.str.12, ptr noundef %169) %171 = getelementptr inbounds [256 x i8], ptr %15, i64 0, i64 0 %172 = call i32 @CSystem(ptr noundef %171) br label %198 173: ; preds = %148 store i32 1, ptr %6, align 4 br label %174 174: ; preds = %194, %173 %175 = load i32, ptr %6, align 4 %176 = load i32, ptr %8, align 4 %177 = icmp sle i32 %175, %176 br i1 %177, label %178, label %197 178: ; preds = %174 %179 = load i32, ptr @stderr, align 4 %180 = load i32, ptr %6, align 4 %181 = sext i32 %180 to i64 %182 = getelementptr inbounds [20 x [50 x i8]], ptr %11, i64 0, i64 %181 %183 = getelementptr inbounds [50 x i8], ptr %182, i64 0, i64 0 %184 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %179, ptr noundef @.str.11, ptr noundef %183) %185 = getelementptr inbounds [256 x i8], ptr %15, i64 0, i64 0 %186 = load i32, ptr %6, align 4 %187 = sext i32 %186 to i64 %188 = getelementptr inbounds [20 x [50 x i8]], ptr %11, i64 0, i64 %187 %189 = getelementptr inbounds [50 x i8], ptr %188, i64 0, i64 0 %190 = load i32, ptr %6, align 4 %191 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %185, ptr noundef @.str.13, ptr noundef %189, i32 noundef %190) %192 = getelementptr inbounds [256 x i8], ptr %15, i64 0, i64 0 %193 = call i32 @CSystem(ptr noundef %192) br label %194 194: ; preds = %178 %195 = load i32, ptr %6, align 4 %196 = add nsw i32 %195, 1 store i32 %196, ptr %6, align 4 br label %174, !llvm.loop !9 197: ; preds = %174 br label %198 198: ; preds = %197, %162 %199 = load i32, ptr @stderr, align 4 %200 = getelementptr inbounds [50 x i8], ptr %12, i64 0, i64 0 %201 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %199, ptr noundef @.str.11, ptr noundef %200) %202 = getelementptr inbounds [256 x i8], ptr %15, i64 0, i64 0 %203 = getelementptr inbounds [50 x i8], ptr %12, i64 0, i64 0 %204 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %202, ptr noundef @.str.14, ptr noundef %203) %205 = getelementptr inbounds [256 x i8], ptr %15, i64 0, i64 0 %206 = call i32 @CSystem(ptr noundef %205) %207 = call i32 @CSystem(ptr noundef @.str.15) %208 = getelementptr inbounds [256 x i8], ptr %15, i64 0, i64 0 %209 = getelementptr inbounds [50 x i8], ptr %13, i64 0, i64 0 %210 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %208, ptr noundef @.str.16, ptr noundef %209) %211 = getelementptr inbounds [256 x i8], ptr %15, i64 0, i64 0 %212 = call i32 @CSystem(ptr noundef %211) %213 = call i32 @CSystem(ptr noundef @.str.17) %214 = call i32 @CSystem(ptr noundef @.str.18) %215 = call i32 @CSystem(ptr noundef @.str.19) %216 = load i32, ptr %3, align 4 ret i32 %216 } declare i32 @Error(...) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare ptr @FixExtension(ptr noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ...) #1 declare i32 @CSystem(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp895kv4i2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [4 x i8] c"cdb\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c".c\00", align 1 @.str.2 = private unnamed_addr constant [5 x i8] c".pdm\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"-f\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"-o\00", align 1 @.str.5 = private unnamed_addr constant [4 x i8] c"pdm\00", align 1 @.str.6 = private unnamed_addr constant [2 x i8] c"c\00", align 1 @stderr = dso_local global i32 0, align 4 @.str.7 = private unnamed_addr constant [28 x i8] c"CDB Compiler - Version 2.1\0A\00", align 1 @.str.8 = private unnamed_addr constant [28 x i8] c"--------------------------\0A\00", align 1 @.str.9 = private unnamed_addr constant [18 x i8] c"checking syntax.\0A\00", align 1 @.str.10 = private unnamed_addr constant [26 x i8] c"echo %d > cdbc.pdm.number\00", align 1 @.str.11 = private unnamed_addr constant [7 x i8] c" %s\0A\00", align 1 @.str.12 = private unnamed_addr constant [35 x i8] c"./PDMParser < %s > cdbc.pdm.input0\00", align 1 @.str.13 = private unnamed_addr constant [36 x i8] c"./PDMParser < %s > cdbc.pdm.input%d\00", align 1 @.str.14 = private unnamed_addr constant [34 x i8] c"./CDBParser < %s > cdbc.cdb.input\00", align 1 @.str.15 = private unnamed_addr constant [30 x i8] c"sbcl --noinform --load CDBRun\00", align 1 @.str.16 = private unnamed_addr constant [29 x i8] c"indent cdbc.output -kr -o %s\00", align 1 @.str.17 = private unnamed_addr constant [14 x i8] c"rm cdbc.pdm.*\00", align 1 @.str.18 = private unnamed_addr constant [14 x i8] c"rm cdbc.cdb.*\00", align 1 @.str.19 = private unnamed_addr constant [15 x i8] c"rm cdbc.output\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca [50 x i8], align 16 %11 = alloca [20 x [50 x i8]], align 16 %12 = alloca [50 x i8], align 16 %13 = alloca [50 x i8], align 16 %14 = alloca [50 x i8], align 16 %15 = alloca [256 x i8], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %8, align 4 %16 = load i32, ptr %4, align 4 %17 = icmp eq i32 %16, 1 br i1 %17, label %18, label %20 18: ; preds = %2 %19 = call i32 (...) @Error() br label %20 20: ; preds = %18, %2 %21 = getelementptr inbounds [50 x i8], ptr %12, i64 0, i64 0 %22 = load ptr, ptr %5, align 8 %23 = load i32, ptr %4, align 4 %24 = sub nsw i32 %23, 1 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds ptr, ptr %22, i64 %25 %27 = load ptr, ptr %26, align 8 %28 = call ptr @FixExtension(ptr noundef %27, ptr noundef @.str) %29 = call i32 @strcpy(ptr noundef %21, ptr noundef %28) store i32 0, ptr %6, align 4 %30 = load i32, ptr %6, align 4 %31 = getelementptr inbounds [50 x i8], ptr %12, i64 0, i64 0 %32 = call i32 @strlen(ptr noundef %31) %33 = sub nsw i32 %32, 5 %34 = icmp sle i32 %30, %33 br i1 %34, label %.lr.ph, label %50 .lr.ph: ; preds = %20 br label %35 35: ; preds = %.lr.ph, %43 %36 = load i32, ptr %6, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds [50 x i8], ptr %12, i64 0, i64 %37 %39 = load i8, ptr %38, align 1 %40 = load i32, ptr %6, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds [50 x i8], ptr %10, i64 0, i64 %41 store i8 %39, ptr %42, align 1 br label %43 43: ; preds = %35 %44 = load i32, ptr %6, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %6, align 4 %46 = load i32, ptr %6, align 4 %47 = call i32 @strlen(ptr noundef %31) %48 = sub nsw i32 %47, 5 %49 = icmp sle i32 %46, %48 br i1 %49, label %35, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %43 br label %50 50: ; preds = %._crit_edge, %20 %51 = load i32, ptr %6, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds [50 x i8], ptr %10, i64 0, i64 %52 store i8 0, ptr %53, align 1 %54 = getelementptr inbounds [50 x i8], ptr %13, i64 0, i64 0 %55 = getelementptr inbounds [50 x i8], ptr %10, i64 0, i64 0 %56 = call i32 @strcpy(ptr noundef %54, ptr noundef %55) %57 = getelementptr inbounds [50 x i8], ptr %13, i64 0, i64 0 %58 = call i32 @strcat(ptr noundef %57, ptr noundef @.str.1) %59 = getelementptr inbounds [20 x [50 x i8]], ptr %11, i64 0, i64 0 %60 = getelementptr inbounds [50 x i8], ptr %59, i64 0, i64 0 %61 = getelementptr inbounds [50 x i8], ptr %10, i64 0, i64 0 %62 = call i32 @strcpy(ptr noundef %60, ptr noundef %61) %63 = getelementptr inbounds [20 x [50 x i8]], ptr %11, i64 0, i64 0 %64 = getelementptr inbounds [50 x i8], ptr %63, i64 0, i64 0 %65 = call i32 @strcat(ptr noundef %64, ptr noundef @.str.2) %66 = load i32, ptr %4, align 4 %67 = sub nsw i32 %66, 2 store i32 %67, ptr %7, align 4 store i32 0, ptr %9, align 4 store i32 1, ptr %6, align 4 %68 = load i32, ptr %6, align 4 %69 = load i32, ptr %7, align 4 %70 = icmp sle i32 %68, %69 br i1 %70, label %.lr.ph2, label %153 .lr.ph2: ; preds = %50 br label %71 71: ; preds = %.lr.ph2, %147 %72 = load ptr, ptr %5, align 8 %73 = load i32, ptr %6, align 4 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds ptr, ptr %72, i64 %74 %76 = load ptr, ptr %75, align 8 %77 = call i64 @strcmp(ptr noundef %76, ptr noundef @.str.3) %78 = icmp eq i64 %77, 0 br i1 %78, label %79, label %85 79: ; preds = %71 %80 = load i32, ptr %9, align 4 %81 = icmp ne i32 %80, 0 br i1 %81, label %82, label %84 82: ; preds = %79 %83 = call i32 (...) @Error() br label %84 84: ; preds = %82, %79 store i32 1, ptr %9, align 4 br label %146 85: ; preds = %71 %86 = load ptr, ptr %5, align 8 %87 = load i32, ptr %6, align 4 %88 = sext i32 %87 to i64 %89 = getelementptr inbounds ptr, ptr %86, i64 %88 %90 = load ptr, ptr %89, align 8 %91 = call i64 @strcmp(ptr noundef %90, ptr noundef @.str.4) %92 = icmp eq i64 %91, 0 br i1 %92, label %93, label %101 93: ; preds = %85 %94 = load i32, ptr %6, align 4 %95 = add nsw i32 %94, 1 %96 = load i32, ptr %7, align 4 %97 = icmp ne i32 %95, %96 br i1 %97, label %98, label %100 98: ; preds = %93 %99 = call i32 (...) @Error() br label %100 100: ; preds = %98, %93 store i32 2, ptr %9, align 4 br label %145 101: ; preds = %85 %102 = load ptr, ptr %5, align 8 %103 = load i32, ptr %6, align 4 %104 = sext i32 %103 to i64 %105 = getelementptr inbounds ptr, ptr %102, i64 %104 %106 = load ptr, ptr %105, align 8 %107 = getelementptr inbounds i8, ptr %106, i64 0 %108 = load i8, ptr %107, align 1 %109 = sext i8 %108 to i32 %110 = icmp eq i32 %109, 45 br i1 %110, label %111, label %113 111: ; preds = %101 %112 = call i32 (...) @Error() br label %113 113: ; preds = %111, %101 %114 = load i32, ptr %9, align 4 %115 = icmp eq i32 %114, 0 br i1 %115, label %116, label %118 116: ; preds = %113 %117 = call i32 (...) @Error() br label %118 118: ; preds = %116, %113 %119 = load i32, ptr %9, align 4 %120 = icmp eq i32 %119, 1 br i1 %120, label %121, label %135 121: ; preds = %118 %122 = load i32, ptr %8, align 4 %123 = add nsw i32 %122, 1 store i32 %123, ptr %8, align 4 %124 = load i32, ptr %8, align 4 %125 = sext i32 %124 to i64 %126 = getelementptr inbounds [20 x [50 x i8]], ptr %11, i64 0, i64 %125 %127 = getelementptr inbounds [50 x i8], ptr %126, i64 0, i64 0 %128 = load ptr, ptr %5, align 8 %129 = load i32, ptr %6, align 4 %130 = sext i32 %129 to i64 %131 = getelementptr inbounds ptr, ptr %128, i64 %130 %132 = load ptr, ptr %131, align 8 %133 = call ptr @FixExtension(ptr noundef %132, ptr noundef @.str.5) %134 = call i32 @strcpy(ptr noundef %127, ptr noundef %133) br label %144 135: ; preds = %118 %136 = getelementptr inbounds [50 x i8], ptr %13, i64 0, i64 0 %137 = load ptr, ptr %5, align 8 %138 = load i32, ptr %6, align 4 %139 = sext i32 %138 to i64 %140 = getelementptr inbounds ptr, ptr %137, i64 %139 %141 = load ptr, ptr %140, align 8 %142 = call ptr @FixExtension(ptr noundef %141, ptr noundef @.str.6) %143 = call i32 @strcpy(ptr noundef %136, ptr noundef %142) br label %144 144: ; preds = %135, %121 br label %145 145: ; preds = %144, %100 br label %146 146: ; preds = %145, %84 br label %147 147: ; preds = %146 %148 = load i32, ptr %6, align 4 %149 = add nsw i32 %148, 1 store i32 %149, ptr %6, align 4 %150 = load i32, ptr %6, align 4 %151 = load i32, ptr %7, align 4 %152 = icmp sle i32 %150, %151 br i1 %152, label %71, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %147 br label %153 153: ; preds = %._crit_edge3, %50 %154 = load i32, ptr @stderr, align 4 %155 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %154, ptr noundef @.str.7) %156 = load i32, ptr @stderr, align 4 %157 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %156, ptr noundef @.str.8) %158 = load i32, ptr @stderr, align 4 %159 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %158, ptr noundef @.str.9) %160 = getelementptr inbounds [256 x i8], ptr %15, i64 0, i64 0 %161 = load i32, ptr %8, align 4 %162 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %160, ptr noundef @.str.10, i32 noundef %161) %163 = getelementptr inbounds [256 x i8], ptr %15, i64 0, i64 0 %164 = call i32 @CSystem(ptr noundef %163) %165 = load i32, ptr %8, align 4 %166 = icmp eq i32 %165, 0 br i1 %166, label %167, label %178 167: ; preds = %153 %168 = load i32, ptr @stderr, align 4 %169 = getelementptr inbounds [20 x [50 x i8]], ptr %11, i64 0, i64 0 %170 = getelementptr inbounds [50 x i8], ptr %169, i64 0, i64 0 %171 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %168, ptr noundef @.str.11, ptr noundef %170) %172 = getelementptr inbounds [256 x i8], ptr %15, i64 0, i64 0 %173 = getelementptr inbounds [20 x [50 x i8]], ptr %11, i64 0, i64 0 %174 = getelementptr inbounds [50 x i8], ptr %173, i64 0, i64 0 %175 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %172, ptr noundef @.str.12, ptr noundef %174) %176 = getelementptr inbounds [256 x i8], ptr %15, i64 0, i64 0 %177 = call i32 @CSystem(ptr noundef %176) br label %205 178: ; preds = %153 store i32 1, ptr %6, align 4 %179 = load i32, ptr %6, align 4 %180 = load i32, ptr %8, align 4 %181 = icmp sle i32 %179, %180 br i1 %181, label %.lr.ph5, label %204 .lr.ph5: ; preds = %178 br label %182 182: ; preds = %.lr.ph5, %198 %183 = load i32, ptr @stderr, align 4 %184 = load i32, ptr %6, align 4 %185 = sext i32 %184 to i64 %186 = getelementptr inbounds [20 x [50 x i8]], ptr %11, i64 0, i64 %185 %187 = getelementptr inbounds [50 x i8], ptr %186, i64 0, i64 0 %188 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %183, ptr noundef @.str.11, ptr noundef %187) %189 = getelementptr inbounds [256 x i8], ptr %15, i64 0, i64 0 %190 = load i32, ptr %6, align 4 %191 = sext i32 %190 to i64 %192 = getelementptr inbounds [20 x [50 x i8]], ptr %11, i64 0, i64 %191 %193 = getelementptr inbounds [50 x i8], ptr %192, i64 0, i64 0 %194 = load i32, ptr %6, align 4 %195 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %189, ptr noundef @.str.13, ptr noundef %193, i32 noundef %194) %196 = getelementptr inbounds [256 x i8], ptr %15, i64 0, i64 0 %197 = call i32 @CSystem(ptr noundef %196) br label %198 198: ; preds = %182 %199 = load i32, ptr %6, align 4 %200 = add nsw i32 %199, 1 store i32 %200, ptr %6, align 4 %201 = load i32, ptr %6, align 4 %202 = load i32, ptr %8, align 4 %203 = icmp sle i32 %201, %202 br i1 %203, label %182, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %198 br label %204 204: ; preds = %._crit_edge6, %178 br label %205 205: ; preds = %204, %167 %206 = load i32, ptr @stderr, align 4 %207 = getelementptr inbounds [50 x i8], ptr %12, i64 0, i64 0 %208 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %206, ptr noundef @.str.11, ptr noundef %207) %209 = getelementptr inbounds [256 x i8], ptr %15, i64 0, i64 0 %210 = getelementptr inbounds [50 x i8], ptr %12, i64 0, i64 0 %211 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %209, ptr noundef @.str.14, ptr noundef %210) %212 = getelementptr inbounds [256 x i8], ptr %15, i64 0, i64 0 %213 = call i32 @CSystem(ptr noundef %212) %214 = call i32 @CSystem(ptr noundef @.str.15) %215 = getelementptr inbounds [256 x i8], ptr %15, i64 0, i64 0 %216 = getelementptr inbounds [50 x i8], ptr %13, i64 0, i64 0 %217 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %215, ptr noundef @.str.16, ptr noundef %216) %218 = getelementptr inbounds [256 x i8], ptr %15, i64 0, i64 0 %219 = call i32 @CSystem(ptr noundef %218) %220 = call i32 @CSystem(ptr noundef @.str.17) %221 = call i32 @CSystem(ptr noundef @.str.18) %222 = call i32 @CSystem(ptr noundef @.str.19) %223 = load i32, ptr %3, align 4 ret i32 %223 } declare i32 @Error(...) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare ptr @FixExtension(ptr noundef, ptr noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare i32 @sprintf(ptr noundef, ptr noundef, ...) #1 declare i32 @CSystem(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpu8ksf_zu.c' source_filename = "/tmp/tmpu8ksf_zu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [33 x i8] c"Usage: %s <src_file><dest_file>\0A\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"Link Error\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr %4, align 4 %7 = icmp ne i32 %6, 3 br i1 %7, label %8, label %13 8: ; preds = %2 %9 = load ptr, ptr %5, align 8 %10 = getelementptr inbounds ptr, ptr %9, i64 0 %11 = load ptr, ptr %10, align 8 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %11) store i32 0, ptr %3, align 4 br label %25 13: ; preds = %2 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds ptr, ptr %14, i64 1 %16 = load ptr, ptr %15, align 8 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 2 %19 = load ptr, ptr %18, align 8 %20 = call i32 @link(ptr noundef %16, ptr noundef %19) %21 = icmp eq i32 %20, -1 br i1 %21, label %22, label %24 22: ; preds = %13 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 1, ptr %3, align 4 br label %25 24: ; preds = %13 store i32 0, ptr %3, align 4 br label %25 25: ; preds = %24, %22, %8 %26 = load i32, ptr %3, align 4 ret i32 %26 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @link(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpu8ksf_zu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [33 x i8] c"Usage: %s <src_file><dest_file>\0A\00", align 1 @.str.1 = private unnamed_addr constant [12 x i8] c"Link Error\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %6 = load i32, ptr %4, align 4 %7 = icmp ne i32 %6, 3 br i1 %7, label %8, label %13 8: ; preds = %2 %9 = load ptr, ptr %5, align 8 %10 = getelementptr inbounds ptr, ptr %9, i64 0 %11 = load ptr, ptr %10, align 8 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str, ptr noundef %11) store i32 0, ptr %3, align 4 br label %25 13: ; preds = %2 %14 = load ptr, ptr %5, align 8 %15 = getelementptr inbounds ptr, ptr %14, i64 1 %16 = load ptr, ptr %15, align 8 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds ptr, ptr %17, i64 2 %19 = load ptr, ptr %18, align 8 %20 = call i32 @link(ptr noundef %16, ptr noundef %19) %21 = icmp eq i32 %20, -1 br i1 %21, label %22, label %24 22: ; preds = %13 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 1, ptr %3, align 4 br label %25 24: ; preds = %13 store i32 0, ptr %3, align 4 br label %25 25: ; preds = %24, %22, %8 %26 = load i32, ptr %3, align 4 ret i32 %26 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @link(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpiduhl44g.c' source_filename = "/tmp/tmpiduhl44g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @extendedEuclid(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca [3 x i32], align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 %10 = getelementptr inbounds [3 x i32], ptr %6, i64 0, i64 0 store ptr %10, ptr %7, align 8 %11 = load i32, ptr %5, align 4 %12 = icmp eq i32 %11, 0 br i1 %12, label %13, label %22 13: ; preds = %2 %14 = load i32, ptr %4, align 4 %15 = load ptr, ptr %7, align 8 %16 = getelementptr inbounds i32, ptr %15, i64 0 store i32 %14, ptr %16, align 4 %17 = load ptr, ptr %7, align 8 %18 = getelementptr inbounds i32, ptr %17, i64 1 store i32 1, ptr %18, align 4 %19 = load ptr, ptr %7, align 8 %20 = getelementptr inbounds i32, ptr %19, i64 2 store i32 0, ptr %20, align 4 %21 = load ptr, ptr %7, align 8 store ptr %21, ptr %3, align 8 br label %49 22: ; preds = %2 %23 = load i32, ptr %5, align 4 %24 = load i32, ptr %4, align 4 %25 = load i32, ptr %5, align 4 %26 = srem i32 %24, %25 %27 = call ptr @extendedEuclid(i32 noundef %23, i32 noundef %26) store ptr %27, ptr %7, align 8 %28 = load ptr, ptr %7, align 8 %29 = getelementptr inbounds i32, ptr %28, i64 1 %30 = load i32, ptr %29, align 4 store i32 %30, ptr %8, align 4 %31 = load ptr, ptr %7, align 8 %32 = getelementptr inbounds i32, ptr %31, i64 2 %33 = load i32, ptr %32, align 4 store i32 %33, ptr %9, align 4 %34 = load ptr, ptr %7, align 8 %35 = getelementptr inbounds i32, ptr %34, i64 2 %36 = load i32, ptr %35, align 4 %37 = load ptr, ptr %7, align 8 %38 = getelementptr inbounds i32, ptr %37, i64 1 store i32 %36, ptr %38, align 4 %39 = load i32, ptr %8, align 4 %40 = load i32, ptr %4, align 4 %41 = load i32, ptr %5, align 4 %42 = sdiv i32 %40, %41 %43 = load i32, ptr %9, align 4 %44 = mul nsw i32 %42, %43 %45 = sub nsw i32 %39, %44 %46 = load ptr, ptr %7, align 8 %47 = getelementptr inbounds i32, ptr %46, i64 2 store i32 %45, ptr %47, align 4 %48 = load ptr, ptr %7, align 8 store ptr %48, ptr %3, align 8 br label %49 49: ; preds = %22, %13 %50 = load ptr, ptr %3, align 8 ret ptr %50 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpiduhl44g.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @extendedEuclid(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca [3 x i32], align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 %10 = getelementptr inbounds [3 x i32], ptr %6, i64 0, i64 0 store ptr %10, ptr %7, align 8 %11 = load i32, ptr %5, align 4 %12 = icmp eq i32 %11, 0 br i1 %12, label %13, label %22 13: ; preds = %2 %14 = load i32, ptr %4, align 4 %15 = load ptr, ptr %7, align 8 %16 = getelementptr inbounds i32, ptr %15, i64 0 store i32 %14, ptr %16, align 4 %17 = load ptr, ptr %7, align 8 %18 = getelementptr inbounds i32, ptr %17, i64 1 store i32 1, ptr %18, align 4 %19 = load ptr, ptr %7, align 8 %20 = getelementptr inbounds i32, ptr %19, i64 2 store i32 0, ptr %20, align 4 %21 = load ptr, ptr %7, align 8 store ptr %21, ptr %3, align 8 br label %49 22: ; preds = %2 %23 = load i32, ptr %5, align 4 %24 = load i32, ptr %4, align 4 %25 = load i32, ptr %5, align 4 %26 = srem i32 %24, %25 %27 = call ptr @extendedEuclid(i32 noundef %23, i32 noundef %26) store ptr %27, ptr %7, align 8 %28 = load ptr, ptr %7, align 8 %29 = getelementptr inbounds i32, ptr %28, i64 1 %30 = load i32, ptr %29, align 4 store i32 %30, ptr %8, align 4 %31 = load ptr, ptr %7, align 8 %32 = getelementptr inbounds i32, ptr %31, i64 2 %33 = load i32, ptr %32, align 4 store i32 %33, ptr %9, align 4 %34 = load ptr, ptr %7, align 8 %35 = getelementptr inbounds i32, ptr %34, i64 2 %36 = load i32, ptr %35, align 4 %37 = load ptr, ptr %7, align 8 %38 = getelementptr inbounds i32, ptr %37, i64 1 store i32 %36, ptr %38, align 4 %39 = load i32, ptr %8, align 4 %40 = load i32, ptr %4, align 4 %41 = load i32, ptr %5, align 4 %42 = sdiv i32 %40, %41 %43 = load i32, ptr %9, align 4 %44 = mul nsw i32 %42, %43 %45 = sub nsw i32 %39, %44 %46 = load ptr, ptr %7, align 8 %47 = getelementptr inbounds i32, ptr %46, i64 2 store i32 %45, ptr %47, align 4 %48 = load ptr, ptr %7, align 8 store ptr %48, ptr %3, align 8 br label %49 49: ; preds = %22, %13 %50 = load ptr, ptr %3, align 8 ret ptr %50 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmprn1t769c.c' source_filename = "/tmp/tmprn1t769c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 } %struct.TYPE_2__ = type { i32 } @AF_INET = dso_local global i32 0, align 4 @SOCK_RAW = dso_local global i32 0, align 4 @IPPROTO_TCP = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [13 x i8] c"socket error\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"socket ok\0A\00", align 1 @INADDR_ANY = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [11 x i8] c"bind error\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"bind ok\0A\00", align 1 @.str.4 = private unnamed_addr constant [11 x i8] c"recv error\00", align 1 @.str.5 = private unnamed_addr constant [15 x i8] c"recv %d bytes\0A\00", align 1 @.str.6 = private unnamed_addr constant [9 x i8] c"0x%02X, \00", align 1 @.str.7 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [1000 x i8], align 16 %3 = alloca i32, align 4 %4 = alloca %struct.sockaddr_in, align 4 %5 = alloca %struct.sockaddr_in, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %1, align 4 %9 = load i32, ptr @AF_INET, align 4 %10 = load i32, ptr @SOCK_RAW, align 4 %11 = load i32, ptr @IPPROTO_TCP, align 4 %12 = call i32 @socket(i32 noundef %9, i32 noundef %10, i32 noundef %11) store i32 %12, ptr %3, align 4 %13 = load i32, ptr %3, align 4 %14 = icmp eq i32 %13, -1 br i1 %14, label %15, label %17 15: ; preds = %0 %16 = call i32 @perror(ptr noundef @.str) store i32 1, ptr %1, align 4 br label %68 17: ; preds = %0 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %19 19: ; preds = %17 %20 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 0 %21 = call i32 @htons(i32 noundef 1100) store i32 %21, ptr %20, align 4 %22 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 1 %23 = getelementptr inbounds %struct.TYPE_2__, ptr %22, i32 0, i32 0 %24 = load i32, ptr @INADDR_ANY, align 4 store i32 %24, ptr %23, align 4 %25 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 2 %26 = load i32, ptr @AF_INET, align 4 store i32 %26, ptr %25, align 4 store i32 12, ptr %6, align 4 %27 = load i32, ptr %3, align 4 %28 = call i32 @bind(i32 noundef %27, ptr noundef %4, i32 noundef 12) %29 = icmp eq i32 %28, -1 br i1 %29, label %30, label %34 30: ; preds = %19 %31 = call i32 @perror(ptr noundef @.str.2) %32 = load i32, ptr %3, align 4 %33 = call i32 @close(i32 noundef %32) store i32 1, ptr %1, align 4 br label %68 34: ; preds = %19 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %36 36: ; preds = %34 %37 = load i32, ptr %3, align 4 %38 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0 %39 = call i32 @recvfrom(i32 noundef %37, ptr noundef %38, i32 noundef 1000, i32 noundef 0, ptr noundef %5, ptr noundef %6) store i32 %39, ptr %7, align 4 %40 = load i32, ptr %7, align 4 %41 = icmp eq i32 %40, -1 br i1 %41, label %42, label %44 42: ; preds = %36 %43 = call i32 @perror(ptr noundef @.str.4) br label %63 44: ; preds = %36 %45 = load i32, ptr %7, align 4 %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %45) store i32 0, ptr %8, align 4 br label %47 47: ; preds = %58, %44 %48 = load i32, ptr %8, align 4 %49 = load i32, ptr %7, align 4 %50 = icmp slt i32 %48, %49 br i1 %50, label %51, label %61 51: ; preds = %47 %52 = load i32, ptr %8, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 %53 %55 = load i8, ptr %54, align 1 %56 = zext i8 %55 to i32 %57 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %56) br label %58 58: ; preds = %51 %59 = load i32, ptr %8, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %8, align 4 br label %47, !llvm.loop !6 61: ; preds = %47 %62 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) br label %63 63: ; preds = %61, %42 %64 = load i32, ptr %3, align 4 %65 = call i32 @shutdown(i32 noundef %64, i32 noundef 2) %66 = load i32, ptr %3, align 4 %67 = call i32 @close(i32 noundef %66) store i32 0, ptr %1, align 4 br label %68 68: ; preds = %63, %30, %15 %69 = load i32, ptr %1, align 4 ret i32 %69 } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @htons(i32 noundef) #1 declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @recvfrom(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @shutdown(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprn1t769c.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" %struct.sockaddr_in = type { i32, %struct.TYPE_2__, i32 } %struct.TYPE_2__ = type { i32 } @AF_INET = dso_local global i32 0, align 4 @SOCK_RAW = dso_local global i32 0, align 4 @IPPROTO_TCP = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [13 x i8] c"socket error\00", align 1 @.str.1 = private unnamed_addr constant [11 x i8] c"socket ok\0A\00", align 1 @INADDR_ANY = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [11 x i8] c"bind error\00", align 1 @.str.3 = private unnamed_addr constant [9 x i8] c"bind ok\0A\00", align 1 @.str.4 = private unnamed_addr constant [11 x i8] c"recv error\00", align 1 @.str.5 = private unnamed_addr constant [15 x i8] c"recv %d bytes\0A\00", align 1 @.str.6 = private unnamed_addr constant [9 x i8] c"0x%02X, \00", align 1 @.str.7 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [1000 x i8], align 16 %3 = alloca i32, align 4 %4 = alloca %struct.sockaddr_in, align 4 %5 = alloca %struct.sockaddr_in, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 0, ptr %1, align 4 %9 = load i32, ptr @AF_INET, align 4 %10 = load i32, ptr @SOCK_RAW, align 4 %11 = load i32, ptr @IPPROTO_TCP, align 4 %12 = call i32 @socket(i32 noundef %9, i32 noundef %10, i32 noundef %11) store i32 %12, ptr %3, align 4 %13 = load i32, ptr %3, align 4 %14 = icmp eq i32 %13, -1 br i1 %14, label %15, label %17 15: ; preds = %0 %16 = call i32 @perror(ptr noundef @.str) store i32 1, ptr %1, align 4 br label %70 17: ; preds = %0 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %19 19: ; preds = %17 %20 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 0 %21 = call i32 @htons(i32 noundef 1100) store i32 %21, ptr %20, align 4 %22 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 1 %23 = getelementptr inbounds %struct.TYPE_2__, ptr %22, i32 0, i32 0 %24 = load i32, ptr @INADDR_ANY, align 4 store i32 %24, ptr %23, align 4 %25 = getelementptr inbounds %struct.sockaddr_in, ptr %4, i32 0, i32 2 %26 = load i32, ptr @AF_INET, align 4 store i32 %26, ptr %25, align 4 store i32 12, ptr %6, align 4 %27 = load i32, ptr %3, align 4 %28 = call i32 @bind(i32 noundef %27, ptr noundef %4, i32 noundef 12) %29 = icmp eq i32 %28, -1 br i1 %29, label %30, label %34 30: ; preds = %19 %31 = call i32 @perror(ptr noundef @.str.2) %32 = load i32, ptr %3, align 4 %33 = call i32 @close(i32 noundef %32) store i32 1, ptr %1, align 4 br label %70 34: ; preds = %19 %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %36 36: ; preds = %34 %37 = load i32, ptr %3, align 4 %38 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 0 %39 = call i32 @recvfrom(i32 noundef %37, ptr noundef %38, i32 noundef 1000, i32 noundef 0, ptr noundef %5, ptr noundef %6) store i32 %39, ptr %7, align 4 %40 = load i32, ptr %7, align 4 %41 = icmp eq i32 %40, -1 br i1 %41, label %42, label %44 42: ; preds = %36 %43 = call i32 @perror(ptr noundef @.str.4) br label %65 44: ; preds = %36 %45 = load i32, ptr %7, align 4 %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %45) store i32 0, ptr %8, align 4 %47 = load i32, ptr %8, align 4 %48 = load i32, ptr %7, align 4 %49 = icmp slt i32 %47, %48 br i1 %49, label %.lr.ph, label %63 .lr.ph: ; preds = %44 br label %50 50: ; preds = %.lr.ph, %57 %51 = load i32, ptr %8, align 4 %52 = sext i32 %51 to i64 %53 = getelementptr inbounds [1000 x i8], ptr %2, i64 0, i64 %52 %54 = load i8, ptr %53, align 1 %55 = zext i8 %54 to i32 %56 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, i32 noundef %55) br label %57 57: ; preds = %50 %58 = load i32, ptr %8, align 4 %59 = add nsw i32 %58, 1 store i32 %59, ptr %8, align 4 %60 = load i32, ptr %8, align 4 %61 = load i32, ptr %7, align 4 %62 = icmp slt i32 %60, %61 br i1 %62, label %50, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %57 br label %63 63: ; preds = %._crit_edge, %44 %64 = call i32 (ptr, ...) @printf(ptr noundef @.str.7) br label %65 65: ; preds = %63, %42 %66 = load i32, ptr %3, align 4 %67 = call i32 @shutdown(i32 noundef %66, i32 noundef 2) %68 = load i32, ptr %3, align 4 %69 = call i32 @close(i32 noundef %68) store i32 0, ptr %1, align 4 br label %70 70: ; preds = %65, %30, %15 %71 = load i32, ptr %1, align 4 ret i32 %71 } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @htons(i32 noundef) #1 declare i32 @bind(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @recvfrom(i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @shutdown(i32 noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpax_6vb5d.c' source_filename = "/tmp/tmpax_6vb5d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpax_6vb5d.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpztm7x7z9.c' source_filename = "/tmp/tmpztm7x7z9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @thread1(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %6 = call i64 @malloc(i32 noundef 20) %7 = inttoptr i64 %6 to ptr store ptr %7, ptr %3, align 8 %8 = call i64 @malloc(i32 noundef 20) %9 = inttoptr i64 %8 to ptr store ptr %9, ptr %4, align 8 %10 = call i64 @malloc(i32 noundef 20) %11 = inttoptr i64 %10 to ptr store ptr %11, ptr %5, align 8 %12 = load ptr, ptr %3, align 8 %13 = call i32 @free(ptr noundef %12) %14 = load ptr, ptr %4, align 8 %15 = call i32 @free(ptr noundef %14) %16 = load ptr, ptr %5, align 8 %17 = call i32 @free(ptr noundef %16) %18 = call i32 @sleep(i32 noundef 100) ret ptr null } declare i64 @malloc(i32 noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @sleep(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpztm7x7z9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @thread1(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %6 = call i64 @malloc(i32 noundef 20) %7 = inttoptr i64 %6 to ptr store ptr %7, ptr %3, align 8 %8 = call i64 @malloc(i32 noundef 20) %9 = inttoptr i64 %8 to ptr store ptr %9, ptr %4, align 8 %10 = call i64 @malloc(i32 noundef 20) %11 = inttoptr i64 %10 to ptr store ptr %11, ptr %5, align 8 %12 = load ptr, ptr %3, align 8 %13 = call i32 @free(ptr noundef %12) %14 = load ptr, ptr %4, align 8 %15 = call i32 @free(ptr noundef %14) %16 = load ptr, ptr %5, align 8 %17 = call i32 @free(ptr noundef %16) %18 = call i32 @sleep(i32 noundef 100) ret ptr null } declare i64 @malloc(i32 noundef) #1 declare i32 @free(ptr noundef) #1 declare i32 @sleep(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpufgvyz7m.c' source_filename = "/tmp/tmpufgvyz7m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpufgvyz7m.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpz3729dpv.c' source_filename = "/tmp/tmpz3729dpv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @ssdv_decode_callsign(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i8, align 1 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %8 = load ptr, ptr %4, align 8 store i8 0, ptr %8, align 1 %9 = load i32, ptr %5, align 4 %10 = icmp ugt i32 %9, -198967297 br i1 %10, label %11, label %13 11: ; preds = %2 %12 = load ptr, ptr %4, align 8 store ptr %12, ptr %3, align 8 br label %62 13: ; preds = %2 %14 = load ptr, ptr %4, align 8 store ptr %14, ptr %6, align 8 br label %15 15: ; preds = %56, %13 %16 = load i32, ptr %5, align 4 %17 = icmp ne i32 %16, 0 br i1 %17, label %18, label %59 18: ; preds = %15 %19 = load i32, ptr %5, align 4 %20 = srem i32 %19, 40 %21 = trunc i32 %20 to i8 store i8 %21, ptr %7, align 1 %22 = load i8, ptr %7, align 1 %23 = sext i8 %22 to i32 %24 = icmp eq i32 %23, 0 br i1 %24, label %25, label %27 25: ; preds = %18 %26 = load ptr, ptr %6, align 8 store i8 45, ptr %26, align 1 br label %53 27: ; preds = %18 %28 = load i8, ptr %7, align 1 %29 = sext i8 %28 to i32 %30 = icmp slt i32 %29, 11 br i1 %30, label %31, label %38 31: ; preds = %27 %32 = load i8, ptr %7, align 1 %33 = sext i8 %32 to i32 %34 = add nsw i32 48, %33 %35 = sub nsw i32 %34, 1 %36 = trunc i32 %35 to i8 %37 = load ptr, ptr %6, align 8 store i8 %36, ptr %37, align 1 br label %52 38: ; preds = %27 %39 = load i8, ptr %7, align 1 %40 = sext i8 %39 to i32 %41 = icmp slt i32 %40, 14 br i1 %41, label %42, label %44 42: ; preds = %38 %43 = load ptr, ptr %6, align 8 store i8 45, ptr %43, align 1 br label %51 44: ; preds = %38 %45 = load i8, ptr %7, align 1 %46 = sext i8 %45 to i32 %47 = add nsw i32 65, %46 %48 = sub nsw i32 %47, 14 %49 = trunc i32 %48 to i8 %50 = load ptr, ptr %6, align 8 store i8 %49, ptr %50, align 1 br label %51 51: ; preds = %44, %42 br label %52 52: ; preds = %51, %31 br label %53 53: ; preds = %52, %25 %54 = load i32, ptr %5, align 4 %55 = sdiv i32 %54, 40 store i32 %55, ptr %5, align 4 br label %56 56: ; preds = %53 %57 = load ptr, ptr %6, align 8 %58 = getelementptr inbounds i8, ptr %57, i32 1 store ptr %58, ptr %6, align 8 br label %15, !llvm.loop !6 59: ; preds = %15 %60 = load ptr, ptr %6, align 8 store i8 0, ptr %60, align 1 %61 = load ptr, ptr %4, align 8 store ptr %61, ptr %3, align 8 br label %62 62: ; preds = %59, %11 %63 = load ptr, ptr %3, align 8 ret ptr %63 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpz3729dpv.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @ssdv_decode_callsign(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca i8, align 1 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 %8 = load ptr, ptr %4, align 8 store i8 0, ptr %8, align 1 %9 = load i32, ptr %5, align 4 %10 = icmp ugt i32 %9, -198967297 br i1 %10, label %11, label %13 11: ; preds = %2 %12 = load ptr, ptr %4, align 8 store ptr %12, ptr %3, align 8 br label %63 13: ; preds = %2 %14 = load ptr, ptr %4, align 8 store ptr %14, ptr %6, align 8 %15 = load i32, ptr %5, align 4 %16 = icmp ne i32 %15, 0 br i1 %16, label %.lr.ph, label %60 .lr.ph: ; preds = %13 br label %17 17: ; preds = %.lr.ph, %55 %18 = load i32, ptr %5, align 4 %19 = srem i32 %18, 40 %20 = trunc i32 %19 to i8 store i8 %20, ptr %7, align 1 %21 = load i8, ptr %7, align 1 %22 = sext i8 %21 to i32 %23 = icmp eq i32 %22, 0 br i1 %23, label %24, label %26 24: ; preds = %17 %25 = load ptr, ptr %6, align 8 store i8 45, ptr %25, align 1 br label %52 26: ; preds = %17 %27 = load i8, ptr %7, align 1 %28 = sext i8 %27 to i32 %29 = icmp slt i32 %28, 11 br i1 %29, label %30, label %37 30: ; preds = %26 %31 = load i8, ptr %7, align 1 %32 = sext i8 %31 to i32 %33 = add nsw i32 48, %32 %34 = sub nsw i32 %33, 1 %35 = trunc i32 %34 to i8 %36 = load ptr, ptr %6, align 8 store i8 %35, ptr %36, align 1 br label %51 37: ; preds = %26 %38 = load i8, ptr %7, align 1 %39 = sext i8 %38 to i32 %40 = icmp slt i32 %39, 14 br i1 %40, label %41, label %43 41: ; preds = %37 %42 = load ptr, ptr %6, align 8 store i8 45, ptr %42, align 1 br label %50 43: ; preds = %37 %44 = load i8, ptr %7, align 1 %45 = sext i8 %44 to i32 %46 = add nsw i32 65, %45 %47 = sub nsw i32 %46, 14 %48 = trunc i32 %47 to i8 %49 = load ptr, ptr %6, align 8 store i8 %48, ptr %49, align 1 br label %50 50: ; preds = %43, %41 br label %51 51: ; preds = %50, %30 br label %52 52: ; preds = %51, %24 %53 = load i32, ptr %5, align 4 %54 = sdiv i32 %53, 40 store i32 %54, ptr %5, align 4 br label %55 55: ; preds = %52 %56 = load ptr, ptr %6, align 8 %57 = getelementptr inbounds i8, ptr %56, i32 1 store ptr %57, ptr %6, align 8 %58 = load i32, ptr %5, align 4 %59 = icmp ne i32 %58, 0 br i1 %59, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %55 br label %60 60: ; preds = %._crit_edge, %13 %61 = load ptr, ptr %6, align 8 store i8 0, ptr %61, align 1 %62 = load ptr, ptr %4, align 8 store ptr %62, ptr %3, align 8 br label %63 63: ; preds = %60, %11 %64 = load ptr, ptr %3, align 8 ret ptr %64 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpwg_pb2rm.c' source_filename = "/tmp/tmpwg_pb2rm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @release_table(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = icmp ne ptr %3, null br i1 %4, label %6, label %5 5: ; preds = %1 br label %9 6: ; preds = %1 %7 = load ptr, ptr %2, align 8 %8 = call i32 @free(ptr noundef %7) br label %9 9: ; preds = %6, %5 ret void } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwg_pb2rm.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @release_table(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = icmp ne ptr %3, null br i1 %4, label %6, label %5 5: ; preds = %1 br label %9 6: ; preds = %1 %7 = load ptr, ptr %2, align 8 %8 = call i32 @free(ptr noundef %7) br label %9 9: ; preds = %6, %5 ret void } declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpdfyiscih.c' source_filename = "/tmp/tmpdfyiscih.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @longueur_mois(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = icmp sle i32 1, %5 br i1 %6, label %7, label %10 7: ; preds = %2 %8 = load i32, ptr %4, align 4 %9 = icmp sle i32 %8, 12 br label %10 10: ; preds = %7, %2 %11 = phi i1 [ false, %2 ], [ %9, %7 ] %12 = zext i1 %11 to i32 %13 = call i32 @assert(i32 noundef %12) %14 = load i32, ptr %4, align 4 %15 = icmp eq i32 %14, 2 br i1 %15, label %16, label %22 16: ; preds = %10 %17 = load i32, ptr %3, align 4 %18 = srem i32 %17, 4 %19 = icmp ne i32 %18, 0 %20 = zext i1 %19 to i64 %21 = select i1 %19, i32 28, i32 29 br label %28 22: ; preds = %10 %23 = load i32, ptr %4, align 4 %24 = mul nsw i32 %23, 9 %25 = sdiv i32 %24, 8 %26 = and i32 %25, 1 %27 = add nsw i32 30, %26 br label %28 28: ; preds = %22, %16 %29 = phi i32 [ %21, %16 ], [ %27, %22 ] ret i32 %29 } declare i32 @assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpdfyiscih.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @longueur_mois(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = icmp sle i32 1, %5 br i1 %6, label %7, label %10 7: ; preds = %2 %8 = load i32, ptr %4, align 4 %9 = icmp sle i32 %8, 12 br label %10 10: ; preds = %7, %2 %11 = phi i1 [ false, %2 ], [ %9, %7 ] %12 = zext i1 %11 to i32 %13 = call i32 @assert(i32 noundef %12) %14 = load i32, ptr %4, align 4 %15 = icmp eq i32 %14, 2 br i1 %15, label %16, label %22 16: ; preds = %10 %17 = load i32, ptr %3, align 4 %18 = srem i32 %17, 4 %19 = icmp ne i32 %18, 0 %20 = zext i1 %19 to i64 %21 = select i1 %19, i32 28, i32 29 br label %28 22: ; preds = %10 %23 = load i32, ptr %4, align 4 %24 = mul nsw i32 %23, 9 %25 = sdiv i32 %24, 8 %26 = and i32 %25, 1 %27 = add nsw i32 30, %26 br label %28 28: ; preds = %22, %16 %29 = phi i32 [ %21, %16 ], [ %27, %22 ] ret i32 %29 } declare i32 @assert(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpj25h293s.c' source_filename = "/tmp/tmpj25h293s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @opt_type(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 0, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %4, align 4 %7 = sext i32 %6 to i64 %8 = getelementptr inbounds i8, ptr %5, i64 %7 %9 = load i8, ptr %8, align 1 %10 = sext i8 %9 to i32 switch i32 %10, label %25 [ i32 42, label %11 i32 43, label %12 i32 47, label %13 i32 45, label %14 ] 11: ; preds = %1 store i32 42, ptr %2, align 4 br label %46 12: ; preds = %1 store i32 43, ptr %2, align 4 br label %46 13: ; preds = %1 store i32 47, ptr %2, align 4 br label %46 14: ; preds = %1 %15 = load ptr, ptr %3, align 8 %16 = load i32, ptr %4, align 4 %17 = add nsw i32 %16, 1 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i8, ptr %15, i64 %18 %20 = load i8, ptr %19, align 1 %21 = sext i8 %20 to i32 %22 = icmp eq i32 %21, 0 br i1 %22, label %23, label %24 23: ; preds = %14 store i32 45, ptr %2, align 4 br label %46 24: ; preds = %14 br label %25 25: ; preds = %1, %24 br label %26 26: ; preds = %34, %25 %27 = load ptr, ptr %3, align 8 %28 = load i32, ptr %4, align 4 %29 = sext i32 %28 to i64 %30 = getelementptr inbounds i8, ptr %27, i64 %29 %31 = load i8, ptr %30, align 1 %32 = call i64 @isdigit(i8 noundef signext %31) %33 = icmp ne i64 %32, 0 br i1 %33, label %34, label %37 34: ; preds = %26 %35 = load i32, ptr %4, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %4, align 4 br label %26, !llvm.loop !6 37: ; preds = %26 %38 = load ptr, ptr %3, align 8 %39 = load i32, ptr %4, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds i8, ptr %38, i64 %40 %42 = load i8, ptr %41, align 1 %43 = sext i8 %42 to i32 %44 = icmp eq i32 %43, 0 br i1 %44, label %45, label %46 45: ; preds = %37 store i32 48, ptr %2, align 4 br label %46 46: ; preds = %11, %12, %13, %23, %45, %37 %47 = load i32, ptr %2, align 4 ret i32 %47 } declare i64 @isdigit(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpj25h293s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @opt_type(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 0, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %4, align 4 %7 = sext i32 %6 to i64 %8 = getelementptr inbounds i8, ptr %5, i64 %7 %9 = load i8, ptr %8, align 1 %10 = sext i8 %9 to i32 switch i32 %10, label %25 [ i32 42, label %11 i32 43, label %12 i32 47, label %13 i32 45, label %14 ] 11: ; preds = %1 store i32 42, ptr %2, align 4 br label %52 12: ; preds = %1 store i32 43, ptr %2, align 4 br label %52 13: ; preds = %1 store i32 47, ptr %2, align 4 br label %52 14: ; preds = %1 %15 = load ptr, ptr %3, align 8 %16 = load i32, ptr %4, align 4 %17 = add nsw i32 %16, 1 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i8, ptr %15, i64 %18 %20 = load i8, ptr %19, align 1 %21 = sext i8 %20 to i32 %22 = icmp eq i32 %21, 0 br i1 %22, label %23, label %24 23: ; preds = %14 store i32 45, ptr %2, align 4 br label %52 24: ; preds = %14 br label %25 25: ; preds = %24, %1 %26 = load ptr, ptr %3, align 8 %27 = load i32, ptr %4, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i8, ptr %26, i64 %28 %30 = load i8, ptr %29, align 1 %31 = call i64 @isdigit(i8 noundef signext %30) %32 = icmp ne i64 %31, 0 br i1 %32, label %.lr.ph, label %43 .lr.ph: ; preds = %25 br label %33 33: ; preds = %.lr.ph, %33 %34 = load i32, ptr %4, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %4, align 4 %36 = load ptr, ptr %3, align 8 %37 = load i32, ptr %4, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds i8, ptr %36, i64 %38 %40 = load i8, ptr %39, align 1 %41 = call i64 @isdigit(i8 noundef signext %40) %42 = icmp ne i64 %41, 0 br i1 %42, label %33, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %33 br label %43 43: ; preds = %._crit_edge, %25 %44 = load ptr, ptr %3, align 8 %45 = load i32, ptr %4, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i8, ptr %44, i64 %46 %48 = load i8, ptr %47, align 1 %49 = sext i8 %48 to i32 %50 = icmp eq i32 %49, 0 br i1 %50, label %51, label %52 51: ; preds = %43 store i32 48, ptr %2, align 4 br label %52 52: ; preds = %51, %43, %23, %13, %12, %11 %53 = load i32, ptr %2, align 4 ret i32 %53 } declare i64 @isdigit(i8 noundef signext) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp187b4bah.c' source_filename = "/tmp/tmp187b4bah.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [20 x i8] c"Missing arguments\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [34 x i8] c"Unknown router %s, adding anyway\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @mode_update(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 %8 = load i32, ptr %6, align 4 %9 = icmp slt i32 %8, 3 br i1 %9, label %10, label %12 10: ; preds = %3 %11 = call i32 (i32, ptr, ...) @logprintf(i32 noundef 0, ptr noundef @.str) store i32 -1, ptr %4, align 4 br label %49 12: ; preds = %3 %13 = load ptr, ptr %7, align 8 %14 = getelementptr inbounds ptr, ptr %13, i64 2 %15 = load ptr, ptr %14, align 8 %16 = call i32 @router_valid(ptr noundef %15) %17 = icmp ne i32 %16, 0 br i1 %17, label %23, label %18 18: ; preds = %12 %19 = load ptr, ptr %7, align 8 %20 = getelementptr inbounds ptr, ptr %19, i64 2 %21 = load ptr, ptr %20, align 8 %22 = call i32 (i32, ptr, ...) @logprintf(i32 noundef 0, ptr noundef @.str.1, ptr noundef %21) br label %23 23: ; preds = %18, %12 %24 = load i32, ptr %6, align 4 %25 = icmp eq i32 %24, 3 br i1 %25, label %26, label %36 26: ; preds = %23 %27 = load ptr, ptr %5, align 8 %28 = load ptr, ptr %7, align 8 %29 = getelementptr inbounds ptr, ptr %28, i64 1 %30 = load ptr, ptr %29, align 8 %31 = call i32 @strtol(ptr noundef %30, ptr noundef null, i32 noundef 10) %32 = load ptr, ptr %7, align 8 %33 = getelementptr inbounds ptr, ptr %32, i64 2 %34 = load ptr, ptr %33, align 8 %35 = call i32 @sqlite_update_address(ptr noundef %27, i32 noundef %31, ptr noundef %34, ptr noundef null) store i32 %35, ptr %4, align 4 br label %49 36: ; preds = %23 %37 = load ptr, ptr %5, align 8 %38 = load ptr, ptr %7, align 8 %39 = getelementptr inbounds ptr, ptr %38, i64 1 %40 = load ptr, ptr %39, align 8 %41 = call i32 @strtol(ptr noundef %40, ptr noundef null, i32 noundef 10) %42 = load ptr, ptr %7, align 8 %43 = getelementptr inbounds ptr, ptr %42, i64 2 %44 = load ptr, ptr %43, align 8 %45 = load ptr, ptr %7, align 8 %46 = getelementptr inbounds ptr, ptr %45, i64 3 %47 = load ptr, ptr %46, align 8 %48 = call i32 @sqlite_update_address(ptr noundef %37, i32 noundef %41, ptr noundef %44, ptr noundef %47) store i32 %48, ptr %4, align 4 br label %49 49: ; preds = %36, %26, %10 %50 = load i32, ptr %4, align 4 ret i32 %50 } declare i32 @logprintf(i32 noundef, ptr noundef, ...) #1 declare i32 @router_valid(ptr noundef) #1 declare i32 @sqlite_update_address(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @strtol(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp187b4bah.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [20 x i8] c"Missing arguments\0A\0A\00", align 1 @.str.1 = private unnamed_addr constant [34 x i8] c"Unknown router %s, adding anyway\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @mode_update(ptr noundef %0, i32 noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 %8 = load i32, ptr %6, align 4 %9 = icmp slt i32 %8, 3 br i1 %9, label %10, label %12 10: ; preds = %3 %11 = call i32 (i32, ptr, ...) @logprintf(i32 noundef 0, ptr noundef @.str) store i32 -1, ptr %4, align 4 br label %49 12: ; preds = %3 %13 = load ptr, ptr %7, align 8 %14 = getelementptr inbounds ptr, ptr %13, i64 2 %15 = load ptr, ptr %14, align 8 %16 = call i32 @router_valid(ptr noundef %15) %17 = icmp ne i32 %16, 0 br i1 %17, label %23, label %18 18: ; preds = %12 %19 = load ptr, ptr %7, align 8 %20 = getelementptr inbounds ptr, ptr %19, i64 2 %21 = load ptr, ptr %20, align 8 %22 = call i32 (i32, ptr, ...) @logprintf(i32 noundef 0, ptr noundef @.str.1, ptr noundef %21) br label %23 23: ; preds = %18, %12 %24 = load i32, ptr %6, align 4 %25 = icmp eq i32 %24, 3 br i1 %25, label %26, label %36 26: ; preds = %23 %27 = load ptr, ptr %5, align 8 %28 = load ptr, ptr %7, align 8 %29 = getelementptr inbounds ptr, ptr %28, i64 1 %30 = load ptr, ptr %29, align 8 %31 = call i32 @strtol(ptr noundef %30, ptr noundef null, i32 noundef 10) %32 = load ptr, ptr %7, align 8 %33 = getelementptr inbounds ptr, ptr %32, i64 2 %34 = load ptr, ptr %33, align 8 %35 = call i32 @sqlite_update_address(ptr noundef %27, i32 noundef %31, ptr noundef %34, ptr noundef null) store i32 %35, ptr %4, align 4 br label %49 36: ; preds = %23 %37 = load ptr, ptr %5, align 8 %38 = load ptr, ptr %7, align 8 %39 = getelementptr inbounds ptr, ptr %38, i64 1 %40 = load ptr, ptr %39, align 8 %41 = call i32 @strtol(ptr noundef %40, ptr noundef null, i32 noundef 10) %42 = load ptr, ptr %7, align 8 %43 = getelementptr inbounds ptr, ptr %42, i64 2 %44 = load ptr, ptr %43, align 8 %45 = load ptr, ptr %7, align 8 %46 = getelementptr inbounds ptr, ptr %45, i64 3 %47 = load ptr, ptr %46, align 8 %48 = call i32 @sqlite_update_address(ptr noundef %37, i32 noundef %41, ptr noundef %44, ptr noundef %47) store i32 %48, ptr %4, align 4 br label %49 49: ; preds = %36, %26, %10 %50 = load i32, ptr %4, align 4 ret i32 %50 } declare i32 @logprintf(i32 noundef, ptr noundef, ...) #1 declare i32 @router_valid(ptr noundef) #1 declare i32 @sqlite_update_address(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @strtol(ptr noundef, ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpc269u8_4.c' source_filename = "/tmp/tmpc269u8_4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [32 x i8] c"digite a quantidade de valores:\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [34 x i8] c"digite um numero entre 0 e 1000: \00", align 1 @.str.3 = private unnamed_addr constant [26 x i8] c"numero fora do intervalo\0A\00", align 1 @.str.4 = private unnamed_addr constant [66 x i8] c"a soma dos valores: %d \0Ao maior numero: %d \0Ae o menor numero: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %7, align 4 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str) %13 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %8) store i32 1, ptr %6, align 4 br label %14 14: ; preds = %52, %2 %15 = load i32, ptr %6, align 4 %16 = load i32, ptr %8, align 4 %17 = icmp sle i32 %15, %16 br i1 %17, label %18, label %55 18: ; preds = %14 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %20 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %9) %21 = load i32, ptr %9, align 4 %22 = icmp sge i32 %21, 0 br i1 %22, label %23, label %49 23: ; preds = %18 %24 = load i32, ptr %9, align 4 %25 = icmp slt i32 %24, 1000 br i1 %25, label %26, label %49 26: ; preds = %23 %27 = load i32, ptr %6, align 4 %28 = icmp eq i32 %27, 1 br i1 %28, label %29, label %32 29: ; preds = %26 %30 = load i32, ptr %9, align 4 store i32 %30, ptr %10, align 4 %31 = load i32, ptr %9, align 4 store i32 %31, ptr %11, align 4 br label %32 32: ; preds = %29, %26 %33 = load i32, ptr %9, align 4 %34 = load i32, ptr %10, align 4 %35 = icmp sge i32 %33, %34 br i1 %35, label %36, label %38 36: ; preds = %32 %37 = load i32, ptr %9, align 4 store i32 %37, ptr %10, align 4 br label %45 38: ; preds = %32 %39 = load i32, ptr %9, align 4 %40 = load i32, ptr %11, align 4 %41 = icmp slt i32 %39, %40 br i1 %41, label %42, label %44 42: ; preds = %38 %43 = load i32, ptr %9, align 4 store i32 %43, ptr %11, align 4 br label %44 44: ; preds = %42, %38 br label %45 45: ; preds = %44, %36 %46 = load i32, ptr %7, align 4 %47 = load i32, ptr %9, align 4 %48 = add nsw i32 %46, %47 store i32 %48, ptr %7, align 4 br label %51 49: ; preds = %23, %18 %50 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) store i32 0, ptr %10, align 4 store i32 0, ptr %11, align 4 br label %55 51: ; preds = %45 br label %52 52: ; preds = %51 %53 = load i32, ptr %6, align 4 %54 = add nsw i32 %53, 1 store i32 %54, ptr %6, align 4 br label %14, !llvm.loop !6 55: ; preds = %49, %14 %56 = load i32, ptr %7, align 4 %57 = load i32, ptr %10, align 4 %58 = load i32, ptr %11, align 4 %59 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %56, i32 noundef %57, i32 noundef %58) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpc269u8_4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [32 x i8] c"digite a quantidade de valores:\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [34 x i8] c"digite um numero entre 0 e 1000: \00", align 1 @.str.3 = private unnamed_addr constant [26 x i8] c"numero fora do intervalo\0A\00", align 1 @.str.4 = private unnamed_addr constant [66 x i8] c"a soma dos valores: %d \0Ao maior numero: %d \0Ae o menor numero: %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %7, align 4 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str) %13 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %8) store i32 1, ptr %6, align 4 %14 = load i32, ptr %6, align 4 %15 = load i32, ptr %8, align 4 %16 = icmp sle i32 %14, %15 br i1 %16, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %2 br label %17 17: ; preds = %.lr.ph, %51 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %19 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %9) %20 = load i32, ptr %9, align 4 %21 = icmp sge i32 %20, 0 br i1 %21, label %22, label %48 22: ; preds = %17 %23 = load i32, ptr %9, align 4 %24 = icmp slt i32 %23, 1000 br i1 %24, label %25, label %48 25: ; preds = %22 %26 = load i32, ptr %6, align 4 %27 = icmp eq i32 %26, 1 br i1 %27, label %28, label %31 28: ; preds = %25 %29 = load i32, ptr %9, align 4 store i32 %29, ptr %10, align 4 %30 = load i32, ptr %9, align 4 store i32 %30, ptr %11, align 4 br label %31 31: ; preds = %28, %25 %32 = load i32, ptr %9, align 4 %33 = load i32, ptr %10, align 4 %34 = icmp sge i32 %32, %33 br i1 %34, label %35, label %37 35: ; preds = %31 %36 = load i32, ptr %9, align 4 store i32 %36, ptr %10, align 4 br label %44 37: ; preds = %31 %38 = load i32, ptr %9, align 4 %39 = load i32, ptr %11, align 4 %40 = icmp slt i32 %38, %39 br i1 %40, label %41, label %43 41: ; preds = %37 %42 = load i32, ptr %9, align 4 store i32 %42, ptr %11, align 4 br label %43 43: ; preds = %41, %37 br label %44 44: ; preds = %43, %35 %45 = load i32, ptr %7, align 4 %46 = load i32, ptr %9, align 4 %47 = add nsw i32 %45, %46 store i32 %47, ptr %7, align 4 br label %50 48: ; preds = %22, %17 %49 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) store i32 0, ptr %10, align 4 store i32 0, ptr %11, align 4 br label %57 50: ; preds = %44 br label %51 51: ; preds = %50 %52 = load i32, ptr %6, align 4 %53 = add nsw i32 %52, 1 store i32 %53, ptr %6, align 4 %54 = load i32, ptr %6, align 4 %55 = load i32, ptr %8, align 4 %56 = icmp sle i32 %54, %55 br i1 %56, label %17, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %51 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %2 br label %57 57: ; preds = %.loopexit, %48 %58 = load i32, ptr %7, align 4 %59 = load i32, ptr %10, align 4 %60 = load i32, ptr %11, align 4 %61 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %58, i32 noundef %59, i32 noundef %60) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpgslapwz_.c' source_filename = "/tmp/tmpgslapwz_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpgslapwz_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpq052d0al.c' source_filename = "/tmp/tmpq052d0al.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpq052d0al.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmparg9juv3.c' source_filename = "/tmp/tmparg9juv3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"string_1 = [%p]\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"foo\00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c"string_2 = [%p]\0A\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"bar\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %6 = call ptr @malloc(i32 noundef 100) store ptr %6, ptr %2, align 8 store ptr %6, ptr %3, align 8 %7 = call ptr @malloc(i32 noundef 100) store ptr %7, ptr %4, align 8 store ptr %7, ptr %5, align 8 %8 = load ptr, ptr %2, align 8 %9 = call i32 @printf(ptr noundef @.str, ptr noundef %8) %10 = load ptr, ptr %2, align 8 %11 = call ptr @strcpy(ptr noundef %10, ptr noundef @.str.1) store ptr %11, ptr %2, align 8 %12 = load ptr, ptr %2, align 8 %13 = call i32 @printf(ptr noundef @.str, ptr noundef %12) %14 = load ptr, ptr %4, align 8 %15 = call i32 @printf(ptr noundef @.str.2, ptr noundef %14) %16 = load ptr, ptr %4, align 8 %17 = call ptr @stpcpy(ptr noundef %16, ptr noundef @.str.3) store ptr %17, ptr %4, align 8 %18 = load ptr, ptr %4, align 8 %19 = call i32 @printf(ptr noundef @.str.2, ptr noundef %18) %20 = load ptr, ptr %3, align 8 %21 = call i32 @free(ptr noundef %20) %22 = load ptr, ptr %5, align 8 %23 = call i32 @free(ptr noundef %22) ret i32 0 } declare ptr @malloc(i32 noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare ptr @strcpy(ptr noundef, ptr noundef) #1 declare ptr @stpcpy(ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmparg9juv3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"string_1 = [%p]\0A\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"foo\00", align 1 @.str.2 = private unnamed_addr constant [17 x i8] c"string_2 = [%p]\0A\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"bar\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %6 = call ptr @malloc(i32 noundef 100) store ptr %6, ptr %2, align 8 store ptr %6, ptr %3, align 8 %7 = call ptr @malloc(i32 noundef 100) store ptr %7, ptr %4, align 8 store ptr %7, ptr %5, align 8 %8 = load ptr, ptr %2, align 8 %9 = call i32 @printf(ptr noundef @.str, ptr noundef %8) %10 = load ptr, ptr %2, align 8 %11 = call ptr @strcpy(ptr noundef %10, ptr noundef @.str.1) store ptr %11, ptr %2, align 8 %12 = load ptr, ptr %2, align 8 %13 = call i32 @printf(ptr noundef @.str, ptr noundef %12) %14 = load ptr, ptr %4, align 8 %15 = call i32 @printf(ptr noundef @.str.2, ptr noundef %14) %16 = load ptr, ptr %4, align 8 %17 = call ptr @stpcpy(ptr noundef %16, ptr noundef @.str.3) store ptr %17, ptr %4, align 8 %18 = load ptr, ptr %4, align 8 %19 = call i32 @printf(ptr noundef @.str.2, ptr noundef %18) %20 = load ptr, ptr %3, align 8 %21 = call i32 @free(ptr noundef %20) %22 = load ptr, ptr %5, align 8 %23 = call i32 @free(ptr noundef %22) ret i32 0 } declare ptr @malloc(i32 noundef) #1 declare i32 @printf(ptr noundef, ptr noundef) #1 declare ptr @strcpy(ptr noundef, ptr noundef) #1 declare ptr @stpcpy(ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmphfadrobk.c' source_filename = "/tmp/tmphfadrobk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphfadrobk.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @stderr = dso_local global i32 0, align 4 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpb5gw007n.c' source_filename = "/tmp/tmpb5gw007n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @sesetfldcolr(double noundef %0, double noundef %1, double noundef %2, double noundef %3, i8 noundef signext %4, ptr noundef %5) #0 { %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca i8, align 1 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca float, align 4 store double %0, ptr %7, align 8 store double %1, ptr %8, align 8 store double %2, ptr %9, align 8 store double %3, ptr %10, align 8 store i8 %4, ptr %11, align 1 store ptr %5, ptr %12, align 8 %15 = load double, ptr %10, align 8 %16 = fcmp olt double %15, 0x3BC79CA10C924223 br i1 %16, label %17, label %19 17: ; preds = %6 %18 = load ptr, ptr %12, align 8 store i32 1400, ptr %18, align 4 br label %67 19: ; preds = %6 %20 = load double, ptr %10, align 8 %21 = fdiv double 2.530000e+02, %20 %22 = fptrunc double %21 to float store float %22, ptr %14, align 4 store i32 0, ptr %13, align 4 %23 = load i8, ptr %11, align 1 %24 = icmp ne i8 %23, 0 br i1 %24, label %25, label %39 25: ; preds = %19 %26 = load double, ptr %7, align 8 %27 = load double, ptr %8, align 8 %28 = fcmp oge double %26, %27 br i1 %28, label %29, label %38 29: ; preds = %25 %30 = load double, ptr %7, align 8 %31 = call float @log10(double noundef %30) %32 = load double, ptr %8, align 8 %33 = call float @log10(double noundef %32) %34 = fsub float %31, %33 %35 = load float, ptr %14, align 4 %36 = fmul float %34, %35 %37 = fptosi float %36 to i32 store i32 %37, ptr %13, align 4 br label %38 38: ; preds = %29, %25 br label %47 39: ; preds = %19 %40 = load double, ptr %7, align 8 %41 = load double, ptr %8, align 8 %42 = fsub double %40, %41 %43 = load float, ptr %14, align 4 %44 = fpext float %43 to double %45 = fmul double %42, %44 %46 = fptosi double %45 to i32 store i32 %46, ptr %13, align 4 br label %47 47: ; preds = %39, %38 %48 = load i32, ptr %13, align 4 %49 = add nsw i32 %48, 400 store i32 %49, ptr %13, align 4 %50 = load i32, ptr %13, align 4 %51 = icmp slt i32 %50, 300 br i1 %51, label %52, label %53 52: ; preds = %47 store i32 300, ptr %13, align 4 br label %53 53: ; preds = %52, %47 %54 = load double, ptr %7, align 8 %55 = load double, ptr %8, align 8 %56 = fcmp olt double %54, %55 br i1 %56, label %57, label %58 57: ; preds = %53 store i32 300, ptr %13, align 4 br label %58 58: ; preds = %57, %53 %59 = load double, ptr %7, align 8 %60 = load double, ptr %9, align 8 %61 = fcmp ogt double %59, %60 br i1 %61, label %62, label %63 62: ; preds = %58 store i32 655, ptr %13, align 4 br label %63 63: ; preds = %62, %58 %64 = load i32, ptr %13, align 4 %65 = add nsw i32 %64, 1000 %66 = load ptr, ptr %12, align 8 store i32 %65, ptr %66, align 4 br label %67 67: ; preds = %63, %17 ret void } declare float @log10(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpb5gw007n.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @sesetfldcolr(double noundef %0, double noundef %1, double noundef %2, double noundef %3, i8 noundef signext %4, ptr noundef %5) #0 { %7 = alloca double, align 8 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca i8, align 1 %12 = alloca ptr, align 8 %13 = alloca i32, align 4 %14 = alloca float, align 4 store double %0, ptr %7, align 8 store double %1, ptr %8, align 8 store double %2, ptr %9, align 8 store double %3, ptr %10, align 8 store i8 %4, ptr %11, align 1 store ptr %5, ptr %12, align 8 %15 = load double, ptr %10, align 8 %16 = fcmp olt double %15, 0x3BC79CA10C924223 br i1 %16, label %17, label %19 17: ; preds = %6 %18 = load ptr, ptr %12, align 8 store i32 1400, ptr %18, align 4 br label %67 19: ; preds = %6 %20 = load double, ptr %10, align 8 %21 = fdiv double 2.530000e+02, %20 %22 = fptrunc double %21 to float store float %22, ptr %14, align 4 store i32 0, ptr %13, align 4 %23 = load i8, ptr %11, align 1 %24 = icmp ne i8 %23, 0 br i1 %24, label %25, label %39 25: ; preds = %19 %26 = load double, ptr %7, align 8 %27 = load double, ptr %8, align 8 %28 = fcmp oge double %26, %27 br i1 %28, label %29, label %38 29: ; preds = %25 %30 = load double, ptr %7, align 8 %31 = call float @log10(double noundef %30) %32 = load double, ptr %8, align 8 %33 = call float @log10(double noundef %32) %34 = fsub float %31, %33 %35 = load float, ptr %14, align 4 %36 = fmul float %34, %35 %37 = fptosi float %36 to i32 store i32 %37, ptr %13, align 4 br label %38 38: ; preds = %29, %25 br label %47 39: ; preds = %19 %40 = load double, ptr %7, align 8 %41 = load double, ptr %8, align 8 %42 = fsub double %40, %41 %43 = load float, ptr %14, align 4 %44 = fpext float %43 to double %45 = fmul double %42, %44 %46 = fptosi double %45 to i32 store i32 %46, ptr %13, align 4 br label %47 47: ; preds = %39, %38 %48 = load i32, ptr %13, align 4 %49 = add nsw i32 %48, 400 store i32 %49, ptr %13, align 4 %50 = load i32, ptr %13, align 4 %51 = icmp slt i32 %50, 300 br i1 %51, label %52, label %53 52: ; preds = %47 store i32 300, ptr %13, align 4 br label %53 53: ; preds = %52, %47 %54 = load double, ptr %7, align 8 %55 = load double, ptr %8, align 8 %56 = fcmp olt double %54, %55 br i1 %56, label %57, label %58 57: ; preds = %53 store i32 300, ptr %13, align 4 br label %58 58: ; preds = %57, %53 %59 = load double, ptr %7, align 8 %60 = load double, ptr %9, align 8 %61 = fcmp ogt double %59, %60 br i1 %61, label %62, label %63 62: ; preds = %58 store i32 655, ptr %13, align 4 br label %63 63: ; preds = %62, %58 %64 = load i32, ptr %13, align 4 %65 = add nsw i32 %64, 1000 %66 = load ptr, ptr %12, align 8 store i32 %65, ptr %66, align 4 br label %67 67: ; preds = %63, %17 ret void } declare float @log10(double noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpcqyzc372.c' source_filename = "/tmp/tmpcqyzc372.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @strlen(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i64, align 8 store ptr %0, ptr %2, align 8 store i64 0, ptr %3, align 8 br label %4 4: ; preds = %10, %1 %5 = load ptr, ptr %2, align 8 %6 = load i64, ptr %3, align 8 %7 = getelementptr inbounds i8, ptr %5, i64 %6 %8 = load i8, ptr %7, align 1 %9 = icmp ne i8 %8, 0 br i1 %9, label %10, label %13 10: ; preds = %4 %11 = load i64, ptr %3, align 8 %12 = add i64 %11, 1 store i64 %12, ptr %3, align 8 br label %4, !llvm.loop !6 13: ; preds = %4 %14 = load i64, ptr %3, align 8 ret i64 %14 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcqyzc372.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i64 @strlen(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i64, align 8 store ptr %0, ptr %2, align 8 store i64 0, ptr %3, align 8 %4 = load ptr, ptr %2, align 8 %5 = load i64, ptr %3, align 8 %6 = getelementptr inbounds i8, ptr %4, i64 %5 %7 = load i8, ptr %6, align 1 %8 = icmp ne i8 %7, 0 br i1 %8, label %.lr.ph, label %17 .lr.ph: ; preds = %1 br label %9 9: ; preds = %.lr.ph, %9 %10 = load i64, ptr %3, align 8 %11 = add i64 %10, 1 store i64 %11, ptr %3, align 8 %12 = load ptr, ptr %2, align 8 %13 = load i64, ptr %3, align 8 %14 = getelementptr inbounds i8, ptr %12, i64 %13 %15 = load i8, ptr %14, align 1 %16 = icmp ne i8 %15, 0 br i1 %16, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %9 br label %17 17: ; preds = %._crit_edge, %1 %18 = load i64, ptr %3, align 8 ret i64 %18 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp_5qbuvv1.c' source_filename = "/tmp/tmp_5qbuvv1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_5qbuvv1.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp37gpwvm5.c' source_filename = "/tmp/tmp37gpwvm5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"%c%d\00", align 1 @.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @get_white_balance_single_adjust_str(i32 noundef %0, i8 noundef signext %1, i8 noundef signext %2) #0 { %4 = alloca i32, align 4 %5 = alloca i8, align 1 %6 = alloca i8, align 1 %7 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store i8 %1, ptr %5, align 1 store i8 %2, ptr %6, align 1 %8 = call ptr @malloc(i32 noundef 4) store ptr %8, ptr %7, align 8 %9 = load i32, ptr %4, align 4 %10 = icmp slt i32 %9, 7 br i1 %10, label %11, label %17 11: ; preds = %3 %12 = load ptr, ptr %7, align 8 %13 = load i8, ptr %5, align 1 %14 = load i32, ptr %4, align 4 %15 = sub nsw i32 7, %14 %16 = call i32 @snprintf(ptr noundef %12, i32 noundef 4, ptr noundef @.str, i8 noundef signext %13, i32 noundef %15) br label %28 17: ; preds = %3 %18 = load i32, ptr %4, align 4 %19 = icmp sgt i32 %18, 7 br i1 %19, label %20, label %26 20: ; preds = %17 %21 = load ptr, ptr %7, align 8 %22 = load i8, ptr %6, align 1 %23 = load i32, ptr %4, align 4 %24 = sub nsw i32 %23, 7 %25 = call i32 @snprintf(ptr noundef %21, i32 noundef 4, ptr noundef @.str, i8 noundef signext %22, i32 noundef %24) br label %27 26: ; preds = %17 store ptr @.str.1, ptr %7, align 8 br label %27 27: ; preds = %26, %20 br label %28 28: ; preds = %27, %11 %29 = load ptr, ptr %7, align 8 ret ptr %29 } declare ptr @malloc(i32 noundef) #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i8 noundef signext, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp37gpwvm5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"%c%d\00", align 1 @.str.1 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @get_white_balance_single_adjust_str(i32 noundef %0, i8 noundef signext %1, i8 noundef signext %2) #0 { %4 = alloca i32, align 4 %5 = alloca i8, align 1 %6 = alloca i8, align 1 %7 = alloca ptr, align 8 store i32 %0, ptr %4, align 4 store i8 %1, ptr %5, align 1 store i8 %2, ptr %6, align 1 %8 = call ptr @malloc(i32 noundef 4) store ptr %8, ptr %7, align 8 %9 = load i32, ptr %4, align 4 %10 = icmp slt i32 %9, 7 br i1 %10, label %11, label %17 11: ; preds = %3 %12 = load ptr, ptr %7, align 8 %13 = load i8, ptr %5, align 1 %14 = load i32, ptr %4, align 4 %15 = sub nsw i32 7, %14 %16 = call i32 @snprintf(ptr noundef %12, i32 noundef 4, ptr noundef @.str, i8 noundef signext %13, i32 noundef %15) br label %28 17: ; preds = %3 %18 = load i32, ptr %4, align 4 %19 = icmp sgt i32 %18, 7 br i1 %19, label %20, label %26 20: ; preds = %17 %21 = load ptr, ptr %7, align 8 %22 = load i8, ptr %6, align 1 %23 = load i32, ptr %4, align 4 %24 = sub nsw i32 %23, 7 %25 = call i32 @snprintf(ptr noundef %21, i32 noundef 4, ptr noundef @.str, i8 noundef signext %22, i32 noundef %24) br label %27 26: ; preds = %17 store ptr @.str.1, ptr %7, align 8 br label %27 27: ; preds = %26, %20 br label %28 28: ; preds = %27, %11 %29 = load ptr, ptr %7, align 8 ret ptr %29 } declare ptr @malloc(i32 noundef) #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i8 noundef signext, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp03432cr9.c' source_filename = "/tmp/tmp03432cr9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @c_u16(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = icmp eq i32 %3, 65534 %5 = zext i1 %4 to i32 %6 = call i32 @assert_or_panic(i32 noundef %5) ret void } declare i32 @assert_or_panic(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp03432cr9.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @c_u16(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = icmp eq i32 %3, 65534 %5 = zext i1 %4 to i32 %6 = call i32 @assert_or_panic(i32 noundef %5) ret void } declare i32 @assert_or_panic(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpa8z8kd5l.c' source_filename = "/tmp/tmpa8z8kd5l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @fn2(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [7 x i32], align 16 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %8 = load i32, ptr %5, align 4 %9 = sext i32 %8 to i64 %10 = inttoptr i64 %9 to ptr %11 = load ptr, ptr %2, align 8 %12 = icmp ne ptr %10, %11 br i1 %12, label %13, label %15 13: ; preds = %1 %14 = call i32 @fn1(i32 noundef 1) br label %15 15: ; preds = %13, %1 store i32 0, ptr %6, align 4 br label %16 16: ; preds = %30, %15 %17 = load i32, ptr %5, align 4 %18 = icmp ne i32 %17, 0 br i1 %18, label %19, label %33 19: ; preds = %16 %20 = load i32, ptr %6, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds [7 x i32], ptr %3, i64 0, i64 %21 %23 = load i32, ptr %22, align 4 %24 = load i32, ptr %7, align 4 %25 = icmp ne i32 %23, %24 br i1 %25, label %26, label %29 26: ; preds = %19 %27 = load i32, ptr %6, align 4 %28 = call i32 @fn1(i32 noundef %27) br label %29 29: ; preds = %26, %19 br label %30 30: ; preds = %29 %31 = load i32, ptr %6, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %6, align 4 br label %16, !llvm.loop !6 33: ; preds = %16 %34 = load ptr, ptr %2, align 8 store ptr %34, ptr %4, align 8 br label %35 35: ; preds = %33, %41 %36 = load ptr, ptr %4, align 8 store float 0x47EFFFFFE0000000, ptr %36, align 4 %37 = getelementptr inbounds [7 x i32], ptr %3, i64 0, i64 0 %38 = load i32, ptr %37, align 16 %39 = icmp ne i32 %38, 0 br i1 %39, label %40, label %41 40: ; preds = %35 ret void 41: ; preds = %35 br label %35 } declare i32 @fn1(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpa8z8kd5l.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @fn2(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca [7 x i32], align 16 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %8 = load i32, ptr %5, align 4 %9 = sext i32 %8 to i64 %10 = inttoptr i64 %9 to ptr %11 = load ptr, ptr %2, align 8 %12 = icmp ne ptr %10, %11 br i1 %12, label %13, label %15 13: ; preds = %1 %14 = call i32 @fn1(i32 noundef 1) br label %15 15: ; preds = %13, %1 store i32 0, ptr %6, align 4 %16 = load i32, ptr %5, align 4 %17 = icmp ne i32 %16, 0 br i1 %17, label %.lr.ph, label %34 .lr.ph: ; preds = %15 br label %18 18: ; preds = %.lr.ph, %29 %19 = load i32, ptr %6, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds [7 x i32], ptr %3, i64 0, i64 %20 %22 = load i32, ptr %21, align 4 %23 = load i32, ptr %7, align 4 %24 = icmp ne i32 %22, %23 br i1 %24, label %25, label %28 25: ; preds = %18 %26 = load i32, ptr %6, align 4 %27 = call i32 @fn1(i32 noundef %26) br label %28 28: ; preds = %25, %18 br label %29 29: ; preds = %28 %30 = load i32, ptr %6, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %6, align 4 %32 = load i32, ptr %5, align 4 %33 = icmp ne i32 %32, 0 br i1 %33, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %29 br label %34 34: ; preds = %._crit_edge, %15 %35 = load ptr, ptr %2, align 8 store ptr %35, ptr %4, align 8 br label %36 36: ; preds = %36, %34 %37 = load ptr, ptr %4, align 8 store float 0x47EFFFFFE0000000, ptr %37, align 4 %38 = getelementptr inbounds [7 x i32], ptr %3, i64 0, i64 0 %39 = load i32, ptr %38, align 16 %40 = icmp ne i32 %39, 0 br i1 %40, label %41, label %36 41: ; preds = %36 ret void } declare i32 @fn1(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpp5wci70e.c' source_filename = "/tmp/tmpp5wci70e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"%s/keys/dh_params\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [31 x i8] c"Loaded DH parameters look bad!\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @load_dh(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %10 = load ptr, ptr %4, align 8 %11 = call ptr @printf_dup(ptr noundef @.str, ptr noundef %10) store ptr %11, ptr %6, align 8 %12 = load ptr, ptr %6, align 8 %13 = call ptr @BIO_new_file(ptr noundef %12, ptr noundef @.str.1) store ptr %13, ptr %7, align 8 %14 = load ptr, ptr %7, align 8 %15 = icmp ne ptr %14, null br i1 %15, label %17, label %16 16: ; preds = %2 br label %42 17: ; preds = %2 %18 = load ptr, ptr %7, align 8 %19 = call ptr @PEM_read_bio_DHparams(ptr noundef %18, ptr noundef null, ptr noundef null, ptr noundef null) store ptr %19, ptr %8, align 8 %20 = load ptr, ptr %8, align 8 %21 = icmp ne ptr %20, null br i1 %21, label %23, label %22 22: ; preds = %17 br label %42 23: ; preds = %17 %24 = load ptr, ptr %8, align 8 %25 = call i64 @DH_check(ptr noundef %24, ptr noundef %9) %26 = icmp eq i64 %25, 0 br i1 %26, label %30, label %27 27: ; preds = %23 %28 = load i32, ptr %9, align 4 %29 = icmp ne i32 %28, 0 br i1 %29, label %30, label %32 30: ; preds = %27, %23 %31 = call i32 @log_error(ptr noundef @.str.2) br label %42 32: ; preds = %27 %33 = load ptr, ptr %5, align 8 %34 = load ptr, ptr %8, align 8 %35 = call i32 @SSL_CTX_set_tmp_dh(ptr noundef %33, ptr noundef %34) %36 = load ptr, ptr %8, align 8 %37 = call i32 @DH_free(ptr noundef %36) %38 = load ptr, ptr %7, align 8 %39 = call i32 @BIO_free(ptr noundef %38) %40 = load ptr, ptr %6, align 8 %41 = call i32 @free(ptr noundef %40) store i32 0, ptr %3, align 4 br label %55 42: ; preds = %30, %22, %16 %43 = load ptr, ptr %7, align 8 %44 = icmp ne ptr %43, null br i1 %44, label %45, label %48 45: ; preds = %42 %46 = load ptr, ptr %7, align 8 %47 = call i32 @BIO_free(ptr noundef %46) br label %48 48: ; preds = %45, %42 %49 = load ptr, ptr %6, align 8 %50 = icmp ne ptr %49, null br i1 %50, label %51, label %54 51: ; preds = %48 %52 = load ptr, ptr %6, align 8 %53 = call i32 @free(ptr noundef %52) br label %54 54: ; preds = %51, %48 store i32 -1, ptr %3, align 4 br label %55 55: ; preds = %54, %32 %56 = load i32, ptr %3, align 4 ret i32 %56 } declare ptr @printf_dup(ptr noundef, ptr noundef) #1 declare ptr @BIO_new_file(ptr noundef, ptr noundef) #1 declare ptr @PEM_read_bio_DHparams(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @DH_check(ptr noundef, ptr noundef) #1 declare i32 @log_error(ptr noundef) #1 declare i32 @SSL_CTX_set_tmp_dh(ptr noundef, ptr noundef) #1 declare i32 @DH_free(ptr noundef) #1 declare i32 @BIO_free(ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpp5wci70e.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"%s/keys/dh_params\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @.str.2 = private unnamed_addr constant [31 x i8] c"Loaded DH parameters look bad!\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @load_dh(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %10 = load ptr, ptr %4, align 8 %11 = call ptr @printf_dup(ptr noundef @.str, ptr noundef %10) store ptr %11, ptr %6, align 8 %12 = load ptr, ptr %6, align 8 %13 = call ptr @BIO_new_file(ptr noundef %12, ptr noundef @.str.1) store ptr %13, ptr %7, align 8 %14 = load ptr, ptr %7, align 8 %15 = icmp ne ptr %14, null br i1 %15, label %17, label %16 16: ; preds = %2 br label %42 17: ; preds = %2 %18 = load ptr, ptr %7, align 8 %19 = call ptr @PEM_read_bio_DHparams(ptr noundef %18, ptr noundef null, ptr noundef null, ptr noundef null) store ptr %19, ptr %8, align 8 %20 = load ptr, ptr %8, align 8 %21 = icmp ne ptr %20, null br i1 %21, label %23, label %22 22: ; preds = %17 br label %42 23: ; preds = %17 %24 = load ptr, ptr %8, align 8 %25 = call i64 @DH_check(ptr noundef %24, ptr noundef %9) %26 = icmp eq i64 %25, 0 br i1 %26, label %30, label %27 27: ; preds = %23 %28 = load i32, ptr %9, align 4 %29 = icmp ne i32 %28, 0 br i1 %29, label %30, label %32 30: ; preds = %27, %23 %31 = call i32 @log_error(ptr noundef @.str.2) br label %42 32: ; preds = %27 %33 = load ptr, ptr %5, align 8 %34 = load ptr, ptr %8, align 8 %35 = call i32 @SSL_CTX_set_tmp_dh(ptr noundef %33, ptr noundef %34) %36 = load ptr, ptr %8, align 8 %37 = call i32 @DH_free(ptr noundef %36) %38 = load ptr, ptr %7, align 8 %39 = call i32 @BIO_free(ptr noundef %38) %40 = load ptr, ptr %6, align 8 %41 = call i32 @free(ptr noundef %40) store i32 0, ptr %3, align 4 br label %55 42: ; preds = %30, %22, %16 %43 = load ptr, ptr %7, align 8 %44 = icmp ne ptr %43, null br i1 %44, label %45, label %48 45: ; preds = %42 %46 = load ptr, ptr %7, align 8 %47 = call i32 @BIO_free(ptr noundef %46) br label %48 48: ; preds = %45, %42 %49 = load ptr, ptr %6, align 8 %50 = icmp ne ptr %49, null br i1 %50, label %51, label %54 51: ; preds = %48 %52 = load ptr, ptr %6, align 8 %53 = call i32 @free(ptr noundef %52) br label %54 54: ; preds = %51, %48 store i32 -1, ptr %3, align 4 br label %55 55: ; preds = %54, %32 %56 = load i32, ptr %3, align 4 ret i32 %56 } declare ptr @printf_dup(ptr noundef, ptr noundef) #1 declare ptr @BIO_new_file(ptr noundef, ptr noundef) #1 declare ptr @PEM_read_bio_DHparams(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i64 @DH_check(ptr noundef, ptr noundef) #1 declare i32 @log_error(ptr noundef) #1 declare i32 @SSL_CTX_set_tmp_dh(ptr noundef, ptr noundef) #1 declare i32 @DH_free(ptr noundef) #1 declare i32 @BIO_free(ptr noundef) #1 declare i32 @free(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpwqou17or.c' source_filename = "/tmp/tmpwqou17or.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @yuiMkdir(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @mkdir(ptr noundef %4, i32 noundef 493) ret void } declare i32 @mkdir(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwqou17or.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @yuiMkdir(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = load ptr, ptr %2, align 8 %5 = call i32 @mkdir(ptr noundef %4, i32 noundef 493) ret void } declare i32 @mkdir(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpd1k1xo8_.c' source_filename = "/tmp/tmpd1k1xo8_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [22 x i8] c"Thread arg:%s id:%lu\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @func(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 (...) @pthread_self() %5 = call i32 @printf(ptr noundef @.str, ptr noundef %3, i32 noundef %4) %6 = call i32 @sleep(i32 noundef 2) ret ptr inttoptr (i64 42 to ptr) } declare i32 @printf(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @pthread_self(...) #1 declare i32 @sleep(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpd1k1xo8_.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [22 x i8] c"Thread arg:%s id:%lu\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @func(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i32 (...) @pthread_self() %5 = call i32 @printf(ptr noundef @.str, ptr noundef %3, i32 noundef %4) %6 = call i32 @sleep(i32 noundef 2) ret ptr inttoptr (i64 42 to ptr) } declare i32 @printf(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @pthread_self(...) #1 declare i32 @sleep(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}