llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmpjrjzqpe4.c' source_filename = "/tmp/tmpjrjzqpe4.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 @solcon_compute_total_degree_solution(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca [2 x i32], align 4 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %11 = load i32, ptr %5, align 4 %12 = getelementptr inbounds [2 x i32], ptr %10, i64 0, i64 0 store i32 %11, ptr %12, align 4 %13 = load i32, ptr %6, align 4 %14 = getelementptr inbounds [2 x i32], ptr %10, i64 0, i64 1 store i32 %13, ptr %14, align 4 %15 = getelementptr inbounds [2 x i32], ptr %10, i64 0, i64 0 %16 = load ptr, ptr %7, align 8 %17 = load ptr, ptr %8, align 8 %18 = call i32 @_ada_use_c2phc4c(i32 noundef 142, ptr noundef %15, ptr noundef %16, ptr noundef %17, i32 noundef 0) store i32 %18, ptr %9, align 4 %19 = load i32, ptr %9, align 4 ret i32 %19 } declare i32 @_ada_use_c2phc4c(i32 noundef, ptr noundef, 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/tmpjrjzqpe4.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 @solcon_compute_total_degree_solution(i32 noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca [2 x i32], align 4 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 %11 = load i32, ptr %5, align 4 %12 = getelementptr inbounds [2 x i32], ptr %10, i64 0, i64 0 store i32 %11, ptr %12, align 4 %13 = load i32, ptr %6, align 4 %14 = getelementptr inbounds [2 x i32], ptr %10, i64 0, i64 1 store i32 %13, ptr %14, align 4 %15 = getelementptr inbounds [2 x i32], ptr %10, i64 0, i64 0 %16 = load ptr, ptr %7, align 8 %17 = load ptr, ptr %8, align 8 %18 = call i32 @_ada_use_c2phc4c(i32 noundef 142, ptr noundef %15, ptr noundef %16, ptr noundef %17, i32 noundef 0) store i32 %18, ptr %9, align 4 %19 = load i32, ptr %9, align 4 ret i32 %19 } declare i32 @_ada_use_c2phc4c(i32 noundef, ptr noundef, 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/tmpkvkd1ngt.c' source_filename = "/tmp/tmpkvkd1ngt.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 @foo(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 ne i32 %3, 0 br i1 %4, label %5, label %8 5: ; preds = %1 %6 = load i32, ptr %2, align 4 %7 = call i32 @__builtin_arc_kflag(i32 noundef %6) br label %8 8: ; preds = %5, %1 ret void } declare i32 @__builtin_arc_kflag(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/tmpkvkd1ngt.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 @foo(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 ne i32 %3, 0 br i1 %4, label %5, label %8 5: ; preds = %1 %6 = load i32, ptr %2, align 4 %7 = call i32 @__builtin_arc_kflag(i32 noundef %6) br label %8 8: ; preds = %5, %1 ret void } declare i32 @__builtin_arc_kflag(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/tmpfbpl6l61.c' source_filename = "/tmp/tmpfbpl6l61.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"in\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"out\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"low\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"high\00", align 1 @EINVAL = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [33 x i8] c"/sys/class/gpio/gpio%d/direction\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"w\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @gpio_set_direction(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca [1024 x i8], align 16 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 store i32 -1, ptr %7, align 4 %8 = load ptr, ptr %4, align 8 %9 = call i64 @strcmp(ptr noundef %8, ptr noundef @.str) %10 = icmp ne i64 %9, 0 br i1 %10, label %11, label %25 11: ; preds = %2 %12 = load ptr, ptr %4, align 8 %13 = call i64 @strcmp(ptr noundef %12, ptr noundef @.str.1) %14 = icmp ne i64 %13, 0 br i1 %14, label %15, label %25 15: ; preds = %11 %16 = load ptr, ptr %4, align 8 %17 = call i64 @strcmp(ptr noundef %16, ptr noundef @.str.2) %18 = icmp ne i64 %17, 0 br i1 %18, label %19, label %25 19: ; preds = %15 %20 = load ptr, ptr %4, align 8 %21 = call i64 @strcmp(ptr noundef %20, ptr noundef @.str.3) %22 = icmp ne i64 %21, 0 br i1 %22, label %23, label %25 23: ; preds = %19 %24 = load i32, ptr @EINVAL, align 4 store i32 %24, ptr @errno, align 4 br label %47 25: ; preds = %19, %15, %11, %2 %26 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0 %27 = load i32, ptr %3, align 4 %28 = call i32 @snprintf(ptr noundef %26, i32 noundef 1024, ptr noundef @.str.4, i32 noundef %27) %29 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0 %30 = call ptr @fopen(ptr noundef %29, ptr noundef @.str.5) store ptr %30, ptr %6, align 8 %31 = icmp ne ptr %30, null br i1 %31, label %33, label %32 32: ; preds = %25 br label %47 33: ; preds = %25 %34 = load ptr, ptr %4, align 8 %35 = load ptr, ptr %6, align 8 %36 = call i64 @fputs(ptr noundef %34, ptr noundef %35) %37 = icmp slt i64 %36, 0 br i1 %37, label %38, label %41 38: ; preds = %33 %39 = load ptr, ptr %6, align 8 %40 = call i64 @fclose(ptr noundef %39) br label %47 41: ; preds = %33 %42 = load ptr, ptr %6, align 8 %43 = call i64 @fclose(ptr noundef %42) %44 = icmp ne i64 %43, 0 br i1 %44, label %45, label %46 45: ; preds = %41 br label %47 46: ; preds = %41 store i32 0, ptr %7, align 4 br label %47 47: ; preds = %46, %45, %38, %32, %23 %48 = load i32, ptr %7, align 4 ret i32 %48 } declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i64 @fputs(ptr noundef, ptr noundef) #1 declare i64 @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/tmpfbpl6l61.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"in\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"out\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"low\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"high\00", align 1 @EINVAL = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [33 x i8] c"/sys/class/gpio/gpio%d/direction\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"w\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @gpio_set_direction(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca [1024 x i8], align 16 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 store i32 -1, ptr %7, align 4 %8 = load ptr, ptr %4, align 8 %9 = call i64 @strcmp(ptr noundef %8, ptr noundef @.str) %10 = icmp ne i64 %9, 0 br i1 %10, label %11, label %25 11: ; preds = %2 %12 = load ptr, ptr %4, align 8 %13 = call i64 @strcmp(ptr noundef %12, ptr noundef @.str.1) %14 = icmp ne i64 %13, 0 br i1 %14, label %15, label %25 15: ; preds = %11 %16 = load ptr, ptr %4, align 8 %17 = call i64 @strcmp(ptr noundef %16, ptr noundef @.str.2) %18 = icmp ne i64 %17, 0 br i1 %18, label %19, label %25 19: ; preds = %15 %20 = load ptr, ptr %4, align 8 %21 = call i64 @strcmp(ptr noundef %20, ptr noundef @.str.3) %22 = icmp ne i64 %21, 0 br i1 %22, label %23, label %25 23: ; preds = %19 %24 = load i32, ptr @EINVAL, align 4 store i32 %24, ptr @errno, align 4 br label %47 25: ; preds = %19, %15, %11, %2 %26 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0 %27 = load i32, ptr %3, align 4 %28 = call i32 @snprintf(ptr noundef %26, i32 noundef 1024, ptr noundef @.str.4, i32 noundef %27) %29 = getelementptr inbounds [1024 x i8], ptr %5, i64 0, i64 0 %30 = call ptr @fopen(ptr noundef %29, ptr noundef @.str.5) store ptr %30, ptr %6, align 8 %31 = icmp ne ptr %30, null br i1 %31, label %33, label %32 32: ; preds = %25 br label %47 33: ; preds = %25 %34 = load ptr, ptr %4, align 8 %35 = load ptr, ptr %6, align 8 %36 = call i64 @fputs(ptr noundef %34, ptr noundef %35) %37 = icmp slt i64 %36, 0 br i1 %37, label %38, label %41 38: ; preds = %33 %39 = load ptr, ptr %6, align 8 %40 = call i64 @fclose(ptr noundef %39) br label %47 41: ; preds = %33 %42 = load ptr, ptr %6, align 8 %43 = call i64 @fclose(ptr noundef %42) %44 = icmp ne i64 %43, 0 br i1 %44, label %45, label %46 45: ; preds = %41 br label %47 46: ; preds = %41 store i32 0, ptr %7, align 4 br label %47 47: ; preds = %46, %45, %38, %32, %23 %48 = load i32, ptr %7, align 4 ret i32 %48 } declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i64 @fputs(ptr noundef, ptr noundef) #1 declare i64 @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/tmp_83lu__q.c' source_filename = "/tmp/tmp_83lu__q.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_83lu__q.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/tmpultve8ok.c' source_filename = "/tmp/tmpultve8ok.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 [18 x i8] c"Usage %s options\0A\00", align 1 @.str.1 = private unnamed_addr constant [37 x i8] c"-n NCOLORS allcoate NCOLORS colors\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @stderr, align 4 %4 = load ptr, ptr %2, align 8 %5 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4) %6 = load i32, ptr @stderr, align 4 %7 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %6, ptr noundef @.str.1) %8 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @fprintf(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/tmpultve8ok.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 [18 x i8] c"Usage %s options\0A\00", align 1 @.str.1 = private unnamed_addr constant [37 x i8] c"-n NCOLORS allcoate NCOLORS colors\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load i32, ptr @stderr, align 4 %4 = load ptr, ptr %2, align 8 %5 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %3, ptr noundef @.str, ptr noundef %4) %6 = load i32, ptr @stderr, align 4 %7 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %6, ptr noundef @.str.1) %8 = call i32 @exit(i32 noundef 1) #3 unreachable } declare i32 @fprintf(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/tmphytnfn_r.c' source_filename = "/tmp/tmphytnfn_r.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 @cos(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = load double, ptr %2, align 8 %4 = fcmp olt double %3, 0.000000e+00 br i1 %4, label %5, label %8 5: ; preds = %1 %6 = load double, ptr %2, align 8 %7 = fneg double %6 store double %7, ptr %2, align 8 br label %8 8: ; preds = %5, %1 %9 = load double, ptr %2, align 8 %10 = call double @sinus(double noundef %9, i32 noundef 1) ret double %10 } declare double @sinus(double 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/tmphytnfn_r.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 @cos(double noundef %0) #0 { %2 = alloca double, align 8 store double %0, ptr %2, align 8 %3 = load double, ptr %2, align 8 %4 = fcmp olt double %3, 0.000000e+00 br i1 %4, label %5, label %8 5: ; preds = %1 %6 = load double, ptr %2, align 8 %7 = fneg double %6 store double %7, ptr %2, align 8 br label %8 8: ; preds = %5, %1 %9 = load double, ptr %2, align 8 %10 = call double @sinus(double noundef %9, i32 noundef 1) ret double %10 } declare double @sinus(double 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/tmp53eq_q1s.c' source_filename = "/tmp/tmp53eq_q1s.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/tmp53eq_q1s.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/tmpkd0rp607.c' source_filename = "/tmp/tmpkd0rp607.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 @DoDiv() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = call i32 (...) @Pop() store i32 %3, ptr %1, align 4 %4 = call i32 (...) @Pop() store i32 %4, ptr %2, align 4 %5 = load i32, ptr %2, align 4 %6 = load i32, ptr %1, align 4 %7 = sdiv i32 %5, %6 %8 = call i32 @Push(i32 noundef %7) ret void } declare i32 @Pop(...) #1 declare i32 @Push(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/tmpkd0rp607.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 @DoDiv() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = call i32 (...) @Pop() store i32 %3, ptr %1, align 4 %4 = call i32 (...) @Pop() store i32 %4, ptr %2, align 4 %5 = load i32, ptr %2, align 4 %6 = load i32, ptr %1, align 4 %7 = sdiv i32 %5, %6 %8 = call i32 @Push(i32 noundef %7) ret void } declare i32 @Pop(...) #1 declare i32 @Push(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/tmpwqx_dmcy.c' source_filename = "/tmp/tmpwqx_dmcy.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/tmpwqx_dmcy.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/tmpmziatck4.c' source_filename = "/tmp/tmpmziatck4.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 [4 x i8] c"%d\0A\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c" \00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"*\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"#\00", align 1 @.str.5 = 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 i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %7 = load i32, ptr %2, align 4 %8 = sub nsw i32 %7, 2 %9 = load i32, ptr %2, align 4 %10 = sub nsw i32 %9, 2 %11 = mul nsw i32 %8, %10 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %11) store i32 1, ptr %3, align 4 br label %13 13: ; preds = %71, %0 %14 = load i32, ptr %3, align 4 %15 = load i32, ptr %2, align 4 %16 = icmp sle i32 %14, %15 br i1 %16, label %17, label %74 17: ; preds = %13 store i32 1, ptr %5, align 4 br label %18 18: ; preds = %26, %17 %19 = load i32, ptr %5, align 4 %20 = load i32, ptr %2, align 4 %21 = load i32, ptr %3, align 4 %22 = sub nsw i32 %20, %21 %23 = icmp sle i32 %19, %22 br i1 %23, label %24, label %29 24: ; preds = %18 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %26 26: ; preds = %24 %27 = load i32, ptr %5, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %5, align 4 br label %18, !llvm.loop !6 29: ; preds = %18 %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %31 = load i32, ptr %3, align 4 %32 = icmp sgt i32 %31, 1 br i1 %32, label %33, label %69 33: ; preds = %29 %34 = load i32, ptr %3, align 4 %35 = load i32, ptr %2, align 4 %36 = icmp eq i32 %34, %35 br i1 %36, label %37, label %50 37: ; preds = %33 store i32 0, ptr %4, align 4 br label %38 38: ; preds = %46, %37 %39 = load i32, ptr %4, align 4 %40 = load i32, ptr %3, align 4 %41 = mul nsw i32 2, %40 %42 = sub nsw i32 %41, 3 %43 = icmp slt i32 %39, %42 br i1 %43, label %44, label %49 44: ; preds = %38 %45 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %46 46: ; preds = %44 %47 = load i32, ptr %4, align 4 %48 = add nsw i32 %47, 1 store i32 %48, ptr %4, align 4 br label %38, !llvm.loop !8 49: ; preds = %38 br label %67 50: ; preds = %33 %51 = load i32, ptr %3, align 4 %52 = icmp sge i32 %51, 2 br i1 %52, label %53, label %66 53: ; preds = %50 store i32 0, ptr %4, align 4 br label %54 54: ; preds = %62, %53 %55 = load i32, ptr %4, align 4 %56 = load i32, ptr %3, align 4 %57 = mul nsw i32 2, %56 %58 = sub nsw i32 %57, 3 %59 = icmp slt i32 %55, %58 br i1 %59, label %60, label %65 60: ; preds = %54 %61 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %62 62: ; preds = %60 %63 = load i32, ptr %4, align 4 %64 = add nsw i32 %63, 1 store i32 %64, ptr %4, align 4 br label %54, !llvm.loop !9 65: ; preds = %54 br label %66 66: ; preds = %65, %50 br label %67 67: ; preds = %66, %49 %68 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %69 69: ; preds = %67, %29 %70 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %71 71: ; preds = %69 %72 = load i32, ptr %3, align 4 %73 = add nsw i32 %72, 1 store i32 %73, ptr %3, align 4 br label %13, !llvm.loop !10 74: ; preds = %13 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"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpmziatck4.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 [4 x i8] c"%d\0A\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c" \00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"*\00", align 1 @.str.4 = private unnamed_addr constant [2 x i8] c"#\00", align 1 @.str.5 = 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 i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) %7 = load i32, ptr %2, align 4 %8 = sub nsw i32 %7, 2 %9 = load i32, ptr %2, align 4 %10 = sub nsw i32 %9, 2 %11 = mul nsw i32 %8, %10 %12 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %11) store i32 1, ptr %3, align 4 %13 = load i32, ptr %3, align 4 %14 = load i32, ptr %2, align 4 %15 = icmp sle i32 %13, %14 br i1 %15, label %.lr.ph8, label %88 .lr.ph8: ; preds = %0 br label %16 16: ; preds = %.lr.ph8, %82 store i32 1, ptr %5, align 4 %17 = load i32, ptr %5, align 4 %18 = load i32, ptr %2, align 4 %19 = load i32, ptr %3, align 4 %20 = sub nsw i32 %18, %19 %21 = icmp sle i32 %17, %20 br i1 %21, label %.lr.ph, label %32 .lr.ph: ; preds = %16 br label %22 22: ; preds = %.lr.ph, %24 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) br label %24 24: ; preds = %22 %25 = load i32, ptr %5, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %5, align 4 %27 = load i32, ptr %5, align 4 %28 = load i32, ptr %2, align 4 %29 = load i32, ptr %3, align 4 %30 = sub nsw i32 %28, %29 %31 = icmp sle i32 %27, %30 br i1 %31, label %22, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %24 br label %32 32: ; preds = %._crit_edge, %16 %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %34 = load i32, ptr %3, align 4 %35 = icmp sgt i32 %34, 1 br i1 %35, label %36, label %80 36: ; preds = %32 %37 = load i32, ptr %3, align 4 %38 = load i32, ptr %2, align 4 %39 = icmp eq i32 %37, %38 br i1 %39, label %40, label %57 40: ; preds = %36 store i32 0, ptr %4, align 4 %41 = load i32, ptr %4, align 4 %42 = load i32, ptr %3, align 4 %43 = mul nsw i32 2, %42 %44 = sub nsw i32 %43, 3 %45 = icmp slt i32 %41, %44 br i1 %45, label %.lr.ph5, label %56 .lr.ph5: ; preds = %40 br label %46 46: ; preds = %.lr.ph5, %48 %47 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %48 48: ; preds = %46 %49 = load i32, ptr %4, align 4 %50 = add nsw i32 %49, 1 store i32 %50, ptr %4, align 4 %51 = load i32, ptr %4, align 4 %52 = load i32, ptr %3, align 4 %53 = mul nsw i32 2, %52 %54 = sub nsw i32 %53, 3 %55 = icmp slt i32 %51, %54 br i1 %55, label %46, label %._crit_edge6, !llvm.loop !8 ._crit_edge6: ; preds = %48 br label %56 56: ; preds = %._crit_edge6, %40 br label %78 57: ; preds = %36 %58 = load i32, ptr %3, align 4 %59 = icmp sge i32 %58, 2 br i1 %59, label %60, label %77 60: ; preds = %57 store i32 0, ptr %4, align 4 %61 = load i32, ptr %4, align 4 %62 = load i32, ptr %3, align 4 %63 = mul nsw i32 2, %62 %64 = sub nsw i32 %63, 3 %65 = icmp slt i32 %61, %64 br i1 %65, label %.lr.ph2, label %76 .lr.ph2: ; preds = %60 br label %66 66: ; preds = %.lr.ph2, %68 %67 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %68 68: ; preds = %66 %69 = load i32, ptr %4, align 4 %70 = add nsw i32 %69, 1 store i32 %70, ptr %4, align 4 %71 = load i32, ptr %4, align 4 %72 = load i32, ptr %3, align 4 %73 = mul nsw i32 2, %72 %74 = sub nsw i32 %73, 3 %75 = icmp slt i32 %71, %74 br i1 %75, label %66, label %._crit_edge3, !llvm.loop !9 ._crit_edge3: ; preds = %68 br label %76 76: ; preds = %._crit_edge3, %60 br label %77 77: ; preds = %76, %57 br label %78 78: ; preds = %77, %56 %79 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) br label %80 80: ; preds = %78, %32 %81 = call i32 (ptr, ...) @printf(ptr noundef @.str.5) br label %82 82: ; preds = %80 %83 = load i32, ptr %3, align 4 %84 = add nsw i32 %83, 1 store i32 %84, ptr %3, align 4 %85 = load i32, ptr %3, align 4 %86 = load i32, ptr %2, align 4 %87 = icmp sle i32 %85, %86 br i1 %87, label %16, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %82 br label %88 88: ; preds = %._crit_edge9, %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"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmp8vrogfqj.c' source_filename = "/tmp/tmp8vrogfqj.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/tmp8vrogfqj.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_nabyry3.c' source_filename = "/tmp/tmp_nabyry3.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 @clk_get_cpu_rate() #0 { %1 = alloca i64, align 8 %2 = alloca i64, align 8 %3 = alloca i32, align 4 %4 = call i64 (...) @clk_get_pll_rate() store i64 %4, ptr %1, align 8 %5 = call i32 @reg_read_32(ptr noundef inttoptr (i64 3219619892 to ptr)) store i32 %5, ptr %3, align 4 %6 = load i32, ptr %3, align 4 %7 = and i32 1, %6 %8 = icmp ne i32 %7, 0 br i1 %8, label %9, label %24 9: ; preds = %0 %10 = load i32, ptr %3, align 4 %11 = and i32 32768, %10 %12 = icmp ne i32 %11, 0 br i1 %12, label %13, label %20 13: ; preds = %9 %14 = load i64, ptr %1, align 8 %15 = load i32, ptr %3, align 4 %16 = and i32 %15, 32512 %17 = lshr i32 %16, 8 %18 = zext i32 %17 to i64 %19 = udiv i64 %14, %18 store i64 %19, ptr %2, align 8 br label %23 20: ; preds = %9 %21 = load i64, ptr %1, align 8 %22 = udiv i64 %21, 2 store i64 %22, ptr %2, align 8 br label %23 23: ; preds = %20, %13 br label %25 24: ; preds = %0 store i64 24000000, ptr %2, align 8 br label %25 25: ; preds = %24, %23 %26 = load i64, ptr %2, align 8 ret i64 %26 } declare i64 @clk_get_pll_rate(...) #1 declare i32 @reg_read_32(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/tmp_nabyry3.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 @clk_get_cpu_rate() #0 { %1 = alloca i64, align 8 %2 = alloca i64, align 8 %3 = alloca i32, align 4 %4 = call i64 (...) @clk_get_pll_rate() store i64 %4, ptr %1, align 8 %5 = call i32 @reg_read_32(ptr noundef inttoptr (i64 3219619892 to ptr)) store i32 %5, ptr %3, align 4 %6 = load i32, ptr %3, align 4 %7 = and i32 1, %6 %8 = icmp ne i32 %7, 0 br i1 %8, label %9, label %24 9: ; preds = %0 %10 = load i32, ptr %3, align 4 %11 = and i32 32768, %10 %12 = icmp ne i32 %11, 0 br i1 %12, label %13, label %20 13: ; preds = %9 %14 = load i64, ptr %1, align 8 %15 = load i32, ptr %3, align 4 %16 = and i32 %15, 32512 %17 = lshr i32 %16, 8 %18 = zext i32 %17 to i64 %19 = udiv i64 %14, %18 store i64 %19, ptr %2, align 8 br label %23 20: ; preds = %9 %21 = load i64, ptr %1, align 8 %22 = udiv i64 %21, 2 store i64 %22, ptr %2, align 8 br label %23 23: ; preds = %20, %13 br label %25 24: ; preds = %0 store i64 24000000, ptr %2, align 8 br label %25 25: ; preds = %24, %23 %26 = load i64, ptr %2, align 8 ret i64 %26 } declare i64 @clk_get_pll_rate(...) #1 declare i32 @reg_read_32(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_f2werpl.c' source_filename = "/tmp/tmp_f2werpl.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 [25 x i8] c"Type something already:\0A\00", align 1 @stdin = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [7 x i8] c"ERROR\0A\00", align 1 @.str.2 = private unnamed_addr constant [23 x i8] c"Type something again:\0A\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.4 = private unnamed_addr constant [17 x i8] c"firststring: %s\0A\00", align 1 @.str.5 = private unnamed_addr constant [18 x i8] c"secondstring: %s\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 i64, align 8 %10 = alloca i64, align 8 %11 = 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 store i64 0, ptr %6, align 8 store i64 5, ptr %7, align 8 %12 = load i64, ptr %7, align 8 %13 = add i64 %12, 1 %14 = call ptr @llvm.stacksave() store ptr %14, ptr %8, align 8 %15 = alloca i8, i64 %13, align 16 store i64 %13, ptr %9, align 8 %16 = load i64, ptr %7, align 8 %17 = add i64 %16, 1 %18 = alloca i8, i64 %17, align 16 store i64 %17, ptr %10, align 8 store ptr null, ptr %11, align 8 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str) %20 = load i32, ptr @stdin, align 4 %21 = call i32 @getline(ptr noundef %11, ptr noundef %6, i32 noundef %20) %22 = load i64, ptr %6, align 8 %23 = icmp eq i64 %22, -1 br i1 %23, label %24, label %27 24: ; preds = %2 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %26 = call i32 @exit(i32 noundef 1) #4 unreachable 27: ; preds = %2 %28 = load ptr, ptr %11, align 8 %29 = call i32 @remove_newline(ptr noundef %28) %30 = load ptr, ptr %11, align 8 %31 = load i64, ptr %7, align 8 %32 = call i32 @strncpy(ptr noundef %15, ptr noundef %30, i64 noundef %31) %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %34 = load i32, ptr @stdin, align 4 %35 = call i32 @getline(ptr noundef %11, ptr noundef %6, i32 noundef %34) %36 = load i64, ptr %6, align 8 %37 = icmp eq i64 %36, -1 br i1 %37, label %38, label %41 38: ; preds = %27 %39 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %40 = call i32 @exit(i32 noundef 1) #4 unreachable 41: ; preds = %27 %42 = load ptr, ptr %11, align 8 %43 = call i32 @remove_newline(ptr noundef %42) %44 = load ptr, ptr %11, align 8 %45 = load i64, ptr %7, align 8 %46 = call i32 @strncpy(ptr noundef %18, ptr noundef %44, i64 noundef %45) %47 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %48 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %15) %49 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %18) store i32 0, ptr %3, align 4 %50 = load ptr, ptr %8, align 8 call void @llvm.stackrestore(ptr %50) %51 = load i32, ptr %3, align 4 ret i32 %51 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @printf(ptr noundef, ...) #2 declare i32 @getline(ptr noundef, ptr noundef, i32 noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 declare i32 @remove_newline(ptr noundef) #2 declare i32 @strncpy(ptr noundef, ptr noundef, i64 noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #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 = { nocallback nofree nosync nounwind willreturn } 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/tmp_f2werpl.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 [25 x i8] c"Type something already:\0A\00", align 1 @stdin = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [7 x i8] c"ERROR\0A\00", align 1 @.str.2 = private unnamed_addr constant [23 x i8] c"Type something again:\0A\00", align 1 @.str.3 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.4 = private unnamed_addr constant [17 x i8] c"firststring: %s\0A\00", align 1 @.str.5 = private unnamed_addr constant [18 x i8] c"secondstring: %s\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 i64, align 8 %10 = alloca i64, align 8 %11 = 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 store i64 0, ptr %6, align 8 store i64 5, ptr %7, align 8 %12 = load i64, ptr %7, align 8 %13 = add i64 %12, 1 %14 = call ptr @llvm.stacksave() store ptr %14, ptr %8, align 8 %15 = alloca i8, i64 %13, align 16 store i64 %13, ptr %9, align 8 %16 = load i64, ptr %7, align 8 %17 = add i64 %16, 1 %18 = alloca i8, i64 %17, align 16 store i64 %17, ptr %10, align 8 store ptr null, ptr %11, align 8 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str) %20 = load i32, ptr @stdin, align 4 %21 = call i32 @getline(ptr noundef %11, ptr noundef %6, i32 noundef %20) %22 = load i64, ptr %6, align 8 %23 = icmp eq i64 %22, -1 br i1 %23, label %24, label %27 24: ; preds = %2 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %26 = call i32 @exit(i32 noundef 1) #4 unreachable 27: ; preds = %2 %28 = load ptr, ptr %11, align 8 %29 = call i32 @remove_newline(ptr noundef %28) %30 = load ptr, ptr %11, align 8 %31 = load i64, ptr %7, align 8 %32 = call i32 @strncpy(ptr noundef %15, ptr noundef %30, i64 noundef %31) %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %34 = load i32, ptr @stdin, align 4 %35 = call i32 @getline(ptr noundef %11, ptr noundef %6, i32 noundef %34) %36 = load i64, ptr %6, align 8 %37 = icmp eq i64 %36, -1 br i1 %37, label %38, label %41 38: ; preds = %27 %39 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) %40 = call i32 @exit(i32 noundef 1) #4 unreachable 41: ; preds = %27 %42 = load ptr, ptr %11, align 8 %43 = call i32 @remove_newline(ptr noundef %42) %44 = load ptr, ptr %11, align 8 %45 = load i64, ptr %7, align 8 %46 = call i32 @strncpy(ptr noundef %18, ptr noundef %44, i64 noundef %45) %47 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) %48 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, ptr noundef %15) %49 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, ptr noundef %18) store i32 0, ptr %3, align 4 %50 = load ptr, ptr %8, align 8 call void @llvm.stackrestore(ptr %50) %51 = load i32, ptr %3, align 4 ret i32 %51 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @printf(ptr noundef, ...) #2 declare i32 @getline(ptr noundef, ptr noundef, i32 noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 declare i32 @remove_newline(ptr noundef) #2 declare i32 @strncpy(ptr noundef, ptr noundef, i64 noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #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 = { nocallback nofree nosync nounwind willreturn } 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/tmpxdx4ak8y.c' source_filename = "/tmp/tmpxdx4ak8y.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 @clear_region(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %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 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %11 = load i32, ptr %5, align 4 store i32 %11, ptr %9, align 4 br label %12 12: ; preds = %34, %4 %13 = load i32, ptr %9, align 4 %14 = load i32, ptr %5, align 4 %15 = load i32, ptr %7, align 4 %16 = add nsw i32 %14, %15 %17 = icmp slt i32 %13, %16 br i1 %17, label %18, label %37 18: ; preds = %12 %19 = load i32, ptr %6, align 4 store i32 %19, ptr %10, align 4 br label %20 20: ; preds = %30, %18 %21 = load i32, ptr %10, align 4 %22 = load i32, ptr %6, align 4 %23 = load i32, ptr %8, align 4 %24 = add nsw i32 %22, %23 %25 = icmp slt i32 %21, %24 br i1 %25, label %26, label %33 26: ; preds = %20 %27 = load i32, ptr %9, align 4 %28 = load i32, ptr %10, align 4 %29 = call i32 @plot_pixel(i32 noundef %27, i32 noundef %28, i32 noundef 28) br label %30 30: ; preds = %26 %31 = load i32, ptr %10, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %10, align 4 br label %20, !llvm.loop !6 33: ; preds = %20 br label %34 34: ; preds = %33 %35 = load i32, ptr %9, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %9, align 4 br label %12, !llvm.loop !8 37: ; preds = %12 ret void } declare i32 @plot_pixel(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxdx4ak8y.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 @clear_region(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3) #0 { %5 = alloca i32, align 4 %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 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store i32 %3, ptr %8, align 4 %11 = load i32, ptr %5, align 4 store i32 %11, ptr %9, align 4 %12 = load i32, ptr %9, align 4 %13 = load i32, ptr %5, align 4 %14 = load i32, ptr %7, align 4 %15 = add nsw i32 %13, %14 %16 = icmp slt i32 %12, %15 br i1 %16, label %.lr.ph2, label %45 .lr.ph2: ; preds = %4 br label %17 17: ; preds = %.lr.ph2, %37 %18 = load i32, ptr %6, align 4 store i32 %18, ptr %10, align 4 %19 = load i32, ptr %10, align 4 %20 = load i32, ptr %6, align 4 %21 = load i32, ptr %8, align 4 %22 = add nsw i32 %20, %21 %23 = icmp slt i32 %19, %22 br i1 %23, label %.lr.ph, label %36 .lr.ph: ; preds = %17 br label %24 24: ; preds = %.lr.ph, %28 %25 = load i32, ptr %9, align 4 %26 = load i32, ptr %10, align 4 %27 = call i32 @plot_pixel(i32 noundef %25, i32 noundef %26, i32 noundef 28) br label %28 28: ; preds = %24 %29 = load i32, ptr %10, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %10, align 4 %31 = load i32, ptr %10, align 4 %32 = load i32, ptr %6, align 4 %33 = load i32, ptr %8, align 4 %34 = add nsw i32 %32, %33 %35 = icmp slt i32 %31, %34 br i1 %35, label %24, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %28 br label %36 36: ; preds = %._crit_edge, %17 br label %37 37: ; preds = %36 %38 = load i32, ptr %9, align 4 %39 = add nsw i32 %38, 1 store i32 %39, ptr %9, align 4 %40 = load i32, ptr %9, align 4 %41 = load i32, ptr %5, align 4 %42 = load i32, ptr %7, align 4 %43 = add nsw i32 %41, %42 %44 = icmp slt i32 %40, %43 br i1 %44, label %17, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %37 br label %45 45: ; preds = %._crit_edge3, %4 ret void } declare i32 @plot_pixel(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp0rk6rr0m.c' source_filename = "/tmp/tmp0rk6rr0m.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"-v\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"dozword v3.0\0A\00", align 1 @.str.2 = private unnamed_addr constant [49 x i8] c"Copyright (C) 2010, 2011 Donald P. Goodman III\0A\00", align 1 @.str.3 = private unnamed_addr constant [80 x i8] c"License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\0A\00", align 1 @.str.4 = private unnamed_addr constant [124 x i8] c"This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.\0A\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"\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 = call i64 @error(i32 noundef %6) %8 = icmp ne i64 %7, 0 br i1 %8, label %9, label %10 9: ; preds = %2 store i32 1, ptr %3, align 4 br label %28 10: ; preds = %2 %11 = load ptr, ptr %5, align 8 %12 = getelementptr inbounds ptr, ptr %11, i32 1 store ptr %12, ptr %5, align 8 %13 = load ptr, ptr %11, align 8 %14 = load ptr, ptr %5, align 8 %15 = load ptr, ptr %14, align 8 %16 = call i64 @strcmp(ptr noundef %15, ptr noundef @.str) %17 = icmp eq i64 %16, 0 br i1 %17, label %18, label %23 18: ; preds = %10 %19 = call i32 @printf(ptr noundef @.str.1) %20 = call i32 @printf(ptr noundef @.str.2) %21 = call i32 @printf(ptr noundef @.str.3) %22 = call i32 @printf(ptr noundef @.str.4) store i32 0, ptr %3, align 4 br label %28 23: ; preds = %10 %24 = load ptr, ptr %5, align 8 %25 = load ptr, ptr %24, align 8 %26 = call i32 @printwords(ptr noundef %25) %27 = call i32 @printf(ptr noundef @.str.5) store i32 0, ptr %3, align 4 br label %28 28: ; preds = %23, %18, %9 %29 = load i32, ptr %3, align 4 ret i32 %29 } declare i64 @error(i32 noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @printwords(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/tmp0rk6rr0m.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"-v\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"dozword v3.0\0A\00", align 1 @.str.2 = private unnamed_addr constant [49 x i8] c"Copyright (C) 2010, 2011 Donald P. Goodman III\0A\00", align 1 @.str.3 = private unnamed_addr constant [80 x i8] c"License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\0A\00", align 1 @.str.4 = private unnamed_addr constant [124 x i8] c"This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.\0A\00", align 1 @.str.5 = private unnamed_addr constant [2 x i8] c"\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 = call i64 @error(i32 noundef %6) %8 = icmp ne i64 %7, 0 br i1 %8, label %9, label %10 9: ; preds = %2 store i32 1, ptr %3, align 4 br label %28 10: ; preds = %2 %11 = load ptr, ptr %5, align 8 %12 = getelementptr inbounds ptr, ptr %11, i32 1 store ptr %12, ptr %5, align 8 %13 = load ptr, ptr %11, align 8 %14 = load ptr, ptr %5, align 8 %15 = load ptr, ptr %14, align 8 %16 = call i64 @strcmp(ptr noundef %15, ptr noundef @.str) %17 = icmp eq i64 %16, 0 br i1 %17, label %18, label %23 18: ; preds = %10 %19 = call i32 @printf(ptr noundef @.str.1) %20 = call i32 @printf(ptr noundef @.str.2) %21 = call i32 @printf(ptr noundef @.str.3) %22 = call i32 @printf(ptr noundef @.str.4) store i32 0, ptr %3, align 4 br label %28 23: ; preds = %10 %24 = load ptr, ptr %5, align 8 %25 = load ptr, ptr %24, align 8 %26 = call i32 @printwords(ptr noundef %25) %27 = call i32 @printf(ptr noundef @.str.5) store i32 0, ptr %3, align 4 br label %28 28: ; preds = %23, %18, %9 %29 = load i32, ptr %3, align 4 ret i32 %29 } declare i64 @error(i32 noundef) #1 declare i64 @strcmp(ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @printwords(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/tmpaax9wkt6.c' source_filename = "/tmp/tmpaax9wkt6.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 @string_clean(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %2, align 8 store ptr %6, ptr %4, align 8 br label %7 7: ; preds = %24, %1 %8 = load ptr, ptr %4, align 8 %9 = load i8, ptr %8, align 1 %10 = sext i8 %9 to i32 %11 = icmp ne i32 %10, 0 br i1 %11, label %12, label %25 12: ; preds = %7 %13 = load ptr, ptr %4, align 8 %14 = getelementptr inbounds i8, ptr %13, i32 1 store ptr %14, ptr %4, align 8 %15 = load i8, ptr %13, align 1 %16 = load ptr, ptr %3, align 8 store i8 %15, ptr %16, align 1 %17 = load ptr, ptr %3, align 8 %18 = load i8, ptr %17, align 1 %19 = call i64 @isalpha(i8 noundef signext %18) %20 = icmp ne i64 %19, 0 br i1 %20, label %21, label %24 21: ; preds = %12 %22 = load ptr, ptr %3, align 8 %23 = getelementptr inbounds i8, ptr %22, i32 1 store ptr %23, ptr %3, align 8 br label %24 24: ; preds = %21, %12 br label %7, !llvm.loop !6 25: ; preds = %7 %26 = load ptr, ptr %3, align 8 store i8 0, ptr %26, align 1 ret void } declare i64 @isalpha(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/tmpaax9wkt6.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 @string_clean(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 store ptr %5, ptr %3, align 8 %6 = load ptr, ptr %2, align 8 store ptr %6, ptr %4, align 8 %7 = load ptr, ptr %4, 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 %.lr.ph, label %28 .lr.ph: ; preds = %1 br label %11 11: ; preds = %.lr.ph, %23 %12 = load ptr, ptr %4, align 8 %13 = getelementptr inbounds i8, ptr %12, i32 1 store ptr %13, ptr %4, align 8 %14 = load i8, ptr %12, align 1 %15 = load ptr, ptr %3, align 8 store i8 %14, ptr %15, align 1 %16 = load ptr, ptr %3, align 8 %17 = load i8, ptr %16, align 1 %18 = call i64 @isalpha(i8 noundef signext %17) %19 = icmp ne i64 %18, 0 br i1 %19, label %20, label %23 20: ; preds = %11 %21 = load ptr, ptr %3, align 8 %22 = getelementptr inbounds i8, ptr %21, i32 1 store ptr %22, ptr %3, align 8 br label %23 23: ; preds = %20, %11 %24 = load ptr, ptr %4, align 8 %25 = load i8, ptr %24, align 1 %26 = sext i8 %25 to i32 %27 = icmp ne i32 %26, 0 br i1 %27, label %11, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %23 br label %28 28: ; preds = %._crit_edge, %1 %29 = load ptr, ptr %3, align 8 store i8 0, ptr %29, align 1 ret void } declare i64 @isalpha(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/tmp5grkhr7j.c' source_filename = "/tmp/tmp5grkhr7j.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"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @do_overflow_string() #0 { %1 = alloca [16 x i8], align 16 %2 = getelementptr inbounds [16 x i8], ptr %1, i64 0, i64 0 %3 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) ret void } 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5grkhr7j.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"%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @do_overflow_string() #0 { %1 = alloca [16 x i8], align 16 %2 = getelementptr inbounds [16 x i8], ptr %1, i64 0, i64 0 %3 = call i32 @scanf(ptr noundef @.str, ptr noundef %2) ret void } 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"}
; ModuleID = '/tmp/tmp64cx8p8d.c' source_filename = "/tmp/tmp64cx8p8d.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 [13 x i8] c"syscalls.txt\00", align 1 @.str.1 = private unnamed_addr constant [17 x i8] c"syscalls.symlink\00", align 1 @.str.2 = private unnamed_addr constant [38 x i8] c"hopefully_no_such_filename_exists.txt\00", align 1 @.str.3 = private unnamed_addr constant [18 x i8] c"syscalls2.symlink\00", align 1 @.str.4 = private unnamed_addr constant [14 x i8] c"syscalls2.txt\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @execute_symlink() #0 { %1 = call i32 @open_rdonly(ptr noundef @.str) %2 = call i32 @close(i32 noundef %1) %3 = call i32 @symlink(ptr noundef @.str, ptr noundef @.str.1) %4 = call i32 @symlink(ptr noundef @.str.2, ptr noundef @.str.3) %5 = call i32 @open_rdonly(ptr noundef @.str.4) %6 = call i32 @close(i32 noundef %5) %7 = call i32 @symlink(ptr noundef @.str.4, ptr noundef @.str.1) ret i32 0 } declare i32 @close(i32 noundef) #1 declare i32 @open_rdonly(ptr noundef) #1 declare i32 @symlink(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/tmp64cx8p8d.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 [13 x i8] c"syscalls.txt\00", align 1 @.str.1 = private unnamed_addr constant [17 x i8] c"syscalls.symlink\00", align 1 @.str.2 = private unnamed_addr constant [38 x i8] c"hopefully_no_such_filename_exists.txt\00", align 1 @.str.3 = private unnamed_addr constant [18 x i8] c"syscalls2.symlink\00", align 1 @.str.4 = private unnamed_addr constant [14 x i8] c"syscalls2.txt\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @execute_symlink() #0 { %1 = call i32 @open_rdonly(ptr noundef @.str) %2 = call i32 @close(i32 noundef %1) %3 = call i32 @symlink(ptr noundef @.str, ptr noundef @.str.1) %4 = call i32 @symlink(ptr noundef @.str.2, ptr noundef @.str.3) %5 = call i32 @open_rdonly(ptr noundef @.str.4) %6 = call i32 @close(i32 noundef %5) %7 = call i32 @symlink(ptr noundef @.str.4, ptr noundef @.str.1) ret i32 0 } declare i32 @close(i32 noundef) #1 declare i32 @open_rdonly(ptr noundef) #1 declare i32 @symlink(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/tmp6dtavdyz.c' source_filename = "/tmp/tmp6dtavdyz.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 [23 x i8] c"Unable to close slave\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @close_connection(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 %3, align 4 %6 = call i64 @close(i32 noundef %5) %7 = icmp slt i64 %6, 0 br i1 %7, label %8, label %11 8: ; preds = %2 %9 = call i32 @printf(ptr noundef @.str) %10 = call i32 @exit(i32 noundef 1) #3 unreachable 11: ; preds = %2 ret void } declare i64 @close(i32 noundef) #1 declare i32 @printf(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/tmp6dtavdyz.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 [23 x i8] c"Unable to close slave\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @close_connection(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 %3, align 4 %6 = call i64 @close(i32 noundef %5) %7 = icmp slt i64 %6, 0 br i1 %7, label %8, label %11 8: ; preds = %2 %9 = call i32 @printf(ptr noundef @.str) %10 = call i32 @exit(i32 noundef 1) #3 unreachable 11: ; preds = %2 ret void } declare i64 @close(i32 noundef) #1 declare i32 @printf(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/tmpsco5aqb0.c' source_filename = "/tmp/tmpsco5aqb0.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 [21 x i8] c"Escriba un n\C3\BAmero:\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%i\00", align 1 @.str.2 = private unnamed_addr constant [22 x i8] c"El n\C3\BAmero %i es par\0A\00", align 1 @.str.3 = private unnamed_addr constant [24 x i8] c"El n\C3\BAmero %i es impar\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; 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 (ptr, ...) @printf(ptr noundef @.str) %4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %5 = load i32, ptr %2, align 4 %6 = srem i32 %5, 2 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %11 8: ; preds = %0 %9 = load i32, ptr %2, align 4 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %9) br label %14 11: ; preds = %0 %12 = load i32, ptr %2, align 4 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %12) br label %14 14: ; preds = %11, %8 %15 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %15 } 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsco5aqb0.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 [21 x i8] c"Escriba un n\C3\BAmero:\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%i\00", align 1 @.str.2 = private unnamed_addr constant [22 x i8] c"El n\C3\BAmero %i es par\0A\00", align 1 @.str.3 = private unnamed_addr constant [24 x i8] c"El n\C3\BAmero %i es impar\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; 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 (ptr, ...) @printf(ptr noundef @.str) %4 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %5 = load i32, ptr %2, align 4 %6 = srem i32 %5, 2 %7 = icmp eq i32 %6, 0 br i1 %7, label %8, label %11 8: ; preds = %0 %9 = load i32, ptr %2, align 4 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %9) br label %14 11: ; preds = %0 %12 = load i32, ptr %2, align 4 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %12) br label %14 14: ; preds = %11, %8 %15 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %15 } 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"}
; ModuleID = '/tmp/tmpffdluwk3.c' source_filename = "/tmp/tmpffdluwk3.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 @indigoLoadQueryReactionFromFile(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = call i32 @indigoReadFile(ptr noundef %6) store i32 %7, ptr %4, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp sle i32 %8, 0 br i1 %9, label %10, label %11 10: ; preds = %1 store i32 -1, ptr %2, align 4 br label %17 11: ; preds = %1 %12 = load i32, ptr %4, align 4 %13 = call i32 @indigoLoadQueryReaction(i32 noundef %12) store i32 %13, ptr %5, align 4 %14 = load i32, ptr %4, align 4 %15 = call i32 @indigoFree(i32 noundef %14) %16 = load i32, ptr %5, align 4 store i32 %16, ptr %2, align 4 br label %17 17: ; preds = %11, %10 %18 = load i32, ptr %2, align 4 ret i32 %18 } declare i32 @indigoReadFile(ptr noundef) #1 declare i32 @indigoLoadQueryReaction(i32 noundef) #1 declare i32 @indigoFree(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/tmpffdluwk3.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 @indigoLoadQueryReactionFromFile(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %6 = load ptr, ptr %3, align 8 %7 = call i32 @indigoReadFile(ptr noundef %6) store i32 %7, ptr %4, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp sle i32 %8, 0 br i1 %9, label %10, label %11 10: ; preds = %1 store i32 -1, ptr %2, align 4 br label %17 11: ; preds = %1 %12 = load i32, ptr %4, align 4 %13 = call i32 @indigoLoadQueryReaction(i32 noundef %12) store i32 %13, ptr %5, align 4 %14 = load i32, ptr %4, align 4 %15 = call i32 @indigoFree(i32 noundef %14) %16 = load i32, ptr %5, align 4 store i32 %16, ptr %2, align 4 br label %17 17: ; preds = %11, %10 %18 = load i32, ptr %2, align 4 ret i32 %18 } declare i32 @indigoReadFile(ptr noundef) #1 declare i32 @indigoLoadQueryReaction(i32 noundef) #1 declare i32 @indigoFree(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/tmpbpk1q6w0.c' source_filename = "/tmp/tmpbpk1q6w0.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 [21 x i8] c"Unknown error code.\0A\00", align 1 @.str.1 = private unnamed_addr constant [22 x i8] c"Insufficient memory.\0A\00", align 1 @.str.2 = private unnamed_addr constant [24 x i8] c"Illegal memory access.\0A\00", align 1 @__const.error_exit.error_msg = private unnamed_addr constant [3 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2], align 16 @stderr = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @error_exit(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca [3 x ptr], align 16 %4 = alloca i32, align 4 store i32 %0, ptr %2, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.error_exit.error_msg, i64 24, i1 false) store i32 3, ptr %4, align 4 %5 = load i32, ptr %2, align 4 %6 = load i32, ptr %4, align 4 %7 = icmp uge i32 %5, %6 br i1 %7, label %8, label %9 8: ; preds = %1 store i32 0, ptr %2, align 4 br label %9 9: ; preds = %8, %1 %10 = load i32, ptr %2, align 4 %11 = zext i32 %10 to i64 %12 = getelementptr inbounds [3 x ptr], ptr %3, i64 0, i64 %11 %13 = load ptr, ptr %12, align 8 %14 = load i32, ptr @stderr, align 4 %15 = call i32 @fputs(ptr noundef %13, i32 noundef %14) %16 = call i32 @exit(i32 noundef 1) #4 unreachable } ; 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 @fputs(ptr noundef, i32 noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 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" } 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/tmpbpk1q6w0.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 [21 x i8] c"Unknown error code.\0A\00", align 1 @.str.1 = private unnamed_addr constant [22 x i8] c"Insufficient memory.\0A\00", align 1 @.str.2 = private unnamed_addr constant [24 x i8] c"Illegal memory access.\0A\00", align 1 @__const.error_exit.error_msg = private unnamed_addr constant [3 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2], align 16 @stderr = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @error_exit(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca [3 x ptr], align 16 %4 = alloca i32, align 4 store i32 %0, ptr %2, align 4 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.error_exit.error_msg, i64 24, i1 false) store i32 3, ptr %4, align 4 %5 = load i32, ptr %2, align 4 %6 = load i32, ptr %4, align 4 %7 = icmp uge i32 %5, %6 br i1 %7, label %8, label %9 8: ; preds = %1 store i32 0, ptr %2, align 4 br label %9 9: ; preds = %8, %1 %10 = load i32, ptr %2, align 4 %11 = zext i32 %10 to i64 %12 = getelementptr inbounds [3 x ptr], ptr %3, i64 0, i64 %11 %13 = load ptr, ptr %12, align 8 %14 = load i32, ptr @stderr, align 4 %15 = call i32 @fputs(ptr noundef %13, i32 noundef %14) %16 = call i32 @exit(i32 noundef 1) #4 unreachable } ; 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 @fputs(ptr noundef, i32 noundef) #2 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #3 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" } 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/tmpe0__7cbq.c' source_filename = "/tmp/tmpe0__7cbq.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/tmpe0__7cbq.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/tmppcjetttv.c' source_filename = "/tmp/tmppcjetttv.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 { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @set_ScreenFormat_depth(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = load ptr, ptr %3, align 8 %7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i32 0, i32 0 store i32 %5, ptr %7, 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/tmppcjetttv.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 { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @set_ScreenFormat_depth(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load i32, ptr %4, align 4 %6 = load ptr, ptr %3, align 8 %7 = getelementptr inbounds %struct.TYPE_2__, ptr %6, i32 0, i32 0 store i32 %5, ptr %7, 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/tmpqkuplt23.c' source_filename = "/tmp/tmpqkuplt23.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" @stdout = 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/tmpqkuplt23.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" @stdout = 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_xczh1de.c' source_filename = "/tmp/tmp_xczh1de.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"intel-rapl\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @rapl_sysfs_zone_get_max_power_range_uw(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca [2 x i32], align 4 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store ptr %3, ptr %8, align 8 %10 = load i32, ptr %5, align 4 %11 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 0 store i32 %10, ptr %11, align 4 %12 = load i32, ptr %6, align 4 %13 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 1 store i32 %12, ptr %13, align 4 %14 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 0 %15 = load i32, ptr %7, align 4 %16 = icmp ne i32 %15, 0 %17 = zext i1 %16 to i64 %18 = select i1 %16, i32 2, i32 1 %19 = load ptr, ptr %8, align 8 %20 = call i32 @powercap_sysfs_zone_get_max_power_range_uw(ptr noundef @.str, ptr noundef %14, i32 noundef %18, ptr noundef %19) ret i32 %20 } declare i32 @powercap_sysfs_zone_get_max_power_range_uw(ptr noundef, ptr 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/tmp_xczh1de.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"intel-rapl\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @rapl_sysfs_zone_get_max_power_range_uw(i32 noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca ptr, align 8 %9 = alloca [2 x i32], align 4 store i32 %0, ptr %5, align 4 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store ptr %3, ptr %8, align 8 %10 = load i32, ptr %5, align 4 %11 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 0 store i32 %10, ptr %11, align 4 %12 = load i32, ptr %6, align 4 %13 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 1 store i32 %12, ptr %13, align 4 %14 = getelementptr inbounds [2 x i32], ptr %9, i64 0, i64 0 %15 = load i32, ptr %7, align 4 %16 = icmp ne i32 %15, 0 %17 = zext i1 %16 to i64 %18 = select i1 %16, i32 2, i32 1 %19 = load ptr, ptr %8, align 8 %20 = call i32 @powercap_sysfs_zone_get_max_power_range_uw(ptr noundef @.str, ptr noundef %14, i32 noundef %18, ptr noundef %19) ret i32 %20 } declare i32 @powercap_sysfs_zone_get_max_power_range_uw(ptr noundef, ptr 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/tmpsybkch2u.c' source_filename = "/tmp/tmpsybkch2u.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.stat = type { i32 } %struct.dirent = type { i32 } @MAXPATHLEN = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [5 x i8] c"%s%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @complete(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %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 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i64, align 8 %12 = alloca i32, align 4 %13 = alloca i64, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 %17 = alloca i64, align 8 %18 = alloca i32, align 4 %19 = alloca %struct.stat, align 4 %20 = alloca ptr, align 8 %21 = alloca i64, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %22 = load i32, ptr @MAXPATHLEN, align 4 %23 = zext i32 %22 to i64 %24 = call ptr @llvm.stacksave() store ptr %24, ptr %10, align 8 %25 = alloca i8, i64 %23, align 16 store i64 %23, ptr %11, align 8 %26 = load ptr, ptr %6, align 8 store i8 0, ptr %26, align 1 %27 = load ptr, ptr %5, align 8 %28 = load ptr, ptr %5, align 8 %29 = call i32 @strlen(ptr noundef %28) %30 = sub nsw i32 %29, 1 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds i8, ptr %27, i64 %31 %33 = load i8, ptr %32, align 1 %34 = sext i8 %33 to i32 %35 = icmp eq i32 %34, 47 br i1 %35, label %36, label %37 36: ; preds = %3 store i32 0, ptr %4, align 4 store i32 1, ptr %12, align 4 br label %175 37: ; preds = %3 %38 = load ptr, ptr %5, align 8 %39 = trunc i64 %23 to i32 %40 = call i32 @strncpy(ptr noundef %25, ptr noundef %38, i32 noundef %39) %41 = sub i64 %23, 1 %42 = getelementptr inbounds i8, ptr %25, i64 %41 store i8 0, ptr %42, align 1 %43 = call ptr @dirname(ptr noundef %25) store ptr %43, ptr %8, align 8 %44 = call ptr @basename(ptr noundef %25) store ptr %44, ptr %9, align 8 %45 = load ptr, ptr %8, align 8 %46 = icmp ne ptr %45, null br i1 %46, label %47, label %174 47: ; preds = %37 %48 = load ptr, ptr %9, align 8 %49 = icmp ne ptr %48, null br i1 %49, label %50, label %174 50: ; preds = %47 %51 = load ptr, ptr %9, align 8 %52 = call i32 @strlen(ptr noundef %51) %53 = sext i32 %52 to i64 store i64 %53, ptr %13, align 8 %54 = load ptr, ptr %8, align 8 %55 = call ptr @opendir(ptr noundef %54) store ptr %55, ptr %14, align 8 %56 = load ptr, ptr %14, align 8 %57 = icmp ne ptr %56, null br i1 %57, label %58, label %173 58: ; preds = %50 %59 = load ptr, ptr %14, align 8 %60 = call ptr @readdir(ptr noundef %59) store ptr %60, ptr %15, align 8 br label %61 61: ; preds = %167, %58 %62 = load ptr, ptr %15, align 8 %63 = icmp ne ptr %62, null br i1 %63, label %64, label %170 64: ; preds = %61 %65 = load ptr, ptr %15, align 8 %66 = getelementptr inbounds %struct.dirent, ptr %65, i32 0, i32 0 %67 = load i32, ptr %66, align 4 %68 = load ptr, ptr %9, align 8 %69 = load i64, ptr %13, align 8 %70 = call i32 @strncmp(i32 noundef %67, ptr noundef %68, i64 noundef %69) %71 = icmp ne i32 %70, 0 br i1 %71, label %166, label %72 72: ; preds = %64 %73 = load i32, ptr @MAXPATHLEN, align 4 %74 = zext i32 %73 to i64 %75 = call ptr @llvm.stacksave() store ptr %75, ptr %16, align 8 %76 = alloca i8, i64 %74, align 16 store i64 %74, ptr %17, align 8 %77 = load i64, ptr %13, align 8 %78 = trunc i64 %77 to i32 store i32 %78, ptr %18, align 4 %79 = load ptr, ptr %9, align 8 %80 = sub i64 %74, 1 %81 = trunc i64 %80 to i32 %82 = call i32 @strncpy(ptr noundef %76, ptr noundef %79, i32 noundef %81) %83 = sub i64 %74, 1 %84 = getelementptr inbounds i8, ptr %76, i64 %83 store i8 0, ptr %84, align 1 br label %85 85: ; preds = %141, %72 %86 = load i32, ptr %18, align 4 %87 = zext i32 %86 to i64 %88 = icmp ult i64 %87, %74 br i1 %88, label %89, label %146 89: ; preds = %85 %90 = load ptr, ptr %14, align 8 %91 = load i32, ptr %18, align 4 %92 = call signext i8 @next_prefix_char(ptr noundef %90, ptr noundef %76, i32 noundef %91) %93 = load i32, ptr %18, align 4 %94 = zext i32 %93 to i64 %95 = getelementptr inbounds i8, ptr %76, i64 %94 store i8 %92, ptr %95, align 1 %96 = load i32, ptr %18, align 4 %97 = zext i32 %96 to i64 %98 = getelementptr inbounds i8, ptr %76, i64 %97 %99 = load i8, ptr %98, align 1 %100 = sext i8 %99 to i32 %101 = icmp eq i32 %100, 0 br i1 %101, label %102, label %141 102: ; preds = %89 %103 = load i32, ptr %18, align 4 %104 = icmp ugt i32 %103, 0 br i1 %104, label %105, label %140 105: ; preds = %102 %106 = load i32, ptr %18, align 4 %107 = sub i32 %106, 1 %108 = zext i32 %107 to i64 %109 = getelementptr inbounds i8, ptr %76, i64 %108 %110 = load i8, ptr %109, align 1 %111 = sext i8 %110 to i32 %112 = icmp ne i32 %111, 47 br i1 %112, label %113, label %140 113: ; preds = %105 %114 = load i32, ptr @MAXPATHLEN, align 4 %115 = zext i32 %114 to i64 %116 = call ptr @llvm.stacksave() store ptr %116, ptr %20, align 8 %117 = alloca i8, i64 %115, align 16 store i64 %115, ptr %21, align 8 %118 = trunc i64 %115 to i32 %119 = load ptr, ptr %5, align 8 %120 = load i64, ptr %13, align 8 %121 = getelementptr inbounds i8, ptr %76, i64 %120 %122 = call i32 @snprintf(ptr noundef %117, i32 noundef %118, ptr noundef @.str, ptr noundef %119, ptr noundef %121) %123 = call i32 @stat(ptr noundef %117, ptr noundef %19) %124 = icmp ne i32 %123, 0 br i1 %124, label %138, label %125 125: ; preds = %113 %126 = getelementptr inbounds %struct.stat, ptr %19, i32 0, i32 0 %127 = load i32, ptr %126, align 4 %128 = call i64 @S_ISDIR(i32 noundef %127) %129 = icmp ne i64 %128, 0 br i1 %129, label %130, label %138 130: ; preds = %125 %131 = load i32, ptr %18, align 4 %132 = zext i32 %131 to i64 %133 = getelementptr inbounds i8, ptr %76, i64 %132 store i8 47, ptr %133, align 1 %134 = load i32, ptr %18, align 4 %135 = add i32 %134, 1 store i32 %135, ptr %18, align 4 %136 = zext i32 %135 to i64 %137 = getelementptr inbounds i8, ptr %76, i64 %136 store i8 0, ptr %137, align 1 br label %138 138: ; preds = %130, %125, %113 %139 = load ptr, ptr %20, align 8 call void @llvm.stackrestore(ptr %139) br label %140 140: ; preds = %138, %105, %102 br label %146 141: ; preds = %89 %142 = load i32, ptr %18, align 4 %143 = add i32 %142, 1 store i32 %143, ptr %18, align 4 %144 = zext i32 %143 to i64 %145 = getelementptr inbounds i8, ptr %76, i64 %144 store i8 0, ptr %145, align 1 br label %85, !llvm.loop !6 146: ; preds = %140, %85 %147 = load ptr, ptr %6, align 8 %148 = load i64, ptr %13, align 8 %149 = getelementptr inbounds i8, ptr %76, i64 %148 %150 = load i32, ptr %7, align 4 %151 = sub i32 %150, 1 %152 = call i32 @strncpy(ptr noundef %147, ptr noundef %149, i32 noundef %151) %153 = load ptr, ptr %6, align 8 %154 = load i32, ptr %7, align 4 %155 = sub i32 %154, 1 %156 = zext i32 %155 to i64 %157 = getelementptr inbounds i8, ptr %153, i64 %156 store i8 0, ptr %157, align 1 %158 = load ptr, ptr %14, align 8 %159 = call i32 @closedir(ptr noundef %158) %160 = load i32, ptr %18, align 4 %161 = zext i32 %160 to i64 %162 = load i64, ptr %13, align 8 %163 = sub i64 %161, %162 %164 = trunc i64 %163 to i32 store i32 %164, ptr %4, align 4 store i32 1, ptr %12, align 4 %165 = load ptr, ptr %16, align 8 call void @llvm.stackrestore(ptr %165) br label %175 166: ; preds = %64 br label %167 167: ; preds = %166 %168 = load ptr, ptr %14, align 8 %169 = call ptr @readdir(ptr noundef %168) store ptr %169, ptr %15, align 8 br label %61, !llvm.loop !8 170: ; preds = %61 %171 = load ptr, ptr %14, align 8 %172 = call i32 @closedir(ptr noundef %171) br label %173 173: ; preds = %170, %50 br label %174 174: ; preds = %173, %47, %37 store i32 0, ptr %4, align 4 store i32 1, ptr %12, align 4 br label %175 175: ; preds = %174, %146, %36 %176 = load ptr, ptr %10, align 8 call void @llvm.stackrestore(ptr %176) %177 = load i32, ptr %4, align 4 ret i32 %177 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @strlen(ptr noundef) #2 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #2 declare ptr @dirname(ptr noundef) #2 declare ptr @basename(ptr noundef) #2 declare ptr @opendir(ptr noundef) #2 declare ptr @readdir(ptr noundef) #2 declare i32 @strncmp(i32 noundef, ptr noundef, i64 noundef) #2 declare signext i8 @next_prefix_char(ptr noundef, ptr noundef, i32 noundef) #2 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #2 declare i32 @stat(ptr noundef, ptr noundef) #2 declare i64 @S_ISDIR(i32 noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 declare i32 @closedir(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 nosync nounwind willreturn } 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/tmpsybkch2u.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.stat = type { i32 } %struct.dirent = type { i32 } @MAXPATHLEN = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [5 x i8] c"%s%s\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @complete(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 { %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 %9 = alloca ptr, align 8 %10 = alloca ptr, align 8 %11 = alloca i64, align 8 %12 = alloca i32, align 4 %13 = alloca i64, align 8 %14 = alloca ptr, align 8 %15 = alloca ptr, align 8 %16 = alloca ptr, align 8 %17 = alloca i64, align 8 %18 = alloca i32, align 4 %19 = alloca %struct.stat, align 4 %20 = alloca ptr, align 8 %21 = alloca i64, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i32 %2, ptr %7, align 4 %22 = load i32, ptr @MAXPATHLEN, align 4 %23 = zext i32 %22 to i64 %24 = call ptr @llvm.stacksave() store ptr %24, ptr %10, align 8 %25 = alloca i8, i64 %23, align 16 store i64 %23, ptr %11, align 8 %26 = load ptr, ptr %6, align 8 store i8 0, ptr %26, align 1 %27 = load ptr, ptr %5, align 8 %28 = load ptr, ptr %5, align 8 %29 = call i32 @strlen(ptr noundef %28) %30 = sub nsw i32 %29, 1 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds i8, ptr %27, i64 %31 %33 = load i8, ptr %32, align 1 %34 = sext i8 %33 to i32 %35 = icmp eq i32 %34, 47 br i1 %35, label %36, label %37 36: ; preds = %3 store i32 0, ptr %4, align 4 store i32 1, ptr %12, align 4 br label %178 37: ; preds = %3 %38 = load ptr, ptr %5, align 8 %39 = trunc i64 %23 to i32 %40 = call i32 @strncpy(ptr noundef %25, ptr noundef %38, i32 noundef %39) %41 = sub i64 %23, 1 %42 = getelementptr inbounds i8, ptr %25, i64 %41 store i8 0, ptr %42, align 1 %43 = call ptr @dirname(ptr noundef %25) store ptr %43, ptr %8, align 8 %44 = call ptr @basename(ptr noundef %25) store ptr %44, ptr %9, align 8 %45 = load ptr, ptr %8, align 8 %46 = icmp ne ptr %45, null br i1 %46, label %47, label %177 47: ; preds = %37 %48 = load ptr, ptr %9, align 8 %49 = icmp ne ptr %48, null br i1 %49, label %50, label %177 50: ; preds = %47 %51 = load ptr, ptr %9, align 8 %52 = call i32 @strlen(ptr noundef %51) %53 = sext i32 %52 to i64 store i64 %53, ptr %13, align 8 %54 = load ptr, ptr %8, align 8 %55 = call ptr @opendir(ptr noundef %54) store ptr %55, ptr %14, align 8 %56 = load ptr, ptr %14, align 8 %57 = icmp ne ptr %56, null br i1 %57, label %58, label %176 58: ; preds = %50 %59 = load ptr, ptr %14, align 8 %60 = call ptr @readdir(ptr noundef %59) store ptr %60, ptr %15, align 8 %61 = load ptr, ptr %15, align 8 %62 = icmp ne ptr %61, null br i1 %62, label %.lr.ph, label %173 .lr.ph: ; preds = %58 br label %63 63: ; preds = %.lr.ph, %168 %64 = load ptr, ptr %15, align 8 %65 = getelementptr inbounds %struct.dirent, ptr %64, i32 0, i32 0 %66 = load i32, ptr %65, align 4 %67 = load ptr, ptr %9, align 8 %68 = load i64, ptr %13, align 8 %69 = call i32 @strncmp(i32 noundef %66, ptr noundef %67, i64 noundef %68) %70 = icmp ne i32 %69, 0 br i1 %70, label %167, label %71 71: ; preds = %63 %72 = load i32, ptr @MAXPATHLEN, align 4 %73 = zext i32 %72 to i64 %74 = call ptr @llvm.stacksave() store ptr %74, ptr %16, align 8 %75 = alloca i8, i64 %73, align 16 store i64 %73, ptr %17, align 8 %76 = load i64, ptr %13, align 8 %77 = trunc i64 %76 to i32 store i32 %77, ptr %18, align 4 %78 = load ptr, ptr %9, align 8 %79 = sub i64 %73, 1 %80 = trunc i64 %79 to i32 %81 = call i32 @strncpy(ptr noundef %75, ptr noundef %78, i32 noundef %80) %82 = sub i64 %73, 1 %83 = getelementptr inbounds i8, ptr %75, i64 %82 store i8 0, ptr %83, align 1 %84 = load i32, ptr %18, align 4 %85 = zext i32 %84 to i64 %86 = icmp ult i64 %85, %73 br i1 %86, label %.lr.ph2, label %.loopexit .lr.ph2: ; preds = %71 br label %87 87: ; preds = %.lr.ph2, %139 %88 = load ptr, ptr %14, align 8 %89 = load i32, ptr %18, align 4 %90 = call signext i8 @next_prefix_char(ptr noundef %88, ptr noundef %75, i32 noundef %89) %91 = load i32, ptr %18, align 4 %92 = zext i32 %91 to i64 %93 = getelementptr inbounds i8, ptr %75, i64 %92 store i8 %90, ptr %93, align 1 %94 = load i32, ptr %18, align 4 %95 = zext i32 %94 to i64 %96 = getelementptr inbounds i8, ptr %75, i64 %95 %97 = load i8, ptr %96, align 1 %98 = sext i8 %97 to i32 %99 = icmp eq i32 %98, 0 br i1 %99, label %100, label %139 100: ; preds = %87 %101 = load i32, ptr %18, align 4 %102 = icmp ugt i32 %101, 0 br i1 %102, label %103, label %138 103: ; preds = %100 %104 = load i32, ptr %18, align 4 %105 = sub i32 %104, 1 %106 = zext i32 %105 to i64 %107 = getelementptr inbounds i8, ptr %75, i64 %106 %108 = load i8, ptr %107, align 1 %109 = sext i8 %108 to i32 %110 = icmp ne i32 %109, 47 br i1 %110, label %111, label %138 111: ; preds = %103 %112 = load i32, ptr @MAXPATHLEN, align 4 %113 = zext i32 %112 to i64 %114 = call ptr @llvm.stacksave() store ptr %114, ptr %20, align 8 %115 = alloca i8, i64 %113, align 16 store i64 %113, ptr %21, align 8 %116 = trunc i64 %113 to i32 %117 = load ptr, ptr %5, align 8 %118 = load i64, ptr %13, align 8 %119 = getelementptr inbounds i8, ptr %75, i64 %118 %120 = call i32 @snprintf(ptr noundef %115, i32 noundef %116, ptr noundef @.str, ptr noundef %117, ptr noundef %119) %121 = call i32 @stat(ptr noundef %115, ptr noundef %19) %122 = icmp ne i32 %121, 0 br i1 %122, label %136, label %123 123: ; preds = %111 %124 = getelementptr inbounds %struct.stat, ptr %19, i32 0, i32 0 %125 = load i32, ptr %124, align 4 %126 = call i64 @S_ISDIR(i32 noundef %125) %127 = icmp ne i64 %126, 0 br i1 %127, label %128, label %136 128: ; preds = %123 %129 = load i32, ptr %18, align 4 %130 = zext i32 %129 to i64 %131 = getelementptr inbounds i8, ptr %75, i64 %130 store i8 47, ptr %131, align 1 %132 = load i32, ptr %18, align 4 %133 = add i32 %132, 1 store i32 %133, ptr %18, align 4 %134 = zext i32 %133 to i64 %135 = getelementptr inbounds i8, ptr %75, i64 %134 store i8 0, ptr %135, align 1 br label %136 136: ; preds = %128, %123, %111 %137 = load ptr, ptr %20, align 8 call void @llvm.stackrestore(ptr %137) br label %138 138: ; preds = %136, %103, %100 br label %147 139: ; preds = %87 %140 = load i32, ptr %18, align 4 %141 = add i32 %140, 1 store i32 %141, ptr %18, align 4 %142 = zext i32 %141 to i64 %143 = getelementptr inbounds i8, ptr %75, i64 %142 store i8 0, ptr %143, align 1 %144 = load i32, ptr %18, align 4 %145 = zext i32 %144 to i64 %146 = icmp ult i64 %145, %73 br i1 %146, label %87, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %139 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %71 br label %147 147: ; preds = %.loopexit, %138 %148 = load ptr, ptr %6, align 8 %149 = load i64, ptr %13, align 8 %150 = getelementptr inbounds i8, ptr %75, i64 %149 %151 = load i32, ptr %7, align 4 %152 = sub i32 %151, 1 %153 = call i32 @strncpy(ptr noundef %148, ptr noundef %150, i32 noundef %152) %154 = load ptr, ptr %6, align 8 %155 = load i32, ptr %7, align 4 %156 = sub i32 %155, 1 %157 = zext i32 %156 to i64 %158 = getelementptr inbounds i8, ptr %154, i64 %157 store i8 0, ptr %158, align 1 %159 = load ptr, ptr %14, align 8 %160 = call i32 @closedir(ptr noundef %159) %161 = load i32, ptr %18, align 4 %162 = zext i32 %161 to i64 %163 = load i64, ptr %13, align 8 %164 = sub i64 %162, %163 %165 = trunc i64 %164 to i32 store i32 %165, ptr %4, align 4 store i32 1, ptr %12, align 4 %166 = load ptr, ptr %16, align 8 call void @llvm.stackrestore(ptr %166) br label %178 167: ; preds = %63 br label %168 168: ; preds = %167 %169 = load ptr, ptr %14, align 8 %170 = call ptr @readdir(ptr noundef %169) store ptr %170, ptr %15, align 8 %171 = load ptr, ptr %15, align 8 %172 = icmp ne ptr %171, null br i1 %172, label %63, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %168 br label %173 173: ; preds = %._crit_edge, %58 %174 = load ptr, ptr %14, align 8 %175 = call i32 @closedir(ptr noundef %174) br label %176 176: ; preds = %173, %50 br label %177 177: ; preds = %176, %47, %37 store i32 0, ptr %4, align 4 store i32 1, ptr %12, align 4 br label %178 178: ; preds = %177, %147, %36 %179 = load ptr, ptr %10, align 8 call void @llvm.stackrestore(ptr %179) %180 = load i32, ptr %4, align 4 ret i32 %180 } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @strlen(ptr noundef) #2 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #2 declare ptr @dirname(ptr noundef) #2 declare ptr @basename(ptr noundef) #2 declare ptr @opendir(ptr noundef) #2 declare ptr @readdir(ptr noundef) #2 declare i32 @strncmp(i32 noundef, ptr noundef, i64 noundef) #2 declare signext i8 @next_prefix_char(ptr noundef, ptr noundef, i32 noundef) #2 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #2 declare i32 @stat(ptr noundef, ptr noundef) #2 declare i64 @S_ISDIR(i32 noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #1 declare i32 @closedir(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 nosync nounwind willreturn } 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/tmpv17jf9a0.c' source_filename = "/tmp/tmpv17jf9a0.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/tmpv17jf9a0.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/tmpih4h0_r0.c' source_filename = "/tmp/tmpih4h0_r0.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_COLOR_BUFFER_BIT = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @display() #0 { %1 = load i32, ptr @GL_COLOR_BUFFER_BIT, align 4 %2 = call i32 @glClear(i32 noundef %1) %3 = call i32 (...) @draw_ball() %4 = call i32 (...) @glFlush() ret void } declare i32 @glClear(i32 noundef) #1 declare i32 @draw_ball(...) #1 declare i32 @glFlush(...) #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/tmpih4h0_r0.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_COLOR_BUFFER_BIT = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @display() #0 { %1 = load i32, ptr @GL_COLOR_BUFFER_BIT, align 4 %2 = call i32 @glClear(i32 noundef %1) %3 = call i32 (...) @draw_ball() %4 = call i32 (...) @glFlush() ret void } declare i32 @glClear(i32 noundef) #1 declare i32 @draw_ball(...) #1 declare i32 @glFlush(...) #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/tmpn5ui8di9.c' source_filename = "/tmp/tmpn5ui8di9.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 @BinarySearch(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %7 = load ptr, ptr %4, align 8 %8 = load i32, ptr %5, align 4 %9 = sub nsw i32 %8, 1 %10 = load i32, ptr %6, align 4 %11 = call i32 @_BinarySearch(ptr noundef %7, i32 noundef 0, i32 noundef %9, i32 noundef %10) ret i32 %11 } declare i32 @_BinarySearch(ptr 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/tmpn5ui8di9.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 @BinarySearch(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i32 %1, ptr %5, align 4 store i32 %2, ptr %6, align 4 %7 = load ptr, ptr %4, align 8 %8 = load i32, ptr %5, align 4 %9 = sub nsw i32 %8, 1 %10 = load i32, ptr %6, align 4 %11 = call i32 @_BinarySearch(ptr noundef %7, i32 noundef 0, i32 noundef %9, i32 noundef %10) ret i32 %11 } declare i32 @_BinarySearch(ptr 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/tmpxhtcpexv.c' source_filename = "/tmp/tmpxhtcpexv.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/tmpxhtcpexv.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_esjdxtx.c' source_filename = "/tmp/tmp_esjdxtx.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 @rleUncompress(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = 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 store i32 %3, ptr %8, align 4 %13 = load ptr, ptr %7, align 8 store ptr %13, ptr %10, align 8 %14 = load ptr, ptr %10, align 8 %15 = load i32, ptr %8, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds i8, ptr %14, i64 %16 store ptr %17, ptr %11, align 8 %18 = load ptr, ptr %5, align 8 %19 = load i32, ptr %6, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i8, ptr %18, i64 %20 store ptr %21, ptr %12, align 8 br label %22 22: ; preds = %60, %4 %23 = load ptr, ptr %10, align 8 %24 = load ptr, ptr %11, align 8 %25 = icmp ult ptr %23, %24 br i1 %25, label %26, label %61 26: ; preds = %22 %27 = load ptr, ptr %5, align 8 %28 = getelementptr inbounds i8, ptr %27, i32 1 store ptr %28, ptr %5, align 8 %29 = load i8, ptr %27, align 1 %30 = sext i8 %29 to i32 store i32 %30, ptr %9, align 4 %31 = load i32, ptr %9, align 4 %32 = icmp sgt i32 %31, 0 br i1 %32, label %33, label %46 33: ; preds = %26 %34 = load ptr, ptr %10, align 8 %35 = load ptr, ptr %5, align 8 %36 = load i32, ptr %9, align 4 %37 = call i32 @memcpy(ptr noundef %34, ptr noundef %35, i32 noundef %36) %38 = load i32, ptr %9, align 4 %39 = load ptr, ptr %5, align 8 %40 = sext i32 %38 to i64 %41 = getelementptr inbounds i8, ptr %39, i64 %40 store ptr %41, ptr %5, align 8 %42 = load i32, ptr %9, align 4 %43 = load ptr, ptr %10, align 8 %44 = sext i32 %42 to i64 %45 = getelementptr inbounds i8, ptr %43, i64 %44 store ptr %45, ptr %10, align 8 br label %60 46: ; preds = %26 %47 = load i32, ptr %9, align 4 %48 = sub nsw i32 0, %47 store i32 %48, ptr %9, align 4 %49 = load ptr, ptr %10, align 8 %50 = load ptr, ptr %5, align 8 %51 = getelementptr inbounds i8, ptr %50, i32 1 store ptr %51, ptr %5, align 8 %52 = load i8, ptr %50, align 1 %53 = sext i8 %52 to i32 %54 = load i32, ptr %9, align 4 %55 = call i32 @memset(ptr noundef %49, i32 noundef %53, i32 noundef %54) %56 = load i32, ptr %9, align 4 %57 = load ptr, ptr %10, align 8 %58 = sext i32 %56 to i64 %59 = getelementptr inbounds i8, ptr %57, i64 %58 store ptr %59, ptr %10, align 8 br label %60 60: ; preds = %46, %33 br label %22, !llvm.loop !6 61: ; preds = %22 %62 = load ptr, ptr %10, align 8 %63 = load ptr, ptr %11, align 8 %64 = icmp eq ptr %62, %63 br i1 %64, label %65, label %69 65: ; preds = %61 %66 = load ptr, ptr %5, align 8 %67 = load ptr, ptr %12, align 8 %68 = icmp eq ptr %66, %67 br label %69 69: ; preds = %65, %61 %70 = phi i1 [ false, %61 ], [ %68, %65 ] %71 = zext i1 %70 to i32 %72 = call i32 @assert(i32 noundef %71) ret void } declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_esjdxtx.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 @rleUncompress(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca ptr, align 8 %11 = alloca ptr, align 8 %12 = 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 store i32 %3, ptr %8, align 4 %13 = load ptr, ptr %7, align 8 store ptr %13, ptr %10, align 8 %14 = load ptr, ptr %10, align 8 %15 = load i32, ptr %8, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds i8, ptr %14, i64 %16 store ptr %17, ptr %11, align 8 %18 = load ptr, ptr %5, align 8 %19 = load i32, ptr %6, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i8, ptr %18, i64 %20 store ptr %21, ptr %12, align 8 %22 = load ptr, ptr %10, align 8 %23 = load ptr, ptr %11, align 8 %24 = icmp ult ptr %22, %23 br i1 %24, label %.lr.ph, label %63 .lr.ph: ; preds = %4 br label %25 25: ; preds = %.lr.ph, %59 %26 = load ptr, ptr %5, align 8 %27 = getelementptr inbounds i8, ptr %26, i32 1 store ptr %27, ptr %5, align 8 %28 = load i8, ptr %26, align 1 %29 = sext i8 %28 to i32 store i32 %29, ptr %9, align 4 %30 = load i32, ptr %9, align 4 %31 = icmp sgt i32 %30, 0 br i1 %31, label %32, label %45 32: ; preds = %25 %33 = load ptr, ptr %10, align 8 %34 = load ptr, ptr %5, align 8 %35 = load i32, ptr %9, align 4 %36 = call i32 @memcpy(ptr noundef %33, ptr noundef %34, i32 noundef %35) %37 = load i32, ptr %9, align 4 %38 = load ptr, ptr %5, align 8 %39 = sext i32 %37 to i64 %40 = getelementptr inbounds i8, ptr %38, i64 %39 store ptr %40, ptr %5, align 8 %41 = load i32, ptr %9, align 4 %42 = load ptr, ptr %10, align 8 %43 = sext i32 %41 to i64 %44 = getelementptr inbounds i8, ptr %42, i64 %43 store ptr %44, ptr %10, align 8 br label %59 45: ; preds = %25 %46 = load i32, ptr %9, align 4 %47 = sub nsw i32 0, %46 store i32 %47, ptr %9, align 4 %48 = load ptr, ptr %10, align 8 %49 = load ptr, ptr %5, align 8 %50 = getelementptr inbounds i8, ptr %49, i32 1 store ptr %50, ptr %5, align 8 %51 = load i8, ptr %49, align 1 %52 = sext i8 %51 to i32 %53 = load i32, ptr %9, align 4 %54 = call i32 @memset(ptr noundef %48, i32 noundef %52, i32 noundef %53) %55 = load i32, ptr %9, align 4 %56 = load ptr, ptr %10, align 8 %57 = sext i32 %55 to i64 %58 = getelementptr inbounds i8, ptr %56, i64 %57 store ptr %58, ptr %10, align 8 br label %59 59: ; preds = %45, %32 %60 = load ptr, ptr %10, align 8 %61 = load ptr, ptr %11, align 8 %62 = icmp ult ptr %60, %61 br i1 %62, label %25, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %59 br label %63 63: ; preds = %._crit_edge, %4 %64 = load ptr, ptr %10, align 8 %65 = load ptr, ptr %11, align 8 %66 = icmp eq ptr %64, %65 br i1 %66, label %67, label %71 67: ; preds = %63 %68 = load ptr, ptr %5, align 8 %69 = load ptr, ptr %12, align 8 %70 = icmp eq ptr %68, %69 br label %71 71: ; preds = %67, %63 %72 = phi i1 [ false, %63 ], [ %70, %67 ] %73 = zext i1 %72 to i32 %74 = call i32 @assert(i32 noundef %73) ret void } declare i32 @memcpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmps0ufs86s.c' source_filename = "/tmp/tmps0ufs86s.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 [41 x i8] c"The moon travels %f miles in one orbit\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca double, align 8 %3 = alloca float, align 4 store i32 0, ptr %1, align 4 store float 0x410CBDD700000000, ptr %3, align 4 %4 = load float, ptr %3, align 4 %5 = fmul float %4, 2.000000e+00 %6 = fpext float %5 to double %7 = fmul double %6, 0x400921FB54442D11 store double %7, ptr %2, align 8 %8 = load double, ptr %2, align 8 %9 = call i32 @printf(ptr noundef @.str, double noundef %8) ret i32 0 } declare i32 @printf(ptr 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmps0ufs86s.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 [41 x i8] c"The moon travels %f miles in one orbit\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca double, align 8 %3 = alloca float, align 4 store i32 0, ptr %1, align 4 store float 0x410CBDD700000000, ptr %3, align 4 %4 = load float, ptr %3, align 4 %5 = fmul float %4, 2.000000e+00 %6 = fpext float %5 to double %7 = fmul double %6, 0x400921FB54442D11 store double %7, ptr %2, align 8 %8 = load double, ptr %2, align 8 %9 = call i32 @printf(ptr noundef @.str, double noundef %8) ret i32 0 } declare i32 @printf(ptr 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"}
; ModuleID = '/tmp/tmp3exg68cc.c' source_filename = "/tmp/tmp3exg68cc.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 [6 x i8] c"%d %d\00", align 1 @.str.1 = private unnamed_addr constant [53 x i8] c"%d + %d = %d\0A%d - %d = %d\0A%d * %d = %d\0A%d / %d = %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 ptr, align 8 %4 = alloca ptr, align 8 store ptr %1, ptr %3, align 8 store ptr %2, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @scanf(ptr noundef @.str, ptr noundef %5, ptr noundef %6) %8 = load i32, ptr %1, align 4 %9 = load i32, ptr %2, align 4 %10 = load i32, ptr %1, align 4 %11 = load i32, ptr %2, align 4 %12 = add nsw i32 %10, %11 %13 = load i32, ptr %1, align 4 %14 = load i32, ptr %2, align 4 %15 = load i32, ptr %1, align 4 %16 = load i32, ptr %2, align 4 %17 = sub nsw i32 %15, %16 %18 = load i32, ptr %1, align 4 %19 = load i32, ptr %2, align 4 %20 = load i32, ptr %1, align 4 %21 = load i32, ptr %2, align 4 %22 = mul nsw i32 %20, %21 %23 = load i32, ptr %1, align 4 %24 = load i32, ptr %2, align 4 %25 = load i32, ptr %1, align 4 %26 = load i32, ptr %2, align 4 %27 = sdiv i32 %25, %26 %28 = call i32 @printf(ptr noundef @.str.1, i32 noundef %8, i32 noundef %9, i32 noundef %12, i32 noundef %13, i32 noundef %14, i32 noundef %17, i32 noundef %18, i32 noundef %19, i32 noundef %22, i32 noundef %23, i32 noundef %24, i32 noundef %27) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef, 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/tmp3exg68cc.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 [6 x i8] c"%d %d\00", align 1 @.str.1 = private unnamed_addr constant [53 x i8] c"%d + %d = %d\0A%d - %d = %d\0A%d * %d = %d\0A%d / %d = %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 ptr, align 8 %4 = alloca ptr, align 8 store ptr %1, ptr %3, align 8 store ptr %2, ptr %4, align 8 %5 = load ptr, ptr %3, align 8 %6 = load ptr, ptr %4, align 8 %7 = call i32 @scanf(ptr noundef @.str, ptr noundef %5, ptr noundef %6) %8 = load i32, ptr %1, align 4 %9 = load i32, ptr %2, align 4 %10 = load i32, ptr %1, align 4 %11 = load i32, ptr %2, align 4 %12 = add nsw i32 %10, %11 %13 = load i32, ptr %1, align 4 %14 = load i32, ptr %2, align 4 %15 = load i32, ptr %1, align 4 %16 = load i32, ptr %2, align 4 %17 = sub nsw i32 %15, %16 %18 = load i32, ptr %1, align 4 %19 = load i32, ptr %2, align 4 %20 = load i32, ptr %1, align 4 %21 = load i32, ptr %2, align 4 %22 = mul nsw i32 %20, %21 %23 = load i32, ptr %1, align 4 %24 = load i32, ptr %2, align 4 %25 = load i32, ptr %1, align 4 %26 = load i32, ptr %2, align 4 %27 = sdiv i32 %25, %26 %28 = call i32 @printf(ptr noundef @.str.1, i32 noundef %8, i32 noundef %9, i32 noundef %12, i32 noundef %13, i32 noundef %14, i32 noundef %17, i32 noundef %18, i32 noundef %19, i32 noundef %22, i32 noundef %23, i32 noundef %24, i32 noundef %27) ret i32 0 } declare i32 @scanf(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef, 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/tmps1ig3aou.c' source_filename = "/tmp/tmps1ig3aou.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/tmps1ig3aou.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/tmp6hnvo59e.c' source_filename = "/tmp/tmp6hnvo59e.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 [21 x i8] c"Usage:mkdir name ...\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 slt i32 %6, 2 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 0) #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 @mkdir(ptr noundef %15, i32 noundef 511) ret i32 %16 } declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @_exit(i32 noundef) #2 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" } 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/tmp6hnvo59e.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 [21 x i8] c"Usage:mkdir name ...\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 slt i32 %6, 2 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 0) #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 @mkdir(ptr noundef %15, i32 noundef 511) ret i32 %16 } declare i32 @fprintf(i32 noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @_exit(i32 noundef) #2 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" } 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/tmp5qq8e0ja.c' source_filename = "/tmp/tmp5qq8e0ja.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 [62 x i8] c"Content-type: text/html\0A\0A<HTML><HEAD><TITLE>%s</TITLE></HEAD>\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @htmlHeader(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 @printf(ptr noundef @.str, ptr noundef %3) ret void } 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/tmp5qq8e0ja.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 [62 x i8] c"Content-type: text/html\0A\0A<HTML><HEAD><TITLE>%s</TITLE></HEAD>\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @htmlHeader(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 @printf(ptr noundef @.str, ptr noundef %3) ret void } 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/tmp3ioev9yp.c' source_filename = "/tmp/tmp3ioev9yp.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.in_addr = type { i32 } %struct.netent = type { ptr, i32, i32 } @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [20 x i8] c"Usage: %s hostname\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [13 x i8] c"getnetbyname\00", align 1 @.str.2 = private unnamed_addr constant [30 x i8] c"Name: %s; type: %d; addr: %s\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; 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 %struct.in_addr, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = load i32, ptr %4, align 4 %9 = icmp ne i32 %8, 2 br i1 %9, label %10, label %18 10: ; preds = %2 %11 = load i32, ptr @stderr, align 4 %12 = load ptr, ptr %5, align 8 %13 = getelementptr inbounds ptr, ptr %12, i64 0 %14 = load ptr, ptr %13, align 8 %15 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str, ptr noundef %14) %16 = load i32, ptr @EXIT_FAILURE, align 4 %17 = call i32 @exit(i32 noundef %16) #3 unreachable 18: ; preds = %2 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds ptr, ptr %19, i64 1 %21 = load ptr, ptr %20, align 8 %22 = call ptr @getnetbyname(ptr noundef %21) store ptr %22, ptr %6, align 8 %23 = load ptr, ptr %6, align 8 %24 = icmp eq ptr %23, null br i1 %24, label %25, label %29 25: ; preds = %18 %26 = call i32 @perror(ptr noundef @.str.1) %27 = load i32, ptr @EXIT_FAILURE, align 4 %28 = call i32 @exit(i32 noundef %27) #3 unreachable 29: ; preds = %18 %30 = load ptr, ptr %6, align 8 %31 = getelementptr inbounds %struct.netent, ptr %30, i32 0, i32 2 %32 = load i32, ptr %31, align 4 %33 = getelementptr inbounds %struct.in_addr, ptr %7, i32 0, i32 0 store i32 %32, ptr %33, align 4 %34 = load ptr, ptr %6, align 8 %35 = getelementptr inbounds %struct.netent, ptr %34, i32 0, i32 0 %36 = load ptr, ptr %35, align 8 %37 = load ptr, ptr %6, align 8 %38 = getelementptr inbounds %struct.netent, ptr %37, i32 0, i32 1 %39 = load i32, ptr %38, align 8 %40 = getelementptr inbounds %struct.in_addr, ptr %7, i32 0, i32 0 %41 = load i32, ptr %40, align 4 %42 = call ptr @inet_ntoa(i32 %41) %43 = call i32 @printf(ptr noundef @.str.2, ptr noundef %36, i32 noundef %39, ptr noundef %42) %44 = load i32, ptr @EXIT_SUCCESS, align 4 %45 = call i32 @exit(i32 noundef %44) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @getnetbyname(ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare ptr @inet_ntoa(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" } 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/tmp3ioev9yp.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.in_addr = type { i32 } %struct.netent = type { ptr, i32, i32 } @stderr = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [20 x i8] c"Usage: %s hostname\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [13 x i8] c"getnetbyname\00", align 1 @.str.2 = private unnamed_addr constant [30 x i8] c"Name: %s; type: %d; addr: %s\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; 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 %struct.in_addr, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %8 = load i32, ptr %4, align 4 %9 = icmp ne i32 %8, 2 br i1 %9, label %10, label %18 10: ; preds = %2 %11 = load i32, ptr @stderr, align 4 %12 = load ptr, ptr %5, align 8 %13 = getelementptr inbounds ptr, ptr %12, i64 0 %14 = load ptr, ptr %13, align 8 %15 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str, ptr noundef %14) %16 = load i32, ptr @EXIT_FAILURE, align 4 %17 = call i32 @exit(i32 noundef %16) #3 unreachable 18: ; preds = %2 %19 = load ptr, ptr %5, align 8 %20 = getelementptr inbounds ptr, ptr %19, i64 1 %21 = load ptr, ptr %20, align 8 %22 = call ptr @getnetbyname(ptr noundef %21) store ptr %22, ptr %6, align 8 %23 = load ptr, ptr %6, align 8 %24 = icmp eq ptr %23, null br i1 %24, label %25, label %29 25: ; preds = %18 %26 = call i32 @perror(ptr noundef @.str.1) %27 = load i32, ptr @EXIT_FAILURE, align 4 %28 = call i32 @exit(i32 noundef %27) #3 unreachable 29: ; preds = %18 %30 = load ptr, ptr %6, align 8 %31 = getelementptr inbounds %struct.netent, ptr %30, i32 0, i32 2 %32 = load i32, ptr %31, align 4 %33 = getelementptr inbounds %struct.in_addr, ptr %7, i32 0, i32 0 store i32 %32, ptr %33, align 4 %34 = load ptr, ptr %6, align 8 %35 = getelementptr inbounds %struct.netent, ptr %34, i32 0, i32 0 %36 = load ptr, ptr %35, align 8 %37 = load ptr, ptr %6, align 8 %38 = getelementptr inbounds %struct.netent, ptr %37, i32 0, i32 1 %39 = load i32, ptr %38, align 8 %40 = getelementptr inbounds %struct.in_addr, ptr %7, i32 0, i32 0 %41 = load i32, ptr %40, align 4 %42 = call ptr @inet_ntoa(i32 %41) %43 = call i32 @printf(ptr noundef @.str.2, ptr noundef %36, i32 noundef %39, ptr noundef %42) %44 = load i32, ptr @EXIT_SUCCESS, align 4 %45 = call i32 @exit(i32 noundef %44) #3 unreachable } declare i32 @fprintf(i32 noundef, ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare ptr @getnetbyname(ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @printf(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare ptr @inet_ntoa(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" } 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/tmpmnocy4d7.c' source_filename = "/tmp/tmpmnocy4d7.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" @EINVAL = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @mmap_free(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 %6 = load ptr, ptr %4, align 8 %7 = icmp eq ptr %6, null br i1 %7, label %8, label %10 8: ; preds = %2 %9 = load i32, ptr @EINVAL, align 4 store i32 %9, ptr @errno, align 4 store i32 -1, ptr %3, align 4 br label %17 10: ; preds = %2 %11 = load ptr, ptr %4, align 8 %12 = load i64, ptr %5, align 8 %13 = call i32 @munmap(ptr noundef %11, i64 noundef %12) %14 = icmp eq i32 %13, -1 br i1 %14, label %15, label %16 15: ; preds = %10 store i32 -1, ptr %3, align 4 br label %17 16: ; preds = %10 store i32 0, ptr %3, align 4 br label %17 17: ; preds = %16, %15, %8 %18 = load i32, ptr %3, align 4 ret i32 %18 } declare i32 @munmap(ptr noundef, i64 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/tmpmnocy4d7.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" @EINVAL = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @mmap_free(ptr noundef %0, i64 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i64, align 8 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 %6 = load ptr, ptr %4, align 8 %7 = icmp eq ptr %6, null br i1 %7, label %8, label %10 8: ; preds = %2 %9 = load i32, ptr @EINVAL, align 4 store i32 %9, ptr @errno, align 4 store i32 -1, ptr %3, align 4 br label %17 10: ; preds = %2 %11 = load ptr, ptr %4, align 8 %12 = load i64, ptr %5, align 8 %13 = call i32 @munmap(ptr noundef %11, i64 noundef %12) %14 = icmp eq i32 %13, -1 br i1 %14, label %15, label %16 15: ; preds = %10 store i32 -1, ptr %3, align 4 br label %17 16: ; preds = %10 store i32 0, ptr %3, align 4 br label %17 17: ; preds = %16, %15, %8 %18 = load i32, ptr %3, align 4 ret i32 %18 } declare i32 @munmap(ptr noundef, i64 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/tmpt7j4ladx.c' source_filename = "/tmp/tmpt7j4ladx.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.epoll_event = type { i32, %struct.TYPE_2__ } %struct.TYPE_2__ = type { i32 } @EPOLLIN = dso_local global i32 0, align 4 @EPOLLET = dso_local global i32 0, align 4 @EPOLLONESHOT = dso_local global i32 0, align 4 @EPOLL_CTL_ADD = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [26 x i8] c"epoll_ctl(2): add epollin\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @add_epollin(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca %struct.epoll_event, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %4, align 4 %7 = getelementptr inbounds %struct.epoll_event, ptr %5, i32 0, i32 1 %8 = getelementptr inbounds %struct.TYPE_2__, ptr %7, i32 0, i32 0 store i32 %6, ptr %8, align 4 %9 = load i32, ptr @EPOLLIN, align 4 %10 = load i32, ptr @EPOLLET, align 4 %11 = or i32 %9, %10 %12 = load i32, ptr @EPOLLONESHOT, align 4 %13 = or i32 %11, %12 %14 = getelementptr inbounds %struct.epoll_event, ptr %5, i32 0, i32 0 store i32 %13, ptr %14, align 4 %15 = load i32, ptr %3, align 4 %16 = load i32, ptr @EPOLL_CTL_ADD, align 4 %17 = load i32, ptr %4, align 4 %18 = call i64 @epoll_ctl(i32 noundef %15, i32 noundef %16, i32 noundef %17, ptr noundef %5) %19 = icmp slt i64 %18, 0 br i1 %19, label %20, label %22 20: ; preds = %2 %21 = call i32 @perror(ptr noundef @.str) br label %22 22: ; preds = %20, %2 ret void } declare i64 @epoll_ctl(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @perror(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/tmpt7j4ladx.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.epoll_event = type { i32, %struct.TYPE_2__ } %struct.TYPE_2__ = type { i32 } @EPOLLIN = dso_local global i32 0, align 4 @EPOLLET = dso_local global i32 0, align 4 @EPOLLONESHOT = dso_local global i32 0, align 4 @EPOLL_CTL_ADD = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [26 x i8] c"epoll_ctl(2): add epollin\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @add_epollin(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca %struct.epoll_event, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %6 = load i32, ptr %4, align 4 %7 = getelementptr inbounds %struct.epoll_event, ptr %5, i32 0, i32 1 %8 = getelementptr inbounds %struct.TYPE_2__, ptr %7, i32 0, i32 0 store i32 %6, ptr %8, align 4 %9 = load i32, ptr @EPOLLIN, align 4 %10 = load i32, ptr @EPOLLET, align 4 %11 = or i32 %9, %10 %12 = load i32, ptr @EPOLLONESHOT, align 4 %13 = or i32 %11, %12 %14 = getelementptr inbounds %struct.epoll_event, ptr %5, i32 0, i32 0 store i32 %13, ptr %14, align 4 %15 = load i32, ptr %3, align 4 %16 = load i32, ptr @EPOLL_CTL_ADD, align 4 %17 = load i32, ptr %4, align 4 %18 = call i64 @epoll_ctl(i32 noundef %15, i32 noundef %16, i32 noundef %17, ptr noundef %5) %19 = icmp slt i64 %18, 0 br i1 %19, label %20, label %22 20: ; preds = %2 %21 = call i32 @perror(ptr noundef @.str) br label %22 22: ; preds = %20, %2 ret void } declare i64 @epoll_ctl(i32 noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @perror(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/tmpqpsm914_.c' source_filename = "/tmp/tmpqpsm914_.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/tmpqpsm914_.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/tmp5lqwyq3x.c' source_filename = "/tmp/tmp5lqwyq3x.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(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 = call i32 (...) @path_alloc() %7 = call i32 @free(i32 noundef %6) ret i32 0 } declare i32 @free(i32 noundef) #1 declare i32 @path_alloc(...) #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/tmp5lqwyq3x.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(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 = call i32 (...) @path_alloc() %7 = call i32 @free(i32 noundef %6) ret i32 0 } declare i32 @free(i32 noundef) #1 declare i32 @path_alloc(...) #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/tmpsrycroxq.c' source_filename = "/tmp/tmpsrycroxq.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/tmpsrycroxq.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/tmpb8g4gskm.c' source_filename = "/tmp/tmpb8g4gskm.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 @do0xCB() #0 { %1 = call i32 (...) @_I8080_JMP() ret void } declare i32 @_I8080_JMP(...) #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/tmpb8g4gskm.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 @do0xCB() #0 { %1 = call i32 (...) @_I8080_JMP() ret void } declare i32 @_I8080_JMP(...) #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/tmpdzote56w.c' source_filename = "/tmp/tmpdzote56w.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/tmpdzote56w.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/tmpi22xh9ol.c' source_filename = "/tmp/tmpi22xh9ol.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 @u_getdent(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 %8 = alloca [256 x i8], align 16 %9 = alloca [256 x i8], align 16 %10 = alloca i16, align 2 %11 = alloca i16, align 2 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 %12 = load ptr, ptr %5, align 8 %13 = load i8, ptr %12, align 1 %14 = sext i8 %13 to i32 %15 = icmp ne i32 %14, 47 br i1 %15, label %16, label %20 16: ; preds = %3 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0 %19 = call i32 @relpath_to_abspath(ptr noundef %17, ptr noundef %18) br label %24 20: ; preds = %3 %21 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0 %22 = load ptr, ptr %5, align 8 %23 = call i32 @strncpy(ptr noundef %21, ptr noundef %22, i32 noundef 256) br label %24 24: ; preds = %20, %16 %25 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0 %26 = call i32 @get_dev_and_path(ptr noundef %25, ptr noundef %10, ptr noundef %11, ptr noundef %8) %27 = load i16, ptr %11, align 2 %28 = sext i16 %27 to i32 switch i32 %28, label %42 [ i32 1, label %29 i32 2, label %35 i32 3, label %36 i32 0, label %41 ] 29: ; preds = %24 %30 = load i16, ptr %10, align 2 %31 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0 %32 = load i32, ptr %6, align 4 %33 = load ptr, ptr %7, align 8 %34 = call i32 @mx_getdent(i16 noundef signext %30, ptr noundef %31, i32 noundef %32, ptr noundef %33) store i32 %34, ptr %4, align 4 br label %43 35: ; preds = %24 store i32 -1, ptr %4, align 4 br label %43 36: ; preds = %24 %37 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0 %38 = load i32, ptr %6, align 4 %39 = load ptr, ptr %7, align 8 %40 = call i32 @dev_getdent(ptr noundef %37, i32 noundef %38, ptr noundef %39) store i32 %40, ptr %4, align 4 br label %43 41: ; preds = %24 store i32 -1, ptr %4, align 4 br label %43 42: ; preds = %24 store i32 -1, ptr %4, align 4 br label %43 43: ; preds = %42, %41, %36, %35, %29 %44 = load i32, ptr %4, align 4 ret i32 %44 } declare i32 @relpath_to_abspath(ptr noundef, ptr noundef) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @get_dev_and_path(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @mx_getdent(i16 noundef signext, ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @dev_getdent(ptr 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/tmpi22xh9ol.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 @u_getdent(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 %8 = alloca [256 x i8], align 16 %9 = alloca [256 x i8], align 16 %10 = alloca i16, align 2 %11 = alloca i16, align 2 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 %12 = load ptr, ptr %5, align 8 %13 = load i8, ptr %12, align 1 %14 = sext i8 %13 to i32 %15 = icmp ne i32 %14, 47 br i1 %15, label %16, label %20 16: ; preds = %3 %17 = load ptr, ptr %5, align 8 %18 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0 %19 = call i32 @relpath_to_abspath(ptr noundef %17, ptr noundef %18) br label %24 20: ; preds = %3 %21 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0 %22 = load ptr, ptr %5, align 8 %23 = call i32 @strncpy(ptr noundef %21, ptr noundef %22, i32 noundef 256) br label %24 24: ; preds = %20, %16 %25 = getelementptr inbounds [256 x i8], ptr %9, i64 0, i64 0 %26 = call i32 @get_dev_and_path(ptr noundef %25, ptr noundef %10, ptr noundef %11, ptr noundef %8) %27 = load i16, ptr %11, align 2 %28 = sext i16 %27 to i32 switch i32 %28, label %42 [ i32 1, label %29 i32 2, label %35 i32 3, label %36 i32 0, label %41 ] 29: ; preds = %24 %30 = load i16, ptr %10, align 2 %31 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0 %32 = load i32, ptr %6, align 4 %33 = load ptr, ptr %7, align 8 %34 = call i32 @mx_getdent(i16 noundef signext %30, ptr noundef %31, i32 noundef %32, ptr noundef %33) store i32 %34, ptr %4, align 4 br label %43 35: ; preds = %24 store i32 -1, ptr %4, align 4 br label %43 36: ; preds = %24 %37 = getelementptr inbounds [256 x i8], ptr %8, i64 0, i64 0 %38 = load i32, ptr %6, align 4 %39 = load ptr, ptr %7, align 8 %40 = call i32 @dev_getdent(ptr noundef %37, i32 noundef %38, ptr noundef %39) store i32 %40, ptr %4, align 4 br label %43 41: ; preds = %24 store i32 -1, ptr %4, align 4 br label %43 42: ; preds = %24 store i32 -1, ptr %4, align 4 br label %43 43: ; preds = %42, %41, %36, %35, %29 %44 = load i32, ptr %4, align 4 ret i32 %44 } declare i32 @relpath_to_abspath(ptr noundef, ptr noundef) #1 declare i32 @strncpy(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @get_dev_and_path(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @mx_getdent(i16 noundef signext, ptr noundef, i32 noundef, ptr noundef) #1 declare i32 @dev_getdent(ptr 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/tmpzxi1_7e_.c' source_filename = "/tmp/tmpzxi1_7e_.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 void @print_factorial(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca [200 x i8], align 16 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 0, ptr %4, align 4 store i32 200, ptr %6, align 4 %7 = getelementptr inbounds [200 x i8], ptr %3, i64 0, i64 0 %8 = call i32 @memset(ptr noundef %7, i32 noundef 0, i32 noundef 200) %9 = getelementptr inbounds [200 x i8], ptr %3, i64 0, i64 0 store i8 1, ptr %9, align 16 store i32 2, ptr %5, align 4 br label %10 10: ; preds = %18, %1 %11 = load i32, ptr %5, align 4 %12 = load i32, ptr %2, align 4 %13 = icmp sle i32 %11, %12 br i1 %13, label %14, label %21 14: ; preds = %10 %15 = getelementptr inbounds [200 x i8], ptr %3, i64 0, i64 0 %16 = load i32, ptr %5, align 4 %17 = call i32 @array_multiplication(ptr noundef %15, i32 noundef 200, i32 noundef %16) br label %18 18: ; preds = %14 %19 = load i32, ptr %5, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %5, align 4 br label %10, !llvm.loop !6 21: ; preds = %10 br label %22 22: ; preds = %48, %29, %21 %23 = load i32, ptr %6, align 4 %24 = add nsw i32 %23, -1 store i32 %24, ptr %6, align 4 %25 = icmp ne i32 %23, 0 br i1 %25, label %26, label %49 26: ; preds = %22 %27 = load i32, ptr %4, align 4 %28 = icmp ne i32 %27, 0 br i1 %28, label %29, label %35 29: ; preds = %26 %30 = load i32, ptr %6, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds [200 x i8], ptr %3, i64 0, i64 %31 %33 = load i8, ptr %32, align 1 %34 = call i32 @printf(ptr noundef @.str, i8 noundef signext %33) br label %22, !llvm.loop !8 35: ; preds = %26 %36 = load i32, ptr %6, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds [200 x i8], ptr %3, i64 0, i64 %37 %39 = load i8, ptr %38, align 1 %40 = sext i8 %39 to i32 %41 = icmp ne i32 %40, 0 br i1 %41, label %42, label %48 42: ; preds = %35 %43 = load i32, ptr %6, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds [200 x i8], ptr %3, i64 0, i64 %44 %46 = load i8, ptr %45, align 1 %47 = call i32 @printf(ptr noundef @.str, i8 noundef signext %46) store i32 1, ptr %4, align 4 br label %48 48: ; preds = %42, %35 br label %22, !llvm.loop !8 49: ; preds = %22 ret void } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @array_multiplication(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, 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"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpzxi1_7e_.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 void @print_factorial(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca [200 x i8], align 16 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %2, align 4 store i32 0, ptr %4, align 4 store i32 200, ptr %6, align 4 %7 = getelementptr inbounds [200 x i8], ptr %3, i64 0, i64 0 %8 = call i32 @memset(ptr noundef %7, i32 noundef 0, i32 noundef 200) %9 = getelementptr inbounds [200 x i8], ptr %3, i64 0, i64 0 store i8 1, ptr %9, align 16 store i32 2, ptr %5, align 4 %10 = load i32, ptr %5, align 4 %11 = load i32, ptr %2, align 4 %12 = icmp sle i32 %10, %11 br i1 %12, label %.lr.ph, label %23 .lr.ph: ; preds = %1 br label %13 13: ; preds = %.lr.ph, %17 %14 = getelementptr inbounds [200 x i8], ptr %3, i64 0, i64 0 %15 = load i32, ptr %5, align 4 %16 = call i32 @array_multiplication(ptr noundef %14, i32 noundef 200, i32 noundef %15) br label %17 17: ; preds = %13 %18 = load i32, ptr %5, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %5, align 4 %20 = load i32, ptr %5, align 4 %21 = load i32, ptr %2, align 4 %22 = icmp sle i32 %20, %21 br i1 %22, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %17 br label %23 23: ; preds = %._crit_edge, %1 %24 = load i32, ptr %6, align 4 %25 = add nsw i32 %24, -1 store i32 %25, ptr %6, align 4 %26 = icmp ne i32 %24, 0 br i1 %26, label %.lr.ph2, label %53 .lr.ph2: ; preds = %23 br label %27 27: ; preds = %.lr.ph2, %.backedge %28 = load i32, ptr %4, align 4 %29 = icmp ne i32 %28, 0 br i1 %29, label %30, label %39 30: ; preds = %27 %31 = load i32, ptr %6, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds [200 x i8], ptr %3, i64 0, i64 %32 %34 = load i8, ptr %33, align 1 %35 = call i32 @printf(ptr noundef @.str, i8 noundef signext %34) br label %.backedge .backedge: ; preds = %30, %52 %36 = load i32, ptr %6, align 4 %37 = add nsw i32 %36, -1 store i32 %37, ptr %6, align 4 %38 = icmp ne i32 %36, 0 br i1 %38, label %27, label %._crit_edge3, !llvm.loop !8 39: ; preds = %27 %40 = load i32, ptr %6, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds [200 x i8], ptr %3, i64 0, i64 %41 %43 = load i8, ptr %42, align 1 %44 = sext i8 %43 to i32 %45 = icmp ne i32 %44, 0 br i1 %45, label %46, label %52 46: ; preds = %39 %47 = load i32, ptr %6, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds [200 x i8], ptr %3, i64 0, i64 %48 %50 = load i8, ptr %49, align 1 %51 = call i32 @printf(ptr noundef @.str, i8 noundef signext %50) store i32 1, ptr %4, align 4 br label %52 52: ; preds = %46, %39 br label %.backedge ._crit_edge3: ; preds = %.backedge br label %53 53: ; preds = %._crit_edge3, %23 ret void } declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @array_multiplication(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, 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"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpdrzksq49.c' source_filename = "/tmp/tmpdrzksq49.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 [30 x i8] c"Can't set this cpu affinity!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cpu_affinity(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %5 = call i32 @CPU_ZERO(ptr noundef %4) %6 = load i32, ptr %2, align 4 %7 = call i32 @CPU_SET(i32 noundef %6, ptr noundef %4) %8 = call i32 (...) @getpid() %9 = call i32 @sched_setaffinity(i32 noundef %8, i32 noundef 4, ptr noundef %4) store i32 %9, ptr %3, align 4 %10 = load i32, ptr %3, align 4 %11 = icmp ne i32 %10, 0 br i1 %11, label %12, label %14 12: ; preds = %1 %13 = call i32 @panic(ptr noundef @.str) br label %14 14: ; preds = %12, %1 ret void } declare i32 @CPU_ZERO(ptr noundef) #1 declare i32 @CPU_SET(i32 noundef, ptr noundef) #1 declare i32 @sched_setaffinity(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @getpid(...) #1 declare i32 @panic(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/tmpdrzksq49.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 [30 x i8] c"Can't set this cpu affinity!\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cpu_affinity(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %5 = call i32 @CPU_ZERO(ptr noundef %4) %6 = load i32, ptr %2, align 4 %7 = call i32 @CPU_SET(i32 noundef %6, ptr noundef %4) %8 = call i32 (...) @getpid() %9 = call i32 @sched_setaffinity(i32 noundef %8, i32 noundef 4, ptr noundef %4) store i32 %9, ptr %3, align 4 %10 = load i32, ptr %3, align 4 %11 = icmp ne i32 %10, 0 br i1 %11, label %12, label %14 12: ; preds = %1 %13 = call i32 @panic(ptr noundef @.str) br label %14 14: ; preds = %12, %1 ret void } declare i32 @CPU_ZERO(ptr noundef) #1 declare i32 @CPU_SET(i32 noundef, ptr noundef) #1 declare i32 @sched_setaffinity(i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @getpid(...) #1 declare i32 @panic(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/tmpbutxszd6.c' source_filename = "/tmp/tmpbutxszd6.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 @kill(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 @__kill(i32 noundef %5, i32 noundef %6, i32 noundef 0) ret i32 %7 } declare i32 @__kill(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/tmpbutxszd6.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 @kill(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 @__kill(i32 noundef %5, i32 noundef %6, i32 noundef 0) ret i32 %7 } declare i32 @__kill(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/tmp_3wm1umd.c' source_filename = "/tmp/tmp_3wm1umd.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_3wm1umd.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/tmpm6rn838v.c' source_filename = "/tmp/tmpm6rn838v.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 @strncasecmp(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 store i64 0, ptr %8, align 8 br label %9 9: ; preds = %35, %3 %10 = load i64, ptr %8, align 8 %11 = load i64, ptr %7, align 8 %12 = icmp ult i64 %10, %11 br i1 %12, label %13, label %32 13: ; preds = %9 %14 = load ptr, ptr %5, align 8 %15 = load i64, ptr %8, align 8 %16 = getelementptr inbounds i8, ptr %14, i64 %15 %17 = load i8, ptr %16, align 1 %18 = call i64 @tolower(i8 noundef signext %17) %19 = load ptr, ptr %6, align 8 %20 = load i64, ptr %8, align 8 %21 = getelementptr inbounds i8, ptr %19, i64 %20 %22 = load i8, ptr %21, align 1 %23 = call i64 @tolower(i8 noundef signext %22) %24 = icmp eq i64 %18, %23 br i1 %24, label %25, label %32 25: ; preds = %13 %26 = load ptr, ptr %5, align 8 %27 = load i64, ptr %8, align 8 %28 = getelementptr inbounds i8, ptr %26, i64 %27 %29 = load i8, ptr %28, align 1 %30 = sext i8 %29 to i32 %31 = icmp ne i32 %30, 0 br label %32 32: ; preds = %25, %13, %9 %33 = phi i1 [ false, %13 ], [ false, %9 ], [ %31, %25 ] br i1 %33, label %34, label %38 34: ; preds = %32 br label %35 35: ; preds = %34 %36 = load i64, ptr %8, align 8 %37 = add i64 %36, 1 store i64 %37, ptr %8, align 8 br label %9, !llvm.loop !6 38: ; preds = %32 %39 = load i64, ptr %8, align 8 %40 = load i64, ptr %7, align 8 %41 = icmp eq i64 %39, %40 br i1 %41, label %54, label %42 42: ; preds = %38 %43 = load ptr, ptr %5, align 8 %44 = load i64, ptr %8, align 8 %45 = getelementptr inbounds i8, ptr %43, i64 %44 %46 = load i8, ptr %45, align 1 %47 = call i64 @tolower(i8 noundef signext %46) %48 = load ptr, ptr %6, align 8 %49 = load i64, ptr %8, align 8 %50 = getelementptr inbounds i8, ptr %48, i64 %49 %51 = load i8, ptr %50, align 1 %52 = call i64 @tolower(i8 noundef signext %51) %53 = icmp eq i64 %47, %52 br i1 %53, label %54, label %55 54: ; preds = %42, %38 store i32 0, ptr %4, align 4 br label %85 55: ; preds = %42 %56 = load ptr, ptr %5, align 8 %57 = load i64, ptr %8, align 8 %58 = getelementptr inbounds i8, ptr %56, i64 %57 %59 = load i8, ptr %58, align 1 %60 = sext i8 %59 to i32 %61 = icmp eq i32 %60, 0 br i1 %61, label %62, label %63 62: ; preds = %55 store i32 -1, ptr %4, align 4 br label %85 63: ; preds = %55 %64 = load ptr, ptr %6, align 8 %65 = load i64, ptr %8, align 8 %66 = getelementptr inbounds i8, ptr %64, i64 %65 %67 = load i8, ptr %66, align 1 %68 = sext i8 %67 to i32 %69 = icmp eq i32 %68, 0 br i1 %69, label %70, label %71 70: ; preds = %63 store i32 1, ptr %4, align 4 br label %85 71: ; preds = %63 %72 = load ptr, ptr %5, align 8 %73 = load i64, ptr %8, align 8 %74 = getelementptr inbounds i8, ptr %72, i64 %73 %75 = load i8, ptr %74, align 1 %76 = call i64 @tolower(i8 noundef signext %75) %77 = load ptr, ptr %6, align 8 %78 = load i64, ptr %8, align 8 %79 = getelementptr inbounds i8, ptr %77, i64 %78 %80 = load i8, ptr %79, align 1 %81 = call i64 @tolower(i8 noundef signext %80) %82 = icmp slt i64 %76, %81 br i1 %82, label %83, label %84 83: ; preds = %71 store i32 -1, ptr %4, align 4 br label %85 84: ; preds = %71 store i32 1, ptr %4, align 4 br label %85 85: ; preds = %84, %83, %70, %62, %54 %86 = load i32, ptr %4, align 4 ret i32 %86 } declare i64 @tolower(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/tmpm6rn838v.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 @strncasecmp(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca i64, align 8 store ptr %0, ptr %5, align 8 store ptr %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 store i64 0, ptr %8, align 8 br label %9 9: ; preds = %35, %3 %10 = load i64, ptr %8, align 8 %11 = load i64, ptr %7, align 8 %12 = icmp ult i64 %10, %11 br i1 %12, label %13, label %32 13: ; preds = %9 %14 = load ptr, ptr %5, align 8 %15 = load i64, ptr %8, align 8 %16 = getelementptr inbounds i8, ptr %14, i64 %15 %17 = load i8, ptr %16, align 1 %18 = call i64 @tolower(i8 noundef signext %17) %19 = load ptr, ptr %6, align 8 %20 = load i64, ptr %8, align 8 %21 = getelementptr inbounds i8, ptr %19, i64 %20 %22 = load i8, ptr %21, align 1 %23 = call i64 @tolower(i8 noundef signext %22) %24 = icmp eq i64 %18, %23 br i1 %24, label %25, label %32 25: ; preds = %13 %26 = load ptr, ptr %5, align 8 %27 = load i64, ptr %8, align 8 %28 = getelementptr inbounds i8, ptr %26, i64 %27 %29 = load i8, ptr %28, align 1 %30 = sext i8 %29 to i32 %31 = icmp ne i32 %30, 0 br label %32 32: ; preds = %25, %13, %9 %33 = phi i1 [ false, %13 ], [ false, %9 ], [ %31, %25 ] br i1 %33, label %34, label %38 34: ; preds = %32 br label %35 35: ; preds = %34 %36 = load i64, ptr %8, align 8 %37 = add i64 %36, 1 store i64 %37, ptr %8, align 8 br label %9, !llvm.loop !6 38: ; preds = %32 %39 = load i64, ptr %8, align 8 %40 = load i64, ptr %7, align 8 %41 = icmp eq i64 %39, %40 br i1 %41, label %54, label %42 42: ; preds = %38 %43 = load ptr, ptr %5, align 8 %44 = load i64, ptr %8, align 8 %45 = getelementptr inbounds i8, ptr %43, i64 %44 %46 = load i8, ptr %45, align 1 %47 = call i64 @tolower(i8 noundef signext %46) %48 = load ptr, ptr %6, align 8 %49 = load i64, ptr %8, align 8 %50 = getelementptr inbounds i8, ptr %48, i64 %49 %51 = load i8, ptr %50, align 1 %52 = call i64 @tolower(i8 noundef signext %51) %53 = icmp eq i64 %47, %52 br i1 %53, label %54, label %55 54: ; preds = %42, %38 store i32 0, ptr %4, align 4 br label %85 55: ; preds = %42 %56 = load ptr, ptr %5, align 8 %57 = load i64, ptr %8, align 8 %58 = getelementptr inbounds i8, ptr %56, i64 %57 %59 = load i8, ptr %58, align 1 %60 = sext i8 %59 to i32 %61 = icmp eq i32 %60, 0 br i1 %61, label %62, label %63 62: ; preds = %55 store i32 -1, ptr %4, align 4 br label %85 63: ; preds = %55 %64 = load ptr, ptr %6, align 8 %65 = load i64, ptr %8, align 8 %66 = getelementptr inbounds i8, ptr %64, i64 %65 %67 = load i8, ptr %66, align 1 %68 = sext i8 %67 to i32 %69 = icmp eq i32 %68, 0 br i1 %69, label %70, label %71 70: ; preds = %63 store i32 1, ptr %4, align 4 br label %85 71: ; preds = %63 %72 = load ptr, ptr %5, align 8 %73 = load i64, ptr %8, align 8 %74 = getelementptr inbounds i8, ptr %72, i64 %73 %75 = load i8, ptr %74, align 1 %76 = call i64 @tolower(i8 noundef signext %75) %77 = load ptr, ptr %6, align 8 %78 = load i64, ptr %8, align 8 %79 = getelementptr inbounds i8, ptr %77, i64 %78 %80 = load i8, ptr %79, align 1 %81 = call i64 @tolower(i8 noundef signext %80) %82 = icmp slt i64 %76, %81 br i1 %82, label %83, label %84 83: ; preds = %71 store i32 -1, ptr %4, align 4 br label %85 84: ; preds = %71 store i32 1, ptr %4, align 4 br label %85 85: ; preds = %84, %83, %70, %62, %54 %86 = load i32, ptr %4, align 4 ret i32 %86 } declare i64 @tolower(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/tmpv9rwjt98.c' source_filename = "/tmp/tmpv9rwjt98.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" @stdout = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_array_heap(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %4, align 4 %7 = load i32, ptr @stdout, align 4 %8 = call i32 @array_heap_save(ptr noundef %5, i32 noundef %6, i32 noundef %7) ret void } declare i32 @array_heap_save(ptr 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/tmpv9rwjt98.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" @stdout = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_array_heap(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %4, align 4 %7 = load i32, ptr @stdout, align 4 %8 = call i32 @array_heap_save(ptr noundef %5, i32 noundef %6, i32 noundef %7) ret void } declare i32 @array_heap_save(ptr 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/tmp7hzqr9iq.c' source_filename = "/tmp/tmp7hzqr9iq.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/tmp7hzqr9iq.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/tmpcw9gbk1b.c' source_filename = "/tmp/tmpcw9gbk1b.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/tmpcw9gbk1b.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/tmpjau4cdui.c' source_filename = "/tmp/tmpjau4cdui.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 [62 x i8] c"il y a %d minuscules, %d majuscules et %d autres caract\C3\A8res\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; 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 %6, align 4 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 store i32 1, ptr %9, align 4 br label %12 12: ; preds = %89, %2 %13 = load i32, ptr %9, align 4 %14 = load i32, ptr %4, align 4 %15 = icmp slt i32 %13, %14 br i1 %15, label %16, label %92 16: ; preds = %12 %17 = load ptr, ptr %5, align 8 %18 = load i32, ptr %9, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds ptr, ptr %17, i64 %19 %21 = load ptr, ptr %20, align 8 %22 = call i32 @strlen(ptr noundef %21) store i32 %22, ptr %10, align 4 store i32 0, ptr %11, align 4 br label %23 23: ; preds = %85, %16 %24 = load i32, ptr %11, align 4 %25 = load i32, ptr %10, align 4 %26 = icmp slt i32 %24, %25 br i1 %26, label %27, label %88 27: ; preds = %23 %28 = load ptr, ptr %5, align 8 %29 = load i32, ptr %9, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds ptr, ptr %28, i64 %30 %32 = load ptr, ptr %31, align 8 %33 = load i32, ptr %11, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds i8, ptr %32, i64 %34 %36 = load i8, ptr %35, align 1 %37 = sext i8 %36 to i32 %38 = icmp sge i32 %37, 97 br i1 %38, label %39, label %54 39: ; preds = %27 %40 = load ptr, ptr %5, align 8 %41 = load i32, ptr %9, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds ptr, ptr %40, i64 %42 %44 = load ptr, ptr %43, align 8 %45 = load i32, ptr %11, 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 slt i32 %49, 122 br i1 %50, label %51, label %54 51: ; preds = %39 %52 = load i32, ptr %6, align 4 %53 = add nsw i32 %52, 1 store i32 %53, ptr %6, align 4 br label %85 54: ; preds = %39, %27 %55 = load ptr, ptr %5, align 8 %56 = load i32, ptr %9, align 4 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds ptr, ptr %55, i64 %57 %59 = load ptr, ptr %58, align 8 %60 = load i32, ptr %11, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds i8, ptr %59, i64 %61 %63 = load i8, ptr %62, align 1 %64 = sext i8 %63 to i32 %65 = icmp sge i32 %64, 65 br i1 %65, label %66, label %81 66: ; preds = %54 %67 = load ptr, ptr %5, align 8 %68 = load i32, ptr %9, align 4 %69 = sext i32 %68 to i64 %70 = getelementptr inbounds ptr, ptr %67, i64 %69 %71 = load ptr, ptr %70, align 8 %72 = load i32, ptr %11, align 4 %73 = sext i32 %72 to i64 %74 = getelementptr inbounds i8, ptr %71, i64 %73 %75 = load i8, ptr %74, align 1 %76 = sext i8 %75 to i32 %77 = icmp slt i32 %76, 90 br i1 %77, label %78, label %81 78: ; preds = %66 %79 = load i32, ptr %7, align 4 %80 = add nsw i32 %79, 1 store i32 %80, ptr %7, align 4 br label %84 81: ; preds = %66, %54 %82 = load i32, ptr %8, align 4 %83 = add nsw i32 %82, 1 store i32 %83, ptr %8, align 4 br label %84 84: ; preds = %81, %78 br label %85 85: ; preds = %84, %51 %86 = load i32, ptr %11, align 4 %87 = add nsw i32 %86, 1 store i32 %87, ptr %11, align 4 br label %23, !llvm.loop !6 88: ; preds = %23 br label %89 89: ; preds = %88 %90 = load i32, ptr %9, align 4 %91 = add nsw i32 %90, 1 store i32 %91, ptr %9, align 4 br label %12, !llvm.loop !8 92: ; preds = %12 %93 = load i32, ptr %6, align 4 %94 = load i32, ptr %7, align 4 %95 = load i32, ptr %8, align 4 %96 = call i32 @printf(ptr noundef @.str, i32 noundef %93, i32 noundef %94, i32 noundef %95) %97 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %97 } declare i32 @strlen(ptr noundef) #1 declare i32 @printf(ptr 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpjau4cdui.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 [62 x i8] c"il y a %d minuscules, %d majuscules et %d autres caract\C3\A8res\0A\00", align 1 @EXIT_SUCCESS = dso_local global i32 0, align 4 ; 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 %6, align 4 store i32 0, ptr %7, align 4 store i32 0, ptr %8, align 4 store i32 1, ptr %9, align 4 %12 = load i32, ptr %9, align 4 %13 = load i32, ptr %4, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %.lr.ph2, label %96 .lr.ph2: ; preds = %2 br label %15 15: ; preds = %.lr.ph2, %90 %16 = load ptr, ptr %5, align 8 %17 = load i32, ptr %9, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds ptr, ptr %16, i64 %18 %20 = load ptr, ptr %19, align 8 %21 = call i32 @strlen(ptr noundef %20) store i32 %21, ptr %10, align 4 store i32 0, ptr %11, align 4 %22 = load i32, ptr %11, align 4 %23 = load i32, ptr %10, align 4 %24 = icmp slt i32 %22, %23 br i1 %24, label %.lr.ph, label %89 .lr.ph: ; preds = %15 br label %25 25: ; preds = %.lr.ph, %83 %26 = load ptr, ptr %5, align 8 %27 = load i32, ptr %9, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds ptr, ptr %26, i64 %28 %30 = load ptr, ptr %29, align 8 %31 = load i32, ptr %11, align 4 %32 = sext i32 %31 to i64 %33 = getelementptr inbounds i8, ptr %30, i64 %32 %34 = load i8, ptr %33, align 1 %35 = sext i8 %34 to i32 %36 = icmp sge i32 %35, 97 br i1 %36, label %37, label %52 37: ; preds = %25 %38 = load ptr, ptr %5, align 8 %39 = load i32, ptr %9, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds ptr, ptr %38, i64 %40 %42 = load ptr, ptr %41, align 8 %43 = load i32, ptr %11, align 4 %44 = sext i32 %43 to i64 %45 = getelementptr inbounds i8, ptr %42, i64 %44 %46 = load i8, ptr %45, align 1 %47 = sext i8 %46 to i32 %48 = icmp slt i32 %47, 122 br i1 %48, label %49, label %52 49: ; preds = %37 %50 = load i32, ptr %6, align 4 %51 = add nsw i32 %50, 1 store i32 %51, ptr %6, align 4 br label %83 52: ; preds = %37, %25 %53 = load ptr, ptr %5, align 8 %54 = load i32, ptr %9, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds ptr, ptr %53, i64 %55 %57 = load ptr, ptr %56, align 8 %58 = load i32, ptr %11, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds i8, ptr %57, i64 %59 %61 = load i8, ptr %60, align 1 %62 = sext i8 %61 to i32 %63 = icmp sge i32 %62, 65 br i1 %63, label %64, label %79 64: ; preds = %52 %65 = load ptr, ptr %5, align 8 %66 = load i32, ptr %9, align 4 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds ptr, ptr %65, i64 %67 %69 = load ptr, ptr %68, align 8 %70 = load i32, ptr %11, align 4 %71 = sext i32 %70 to i64 %72 = getelementptr inbounds i8, ptr %69, i64 %71 %73 = load i8, ptr %72, align 1 %74 = sext i8 %73 to i32 %75 = icmp slt i32 %74, 90 br i1 %75, label %76, label %79 76: ; preds = %64 %77 = load i32, ptr %7, align 4 %78 = add nsw i32 %77, 1 store i32 %78, ptr %7, align 4 br label %82 79: ; preds = %64, %52 %80 = load i32, ptr %8, align 4 %81 = add nsw i32 %80, 1 store i32 %81, ptr %8, align 4 br label %82 82: ; preds = %79, %76 br label %83 83: ; preds = %82, %49 %84 = load i32, ptr %11, align 4 %85 = add nsw i32 %84, 1 store i32 %85, ptr %11, align 4 %86 = load i32, ptr %11, align 4 %87 = load i32, ptr %10, align 4 %88 = icmp slt i32 %86, %87 br i1 %88, label %25, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %83 br label %89 89: ; preds = %._crit_edge, %15 br label %90 90: ; preds = %89 %91 = load i32, ptr %9, align 4 %92 = add nsw i32 %91, 1 store i32 %92, ptr %9, align 4 %93 = load i32, ptr %9, align 4 %94 = load i32, ptr %4, align 4 %95 = icmp slt i32 %93, %94 br i1 %95, label %15, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %90 br label %96 96: ; preds = %._crit_edge3, %2 %97 = load i32, ptr %6, align 4 %98 = load i32, ptr %7, align 4 %99 = load i32, ptr %8, align 4 %100 = call i32 @printf(ptr noundef @.str, i32 noundef %97, i32 noundef %98, i32 noundef %99) %101 = load i32, ptr @EXIT_SUCCESS, align 4 ret i32 %101 } declare i32 @strlen(ptr noundef) #1 declare i32 @printf(ptr 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp1kg02be6.c' source_filename = "/tmp/tmp1kg02be6.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.test_no_hits_no_pseudo.actual = private unnamed_addr constant [4 x i8] c"RRRR", align 1 @__const.test_no_hits_no_pseudo.guess = private unnamed_addr constant [4 x i8] c"GGGG", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @test_no_hits_no_pseudo() #0 { %1 = alloca [4 x i8], align 1 %2 = alloca [4 x i8], align 1 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %1, ptr align 1 @__const.test_no_hits_no_pseudo.actual, i64 4, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.test_no_hits_no_pseudo.guess, i64 4, i1 false) %3 = getelementptr inbounds [4 x i8], ptr %1, i64 0, i64 0 %4 = getelementptr inbounds [4 x i8], ptr %2, i64 0, i64 0 %5 = call i64 @hits(ptr noundef %3, ptr noundef %4, i32 noundef 4) %6 = icmp eq i64 0, %5 br i1 %6, label %7, label %12 7: ; preds = %0 %8 = getelementptr inbounds [4 x i8], ptr %1, i64 0, i64 0 %9 = getelementptr inbounds [4 x i8], ptr %2, i64 0, i64 0 %10 = call i64 @pseudo(ptr noundef %8, ptr noundef %9, i32 noundef 4) %11 = icmp eq i64 0, %10 br label %12 12: ; preds = %7, %0 %13 = phi i1 [ false, %0 ], [ %11, %7 ] %14 = zext i1 %13 to i32 ret i32 %14 } ; 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 i64 @hits(ptr noundef, ptr noundef, i32 noundef) #2 declare i64 @pseudo(ptr 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: 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/tmp1kg02be6.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.test_no_hits_no_pseudo.actual = private unnamed_addr constant [4 x i8] c"RRRR", align 1 @__const.test_no_hits_no_pseudo.guess = private unnamed_addr constant [4 x i8] c"GGGG", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @test_no_hits_no_pseudo() #0 { %1 = alloca [4 x i8], align 1 %2 = alloca [4 x i8], align 1 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %1, ptr align 1 @__const.test_no_hits_no_pseudo.actual, i64 4, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2, ptr align 1 @__const.test_no_hits_no_pseudo.guess, i64 4, i1 false) %3 = getelementptr inbounds [4 x i8], ptr %1, i64 0, i64 0 %4 = getelementptr inbounds [4 x i8], ptr %2, i64 0, i64 0 %5 = call i64 @hits(ptr noundef %3, ptr noundef %4, i32 noundef 4) %6 = icmp eq i64 0, %5 br i1 %6, label %7, label %12 7: ; preds = %0 %8 = getelementptr inbounds [4 x i8], ptr %1, i64 0, i64 0 %9 = getelementptr inbounds [4 x i8], ptr %2, i64 0, i64 0 %10 = call i64 @pseudo(ptr noundef %8, ptr noundef %9, i32 noundef 4) %11 = icmp eq i64 0, %10 br label %12 12: ; preds = %7, %0 %13 = phi i1 [ false, %0 ], [ %11, %7 ] %14 = zext i1 %13 to i32 ret i32 %14 } ; 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 i64 @hits(ptr noundef, ptr noundef, i32 noundef) #2 declare i64 @pseudo(ptr 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: 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/tmpz_j1depi.c' source_filename = "/tmp/tmpz_j1depi.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 @notify_right_motor_speed_received(i8 noundef zeroext %0) #0 { %2 = alloca i8, align 1 store i8 %0, ptr %2, align 1 %3 = load i8, ptr %2, align 1 %4 = call i32 @right_motor_speed_received(i8 noundef zeroext %3) ret void } declare i32 @right_motor_speed_received(i8 noundef zeroext) #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/tmpz_j1depi.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 @notify_right_motor_speed_received(i8 noundef zeroext %0) #0 { %2 = alloca i8, align 1 store i8 %0, ptr %2, align 1 %3 = load i8, ptr %2, align 1 %4 = call i32 @right_motor_speed_received(i8 noundef zeroext %3) ret void } declare i32 @right_motor_speed_received(i8 noundef zeroext) #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/tmpq5nj70wc.c' source_filename = "/tmp/tmpq5nj70wc.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/tmpq5nj70wc.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/tmpokka6690.c' source_filename = "/tmp/tmpokka6690.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 float @atanhf(float noundef %0) #0 { %2 = alloca float, align 4 store float %0, ptr %2, align 4 %3 = load float, ptr %2, align 4 %4 = call float @__ocml_atanh_f32(float noundef %3) ret float %4 } declare float @__ocml_atanh_f32(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/tmpokka6690.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 float @atanhf(float noundef %0) #0 { %2 = alloca float, align 4 store float %0, ptr %2, align 4 %3 = load float, ptr %2, align 4 %4 = call float @__ocml_atanh_f32(float noundef %3) ret float %4 } declare float @__ocml_atanh_f32(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/tmpjr9h0or1.c' source_filename = "/tmp/tmpjr9h0or1.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 @extractPort(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 @arrayToUIntBE(ptr noundef %3, i32 noundef 2) ret i32 %4 } declare i32 @arrayToUIntBE(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/tmpjr9h0or1.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 @extractPort(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 @arrayToUIntBE(ptr noundef %3, i32 noundef 2) ret i32 %4 } declare i32 @arrayToUIntBE(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/tmpuoczlkmy.c' source_filename = "/tmp/tmpuoczlkmy.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"rb\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @stbi__fopen(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %4, align 8 %7 = getelementptr inbounds i8, ptr %6, i64 1 store ptr %7, ptr %4, align 8 %8 = load ptr, ptr %3, align 8 %9 = call ptr @fopen(ptr noundef %8, ptr noundef @.str) store ptr %9, ptr %5, align 8 %10 = load ptr, ptr %5, align 8 ret ptr %10 } declare ptr @fopen(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/tmpuoczlkmy.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"rb\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @stbi__fopen(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 %6 = load ptr, ptr %4, align 8 %7 = getelementptr inbounds i8, ptr %6, i64 1 store ptr %7, ptr %4, align 8 %8 = load ptr, ptr %3, align 8 %9 = call ptr @fopen(ptr noundef %8, ptr noundef @.str) store ptr %9, ptr %5, align 8 %10 = load ptr, ptr %5, align 8 ret ptr %10 } declare ptr @fopen(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/tmp4ae1a4c9.c' source_filename = "/tmp/tmp4ae1a4c9.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" @F_SETFD = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @so_cloexec(i32 noundef %0, i1 noundef zeroext %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i8, align 1 store i32 %0, ptr %4, align 4 %6 = zext i1 %1 to i8 store i8 %6, ptr %5, align 1 %7 = load i32, ptr %4, align 4 %8 = load i32, ptr @F_SETFD, align 4 %9 = load i8, ptr %5, align 1 %10 = trunc i8 %9 to i1 %11 = call i32 @fcntl(i32 noundef %7, i32 noundef %8, i1 noundef zeroext %10) %12 = icmp eq i32 -1, %11 br i1 %12, label %13, label %15 13: ; preds = %2 %14 = load i32, ptr @errno, align 4 store i32 %14, ptr %3, align 4 br label %16 15: ; preds = %2 store i32 0, ptr %3, align 4 br label %16 16: ; preds = %15, %13 %17 = load i32, ptr %3, align 4 ret i32 %17 } declare i32 @fcntl(i32 noundef, i32 noundef, i1 noundef zeroext) #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/tmp4ae1a4c9.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" @F_SETFD = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @so_cloexec(i32 noundef %0, i1 noundef zeroext %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i8, align 1 store i32 %0, ptr %4, align 4 %6 = zext i1 %1 to i8 store i8 %6, ptr %5, align 1 %7 = load i32, ptr %4, align 4 %8 = load i32, ptr @F_SETFD, align 4 %9 = load i8, ptr %5, align 1 %10 = trunc i8 %9 to i1 %11 = call i32 @fcntl(i32 noundef %7, i32 noundef %8, i1 noundef zeroext %10) %12 = icmp eq i32 -1, %11 br i1 %12, label %13, label %15 13: ; preds = %2 %14 = load i32, ptr @errno, align 4 store i32 %14, ptr %3, align 4 br label %16 15: ; preds = %2 store i32 0, ptr %3, align 4 br label %16 16: ; preds = %15, %13 %17 = load i32, ptr %3, align 4 ret i32 %17 } declare i32 @fcntl(i32 noundef, i32 noundef, i1 noundef zeroext) #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/tmpjqcfwvhr.c' source_filename = "/tmp/tmpjqcfwvhr.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/tmpjqcfwvhr.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/tmp4y5yv3mj.c' source_filename = "/tmp/tmp4y5yv3mj.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 @grg_get_grid_address_from_index(ptr noundef %0, i64 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load i64, ptr %5, align 8 %9 = load ptr, ptr %6, align 8 %10 = call i32 @get_grid_address_from_index(ptr noundef %7, i64 noundef %8, ptr noundef %9) ret void } declare i32 @get_grid_address_from_index(ptr noundef, i64 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/tmp4y5yv3mj.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 @grg_get_grid_address_from_index(ptr noundef %0, i64 noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i64, align 8 %6 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store i64 %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %7 = load ptr, ptr %4, align 8 %8 = load i64, ptr %5, align 8 %9 = load ptr, ptr %6, align 8 %10 = call i32 @get_grid_address_from_index(ptr noundef %7, i64 noundef %8, ptr noundef %9) ret void } declare i32 @get_grid_address_from_index(ptr noundef, i64 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/tmpxpkg5ez6.c' source_filename = "/tmp/tmpxpkg5ez6.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/tmpxpkg5ez6.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/tmpvhffzylk.c' source_filename = "/tmp/tmpvhffzylk.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/tmpvhffzylk.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/tmpui00agng.c' source_filename = "/tmp/tmpui00agng.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/tmpui00agng.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/tmph9t9v17u.c' source_filename = "/tmp/tmph9t9v17u.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 @varithimm_141_uint64_t(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 br label %6 6: ; preds = %30, %2 %7 = load i32, ptr %5, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %7, %8 br i1 %9, label %10, label %33 10: ; preds = %6 %11 = load ptr, ptr %3, align 8 %12 = load i32, ptr %5, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds i64, ptr %11, i64 %13 %15 = load i64, ptr %14, align 8 %16 = icmp sgt i64 %15, 141 br i1 %16, label %17, label %23 17: ; preds = %10 %18 = load ptr, ptr %3, align 8 %19 = load i32, ptr %5, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds i64, ptr %18, i64 %20 %22 = load i64, ptr %21, align 8 br label %24 23: ; preds = %10 br label %24 24: ; preds = %23, %17 %25 = phi i64 [ %22, %17 ], [ 141, %23 ] %26 = load ptr, ptr %3, align 8 %27 = load i32, ptr %5, align 4 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i64, ptr %26, i64 %28 store i64 %25, ptr %29, align 8 br label %30 30: ; preds = %24 %31 = load i32, ptr %5, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %5, align 4 br label %6, !llvm.loop !6 33: ; preds = %6 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmph9t9v17u.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 @varithimm_141_uint64_t(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 %6 = load i32, ptr %5, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp slt i32 %6, %7 br i1 %8, label %.lr.ph, label %35 .lr.ph: ; preds = %2 br label %9 9: ; preds = %.lr.ph, %29 %10 = load ptr, ptr %3, align 8 %11 = load i32, ptr %5, align 4 %12 = sext i32 %11 to i64 %13 = getelementptr inbounds i64, ptr %10, i64 %12 %14 = load i64, ptr %13, align 8 %15 = icmp sgt i64 %14, 141 br i1 %15, label %16, label %22 16: ; preds = %9 %17 = load ptr, ptr %3, align 8 %18 = load i32, ptr %5, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i64, ptr %17, i64 %19 %21 = load i64, ptr %20, align 8 br label %23 22: ; preds = %9 br label %23 23: ; preds = %22, %16 %24 = phi i64 [ %21, %16 ], [ 141, %22 ] %25 = load ptr, ptr %3, align 8 %26 = load i32, ptr %5, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds i64, ptr %25, i64 %27 store i64 %24, ptr %28, align 8 br label %29 29: ; preds = %23 %30 = load i32, ptr %5, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %5, align 4 %32 = load i32, ptr %5, align 4 %33 = load i32, ptr %4, align 4 %34 = icmp slt i32 %32, %33 br i1 %34, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %29 br label %35 35: ; preds = %._crit_edge, %2 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"}
; ModuleID = '/tmp/tmpkx462vwt.c' source_filename = "/tmp/tmpkx462vwt.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"%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 ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = load i32, ptr %3, align 4 %6 = sub nsw i32 %5, 1 %7 = call i32 @printf(ptr noundef @.str, i32 noundef %6) ret i32 0 } 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/tmpkx462vwt.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"%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 ptr, align 8 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 %5 = load i32, ptr %3, align 4 %6 = sub nsw i32 %5, 1 %7 = call i32 @printf(ptr noundef @.str, i32 noundef %6) ret i32 0 } 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/tmp9nkp6sh1.c' source_filename = "/tmp/tmp9nkp6sh1.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/tmp9nkp6sh1.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/tmppu7akw_5.c' source_filename = "/tmp/tmppu7akw_5.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"input string1:\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"input string2:\0A\00", align 1 @.str.3 = private unnamed_addr constant [23 x i8] c"the new string is :%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [100 x i8], align 16 %3 = alloca [100 x i8], align 16 %4 = alloca [100 x i8], align 16 store i32 0, ptr %1, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) %6 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6) %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %9 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 0 %10 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %9) %11 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %12 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 0 %13 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 0 call void @concatenate(ptr noundef %11, ptr noundef %12, ptr noundef %13) %14 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 0 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %14) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare void @concatenate(ptr 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/tmppu7akw_5.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"input string1:\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%s\00", align 1 @.str.2 = private unnamed_addr constant [16 x i8] c"input string2:\0A\00", align 1 @.str.3 = private unnamed_addr constant [23 x i8] c"the new string is :%s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [100 x i8], align 16 %3 = alloca [100 x i8], align 16 %4 = alloca [100 x i8], align 16 store i32 0, ptr %1, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) %6 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %6) %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %9 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 0 %10 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %9) %11 = getelementptr inbounds [100 x i8], ptr %2, i64 0, i64 0 %12 = getelementptr inbounds [100 x i8], ptr %3, i64 0, i64 0 %13 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 0 call void @concatenate(ptr noundef %11, ptr noundef %12, ptr noundef %13) %14 = getelementptr inbounds [100 x i8], ptr %4, i64 0, i64 0 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %14) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare void @concatenate(ptr 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/tmp0kjitppy.c' source_filename = "/tmp/tmp0kjitppy.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.udphdr = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @udphdr_source_ntohs(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = getelementptr inbounds %struct.udphdr, ptr %3, i32 0, i32 0 %5 = load i32, ptr %4, align 4 %6 = call i32 @ntohs(i32 noundef %5) ret i32 %6 } declare i32 @ntohs(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/tmp0kjitppy.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.udphdr = type { i32 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @udphdr_source_ntohs(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = getelementptr inbounds %struct.udphdr, ptr %3, i32 0, i32 0 %5 = load i32, ptr %4, align 4 %6 = call i32 @ntohs(i32 noundef %5) ret i32 %6 } declare i32 @ntohs(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/tmp_c1ezgkj.c' source_filename = "/tmp/tmp_c1ezgkj.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"%i \00", align 1 @.str.1 = private unnamed_addr constant [17 x i8] c"\0A Wartosci i : \09\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @petla_for_i_plus_plus(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 br label %6 6: ; preds = %10, %2 %7 = load i32, ptr %5, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %7, %8 br i1 %9, label %10, label %18 10: ; preds = %6 %11 = load ptr, ptr %3, align 8 %12 = load i32, ptr %5, align 4 %13 = add nsw i32 %12, 1 store i32 %13, ptr %5, align 4 %14 = sext i32 %12 to i64 %15 = getelementptr inbounds i32, ptr %11, i64 %14 %16 = load i32, ptr %15, align 4 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %16) br label %6, !llvm.loop !6 18: ; preds = %6 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %5, align 4 br label %20 20: ; preds = %24, %18 %21 = load i32, ptr %5, align 4 %22 = load i32, ptr %4, align 4 %23 = icmp slt i32 %21, %22 br i1 %23, label %24, label %28 24: ; preds = %20 %25 = load i32, ptr %5, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %5, align 4 %27 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %25) br label %20, !llvm.loop !8 28: ; preds = %20 ret void } 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"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp_c1ezgkj.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"%i \00", align 1 @.str.1 = private unnamed_addr constant [17 x i8] c"\0A Wartosci i : \09\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @petla_for_i_plus_plus(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 store i32 0, ptr %5, align 4 %6 = load i32, ptr %5, align 4 %7 = load i32, ptr %4, align 4 %8 = icmp slt i32 %6, %7 br i1 %8, label %.lr.ph, label %20 .lr.ph: ; preds = %2 br label %9 9: ; preds = %.lr.ph, %9 %10 = load ptr, ptr %3, align 8 %11 = load i32, ptr %5, align 4 %12 = add nsw i32 %11, 1 store i32 %12, ptr %5, align 4 %13 = sext i32 %11 to i64 %14 = getelementptr inbounds i32, ptr %10, i64 %13 %15 = load i32, ptr %14, align 4 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %15) %17 = load i32, ptr %5, align 4 %18 = load i32, ptr %4, align 4 %19 = icmp slt i32 %17, %18 br i1 %19, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %9 br label %20 20: ; preds = %._crit_edge, %2 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) store i32 0, ptr %5, align 4 %22 = load i32, ptr %5, align 4 %23 = load i32, ptr %4, align 4 %24 = icmp slt i32 %22, %23 br i1 %24, label %.lr.ph2, label %32 .lr.ph2: ; preds = %20 br label %25 25: ; preds = %.lr.ph2, %25 %26 = load i32, ptr %5, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %5, align 4 %28 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %26) %29 = load i32, ptr %5, align 4 %30 = load i32, ptr %4, align 4 %31 = icmp slt i32 %29, %30 br i1 %31, label %25, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %25 br label %32 32: ; preds = %._crit_edge3, %20 ret void } 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"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpyj45yfja.c' source_filename = "/tmp/tmpyj45yfja.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" @SEEK_END = 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 i64 @streamSize(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i64, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call i64 @ftell(ptr noundef %5) store i64 %6, ptr %3, align 8 %7 = load ptr, ptr %2, align 8 %8 = load i32, ptr @SEEK_END, align 4 %9 = call i32 @fseek(ptr noundef %7, i64 noundef 0, i32 noundef %8) %10 = load ptr, ptr %2, align 8 %11 = call i64 @ftell(ptr noundef %10) store i64 %11, ptr %4, align 8 %12 = load ptr, ptr %2, align 8 %13 = load i64, ptr %3, align 8 %14 = load i32, ptr @SEEK_SET, align 4 %15 = call i32 @fseek(ptr noundef %12, i64 noundef %13, i32 noundef %14) %16 = load i64, ptr %4, align 8 ret i64 %16 } declare i64 @ftell(ptr noundef) #1 declare i32 @fseek(ptr noundef, i64 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/tmpyj45yfja.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" @SEEK_END = 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 i64 @streamSize(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i64, align 8 %4 = alloca i64, align 8 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call i64 @ftell(ptr noundef %5) store i64 %6, ptr %3, align 8 %7 = load ptr, ptr %2, align 8 %8 = load i32, ptr @SEEK_END, align 4 %9 = call i32 @fseek(ptr noundef %7, i64 noundef 0, i32 noundef %8) %10 = load ptr, ptr %2, align 8 %11 = call i64 @ftell(ptr noundef %10) store i64 %11, ptr %4, align 8 %12 = load ptr, ptr %2, align 8 %13 = load i64, ptr %3, align 8 %14 = load i32, ptr @SEEK_SET, align 4 %15 = call i32 @fseek(ptr noundef %12, i64 noundef %13, i32 noundef %14) %16 = load i64, ptr %4, align 8 ret i64 %16 } declare i64 @ftell(ptr noundef) #1 declare i32 @fseek(ptr noundef, i64 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/tmpu1duzx_8.c' source_filename = "/tmp/tmpu1duzx_8.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 @free_sim(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 @FreeSimhasher(ptr noundef %3) ret void } declare i32 @FreeSimhasher(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/tmpu1duzx_8.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 @free_sim(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 @FreeSimhasher(ptr noundef %3) ret void } declare i32 @FreeSimhasher(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/tmp4pekhvyu.c' source_filename = "/tmp/tmp4pekhvyu.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 @fatal_error(ptr noundef %0, ...) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 @exit(i32 noundef 1) #2 unreachable } ; Function Attrs: noreturn declare i32 @exit(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 = { 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 #2 = { 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/tmp4pekhvyu.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 @fatal_error(ptr noundef %0, ...) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = call i32 @exit(i32 noundef 1) #2 unreachable } ; Function Attrs: noreturn declare i32 @exit(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 = { 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 #2 = { 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/tmpaclapbdl.c' source_filename = "/tmp/tmpaclapbdl.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.addrinfo = type { i64, i64 } %struct.sockaddr_in = type { i32 } %struct.sockaddr_in6 = type { i32 } @INET6_ADDRSTRLEN = dso_local global i32 0, align 4 @AF_INET = dso_local global i64 0, align 8 @.str = private unnamed_addr constant [5 x i8] c"IPv4\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"IPv6\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"%s: %s ... \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_address(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %9 = load i32, ptr @INET6_ADDRSTRLEN, align 4 %10 = zext i32 %9 to i64 %11 = call ptr @llvm.stacksave() store ptr %11, ptr %5, align 8 %12 = alloca i8, i64 %10, align 16 store i64 %10, ptr %6, align 8 %13 = load ptr, ptr %2, align 8 %14 = getelementptr inbounds %struct.addrinfo, ptr %13, i32 0, i32 0 %15 = load i64, ptr %14, align 8 %16 = load i64, ptr @AF_INET, align 8 %17 = icmp eq i64 %15, %16 br i1 %17, label %18, label %25 18: ; preds = %1 %19 = load ptr, ptr %2, align 8 %20 = getelementptr inbounds %struct.addrinfo, ptr %19, i32 0, i32 1 %21 = load i64, ptr %20, align 8 %22 = inttoptr i64 %21 to ptr store ptr %22, ptr %7, align 8 %23 = load ptr, ptr %7, align 8 %24 = getelementptr inbounds %struct.sockaddr_in, ptr %23, i32 0, i32 0 store ptr %24, ptr %4, align 8 store ptr @.str, ptr %3, align 8 br label %32 25: ; preds = %1 %26 = load ptr, ptr %2, align 8 %27 = getelementptr inbounds %struct.addrinfo, ptr %26, i32 0, i32 1 %28 = load i64, ptr %27, align 8 %29 = inttoptr i64 %28 to ptr store ptr %29, ptr %8, align 8 %30 = load ptr, ptr %8, align 8 %31 = getelementptr inbounds %struct.sockaddr_in6, ptr %30, i32 0, i32 0 store ptr %31, ptr %4, align 8 store ptr @.str.1, ptr %3, align 8 br label %32 32: ; preds = %25, %18 %33 = load ptr, ptr %2, align 8 %34 = getelementptr inbounds %struct.addrinfo, ptr %33, i32 0, i32 0 %35 = load i64, ptr %34, align 8 %36 = load ptr, ptr %4, align 8 %37 = trunc i64 %10 to i32 %38 = call i32 @inet_ntop(i64 noundef %35, ptr noundef %36, ptr noundef %12, i32 noundef %37) %39 = load ptr, ptr %3, align 8 %40 = call i32 @printf(ptr noundef @.str.2, ptr noundef %39, ptr noundef %12) %41 = load ptr, ptr %5, align 8 call void @llvm.stackrestore(ptr %41) ret void } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @inet_ntop(i64 noundef, ptr noundef, ptr noundef, i32 noundef) #2 declare i32 @printf(ptr noundef, ptr noundef, ptr noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #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 = { nocallback nofree nosync nounwind willreturn } 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/tmpaclapbdl.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.addrinfo = type { i64, i64 } %struct.sockaddr_in = type { i32 } %struct.sockaddr_in6 = type { i32 } @INET6_ADDRSTRLEN = dso_local global i32 0, align 4 @AF_INET = dso_local global i64 0, align 8 @.str = private unnamed_addr constant [5 x i8] c"IPv4\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"IPv6\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"%s: %s ... \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_address(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %9 = load i32, ptr @INET6_ADDRSTRLEN, align 4 %10 = zext i32 %9 to i64 %11 = call ptr @llvm.stacksave() store ptr %11, ptr %5, align 8 %12 = alloca i8, i64 %10, align 16 store i64 %10, ptr %6, align 8 %13 = load ptr, ptr %2, align 8 %14 = getelementptr inbounds %struct.addrinfo, ptr %13, i32 0, i32 0 %15 = load i64, ptr %14, align 8 %16 = load i64, ptr @AF_INET, align 8 %17 = icmp eq i64 %15, %16 br i1 %17, label %18, label %25 18: ; preds = %1 %19 = load ptr, ptr %2, align 8 %20 = getelementptr inbounds %struct.addrinfo, ptr %19, i32 0, i32 1 %21 = load i64, ptr %20, align 8 %22 = inttoptr i64 %21 to ptr store ptr %22, ptr %7, align 8 %23 = load ptr, ptr %7, align 8 %24 = getelementptr inbounds %struct.sockaddr_in, ptr %23, i32 0, i32 0 store ptr %24, ptr %4, align 8 store ptr @.str, ptr %3, align 8 br label %32 25: ; preds = %1 %26 = load ptr, ptr %2, align 8 %27 = getelementptr inbounds %struct.addrinfo, ptr %26, i32 0, i32 1 %28 = load i64, ptr %27, align 8 %29 = inttoptr i64 %28 to ptr store ptr %29, ptr %8, align 8 %30 = load ptr, ptr %8, align 8 %31 = getelementptr inbounds %struct.sockaddr_in6, ptr %30, i32 0, i32 0 store ptr %31, ptr %4, align 8 store ptr @.str.1, ptr %3, align 8 br label %32 32: ; preds = %25, %18 %33 = load ptr, ptr %2, align 8 %34 = getelementptr inbounds %struct.addrinfo, ptr %33, i32 0, i32 0 %35 = load i64, ptr %34, align 8 %36 = load ptr, ptr %4, align 8 %37 = trunc i64 %10 to i32 %38 = call i32 @inet_ntop(i64 noundef %35, ptr noundef %36, ptr noundef %12, i32 noundef %37) %39 = load ptr, ptr %3, align 8 %40 = call i32 @printf(ptr noundef @.str.2, ptr noundef %39, ptr noundef %12) %41 = load ptr, ptr %5, align 8 call void @llvm.stackrestore(ptr %41) ret void } ; Function Attrs: nocallback nofree nosync nounwind willreturn declare ptr @llvm.stacksave() #1 declare i32 @inet_ntop(i64 noundef, ptr noundef, ptr noundef, i32 noundef) #2 declare i32 @printf(ptr noundef, ptr noundef, ptr noundef) #2 ; Function Attrs: nocallback nofree nosync nounwind willreturn declare void @llvm.stackrestore(ptr) #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 = { nocallback nofree nosync nounwind willreturn } 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/tmp0hzk7afi.c' source_filename = "/tmp/tmp0hzk7afi.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 [28 x i8] c"ID:%d ok, sleep for %d sec\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @doSomething(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %5 = call i32 (...) @rand() %6 = srem i32 %5, 5 store i32 %6, ptr %4, align 4 %7 = load i32, ptr %4, align 4 %8 = call i32 @sleep(i32 noundef %7) %9 = load ptr, ptr %3, align 8 %10 = load i32, ptr %9, align 4 %11 = load i32, ptr %4, align 4 %12 = call i32 @printf(ptr noundef @.str, i32 noundef %10, i32 noundef %11) %13 = load ptr, ptr %2, align 8 ret ptr %13 } declare i32 @rand(...) #1 declare i32 @sleep(i32 noundef) #1 declare i32 @printf(ptr 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/tmp0hzk7afi.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 [28 x i8] c"ID:%d ok, sleep for %d sec\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @doSomething(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %5 = call i32 (...) @rand() %6 = srem i32 %5, 5 store i32 %6, ptr %4, align 4 %7 = load i32, ptr %4, align 4 %8 = call i32 @sleep(i32 noundef %7) %9 = load ptr, ptr %3, align 8 %10 = load i32, ptr %9, align 4 %11 = load i32, ptr %4, align 4 %12 = call i32 @printf(ptr noundef @.str, i32 noundef %10, i32 noundef %11) %13 = load ptr, ptr %2, align 8 ret ptr %13 } declare i32 @rand(...) #1 declare i32 @sleep(i32 noundef) #1 declare i32 @printf(ptr 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/tmp7_r9coj0.c' source_filename = "/tmp/tmp7_r9coj0.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/tmp7_r9coj0.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/tmp1f5b6un2.c' source_filename = "/tmp/tmp1f5b6un2.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 @logistic_loss2(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca double, align 8 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 store double 0.000000e+00, ptr %10, align 8 store i32 0, ptr %9, align 4 br label %11 11: ; preds = %50, %4 %12 = load i32, ptr %9, align 4 %13 = load i32, ptr %5, align 4 %14 = icmp slt i32 %12, %13 br i1 %14, label %15, label %53 15: ; preds = %11 %16 = load ptr, ptr %6, align 8 %17 = load i32, ptr %9, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds double, ptr %16, i64 %18 %20 = load double, ptr %19, align 8 %21 = fcmp ogt double %20, -7.000000e+02 br i1 %21, label %22, label %31 22: ; preds = %15 %23 = load ptr, ptr %8, align 8 %24 = load i32, ptr %9, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds double, ptr %23, i64 %25 %27 = load double, ptr %26, align 8 %28 = fadd double 1.000000e+00, %27 %29 = fptosi double %28 to i32 %30 = call double @log(i32 noundef %29) br label %46 31: ; preds = %15 %32 = load ptr, ptr %7, align 8 %33 = load i32, ptr %9, align 4 %34 = sext i32 %33 to i64 %35 = getelementptr inbounds double, ptr %32, i64 %34 %36 = load double, ptr %35, align 8 %37 = fadd double 1.000000e+00, %36 %38 = fptosi double %37 to i32 %39 = call double @log(i32 noundef %38) %40 = load ptr, ptr %6, align 8 %41 = load i32, ptr %9, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds double, ptr %40, i64 %42 %44 = load double, ptr %43, align 8 %45 = fsub double %39, %44 br label %46 46: ; preds = %31, %22 %47 = phi double [ %30, %22 ], [ %45, %31 ] %48 = load double, ptr %10, align 8 %49 = fadd double %48, %47 store double %49, ptr %10, align 8 br label %50 50: ; preds = %46 %51 = load i32, ptr %9, align 4 %52 = add nsw i32 %51, 1 store i32 %52, ptr %9, align 4 br label %11, !llvm.loop !6 53: ; preds = %11 %54 = load double, ptr %10, align 8 ret double %54 } declare double @log(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/tmp1f5b6un2.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 @logistic_loss2(i32 noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 { %5 = alloca i32, align 4 %6 = alloca ptr, align 8 %7 = alloca ptr, align 8 %8 = alloca ptr, align 8 %9 = alloca i32, align 4 %10 = alloca double, align 8 store i32 %0, ptr %5, align 4 store ptr %1, ptr %6, align 8 store ptr %2, ptr %7, align 8 store ptr %3, ptr %8, align 8 store double 0.000000e+00, ptr %10, align 8 store i32 0, ptr %9, align 4 %11 = load i32, ptr %9, align 4 %12 = load i32, ptr %5, align 4 %13 = icmp slt i32 %11, %12 br i1 %13, label %.lr.ph, label %55 .lr.ph: ; preds = %4 br label %14 14: ; preds = %.lr.ph, %49 %15 = load ptr, ptr %6, align 8 %16 = load i32, ptr %9, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds double, ptr %15, i64 %17 %19 = load double, ptr %18, align 8 %20 = fcmp ogt double %19, -7.000000e+02 br i1 %20, label %21, label %30 21: ; preds = %14 %22 = load ptr, ptr %8, align 8 %23 = load i32, ptr %9, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds double, ptr %22, i64 %24 %26 = load double, ptr %25, align 8 %27 = fadd double 1.000000e+00, %26 %28 = fptosi double %27 to i32 %29 = call double @log(i32 noundef %28) br label %45 30: ; preds = %14 %31 = load ptr, ptr %7, align 8 %32 = load i32, ptr %9, align 4 %33 = sext i32 %32 to i64 %34 = getelementptr inbounds double, ptr %31, i64 %33 %35 = load double, ptr %34, align 8 %36 = fadd double 1.000000e+00, %35 %37 = fptosi double %36 to i32 %38 = call double @log(i32 noundef %37) %39 = load ptr, ptr %6, align 8 %40 = load i32, ptr %9, align 4 %41 = sext i32 %40 to i64 %42 = getelementptr inbounds double, ptr %39, i64 %41 %43 = load double, ptr %42, align 8 %44 = fsub double %38, %43 br label %45 45: ; preds = %30, %21 %46 = phi double [ %29, %21 ], [ %44, %30 ] %47 = load double, ptr %10, align 8 %48 = fadd double %47, %46 store double %48, ptr %10, align 8 br label %49 49: ; preds = %45 %50 = load i32, ptr %9, align 4 %51 = add nsw i32 %50, 1 store i32 %51, ptr %9, align 4 %52 = load i32, ptr %9, align 4 %53 = load i32, ptr %5, align 4 %54 = icmp slt i32 %52, %53 br i1 %54, label %14, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %49 br label %55 55: ; preds = %._crit_edge, %4 %56 = load double, ptr %10, align 8 ret double %56 } declare double @log(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/tmp1d8rardo.c' source_filename = "/tmp/tmp1d8rardo.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 [37 x i8] c"command parser: contactOnlineRecvd: \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @contactOnlineRecvd(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 @debugPrintStr(ptr noundef @.str, ptr noundef %3) ret void } declare i32 @debugPrintStr(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/tmp1d8rardo.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 [37 x i8] c"command parser: contactOnlineRecvd: \00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @contactOnlineRecvd(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 @debugPrintStr(ptr noundef @.str, ptr noundef %3) ret void } declare i32 @debugPrintStr(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/tmpac7u5xoz.c' source_filename = "/tmp/tmpac7u5xoz.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_DGRAM = dso_local global i32 0, align 4 @IPPROTO_UDP = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [22 x i8] c"create socket fail!\0D\0A\00", align 1 @INADDR_ANY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [30 x i8] c"bind address fail, errno=%d\0D\0A\00", align 1 @errno = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [25 x i8] c"receive fail, errno=%d\0D\0A\00", align 1 @.str.3 = private unnamed_addr constant [17 x i8] c"Server Rcv: %s\0D\0A\00", align 1 @.str.4 = private unnamed_addr constant [14 x i8] c"sendto fail\0D\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 %struct.sockaddr_in, align 4 %8 = alloca %struct.sockaddr_in, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca [128 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 %12 = load i32, ptr @AF_INET, align 4 %13 = load i32, ptr @SOCK_DGRAM, align 4 %14 = load i32, ptr @IPPROTO_UDP, align 4 %15 = call i32 @socket(i32 noundef %12, i32 noundef %13, i32 noundef %14) store i32 %15, ptr %6, align 4 %16 = load i32, ptr %6, align 4 %17 = icmp slt i32 %16, 0 br i1 %17, label %18, label %21 18: ; preds = %2 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str) %20 = call i32 @exit(i32 noundef 0) #3 unreachable 21: ; preds = %2 %22 = call i32 @memset(ptr noundef %8, i32 noundef 0, i32 noundef 12) %23 = load i32, ptr @AF_INET, align 4 %24 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 2 store i32 %23, ptr %24, align 4 %25 = load i32, ptr @INADDR_ANY, align 4 %26 = call i32 @htonl(i32 noundef %25) %27 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 1 %28 = getelementptr inbounds %struct.TYPE_2__, ptr %27, i32 0, i32 0 store i32 %26, ptr %28, align 4 %29 = call i32 @htons(i32 noundef 4000) %30 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 0 store i32 %29, ptr %30, align 4 %31 = load i32, ptr %6, align 4 %32 = call i64 @bind(i32 noundef %31, ptr noundef %8, i32 noundef 12) %33 = icmp slt i64 %32, 0 br i1 %33, label %34, label %40 34: ; preds = %21 %35 = load i32, ptr @errno, align 4 %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %35) %37 = load i32, ptr %6, align 4 %38 = call i32 @close(i32 noundef %37) %39 = call i32 @exit(i32 noundef 1) #3 unreachable 40: ; preds = %21 br label %41 41: ; preds = %40, %66 store i32 12, ptr %10, align 4 %42 = load i32, ptr %6, align 4 %43 = getelementptr inbounds [128 x i8], ptr %11, i64 0, i64 0 %44 = call i32 @recvfrom(i32 noundef %42, ptr noundef %43, i32 noundef 128, i32 noundef 0, ptr noundef %7, ptr noundef %10) store i32 %44, ptr %9, align 4 %45 = icmp slt i32 %44, 0 br i1 %45, label %46, label %52 46: ; preds = %41 %47 = load i32, ptr @errno, align 4 %48 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %47) %49 = load i32, ptr %6, align 4 %50 = call i32 @close(i32 noundef %49) %51 = call i32 @exit(i32 noundef 1) #3 unreachable 52: ; preds = %41 %53 = getelementptr inbounds [128 x i8], ptr %11, i64 0, i64 0 %54 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %53) %55 = load i32, ptr %6, align 4 %56 = getelementptr inbounds [128 x i8], ptr %11, i64 0, i64 0 %57 = load i32, ptr %9, align 4 %58 = call i32 @sendto(i32 noundef %55, ptr noundef %56, i32 noundef %57, i32 noundef 0, ptr noundef %7, i32 noundef 12) %59 = load i32, ptr %9, align 4 %60 = icmp ne i32 %58, %59 br i1 %60, label %61, label %66 61: ; preds = %52 %62 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %63 = load i32, ptr %6, align 4 %64 = call i32 @close(i32 noundef %63) %65 = call i32 @exit(i32 noundef 0) #3 unreachable 66: ; preds = %52 br label %41 } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @htonl(i32 noundef) #1 declare i32 @htons(i32 noundef) #1 declare i64 @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 @sendto(i32 noundef, ptr noundef, i32 noundef, i32 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" } 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/tmpac7u5xoz.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_DGRAM = dso_local global i32 0, align 4 @IPPROTO_UDP = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [22 x i8] c"create socket fail!\0D\0A\00", align 1 @INADDR_ANY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [30 x i8] c"bind address fail, errno=%d\0D\0A\00", align 1 @errno = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [25 x i8] c"receive fail, errno=%d\0D\0A\00", align 1 @.str.3 = private unnamed_addr constant [17 x i8] c"Server Rcv: %s\0D\0A\00", align 1 @.str.4 = private unnamed_addr constant [14 x i8] c"sendto fail\0D\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 %struct.sockaddr_in, align 4 %8 = alloca %struct.sockaddr_in, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca [128 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 %12 = load i32, ptr @AF_INET, align 4 %13 = load i32, ptr @SOCK_DGRAM, align 4 %14 = load i32, ptr @IPPROTO_UDP, align 4 %15 = call i32 @socket(i32 noundef %12, i32 noundef %13, i32 noundef %14) store i32 %15, ptr %6, align 4 %16 = load i32, ptr %6, align 4 %17 = icmp slt i32 %16, 0 br i1 %17, label %18, label %21 18: ; preds = %2 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str) %20 = call i32 @exit(i32 noundef 0) #3 unreachable 21: ; preds = %2 %22 = call i32 @memset(ptr noundef %8, i32 noundef 0, i32 noundef 12) %23 = load i32, ptr @AF_INET, align 4 %24 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 2 store i32 %23, ptr %24, align 4 %25 = load i32, ptr @INADDR_ANY, align 4 %26 = call i32 @htonl(i32 noundef %25) %27 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 1 %28 = getelementptr inbounds %struct.TYPE_2__, ptr %27, i32 0, i32 0 store i32 %26, ptr %28, align 4 %29 = call i32 @htons(i32 noundef 4000) %30 = getelementptr inbounds %struct.sockaddr_in, ptr %8, i32 0, i32 0 store i32 %29, ptr %30, align 4 %31 = load i32, ptr %6, align 4 %32 = call i64 @bind(i32 noundef %31, ptr noundef %8, i32 noundef 12) %33 = icmp slt i64 %32, 0 br i1 %33, label %34, label %40 34: ; preds = %21 %35 = load i32, ptr @errno, align 4 %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %35) %37 = load i32, ptr %6, align 4 %38 = call i32 @close(i32 noundef %37) %39 = call i32 @exit(i32 noundef 1) #3 unreachable 40: ; preds = %21 store i32 12, ptr %10, align 4 %41 = load i32, ptr %6, align 4 %42 = getelementptr inbounds [128 x i8], ptr %11, i64 0, i64 0 %43 = call i32 @recvfrom(i32 noundef %41, ptr noundef %42, i32 noundef 128, i32 noundef 0, ptr noundef %7, ptr noundef %10) store i32 %43, ptr %9, align 4 %44 = icmp slt i32 %43, 0 br i1 %44, label %49, label %.lr.ph .lr.ph: ; preds = %40 br label %55 45: ; preds = %55 store i32 12, ptr %10, align 4 %46 = load i32, ptr %6, align 4 %47 = call i32 @recvfrom(i32 noundef %46, ptr noundef %42, i32 noundef 128, i32 noundef 0, ptr noundef %7, ptr noundef %10) store i32 %47, ptr %9, align 4 %48 = icmp slt i32 %47, 0 br i1 %48, label %._crit_edge, label %55 ._crit_edge: ; preds = %45 br label %49 49: ; preds = %._crit_edge, %40 %50 = load i32, ptr @errno, align 4 %51 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %50) %52 = load i32, ptr %6, align 4 %53 = call i32 @close(i32 noundef %52) %54 = call i32 @exit(i32 noundef 1) #3 unreachable 55: ; preds = %.lr.ph, %45 %56 = getelementptr inbounds [128 x i8], ptr %11, i64 0, i64 0 %57 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, ptr noundef %56) %58 = load i32, ptr %6, align 4 %59 = getelementptr inbounds [128 x i8], ptr %11, i64 0, i64 0 %60 = load i32, ptr %9, align 4 %61 = call i32 @sendto(i32 noundef %58, ptr noundef %59, i32 noundef %60, i32 noundef 0, ptr noundef %7, i32 noundef 12) %62 = load i32, ptr %9, align 4 %63 = icmp ne i32 %61, %62 br i1 %63, label %64, label %45 64: ; preds = %55 %65 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) %66 = load i32, ptr %6, align 4 %67 = call i32 @close(i32 noundef %66) %68 = call i32 @exit(i32 noundef 0) #3 unreachable } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @htonl(i32 noundef) #1 declare i32 @htons(i32 noundef) #1 declare i64 @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 @sendto(i32 noundef, ptr noundef, i32 noundef, i32 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" } 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/tmpa5pn7c6d.c' source_filename = "/tmp/tmpa5pn7c6d.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 @printst() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 br label %2 2: ; preds = %8, %0 %3 = load i32, ptr %1, align 4 %4 = icmp slt i32 %3, 50 br i1 %4, label %5, label %11 5: ; preds = %2 %6 = load i32, ptr %1, align 4 %7 = call i32 @printstlevel(i32 noundef %6) br label %8 8: ; preds = %5 %9 = load i32, ptr %1, align 4 %10 = add nsw i32 %9, 1 store i32 %10, ptr %1, align 4 br label %2, !llvm.loop !6 11: ; preds = %2 ret void } declare i32 @printstlevel(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/tmpa5pn7c6d.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 @printst() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = load i32, ptr %1, align 4 %3 = icmp slt i32 %2, 50 br i1 %3, label %.lr.ph, label %12 .lr.ph: ; preds = %0 br label %4 4: ; preds = %.lr.ph, %7 %5 = load i32, ptr %1, align 4 %6 = call i32 @printstlevel(i32 noundef %5) br label %7 7: ; preds = %4 %8 = load i32, ptr %1, align 4 %9 = add nsw i32 %8, 1 store i32 %9, ptr %1, align 4 %10 = load i32, ptr %1, align 4 %11 = icmp slt i32 %10, 50 br i1 %11, label %4, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %7 br label %12 12: ; preds = %._crit_edge, %0 ret void } declare i32 @printstlevel(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/tmpaxmbzpnx.c' source_filename = "/tmp/tmpaxmbzpnx.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.timespec = type { i32, i32 } @CLOCK_REALTIME = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [56 x i8] c"crear un hijo y ejecutar la tarea tardo:%g us | %g ns \0A\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"./salida\00", align 1 @.str.2 = private unnamed_addr constant [103 x i8] c"Realizar la misma tarea pero ejecutada con la llamada system sin crear otro hijo tardo:%g us | %g ns \0A\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"salida\00", align 1 @.str.4 = private unnamed_addr constant [46 x i8] c"Return not expected. Must be an execv 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 %6 = alloca double, align 8 %7 = alloca %struct.timespec, align 4 %8 = alloca %struct.timespec, align 4 %9 = alloca i32, align 4 %10 = alloca [3 x ptr], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %11 = load i32, ptr @CLOCK_REALTIME, align 4 %12 = call i32 @clock_gettime(i32 noundef %11, ptr noundef %7) %13 = call i32 (...) @fork() store i32 %13, ptr %9, align 4 %14 = load i32, ptr %9, align 4 %15 = icmp ne i32 %14, 0 br i1 %15, label %16, label %59 16: ; preds = %2 %17 = call i32 @wait(i32 noundef 0) %18 = load i32, ptr @CLOCK_REALTIME, align 4 %19 = call i32 @clock_gettime(i32 noundef %18, ptr noundef %8) %20 = getelementptr inbounds %struct.timespec, ptr %8, i32 0, i32 0 %21 = load i32, ptr %20, align 4 %22 = getelementptr inbounds %struct.timespec, ptr %7, i32 0, i32 0 %23 = load i32, ptr %22, align 4 %24 = sub nsw i32 %21, %23 %25 = mul nsw i32 %24, 1000000000 %26 = getelementptr inbounds %struct.timespec, ptr %8, i32 0, i32 1 %27 = load i32, ptr %26, align 4 %28 = getelementptr inbounds %struct.timespec, ptr %7, i32 0, i32 1 %29 = load i32, ptr %28, align 4 %30 = sub nsw i32 %27, %29 %31 = add nsw i32 %25, %30 %32 = sitofp i32 %31 to double store double %32, ptr %6, align 8 %33 = load double, ptr %6, align 8 %34 = fdiv double %33, 1.000000e+03 %35 = load double, ptr %6, align 8 %36 = call i32 (ptr, ...) @printf(ptr noundef @.str, double noundef %34, double noundef %35) %37 = load i32, ptr @CLOCK_REALTIME, align 4 %38 = call i32 @clock_gettime(i32 noundef %37, ptr noundef %7) %39 = call i32 @system(ptr noundef @.str.1) %40 = load i32, ptr @CLOCK_REALTIME, align 4 %41 = call i32 @clock_gettime(i32 noundef %40, ptr noundef %8) %42 = getelementptr inbounds %struct.timespec, ptr %8, i32 0, i32 0 %43 = load i32, ptr %42, align 4 %44 = getelementptr inbounds %struct.timespec, ptr %7, i32 0, i32 0 %45 = load i32, ptr %44, align 4 %46 = sub nsw i32 %43, %45 %47 = mul nsw i32 %46, 1000000000 %48 = getelementptr inbounds %struct.timespec, ptr %8, i32 0, i32 1 %49 = load i32, ptr %48, align 4 %50 = getelementptr inbounds %struct.timespec, ptr %7, i32 0, i32 1 %51 = load i32, ptr %50, align 4 %52 = sub nsw i32 %49, %51 %53 = add nsw i32 %47, %52 %54 = sitofp i32 %53 to double store double %54, ptr %6, align 8 %55 = load double, ptr %6, align 8 %56 = fdiv double %55, 1.000000e+03 %57 = load double, ptr %6, align 8 %58 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %56, double noundef %57) br label %69 59: ; preds = %2 %60 = getelementptr inbounds [3 x ptr], ptr %10, i64 0, i64 0 store ptr @.str.3, ptr %60, align 8 %61 = getelementptr inbounds ptr, ptr %60, i64 1 %62 = load ptr, ptr %5, align 8 %63 = getelementptr inbounds ptr, ptr %62, i64 1 %64 = load ptr, ptr %63, align 8 store ptr %64, ptr %61, align 8 %65 = getelementptr inbounds ptr, ptr %61, i64 1 store ptr null, ptr %65, align 8 %66 = getelementptr inbounds [3 x ptr], ptr %10, i64 0, i64 0 %67 = call i32 @execv(ptr noundef @.str.3, ptr noundef %66) %68 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %69 69: ; preds = %59, %16 ret i32 0 } declare i32 @clock_gettime(i32 noundef, ptr noundef) #1 declare i32 @fork(...) #1 declare i32 @wait(i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @system(ptr noundef) #1 declare i32 @execv(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/tmpaxmbzpnx.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.timespec = type { i32, i32 } @CLOCK_REALTIME = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [56 x i8] c"crear un hijo y ejecutar la tarea tardo:%g us | %g ns \0A\00", align 1 @.str.1 = private unnamed_addr constant [9 x i8] c"./salida\00", align 1 @.str.2 = private unnamed_addr constant [103 x i8] c"Realizar la misma tarea pero ejecutada con la llamada system sin crear otro hijo tardo:%g us | %g ns \0A\00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"salida\00", align 1 @.str.4 = private unnamed_addr constant [46 x i8] c"Return not expected. Must be an execv 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 %6 = alloca double, align 8 %7 = alloca %struct.timespec, align 4 %8 = alloca %struct.timespec, align 4 %9 = alloca i32, align 4 %10 = alloca [3 x ptr], align 16 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %11 = load i32, ptr @CLOCK_REALTIME, align 4 %12 = call i32 @clock_gettime(i32 noundef %11, ptr noundef %7) %13 = call i32 (...) @fork() store i32 %13, ptr %9, align 4 %14 = load i32, ptr %9, align 4 %15 = icmp ne i32 %14, 0 br i1 %15, label %16, label %59 16: ; preds = %2 %17 = call i32 @wait(i32 noundef 0) %18 = load i32, ptr @CLOCK_REALTIME, align 4 %19 = call i32 @clock_gettime(i32 noundef %18, ptr noundef %8) %20 = getelementptr inbounds %struct.timespec, ptr %8, i32 0, i32 0 %21 = load i32, ptr %20, align 4 %22 = getelementptr inbounds %struct.timespec, ptr %7, i32 0, i32 0 %23 = load i32, ptr %22, align 4 %24 = sub nsw i32 %21, %23 %25 = mul nsw i32 %24, 1000000000 %26 = getelementptr inbounds %struct.timespec, ptr %8, i32 0, i32 1 %27 = load i32, ptr %26, align 4 %28 = getelementptr inbounds %struct.timespec, ptr %7, i32 0, i32 1 %29 = load i32, ptr %28, align 4 %30 = sub nsw i32 %27, %29 %31 = add nsw i32 %25, %30 %32 = sitofp i32 %31 to double store double %32, ptr %6, align 8 %33 = load double, ptr %6, align 8 %34 = fdiv double %33, 1.000000e+03 %35 = load double, ptr %6, align 8 %36 = call i32 (ptr, ...) @printf(ptr noundef @.str, double noundef %34, double noundef %35) %37 = load i32, ptr @CLOCK_REALTIME, align 4 %38 = call i32 @clock_gettime(i32 noundef %37, ptr noundef %7) %39 = call i32 @system(ptr noundef @.str.1) %40 = load i32, ptr @CLOCK_REALTIME, align 4 %41 = call i32 @clock_gettime(i32 noundef %40, ptr noundef %8) %42 = getelementptr inbounds %struct.timespec, ptr %8, i32 0, i32 0 %43 = load i32, ptr %42, align 4 %44 = getelementptr inbounds %struct.timespec, ptr %7, i32 0, i32 0 %45 = load i32, ptr %44, align 4 %46 = sub nsw i32 %43, %45 %47 = mul nsw i32 %46, 1000000000 %48 = getelementptr inbounds %struct.timespec, ptr %8, i32 0, i32 1 %49 = load i32, ptr %48, align 4 %50 = getelementptr inbounds %struct.timespec, ptr %7, i32 0, i32 1 %51 = load i32, ptr %50, align 4 %52 = sub nsw i32 %49, %51 %53 = add nsw i32 %47, %52 %54 = sitofp i32 %53 to double store double %54, ptr %6, align 8 %55 = load double, ptr %6, align 8 %56 = fdiv double %55, 1.000000e+03 %57 = load double, ptr %6, align 8 %58 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %56, double noundef %57) br label %69 59: ; preds = %2 %60 = getelementptr inbounds [3 x ptr], ptr %10, i64 0, i64 0 store ptr @.str.3, ptr %60, align 8 %61 = getelementptr inbounds ptr, ptr %60, i64 1 %62 = load ptr, ptr %5, align 8 %63 = getelementptr inbounds ptr, ptr %62, i64 1 %64 = load ptr, ptr %63, align 8 store ptr %64, ptr %61, align 8 %65 = getelementptr inbounds ptr, ptr %61, i64 1 store ptr null, ptr %65, align 8 %66 = getelementptr inbounds [3 x ptr], ptr %10, i64 0, i64 0 %67 = call i32 @execv(ptr noundef @.str.3, ptr noundef %66) %68 = call i32 (ptr, ...) @printf(ptr noundef @.str.4) br label %69 69: ; preds = %59, %16 ret i32 0 } declare i32 @clock_gettime(i32 noundef, ptr noundef) #1 declare i32 @fork(...) #1 declare i32 @wait(i32 noundef) #1 declare i32 @printf(ptr noundef, ...) #1 declare i32 @system(ptr noundef) #1 declare i32 @execv(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/tmp0a0q8xwr.c' source_filename = "/tmp/tmp0a0q8xwr.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_isxdigit.c\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c"isxdigit should be 0 for 0xfc\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isxdigit_0xfc() #0 { %1 = call i64 @isxdigit(i32 noundef 252) %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 1265, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isxdigit(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/tmp0a0q8xwr.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_isxdigit.c\00", align 1 @.str.1 = private unnamed_addr constant [30 x i8] c"isxdigit should be 0 for 0xfc\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isxdigit_0xfc() #0 { %1 = call i64 @isxdigit(i32 noundef 252) %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 1265, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isxdigit(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/tmpgmhjc5_b.c' source_filename = "/tmp/tmpgmhjc5_b.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/tmpgmhjc5_b.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/tmpe2wp7b82.c' source_filename = "/tmp/tmpe2wp7b82.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"#include <stdio.h>\0A\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"#include \22lista.c\22\0A\00", align 1 @.str.2 = private unnamed_addr constant [27 x i8] c"#include \22subprogramas.c\22\0A\00", align 1 @.str.3 = private unnamed_addr constant [16 x i8] c"int main(void)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @codigoCabeceraMain(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 @fprintf(ptr noundef %3, ptr noundef @.str) %5 = load ptr, ptr %2, align 8 %6 = call i32 @fprintf(ptr noundef %5, ptr noundef @.str.1) %7 = load ptr, ptr %2, align 8 %8 = call i32 @fprintf(ptr noundef %7, ptr noundef @.str.2) %9 = load ptr, ptr %2, align 8 %10 = call i32 @fprintf(ptr noundef %9, ptr noundef @.str.3) ret void } declare i32 @fprintf(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/tmpe2wp7b82.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"#include <stdio.h>\0A\00", align 1 @.str.1 = private unnamed_addr constant [20 x i8] c"#include \22lista.c\22\0A\00", align 1 @.str.2 = private unnamed_addr constant [27 x i8] c"#include \22subprogramas.c\22\0A\00", align 1 @.str.3 = private unnamed_addr constant [16 x i8] c"int main(void)\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @codigoCabeceraMain(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 @fprintf(ptr noundef %3, ptr noundef @.str) %5 = load ptr, ptr %2, align 8 %6 = call i32 @fprintf(ptr noundef %5, ptr noundef @.str.1) %7 = load ptr, ptr %2, align 8 %8 = call i32 @fprintf(ptr noundef %7, ptr noundef @.str.2) %9 = load ptr, ptr %2, align 8 %10 = call i32 @fprintf(ptr noundef %9, ptr noundef @.str.3) ret void } declare i32 @fprintf(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/tmp5wwn3jgt.c' source_filename = "/tmp/tmp5wwn3jgt.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 [7 x i8] c"%d %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 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 br label %3 3: ; preds = %11, %0 %4 = load i32, ptr %2, align 4 %5 = icmp sle i32 %4, 4096 br i1 %5, label %6, label %14 6: ; preds = %3 %7 = load i32, ptr %2, align 4 %8 = load i32, ptr %2, align 4 %9 = call i32 @isqrt(i32 noundef %8) %10 = call i32 @printf(ptr noundef @.str, i32 noundef %7, i32 noundef %9) br label %11 11: ; preds = %6 %12 = load i32, ptr %2, align 4 %13 = add nsw i32 %12, 1 store i32 %13, ptr %2, align 4 br label %3, !llvm.loop !6 14: ; preds = %3 ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @isqrt(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/tmp5wwn3jgt.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 [7 x i8] c"%d %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 store i32 0, ptr %1, align 4 store i32 0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = icmp sle i32 %3, 4096 br i1 %4, label %.lr.ph, label %15 .lr.ph: ; preds = %0 br label %5 5: ; preds = %.lr.ph, %10 %6 = load i32, ptr %2, align 4 %7 = load i32, ptr %2, align 4 %8 = call i32 @isqrt(i32 noundef %7) %9 = call i32 @printf(ptr noundef @.str, i32 noundef %6, i32 noundef %8) br label %10 10: ; preds = %5 %11 = load i32, ptr %2, align 4 %12 = add nsw i32 %11, 1 store i32 %12, ptr %2, align 4 %13 = load i32, ptr %2, align 4 %14 = icmp sle i32 %13, 4096 br i1 %14, label %5, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %10 br label %15 15: ; preds = %._crit_edge, %0 ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @isqrt(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/tmpcklfm5j3.c' source_filename = "/tmp/tmpcklfm5j3.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 [34 x i8] c"Usage: deq jid\0A\09jid\09\09 the job id\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage() #0 { %1 = call i32 @printf(ptr noundef @.str) ret void } 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/tmpcklfm5j3.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 [34 x i8] c"Usage: deq jid\0A\09jid\09\09 the job id\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage() #0 { %1 = call i32 @printf(ptr noundef @.str) ret void } 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/tmpg264jj4i.c' source_filename = "/tmp/tmpg264jj4i.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 [19 x i8] c"Color dev mod: %f\0A\00", align 1 @.str.1 = private unnamed_addr constant [23 x i8] c"Sig color dev mod: %f\0A\00", align 1 @.str.2 = private unnamed_addr constant [23 x i8] c"Avg size of blobs: %f\0A\00", align 1 @.str.3 = private unnamed_addr constant [27 x i8] c"Sig avg size of blobs: %f\0A\00", align 1 @.str.4 = private unnamed_addr constant [20 x i8] c"Size deviation: %f\0A\00", align 1 @.str.5 = private unnamed_addr constant [24 x i8] c"Sig size deviation: %f\0A\00", align 1 @.str.6 = private unnamed_addr constant [21 x i8] c"Largest col dev: %f\0A\00", align 1 @.str.7 = private unnamed_addr constant [24 x i8] c"Percent large blob: %f\0A\00", align 1 @.str.8 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printModArray(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = getelementptr inbounds double, ptr %3, i64 0 %5 = load double, ptr %4, align 8 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str, double noundef %5) %7 = load ptr, ptr %2, align 8 %8 = getelementptr inbounds double, ptr %7, i64 1 %9 = load double, ptr %8, align 8 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %9) %11 = load ptr, ptr %2, align 8 %12 = getelementptr inbounds double, ptr %11, i64 2 %13 = load double, ptr %12, align 8 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %13) %15 = load ptr, ptr %2, align 8 %16 = getelementptr inbounds double, ptr %15, i64 3 %17 = load double, ptr %16, align 8 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %17) %19 = load ptr, ptr %2, align 8 %20 = getelementptr inbounds double, ptr %19, i64 4 %21 = load double, ptr %20, align 8 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %21) %23 = load ptr, ptr %2, align 8 %24 = getelementptr inbounds double, ptr %23, i64 5 %25 = load double, ptr %24, align 8 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %25) %27 = load ptr, ptr %2, align 8 %28 = getelementptr inbounds double, ptr %27, i64 6 %29 = load double, ptr %28, align 8 %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, double noundef %29) %31 = load ptr, ptr %2, align 8 %32 = getelementptr inbounds double, ptr %31, i64 7 %33 = load double, ptr %32, align 8 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, double noundef %33) %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) ret void } 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/tmpg264jj4i.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 [19 x i8] c"Color dev mod: %f\0A\00", align 1 @.str.1 = private unnamed_addr constant [23 x i8] c"Sig color dev mod: %f\0A\00", align 1 @.str.2 = private unnamed_addr constant [23 x i8] c"Avg size of blobs: %f\0A\00", align 1 @.str.3 = private unnamed_addr constant [27 x i8] c"Sig avg size of blobs: %f\0A\00", align 1 @.str.4 = private unnamed_addr constant [20 x i8] c"Size deviation: %f\0A\00", align 1 @.str.5 = private unnamed_addr constant [24 x i8] c"Sig size deviation: %f\0A\00", align 1 @.str.6 = private unnamed_addr constant [21 x i8] c"Largest col dev: %f\0A\00", align 1 @.str.7 = private unnamed_addr constant [24 x i8] c"Percent large blob: %f\0A\00", align 1 @.str.8 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @printModArray(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = getelementptr inbounds double, ptr %3, i64 0 %5 = load double, ptr %4, align 8 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str, double noundef %5) %7 = load ptr, ptr %2, align 8 %8 = getelementptr inbounds double, ptr %7, i64 1 %9 = load double, ptr %8, align 8 %10 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %9) %11 = load ptr, ptr %2, align 8 %12 = getelementptr inbounds double, ptr %11, i64 2 %13 = load double, ptr %12, align 8 %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, double noundef %13) %15 = load ptr, ptr %2, align 8 %16 = getelementptr inbounds double, ptr %15, i64 3 %17 = load double, ptr %16, align 8 %18 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %17) %19 = load ptr, ptr %2, align 8 %20 = getelementptr inbounds double, ptr %19, i64 4 %21 = load double, ptr %20, align 8 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %21) %23 = load ptr, ptr %2, align 8 %24 = getelementptr inbounds double, ptr %23, i64 5 %25 = load double, ptr %24, align 8 %26 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %25) %27 = load ptr, ptr %2, align 8 %28 = getelementptr inbounds double, ptr %27, i64 6 %29 = load double, ptr %28, align 8 %30 = call i32 (ptr, ...) @printf(ptr noundef @.str.6, double noundef %29) %31 = load ptr, ptr %2, align 8 %32 = getelementptr inbounds double, ptr %31, i64 7 %33 = load double, ptr %32, align 8 %34 = call i32 (ptr, ...) @printf(ptr noundef @.str.7, double noundef %33) %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.8) ret void } 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/tmpa2jr895t.c' source_filename = "/tmp/tmpa2jr895t.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" @INADDR_NONE = dso_local global i8 0, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local signext i8 @inet_network(ptr noundef %0) #0 { %2 = alloca i8, align 1 %3 = alloca ptr, align 8 %4 = alloca i8, align 1 %5 = alloca i8, align 1 %6 = alloca i8, align 1 %7 = alloca i8, align 1 %8 = alloca [4 x i8], align 1 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %11 = getelementptr inbounds [4 x i8], ptr %8, i64 0, i64 0 store ptr %11, ptr %9, align 8 br label %12 12: ; preds = %93, %1 store i8 0, ptr %4, align 1 store i8 10, ptr %5, align 1 %13 = load ptr, ptr %3, align 8 %14 = load i8, ptr %13, align 1 %15 = sext i8 %14 to i32 %16 = icmp eq i32 %15, 48 br i1 %16, label %17, label %20 17: ; preds = %12 store i8 8, ptr %5, align 1 %18 = load ptr, ptr %3, align 8 %19 = getelementptr inbounds i8, ptr %18, i32 1 store ptr %19, ptr %3, align 8 br label %20 20: ; preds = %17, %12 %21 = load ptr, ptr %3, align 8 %22 = load i8, ptr %21, align 1 %23 = sext i8 %22 to i32 %24 = icmp eq i32 %23, 120 br i1 %24, label %30, label %25 25: ; preds = %20 %26 = load ptr, ptr %3, align 8 %27 = load i8, ptr %26, align 1 %28 = sext i8 %27 to i32 %29 = icmp eq i32 %28, 88 br i1 %29, label %30, label %33 30: ; preds = %25, %20 store i8 16, ptr %5, align 1 %31 = load ptr, ptr %3, align 8 %32 = getelementptr inbounds i8, ptr %31, i32 1 store ptr %32, ptr %3, align 8 br label %33 33: ; preds = %30, %25 br label %34 34: ; preds = %63, %42, %33 %35 = load ptr, ptr %3, align 8 %36 = load i8, ptr %35, align 1 store i8 %36, ptr %7, align 1 %37 = icmp ne i8 %36, 0 br i1 %37, label %38, label %81 38: ; preds = %34 %39 = load i8, ptr %7, align 1 %40 = call i64 @isdigit(i8 noundef signext %39) %41 = icmp ne i64 %40, 0 br i1 %41, label %42, label %55 42: ; preds = %38 %43 = load i8, ptr %4, align 1 %44 = sext i8 %43 to i32 %45 = load i8, ptr %5, align 1 %46 = sext i8 %45 to i32 %47 = mul nsw i32 %44, %46 %48 = load i8, ptr %7, align 1 %49 = sext i8 %48 to i32 %50 = sub nsw i32 %49, 48 %51 = add nsw i32 %47, %50 %52 = trunc i32 %51 to i8 store i8 %52, ptr %4, align 1 %53 = load ptr, ptr %3, align 8 %54 = getelementptr inbounds i8, ptr %53, i32 1 store ptr %54, ptr %3, align 8 br label %34, !llvm.loop !6 55: ; preds = %38 %56 = load i8, ptr %5, align 1 %57 = sext i8 %56 to i32 %58 = icmp eq i32 %57, 16 br i1 %58, label %59, label %80 59: ; preds = %55 %60 = load i8, ptr %7, align 1 %61 = call i64 @isxdigit(i8 noundef signext %60) %62 = icmp ne i64 %61, 0 br i1 %62, label %63, label %80 63: ; preds = %59 %64 = load i8, ptr %4, align 1 %65 = sext i8 %64 to i32 %66 = shl i32 %65, 4 %67 = load i8, ptr %7, align 1 %68 = sext i8 %67 to i32 %69 = add nsw i32 %68, 10 %70 = load i8, ptr %7, align 1 %71 = call i64 @islower(i8 noundef signext %70) %72 = icmp ne i64 %71, 0 %73 = zext i1 %72 to i64 %74 = select i1 %72, i32 97, i32 65 %75 = sub nsw i32 %69, %74 %76 = add nsw i32 %66, %75 %77 = trunc i32 %76 to i8 store i8 %77, ptr %4, align 1 %78 = load ptr, ptr %3, align 8 %79 = getelementptr inbounds i8, ptr %78, i32 1 store ptr %79, ptr %3, align 8 br label %34, !llvm.loop !6 80: ; preds = %59, %55 br label %81 81: ; preds = %80, %34 %82 = load ptr, ptr %3, align 8 %83 = load i8, ptr %82, align 1 %84 = sext i8 %83 to i32 %85 = icmp eq i32 %84, 46 br i1 %85, label %86, label %99 86: ; preds = %81 %87 = load ptr, ptr %9, align 8 %88 = getelementptr inbounds [4 x i8], ptr %8, i64 0, i64 0 %89 = getelementptr inbounds i8, ptr %88, i64 3 %90 = icmp uge ptr %87, %89 br i1 %90, label %91, label %93 91: ; preds = %86 %92 = load i8, ptr @INADDR_NONE, align 1 store i8 %92, ptr %2, align 1 br label %150 93: ; preds = %86 %94 = load i8, ptr %4, align 1 %95 = load ptr, ptr %9, align 8 %96 = getelementptr inbounds i8, ptr %95, i32 1 store ptr %96, ptr %9, align 8 store i8 %94, ptr %95, align 1 %97 = load ptr, ptr %3, align 8 %98 = getelementptr inbounds i8, ptr %97, i32 1 store ptr %98, ptr %3, align 8 br label %12 99: ; preds = %81 %100 = load ptr, ptr %3, align 8 %101 = load i8, ptr %100, align 1 %102 = sext i8 %101 to i32 %103 = icmp ne i32 %102, 0 br i1 %103, label %104, label %111 104: ; preds = %99 %105 = load ptr, ptr %3, align 8 %106 = load i8, ptr %105, align 1 %107 = call i32 @isspace(i8 noundef signext %106) %108 = icmp ne i32 %107, 0 br i1 %108, label %111, label %109 109: ; preds = %104 %110 = load i8, ptr @INADDR_NONE, align 1 store i8 %110, ptr %2, align 1 br label %150 111: ; preds = %104, %99 %112 = load i8, ptr %4, align 1 %113 = load ptr, ptr %9, align 8 %114 = getelementptr inbounds i8, ptr %113, i32 1 store ptr %114, ptr %9, align 8 store i8 %112, ptr %113, align 1 %115 = load ptr, ptr %9, align 8 %116 = getelementptr inbounds [4 x i8], ptr %8, i64 0, i64 0 %117 = ptrtoint ptr %115 to i64 %118 = ptrtoint ptr %116 to i64 %119 = sub i64 %117, %118 %120 = trunc i64 %119 to i8 store i8 %120, ptr %6, align 1 store i8 0, ptr %4, align 1 store i32 0, ptr %10, align 4 br label %121 121: ; preds = %145, %111 %122 = load i32, ptr %10, align 4 %123 = icmp slt i32 %122, 4 br i1 %123, label %124, label %148 124: ; preds = %121 %125 = load i8, ptr %4, align 1 %126 = sext i8 %125 to i32 %127 = shl i32 %126, 8 %128 = trunc i32 %127 to i8 store i8 %128, ptr %4, align 1 %129 = load i32, ptr %10, align 4 %130 = load i8, ptr %6, align 1 %131 = sext i8 %130 to i32 %132 = icmp slt i32 %129, %131 br i1 %132, label %133, label %144 133: ; preds = %124 %134 = load i32, ptr %10, align 4 %135 = sext i32 %134 to i64 %136 = getelementptr inbounds [4 x i8], ptr %8, i64 0, i64 %135 %137 = load i8, ptr %136, align 1 %138 = sext i8 %137 to i32 %139 = and i32 %138, 255 %140 = load i8, ptr %4, align 1 %141 = sext i8 %140 to i32 %142 = or i32 %141, %139 %143 = trunc i32 %142 to i8 store i8 %143, ptr %4, align 1 br label %144 144: ; preds = %133, %124 br label %145 145: ; preds = %144 %146 = load i32, ptr %10, align 4 %147 = add nsw i32 %146, 1 store i32 %147, ptr %10, align 4 br label %121, !llvm.loop !8 148: ; preds = %121 %149 = load i8, ptr %4, align 1 store i8 %149, ptr %2, align 1 br label %150 150: ; preds = %148, %109, %91 %151 = load i8, ptr %2, align 1 ret i8 %151 } declare i64 @isdigit(i8 noundef signext) #1 declare i64 @isxdigit(i8 noundef signext) #1 declare i64 @islower(i8 noundef signext) #1 declare i32 @isspace(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"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpa2jr895t.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" @INADDR_NONE = dso_local global i8 0, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local signext i8 @inet_network(ptr noundef %0) #0 { %2 = alloca i8, align 1 %3 = alloca ptr, align 8 %4 = alloca i8, align 1 %5 = alloca i8, align 1 %6 = alloca i8, align 1 %7 = alloca i8, align 1 %8 = alloca [4 x i8], align 1 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 store ptr %0, ptr %3, align 8 %11 = getelementptr inbounds [4 x i8], ptr %8, i64 0, i64 0 store ptr %11, ptr %9, align 8 br label %12 12: ; preds = %95, %1 store i8 0, ptr %4, align 1 store i8 10, ptr %5, align 1 %13 = load ptr, ptr %3, align 8 %14 = load i8, ptr %13, align 1 %15 = sext i8 %14 to i32 %16 = icmp eq i32 %15, 48 br i1 %16, label %17, label %20 17: ; preds = %12 store i8 8, ptr %5, align 1 %18 = load ptr, ptr %3, align 8 %19 = getelementptr inbounds i8, ptr %18, i32 1 store ptr %19, ptr %3, align 8 br label %20 20: ; preds = %17, %12 %21 = load ptr, ptr %3, align 8 %22 = load i8, ptr %21, align 1 %23 = sext i8 %22 to i32 %24 = icmp eq i32 %23, 120 br i1 %24, label %30, label %25 25: ; preds = %20 %26 = load ptr, ptr %3, align 8 %27 = load i8, ptr %26, align 1 %28 = sext i8 %27 to i32 %29 = icmp eq i32 %28, 88 br i1 %29, label %30, label %33 30: ; preds = %25, %20 store i8 16, ptr %5, align 1 %31 = load ptr, ptr %3, align 8 %32 = getelementptr inbounds i8, ptr %31, i32 1 store ptr %32, ptr %3, align 8 br label %33 33: ; preds = %30, %25 %34 = load ptr, ptr %3, align 8 %35 = load i8, ptr %34, align 1 store i8 %35, ptr %7, align 1 %36 = icmp ne i8 %35, 0 br i1 %36, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %33 br label %37 37: ; preds = %.lr.ph, %.backedge %38 = load i8, ptr %7, align 1 %39 = call i64 @isdigit(i8 noundef signext %38) %40 = icmp ne i64 %39, 0 br i1 %40, label %41, label %57 41: ; preds = %37 %42 = load i8, ptr %4, align 1 %43 = sext i8 %42 to i32 %44 = load i8, ptr %5, align 1 %45 = sext i8 %44 to i32 %46 = mul nsw i32 %43, %45 %47 = load i8, ptr %7, align 1 %48 = sext i8 %47 to i32 %49 = sub nsw i32 %48, 48 %50 = add nsw i32 %46, %49 %51 = trunc i32 %50 to i8 store i8 %51, ptr %4, align 1 %52 = load ptr, ptr %3, align 8 %53 = getelementptr inbounds i8, ptr %52, i32 1 store ptr %53, ptr %3, align 8 br label %.backedge .backedge: ; preds = %41, %65 %54 = load ptr, ptr %3, align 8 %55 = load i8, ptr %54, align 1 store i8 %55, ptr %7, align 1 %56 = icmp ne i8 %55, 0 br i1 %56, label %37, label %..loopexit_crit_edge, !llvm.loop !6 57: ; preds = %37 %58 = load i8, ptr %5, align 1 %59 = sext i8 %58 to i32 %60 = icmp eq i32 %59, 16 br i1 %60, label %61, label %82 61: ; preds = %57 %62 = load i8, ptr %7, align 1 %63 = call i64 @isxdigit(i8 noundef signext %62) %64 = icmp ne i64 %63, 0 br i1 %64, label %65, label %82 65: ; preds = %61 %66 = load i8, ptr %4, align 1 %67 = sext i8 %66 to i32 %68 = shl i32 %67, 4 %69 = load i8, ptr %7, align 1 %70 = sext i8 %69 to i32 %71 = add nsw i32 %70, 10 %72 = load i8, ptr %7, align 1 %73 = call i64 @islower(i8 noundef signext %72) %74 = icmp ne i64 %73, 0 %75 = zext i1 %74 to i64 %76 = select i1 %74, i32 97, i32 65 %77 = sub nsw i32 %71, %76 %78 = add nsw i32 %68, %77 %79 = trunc i32 %78 to i8 store i8 %79, ptr %4, align 1 %80 = load ptr, ptr %3, align 8 %81 = getelementptr inbounds i8, ptr %80, i32 1 store ptr %81, ptr %3, align 8 br label %.backedge 82: ; preds = %61, %57 br label %83 ..loopexit_crit_edge: ; preds = %.backedge br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %33 br label %83 83: ; preds = %.loopexit, %82 %84 = load ptr, ptr %3, align 8 %85 = load i8, ptr %84, align 1 %86 = sext i8 %85 to i32 %87 = icmp eq i32 %86, 46 br i1 %87, label %88, label %101 88: ; preds = %83 %89 = load ptr, ptr %9, align 8 %90 = getelementptr inbounds [4 x i8], ptr %8, i64 0, i64 0 %91 = getelementptr inbounds i8, ptr %90, i64 3 %92 = icmp uge ptr %89, %91 br i1 %92, label %93, label %95 93: ; preds = %88 %94 = load i8, ptr @INADDR_NONE, align 1 store i8 %94, ptr %2, align 1 br label %153 95: ; preds = %88 %96 = load i8, ptr %4, align 1 %97 = load ptr, ptr %9, align 8 %98 = getelementptr inbounds i8, ptr %97, i32 1 store ptr %98, ptr %9, align 8 store i8 %96, ptr %97, align 1 %99 = load ptr, ptr %3, align 8 %100 = getelementptr inbounds i8, ptr %99, i32 1 store ptr %100, ptr %3, align 8 br label %12 101: ; preds = %83 %102 = load ptr, ptr %3, align 8 %103 = load i8, ptr %102, align 1 %104 = sext i8 %103 to i32 %105 = icmp ne i32 %104, 0 br i1 %105, label %106, label %113 106: ; preds = %101 %107 = load ptr, ptr %3, align 8 %108 = load i8, ptr %107, align 1 %109 = call i32 @isspace(i8 noundef signext %108) %110 = icmp ne i32 %109, 0 br i1 %110, label %113, label %111 111: ; preds = %106 %112 = load i8, ptr @INADDR_NONE, align 1 store i8 %112, ptr %2, align 1 br label %153 113: ; preds = %106, %101 %114 = load i8, ptr %4, align 1 %115 = load ptr, ptr %9, align 8 %116 = getelementptr inbounds i8, ptr %115, i32 1 store ptr %116, ptr %9, align 8 store i8 %114, ptr %115, align 1 %117 = load ptr, ptr %9, align 8 %118 = getelementptr inbounds [4 x i8], ptr %8, i64 0, i64 0 %119 = ptrtoint ptr %117 to i64 %120 = ptrtoint ptr %118 to i64 %121 = sub i64 %119, %120 %122 = trunc i64 %121 to i8 store i8 %122, ptr %6, align 1 store i8 0, ptr %4, align 1 store i32 0, ptr %10, align 4 %123 = load i32, ptr %10, align 4 %124 = icmp slt i32 %123, 4 br i1 %124, label %.lr.ph1, label %151 .lr.ph1: ; preds = %113 br label %125 125: ; preds = %.lr.ph1, %146 %126 = load i8, ptr %4, align 1 %127 = sext i8 %126 to i32 %128 = shl i32 %127, 8 %129 = trunc i32 %128 to i8 store i8 %129, ptr %4, align 1 %130 = load i32, ptr %10, align 4 %131 = load i8, ptr %6, align 1 %132 = sext i8 %131 to i32 %133 = icmp slt i32 %130, %132 br i1 %133, label %134, label %145 134: ; preds = %125 %135 = load i32, ptr %10, align 4 %136 = sext i32 %135 to i64 %137 = getelementptr inbounds [4 x i8], ptr %8, i64 0, i64 %136 %138 = load i8, ptr %137, align 1 %139 = sext i8 %138 to i32 %140 = and i32 %139, 255 %141 = load i8, ptr %4, align 1 %142 = sext i8 %141 to i32 %143 = or i32 %142, %140 %144 = trunc i32 %143 to i8 store i8 %144, ptr %4, align 1 br label %145 145: ; preds = %134, %125 br label %146 146: ; preds = %145 %147 = load i32, ptr %10, align 4 %148 = add nsw i32 %147, 1 store i32 %148, ptr %10, align 4 %149 = load i32, ptr %10, align 4 %150 = icmp slt i32 %149, 4 br i1 %150, label %125, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %146 br label %151 151: ; preds = %._crit_edge, %113 %152 = load i8, ptr %4, align 1 store i8 %152, ptr %2, align 1 br label %153 153: ; preds = %151, %111, %93 %154 = load i8, ptr %2, align 1 ret i8 %154 } declare i64 @isdigit(i8 noundef signext) #1 declare i64 @isxdigit(i8 noundef signext) #1 declare i64 @islower(i8 noundef signext) #1 declare i32 @isspace(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"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp473cx1oj.c' source_filename = "/tmp/tmp473cx1oj.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_isalnum.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"isalnum should be 0 for 0x81\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isalnum_0x81() #0 { %1 = call i64 @isalnum(i32 noundef 129) %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 650, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isalnum(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/tmp473cx1oj.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_isalnum.c\00", align 1 @.str.1 = private unnamed_addr constant [29 x i8] c"isalnum should be 0 for 0x81\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @t_isalnum_0x81() #0 { %1 = call i64 @isalnum(i32 noundef 129) %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 650, ptr noundef @.str.1) ret void } declare i32 @Assert_real(i32 noundef, ptr noundef, i32 noundef, ptr noundef) #1 declare i64 @isalnum(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/tmpapui8mse.c' source_filename = "/tmp/tmpapui8mse.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 @clock_destroy(ptr noalias 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 @clock_clear(ptr noundef %3) ret void } declare i32 @clock_clear(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/tmpapui8mse.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 @clock_destroy(ptr noalias 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 @clock_clear(ptr noundef %3) ret void } declare i32 @clock_clear(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/tmp7lc7h4bp.c' source_filename = "/tmp/tmp7lc7h4bp.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 @get_effective_genes(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %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 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i8, align 1 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 store i32 0, ptr %9, align 4 br label %19 19: ; preds = %28, %4 %20 = load i32, ptr %9, align 4 %21 = load i32, ptr %8, align 4 %22 = icmp slt i32 %20, %21 br i1 %22, label %23, label %31 23: ; preds = %19 %24 = load ptr, ptr %7, align 8 %25 = load i32, ptr %9, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i32, ptr %24, i64 %26 store i32 0, ptr %27, align 4 br label %28 28: ; preds = %23 %29 = load i32, ptr %9, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %9, align 4 br label %19, !llvm.loop !6 31: ; preds = %19 store i32 0, ptr %9, align 4 store i32 0, ptr %12, align 4 br label %32 32: ; preds = %84, %31 %33 = load i32, ptr %12, align 4 %34 = load i32, ptr %6, align 4 %35 = icmp slt i32 %33, %34 br i1 %35, label %36, label %87 36: ; preds = %32 %37 = load ptr, ptr %5, align 8 %38 = load i32, ptr %12, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds ptr, ptr %37, i64 %39 %41 = load ptr, ptr %40, align 8 %42 = call i32 @strlen(ptr noundef %41) store i32 %42, ptr %11, align 4 %43 = load i32, ptr %11, align 4 %44 = icmp sgt i32 %43, 16 br i1 %44, label %45, label %83 45: ; preds = %36 store i32 1, ptr %14, align 4 store i8 38, ptr %18, align 1 store i32 15, ptr %10, align 4 br label %46 46: ; preds = %79, %45 %47 = load i32, ptr %10, align 4 %48 = load i32, ptr %11, align 4 %49 = icmp slt i32 %47, %48 br i1 %49, label %50, label %82 50: ; preds = %46 %51 = load ptr, ptr %5, align 8 %52 = load i32, ptr %12, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds ptr, ptr %51, i64 %53 %55 = load ptr, ptr %54, align 8 %56 = load i32, ptr %10, align 4 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds i8, ptr %55, i64 %57 %59 = load i8, ptr %58, align 1 %60 = sext i8 %59 to i32 %61 = icmp eq i32 %60, 40 br i1 %61, label %62, label %78 62: ; preds = %50 store i32 1, ptr %17, align 4 %63 = load ptr, ptr %5, align 8 %64 = load i32, ptr %12, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds ptr, ptr %63, i64 %65 %67 = load ptr, ptr %66, align 8 %68 = load i32, ptr %10, align 4 %69 = sext i32 %68 to i64 %70 = getelementptr inbounds i8, ptr %67, i64 %69 %71 = getelementptr inbounds i8, ptr %70, i64 1 %72 = call i32 @sscanf(ptr noundef %71, ptr noundef @.str, ptr noundef %16) %73 = load ptr, ptr %7, align 8 %74 = load i32, ptr %16, align 4 %75 = sub nsw i32 %74, 1 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds i32, ptr %73, i64 %76 store i32 1, ptr %77, align 4 br label %78 78: ; preds = %62, %50 br label %79 79: ; preds = %78 %80 = load i32, ptr %10, align 4 %81 = add nsw i32 %80, 1 store i32 %81, ptr %10, align 4 br label %46, !llvm.loop !8 82: ; preds = %46 br label %83 83: ; preds = %82, %36 br label %84 84: ; preds = %83 %85 = load i32, ptr %12, align 4 %86 = add nsw i32 %85, 1 store i32 %86, ptr %12, align 4 br label %32, !llvm.loop !9 87: ; preds = %32 store i32 0, ptr %13, align 4 store i32 0, ptr %9, align 4 br label %88 88: ; preds = %103, %87 %89 = load i32, ptr %9, align 4 %90 = load i32, ptr %8, align 4 %91 = icmp slt i32 %89, %90 br i1 %91, label %92, label %106 92: ; preds = %88 %93 = load ptr, ptr %7, align 8 %94 = load i32, ptr %9, align 4 %95 = sext i32 %94 to i64 %96 = getelementptr inbounds i32, ptr %93, i64 %95 %97 = load i32, ptr %96, align 4 %98 = icmp sgt i32 %97, 0 br i1 %98, label %99, label %102 99: ; preds = %92 %100 = load i32, ptr %13, align 4 %101 = add nsw i32 %100, 1 store i32 %101, ptr %13, align 4 br label %102 102: ; preds = %99, %92 br label %103 103: ; preds = %102 %104 = load i32, ptr %9, align 4 %105 = add nsw i32 %104, 1 store i32 %105, ptr %9, align 4 br label %88, !llvm.loop !10 106: ; preds = %88 %107 = load i32, ptr %13, align 4 ret i32 %107 } declare i32 @strlen(ptr noundef) #1 declare i32 @sscanf(ptr 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp7lc7h4bp.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 @get_effective_genes(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3) #0 { %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 %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 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca i32, align 4 %17 = alloca i32, align 4 %18 = alloca i8, align 1 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store ptr %2, ptr %7, align 8 store i32 %3, ptr %8, align 4 store i32 0, ptr %9, align 4 %19 = load i32, ptr %9, align 4 %20 = load i32, ptr %8, align 4 %21 = icmp slt i32 %19, %20 br i1 %21, label %.lr.ph, label %33 .lr.ph: ; preds = %4 br label %22 22: ; preds = %.lr.ph, %27 %23 = load ptr, ptr %7, align 8 %24 = load i32, ptr %9, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds i32, ptr %23, i64 %25 store i32 0, ptr %26, align 4 br label %27 27: ; preds = %22 %28 = load i32, ptr %9, align 4 %29 = add nsw i32 %28, 1 store i32 %29, ptr %9, align 4 %30 = load i32, ptr %9, align 4 %31 = load i32, ptr %8, align 4 %32 = icmp slt i32 %30, %31 br i1 %32, label %22, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %27 br label %33 33: ; preds = %._crit_edge, %4 store i32 0, ptr %9, align 4 store i32 0, ptr %12, align 4 %34 = load i32, ptr %12, align 4 %35 = load i32, ptr %6, align 4 %36 = icmp slt i32 %34, %35 br i1 %36, label %.lr.ph5, label %93 .lr.ph5: ; preds = %33 br label %37 37: ; preds = %.lr.ph5, %87 %38 = load ptr, ptr %5, align 8 %39 = load i32, ptr %12, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds ptr, ptr %38, i64 %40 %42 = load ptr, ptr %41, align 8 %43 = call i32 @strlen(ptr noundef %42) store i32 %43, ptr %11, align 4 %44 = load i32, ptr %11, align 4 %45 = icmp sgt i32 %44, 16 br i1 %45, label %46, label %86 46: ; preds = %37 store i32 1, ptr %14, align 4 store i8 38, ptr %18, align 1 store i32 15, ptr %10, align 4 %47 = load i32, ptr %10, align 4 %48 = load i32, ptr %11, align 4 %49 = icmp slt i32 %47, %48 br i1 %49, label %.lr.ph2, label %85 .lr.ph2: ; preds = %46 br label %50 50: ; preds = %.lr.ph2, %79 %51 = load ptr, ptr %5, align 8 %52 = load i32, ptr %12, align 4 %53 = sext i32 %52 to i64 %54 = getelementptr inbounds ptr, ptr %51, i64 %53 %55 = load ptr, ptr %54, align 8 %56 = load i32, ptr %10, align 4 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds i8, ptr %55, i64 %57 %59 = load i8, ptr %58, align 1 %60 = sext i8 %59 to i32 %61 = icmp eq i32 %60, 40 br i1 %61, label %62, label %78 62: ; preds = %50 store i32 1, ptr %17, align 4 %63 = load ptr, ptr %5, align 8 %64 = load i32, ptr %12, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds ptr, ptr %63, i64 %65 %67 = load ptr, ptr %66, align 8 %68 = load i32, ptr %10, align 4 %69 = sext i32 %68 to i64 %70 = getelementptr inbounds i8, ptr %67, i64 %69 %71 = getelementptr inbounds i8, ptr %70, i64 1 %72 = call i32 @sscanf(ptr noundef %71, ptr noundef @.str, ptr noundef %16) %73 = load ptr, ptr %7, align 8 %74 = load i32, ptr %16, align 4 %75 = sub nsw i32 %74, 1 %76 = sext i32 %75 to i64 %77 = getelementptr inbounds i32, ptr %73, i64 %76 store i32 1, ptr %77, align 4 br label %78 78: ; preds = %62, %50 br label %79 79: ; preds = %78 %80 = load i32, ptr %10, align 4 %81 = add nsw i32 %80, 1 store i32 %81, ptr %10, align 4 %82 = load i32, ptr %10, align 4 %83 = load i32, ptr %11, align 4 %84 = icmp slt i32 %82, %83 br i1 %84, label %50, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %79 br label %85 85: ; preds = %._crit_edge3, %46 br label %86 86: ; preds = %85, %37 br label %87 87: ; preds = %86 %88 = load i32, ptr %12, align 4 %89 = add nsw i32 %88, 1 store i32 %89, ptr %12, align 4 %90 = load i32, ptr %12, align 4 %91 = load i32, ptr %6, align 4 %92 = icmp slt i32 %90, %91 br i1 %92, label %37, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %87 br label %93 93: ; preds = %._crit_edge6, %33 store i32 0, ptr %13, align 4 store i32 0, ptr %9, align 4 %94 = load i32, ptr %9, align 4 %95 = load i32, ptr %8, align 4 %96 = icmp slt i32 %94, %95 br i1 %96, label %.lr.ph8, label %114 .lr.ph8: ; preds = %93 br label %97 97: ; preds = %.lr.ph8, %108 %98 = load ptr, ptr %7, align 8 %99 = load i32, ptr %9, align 4 %100 = sext i32 %99 to i64 %101 = getelementptr inbounds i32, ptr %98, i64 %100 %102 = load i32, ptr %101, align 4 %103 = icmp sgt i32 %102, 0 br i1 %103, label %104, label %107 104: ; preds = %97 %105 = load i32, ptr %13, align 4 %106 = add nsw i32 %105, 1 store i32 %106, ptr %13, align 4 br label %107 107: ; preds = %104, %97 br label %108 108: ; preds = %107 %109 = load i32, ptr %9, align 4 %110 = add nsw i32 %109, 1 store i32 %110, ptr %9, align 4 %111 = load i32, ptr %9, align 4 %112 = load i32, ptr %8, align 4 %113 = icmp slt i32 %111, %112 br i1 %113, label %97, label %._crit_edge9, !llvm.loop !10 ._crit_edge9: ; preds = %108 br label %114 114: ; preds = %._crit_edge9, %93 %115 = load i32, ptr %13, align 4 ret i32 %115 } declare i32 @strlen(ptr noundef) #1 declare i32 @sscanf(ptr 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmp55wsdipe.c' source_filename = "/tmp/tmp55wsdipe.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.bury.part1 = private unnamed_addr constant [7 x i8] c"<!--;)\00", align 1 @__const.bury.part2 = private unnamed_addr constant [6 x i8] c"(;-->\00", align 1 @.str = private unnamed_addr constant [12 x i8] c"output.html\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"w+\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @bury(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 ptr, align 8 %11 = alloca [7 x i8], align 1 %12 = alloca [6 x i8], align 1 %13 = alloca ptr, align 8 %14 = alloca i32, align 4 %15 = 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 %16 = load i32, ptr %7, align 4 %17 = load i32, ptr %8, align 4 %18 = add nsw i32 %16, %17 %19 = add nsw i32 %18, 11 store i32 %19, ptr %9, align 4 %20 = load i32, ptr %9, align 4 %21 = call i64 @calloc(i32 noundef %20, i32 noundef 1) %22 = inttoptr i64 %21 to ptr store ptr %22, ptr %10, align 8 %23 = load ptr, ptr %10, align 8 %24 = load i32, ptr %9, align 4 %25 = call i32 @memset(ptr noundef %23, i8 noundef signext 0, i32 noundef %24) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %11, ptr align 1 @__const.bury.part1, i64 7, i1 false) %26 = load ptr, ptr %10, align 8 %27 = getelementptr inbounds [7 x i8], ptr %11, i64 0, i64 0 %28 = call i32 @strcat(ptr noundef %26, ptr noundef %27) %29 = load ptr, ptr %10, align 8 %30 = load ptr, ptr %6, align 8 %31 = call i32 @strcat(ptr noundef %29, ptr noundef %30) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %12, ptr align 1 @__const.bury.part2, i64 6, i1 false) %32 = load ptr, ptr %10, align 8 %33 = getelementptr inbounds [6 x i8], ptr %12, i64 0, i64 0 %34 = call i32 @strcat(ptr noundef %32, ptr noundef %33) %35 = load ptr, ptr %10, align 8 %36 = load ptr, ptr %5, align 8 %37 = call i32 @strcat(ptr noundef %35, ptr noundef %36) %38 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %38, ptr %13, align 8 store i32 0, ptr %14, align 4 br label %39 39: ; preds = %54, %4 %40 = load i32, ptr %14, align 4 %41 = load i32, ptr %9, align 4 %42 = sub nsw i32 %41, 1 %43 = icmp slt i32 %40, %42 br i1 %43, label %44, label %57 44: ; preds = %39 %45 = load ptr, ptr %10, align 8 %46 = load i32, ptr %14, align 4 %47 = sext i32 %46 to i64 %48 = getelementptr inbounds i8, ptr %45, i64 %47 %49 = load i8, ptr %48, align 1 %50 = sext i8 %49 to i32 store i32 %50, ptr %15, align 4 %51 = load ptr, ptr %13, align 8 %52 = load i32, ptr %15, align 4 %53 = call i32 @fprintf(ptr noundef %51, ptr noundef @.str.2, i32 noundef %52) br label %54 54: ; preds = %44 %55 = load i32, ptr %14, align 4 %56 = add nsw i32 %55, 1 store i32 %56, ptr %14, align 4 br label %39, !llvm.loop !6 57: ; preds = %39 %58 = load ptr, ptr %13, align 8 %59 = call i32 @fclose(ptr noundef %58) %60 = load i32, ptr %9, align 4 ret i32 %60 } declare i64 @calloc(i32 noundef, i32 noundef) #1 declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) #1 ; 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) #2 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, i32 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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } !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/tmp55wsdipe.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.bury.part1 = private unnamed_addr constant [7 x i8] c"<!--;)\00", align 1 @__const.bury.part2 = private unnamed_addr constant [6 x i8] c"(;-->\00", align 1 @.str = private unnamed_addr constant [12 x i8] c"output.html\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"w+\00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"%c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @bury(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 ptr, align 8 %11 = alloca [7 x i8], align 1 %12 = alloca [6 x i8], align 1 %13 = alloca ptr, align 8 %14 = alloca i32, align 4 %15 = 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 %16 = load i32, ptr %7, align 4 %17 = load i32, ptr %8, align 4 %18 = add nsw i32 %16, %17 %19 = add nsw i32 %18, 11 store i32 %19, ptr %9, align 4 %20 = load i32, ptr %9, align 4 %21 = call i64 @calloc(i32 noundef %20, i32 noundef 1) %22 = inttoptr i64 %21 to ptr store ptr %22, ptr %10, align 8 %23 = load ptr, ptr %10, align 8 %24 = load i32, ptr %9, align 4 %25 = call i32 @memset(ptr noundef %23, i8 noundef signext 0, i32 noundef %24) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %11, ptr align 1 @__const.bury.part1, i64 7, i1 false) %26 = load ptr, ptr %10, align 8 %27 = getelementptr inbounds [7 x i8], ptr %11, i64 0, i64 0 %28 = call i32 @strcat(ptr noundef %26, ptr noundef %27) %29 = load ptr, ptr %10, align 8 %30 = load ptr, ptr %6, align 8 %31 = call i32 @strcat(ptr noundef %29, ptr noundef %30) call void @llvm.memcpy.p0.p0.i64(ptr align 1 %12, ptr align 1 @__const.bury.part2, i64 6, i1 false) %32 = load ptr, ptr %10, align 8 %33 = getelementptr inbounds [6 x i8], ptr %12, i64 0, i64 0 %34 = call i32 @strcat(ptr noundef %32, ptr noundef %33) %35 = load ptr, ptr %10, align 8 %36 = load ptr, ptr %5, align 8 %37 = call i32 @strcat(ptr noundef %35, ptr noundef %36) %38 = call ptr @fopen(ptr noundef @.str, ptr noundef @.str.1) store ptr %38, ptr %13, align 8 store i32 0, ptr %14, align 4 %39 = load i32, ptr %14, align 4 %40 = load i32, ptr %9, align 4 %41 = sub nsw i32 %40, 1 %42 = icmp slt i32 %39, %41 br i1 %42, label %.lr.ph, label %60 .lr.ph: ; preds = %4 br label %43 43: ; preds = %.lr.ph, %53 %44 = load ptr, ptr %10, align 8 %45 = load i32, ptr %14, 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 store i32 %49, ptr %15, align 4 %50 = load ptr, ptr %13, align 8 %51 = load i32, ptr %15, align 4 %52 = call i32 @fprintf(ptr noundef %50, ptr noundef @.str.2, i32 noundef %51) br label %53 53: ; preds = %43 %54 = load i32, ptr %14, align 4 %55 = add nsw i32 %54, 1 store i32 %55, ptr %14, align 4 %56 = load i32, ptr %14, align 4 %57 = load i32, ptr %9, align 4 %58 = sub nsw i32 %57, 1 %59 = icmp slt i32 %56, %58 br i1 %59, label %43, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %53 br label %60 60: ; preds = %._crit_edge, %4 %61 = load ptr, ptr %13, align 8 %62 = call i32 @fclose(ptr noundef %61) %63 = load i32, ptr %9, align 4 ret i32 %63 } declare i64 @calloc(i32 noundef, i32 noundef) #1 declare i32 @memset(ptr noundef, i8 noundef signext, i32 noundef) #1 ; 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) #2 declare i32 @strcat(ptr noundef, ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @fprintf(ptr noundef, ptr noundef, i32 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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) } !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/tmpiaj34s3l.c' source_filename = "/tmp/tmpiaj34s3l.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/tmpiaj34s3l.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/tmp6tk0gra_.c' source_filename = "/tmp/tmp6tk0gra_.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 @ehnlc_strncat(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %8 = load ptr, ptr %4, align 8 store ptr %8, ptr %7, align 8 br label %9 9: ; preds = %14, %3 %10 = load ptr, ptr %7, align 8 %11 = load i8, ptr %10, align 1 %12 = icmp ne i8 %11, 0 br i1 %12, label %13, label %17 13: ; preds = %9 br label %14 14: ; preds = %13 %15 = load ptr, ptr %7, align 8 %16 = getelementptr inbounds i8, ptr %15, i32 1 store ptr %16, ptr %7, align 8 br label %9, !llvm.loop !6 17: ; preds = %9 br label %18 18: ; preds = %34, %17 %19 = load i64, ptr %6, align 8 %20 = icmp ne i64 %19, 0 br i1 %20, label %21, label %26 21: ; preds = %18 %22 = load ptr, ptr %5, 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, %18 %27 = phi i1 [ false, %18 ], [ %25, %21 ] br i1 %27, label %28, label %37 28: ; preds = %26 %29 = load ptr, ptr %5, align 8 %30 = getelementptr inbounds i8, ptr %29, i32 1 store ptr %30, ptr %5, align 8 %31 = load i8, ptr %29, align 1 %32 = load ptr, ptr %7, align 8 %33 = getelementptr inbounds i8, ptr %32, i32 1 store ptr %33, ptr %7, align 8 store i8 %31, ptr %32, align 1 br label %34 34: ; preds = %28 %35 = load i64, ptr %6, align 8 %36 = add i64 %35, -1 store i64 %36, ptr %6, align 8 br label %18, !llvm.loop !8 37: ; preds = %26 %38 = load ptr, ptr %7, align 8 store i8 0, ptr %38, align 1 %39 = load ptr, ptr %4, align 8 ret ptr %39 } 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/tmp6tk0gra_.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 @ehnlc_strncat(ptr noundef %0, ptr noundef %1, i64 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i64, align 8 %7 = alloca ptr, align 8 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store i64 %2, ptr %6, align 8 %8 = load ptr, ptr %4, align 8 store ptr %8, ptr %7, align 8 %9 = load ptr, ptr %7, align 8 %10 = load i8, ptr %9, align 1 %11 = icmp ne i8 %10, 0 br i1 %11, label %.lr.ph, label %19 .lr.ph: ; preds = %3 br label %12 12: ; preds = %.lr.ph, %13 br label %13 13: ; preds = %12 %14 = load ptr, ptr %7, align 8 %15 = getelementptr inbounds i8, ptr %14, i32 1 store ptr %15, ptr %7, align 8 %16 = load ptr, ptr %7, align 8 %17 = load i8, ptr %16, align 1 %18 = icmp ne i8 %17, 0 br i1 %18, label %12, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %13 br label %19 19: ; preds = %._crit_edge, %3 br label %20 20: ; preds = %36, %19 %21 = load i64, ptr %6, align 8 %22 = icmp ne i64 %21, 0 br i1 %22, label %23, label %28 23: ; preds = %20 %24 = load ptr, ptr %5, align 8 %25 = load i8, ptr %24, align 1 %26 = sext i8 %25 to i32 %27 = icmp ne i32 %26, 0 br label %28 28: ; preds = %23, %20 %29 = phi i1 [ false, %20 ], [ %27, %23 ] br i1 %29, label %30, label %39 30: ; preds = %28 %31 = load ptr, ptr %5, align 8 %32 = getelementptr inbounds i8, ptr %31, i32 1 store ptr %32, ptr %5, align 8 %33 = load i8, ptr %31, align 1 %34 = load ptr, ptr %7, align 8 %35 = getelementptr inbounds i8, ptr %34, i32 1 store ptr %35, ptr %7, align 8 store i8 %33, ptr %34, align 1 br label %36 36: ; preds = %30 %37 = load i64, ptr %6, align 8 %38 = add i64 %37, -1 store i64 %38, ptr %6, align 8 br label %20, !llvm.loop !8 39: ; preds = %28 %40 = load ptr, ptr %7, align 8 store i8 0, ptr %40, align 1 %41 = load ptr, ptr %4, align 8 ret ptr %41 } 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/tmpo_n1qw5r.c' source_filename = "/tmp/tmpo_n1qw5r.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 [38 x i8] c"Usage: ewfinfo [ -dhimvV ] ewf_files\0A\00", align 1 @.str.1 = private unnamed_addr constant [67 x i8] c"\09-d: use a alternative date format month/day instead of day/month\0A\00", align 1 @.str.2 = private unnamed_addr constant [43 x i8] c"\09-e: only show EWF read error information\0A\00", align 1 @.str.3 = private unnamed_addr constant [22 x i8] c"\09-h: shows this help\0A\00", align 1 @.str.4 = private unnamed_addr constant [40 x i8] c"\09-i: only show EWF acquiry information\0A\00", align 1 @.str.5 = private unnamed_addr constant [38 x i8] c"\09-m: only show EWF media information\0A\00", align 1 @.str.6 = private unnamed_addr constant [31 x i8] c"\09-v: verbose output to stderr\0A\00", align 1 @.str.7 = private unnamed_addr constant [20 x i8] c"\09-V: print version\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage() #0 { %1 = load i32, ptr @stderr, align 4 %2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str) %3 = load i32, ptr @stderr, align 4 %4 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str.1) %5 = load i32, ptr @stderr, align 4 %6 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str.2) %7 = load i32, ptr @stderr, align 4 %8 = call i32 @fprintf(i32 noundef %7, ptr noundef @.str.3) %9 = load i32, ptr @stderr, align 4 %10 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str.4) %11 = load i32, ptr @stderr, align 4 %12 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str.5) %13 = load i32, ptr @stderr, align 4 %14 = call i32 @fprintf(i32 noundef %13, ptr noundef @.str.6) %15 = load i32, ptr @stderr, align 4 %16 = call i32 @fprintf(i32 noundef %15, ptr noundef @.str.7) %17 = load i32, ptr @EXIT_FAILURE, align 4 %18 = call i32 @exit(i32 noundef %17) #3 unreachable } declare i32 @fprintf(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/tmpo_n1qw5r.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 [38 x i8] c"Usage: ewfinfo [ -dhimvV ] ewf_files\0A\00", align 1 @.str.1 = private unnamed_addr constant [67 x i8] c"\09-d: use a alternative date format month/day instead of day/month\0A\00", align 1 @.str.2 = private unnamed_addr constant [43 x i8] c"\09-e: only show EWF read error information\0A\00", align 1 @.str.3 = private unnamed_addr constant [22 x i8] c"\09-h: shows this help\0A\00", align 1 @.str.4 = private unnamed_addr constant [40 x i8] c"\09-i: only show EWF acquiry information\0A\00", align 1 @.str.5 = private unnamed_addr constant [38 x i8] c"\09-m: only show EWF media information\0A\00", align 1 @.str.6 = private unnamed_addr constant [31 x i8] c"\09-v: verbose output to stderr\0A\00", align 1 @.str.7 = private unnamed_addr constant [20 x i8] c"\09-V: print version\0A\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @usage() #0 { %1 = load i32, ptr @stderr, align 4 %2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str) %3 = load i32, ptr @stderr, align 4 %4 = call i32 @fprintf(i32 noundef %3, ptr noundef @.str.1) %5 = load i32, ptr @stderr, align 4 %6 = call i32 @fprintf(i32 noundef %5, ptr noundef @.str.2) %7 = load i32, ptr @stderr, align 4 %8 = call i32 @fprintf(i32 noundef %7, ptr noundef @.str.3) %9 = load i32, ptr @stderr, align 4 %10 = call i32 @fprintf(i32 noundef %9, ptr noundef @.str.4) %11 = load i32, ptr @stderr, align 4 %12 = call i32 @fprintf(i32 noundef %11, ptr noundef @.str.5) %13 = load i32, ptr @stderr, align 4 %14 = call i32 @fprintf(i32 noundef %13, ptr noundef @.str.6) %15 = load i32, ptr @stderr, align 4 %16 = call i32 @fprintf(i32 noundef %15, ptr noundef @.str.7) %17 = load i32, ptr @EXIT_FAILURE, align 4 %18 = call i32 @exit(i32 noundef %17) #3 unreachable } declare i32 @fprintf(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/tmpptt2rh6v.c' source_filename = "/tmp/tmpptt2rh6v.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 [66 x i8] c"There are two in a motorcycle and the man in the middle goes down\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @tell_me_two_bad_translated_jokes() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 (...) @tell_me_a_bad_translated_joke() ret void } declare i32 @printf(ptr noundef) #1 declare i32 @tell_me_a_bad_translated_joke(...) #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/tmpptt2rh6v.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 [66 x i8] c"There are two in a motorcycle and the man in the middle goes down\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @tell_me_two_bad_translated_jokes() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 (...) @tell_me_a_bad_translated_joke() ret void } declare i32 @printf(ptr noundef) #1 declare i32 @tell_me_a_bad_translated_joke(...) #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/tmpvrgg1hug.c' source_filename = "/tmp/tmpvrgg1hug.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 @lookreal8array(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %4, align 4 %7 = mul nsw i32 %6, 8 %8 = call i32 @lookNarray(ptr noundef %5, i32 noundef %7) ret void } declare i32 @lookNarray(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/tmpvrgg1hug.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 @lookreal8array(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %5 = load ptr, ptr %3, align 8 %6 = load i32, ptr %4, align 4 %7 = mul nsw i32 %6, 8 %8 = call i32 @lookNarray(ptr noundef %5, i32 noundef %7) ret void } declare i32 @lookNarray(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"}