llvm-ir
stringlengths
479
303k
llvm-optimized-ir
stringlengths
468
303k
; ModuleID = '/tmp/tmp9yo1yg48.c' source_filename = "/tmp/tmp9yo1yg48.c" target datalayout = "e-m:e-p270: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"foo\00", align 1 @O_RDWR = dso_local global i32 0, align 4 @O_CREAT = dso_local global i32 0, align 4 @O_TRUNC = dso_local global i32 0, align 4 @S_IRUSR = dso_local global i32 0, align 4 @S_IWUSR = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [7 x i8] c"Hello,\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"world\00", align 1 @SEEK_SET = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [7 x i8] c"HELLO,\00", align 1 @.str.4 = private unnamed_addr constant [7 x i8] c"Gidday\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 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 ptr @.str, ptr %9, align 8 %10 = load ptr, ptr %9, align 8 %11 = load i32, ptr @O_RDWR, align 4 %12 = load i32, ptr @O_CREAT, align 4 %13 = or i32 %11, %12 %14 = load i32, ptr @O_TRUNC, align 4 %15 = or i32 %13, %14 %16 = load i32, ptr @S_IRUSR, align 4 %17 = load i32, ptr @S_IWUSR, align 4 %18 = or i32 %16, %17 %19 = call i32 (ptr, i32, ...) @open(ptr noundef %10, i32 noundef %15, i32 noundef %18) store i32 %19, ptr %6, align 4 %20 = load i32, ptr %6, align 4 %21 = call i32 @dup(i32 noundef %20) store i32 %21, ptr %7, align 4 %22 = load ptr, ptr %9, align 8 %23 = load i32, ptr @O_RDWR, align 4 %24 = call i32 (ptr, i32, ...) @open(ptr noundef %22, i32 noundef %23) store i32 %24, ptr %8, align 4 %25 = load i32, ptr %6, align 4 %26 = call i32 @write(i32 noundef %25, ptr noundef @.str.1, i32 noundef 6) %27 = load i32, ptr %7, align 4 %28 = call i32 @write(i32 noundef %27, ptr noundef @.str.2, i32 noundef 6) %29 = load i32, ptr %7, align 4 %30 = load i32, ptr @SEEK_SET, align 4 %31 = call i32 @lseek(i32 noundef %29, i32 noundef 0, i32 noundef %30) %32 = load i32, ptr %6, align 4 %33 = call i32 @write(i32 noundef %32, ptr noundef @.str.3, i32 noundef 6) %34 = load i32, ptr %8, align 4 %35 = call i32 @write(i32 noundef %34, ptr noundef @.str.4, i32 noundef 6) %36 = load i32, ptr @EXIT_SUCCESS, align 4 %37 = call i32 @exit(i32 noundef %36) #3 unreachable } declare i32 @open(ptr noundef, i32 noundef, ...) #1 declare i32 @dup(i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @lseek(i32 noundef, i32 noundef, i32 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/tmp9yo1yg48.c" target datalayout = "e-m:e-p270: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"foo\00", align 1 @O_RDWR = dso_local global i32 0, align 4 @O_CREAT = dso_local global i32 0, align 4 @O_TRUNC = dso_local global i32 0, align 4 @S_IRUSR = dso_local global i32 0, align 4 @S_IWUSR = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [7 x i8] c"Hello,\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"world\00", align 1 @SEEK_SET = dso_local global i32 0, align 4 @.str.3 = private unnamed_addr constant [7 x i8] c"HELLO,\00", align 1 @.str.4 = private unnamed_addr constant [7 x i8] c"Gidday\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 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 ptr @.str, ptr %9, align 8 %10 = load ptr, ptr %9, align 8 %11 = load i32, ptr @O_RDWR, align 4 %12 = load i32, ptr @O_CREAT, align 4 %13 = or i32 %11, %12 %14 = load i32, ptr @O_TRUNC, align 4 %15 = or i32 %13, %14 %16 = load i32, ptr @S_IRUSR, align 4 %17 = load i32, ptr @S_IWUSR, align 4 %18 = or i32 %16, %17 %19 = call i32 (ptr, i32, ...) @open(ptr noundef %10, i32 noundef %15, i32 noundef %18) store i32 %19, ptr %6, align 4 %20 = load i32, ptr %6, align 4 %21 = call i32 @dup(i32 noundef %20) store i32 %21, ptr %7, align 4 %22 = load ptr, ptr %9, align 8 %23 = load i32, ptr @O_RDWR, align 4 %24 = call i32 (ptr, i32, ...) @open(ptr noundef %22, i32 noundef %23) store i32 %24, ptr %8, align 4 %25 = load i32, ptr %6, align 4 %26 = call i32 @write(i32 noundef %25, ptr noundef @.str.1, i32 noundef 6) %27 = load i32, ptr %7, align 4 %28 = call i32 @write(i32 noundef %27, ptr noundef @.str.2, i32 noundef 6) %29 = load i32, ptr %7, align 4 %30 = load i32, ptr @SEEK_SET, align 4 %31 = call i32 @lseek(i32 noundef %29, i32 noundef 0, i32 noundef %30) %32 = load i32, ptr %6, align 4 %33 = call i32 @write(i32 noundef %32, ptr noundef @.str.3, i32 noundef 6) %34 = load i32, ptr %8, align 4 %35 = call i32 @write(i32 noundef %34, ptr noundef @.str.4, i32 noundef 6) %36 = load i32, ptr @EXIT_SUCCESS, align 4 %37 = call i32 @exit(i32 noundef %36) #3 unreachable } declare i32 @open(ptr noundef, i32 noundef, ...) #1 declare i32 @dup(i32 noundef) #1 declare i32 @write(i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @lseek(i32 noundef, i32 noundef, i32 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/tmpryxeqtuq.c' source_filename = "/tmp/tmpryxeqtuq.c" target datalayout = "e-m:e-p270: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.timeval = type { i32 } @.str = private unnamed_addr constant [55 x i8] c"!AIVDM,1,1,,B,15MqvC0Oh9G?qinK?VlPhA480@2n,0*1F,123,14\00", align 1 @.str.1 = private unnamed_addr constant [48 x i8] c"!AIVDM,1,1,,B,15Mf@6P001G?v68K??4SejL<00Sl,0*71\00", align 1 @.str.2 = private unnamed_addr constant [48 x i8] c"!AIVDM,1,1,,B,15Mn4kPP01G?qNvK>:grkOv<0<11,0*55\00", align 1 @.str.3 = private unnamed_addr constant [48 x i8] c"!AIVDM,1,1,,B,15O1Pv0022o?GeNKB3f7QV2>00SP,0*26\00", align 1 @.str.4 = private unnamed_addr constant [48 x i8] c"!AIVDM,1,1,,B,15MqvC0Oh:G?qj0K?Vp@di4B0@5>,0*44\00", align 1 @.str.5 = private unnamed_addr constant [47 x i8] c"!AIVDM,1,1,,B,15NcRf0P3wG?Wq\0B>o=RP?vB0<1J,0*7B\00", align 1 @.str.6 = private unnamed_addr constant [48 x i8] c"$BSVDM,1,1,,B,15MqvC0Oh:G?qj0K?Vp@di4B0@5>,0*5D\00", align 1 @.str.7 = private unnamed_addr constant [62 x i8] c"!BSVDM,1,1,,B,15NcRf0P3wG?Wq\0B>o=RP?vB0<1J,0*02,142,aass,12311\00", align 1 @__const.main.demo_msg1 = private unnamed_addr constant [8 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3, ptr @.str.4, ptr @.str.5, ptr @.str.6, ptr @.str.7], align 16 @.str.8 = private unnamed_addr constant [77 x i8] c"!AIVDM,2,1,6,B,55ArUT02:nkG<I8GB20nuJ0p5HTu>0hT9860TV16000006420BDi@E53,0*33\00", align 1 @.str.9 = private unnamed_addr constant [36 x i8] c"!AIVDM,2,2,6,B,1KUDhH888888880,2*6A\00", align 1 @.str.10 = private unnamed_addr constant [77 x i8] c"!AIVDM,2,1,7,B,55N6RQ000001L@?WWC4h5=B0l4pLv2222222220U1@6335oA0543lU83,0*14\00", align 1 @.str.11 = private unnamed_addr constant [36 x i8] c"!AIVDM,2,2,7,B,5A33mp888888880,2*49\00", align 1 @.str.12 = private unnamed_addr constant [77 x i8] c"!AIVDM,2,1,8,B,55N0=SP00001Lt??;OL<PTDJ1<D5A@hF2222220k2@>2640005h00000,0*70\00", align 1 @.str.13 = private unnamed_addr constant [36 x i8] c"!AIVDM,2,2,8,B,000000000000000,2*2F\00", align 1 @.str.14 = private unnamed_addr constant [77 x i8] c"!AIVDM,2,1,9,B,55Mj3MP00001LgO73N0dh4PuMT61M<J22222220t3iJ??40Ht<Uli`51,0*57\00", align 1 @.str.15 = private unnamed_addr constant [36 x i8] c"!AIVDM,2,2,9,B,DSBCPC888888880,2*2B\00", align 1 @.str.16 = private unnamed_addr constant [77 x i8] c"!AIVDM,2,1,1,B,55Mj2u01o97qMU;?C;5M<J0dUA<522222222220t2Q@>:40Ht<Uli`51,0*16\00", align 1 @.str.17 = private unnamed_addr constant [36 x i8] c"!AIVDM,2,2,1,B,DSBCPC888888880,2*23\00", align 1 @.str.18 = private unnamed_addr constant [77 x i8] c"!AIVDM,2,1,2,B,54QKkL01uDfUM@k;SO918v1=E9HETu800000000010e2:40000000000,0*20\00", align 1 @.str.19 = private unnamed_addr constant [36 x i8] c"!AIVDM,2,2,2,B,000000000000000,2*25\00", align 1 @.str.20 = private unnamed_addr constant [77 x i8] c"!AIVDM,2,1,5,B,54eGL:00543h=WWG7V0`u<F0p59H4Eb22222220l10A5262k0<S0APDQ,0*62\00", align 1 @.str.21 = private unnamed_addr constant [36 x i8] c"!AIVDM,2,2,5,B,iH4i@E531H88880,2*24\00", align 1 @__const.main.demo_msg5 = private unnamed_addr constant [14 x ptr] [ptr @.str.8, ptr @.str.9, ptr @.str.10, ptr @.str.11, ptr @.str.12, ptr @.str.13, ptr @.str.14, ptr @.str.15, ptr @.str.16, ptr @.str.17, ptr @.str.18, ptr @.str.19, ptr @.str.20, ptr @.str.21], align 16 @.str.22 = private unnamed_addr constant [15 x i8] c"Message1 test\0A\00", align 1 @.str.23 = private unnamed_addr constant [17 x i8] c"Run #%d = %0.4f\0A\00", align 1 @.str.24 = private unnamed_addr constant [17 x i8] c"Average = %0.4f\0A\00", align 1 @.str.25 = private unnamed_addr constant [28 x i8] c"Speed = %0.4f messages/sec\0A\00", align 1 @.str.26 = private unnamed_addr constant [15 x i8] c"Message5 test\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 %struct.timeval, align 4 %7 = alloca %struct.timeval, align 4 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca i32, align 4 %12 = alloca [8 x ptr], align 16 %13 = alloca [14 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 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %12, ptr align 16 @__const.main.demo_msg1, i64 64, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %13, ptr align 16 @__const.main.demo_msg5, i64 112, i1 false) %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.22) store double 0.000000e+00, ptr %8, align 8 store i32 0, ptr %11, align 4 br label %15 15: ; preds = %37, %2 %16 = load i32, ptr %11, align 4 %17 = icmp ult i32 %16, 5 br i1 %17, label %18, label %40 18: ; preds = %15 %19 = call i32 @sleep(i32 noundef 5) %20 = getelementptr inbounds [8 x ptr], ptr %12, i64 0, i64 0 %21 = call i32 @run_test(ptr noundef %20, i32 noundef 7, ptr noundef %6, ptr noundef %7) %22 = getelementptr inbounds %struct.timeval, ptr %6, i32 0, i32 0 %23 = load i32, ptr %22, align 4 %24 = getelementptr inbounds %struct.timeval, ptr %7, i32 0, i32 0 %25 = load i32, ptr %24, align 4 %26 = call double @elapsed_time(i32 %23, i32 %25) %27 = load double, ptr %8, align 8 %28 = fadd double %27, %26 store double %28, ptr %8, align 8 %29 = load i32, ptr %11, align 4 %30 = add i32 %29, 1 %31 = getelementptr inbounds %struct.timeval, ptr %6, i32 0, i32 0 %32 = load i32, ptr %31, align 4 %33 = getelementptr inbounds %struct.timeval, ptr %7, i32 0, i32 0 %34 = load i32, ptr %33, align 4 %35 = call double @elapsed_time(i32 %32, i32 %34) %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.23, i32 noundef %30, double noundef %35) br label %37 37: ; preds = %18 %38 = load i32, ptr %11, align 4 %39 = add i32 %38, 1 store i32 %39, ptr %11, align 4 br label %15, !llvm.loop !6 40: ; preds = %15 %41 = load double, ptr %8, align 8 %42 = fdiv double %41, 5.000000e+00 store double %42, ptr %9, align 8 %43 = load double, ptr %9, align 8 %44 = fdiv double 1.750000e+06, %43 store double %44, ptr %10, align 8 %45 = load double, ptr %9, align 8 %46 = call i32 (ptr, ...) @printf(ptr noundef @.str.24, double noundef %45) %47 = load double, ptr %10, align 8 %48 = call i32 (ptr, ...) @printf(ptr noundef @.str.25, double noundef %47) %49 = call i32 (ptr, ...) @printf(ptr noundef @.str.26) store double 0.000000e+00, ptr %8, align 8 store i32 0, ptr %11, align 4 br label %50 50: ; preds = %72, %40 %51 = load i32, ptr %11, align 4 %52 = icmp ult i32 %51, 5 br i1 %52, label %53, label %75 53: ; preds = %50 %54 = call i32 @sleep(i32 noundef 5) %55 = getelementptr inbounds [14 x ptr], ptr %13, i64 0, i64 0 %56 = call i32 @run_test(ptr noundef %55, i32 noundef 14, ptr noundef %6, ptr noundef %7) %57 = getelementptr inbounds %struct.timeval, ptr %6, i32 0, i32 0 %58 = load i32, ptr %57, align 4 %59 = getelementptr inbounds %struct.timeval, ptr %7, i32 0, i32 0 %60 = load i32, ptr %59, align 4 %61 = call double @elapsed_time(i32 %58, i32 %60) %62 = load double, ptr %8, align 8 %63 = fadd double %62, %61 store double %63, ptr %8, align 8 %64 = load i32, ptr %11, align 4 %65 = add i32 %64, 1 %66 = getelementptr inbounds %struct.timeval, ptr %6, i32 0, i32 0 %67 = load i32, ptr %66, align 4 %68 = getelementptr inbounds %struct.timeval, ptr %7, i32 0, i32 0 %69 = load i32, ptr %68, align 4 %70 = call double @elapsed_time(i32 %67, i32 %69) %71 = call i32 (ptr, ...) @printf(ptr noundef @.str.23, i32 noundef %65, double noundef %70) br label %72 72: ; preds = %53 %73 = load i32, ptr %11, align 4 %74 = add i32 %73, 1 store i32 %74, ptr %11, align 4 br label %50, !llvm.loop !8 75: ; preds = %50 %76 = load double, ptr %8, align 8 %77 = fdiv double %76, 5.000000e+00 store double %77, ptr %9, align 8 %78 = load double, ptr %9, align 8 %79 = fdiv double 3.500000e+06, %78 store double %79, ptr %10, align 8 %80 = load double, ptr %9, align 8 %81 = call i32 (ptr, ...) @printf(ptr noundef @.str.24, double noundef %80) %82 = load double, ptr %10, align 8 %83 = call i32 (ptr, ...) @printf(ptr noundef @.str.25, double noundef %82) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, ...) #2 declare i32 @sleep(i32 noundef) #2 declare i32 @run_test(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #2 declare double @elapsed_time(i32, i32) #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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpryxeqtuq.c" target datalayout = "e-m:e-p270: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.timeval = type { i32 } @.str = private unnamed_addr constant [55 x i8] c"!AIVDM,1,1,,B,15MqvC0Oh9G?qinK?VlPhA480@2n,0*1F,123,14\00", align 1 @.str.1 = private unnamed_addr constant [48 x i8] c"!AIVDM,1,1,,B,15Mf@6P001G?v68K??4SejL<00Sl,0*71\00", align 1 @.str.2 = private unnamed_addr constant [48 x i8] c"!AIVDM,1,1,,B,15Mn4kPP01G?qNvK>:grkOv<0<11,0*55\00", align 1 @.str.3 = private unnamed_addr constant [48 x i8] c"!AIVDM,1,1,,B,15O1Pv0022o?GeNKB3f7QV2>00SP,0*26\00", align 1 @.str.4 = private unnamed_addr constant [48 x i8] c"!AIVDM,1,1,,B,15MqvC0Oh:G?qj0K?Vp@di4B0@5>,0*44\00", align 1 @.str.5 = private unnamed_addr constant [47 x i8] c"!AIVDM,1,1,,B,15NcRf0P3wG?Wq\0B>o=RP?vB0<1J,0*7B\00", align 1 @.str.6 = private unnamed_addr constant [48 x i8] c"$BSVDM,1,1,,B,15MqvC0Oh:G?qj0K?Vp@di4B0@5>,0*5D\00", align 1 @.str.7 = private unnamed_addr constant [62 x i8] c"!BSVDM,1,1,,B,15NcRf0P3wG?Wq\0B>o=RP?vB0<1J,0*02,142,aass,12311\00", align 1 @__const.main.demo_msg1 = private unnamed_addr constant [8 x ptr] [ptr @.str, ptr @.str.1, ptr @.str.2, ptr @.str.3, ptr @.str.4, ptr @.str.5, ptr @.str.6, ptr @.str.7], align 16 @.str.8 = private unnamed_addr constant [77 x i8] c"!AIVDM,2,1,6,B,55ArUT02:nkG<I8GB20nuJ0p5HTu>0hT9860TV16000006420BDi@E53,0*33\00", align 1 @.str.9 = private unnamed_addr constant [36 x i8] c"!AIVDM,2,2,6,B,1KUDhH888888880,2*6A\00", align 1 @.str.10 = private unnamed_addr constant [77 x i8] c"!AIVDM,2,1,7,B,55N6RQ000001L@?WWC4h5=B0l4pLv2222222220U1@6335oA0543lU83,0*14\00", align 1 @.str.11 = private unnamed_addr constant [36 x i8] c"!AIVDM,2,2,7,B,5A33mp888888880,2*49\00", align 1 @.str.12 = private unnamed_addr constant [77 x i8] c"!AIVDM,2,1,8,B,55N0=SP00001Lt??;OL<PTDJ1<D5A@hF2222220k2@>2640005h00000,0*70\00", align 1 @.str.13 = private unnamed_addr constant [36 x i8] c"!AIVDM,2,2,8,B,000000000000000,2*2F\00", align 1 @.str.14 = private unnamed_addr constant [77 x i8] c"!AIVDM,2,1,9,B,55Mj3MP00001LgO73N0dh4PuMT61M<J22222220t3iJ??40Ht<Uli`51,0*57\00", align 1 @.str.15 = private unnamed_addr constant [36 x i8] c"!AIVDM,2,2,9,B,DSBCPC888888880,2*2B\00", align 1 @.str.16 = private unnamed_addr constant [77 x i8] c"!AIVDM,2,1,1,B,55Mj2u01o97qMU;?C;5M<J0dUA<522222222220t2Q@>:40Ht<Uli`51,0*16\00", align 1 @.str.17 = private unnamed_addr constant [36 x i8] c"!AIVDM,2,2,1,B,DSBCPC888888880,2*23\00", align 1 @.str.18 = private unnamed_addr constant [77 x i8] c"!AIVDM,2,1,2,B,54QKkL01uDfUM@k;SO918v1=E9HETu800000000010e2:40000000000,0*20\00", align 1 @.str.19 = private unnamed_addr constant [36 x i8] c"!AIVDM,2,2,2,B,000000000000000,2*25\00", align 1 @.str.20 = private unnamed_addr constant [77 x i8] c"!AIVDM,2,1,5,B,54eGL:00543h=WWG7V0`u<F0p59H4Eb22222220l10A5262k0<S0APDQ,0*62\00", align 1 @.str.21 = private unnamed_addr constant [36 x i8] c"!AIVDM,2,2,5,B,iH4i@E531H88880,2*24\00", align 1 @__const.main.demo_msg5 = private unnamed_addr constant [14 x ptr] [ptr @.str.8, ptr @.str.9, ptr @.str.10, ptr @.str.11, ptr @.str.12, ptr @.str.13, ptr @.str.14, ptr @.str.15, ptr @.str.16, ptr @.str.17, ptr @.str.18, ptr @.str.19, ptr @.str.20, ptr @.str.21], align 16 @.str.22 = private unnamed_addr constant [15 x i8] c"Message1 test\0A\00", align 1 @.str.23 = private unnamed_addr constant [17 x i8] c"Run #%d = %0.4f\0A\00", align 1 @.str.24 = private unnamed_addr constant [17 x i8] c"Average = %0.4f\0A\00", align 1 @.str.25 = private unnamed_addr constant [28 x i8] c"Speed = %0.4f messages/sec\0A\00", align 1 @.str.26 = private unnamed_addr constant [15 x i8] c"Message5 test\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 %struct.timeval, align 4 %7 = alloca %struct.timeval, align 4 %8 = alloca double, align 8 %9 = alloca double, align 8 %10 = alloca double, align 8 %11 = alloca i32, align 4 %12 = alloca [8 x ptr], align 16 %13 = alloca [14 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 call void @llvm.memcpy.p0.p0.i64(ptr align 16 %12, ptr align 16 @__const.main.demo_msg1, i64 64, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 16 %13, ptr align 16 @__const.main.demo_msg5, i64 112, i1 false) %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.22) store double 0.000000e+00, ptr %8, align 8 store i32 0, ptr %11, align 4 %15 = load i32, ptr %11, align 4 %16 = icmp ult i32 %15, 5 br i1 %16, label %.lr.ph, label %41 .lr.ph: ; preds = %2 br label %17 17: ; preds = %.lr.ph, %36 %18 = call i32 @sleep(i32 noundef 5) %19 = getelementptr inbounds [8 x ptr], ptr %12, i64 0, i64 0 %20 = call i32 @run_test(ptr noundef %19, i32 noundef 7, ptr noundef %6, ptr noundef %7) %21 = getelementptr inbounds %struct.timeval, ptr %6, i32 0, i32 0 %22 = load i32, ptr %21, align 4 %23 = getelementptr inbounds %struct.timeval, ptr %7, i32 0, i32 0 %24 = load i32, ptr %23, align 4 %25 = call double @elapsed_time(i32 %22, i32 %24) %26 = load double, ptr %8, align 8 %27 = fadd double %26, %25 store double %27, ptr %8, align 8 %28 = load i32, ptr %11, align 4 %29 = add i32 %28, 1 %30 = getelementptr inbounds %struct.timeval, ptr %6, i32 0, i32 0 %31 = load i32, ptr %30, align 4 %32 = getelementptr inbounds %struct.timeval, ptr %7, i32 0, i32 0 %33 = load i32, ptr %32, align 4 %34 = call double @elapsed_time(i32 %31, i32 %33) %35 = call i32 (ptr, ...) @printf(ptr noundef @.str.23, i32 noundef %29, double noundef %34) br label %36 36: ; preds = %17 %37 = load i32, ptr %11, align 4 %38 = add i32 %37, 1 store i32 %38, ptr %11, align 4 %39 = load i32, ptr %11, align 4 %40 = icmp ult i32 %39, 5 br i1 %40, label %17, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %36 br label %41 41: ; preds = %._crit_edge, %2 %42 = load double, ptr %8, align 8 %43 = fdiv double %42, 5.000000e+00 store double %43, ptr %9, align 8 %44 = load double, ptr %9, align 8 %45 = fdiv double 1.750000e+06, %44 store double %45, ptr %10, align 8 %46 = load double, ptr %9, align 8 %47 = call i32 (ptr, ...) @printf(ptr noundef @.str.24, double noundef %46) %48 = load double, ptr %10, align 8 %49 = call i32 (ptr, ...) @printf(ptr noundef @.str.25, double noundef %48) %50 = call i32 (ptr, ...) @printf(ptr noundef @.str.26) store double 0.000000e+00, ptr %8, align 8 store i32 0, ptr %11, align 4 %51 = load i32, ptr %11, align 4 %52 = icmp ult i32 %51, 5 br i1 %52, label %.lr.ph2, label %77 .lr.ph2: ; preds = %41 br label %53 53: ; preds = %.lr.ph2, %72 %54 = call i32 @sleep(i32 noundef 5) %55 = getelementptr inbounds [14 x ptr], ptr %13, i64 0, i64 0 %56 = call i32 @run_test(ptr noundef %55, i32 noundef 14, ptr noundef %6, ptr noundef %7) %57 = getelementptr inbounds %struct.timeval, ptr %6, i32 0, i32 0 %58 = load i32, ptr %57, align 4 %59 = getelementptr inbounds %struct.timeval, ptr %7, i32 0, i32 0 %60 = load i32, ptr %59, align 4 %61 = call double @elapsed_time(i32 %58, i32 %60) %62 = load double, ptr %8, align 8 %63 = fadd double %62, %61 store double %63, ptr %8, align 8 %64 = load i32, ptr %11, align 4 %65 = add i32 %64, 1 %66 = getelementptr inbounds %struct.timeval, ptr %6, i32 0, i32 0 %67 = load i32, ptr %66, align 4 %68 = getelementptr inbounds %struct.timeval, ptr %7, i32 0, i32 0 %69 = load i32, ptr %68, align 4 %70 = call double @elapsed_time(i32 %67, i32 %69) %71 = call i32 (ptr, ...) @printf(ptr noundef @.str.23, i32 noundef %65, double noundef %70) br label %72 72: ; preds = %53 %73 = load i32, ptr %11, align 4 %74 = add i32 %73, 1 store i32 %74, ptr %11, align 4 %75 = load i32, ptr %11, align 4 %76 = icmp ult i32 %75, 5 br i1 %76, label %53, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %72 br label %77 77: ; preds = %._crit_edge3, %41 %78 = load double, ptr %8, align 8 %79 = fdiv double %78, 5.000000e+00 store double %79, ptr %9, align 8 %80 = load double, ptr %9, align 8 %81 = fdiv double 3.500000e+06, %80 store double %81, ptr %10, align 8 %82 = load double, ptr %9, align 8 %83 = call i32 (ptr, ...) @printf(ptr noundef @.str.24, double noundef %82) %84 = load double, ptr %10, align 8 %85 = call i32 (ptr, ...) @printf(ptr noundef @.str.25, double noundef %84) ret i32 0 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @printf(ptr noundef, ...) #2 declare i32 @sleep(i32 noundef) #2 declare i32 @run_test(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #2 declare double @elapsed_time(i32, i32) #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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmp4yg66lts.c' source_filename = "/tmp/tmp4yg66lts.c" target datalayout = "e-m:e-p270: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.tm = type { i32, i64, i64, i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @getNextDayForTs(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 %4 = call ptr @gmtime(ptr noundef %2) store ptr %4, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = getelementptr inbounds %struct.tm, ptr %5, i32 0, i32 3 store i64 0, ptr %6, align 8 %7 = load ptr, ptr %3, align 8 %8 = getelementptr inbounds %struct.tm, ptr %7, i32 0, i32 2 store i64 0, ptr %8, align 8 %9 = load ptr, ptr %3, align 8 %10 = getelementptr inbounds %struct.tm, ptr %9, i32 0, i32 1 store i64 0, ptr %10, align 8 %11 = load ptr, ptr %3, align 8 %12 = getelementptr inbounds %struct.tm, ptr %11, i32 0, i32 0 %13 = load i32, ptr %12, align 8 %14 = add nsw i32 %13, 1 store i32 %14, ptr %12, align 8 %15 = load ptr, ptr %3, align 8 %16 = call i32 @timegm(ptr noundef %15) ret i32 %16 } declare ptr @gmtime(ptr noundef) #1 declare i32 @timegm(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/tmp4yg66lts.c" target datalayout = "e-m:e-p270: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.tm = type { i32, i64, i64, i64 } ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @getNextDayForTs(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store i32 %0, ptr %2, align 4 %4 = call ptr @gmtime(ptr noundef %2) store ptr %4, ptr %3, align 8 %5 = load ptr, ptr %3, align 8 %6 = getelementptr inbounds %struct.tm, ptr %5, i32 0, i32 3 store i64 0, ptr %6, align 8 %7 = load ptr, ptr %3, align 8 %8 = getelementptr inbounds %struct.tm, ptr %7, i32 0, i32 2 store i64 0, ptr %8, align 8 %9 = load ptr, ptr %3, align 8 %10 = getelementptr inbounds %struct.tm, ptr %9, i32 0, i32 1 store i64 0, ptr %10, align 8 %11 = load ptr, ptr %3, align 8 %12 = getelementptr inbounds %struct.tm, ptr %11, i32 0, i32 0 %13 = load i32, ptr %12, align 8 %14 = add nsw i32 %13, 1 store i32 %14, ptr %12, align 8 %15 = load ptr, ptr %3, align 8 %16 = call i32 @timegm(ptr noundef %15) ret i32 %16 } declare ptr @gmtime(ptr noundef) #1 declare i32 @timegm(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/tmpzghyx10w.c' source_filename = "/tmp/tmpzghyx10w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"\1B[1m\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @term_highlight() #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/tmpzghyx10w.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"\1B[1m\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @term_highlight() #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/tmpbwwcrj3a.c' source_filename = "/tmp/tmpbwwcrj3a.c" target datalayout = "e-m:e-p270: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/tmpbwwcrj3a.c" target datalayout = "e-m:e-p270: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/tmpqmtwa474.c' source_filename = "/tmp/tmpqmtwa474.c" target datalayout = "e-m:e-p270: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 @setup_events(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 %6, align 4 %9 = load i32, ptr %5, align 4 %10 = icmp ne i32 %9, 0 %11 = zext i1 %10 to i64 %12 = select i1 %10, i32 2, i32 1 %13 = call i32 @setup_events_cpumask(ptr noundef %7, i32 noundef %8, ptr noundef null, i32 noundef %12) ret i32 %13 } declare i32 @setup_events_cpumask(ptr 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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmpqmtwa474.c" target datalayout = "e-m:e-p270: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 @setup_events(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 %6, align 4 %9 = load i32, ptr %5, align 4 %10 = icmp ne i32 %9, 0 %11 = zext i1 %10 to i64 %12 = select i1 %10, i32 2, i32 1 %13 = call i32 @setup_events_cpumask(ptr noundef %7, i32 noundef %8, ptr noundef null, i32 noundef %12) ret i32 %13 } declare i32 @setup_events_cpumask(ptr 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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmp5qw8npxw.c' source_filename = "/tmp/tmp5qw8npxw.c" target datalayout = "e-m:e-p270: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/tmp5qw8npxw.c" target datalayout = "e-m:e-p270: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/tmpwt_s2lgu.c' source_filename = "/tmp/tmpwt_s2lgu.c" target datalayout = "e-m:e-p270: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 [10 x i8] c"input.txt\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @stdin = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [11 x i8] c"output.bin\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"w+b\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @SEEK_SET = dso_local global i32 0, align 4 @SEEK_CUR = 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 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca [2 x i32], align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %10 = load i32, ptr @stdin, align 4 %11 = call ptr @freopen(ptr noundef @.str, ptr noundef @.str.1, i32 noundef %10) store ptr %11, ptr %9, align 8 %12 = call ptr @fopen(ptr noundef @.str.2, ptr noundef @.str.3) store ptr %12, ptr %8, align 8 %13 = call i32 @scanf(ptr noundef @.str.4, ptr noundef %4) store i32 %13, ptr %6, align 4 %14 = load ptr, ptr %8, align 8 %15 = load i32, ptr @SEEK_SET, align 4 %16 = call i32 @fseek(ptr noundef %14, i64 noundef 0, i32 noundef %15) store i32 0, ptr %2, align 4 br label %17 17: ; preds = %25, %0 %18 = load i32, ptr %2, align 4 %19 = load i32, ptr %4, align 4 %20 = icmp slt i32 %18, %19 br i1 %20, label %21, label %28 21: ; preds = %17 %22 = call i32 @scanf(ptr noundef @.str.4, ptr noundef %5) store i32 %22, ptr %6, align 4 %23 = load ptr, ptr %8, align 8 %24 = call i32 @fwrite(ptr noundef %5, i32 noundef 4, i32 noundef 1, ptr noundef %23) store i32 %24, ptr %6, align 4 br label %25 25: ; preds = %21 %26 = load i32, ptr %2, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %2, align 4 br label %17, !llvm.loop !6 28: ; preds = %17 %29 = load ptr, ptr %8, align 8 %30 = call i32 @fflush(ptr noundef %29) %31 = load ptr, ptr %8, align 8 %32 = load i32, ptr @SEEK_SET, align 4 %33 = call i32 @fseek(ptr noundef %31, i64 noundef 0, i32 noundef %32) %34 = load i32, ptr %4, align 4 %35 = sub nsw i32 %34, 1 store i32 %35, ptr %2, align 4 br label %36 36: ; preds = %78, %28 %37 = load i32, ptr %2, align 4 %38 = icmp sge i32 %37, 0 br i1 %38, label %39, label %81 39: ; preds = %36 store i32 0, ptr %3, align 4 br label %40 40: ; preds = %71, %39 %41 = load i32, ptr %3, align 4 %42 = load i32, ptr %2, align 4 %43 = icmp slt i32 %41, %42 br i1 %43, label %44, label %74 44: ; preds = %40 %45 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %46 = load ptr, ptr %8, align 8 %47 = call i32 @fread(ptr noundef %45, i32 noundef 4, i32 noundef 2, ptr noundef %46) store i32 %47, ptr %6, align 4 %48 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %49 = load i32, ptr %48, align 4 %50 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 1 %51 = load i32, ptr %50, align 4 %52 = icmp sgt i32 %49, %51 br i1 %52, label %53, label %67 53: ; preds = %44 %54 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %55 = load i32, ptr %54, align 4 store i32 %55, ptr %5, align 4 %56 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 1 %57 = load i32, ptr %56, align 4 %58 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 store i32 %57, ptr %58, align 4 %59 = load i32, ptr %5, align 4 %60 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 1 store i32 %59, ptr %60, align 4 %61 = load ptr, ptr %8, align 8 %62 = load i32, ptr @SEEK_CUR, align 4 %63 = call i32 @fseek(ptr noundef %61, i64 noundef -8, i32 noundef %62) %64 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %65 = load ptr, ptr %8, align 8 %66 = call i32 @fwrite(ptr noundef %64, i32 noundef 4, i32 noundef 2, ptr noundef %65) store i32 %66, ptr %6, align 4 br label %67 67: ; preds = %53, %44 %68 = load ptr, ptr %8, align 8 %69 = load i32, ptr @SEEK_CUR, align 4 %70 = call i32 @fseek(ptr noundef %68, i64 noundef -4, i32 noundef %69) br label %71 71: ; preds = %67 %72 = load i32, ptr %3, align 4 %73 = add nsw i32 %72, 1 store i32 %73, ptr %3, align 4 br label %40, !llvm.loop !8 74: ; preds = %40 %75 = load ptr, ptr %8, align 8 %76 = load i32, ptr @SEEK_SET, align 4 %77 = call i32 @fseek(ptr noundef %75, i64 noundef 0, i32 noundef %76) br label %78 78: ; preds = %74 %79 = load i32, ptr %2, align 4 %80 = add nsw i32 %79, -1 store i32 %80, ptr %2, align 4 br label %36, !llvm.loop !9 81: ; preds = %36 %82 = load ptr, ptr %9, align 8 %83 = call i32 @fclose(ptr noundef %82) %84 = load ptr, ptr %8, align 8 %85 = call i32 @fclose(ptr noundef %84) ret i32 0 } declare ptr @freopen(ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @fseek(ptr noundef, i64 noundef, i32 noundef) #1 declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @fflush(ptr noundef) #1 declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwt_s2lgu.c" target datalayout = "e-m:e-p270: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 [10 x i8] c"input.txt\00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"r\00", align 1 @stdin = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [11 x i8] c"output.bin\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"w+b\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @SEEK_SET = dso_local global i32 0, align 4 @SEEK_CUR = 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 %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca [2 x i32], align 4 %8 = alloca ptr, align 8 %9 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %10 = load i32, ptr @stdin, align 4 %11 = call ptr @freopen(ptr noundef @.str, ptr noundef @.str.1, i32 noundef %10) store ptr %11, ptr %9, align 8 %12 = call ptr @fopen(ptr noundef @.str.2, ptr noundef @.str.3) store ptr %12, ptr %8, align 8 %13 = call i32 @scanf(ptr noundef @.str.4, ptr noundef %4) store i32 %13, ptr %6, align 4 %14 = load ptr, ptr %8, align 8 %15 = load i32, ptr @SEEK_SET, align 4 %16 = call i32 @fseek(ptr noundef %14, i64 noundef 0, i32 noundef %15) store i32 0, ptr %2, align 4 %17 = load i32, ptr %2, align 4 %18 = load i32, ptr %4, align 4 %19 = icmp slt i32 %17, %18 br i1 %19, label %.lr.ph, label %30 .lr.ph: ; preds = %0 br label %20 20: ; preds = %.lr.ph, %24 %21 = call i32 @scanf(ptr noundef @.str.4, ptr noundef %5) store i32 %21, ptr %6, align 4 %22 = load ptr, ptr %8, align 8 %23 = call i32 @fwrite(ptr noundef %5, i32 noundef 4, i32 noundef 1, ptr noundef %22) store i32 %23, ptr %6, align 4 br label %24 24: ; preds = %20 %25 = load i32, ptr %2, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %2, align 4 %27 = load i32, ptr %2, align 4 %28 = load i32, ptr %4, align 4 %29 = icmp slt i32 %27, %28 br i1 %29, label %20, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %24 br label %30 30: ; preds = %._crit_edge, %0 %31 = load ptr, ptr %8, align 8 %32 = call i32 @fflush(ptr noundef %31) %33 = load ptr, ptr %8, align 8 %34 = load i32, ptr @SEEK_SET, align 4 %35 = call i32 @fseek(ptr noundef %33, i64 noundef 0, i32 noundef %34) %36 = load i32, ptr %4, align 4 %37 = sub nsw i32 %36, 1 store i32 %37, ptr %2, align 4 %38 = load i32, ptr %2, align 4 %39 = icmp sge i32 %38, 0 br i1 %39, label %.lr.ph5, label %86 .lr.ph5: ; preds = %30 br label %40 40: ; preds = %.lr.ph5, %81 store i32 0, ptr %3, align 4 %41 = load i32, ptr %3, align 4 %42 = load i32, ptr %2, align 4 %43 = icmp slt i32 %41, %42 br i1 %43, label %.lr.ph2, label %77 .lr.ph2: ; preds = %40 br label %44 44: ; preds = %.lr.ph2, %71 %45 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %46 = load ptr, ptr %8, align 8 %47 = call i32 @fread(ptr noundef %45, i32 noundef 4, i32 noundef 2, ptr noundef %46) store i32 %47, ptr %6, align 4 %48 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %49 = load i32, ptr %48, align 4 %50 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 1 %51 = load i32, ptr %50, align 4 %52 = icmp sgt i32 %49, %51 br i1 %52, label %53, label %67 53: ; preds = %44 %54 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %55 = load i32, ptr %54, align 4 store i32 %55, ptr %5, align 4 %56 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 1 %57 = load i32, ptr %56, align 4 %58 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 store i32 %57, ptr %58, align 4 %59 = load i32, ptr %5, align 4 %60 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 1 store i32 %59, ptr %60, align 4 %61 = load ptr, ptr %8, align 8 %62 = load i32, ptr @SEEK_CUR, align 4 %63 = call i32 @fseek(ptr noundef %61, i64 noundef -8, i32 noundef %62) %64 = getelementptr inbounds [2 x i32], ptr %7, i64 0, i64 0 %65 = load ptr, ptr %8, align 8 %66 = call i32 @fwrite(ptr noundef %64, i32 noundef 4, i32 noundef 2, ptr noundef %65) store i32 %66, ptr %6, align 4 br label %67 67: ; preds = %53, %44 %68 = load ptr, ptr %8, align 8 %69 = load i32, ptr @SEEK_CUR, align 4 %70 = call i32 @fseek(ptr noundef %68, i64 noundef -4, i32 noundef %69) br label %71 71: ; preds = %67 %72 = load i32, ptr %3, align 4 %73 = add nsw i32 %72, 1 store i32 %73, ptr %3, align 4 %74 = load i32, ptr %3, align 4 %75 = load i32, ptr %2, align 4 %76 = icmp slt i32 %74, %75 br i1 %76, label %44, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %71 br label %77 77: ; preds = %._crit_edge3, %40 %78 = load ptr, ptr %8, align 8 %79 = load i32, ptr @SEEK_SET, align 4 %80 = call i32 @fseek(ptr noundef %78, i64 noundef 0, i32 noundef %79) br label %81 81: ; preds = %77 %82 = load i32, ptr %2, align 4 %83 = add nsw i32 %82, -1 store i32 %83, ptr %2, align 4 %84 = load i32, ptr %2, align 4 %85 = icmp sge i32 %84, 0 br i1 %85, label %40, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %81 br label %86 86: ; preds = %._crit_edge6, %30 %87 = load ptr, ptr %9, align 8 %88 = call i32 @fclose(ptr noundef %87) %89 = load ptr, ptr %8, align 8 %90 = call i32 @fclose(ptr noundef %89) ret i32 0 } declare ptr @freopen(ptr noundef, ptr noundef, i32 noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @fseek(ptr noundef, i64 noundef, i32 noundef) #1 declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @fflush(ptr noundef) #1 declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @fclose(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmp8iy87qm7.c' source_filename = "/tmp/tmp8iy87qm7.c" target datalayout = "e-m:e-p270: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 @_nstrpos(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 %6 = load i32, ptr %4, align 4 %7 = icmp slt i32 %6, 0 br i1 %7, label %8, label %9 8: ; preds = %2 store i32 0, ptr %4, align 4 br label %9 9: ; preds = %8, %2 store i32 0, ptr %5, align 4 br label %10 10: ; preds = %31, %9 %11 = load i32, ptr %4, align 4 %12 = icmp sgt i32 %11, 0 br i1 %12, label %13, label %18 13: ; preds = %10 %14 = load ptr, ptr %3, align 8 %15 = load i8, ptr %14, align 1 %16 = sext i8 %15 to i32 %17 = icmp ne i32 %16, 0 br label %18 18: ; preds = %13, %10 %19 = phi i1 [ false, %10 ], [ %17, %13 ] br i1 %19, label %20, label %38 20: ; preds = %18 %21 = load ptr, ptr %3, align 8 %22 = load i8, ptr %21, align 1 %23 = call i32 @isascii(i8 noundef signext %22) %24 = icmp ne i32 %23, 0 br i1 %24, label %30, label %25 25: ; preds = %20 %26 = load i32, ptr %4, align 4 %27 = add nsw i32 %26, -1 store i32 %27, ptr %4, align 4 %28 = load ptr, ptr %3, align 8 %29 = getelementptr inbounds i8, ptr %28, i32 1 store ptr %29, ptr %3, align 8 br label %30 30: ; preds = %25, %20 br label %31 31: ; preds = %30 %32 = load i32, ptr %4, align 4 %33 = add nsw i32 %32, -1 store i32 %33, ptr %4, align 4 %34 = load i32, ptr %5, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %5, align 4 %36 = load ptr, ptr %3, align 8 %37 = getelementptr inbounds i8, ptr %36, i32 1 store ptr %37, ptr %3, align 8 br label %10, !llvm.loop !6 38: ; preds = %18 %39 = load i32, ptr %5, align 4 ret i32 %39 } declare i32 @isascii(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/tmp8iy87qm7.c" target datalayout = "e-m:e-p270: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 @_nstrpos(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 %6 = load i32, ptr %4, align 4 %7 = icmp slt i32 %6, 0 br i1 %7, label %8, label %9 8: ; preds = %2 store i32 0, ptr %4, align 4 br label %9 9: ; preds = %8, %2 store i32 0, ptr %5, align 4 br label %10 10: ; preds = %31, %9 %11 = load i32, ptr %4, align 4 %12 = icmp sgt i32 %11, 0 br i1 %12, label %13, label %18 13: ; preds = %10 %14 = load ptr, ptr %3, align 8 %15 = load i8, ptr %14, align 1 %16 = sext i8 %15 to i32 %17 = icmp ne i32 %16, 0 br label %18 18: ; preds = %13, %10 %19 = phi i1 [ false, %10 ], [ %17, %13 ] br i1 %19, label %20, label %38 20: ; preds = %18 %21 = load ptr, ptr %3, align 8 %22 = load i8, ptr %21, align 1 %23 = call i32 @isascii(i8 noundef signext %22) %24 = icmp ne i32 %23, 0 br i1 %24, label %30, label %25 25: ; preds = %20 %26 = load i32, ptr %4, align 4 %27 = add nsw i32 %26, -1 store i32 %27, ptr %4, align 4 %28 = load ptr, ptr %3, align 8 %29 = getelementptr inbounds i8, ptr %28, i32 1 store ptr %29, ptr %3, align 8 br label %30 30: ; preds = %25, %20 br label %31 31: ; preds = %30 %32 = load i32, ptr %4, align 4 %33 = add nsw i32 %32, -1 store i32 %33, ptr %4, align 4 %34 = load i32, ptr %5, align 4 %35 = add nsw i32 %34, 1 store i32 %35, ptr %5, align 4 %36 = load ptr, ptr %3, align 8 %37 = getelementptr inbounds i8, ptr %36, i32 1 store ptr %37, ptr %3, align 8 br label %10, !llvm.loop !6 38: ; preds = %18 %39 = load i32, ptr %5, align 4 ret i32 %39 } declare i32 @isascii(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/tmphdefr7yb.c' source_filename = "/tmp/tmphdefr7yb.c" target datalayout = "e-m:e-p270: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 @exact_square(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store i32 0, ptr %6, align 4 br label %7 7: ; preds = %24, %2 %8 = load i32, ptr %6, align 4 %9 = load i32, ptr %5, align 4 %10 = icmp sle i32 %8, %9 br i1 %10, label %11, label %27 11: ; preds = %7 %12 = load i32, ptr %5, align 4 %13 = icmp slt i32 %12, 1 br i1 %13, label %14, label %15 14: ; preds = %11 store i32 0, ptr %4, align 4 br label %27 15: ; preds = %11 %16 = load i32, ptr %6, align 4 %17 = load i32, ptr %6, align 4 %18 = mul nsw i32 %16, %17 %19 = load i32, ptr %5, align 4 %20 = icmp eq i32 %18, %19 br i1 %20, label %21, label %22 21: ; preds = %15 store i32 1, ptr %4, align 4 br label %27 22: ; preds = %15 store i32 0, ptr %4, align 4 br label %23 23: ; preds = %22 br label %24 24: ; preds = %23 %25 = load i32, ptr %6, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %6, align 4 br label %7, !llvm.loop !6 27: ; preds = %21, %14, %7 %28 = load i32, ptr %4, align 4 %29 = call i32 @printf(ptr noundef @.str, i32 noundef %28) %30 = load i32, ptr %3, align 4 ret i32 %30 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmphdefr7yb.c" target datalayout = "e-m:e-p270: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 @exact_square(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store i32 %0, ptr %4, align 4 store i32 %1, ptr %5, align 4 store i32 0, ptr %6, align 4 %7 = load i32, ptr %6, align 4 %8 = load i32, ptr %5, align 4 %9 = icmp sle i32 %7, %8 br i1 %9, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %2 br label %10 10: ; preds = %.lr.ph, %23 %11 = load i32, ptr %5, align 4 %12 = icmp slt i32 %11, 1 br i1 %12, label %13, label %14 13: ; preds = %10 store i32 0, ptr %4, align 4 br label %29 14: ; preds = %10 %15 = load i32, ptr %6, align 4 %16 = load i32, ptr %6, align 4 %17 = mul nsw i32 %15, %16 %18 = load i32, ptr %5, align 4 %19 = icmp eq i32 %17, %18 br i1 %19, label %20, label %21 20: ; preds = %14 store i32 1, ptr %4, align 4 br label %29 21: ; preds = %14 store i32 0, ptr %4, align 4 br label %22 22: ; preds = %21 br label %23 23: ; preds = %22 %24 = load i32, ptr %6, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %6, align 4 %26 = load i32, ptr %6, align 4 %27 = load i32, ptr %5, align 4 %28 = icmp sle i32 %26, %27 br i1 %28, label %10, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %23 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %2 br label %29 29: ; preds = %.loopexit, %20, %13 %30 = load i32, ptr %4, align 4 %31 = call i32 @printf(ptr noundef @.str, i32 noundef %30) %32 = load i32, ptr %3, align 4 ret i32 %32 } declare i32 @printf(ptr noundef, i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpvtpt5yr7.c' source_filename = "/tmp/tmpvtpt5yr7.c" target datalayout = "e-m:e-p270: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 @sock_setsockopt(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 store i32 %0, ptr %6, align 4 store i32 %1, ptr %7, align 4 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 %10 = load i32, ptr %6, align 4 %11 = load i32, ptr %7, align 4 %12 = load i32, ptr %8, align 4 %13 = call i32 @setsockopt(i32 noundef %10, i32 noundef %11, i32 noundef %12, ptr noundef %9, i32 noundef 4) %14 = icmp eq i32 %13, -1 br i1 %14, label %15, label %16 15: ; preds = %4 store i32 -1, ptr %5, align 4 br label %18 16: ; preds = %4 %17 = load i32, ptr %9, align 4 store i32 %17, ptr %5, align 4 br label %18 18: ; preds = %16, %15 %19 = load i32, ptr %5, align 4 ret i32 %19 } declare i32 @setsockopt(i32 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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmpvtpt5yr7.c" target datalayout = "e-m:e-p270: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 @sock_setsockopt(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 store i32 %0, ptr %6, align 4 store i32 %1, ptr %7, align 4 store i32 %2, ptr %8, align 4 store i32 %3, ptr %9, align 4 %10 = load i32, ptr %6, align 4 %11 = load i32, ptr %7, align 4 %12 = load i32, ptr %8, align 4 %13 = call i32 @setsockopt(i32 noundef %10, i32 noundef %11, i32 noundef %12, ptr noundef %9, i32 noundef 4) %14 = icmp eq i32 %13, -1 br i1 %14, label %15, label %16 15: ; preds = %4 store i32 -1, ptr %5, align 4 br label %18 16: ; preds = %4 %17 = load i32, ptr %9, align 4 store i32 %17, ptr %5, align 4 br label %18 18: ; preds = %16, %15 %19 = load i32, ptr %5, align 4 ret i32 %19 } declare i32 @setsockopt(i32 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" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmpdgz995zq.c' source_filename = "/tmp/tmpdgz995zq.c" target datalayout = "e-m:e-p270: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 [8 x i8] c"http://\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @isURL(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i64 @strncmp(ptr noundef @.str, ptr noundef %3, i32 noundef 7) %5 = icmp eq i64 %4, 0 %6 = zext i1 %5 to i32 ret i32 %6 } declare i64 @strncmp(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/tmpdgz995zq.c" target datalayout = "e-m:e-p270: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 [8 x i8] c"http://\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @isURL(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = call i64 @strncmp(ptr noundef @.str, ptr noundef %3, i32 noundef 7) %5 = icmp eq i64 %4, 0 %6 = zext i1 %5 to i32 ret i32 %6 } declare i64 @strncmp(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/tmpsbai9mb4.c' source_filename = "/tmp/tmpsbai9mb4.c" target datalayout = "e-m:e-p270: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.protoent = type { i32 } @.str = private unnamed_addr constant [4 x i8] c"tcp\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"udp\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @checkEntryDatabase() #0 { %1 = alloca ptr, align 8 %2 = call ptr (...) @getprotoent() store ptr %2, ptr %1, align 8 %3 = load ptr, ptr %1, align 8 %4 = icmp ne ptr %3, null %5 = zext i1 %4 to i32 %6 = call i32 @assert(i32 noundef %5) %7 = load ptr, ptr %1, align 8 %8 = getelementptr inbounds %struct.protoent, ptr %7, i32 0, i32 0 %9 = load i32, ptr %8, align 4 %10 = call i64 @strcmp(ptr noundef @.str, i32 noundef %9) %11 = icmp eq i64 %10, 0 %12 = zext i1 %11 to i32 %13 = call i32 @assert(i32 noundef %12) %14 = call ptr (...) @getprotoent() store ptr %14, ptr %1, align 8 %15 = load ptr, ptr %1, align 8 %16 = icmp ne ptr %15, null %17 = zext i1 %16 to i32 %18 = call i32 @assert(i32 noundef %17) %19 = load ptr, ptr %1, align 8 %20 = getelementptr inbounds %struct.protoent, ptr %19, i32 0, i32 0 %21 = load i32, ptr %20, align 4 %22 = call i64 @strcmp(ptr noundef @.str.1, i32 noundef %21) %23 = icmp eq i64 %22, 0 %24 = zext i1 %23 to i32 %25 = call i32 @assert(i32 noundef %24) %26 = call i32 @setprotoent(i32 noundef 1) %27 = call ptr (...) @getprotoent() store ptr %27, ptr %1, align 8 %28 = load ptr, ptr %1, align 8 %29 = icmp ne ptr %28, null %30 = zext i1 %29 to i32 %31 = call i32 @assert(i32 noundef %30) %32 = load ptr, ptr %1, align 8 %33 = getelementptr inbounds %struct.protoent, ptr %32, i32 0, i32 0 %34 = load i32, ptr %33, align 4 %35 = call i64 @strcmp(ptr noundef @.str, i32 noundef %34) %36 = icmp eq i64 %35, 0 %37 = zext i1 %36 to i32 %38 = call i32 @assert(i32 noundef %37) %39 = call ptr (...) @getprotoent() store ptr %39, ptr %1, align 8 %40 = load ptr, ptr %1, align 8 %41 = icmp ne ptr %40, null %42 = zext i1 %41 to i32 %43 = call i32 @assert(i32 noundef %42) %44 = load ptr, ptr %1, align 8 %45 = getelementptr inbounds %struct.protoent, ptr %44, i32 0, i32 0 %46 = load i32, ptr %45, align 4 %47 = call i64 @strcmp(ptr noundef @.str.1, i32 noundef %46) %48 = icmp eq i64 %47, 0 %49 = zext i1 %48 to i32 %50 = call i32 @assert(i32 noundef %49) %51 = call ptr (...) @getprotoent() store ptr %51, ptr %1, align 8 %52 = load ptr, ptr %1, align 8 %53 = icmp eq ptr %52, null %54 = zext i1 %53 to i32 %55 = call i32 @assert(i32 noundef %54) ret void } declare ptr @getprotoent(...) #1 declare i32 @assert(i32 noundef) #1 declare i64 @strcmp(ptr noundef, i32 noundef) #1 declare i32 @setprotoent(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/tmpsbai9mb4.c" target datalayout = "e-m:e-p270: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.protoent = type { i32 } @.str = private unnamed_addr constant [4 x i8] c"tcp\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"udp\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @checkEntryDatabase() #0 { %1 = alloca ptr, align 8 %2 = call ptr (...) @getprotoent() store ptr %2, ptr %1, align 8 %3 = load ptr, ptr %1, align 8 %4 = icmp ne ptr %3, null %5 = zext i1 %4 to i32 %6 = call i32 @assert(i32 noundef %5) %7 = load ptr, ptr %1, align 8 %8 = getelementptr inbounds %struct.protoent, ptr %7, i32 0, i32 0 %9 = load i32, ptr %8, align 4 %10 = call i64 @strcmp(ptr noundef @.str, i32 noundef %9) %11 = icmp eq i64 %10, 0 %12 = zext i1 %11 to i32 %13 = call i32 @assert(i32 noundef %12) %14 = call ptr (...) @getprotoent() store ptr %14, ptr %1, align 8 %15 = load ptr, ptr %1, align 8 %16 = icmp ne ptr %15, null %17 = zext i1 %16 to i32 %18 = call i32 @assert(i32 noundef %17) %19 = load ptr, ptr %1, align 8 %20 = getelementptr inbounds %struct.protoent, ptr %19, i32 0, i32 0 %21 = load i32, ptr %20, align 4 %22 = call i64 @strcmp(ptr noundef @.str.1, i32 noundef %21) %23 = icmp eq i64 %22, 0 %24 = zext i1 %23 to i32 %25 = call i32 @assert(i32 noundef %24) %26 = call i32 @setprotoent(i32 noundef 1) %27 = call ptr (...) @getprotoent() store ptr %27, ptr %1, align 8 %28 = load ptr, ptr %1, align 8 %29 = icmp ne ptr %28, null %30 = zext i1 %29 to i32 %31 = call i32 @assert(i32 noundef %30) %32 = load ptr, ptr %1, align 8 %33 = getelementptr inbounds %struct.protoent, ptr %32, i32 0, i32 0 %34 = load i32, ptr %33, align 4 %35 = call i64 @strcmp(ptr noundef @.str, i32 noundef %34) %36 = icmp eq i64 %35, 0 %37 = zext i1 %36 to i32 %38 = call i32 @assert(i32 noundef %37) %39 = call ptr (...) @getprotoent() store ptr %39, ptr %1, align 8 %40 = load ptr, ptr %1, align 8 %41 = icmp ne ptr %40, null %42 = zext i1 %41 to i32 %43 = call i32 @assert(i32 noundef %42) %44 = load ptr, ptr %1, align 8 %45 = getelementptr inbounds %struct.protoent, ptr %44, i32 0, i32 0 %46 = load i32, ptr %45, align 4 %47 = call i64 @strcmp(ptr noundef @.str.1, i32 noundef %46) %48 = icmp eq i64 %47, 0 %49 = zext i1 %48 to i32 %50 = call i32 @assert(i32 noundef %49) %51 = call ptr (...) @getprotoent() store ptr %51, ptr %1, align 8 %52 = load ptr, ptr %1, align 8 %53 = icmp eq ptr %52, null %54 = zext i1 %53 to i32 %55 = call i32 @assert(i32 noundef %54) ret void } declare ptr @getprotoent(...) #1 declare i32 @assert(i32 noundef) #1 declare i64 @strcmp(ptr noundef, i32 noundef) #1 declare i32 @setprotoent(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/tmp2aivauyd.c' source_filename = "/tmp/tmp2aivauyd.c" target datalayout = "e-m:e-p270: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 @ATH_energy(float noundef %0, float noundef %1) #0 { %3 = alloca float, align 4 %4 = alloca float, align 4 %5 = alloca float, align 4 store float %0, ptr %3, align 4 store float %1, ptr %4, align 4 %6 = load float, ptr %3, align 4 %7 = call float @ATH_dB(float noundef %6, i32 noundef 0) %8 = load float, ptr %4, align 4 %9 = fadd float %7, %8 store float %9, ptr %5, align 4 %10 = load float, ptr %5, align 4 %11 = fpext float %10 to double %12 = fadd double %11, 0x4044EB2F1A9FBE77 %13 = fmul double %12, 1.000000e-01 %14 = fptrunc double %13 to float %15 = call float @pow(double noundef 1.000000e+01, float noundef %14) ret float %15 } declare float @ATH_dB(float noundef, i32 noundef) #1 declare float @pow(double noundef, float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp2aivauyd.c" target datalayout = "e-m:e-p270: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 @ATH_energy(float noundef %0, float noundef %1) #0 { %3 = alloca float, align 4 %4 = alloca float, align 4 %5 = alloca float, align 4 store float %0, ptr %3, align 4 store float %1, ptr %4, align 4 %6 = load float, ptr %3, align 4 %7 = call float @ATH_dB(float noundef %6, i32 noundef 0) %8 = load float, ptr %4, align 4 %9 = fadd float %7, %8 store float %9, ptr %5, align 4 %10 = load float, ptr %5, align 4 %11 = fpext float %10 to double %12 = fadd double %11, 0x4044EB2F1A9FBE77 %13 = fmul double %12, 1.000000e-01 %14 = fptrunc double %13 to float %15 = call float @pow(double noundef 1.000000e+01, float noundef %14) ret float %15 } declare float @ATH_dB(float noundef, i32 noundef) #1 declare float @pow(double noundef, float noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp07i3crro.c' source_filename = "/tmp/tmp07i3crro.c" target datalayout = "e-m:e-p270: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\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c" 42\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"-42\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"% 5d\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c" 42\00", align 1 @.str.5 = private unnamed_addr constant [6 x i8] c" -42\00", align 1 @.str.6 = private unnamed_addr constant [6 x i8] c"% 15d\00", align 1 @.str.7 = private unnamed_addr constant [16 x i8] c" 42\00", align 1 @.str.8 = private unnamed_addr constant [16 x i8] c" -42\00", align 1 @.str.9 = private unnamed_addr constant [8 x i8] c"% 15.3f\00", align 1 @.str.10 = private unnamed_addr constant [16 x i8] c" -42.987\00", align 1 @.str.11 = private unnamed_addr constant [16 x i8] c" 42.987\00", align 1 @.str.12 = private unnamed_addr constant [4 x i8] c"% s\00", align 1 @.str.13 = private unnamed_addr constant [14 x i8] c"Hello testing\00", align 1 @.str.14 = private unnamed_addr constant [6 x i8] c" 1024\00", align 1 @.str.15 = private unnamed_addr constant [6 x i8] c"-1024\00", align 1 @.str.16 = private unnamed_addr constant [4 x i8] c"% i\00", align 1 @.str.17 = private unnamed_addr constant [4 x i8] c"% u\00", align 1 @.str.18 = private unnamed_addr constant [5 x i8] c"1024\00", align 1 @.str.19 = private unnamed_addr constant [11 x i8] c"4294966272\00", align 1 @.str.20 = private unnamed_addr constant [4 x i8] c"% o\00", align 1 @.str.21 = private unnamed_addr constant [4 x i8] c"777\00", align 1 @.str.22 = private unnamed_addr constant [12 x i8] c"37777777001\00", align 1 @.str.23 = private unnamed_addr constant [4 x i8] c"% x\00", align 1 @.str.24 = private unnamed_addr constant [9 x i8] c"1234abcd\00", align 1 @.str.25 = private unnamed_addr constant [9 x i8] c"edcb5433\00", align 1 @.str.26 = private unnamed_addr constant [4 x i8] c"% X\00", align 1 @.str.27 = private unnamed_addr constant [9 x i8] c"1234ABCD\00", align 1 @.str.28 = private unnamed_addr constant [9 x i8] c"EDCB5433\00", align 1 @.str.29 = private unnamed_addr constant [4 x i8] c"% c\00", align 1 @.str.30 = private unnamed_addr constant [2 x i8] c"x\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_space_flag() #0 { %1 = alloca [100 x i8], align 16 %2 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0 %3 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %2, ptr noundef @.str, i32 noundef 42) %4 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0 %5 = call i32 @assertStringsEqual(ptr noundef %4, ptr noundef @.str.1) %6 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0 %7 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %6, ptr noundef @.str, i32 noundef -42) %8 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0 %9 = call i32 @assertStringsEqual(ptr noundef %8, ptr noundef @.str.2) %10 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0 %11 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %10, ptr noundef @.str.3, i32 noundef 42) %12 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0 %13 = call i32 @assertStringsEqual(ptr noundef %12, ptr noundef @.str.4) %14 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0 %15 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %14, ptr noundef @.str.3, i32 noundef -42) %16 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0 %17 = call i32 @assertStringsEqual(ptr noundef %16, ptr noundef @.str.5) %18 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0 %19 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %18, ptr noundef @.str.6, i32 noundef 42) %20 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0 %21 = call i32 @assertStringsEqual(ptr noundef %20, ptr noundef @.str.7) %22 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0 %23 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %22, ptr noundef @.str.6, i32 noundef -42) %24 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0 %25 = call i32 @assertStringsEqual(ptr noundef %24, ptr noundef @.str.8) %26 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0 %27 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %26, ptr noundef @.str.6, i32 noundef -42) %28 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0 %29 = call i32 @assertStringsEqual(ptr noundef %28, ptr noundef @.str.8) %30 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0 %31 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %30, ptr noundef @.str.9, double noundef -4.298700e+01) %32 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0 %33 = call i32 @assertStringsEqual(ptr noundef %32, ptr noundef @.str.10) %34 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0 %35 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %34, ptr noundef @.str.9, double noundef 4.298700e+01) %36 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0 %37 = call i32 @assertStringsEqual(ptr noundef %36, ptr noundef @.str.11) %38 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0 %39 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %38, ptr noundef @.str.12, ptr noundef @.str.13) %40 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0 %41 = call i32 @assertStringsEqual(ptr noundef %40, ptr noundef @.str.13) %42 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0 %43 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %42, ptr noundef @.str, i32 noundef 1024) %44 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0 %45 = call i32 @assertStringsEqual(ptr noundef %44, ptr noundef @.str.14) %46 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0 %47 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %46, ptr noundef @.str, i32 noundef -1024) %48 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0 %49 = call i32 @assertStringsEqual(ptr noundef %48, ptr noundef @.str.15) %50 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0 %51 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %50, ptr noundef @.str.16, i32 noundef 1024) %52 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0 %53 = call i32 @assertStringsEqual(ptr noundef %52, ptr noundef @.str.14) %54 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0 %55 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %54, ptr noundef @.str.16, i32 noundef -1024) %56 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0 %57 = call i32 @assertStringsEqual(ptr noundef %56, ptr noundef @.str.15) %58 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0 %59 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %58, ptr noundef @.str.17, i32 noundef 1024) %60 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0 %61 = call i32 @assertStringsEqual(ptr noundef %60, ptr noundef @.str.18) %62 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0 %63 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %62, ptr noundef @.str.17, i32 noundef -1024) %64 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0 %65 = call i32 @assertStringsEqual(ptr noundef %64, ptr noundef @.str.19) %66 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0 %67 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %66, ptr noundef @.str.20, i32 noundef 511) %68 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0 %69 = call i32 @assertStringsEqual(ptr noundef %68, ptr noundef @.str.21) %70 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0 %71 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %70, ptr noundef @.str.20, i32 noundef -511) %72 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0 %73 = call i32 @assertStringsEqual(ptr noundef %72, ptr noundef @.str.22) %74 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0 %75 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %74, ptr noundef @.str.23, i32 noundef 305441741) %76 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0 %77 = call i32 @assertStringsEqual(ptr noundef %76, ptr noundef @.str.24) %78 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0 %79 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %78, ptr noundef @.str.23, i32 noundef -305441741) %80 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0 %81 = call i32 @assertStringsEqual(ptr noundef %80, ptr noundef @.str.25) %82 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0 %83 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %82, ptr noundef @.str.26, i32 noundef 305441741) %84 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0 %85 = call i32 @assertStringsEqual(ptr noundef %84, ptr noundef @.str.27) %86 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0 %87 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %86, ptr noundef @.str.26, i32 noundef -305441741) %88 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0 %89 = call i32 @assertStringsEqual(ptr noundef %88, ptr noundef @.str.28) %90 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0 %91 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %90, ptr noundef @.str.29, i32 noundef 120) %92 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0 %93 = call i32 @assertStringsEqual(ptr noundef %92, ptr noundef @.str.30) ret void } declare i32 @sprintf(ptr noundef, ptr noundef, ...) #1 declare i32 @assertStringsEqual(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/tmp07i3crro.c" target datalayout = "e-m:e-p270: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\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c" 42\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"-42\00", align 1 @.str.3 = private unnamed_addr constant [5 x i8] c"% 5d\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c" 42\00", align 1 @.str.5 = private unnamed_addr constant [6 x i8] c" -42\00", align 1 @.str.6 = private unnamed_addr constant [6 x i8] c"% 15d\00", align 1 @.str.7 = private unnamed_addr constant [16 x i8] c" 42\00", align 1 @.str.8 = private unnamed_addr constant [16 x i8] c" -42\00", align 1 @.str.9 = private unnamed_addr constant [8 x i8] c"% 15.3f\00", align 1 @.str.10 = private unnamed_addr constant [16 x i8] c" -42.987\00", align 1 @.str.11 = private unnamed_addr constant [16 x i8] c" 42.987\00", align 1 @.str.12 = private unnamed_addr constant [4 x i8] c"% s\00", align 1 @.str.13 = private unnamed_addr constant [14 x i8] c"Hello testing\00", align 1 @.str.14 = private unnamed_addr constant [6 x i8] c" 1024\00", align 1 @.str.15 = private unnamed_addr constant [6 x i8] c"-1024\00", align 1 @.str.16 = private unnamed_addr constant [4 x i8] c"% i\00", align 1 @.str.17 = private unnamed_addr constant [4 x i8] c"% u\00", align 1 @.str.18 = private unnamed_addr constant [5 x i8] c"1024\00", align 1 @.str.19 = private unnamed_addr constant [11 x i8] c"4294966272\00", align 1 @.str.20 = private unnamed_addr constant [4 x i8] c"% o\00", align 1 @.str.21 = private unnamed_addr constant [4 x i8] c"777\00", align 1 @.str.22 = private unnamed_addr constant [12 x i8] c"37777777001\00", align 1 @.str.23 = private unnamed_addr constant [4 x i8] c"% x\00", align 1 @.str.24 = private unnamed_addr constant [9 x i8] c"1234abcd\00", align 1 @.str.25 = private unnamed_addr constant [9 x i8] c"edcb5433\00", align 1 @.str.26 = private unnamed_addr constant [4 x i8] c"% X\00", align 1 @.str.27 = private unnamed_addr constant [9 x i8] c"1234ABCD\00", align 1 @.str.28 = private unnamed_addr constant [9 x i8] c"EDCB5433\00", align 1 @.str.29 = private unnamed_addr constant [4 x i8] c"% c\00", align 1 @.str.30 = private unnamed_addr constant [2 x i8] c"x\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @test_space_flag() #0 { %1 = alloca [100 x i8], align 16 %2 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0 %3 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %2, ptr noundef @.str, i32 noundef 42) %4 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0 %5 = call i32 @assertStringsEqual(ptr noundef %4, ptr noundef @.str.1) %6 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0 %7 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %6, ptr noundef @.str, i32 noundef -42) %8 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0 %9 = call i32 @assertStringsEqual(ptr noundef %8, ptr noundef @.str.2) %10 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0 %11 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %10, ptr noundef @.str.3, i32 noundef 42) %12 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0 %13 = call i32 @assertStringsEqual(ptr noundef %12, ptr noundef @.str.4) %14 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0 %15 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %14, ptr noundef @.str.3, i32 noundef -42) %16 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0 %17 = call i32 @assertStringsEqual(ptr noundef %16, ptr noundef @.str.5) %18 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0 %19 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %18, ptr noundef @.str.6, i32 noundef 42) %20 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0 %21 = call i32 @assertStringsEqual(ptr noundef %20, ptr noundef @.str.7) %22 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0 %23 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %22, ptr noundef @.str.6, i32 noundef -42) %24 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0 %25 = call i32 @assertStringsEqual(ptr noundef %24, ptr noundef @.str.8) %26 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0 %27 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %26, ptr noundef @.str.6, i32 noundef -42) %28 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0 %29 = call i32 @assertStringsEqual(ptr noundef %28, ptr noundef @.str.8) %30 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0 %31 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %30, ptr noundef @.str.9, double noundef -4.298700e+01) %32 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0 %33 = call i32 @assertStringsEqual(ptr noundef %32, ptr noundef @.str.10) %34 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0 %35 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %34, ptr noundef @.str.9, double noundef 4.298700e+01) %36 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0 %37 = call i32 @assertStringsEqual(ptr noundef %36, ptr noundef @.str.11) %38 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0 %39 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %38, ptr noundef @.str.12, ptr noundef @.str.13) %40 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0 %41 = call i32 @assertStringsEqual(ptr noundef %40, ptr noundef @.str.13) %42 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0 %43 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %42, ptr noundef @.str, i32 noundef 1024) %44 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0 %45 = call i32 @assertStringsEqual(ptr noundef %44, ptr noundef @.str.14) %46 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0 %47 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %46, ptr noundef @.str, i32 noundef -1024) %48 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0 %49 = call i32 @assertStringsEqual(ptr noundef %48, ptr noundef @.str.15) %50 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0 %51 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %50, ptr noundef @.str.16, i32 noundef 1024) %52 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0 %53 = call i32 @assertStringsEqual(ptr noundef %52, ptr noundef @.str.14) %54 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0 %55 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %54, ptr noundef @.str.16, i32 noundef -1024) %56 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0 %57 = call i32 @assertStringsEqual(ptr noundef %56, ptr noundef @.str.15) %58 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0 %59 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %58, ptr noundef @.str.17, i32 noundef 1024) %60 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0 %61 = call i32 @assertStringsEqual(ptr noundef %60, ptr noundef @.str.18) %62 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0 %63 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %62, ptr noundef @.str.17, i32 noundef -1024) %64 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0 %65 = call i32 @assertStringsEqual(ptr noundef %64, ptr noundef @.str.19) %66 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0 %67 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %66, ptr noundef @.str.20, i32 noundef 511) %68 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0 %69 = call i32 @assertStringsEqual(ptr noundef %68, ptr noundef @.str.21) %70 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0 %71 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %70, ptr noundef @.str.20, i32 noundef -511) %72 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0 %73 = call i32 @assertStringsEqual(ptr noundef %72, ptr noundef @.str.22) %74 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0 %75 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %74, ptr noundef @.str.23, i32 noundef 305441741) %76 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0 %77 = call i32 @assertStringsEqual(ptr noundef %76, ptr noundef @.str.24) %78 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0 %79 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %78, ptr noundef @.str.23, i32 noundef -305441741) %80 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0 %81 = call i32 @assertStringsEqual(ptr noundef %80, ptr noundef @.str.25) %82 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0 %83 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %82, ptr noundef @.str.26, i32 noundef 305441741) %84 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0 %85 = call i32 @assertStringsEqual(ptr noundef %84, ptr noundef @.str.27) %86 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0 %87 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %86, ptr noundef @.str.26, i32 noundef -305441741) %88 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0 %89 = call i32 @assertStringsEqual(ptr noundef %88, ptr noundef @.str.28) %90 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0 %91 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %90, ptr noundef @.str.29, i32 noundef 120) %92 = getelementptr inbounds [100 x i8], ptr %1, i64 0, i64 0 %93 = call i32 @assertStringsEqual(ptr noundef %92, ptr noundef @.str.30) ret void } declare i32 @sprintf(ptr noundef, ptr noundef, ...) #1 declare i32 @assertStringsEqual(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/tmpdr36o5yx.c' source_filename = "/tmp/tmpdr36o5yx.c" target datalayout = "e-m:e-p270: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/tmpdr36o5yx.c" target datalayout = "e-m:e-p270: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/tmp5hrh36cq.c' source_filename = "/tmp/tmp5hrh36cq.c" target datalayout = "e-m:e-p270: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"%ld\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"%lld\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"%lld\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i64, align 8 %3 = alloca i64, align 8 %4 = alloca i64, align 8 store i32 0, ptr %1, align 4 store i64 0, ptr %2, align 8 store i64 0, ptr %4, align 8 br label %5 5: ; preds = %13, %0 %6 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2) br label %7 7: ; preds = %5 %8 = load i64, ptr %2, align 8 %9 = icmp sle i64 %8, 0 br i1 %9, label %13, label %10 10: ; preds = %7 %11 = load i64, ptr %2, align 8 %12 = icmp sgt i64 %11, 100000 br label %13 13: ; preds = %10, %7 %14 = phi i1 [ true, %7 ], [ %12, %10 ] br i1 %14, label %5, label %15, !llvm.loop !6 15: ; preds = %13 store i64 1, ptr %3, align 8 br label %16 16: ; preds = %35, %15 %17 = load i64, ptr %3, align 8 %18 = load i64, ptr %2, align 8 %19 = icmp sle i64 %17, %18 br i1 %19, label %20, label %38 20: ; preds = %16 br label %21 21: ; preds = %29, %20 %22 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %4) br label %23 23: ; preds = %21 %24 = load i64, ptr %4, align 8 %25 = icmp sle i64 %24, 0 br i1 %25, label %29, label %26 26: ; preds = %23 %27 = load i64, ptr %4, align 8 %28 = icmp sgt i64 %27, 1000000000 br label %29 29: ; preds = %26, %23 %30 = phi i1 [ true, %23 ], [ %28, %26 ] br i1 %30, label %21, label %31, !llvm.loop !8 31: ; preds = %29 %32 = load i64, ptr %4, align 8 %33 = call i32 @z(i64 noundef %32) %34 = call i32 @printf(ptr noundef @.str.2, i32 noundef %33) br label %35 35: ; preds = %31 %36 = load i64, ptr %3, align 8 %37 = add nsw i64 %36, 1 store i64 %37, ptr %3, align 8 br label %16, !llvm.loop !9 38: ; preds = %16 ret i32 0 } declare i32 @scanf(ptr noundef, ...) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @z(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5hrh36cq.c" target datalayout = "e-m:e-p270: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"%ld\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"%lld\00", align 1 @.str.2 = private unnamed_addr constant [6 x i8] c"%lld\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i64, align 8 %3 = alloca i64, align 8 %4 = alloca i64, align 8 store i32 0, ptr %1, align 4 store i64 0, ptr %2, align 8 store i64 0, ptr %4, align 8 br label %5 5: ; preds = %13, %0 %6 = call i32 (ptr, ...) @scanf(ptr noundef @.str, ptr noundef %2) br label %7 7: ; preds = %5 %8 = load i64, ptr %2, align 8 %9 = icmp sle i64 %8, 0 br i1 %9, label %13, label %10 10: ; preds = %7 %11 = load i64, ptr %2, align 8 %12 = icmp sgt i64 %11, 100000 br label %13 13: ; preds = %10, %7 %14 = phi i1 [ true, %7 ], [ %12, %10 ] br i1 %14, label %5, label %15, !llvm.loop !6 15: ; preds = %13 store i64 1, ptr %3, align 8 %16 = load i64, ptr %3, align 8 %17 = load i64, ptr %2, align 8 %18 = icmp sle i64 %16, %17 br i1 %18, label %.lr.ph, label %40 .lr.ph: ; preds = %15 br label %19 19: ; preds = %.lr.ph, %34 br label %20 20: ; preds = %28, %19 %21 = call i32 (ptr, ...) @scanf(ptr noundef @.str.1, ptr noundef %4) br label %22 22: ; preds = %20 %23 = load i64, ptr %4, align 8 %24 = icmp sle i64 %23, 0 br i1 %24, label %28, label %25 25: ; preds = %22 %26 = load i64, ptr %4, align 8 %27 = icmp sgt i64 %26, 1000000000 br label %28 28: ; preds = %25, %22 %29 = phi i1 [ true, %22 ], [ %27, %25 ] br i1 %29, label %20, label %30, !llvm.loop !8 30: ; preds = %28 %31 = load i64, ptr %4, align 8 %32 = call i32 @z(i64 noundef %31) %33 = call i32 @printf(ptr noundef @.str.2, i32 noundef %32) br label %34 34: ; preds = %30 %35 = load i64, ptr %3, align 8 %36 = add nsw i64 %35, 1 store i64 %36, ptr %3, align 8 %37 = load i64, ptr %3, align 8 %38 = load i64, ptr %2, align 8 %39 = icmp sle i64 %37, %38 br i1 %39, label %19, label %._crit_edge, !llvm.loop !9 ._crit_edge: ; preds = %34 br label %40 40: ; preds = %._crit_edge, %15 ret i32 0 } declare i32 @scanf(ptr noundef, ...) #1 declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @z(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpbdafk0yx.c' source_filename = "/tmp/tmpbdafk0yx.c" target datalayout = "e-m:e-p270: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/tmpbdafk0yx.c" target datalayout = "e-m:e-p270: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/tmpua6jzgl6.c' source_filename = "/tmp/tmpua6jzgl6.c" target datalayout = "e-m:e-p270: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/tmpua6jzgl6.c" target datalayout = "e-m:e-p270: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/tmp5e4ngns0.c' source_filename = "/tmp/tmp5e4ngns0.c" target datalayout = "e-m:e-p270: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 \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"-1\00", align 1 @.str.2 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @solve(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %9 = load i32, ptr %4, align 4 %10 = icmp eq i32 %9, 0 br i1 %10, label %11, label %23 11: ; preds = %2 store i32 1, ptr %5, align 4 br label %12 12: ; preds = %19, %11 %13 = load i32, ptr %5, align 4 %14 = load i32, ptr %3, align 4 %15 = icmp sle i32 %13, %14 br i1 %15, label %16, label %22 16: ; preds = %12 %17 = load i32, ptr %5, align 4 %18 = call i32 @printf(ptr noundef @.str, i32 noundef %17) br label %19 19: ; preds = %16 %20 = load i32, ptr %5, align 4 %21 = add nsw i32 %20, 1 store i32 %21, ptr %5, align 4 br label %12, !llvm.loop !6 22: ; preds = %12 br label %81 23: ; preds = %2 %24 = load i32, ptr %4, align 4 %25 = icmp eq i32 %24, 1 br i1 %25, label %26, label %47 26: ; preds = %23 %27 = load i32, ptr %3, align 4 %28 = icmp ne i32 %27, 3 br i1 %28, label %29, label %47 29: ; preds = %26 %30 = load i32, ptr %3, align 4 store i32 %30, ptr %6, align 4 br label %31 31: ; preds = %43, %29 %32 = load i32, ptr %6, align 4 %33 = icmp sgt i32 %32, 0 br i1 %33, label %34, label %38 34: ; preds = %31 %35 = load i32, ptr %6, align 4 %36 = load i32, ptr %3, align 4 %37 = icmp sle i32 %35, %36 br label %38 38: ; preds = %34, %31 %39 = phi i1 [ false, %31 ], [ %37, %34 ] br i1 %39, label %40, label %46 40: ; preds = %38 %41 = load i32, ptr %6, align 4 %42 = call i32 @printf(ptr noundef @.str, i32 noundef %41) br label %43 43: ; preds = %40 %44 = load i32, ptr %6, align 4 %45 = add nsw i32 %44, -1 store i32 %45, ptr %6, align 4 br label %31, !llvm.loop !8 46: ; preds = %38 br label %80 47: ; preds = %26, %23 %48 = load i32, ptr %4, align 4 %49 = mul nsw i32 %48, 2 %50 = load i32, ptr %3, align 4 %51 = icmp eq i32 %49, %50 br i1 %51, label %52, label %77 52: ; preds = %47 %53 = load i32, ptr %4, align 4 %54 = add nsw i32 %53, 1 store i32 %54, ptr %7, align 4 br label %55 55: ; preds = %62, %52 %56 = load i32, ptr %7, align 4 %57 = load i32, ptr %3, align 4 %58 = icmp sle i32 %56, %57 br i1 %58, label %59, label %65 59: ; preds = %55 %60 = load i32, ptr %7, align 4 %61 = call i32 @printf(ptr noundef @.str, i32 noundef %60) br label %62 62: ; preds = %59 %63 = load i32, ptr %7, align 4 %64 = add nsw i32 %63, 1 store i32 %64, ptr %7, align 4 br label %55, !llvm.loop !9 65: ; preds = %55 store i32 1, ptr %8, align 4 br label %66 66: ; preds = %73, %65 %67 = load i32, ptr %8, align 4 %68 = load i32, ptr %4, align 4 %69 = icmp sle i32 %67, %68 br i1 %69, label %70, label %76 70: ; preds = %66 %71 = load i32, ptr %8, align 4 %72 = call i32 @printf(ptr noundef @.str, i32 noundef %71) br label %73 73: ; preds = %70 %74 = load i32, ptr %8, align 4 %75 = add nsw i32 %74, 1 store i32 %75, ptr %8, align 4 br label %66, !llvm.loop !10 76: ; preds = %66 br label %79 77: ; preds = %47 %78 = call i32 @puts(ptr noundef @.str.1) br label %83 79: ; preds = %76 br label %80 80: ; preds = %79, %46 br label %81 81: ; preds = %80, %22 %82 = call i32 @puts(ptr noundef @.str.2) br label %83 83: ; preds = %81, %77 ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @puts(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/tmp5e4ngns0.c" target datalayout = "e-m:e-p270: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 \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"-1\00", align 1 @.str.2 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @solve(i32 noundef %0, i32 noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store i32 %1, ptr %4, align 4 %9 = load i32, ptr %4, align 4 %10 = icmp eq i32 %9, 0 br i1 %10, label %11, label %25 11: ; preds = %2 store i32 1, ptr %5, align 4 %12 = load i32, ptr %5, align 4 %13 = load i32, ptr %3, align 4 %14 = icmp sle i32 %12, %13 br i1 %14, label %.lr.ph5, label %24 .lr.ph5: ; preds = %11 br label %15 15: ; preds = %.lr.ph5, %18 %16 = load i32, ptr %5, align 4 %17 = call i32 @printf(ptr noundef @.str, i32 noundef %16) br label %18 18: ; preds = %15 %19 = load i32, ptr %5, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %5, align 4 %21 = load i32, ptr %5, align 4 %22 = load i32, ptr %3, align 4 %23 = icmp sle i32 %21, %22 br i1 %23, label %15, label %._crit_edge6, !llvm.loop !6 ._crit_edge6: ; preds = %18 br label %24 24: ; preds = %._crit_edge6, %11 br label %87 25: ; preds = %2 %26 = load i32, ptr %4, align 4 %27 = icmp eq i32 %26, 1 br i1 %27, label %28, label %49 28: ; preds = %25 %29 = load i32, ptr %3, align 4 %30 = icmp ne i32 %29, 3 br i1 %30, label %31, label %49 31: ; preds = %28 %32 = load i32, ptr %3, align 4 store i32 %32, ptr %6, align 4 br label %33 33: ; preds = %45, %31 %34 = load i32, ptr %6, align 4 %35 = icmp sgt i32 %34, 0 br i1 %35, label %36, label %40 36: ; preds = %33 %37 = load i32, ptr %6, align 4 %38 = load i32, ptr %3, align 4 %39 = icmp sle i32 %37, %38 br label %40 40: ; preds = %36, %33 %41 = phi i1 [ false, %33 ], [ %39, %36 ] br i1 %41, label %42, label %48 42: ; preds = %40 %43 = load i32, ptr %6, align 4 %44 = call i32 @printf(ptr noundef @.str, i32 noundef %43) br label %45 45: ; preds = %42 %46 = load i32, ptr %6, align 4 %47 = add nsw i32 %46, -1 store i32 %47, ptr %6, align 4 br label %33, !llvm.loop !8 48: ; preds = %40 br label %86 49: ; preds = %28, %25 %50 = load i32, ptr %4, align 4 %51 = mul nsw i32 %50, 2 %52 = load i32, ptr %3, align 4 %53 = icmp eq i32 %51, %52 br i1 %53, label %54, label %83 54: ; preds = %49 %55 = load i32, ptr %4, align 4 %56 = add nsw i32 %55, 1 store i32 %56, ptr %7, align 4 %57 = load i32, ptr %7, align 4 %58 = load i32, ptr %3, align 4 %59 = icmp sle i32 %57, %58 br i1 %59, label %.lr.ph, label %69 .lr.ph: ; preds = %54 br label %60 60: ; preds = %.lr.ph, %63 %61 = load i32, ptr %7, align 4 %62 = call i32 @printf(ptr noundef @.str, i32 noundef %61) br label %63 63: ; preds = %60 %64 = load i32, ptr %7, align 4 %65 = add nsw i32 %64, 1 store i32 %65, ptr %7, align 4 %66 = load i32, ptr %7, align 4 %67 = load i32, ptr %3, align 4 %68 = icmp sle i32 %66, %67 br i1 %68, label %60, label %._crit_edge, !llvm.loop !9 ._crit_edge: ; preds = %63 br label %69 69: ; preds = %._crit_edge, %54 store i32 1, ptr %8, align 4 %70 = load i32, ptr %8, align 4 %71 = load i32, ptr %4, align 4 %72 = icmp sle i32 %70, %71 br i1 %72, label %.lr.ph2, label %82 .lr.ph2: ; preds = %69 br label %73 73: ; preds = %.lr.ph2, %76 %74 = load i32, ptr %8, align 4 %75 = call i32 @printf(ptr noundef @.str, i32 noundef %74) br label %76 76: ; preds = %73 %77 = load i32, ptr %8, align 4 %78 = add nsw i32 %77, 1 store i32 %78, ptr %8, align 4 %79 = load i32, ptr %8, align 4 %80 = load i32, ptr %4, align 4 %81 = icmp sle i32 %79, %80 br i1 %81, label %73, label %._crit_edge3, !llvm.loop !10 ._crit_edge3: ; preds = %76 br label %82 82: ; preds = %._crit_edge3, %69 br label %85 83: ; preds = %49 %84 = call i32 @puts(ptr noundef @.str.1) br label %89 85: ; preds = %82 br label %86 86: ; preds = %85, %48 br label %87 87: ; preds = %86, %24 %88 = call i32 @puts(ptr noundef @.str.2) br label %89 89: ; preds = %87, %83 ret void } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @puts(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/tmpecj08zds.c' source_filename = "/tmp/tmpecj08zds.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"%s, line %s\00", align 1 @.str.1 = private unnamed_addr constant [137 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/LeSpocky/libcgi/refs/heads/master/src/string.c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @strdel(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store i32 0, ptr %10, align 4 %12 = load ptr, ptr %5, align 8 %13 = call i32 @strlen(ptr noundef %12) store i32 %13, ptr %9, align 4 %14 = load i32, ptr %7, align 4 %15 = load i32, ptr %6, align 4 %16 = add nsw i32 %14, %15 %17 = load i32, ptr %9, align 4 %18 = icmp sgt i32 %16, %17 br i1 %18, label %19, label %20 19: ; preds = %3 store ptr null, ptr %4, align 8 br label %68 20: ; preds = %3 %21 = load i32, ptr %9, align 4 %22 = load i32, ptr %7, align 4 %23 = sub nsw i32 %21, %22 %24 = add nsw i32 %23, 1 %25 = call i64 @malloc(i32 noundef %24) %26 = inttoptr i64 %25 to ptr store ptr %26, ptr %11, align 8 %27 = load ptr, ptr %11, align 8 %28 = icmp eq ptr %27, null br i1 %28, label %29, label %31 29: ; preds = %20 %30 = call i32 @libcgi_error(i32 noundef 4, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 521) br label %31 31: ; preds = %29, %20 store i32 0, ptr %8, align 4 br label %32 32: ; preds = %59, %31 %33 = load i32, ptr %8, align 4 %34 = load i32, ptr %9, align 4 %35 = icmp slt i32 %33, %34 br i1 %35, label %36, label %62 36: ; preds = %32 %37 = load i32, ptr %8, align 4 %38 = load i32, ptr %6, align 4 %39 = icmp sge i32 %37, %38 br i1 %39, label %40, label %49 40: ; preds = %36 %41 = load i32, ptr %8, align 4 %42 = load i32, ptr %6, align 4 %43 = load i32, ptr %7, align 4 %44 = add nsw i32 %42, %43 %45 = icmp slt i32 %41, %44 br i1 %45, label %46, label %49 46: ; preds = %40 %47 = load ptr, ptr %5, align 8 %48 = getelementptr inbounds i8, ptr %47, i32 1 store ptr %48, ptr %5, align 8 br label %58 49: ; preds = %40, %36 %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 = load ptr, ptr %11, align 8 %54 = load i32, ptr %10, align 4 %55 = add nsw i32 %54, 1 store i32 %55, ptr %10, align 4 %56 = sext i32 %54 to i64 %57 = getelementptr inbounds i8, ptr %53, i64 %56 store i8 %52, ptr %57, align 1 br label %58 58: ; preds = %49, %46 br label %59 59: ; preds = %58 %60 = load i32, ptr %8, align 4 %61 = add nsw i32 %60, 1 store i32 %61, ptr %8, align 4 br label %32, !llvm.loop !6 62: ; preds = %32 %63 = load ptr, ptr %11, align 8 %64 = load i32, ptr %10, align 4 %65 = sext i32 %64 to i64 %66 = getelementptr inbounds i8, ptr %63, i64 %65 store i8 0, ptr %66, align 1 %67 = load ptr, ptr %11, align 8 store ptr %67, ptr %4, align 8 br label %68 68: ; preds = %62, %19 %69 = load ptr, ptr %4, align 8 ret ptr %69 } declare i32 @strlen(ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @libcgi_error(i32 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpecj08zds.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [12 x i8] c"%s, line %s\00", align 1 @.str.1 = private unnamed_addr constant [137 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/LeSpocky/libcgi/refs/heads/master/src/string.c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @strdel(ptr noundef %0, i32 noundef %1, i32 noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = alloca i32, align 4 %11 = alloca ptr, align 8 store ptr %0, ptr %5, align 8 store i32 %1, ptr %6, align 4 store i32 %2, ptr %7, align 4 store i32 0, ptr %10, align 4 %12 = load ptr, ptr %5, align 8 %13 = call i32 @strlen(ptr noundef %12) store i32 %13, ptr %9, align 4 %14 = load i32, ptr %7, align 4 %15 = load i32, ptr %6, align 4 %16 = add nsw i32 %14, %15 %17 = load i32, ptr %9, align 4 %18 = icmp sgt i32 %16, %17 br i1 %18, label %19, label %20 19: ; preds = %3 store ptr null, ptr %4, align 8 br label %70 20: ; preds = %3 %21 = load i32, ptr %9, align 4 %22 = load i32, ptr %7, align 4 %23 = sub nsw i32 %21, %22 %24 = add nsw i32 %23, 1 %25 = call i64 @malloc(i32 noundef %24) %26 = inttoptr i64 %25 to ptr store ptr %26, ptr %11, align 8 %27 = load ptr, ptr %11, align 8 %28 = icmp eq ptr %27, null br i1 %28, label %29, label %31 29: ; preds = %20 %30 = call i32 @libcgi_error(i32 noundef 4, ptr noundef @.str, ptr noundef @.str.1, i32 noundef 521) br label %31 31: ; preds = %29, %20 store i32 0, ptr %8, align 4 %32 = load i32, ptr %8, align 4 %33 = load i32, ptr %9, align 4 %34 = icmp slt i32 %32, %33 br i1 %34, label %.lr.ph, label %64 .lr.ph: ; preds = %31 br label %35 35: ; preds = %.lr.ph, %58 %36 = load i32, ptr %8, align 4 %37 = load i32, ptr %6, align 4 %38 = icmp sge i32 %36, %37 br i1 %38, label %39, label %48 39: ; preds = %35 %40 = load i32, ptr %8, align 4 %41 = load i32, ptr %6, 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 %45, label %48 45: ; preds = %39 %46 = load ptr, ptr %5, align 8 %47 = getelementptr inbounds i8, ptr %46, i32 1 store ptr %47, ptr %5, align 8 br label %57 48: ; preds = %39, %35 %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 = load ptr, ptr %11, align 8 %53 = load i32, ptr %10, align 4 %54 = add nsw i32 %53, 1 store i32 %54, ptr %10, align 4 %55 = sext i32 %53 to i64 %56 = getelementptr inbounds i8, ptr %52, i64 %55 store i8 %51, ptr %56, align 1 br label %57 57: ; preds = %48, %45 br label %58 58: ; preds = %57 %59 = load i32, ptr %8, align 4 %60 = add nsw i32 %59, 1 store i32 %60, ptr %8, align 4 %61 = load i32, ptr %8, align 4 %62 = load i32, ptr %9, align 4 %63 = icmp slt i32 %61, %62 br i1 %63, label %35, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %58 br label %64 64: ; preds = %._crit_edge, %31 %65 = load ptr, ptr %11, align 8 %66 = load i32, ptr %10, align 4 %67 = sext i32 %66 to i64 %68 = getelementptr inbounds i8, ptr %65, i64 %67 store i8 0, ptr %68, align 1 %69 = load ptr, ptr %11, align 8 store ptr %69, ptr %4, align 8 br label %70 70: ; preds = %64, %19 %71 = load ptr, ptr %4, align 8 ret ptr %71 } declare i32 @strlen(ptr noundef) #1 declare i64 @malloc(i32 noundef) #1 declare i32 @libcgi_error(i32 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp0ec2r3t3.c' source_filename = "/tmp/tmp0ec2r3t3.c" target datalayout = "e-m:e-p270: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 @put_string(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 br label %3 3: ; preds = %8, %1 %4 = load ptr, ptr %2, align 8 %5 = load i8, ptr %4, align 1 %6 = sext i8 %5 to i32 %7 = icmp ne i32 %6, 0 br i1 %7, label %8, label %14 8: ; preds = %3 %9 = load ptr, ptr %2, align 8 %10 = getelementptr inbounds i8, ptr %9, i32 1 store ptr %10, ptr %2, align 8 %11 = load i8, ptr %9, align 1 %12 = sext i8 %11 to i32 %13 = call i32 @put_console(i32 noundef %12) br label %3, !llvm.loop !6 14: ; preds = %3 ret void } declare i32 @put_console(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/tmp0ec2r3t3.c" target datalayout = "e-m:e-p270: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 @put_string(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = load i8, ptr %3, align 1 %5 = sext i8 %4 to i32 %6 = icmp ne i32 %5, 0 br i1 %6, label %.lr.ph, label %17 .lr.ph: ; preds = %1 br label %7 7: ; preds = %.lr.ph, %7 %8 = load ptr, ptr %2, align 8 %9 = getelementptr inbounds i8, ptr %8, i32 1 store ptr %9, ptr %2, align 8 %10 = load i8, ptr %8, align 1 %11 = sext i8 %10 to i32 %12 = call i32 @put_console(i32 noundef %11) %13 = load ptr, ptr %2, align 8 %14 = load i8, ptr %13, align 1 %15 = sext i8 %14 to i32 %16 = icmp ne i32 %15, 0 br i1 %16, label %7, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %7 br label %17 17: ; preds = %._crit_edge, %1 ret void } declare i32 @put_console(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/tmp5_xk45kp.c' source_filename = "/tmp/tmp5_xk45kp.c" target datalayout = "e-m:e-p270: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"\0AProblem with memory reallocation\00", align 1 @.str.1 = private unnamed_addr constant [24 x i8] c" \0A%ul number of bytes \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @vector_realloc(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = load ptr, ptr %3, align 8 %7 = load i32, ptr %4, align 4 %8 = call i64 @realloc(ptr noundef %6, i32 noundef %7) %9 = inttoptr i64 %8 to ptr store ptr %9, ptr %5, align 8 %10 = load ptr, ptr %5, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %17, label %12 12: ; preds = %2 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str) %14 = load i32, ptr %4, align 4 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %14) %16 = call i32 @exit(i32 noundef 1) #3 unreachable 17: ; preds = %2 %18 = load ptr, ptr %5, align 8 ret ptr %18 } declare i64 @realloc(ptr noundef, 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/tmp5_xk45kp.c" target datalayout = "e-m:e-p270: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"\0AProblem with memory reallocation\00", align 1 @.str.1 = private unnamed_addr constant [24 x i8] c" \0A%ul number of bytes \0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @vector_realloc(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 store i32 %1, ptr %4, align 4 %6 = load ptr, ptr %3, align 8 %7 = load i32, ptr %4, align 4 %8 = call i64 @realloc(ptr noundef %6, i32 noundef %7) %9 = inttoptr i64 %8 to ptr store ptr %9, ptr %5, align 8 %10 = load ptr, ptr %5, align 8 %11 = icmp ne ptr %10, null br i1 %11, label %17, label %12 12: ; preds = %2 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str) %14 = load i32, ptr %4, align 4 %15 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %14) %16 = call i32 @exit(i32 noundef 1) #3 unreachable 17: ; preds = %2 %18 = load ptr, ptr %5, align 8 ret ptr %18 } declare i64 @realloc(ptr noundef, 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/tmpj74loj3w.c' source_filename = "/tmp/tmpj74loj3w.c" target datalayout = "e-m:e-p270: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 @SensorSetBrightness_ET8EC3(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 = zext i8 %3 to i32 switch i32 %4, label %15 [ i32 1, label %5 i32 2, label %7 i32 3, label %9 i32 4, label %11 i32 5, label %13 ] 5: ; preds = %1 %6 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 18, i32 noundef 160) br label %16 7: ; preds = %1 %8 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 18, i32 noundef 192) br label %16 9: ; preds = %1 %10 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 18, i32 noundef 0) br label %16 11: ; preds = %1 %12 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 18, i32 noundef 32) br label %16 13: ; preds = %1 %14 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 18, i32 noundef 64) br label %16 15: ; preds = %1 br label %16 16: ; preds = %15, %13, %11, %9, %7, %5 ret void } declare i32 @VIM_SIF_I2cWriteByte(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/tmpj74loj3w.c" target datalayout = "e-m:e-p270: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 @SensorSetBrightness_ET8EC3(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 = zext i8 %3 to i32 switch i32 %4, label %15 [ i32 1, label %5 i32 2, label %7 i32 3, label %9 i32 4, label %11 i32 5, label %13 ] 5: ; preds = %1 %6 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 18, i32 noundef 160) br label %16 7: ; preds = %1 %8 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 18, i32 noundef 192) br label %16 9: ; preds = %1 %10 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 18, i32 noundef 0) br label %16 11: ; preds = %1 %12 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 18, i32 noundef 32) br label %16 13: ; preds = %1 %14 = call i32 @VIM_SIF_I2cWriteByte(i32 noundef 18, i32 noundef 64) br label %16 15: ; preds = %1 br label %16 16: ; preds = %15, %13, %11, %9, %7, %5 ret void } declare i32 @VIM_SIF_I2cWriteByte(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_uuxlbpm.c' source_filename = "/tmp/tmp_uuxlbpm.c" target datalayout = "e-m:e-p270: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_uuxlbpm.c" target datalayout = "e-m:e-p270: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_2npebts.c' source_filename = "/tmp/tmp_2npebts.c" target datalayout = "e-m:e-p270: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 [8 x i8] c"ctor b\0A\00", align 1 @llvm.global_ctors = appending global [1 x { i32, ptr, ptr }] [{ i32, ptr, ptr } { i32 65535, ptr @beginB, ptr null }] ; Function Attrs: noinline nounwind sspstrong uwtable define internal void @beginB() #0 { %1 = call i32 @myprint(ptr noundef @.str) ret void } declare i32 @myprint(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_2npebts.c" target datalayout = "e-m:e-p270: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 [8 x i8] c"ctor b\0A\00", align 1 @llvm.global_ctors = appending global [1 x { i32, ptr, ptr }] [{ i32, ptr, ptr } { i32 65535, ptr @beginB, ptr null }] ; Function Attrs: noinline nounwind sspstrong uwtable define internal void @beginB() #0 { %1 = call i32 @myprint(ptr noundef @.str) ret void } declare i32 @myprint(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_29x1fii.c' source_filename = "/tmp/tmp_29x1fii.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"num1 %d num2 %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @cmp(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %8 = load ptr, ptr %4, align 8 %9 = ptrtoint ptr %8 to i32 store i32 %9, ptr %6, align 4 %10 = load ptr, ptr %5, align 8 %11 = ptrtoint ptr %10 to i32 store i32 %11, ptr %7, align 4 %12 = load i32, ptr %6, align 4 %13 = load i32, ptr %7, align 4 %14 = call i32 @printf(ptr noundef @.str, i32 noundef %12, i32 noundef %13) %15 = load i32, ptr %6, align 4 %16 = load i32, ptr %7, align 4 %17 = icmp sgt i32 %15, %16 br i1 %17, label %18, label %19 18: ; preds = %2 store i32 -1, ptr %3, align 4 br label %26 19: ; preds = %2 %20 = load i32, ptr %6, align 4 %21 = load i32, ptr %7, align 4 %22 = icmp slt i32 %20, %21 br i1 %22, label %23, label %24 23: ; preds = %19 store i32 1, ptr %3, align 4 br label %26 24: ; preds = %19 br label %25 25: ; preds = %24 store i32 0, ptr %3, align 4 br label %26 26: ; preds = %25, %23, %18 %27 = load i32, ptr %3, align 4 ret i32 %27 } 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/tmp_29x1fii.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [17 x i8] c"num1 %d num2 %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @cmp(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 %8 = load ptr, ptr %4, align 8 %9 = ptrtoint ptr %8 to i32 store i32 %9, ptr %6, align 4 %10 = load ptr, ptr %5, align 8 %11 = ptrtoint ptr %10 to i32 store i32 %11, ptr %7, align 4 %12 = load i32, ptr %6, align 4 %13 = load i32, ptr %7, align 4 %14 = call i32 @printf(ptr noundef @.str, i32 noundef %12, i32 noundef %13) %15 = load i32, ptr %6, align 4 %16 = load i32, ptr %7, align 4 %17 = icmp sgt i32 %15, %16 br i1 %17, label %18, label %19 18: ; preds = %2 store i32 -1, ptr %3, align 4 br label %26 19: ; preds = %2 %20 = load i32, ptr %6, align 4 %21 = load i32, ptr %7, align 4 %22 = icmp slt i32 %20, %21 br i1 %22, label %23, label %24 23: ; preds = %19 store i32 1, ptr %3, align 4 br label %26 24: ; preds = %19 br label %25 25: ; preds = %24 store i32 0, ptr %3, align 4 br label %26 26: ; preds = %25, %23, %18 %27 = load i32, ptr %3, align 4 ret i32 %27 } 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/tmpsxqg3_y8.c' source_filename = "/tmp/tmpsxqg3_y8.c" target datalayout = "e-m:e-p270: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/tmpsxqg3_y8.c" target datalayout = "e-m:e-p270: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/tmpkrm6iwk4.c' source_filename = "/tmp/tmpkrm6iwk4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"true\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @parse_boolean(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = icmp ne ptr %4, null br i1 %5, label %6, label %11 6: ; preds = %1 %7 = load ptr, ptr %3, align 8 %8 = call i32 @strcmp(ptr noundef %7, ptr noundef @.str) %9 = icmp ne i32 %8, 0 br i1 %9, label %11, label %10 10: ; preds = %6 store i32 1, ptr %2, align 4 br label %12 11: ; preds = %6, %1 store i32 0, ptr %2, align 4 br label %12 12: ; preds = %11, %10 %13 = load i32, ptr %2, align 4 ret i32 %13 } declare i32 @strcmp(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/tmpkrm6iwk4.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [5 x i8] c"true\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @parse_boolean(ptr noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca ptr, align 8 store ptr %0, ptr %3, align 8 %4 = load ptr, ptr %3, align 8 %5 = icmp ne ptr %4, null br i1 %5, label %6, label %11 6: ; preds = %1 %7 = load ptr, ptr %3, align 8 %8 = call i32 @strcmp(ptr noundef %7, ptr noundef @.str) %9 = icmp ne i32 %8, 0 br i1 %9, label %11, label %10 10: ; preds = %6 store i32 1, ptr %2, align 4 br label %12 11: ; preds = %6, %1 store i32 0, ptr %2, align 4 br label %12 12: ; preds = %11, %10 %13 = load i32, ptr %2, align 4 ret i32 %13 } declare i32 @strcmp(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/tmpmso3vnor.c' source_filename = "/tmp/tmpmso3vnor.c" target datalayout = "e-m:e-p270: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 [1 x i8] zeroinitializer, align 1 @.str.1 = private unnamed_addr constant [10 x i8] c" power %d\00", align 1 @.str.2 = private unnamed_addr constant [11 x i8] c" heal %d%%\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @symbiotic_info(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 %6 = call i32 @get_skill(i32 noundef 8) store i32 %6, ptr %5, align 4 %7 = load ptr, ptr %3, align 8 %8 = call i32 @strcpy(ptr noundef %7, ptr noundef @.str) %9 = load i32, ptr %4, align 4 switch i32 %9, label %20 [ i32 2, label %10 i32 5, label %15 ] 10: ; preds = %2 %11 = load ptr, ptr %3, align 8 %12 = load i32, ptr %5, align 4 %13 = mul nsw i32 %12, 3 %14 = call i32 @strnfmt(ptr noundef %11, i32 noundef 80, ptr noundef @.str.1, i32 noundef %13) br label %20 15: ; preds = %2 %16 = load ptr, ptr %3, align 8 %17 = call i32 @get_skill_scale(i32 noundef 8, i32 noundef 35) %18 = add nsw i32 15, %17 %19 = call i32 @strnfmt(ptr noundef %16, i32 noundef 80, ptr noundef @.str.2, i32 noundef %18) br label %20 20: ; preds = %2, %15, %10 ret void } declare i32 @get_skill(i32 noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @strnfmt(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @get_skill_scale(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/tmpmso3vnor.c" target datalayout = "e-m:e-p270: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 [1 x i8] zeroinitializer, align 1 @.str.1 = private unnamed_addr constant [10 x i8] c" power %d\00", align 1 @.str.2 = private unnamed_addr constant [11 x i8] c" heal %d%%\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @symbiotic_info(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 %6 = call i32 @get_skill(i32 noundef 8) store i32 %6, ptr %5, align 4 %7 = load ptr, ptr %3, align 8 %8 = call i32 @strcpy(ptr noundef %7, ptr noundef @.str) %9 = load i32, ptr %4, align 4 switch i32 %9, label %20 [ i32 2, label %10 i32 5, label %15 ] 10: ; preds = %2 %11 = load ptr, ptr %3, align 8 %12 = load i32, ptr %5, align 4 %13 = mul nsw i32 %12, 3 %14 = call i32 @strnfmt(ptr noundef %11, i32 noundef 80, ptr noundef @.str.1, i32 noundef %13) br label %20 15: ; preds = %2 %16 = load ptr, ptr %3, align 8 %17 = call i32 @get_skill_scale(i32 noundef 8, i32 noundef 35) %18 = add nsw i32 15, %17 %19 = call i32 @strnfmt(ptr noundef %16, i32 noundef 80, ptr noundef @.str.2, i32 noundef %18) br label %20 20: ; preds = %15, %10, %2 ret void } declare i32 @get_skill(i32 noundef) #1 declare i32 @strcpy(ptr noundef, ptr noundef) #1 declare i32 @strnfmt(ptr noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @get_skill_scale(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/tmp2qsf32ez.c' source_filename = "/tmp/tmp2qsf32ez.c" target datalayout = "e-m:e-p270: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 @warning(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/tmp2qsf32ez.c" target datalayout = "e-m:e-p270: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 @warning(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/tmp7t5neqov.c' source_filename = "/tmp/tmp7t5neqov.c" target datalayout = "e-m:e-p270: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/tmp7t5neqov.c" target datalayout = "e-m:e-p270: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/tmpx4euiqy8.c' source_filename = "/tmp/tmpx4euiqy8.c" target datalayout = "e-m:e-p270: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/tmpx4euiqy8.c" target datalayout = "e-m:e-p270: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/tmpxmxldky6.c' source_filename = "/tmp/tmpxmxldky6.c" target datalayout = "e-m:e-p270: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"read error\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @ppm_readmagicnumber(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call i32 @_IO_getc(ptr noundef %5) store i32 %6, ptr %3, align 4 %7 = load i32, ptr %3, align 4 %8 = icmp eq i32 %7, -1 br i1 %8, label %9, label %11 9: ; preds = %1 %10 = call i32 @ppm_error(ptr noundef @.str) br label %11 11: ; preds = %9, %1 %12 = load ptr, ptr %2, align 8 %13 = call i32 @_IO_getc(ptr noundef %12) store i32 %13, ptr %4, align 4 %14 = load i32, ptr %4, align 4 %15 = icmp eq i32 %14, -1 br i1 %15, label %16, label %18 16: ; preds = %11 %17 = call i32 @ppm_error(ptr noundef @.str) br label %18 18: ; preds = %16, %11 %19 = load i32, ptr %3, align 4 %20 = mul nsw i32 %19, 256 %21 = load i32, ptr %4, align 4 %22 = add nsw i32 %20, %21 ret i32 %22 } declare i32 @_IO_getc(ptr noundef) #1 declare i32 @ppm_error(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpxmxldky6.c" target datalayout = "e-m:e-p270: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"read error\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @ppm_readmagicnumber(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store ptr %0, ptr %2, align 8 %5 = load ptr, ptr %2, align 8 %6 = call i32 @_IO_getc(ptr noundef %5) store i32 %6, ptr %3, align 4 %7 = load i32, ptr %3, align 4 %8 = icmp eq i32 %7, -1 br i1 %8, label %9, label %11 9: ; preds = %1 %10 = call i32 @ppm_error(ptr noundef @.str) br label %11 11: ; preds = %9, %1 %12 = load ptr, ptr %2, align 8 %13 = call i32 @_IO_getc(ptr noundef %12) store i32 %13, ptr %4, align 4 %14 = load i32, ptr %4, align 4 %15 = icmp eq i32 %14, -1 br i1 %15, label %16, label %18 16: ; preds = %11 %17 = call i32 @ppm_error(ptr noundef @.str) br label %18 18: ; preds = %16, %11 %19 = load i32, ptr %3, align 4 %20 = mul nsw i32 %19, 256 %21 = load i32, ptr %4, align 4 %22 = add nsw i32 %20, %21 ret i32 %22 } declare i32 @_IO_getc(ptr noundef) #1 declare i32 @ppm_error(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpfj5g93q_.c' source_filename = "/tmp/tmpfj5g93q_.c" target datalayout = "e-m:e-p270: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/tmpfj5g93q_.c" target datalayout = "e-m:e-p270: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/tmpc8wzyrap.c' source_filename = "/tmp/tmpc8wzyrap.c" target datalayout = "e-m:e-p270: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/tmpc8wzyrap.c" target datalayout = "e-m:e-p270: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/tmp1x8fj5p1.c' source_filename = "/tmp/tmp1x8fj5p1.c" target datalayout = "e-m:e-p270: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/tmp1x8fj5p1.c" target datalayout = "e-m:e-p270: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/tmpt3q_zjfb.c' source_filename = "/tmp/tmpt3q_zjfb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 (...) @test_clock_jitter() store i32 %3, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = icmp eq i32 %4, 0 br i1 %5, label %6, label %8 6: ; preds = %0 %7 = call i32 (...) @test_clock_direction() store i32 %7, ptr %2, align 4 br label %8 8: ; preds = %6, %0 %9 = load i32, ptr %2, align 4 ret i32 %9 } declare i32 @test_clock_jitter(...) #1 declare i32 @test_clock_direction(...) #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/tmpt3q_zjfb.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 store i32 0, ptr %1, align 4 %3 = call i32 (...) @test_clock_jitter() store i32 %3, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = icmp eq i32 %4, 0 br i1 %5, label %6, label %8 6: ; preds = %0 %7 = call i32 (...) @test_clock_direction() store i32 %7, ptr %2, align 4 br label %8 8: ; preds = %6, %0 %9 = load i32, ptr %2, align 4 ret i32 %9 } declare i32 @test_clock_jitter(...) #1 declare i32 @test_clock_direction(...) #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/tmp5c6uhox9.c' source_filename = "/tmp/tmp5c6uhox9.c" target datalayout = "e-m:e-p270: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"Count test failed!\0A\00", align 1 @.str.1 = private unnamed_addr constant [18 x i8] c"%d tests failed!\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 = call i32 (...) @test_count() %4 = icmp ne i32 %3, 0 br i1 %4, label %9, label %5 5: ; preds = %0 %6 = load i32, ptr %2, align 4 %7 = add nsw i32 %6, 1 store i32 %7, ptr %2, align 4 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %9 9: ; preds = %5, %0 %10 = load i32, ptr %2, align 4 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %10) %12 = load i32, ptr %1, align 4 ret i32 %12 } declare i32 @test_count(...) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5c6uhox9.c" target datalayout = "e-m:e-p270: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"Count test failed!\0A\00", align 1 @.str.1 = private unnamed_addr constant [18 x i8] c"%d tests failed!\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 = call i32 (...) @test_count() %4 = icmp ne i32 %3, 0 br i1 %4, label %9, label %5 5: ; preds = %0 %6 = load i32, ptr %2, align 4 %7 = add nsw i32 %6, 1 store i32 %7, ptr %2, align 4 %8 = call i32 (ptr, ...) @printf(ptr noundef @.str) br label %9 9: ; preds = %5, %0 %10 = load i32, ptr %2, align 4 %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %10) %12 = load i32, ptr %1, align 4 ret i32 %12 } declare i32 @test_count(...) #1 declare i32 @printf(ptr noundef, ...) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpe5wvfwfx.c' source_filename = "/tmp/tmpe5wvfwfx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [22 x i8] c"Entrada en segundos: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [18 x i8] c"H:M:S - %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 i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) %7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %8 = load i32, ptr %2, align 4 %9 = sdiv i32 %8, 3600 store i32 %9, ptr %3, align 4 %10 = load i32, ptr %2, align 4 %11 = load i32, ptr %3, align 4 %12 = mul nsw i32 3600, %11 %13 = sub nsw i32 %10, %12 %14 = sdiv i32 %13, 60 store i32 %14, ptr %4, align 4 %15 = load i32, ptr %2, align 4 %16 = load i32, ptr %3, align 4 %17 = mul nsw i32 3600, %16 %18 = sub nsw i32 %15, %17 %19 = load i32, ptr %4, align 4 %20 = mul nsw i32 %19, 60 %21 = sub nsw i32 %18, %20 store i32 %21, ptr %5, align 4 %22 = load i32, ptr %3, align 4 %23 = load i32, ptr %4, align 4 %24 = load i32, ptr %5, align 4 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %22, i32 noundef %23, i32 noundef %24) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpe5wvfwfx.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [22 x i8] c"Entrada en segundos: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [18 x i8] c"H:M:S - %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 i32, align 4 %4 = alloca i32, align 4 %5 = alloca i32, align 4 store i32 0, ptr %1, align 4 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) %7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %8 = load i32, ptr %2, align 4 %9 = sdiv i32 %8, 3600 store i32 %9, ptr %3, align 4 %10 = load i32, ptr %2, align 4 %11 = load i32, ptr %3, align 4 %12 = mul nsw i32 3600, %11 %13 = sub nsw i32 %10, %12 %14 = sdiv i32 %13, 60 store i32 %14, ptr %4, align 4 %15 = load i32, ptr %2, align 4 %16 = load i32, ptr %3, align 4 %17 = mul nsw i32 3600, %16 %18 = sub nsw i32 %15, %17 %19 = load i32, ptr %4, align 4 %20 = mul nsw i32 %19, 60 %21 = sub nsw i32 %18, %20 store i32 %21, ptr %5, align 4 %22 = load i32, ptr %3, align 4 %23 = load i32, ptr %4, align 4 %24 = load i32, ptr %5, align 4 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %22, i32 noundef %23, i32 noundef %24) ret i32 0 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmp3m8krobt.c' source_filename = "/tmp/tmp3m8krobt.c" target datalayout = "e-m:e-p270: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/tmp3m8krobt.c" target datalayout = "e-m:e-p270: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/tmpjlnyz8hu.c' source_filename = "/tmp/tmpjlnyz8hu.c" target datalayout = "e-m:e-p270: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 [49 x i8] c"GET %s HTTP/1.0\0D\0AHost: %s\0D\0AConnection: close\0D\0A\0D\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @make_request(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca [256 x i8], align 16 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 call void @llvm.memset.p0.i64(ptr align 16 %7, i8 0, i64 256, i1 false) %8 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0 %9 = load ptr, ptr %6, align 8 %10 = load ptr, ptr %5, align 8 %11 = call i32 @snprintf(ptr noundef %8, i32 noundef 256, ptr noundef @.str, ptr noundef %9, ptr noundef %10) %12 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 255 store i8 0, ptr %12, align 1 %13 = load i32, ptr %4, align 4 %14 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0 %15 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0 %16 = call i32 @strlen(ptr noundef %15) %17 = call i32 @send_all(i32 noundef %13, ptr noundef %14, i32 noundef %16) ret i32 %17 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #2 declare i32 @send_all(i32 noundef, ptr noundef, i32 noundef) #2 declare i32 @strlen(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmpjlnyz8hu.c" target datalayout = "e-m:e-p270: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 [49 x i8] c"GET %s HTTP/1.0\0D\0AHost: %s\0D\0AConnection: close\0D\0A\0D\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @make_request(i32 noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca [256 x i8], align 16 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 call void @llvm.memset.p0.i64(ptr align 16 %7, i8 0, i64 256, i1 false) %8 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0 %9 = load ptr, ptr %6, align 8 %10 = load ptr, ptr %5, align 8 %11 = call i32 @snprintf(ptr noundef %8, i32 noundef 256, ptr noundef @.str, ptr noundef %9, ptr noundef %10) %12 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 255 store i8 0, ptr %12, align 1 %13 = load i32, ptr %4, align 4 %14 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0 %15 = getelementptr inbounds [256 x i8], ptr %7, i64 0, i64 0 %16 = call i32 @strlen(ptr noundef %15) %17 = call i32 @send_all(i32 noundef %13, ptr noundef %14, i32 noundef %16) ret i32 %17 } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write) declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1 declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) #2 declare i32 @send_all(i32 noundef, ptr noundef, i32 noundef) #2 declare i32 @strlen(ptr noundef) #2 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) } attributes #2 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmpcyoqqrnd.c' source_filename = "/tmp/tmpcyoqqrnd.c" target datalayout = "e-m:e-p270: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 @iswblank(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @isblank(i32 noundef %3) #2 ret i32 %4 } ; Function Attrs: nounwind willreturn memory(read) declare i32 @isblank(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 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind willreturn memory(read) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcyoqqrnd.c" target datalayout = "e-m:e-p270: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 @iswblank(i32 noundef %0) #0 { %2 = alloca i32, align 4 store i32 %0, ptr %2, align 4 %3 = load i32, ptr %2, align 4 %4 = call i32 @isblank(i32 noundef %3) #2 ret i32 %4 } ; Function Attrs: nounwind willreturn memory(read) declare i32 @isblank(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 = { nounwind willreturn memory(read) "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #2 = { nounwind willreturn memory(read) } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpbv_e0_2s.c' source_filename = "/tmp/tmpbv_e0_2s.c" target datalayout = "e-m:e-p270: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 @convert(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = 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 %7 = load ptr, ptr %3, align 8 %8 = icmp ne ptr %7, null br i1 %8, label %9, label %121 9: ; preds = %2 %10 = load i32, ptr %4, align 4 %11 = icmp sgt i32 %10, 1 br i1 %11, label %12, label %121 12: ; preds = %9 store i32 0, ptr %6, align 4 br label %13 13: ; preds = %117, %12 %14 = load ptr, ptr %3, align 8 %15 = load i32, ptr %6, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds i8, ptr %14, i64 %16 %18 = load i8, ptr %17, align 1 %19 = sext i8 %18 to i32 %20 = icmp ne i32 %19, 0 br i1 %20, label %21, label %120 21: ; preds = %13 %22 = load ptr, ptr %3, align 8 %23 = load i32, ptr %6, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds i8, ptr %22, i64 %24 %26 = load i8, ptr %25, align 1 %27 = sext i8 %26 to i32 %28 = icmp sge i32 %27, 48 br i1 %28, label %29, label %49 29: ; preds = %21 %30 = load ptr, ptr %3, align 8 %31 = load i32, ptr %6, 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 sle i32 %35, 57 br i1 %36, label %37, label %49 37: ; preds = %29 %38 = load i32, ptr %4, align 4 %39 = load i32, ptr %5, align 4 %40 = mul nsw i32 %38, %39 %41 = load ptr, ptr %3, align 8 %42 = load i32, ptr %6, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds i8, ptr %41, i64 %43 %45 = load i8, ptr %44, align 1 %46 = sext i8 %45 to i32 %47 = sub nsw i32 %46, 48 %48 = add nsw i32 %40, %47 store i32 %48, ptr %5, align 4 br label %116 49: ; preds = %29, %21 %50 = load i32, ptr %4, align 4 %51 = icmp sgt i32 %50, 10 br i1 %51, label %52, label %81 52: ; preds = %49 %53 = load ptr, ptr %3, align 8 %54 = load i32, ptr %6, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds i8, ptr %53, i64 %55 %57 = load i8, ptr %56, align 1 %58 = sext i8 %57 to i32 %59 = icmp sge i32 %58, 65 br i1 %59, label %60, label %81 60: ; preds = %52 %61 = load ptr, ptr %3, align 8 %62 = load i32, ptr %6, align 4 %63 = sext i32 %62 to i64 %64 = getelementptr inbounds i8, ptr %61, i64 %63 %65 = load i8, ptr %64, align 1 %66 = sext i8 %65 to i32 %67 = icmp sle i32 %66, 70 br i1 %67, label %68, label %81 68: ; preds = %60 %69 = load i32, ptr %4, align 4 %70 = load i32, ptr %5, align 4 %71 = mul nsw i32 %69, %70 %72 = load ptr, ptr %3, align 8 %73 = load i32, ptr %6, align 4 %74 = sext i32 %73 to i64 %75 = getelementptr inbounds i8, ptr %72, i64 %74 %76 = load i8, ptr %75, align 1 %77 = sext i8 %76 to i32 %78 = sub nsw i32 %77, 65 %79 = add nsw i32 %78, 10 %80 = add nsw i32 %71, %79 store i32 %80, ptr %5, align 4 br label %115 81: ; preds = %60, %52, %49 %82 = load i32, ptr %4, align 4 %83 = icmp sgt i32 %82, 10 br i1 %83, label %84, label %113 84: ; preds = %81 %85 = load ptr, ptr %3, align 8 %86 = load i32, ptr %6, align 4 %87 = sext i32 %86 to i64 %88 = getelementptr inbounds i8, ptr %85, i64 %87 %89 = load i8, ptr %88, align 1 %90 = sext i8 %89 to i32 %91 = icmp sge i32 %90, 97 br i1 %91, label %92, label %113 92: ; preds = %84 %93 = load ptr, ptr %3, align 8 %94 = load i32, ptr %6, align 4 %95 = sext i32 %94 to i64 %96 = getelementptr inbounds i8, ptr %93, i64 %95 %97 = load i8, ptr %96, align 1 %98 = sext i8 %97 to i32 %99 = icmp sle i32 %98, 102 br i1 %99, label %100, label %113 100: ; preds = %92 %101 = load i32, ptr %4, align 4 %102 = load i32, ptr %5, align 4 %103 = mul nsw i32 %101, %102 %104 = load ptr, ptr %3, align 8 %105 = load i32, ptr %6, align 4 %106 = sext i32 %105 to i64 %107 = getelementptr inbounds i8, ptr %104, i64 %106 %108 = load i8, ptr %107, align 1 %109 = sext i8 %108 to i32 %110 = sub nsw i32 %109, 97 %111 = add nsw i32 %110, 10 %112 = add nsw i32 %103, %111 store i32 %112, ptr %5, align 4 br label %114 113: ; preds = %92, %84, %81 br label %120 114: ; preds = %100 br label %115 115: ; preds = %114, %68 br label %116 116: ; preds = %115, %37 br label %117 117: ; preds = %116 %118 = load i32, ptr %6, align 4 %119 = add nsw i32 %118, 1 store i32 %119, ptr %6, align 4 br label %13, !llvm.loop !6 120: ; preds = %113, %13 br label %121 121: ; preds = %120, %9, %2 %122 = load i32, ptr %5, align 4 ret i32 %122 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmpbv_e0_2s.c" target datalayout = "e-m:e-p270: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 @convert(ptr noundef %0, i32 noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca i32, align 4 %5 = alloca i32, align 4 %6 = 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 %7 = load ptr, ptr %3, align 8 %8 = icmp ne ptr %7, null br i1 %8, label %9, label %127 9: ; preds = %2 %10 = load i32, ptr %4, align 4 %11 = icmp sgt i32 %10, 1 br i1 %11, label %12, label %127 12: ; preds = %9 store i32 0, ptr %6, align 4 %13 = load ptr, ptr %3, align 8 %14 = load i32, ptr %6, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds i8, ptr %13, i64 %15 %17 = load i8, ptr %16, align 1 %18 = sext i8 %17 to i32 %19 = icmp ne i32 %18, 0 br i1 %19, label %.lr.ph, label %.loopexit .lr.ph: ; preds = %12 br label %20 20: ; preds = %.lr.ph, %116 %21 = load ptr, ptr %3, align 8 %22 = load i32, ptr %6, align 4 %23 = sext i32 %22 to i64 %24 = getelementptr inbounds i8, ptr %21, i64 %23 %25 = load i8, ptr %24, align 1 %26 = sext i8 %25 to i32 %27 = icmp sge i32 %26, 48 br i1 %27, label %28, label %48 28: ; preds = %20 %29 = load ptr, ptr %3, align 8 %30 = load i32, ptr %6, align 4 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds i8, ptr %29, i64 %31 %33 = load i8, ptr %32, align 1 %34 = sext i8 %33 to i32 %35 = icmp sle i32 %34, 57 br i1 %35, label %36, label %48 36: ; preds = %28 %37 = load i32, ptr %4, align 4 %38 = load i32, ptr %5, align 4 %39 = mul nsw i32 %37, %38 %40 = load ptr, ptr %3, align 8 %41 = load i32, ptr %6, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds i8, ptr %40, i64 %42 %44 = load i8, ptr %43, align 1 %45 = sext i8 %44 to i32 %46 = sub nsw i32 %45, 48 %47 = add nsw i32 %39, %46 store i32 %47, ptr %5, align 4 br label %115 48: ; preds = %28, %20 %49 = load i32, ptr %4, align 4 %50 = icmp sgt i32 %49, 10 br i1 %50, label %51, label %80 51: ; preds = %48 %52 = load ptr, ptr %3, align 8 %53 = load i32, ptr %6, align 4 %54 = sext i32 %53 to i64 %55 = getelementptr inbounds i8, ptr %52, i64 %54 %56 = load i8, ptr %55, align 1 %57 = sext i8 %56 to i32 %58 = icmp sge i32 %57, 65 br i1 %58, label %59, label %80 59: ; preds = %51 %60 = load ptr, ptr %3, align 8 %61 = load i32, ptr %6, align 4 %62 = sext i32 %61 to i64 %63 = getelementptr inbounds i8, ptr %60, i64 %62 %64 = load i8, ptr %63, align 1 %65 = sext i8 %64 to i32 %66 = icmp sle i32 %65, 70 br i1 %66, label %67, label %80 67: ; preds = %59 %68 = load i32, ptr %4, align 4 %69 = load i32, ptr %5, align 4 %70 = mul nsw i32 %68, %69 %71 = load ptr, ptr %3, align 8 %72 = load i32, ptr %6, 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 = sub nsw i32 %76, 65 %78 = add nsw i32 %77, 10 %79 = add nsw i32 %70, %78 store i32 %79, ptr %5, align 4 br label %114 80: ; preds = %59, %51, %48 %81 = load i32, ptr %4, align 4 %82 = icmp sgt i32 %81, 10 br i1 %82, label %83, label %112 83: ; preds = %80 %84 = load ptr, ptr %3, align 8 %85 = load i32, ptr %6, align 4 %86 = sext i32 %85 to i64 %87 = getelementptr inbounds i8, ptr %84, i64 %86 %88 = load i8, ptr %87, align 1 %89 = sext i8 %88 to i32 %90 = icmp sge i32 %89, 97 br i1 %90, label %91, label %112 91: ; preds = %83 %92 = load ptr, ptr %3, align 8 %93 = load i32, ptr %6, align 4 %94 = sext i32 %93 to i64 %95 = getelementptr inbounds i8, ptr %92, i64 %94 %96 = load i8, ptr %95, align 1 %97 = sext i8 %96 to i32 %98 = icmp sle i32 %97, 102 br i1 %98, label %99, label %112 99: ; preds = %91 %100 = load i32, ptr %4, align 4 %101 = load i32, ptr %5, align 4 %102 = mul nsw i32 %100, %101 %103 = load ptr, ptr %3, align 8 %104 = load i32, ptr %6, align 4 %105 = sext i32 %104 to i64 %106 = getelementptr inbounds i8, ptr %103, i64 %105 %107 = load i8, ptr %106, align 1 %108 = sext i8 %107 to i32 %109 = sub nsw i32 %108, 97 %110 = add nsw i32 %109, 10 %111 = add nsw i32 %102, %110 store i32 %111, ptr %5, align 4 br label %113 112: ; preds = %91, %83, %80 br label %126 113: ; preds = %99 br label %114 114: ; preds = %113, %67 br label %115 115: ; preds = %114, %36 br label %116 116: ; preds = %115 %117 = load i32, ptr %6, align 4 %118 = add nsw i32 %117, 1 store i32 %118, ptr %6, align 4 %119 = load ptr, ptr %3, align 8 %120 = load i32, ptr %6, align 4 %121 = sext i32 %120 to i64 %122 = getelementptr inbounds i8, ptr %119, i64 %121 %123 = load i8, ptr %122, align 1 %124 = sext i8 %123 to i32 %125 = icmp ne i32 %124, 0 br i1 %125, label %20, label %..loopexit_crit_edge, !llvm.loop !6 ..loopexit_crit_edge: ; preds = %116 br label %.loopexit .loopexit: ; preds = %..loopexit_crit_edge, %12 br label %126 126: ; preds = %.loopexit, %112 br label %127 127: ; preds = %126, %9, %2 %128 = load i32, ptr %5, align 4 ret i32 %128 } attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 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/tmps0fgt3zn.c' source_filename = "/tmp/tmps0fgt3zn.c" target datalayout = "e-m:e-p270: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.timeval = type { i32, i32 } @.str = private unnamed_addr constant [25 x i8] c"[%d]Running time: %d us\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 %struct.timeval, align 4 %7 = alloca %struct.timeval, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = 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 %11 = call i64 @time(ptr noundef null) %12 = trunc i64 %11 to i32 %13 = call i32 @srand(i32 noundef %12) store i32 0, ptr %8, align 4 br label %14 14: ; preds = %45, %2 %15 = load i32, ptr %8, align 4 %16 = icmp slt i32 %15, 10 br i1 %16, label %17, label %48 17: ; preds = %14 %18 = call i32 @gettimeofday(ptr noundef %6, ptr noundef null) store i32 0, ptr %9, align 4 br label %19 19: ; preds = %26, %17 %20 = load i32, ptr %9, align 4 %21 = icmp slt i32 %20, 9999999 br i1 %21, label %22, label %29 22: ; preds = %19 %23 = call i32 (...) @rand() store i32 %23, ptr %10, align 4 %24 = load i32, ptr %10, align 4 %25 = call i32 @is_prime_number(i32 noundef %24) br label %26 26: ; preds = %22 %27 = load i32, ptr %9, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %9, align 4 br label %19, !llvm.loop !6 29: ; preds = %19 %30 = call i32 @gettimeofday(ptr noundef %7, ptr noundef null) %31 = load i32, ptr %8, align 4 %32 = getelementptr inbounds %struct.timeval, ptr %7, i32 0, i32 0 %33 = load i32, ptr %32, align 4 %34 = getelementptr inbounds %struct.timeval, ptr %6, i32 0, i32 0 %35 = load i32, ptr %34, align 4 %36 = sub nsw i32 %33, %35 %37 = mul nsw i32 1000000, %36 %38 = getelementptr inbounds %struct.timeval, ptr %7, i32 0, i32 1 %39 = load i32, ptr %38, align 4 %40 = add nsw i32 %37, %39 %41 = getelementptr inbounds %struct.timeval, ptr %6, i32 0, i32 1 %42 = load i32, ptr %41, align 4 %43 = sub nsw i32 %40, %42 %44 = call i32 @printf(ptr noundef @.str, i32 noundef %31, i32 noundef %43) br label %45 45: ; preds = %29 %46 = load i32, ptr %8, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %8, align 4 br label %14, !llvm.loop !8 48: ; preds = %14 ret i32 0 } declare i32 @srand(i32 noundef) #1 declare i64 @time(ptr noundef) #1 declare i32 @gettimeofday(ptr noundef, ptr noundef) #1 declare i32 @rand(...) #1 declare i32 @is_prime_number(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmps0fgt3zn.c" target datalayout = "e-m:e-p270: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.timeval = type { i32, i32 } @.str = private unnamed_addr constant [25 x i8] c"[%d]Running time: %d us\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 %struct.timeval, align 4 %7 = alloca %struct.timeval, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = 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 %11 = call i64 @time(ptr noundef null) %12 = trunc i64 %11 to i32 %13 = call i32 @srand(i32 noundef %12) store i32 0, ptr %8, align 4 %14 = load i32, ptr %8, align 4 %15 = icmp slt i32 %14, 10 br i1 %15, label %.lr.ph2, label %50 .lr.ph2: ; preds = %2 br label %16 16: ; preds = %.lr.ph2, %45 %17 = call i32 @gettimeofday(ptr noundef %6, ptr noundef null) store i32 0, ptr %9, align 4 %18 = load i32, ptr %9, align 4 %19 = icmp slt i32 %18, 9999999 br i1 %19, label %.lr.ph, label %29 .lr.ph: ; preds = %16 br label %20 20: ; preds = %.lr.ph, %24 %21 = call i32 (...) @rand() store i32 %21, ptr %10, align 4 %22 = load i32, ptr %10, align 4 %23 = call i32 @is_prime_number(i32 noundef %22) br label %24 24: ; preds = %20 %25 = load i32, ptr %9, align 4 %26 = add nsw i32 %25, 1 store i32 %26, ptr %9, align 4 %27 = load i32, ptr %9, align 4 %28 = icmp slt i32 %27, 9999999 br i1 %28, label %20, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %24 br label %29 29: ; preds = %._crit_edge, %16 %30 = call i32 @gettimeofday(ptr noundef %7, ptr noundef null) %31 = load i32, ptr %8, align 4 %32 = getelementptr inbounds %struct.timeval, ptr %7, i32 0, i32 0 %33 = load i32, ptr %32, align 4 %34 = getelementptr inbounds %struct.timeval, ptr %6, i32 0, i32 0 %35 = load i32, ptr %34, align 4 %36 = sub nsw i32 %33, %35 %37 = mul nsw i32 1000000, %36 %38 = getelementptr inbounds %struct.timeval, ptr %7, i32 0, i32 1 %39 = load i32, ptr %38, align 4 %40 = add nsw i32 %37, %39 %41 = getelementptr inbounds %struct.timeval, ptr %6, i32 0, i32 1 %42 = load i32, ptr %41, align 4 %43 = sub nsw i32 %40, %42 %44 = call i32 @printf(ptr noundef @.str, i32 noundef %31, i32 noundef %43) br label %45 45: ; preds = %29 %46 = load i32, ptr %8, align 4 %47 = add nsw i32 %46, 1 store i32 %47, ptr %8, align 4 %48 = load i32, ptr %8, align 4 %49 = icmp slt i32 %48, 10 br i1 %49, label %16, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %45 br label %50 50: ; preds = %._crit_edge3, %2 ret i32 0 } declare i32 @srand(i32 noundef) #1 declare i64 @time(ptr noundef) #1 declare i32 @gettimeofday(ptr noundef, ptr noundef) #1 declare i32 @rand(...) #1 declare i32 @is_prime_number(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7}
; ModuleID = '/tmp/tmpvpi4x_v3.c' source_filename = "/tmp/tmpvpi4x_v3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_SUCCESS = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [2 x i8] c"r\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [7 x i8] c"fclose\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 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 @EXIT_SUCCESS, align 4 store i32 %8, ptr %6, align 4 br label %9 9: ; preds = %33, %20, %2 %10 = load ptr, ptr %5, align 8 %11 = getelementptr inbounds ptr, ptr %10, i32 1 store ptr %11, ptr %5, align 8 %12 = load ptr, ptr %11, align 8 %13 = icmp ne ptr %12, null br i1 %13, label %14, label %34 14: ; preds = %9 %15 = load ptr, ptr %5, align 8 %16 = load ptr, ptr %15, align 8 %17 = call ptr @fopen(ptr noundef %16, ptr noundef @.str) store ptr %17, ptr %7, align 8 %18 = load ptr, ptr %7, align 8 %19 = icmp eq ptr %18, null br i1 %19, label %20, label %25 20: ; preds = %14 %21 = load ptr, ptr %5, align 8 %22 = load ptr, ptr %21, align 8 %23 = call i32 @perror(ptr noundef %22) %24 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %24, ptr %6, align 4 br label %9, !llvm.loop !6 25: ; preds = %14 %26 = load ptr, ptr %7, align 8 %27 = call i64 @fclose(ptr noundef %26) %28 = icmp ne i64 %27, 0 br i1 %28, label %29, label %33 29: ; preds = %25 %30 = call i32 @perror(ptr noundef @.str.1) %31 = load i32, ptr @EXIT_FAILURE, align 4 %32 = call i32 @exit(i32 noundef %31) #3 unreachable 33: ; preds = %25 br label %9, !llvm.loop !6 34: ; preds = %9 %35 = load i32, ptr %6, align 4 ret i32 %35 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i64 @fclose(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpvpi4x_v3.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_SUCCESS = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [2 x i8] c"r\00", align 1 @EXIT_FAILURE = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [7 x i8] c"fclose\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca ptr, align 8 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 @EXIT_SUCCESS, align 4 store i32 %8, ptr %6, align 4 %9 = load ptr, ptr %5, align 8 %10 = getelementptr inbounds ptr, ptr %9, i32 1 store ptr %10, ptr %5, align 8 %11 = load ptr, ptr %10, align 8 %12 = icmp ne ptr %11, null br i1 %12, label %.lr.ph, label %37 .lr.ph: ; preds = %2 br label %13 13: ; preds = %.lr.ph, %.backedge %14 = load ptr, ptr %5, align 8 %15 = load ptr, ptr %14, align 8 %16 = call ptr @fopen(ptr noundef %15, ptr noundef @.str) store ptr %16, ptr %7, align 8 %17 = load ptr, ptr %7, align 8 %18 = icmp eq ptr %17, null br i1 %18, label %19, label %28 19: ; preds = %13 %20 = load ptr, ptr %5, align 8 %21 = load ptr, ptr %20, align 8 %22 = call i32 @perror(ptr noundef %21) %23 = load i32, ptr @EXIT_FAILURE, align 4 store i32 %23, ptr %6, align 4 br label %.backedge .backedge: ; preds = %19, %36 %24 = load ptr, ptr %5, align 8 %25 = getelementptr inbounds ptr, ptr %24, i32 1 store ptr %25, ptr %5, align 8 %26 = load ptr, ptr %25, align 8 %27 = icmp ne ptr %26, null br i1 %27, label %13, label %._crit_edge, !llvm.loop !6 28: ; preds = %13 %29 = load ptr, ptr %7, align 8 %30 = call i64 @fclose(ptr noundef %29) %31 = icmp ne i64 %30, 0 br i1 %31, label %32, label %36 32: ; preds = %28 %33 = call i32 @perror(ptr noundef @.str.1) %34 = load i32, ptr @EXIT_FAILURE, align 4 %35 = call i32 @exit(i32 noundef %34) #3 unreachable 36: ; preds = %28 br label %.backedge ._crit_edge: ; preds = %.backedge br label %37 37: ; preds = %._crit_edge, %2 %38 = load i32, ptr %6, align 4 ret i32 %38 } declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i64 @fclose(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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpohcw6xsf.c' source_filename = "/tmp/tmpohcw6xsf.c" target datalayout = "e-m:e-p270: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 [31 x i8] c"\0AERROR: Threads must be >= 1\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @thread_check(i32 noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = icmp sle i32 %4, 0 br i1 %5, label %6, label %9 6: ; preds = %1 %7 = call i32 @printf(ptr noundef @.str) %8 = call i32 @exit(i32 noundef -1) #3 unreachable 9: ; preds = %1 %10 = load ptr, ptr %2, align 8 ret ptr %10 } 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/tmpohcw6xsf.c" target datalayout = "e-m:e-p270: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 [31 x i8] c"\0AERROR: Threads must be >= 1\0A\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @thread_check(i32 noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca i32, align 4 store i32 %0, ptr %3, align 4 %4 = load i32, ptr %3, align 4 %5 = icmp sle i32 %4, 0 br i1 %5, label %6, label %9 6: ; preds = %1 %7 = call i32 @printf(ptr noundef @.str) %8 = call i32 @exit(i32 noundef -1) #3 unreachable 9: ; preds = %1 %10 = load ptr, ptr %2, align 8 ret ptr %10 } 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/tmp7mejzk3v.c' source_filename = "/tmp/tmp7mejzk3v.c" target datalayout = "e-m:e-p270: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/tmp7mejzk3v.c" target datalayout = "e-m:e-p270: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/tmpv_15aau4.c' source_filename = "/tmp/tmpv_15aau4.c" target datalayout = "e-m:e-p270: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 [13 x i8] c"b1 %p b2 %p\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %5 = call ptr @malloc(i32 noundef 1) store ptr %5, ptr %2, align 8 %6 = call ptr @malloc(i32 noundef 128) store ptr %6, ptr %3, align 8 %7 = call ptr @malloc(i32 noundef 128) store ptr %7, ptr %4, align 8 %8 = load i32, ptr @stderr, align 4 %9 = load ptr, ptr %3, align 8 %10 = load ptr, ptr %4, align 8 %11 = call i32 @fprintf(i32 noundef %8, ptr noundef @.str, ptr noundef %9, ptr noundef %10) %12 = load ptr, ptr %3, align 8 %13 = getelementptr inbounds i8, ptr %12, i64 197 store i8 97, ptr %13, align 1 ret i32 0 } declare ptr @malloc(i32 noundef) #1 declare i32 @fprintf(i32 noundef, 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/tmpv_15aau4.c" target datalayout = "e-m:e-p270: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 [13 x i8] c"b1 %p b2 %p\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 store i32 0, ptr %1, align 4 %5 = call ptr @malloc(i32 noundef 1) store ptr %5, ptr %2, align 8 %6 = call ptr @malloc(i32 noundef 128) store ptr %6, ptr %3, align 8 %7 = call ptr @malloc(i32 noundef 128) store ptr %7, ptr %4, align 8 %8 = load i32, ptr @stderr, align 4 %9 = load ptr, ptr %3, align 8 %10 = load ptr, ptr %4, align 8 %11 = call i32 @fprintf(i32 noundef %8, ptr noundef @.str, ptr noundef %9, ptr noundef %10) %12 = load ptr, ptr %3, align 8 %13 = getelementptr inbounds i8, ptr %12, i64 197 store i8 97, ptr %13, align 1 ret i32 0 } declare ptr @malloc(i32 noundef) #1 declare i32 @fprintf(i32 noundef, 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/tmpbecbjr92.c' source_filename = "/tmp/tmpbecbjr92.c" target datalayout = "e-m:e-p270: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/tmpbecbjr92.c" target datalayout = "e-m:e-p270: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/tmpidj1ten0.c' source_filename = "/tmp/tmpidj1ten0.c" target datalayout = "e-m:e-p270: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 @getReplyData_Protocol() #0 { %1 = call ptr (...) @protocol_data() ret ptr %1 } declare ptr @protocol_data(...) #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/tmpidj1ten0.c" target datalayout = "e-m:e-p270: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 @getReplyData_Protocol() #0 { %1 = call ptr (...) @protocol_data() ret ptr %1 } declare ptr @protocol_data(...) #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/tmpog2z8g37.c' source_filename = "/tmp/tmpog2z8g37.c" target datalayout = "e-m:e-p270: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 @STDIN_FILENO = dso_local global i32 0, align 4 @STDOUT_FILENO = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 @stdin = 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/tmpog2z8g37.c" target datalayout = "e-m:e-p270: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 @STDIN_FILENO = dso_local global i32 0, align 4 @STDOUT_FILENO = dso_local global i32 0, align 4 @errno = dso_local global i32 0, align 4 @stdin = 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/tmpv9odgu8h.c' source_filename = "/tmp/tmpv9odgu8h.c" target datalayout = "e-m:e-p270: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/tmpv9odgu8h.c" target datalayout = "e-m:e-p270: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/tmp9zbriphn.c' source_filename = "/tmp/tmp9zbriphn.c" target datalayout = "e-m:e-p270: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 [102 x i8] c"RND Invoke Response: ConnectionManager/GetCurrentConnectionInfo[ErrorCode:%d](%d,%d,%s,%s,%d,%s,%s)\0D\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @RNDResponseSink_ConnectionManager_GetCurrentConnectionInfo(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5, ptr noundef %6, i32 noundef %7, ptr noundef %8, ptr noundef %9) #0 { %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca ptr, align 8 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca ptr, align 8 %17 = alloca ptr, align 8 %18 = alloca i32, align 4 %19 = alloca ptr, align 8 %20 = alloca ptr, align 8 store ptr %0, ptr %11, align 8 store i32 %1, ptr %12, align 4 store ptr %2, ptr %13, align 8 store i32 %3, ptr %14, align 4 store i32 %4, ptr %15, align 4 store ptr %5, ptr %16, align 8 store ptr %6, ptr %17, align 8 store i32 %7, ptr %18, align 4 store ptr %8, ptr %19, align 8 store ptr %9, ptr %20, align 8 %21 = load i32, ptr %12, align 4 %22 = load i32, ptr %14, align 4 %23 = load i32, ptr %15, align 4 %24 = load ptr, ptr %16, align 8 %25 = load ptr, ptr %17, align 8 %26 = load i32, ptr %18, align 4 %27 = load ptr, ptr %19, align 8 %28 = load ptr, ptr %20, align 8 %29 = call i32 @printf(ptr noundef @.str, i32 noundef %21, i32 noundef %22, i32 noundef %23, ptr noundef %24, ptr noundef %25, i32 noundef %26, ptr noundef %27, ptr noundef %28) ret void } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp9zbriphn.c" target datalayout = "e-m:e-p270: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 [102 x i8] c"RND Invoke Response: ConnectionManager/GetCurrentConnectionInfo[ErrorCode:%d](%d,%d,%s,%s,%d,%s,%s)\0D\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @RNDResponseSink_ConnectionManager_GetCurrentConnectionInfo(ptr noundef %0, i32 noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef %5, ptr noundef %6, i32 noundef %7, ptr noundef %8, ptr noundef %9) #0 { %11 = alloca ptr, align 8 %12 = alloca i32, align 4 %13 = alloca ptr, align 8 %14 = alloca i32, align 4 %15 = alloca i32, align 4 %16 = alloca ptr, align 8 %17 = alloca ptr, align 8 %18 = alloca i32, align 4 %19 = alloca ptr, align 8 %20 = alloca ptr, align 8 store ptr %0, ptr %11, align 8 store i32 %1, ptr %12, align 4 store ptr %2, ptr %13, align 8 store i32 %3, ptr %14, align 4 store i32 %4, ptr %15, align 4 store ptr %5, ptr %16, align 8 store ptr %6, ptr %17, align 8 store i32 %7, ptr %18, align 4 store ptr %8, ptr %19, align 8 store ptr %9, ptr %20, align 8 %21 = load i32, ptr %12, align 4 %22 = load i32, ptr %14, align 4 %23 = load i32, ptr %15, align 4 %24 = load ptr, ptr %16, align 8 %25 = load ptr, ptr %17, align 8 %26 = load i32, ptr %18, align 4 %27 = load ptr, ptr %19, align 8 %28 = load ptr, ptr %20, align 8 %29 = call i32 @printf(ptr noundef @.str, i32 noundef %21, i32 noundef %22, i32 noundef %23, ptr noundef %24, ptr noundef %25, i32 noundef %26, ptr noundef %27, ptr noundef %28) ret void } declare i32 @printf(ptr noundef, i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"}
; ModuleID = '/tmp/tmpntvf2js0.c' source_filename = "/tmp/tmpntvf2js0.c" target datalayout = "e-m:e-p270: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.tm = type { i64, i64, i64 } @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 @tm_diffdays(ptr noundef byval(%struct.tm) align 8 %0, ptr noundef byval(%struct.tm) align 8 %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca %struct.tm, align 8 %8 = alloca i32, align 4 store ptr %2, ptr %5, align 8 %9 = call i64 @tm_getrepresentation(ptr noundef byval(%struct.tm) align 8 %0) %10 = call i64 @tm_getrepresentation(ptr noundef byval(%struct.tm) align 8 %1) %11 = icmp ne i64 %9, %10 br i1 %11, label %12, label %14 12: ; preds = %3 %13 = load i32, ptr @EINVAL, align 4 store i32 %13, ptr @errno, align 4 store i32 0, ptr %4, align 4 br label %76 14: ; preds = %3 store i32 1, ptr %6, align 4 %15 = call i32 @tm_diffseconds(ptr noundef byval(%struct.tm) align 8 %0, ptr noundef byval(%struct.tm) align 8 %1) %16 = icmp slt i32 %15, 0 br i1 %16, label %17, label %18 17: ; preds = %14 call void @llvm.memcpy.p0.p0.i64(ptr align 8 %7, ptr align 8 %0, i64 24, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 8 %0, ptr align 8 %1, i64 24, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 8 %1, ptr align 8 %7, i64 24, i1 false) store i32 -1, ptr %6, align 4 br label %18 18: ; preds = %17, %14 %19 = call i32 @tm_diffcalendardays(ptr noundef byval(%struct.tm) align 8 %0, ptr noundef byval(%struct.tm) align 8 %1) store i32 %19, ptr %8, align 4 %20 = getelementptr inbounds %struct.tm, ptr %1, i32 0, i32 0 %21 = load i64, ptr %20, align 8 %22 = getelementptr inbounds %struct.tm, ptr %0, i32 0, i32 0 %23 = load i64, ptr %22, align 8 %24 = icmp slt i64 %21, %23 br i1 %24, label %55, label %25 25: ; preds = %18 %26 = getelementptr inbounds %struct.tm, ptr %1, i32 0, i32 0 %27 = load i64, ptr %26, align 8 %28 = getelementptr inbounds %struct.tm, ptr %0, i32 0, i32 0 %29 = load i64, ptr %28, align 8 %30 = icmp eq i64 %27, %29 br i1 %30, label %31, label %37 31: ; preds = %25 %32 = getelementptr inbounds %struct.tm, ptr %1, i32 0, i32 1 %33 = load i64, ptr %32, align 8 %34 = getelementptr inbounds %struct.tm, ptr %0, i32 0, i32 1 %35 = load i64, ptr %34, align 8 %36 = icmp slt i64 %33, %35 br i1 %36, label %55, label %37 37: ; preds = %31, %25 %38 = getelementptr inbounds %struct.tm, ptr %1, i32 0, i32 0 %39 = load i64, ptr %38, align 8 %40 = getelementptr inbounds %struct.tm, ptr %0, i32 0, i32 0 %41 = load i64, ptr %40, align 8 %42 = icmp eq i64 %39, %41 br i1 %42, label %43, label %62 43: ; preds = %37 %44 = getelementptr inbounds %struct.tm, ptr %1, i32 0, i32 1 %45 = load i64, ptr %44, align 8 %46 = getelementptr inbounds %struct.tm, ptr %0, i32 0, i32 1 %47 = load i64, ptr %46, align 8 %48 = icmp eq i64 %45, %47 br i1 %48, label %49, label %62 49: ; preds = %43 %50 = getelementptr inbounds %struct.tm, ptr %1, i32 0, i32 2 %51 = load i64, ptr %50, align 8 %52 = getelementptr inbounds %struct.tm, ptr %0, i32 0, i32 2 %53 = load i64, ptr %52, align 8 %54 = icmp slt i64 %51, %53 br i1 %54, label %55, label %62 55: ; preds = %49, %31, %18 %56 = load i32, ptr %8, align 4 %57 = icmp sgt i32 %56, 0 br i1 %57, label %58, label %61 58: ; preds = %55 %59 = load i32, ptr %8, align 4 %60 = add nsw i32 %59, -1 store i32 %60, ptr %8, align 4 br label %61 61: ; preds = %58, %55 br label %62 62: ; preds = %61, %49, %43, %37 %63 = load ptr, ptr %5, align 8 %64 = icmp ne ptr %63, null br i1 %64, label %65, label %72 65: ; preds = %62 %66 = load i32, ptr %8, align 4 %67 = call i32 @tm_adddays(ptr noundef %0, i32 noundef %66) %68 = load i32, ptr %6, align 4 %69 = call i32 @tm_diffseconds(ptr noundef byval(%struct.tm) align 8 %0, ptr noundef byval(%struct.tm) align 8 %1) %70 = mul nsw i32 %68, %69 %71 = load ptr, ptr %5, align 8 store i32 %70, ptr %71, align 4 br label %72 72: ; preds = %65, %62 %73 = load i32, ptr %6, align 4 %74 = load i32, ptr %8, align 4 %75 = mul nsw i32 %73, %74 store i32 %75, ptr %4, align 4 br label %76 76: ; preds = %72, %12 %77 = load i32, ptr %4, align 4 ret i32 %77 } declare i64 @tm_getrepresentation(ptr noundef byval(%struct.tm) align 8) #1 declare i32 @tm_diffseconds(ptr noundef byval(%struct.tm) align 8, ptr noundef byval(%struct.tm) align 8) #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 @tm_diffcalendardays(ptr noundef byval(%struct.tm) align 8, ptr noundef byval(%struct.tm) align 8) #1 declare i32 @tm_adddays(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 = { 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpntvf2js0.c" target datalayout = "e-m:e-p270: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.tm = type { i64, i64, i64 } @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 @tm_diffdays(ptr noundef byval(%struct.tm) align 8 %0, ptr noundef byval(%struct.tm) align 8 %1, ptr noundef %2) #0 { %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca i32, align 4 %7 = alloca %struct.tm, align 8 %8 = alloca i32, align 4 store ptr %2, ptr %5, align 8 %9 = call i64 @tm_getrepresentation(ptr noundef byval(%struct.tm) align 8 %0) %10 = call i64 @tm_getrepresentation(ptr noundef byval(%struct.tm) align 8 %1) %11 = icmp ne i64 %9, %10 br i1 %11, label %12, label %14 12: ; preds = %3 %13 = load i32, ptr @EINVAL, align 4 store i32 %13, ptr @errno, align 4 store i32 0, ptr %4, align 4 br label %76 14: ; preds = %3 store i32 1, ptr %6, align 4 %15 = call i32 @tm_diffseconds(ptr noundef byval(%struct.tm) align 8 %0, ptr noundef byval(%struct.tm) align 8 %1) %16 = icmp slt i32 %15, 0 br i1 %16, label %17, label %18 17: ; preds = %14 call void @llvm.memcpy.p0.p0.i64(ptr align 8 %7, ptr align 8 %0, i64 24, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 8 %0, ptr align 8 %1, i64 24, i1 false) call void @llvm.memcpy.p0.p0.i64(ptr align 8 %1, ptr align 8 %7, i64 24, i1 false) store i32 -1, ptr %6, align 4 br label %18 18: ; preds = %17, %14 %19 = call i32 @tm_diffcalendardays(ptr noundef byval(%struct.tm) align 8 %0, ptr noundef byval(%struct.tm) align 8 %1) store i32 %19, ptr %8, align 4 %20 = getelementptr inbounds %struct.tm, ptr %1, i32 0, i32 0 %21 = load i64, ptr %20, align 8 %22 = getelementptr inbounds %struct.tm, ptr %0, i32 0, i32 0 %23 = load i64, ptr %22, align 8 %24 = icmp slt i64 %21, %23 br i1 %24, label %55, label %25 25: ; preds = %18 %26 = getelementptr inbounds %struct.tm, ptr %1, i32 0, i32 0 %27 = load i64, ptr %26, align 8 %28 = getelementptr inbounds %struct.tm, ptr %0, i32 0, i32 0 %29 = load i64, ptr %28, align 8 %30 = icmp eq i64 %27, %29 br i1 %30, label %31, label %37 31: ; preds = %25 %32 = getelementptr inbounds %struct.tm, ptr %1, i32 0, i32 1 %33 = load i64, ptr %32, align 8 %34 = getelementptr inbounds %struct.tm, ptr %0, i32 0, i32 1 %35 = load i64, ptr %34, align 8 %36 = icmp slt i64 %33, %35 br i1 %36, label %55, label %37 37: ; preds = %31, %25 %38 = getelementptr inbounds %struct.tm, ptr %1, i32 0, i32 0 %39 = load i64, ptr %38, align 8 %40 = getelementptr inbounds %struct.tm, ptr %0, i32 0, i32 0 %41 = load i64, ptr %40, align 8 %42 = icmp eq i64 %39, %41 br i1 %42, label %43, label %62 43: ; preds = %37 %44 = getelementptr inbounds %struct.tm, ptr %1, i32 0, i32 1 %45 = load i64, ptr %44, align 8 %46 = getelementptr inbounds %struct.tm, ptr %0, i32 0, i32 1 %47 = load i64, ptr %46, align 8 %48 = icmp eq i64 %45, %47 br i1 %48, label %49, label %62 49: ; preds = %43 %50 = getelementptr inbounds %struct.tm, ptr %1, i32 0, i32 2 %51 = load i64, ptr %50, align 8 %52 = getelementptr inbounds %struct.tm, ptr %0, i32 0, i32 2 %53 = load i64, ptr %52, align 8 %54 = icmp slt i64 %51, %53 br i1 %54, label %55, label %62 55: ; preds = %49, %31, %18 %56 = load i32, ptr %8, align 4 %57 = icmp sgt i32 %56, 0 br i1 %57, label %58, label %61 58: ; preds = %55 %59 = load i32, ptr %8, align 4 %60 = add nsw i32 %59, -1 store i32 %60, ptr %8, align 4 br label %61 61: ; preds = %58, %55 br label %62 62: ; preds = %61, %49, %43, %37 %63 = load ptr, ptr %5, align 8 %64 = icmp ne ptr %63, null br i1 %64, label %65, label %72 65: ; preds = %62 %66 = load i32, ptr %8, align 4 %67 = call i32 @tm_adddays(ptr noundef %0, i32 noundef %66) %68 = load i32, ptr %6, align 4 %69 = call i32 @tm_diffseconds(ptr noundef byval(%struct.tm) align 8 %0, ptr noundef byval(%struct.tm) align 8 %1) %70 = mul nsw i32 %68, %69 %71 = load ptr, ptr %5, align 8 store i32 %70, ptr %71, align 4 br label %72 72: ; preds = %65, %62 %73 = load i32, ptr %6, align 4 %74 = load i32, ptr %8, align 4 %75 = mul nsw i32 %73, %74 store i32 %75, ptr %4, align 4 br label %76 76: ; preds = %72, %12 %77 = load i32, ptr %4, align 4 ret i32 %77 } declare i64 @tm_getrepresentation(ptr noundef byval(%struct.tm) align 8) #1 declare i32 @tm_diffseconds(ptr noundef byval(%struct.tm) align 8, ptr noundef byval(%struct.tm) align 8) #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 @tm_diffcalendardays(ptr noundef byval(%struct.tm) align 8, ptr noundef byval(%struct.tm) align 8) #1 declare i32 @tm_adddays(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 = { 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"}
; ModuleID = '/tmp/tmpuzj0ccqk.c' source_filename = "/tmp/tmpuzj0ccqk.c" target datalayout = "e-m:e-p270: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 @bbm_com_tuner_get_rssi(ptr noundef %0, i16 noundef zeroext %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i16, align 2 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i16 %1, ptr %5, align 2 store ptr %2, ptr %6, align 8 %8 = load ptr, ptr %4, align 8 %9 = load i16, ptr %5, align 2 %10 = load ptr, ptr %6, align 8 %11 = call i32 @tuner_get_rssi(ptr noundef %8, i16 noundef zeroext %9, ptr noundef %10) store i32 %11, ptr %7, align 4 %12 = load i32, ptr %7, align 4 ret i32 %12 } declare i32 @tuner_get_rssi(ptr noundef, i16 noundef zeroext, 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/tmpuzj0ccqk.c" target datalayout = "e-m:e-p270: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 @bbm_com_tuner_get_rssi(ptr noundef %0, i16 noundef zeroext %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca i16, align 2 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store i16 %1, ptr %5, align 2 store ptr %2, ptr %6, align 8 %8 = load ptr, ptr %4, align 8 %9 = load i16, ptr %5, align 2 %10 = load ptr, ptr %6, align 8 %11 = call i32 @tuner_get_rssi(ptr noundef %8, i16 noundef zeroext %9, ptr noundef %10) store i32 %11, ptr %7, align 4 %12 = load i32, ptr %7, align 4 ret i32 %12 } declare i32 @tuner_get_rssi(ptr noundef, i16 noundef zeroext, 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/tmpjizojure.c' source_filename = "/tmp/tmpjizojure.c" target datalayout = "e-m:e-p270: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.print_regs.flags = private unnamed_addr constant [9 x i8] c" \00", align 1 @.str = private unnamed_addr constant [54 x i8] c" X: 0x%04X [X]: 0x%04X Y: 0x%04X [Y]: 0x%04X \00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c"PC: 0x%04X [PC]: 0x%04X\0A\00", align 1 @.str.2 = private unnamed_addr constant [54 x i8] c" U: 0x%04X [U]: 0x%04X S: 0x%04X [S]: 0x%04X \00", align 1 @.str.3 = private unnamed_addr constant [12 x i8] c"DP: 0x%02X\0A\00", align 1 @.str.4 = private unnamed_addr constant [51 x i8] c" A: 0x%02X B: 0x%02X [D]: 0x%04X CC: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_regs() #0 { %1 = alloca [9 x i8], align 1 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %1, ptr align 1 @__const.print_regs.flags, i64 9, i1 false) %2 = call i32 (...) @get_cc() %3 = and i32 %2, 1 %4 = icmp ne i32 %3, 0 br i1 %4, label %5, label %7 5: ; preds = %0 %6 = getelementptr inbounds [9 x i8], ptr %1, i64 0, i64 0 store i8 67, ptr %6, align 1 br label %7 7: ; preds = %5, %0 %8 = call i32 (...) @get_cc() %9 = and i32 %8, 2 %10 = icmp ne i32 %9, 0 br i1 %10, label %11, label %13 11: ; preds = %7 %12 = getelementptr inbounds [9 x i8], ptr %1, i64 0, i64 1 store i8 86, ptr %12, align 1 br label %13 13: ; preds = %11, %7 %14 = call i32 (...) @get_cc() %15 = and i32 %14, 4 %16 = icmp ne i32 %15, 0 br i1 %16, label %17, label %19 17: ; preds = %13 %18 = getelementptr inbounds [9 x i8], ptr %1, i64 0, i64 2 store i8 90, ptr %18, align 1 br label %19 19: ; preds = %17, %13 %20 = call i32 (...) @get_cc() %21 = and i32 %20, 8 %22 = icmp ne i32 %21, 0 br i1 %22, label %23, label %25 23: ; preds = %19 %24 = getelementptr inbounds [9 x i8], ptr %1, i64 0, i64 3 store i8 78, ptr %24, align 1 br label %25 25: ; preds = %23, %19 %26 = call i32 (...) @get_cc() %27 = and i32 %26, 16 %28 = icmp ne i32 %27, 0 br i1 %28, label %29, label %31 29: ; preds = %25 %30 = getelementptr inbounds [9 x i8], ptr %1, i64 0, i64 4 store i8 73, ptr %30, align 1 br label %31 31: ; preds = %29, %25 %32 = call i32 (...) @get_cc() %33 = and i32 %32, 32 %34 = icmp ne i32 %33, 0 br i1 %34, label %35, label %37 35: ; preds = %31 %36 = getelementptr inbounds [9 x i8], ptr %1, i64 0, i64 5 store i8 72, ptr %36, align 1 br label %37 37: ; preds = %35, %31 %38 = call i32 (...) @get_cc() %39 = and i32 %38, 64 %40 = icmp ne i32 %39, 0 br i1 %40, label %41, label %43 41: ; preds = %37 %42 = getelementptr inbounds [9 x i8], ptr %1, i64 0, i64 6 store i8 70, ptr %42, align 1 br label %43 43: ; preds = %41, %37 %44 = call i32 (...) @get_cc() %45 = and i32 %44, 128 %46 = icmp ne i32 %45, 0 br i1 %46, label %47, label %49 47: ; preds = %43 %48 = getelementptr inbounds [9 x i8], ptr %1, i64 0, i64 7 store i8 69, ptr %48, align 1 br label %49 49: ; preds = %47, %43 %50 = call i32 (...) @get_x() %51 = call i32 (...) @get_x() %52 = add nsw i32 %51, 1 %53 = call i32 @copro_mc6809nc_read(i32 noundef %52) %54 = call i32 (...) @get_x() %55 = call i32 @copro_mc6809nc_read(i32 noundef %54) %56 = shl i32 %55, 8 %57 = add nsw i32 %53, %56 %58 = call i32 (...) @get_y() %59 = call i32 (...) @get_y() %60 = add nsw i32 %59, 1 %61 = call i32 @copro_mc6809nc_read(i32 noundef %60) %62 = call i32 (...) @get_y() %63 = call i32 @copro_mc6809nc_read(i32 noundef %62) %64 = shl i32 %63, 8 %65 = add nsw i32 %61, %64 %66 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %50, i32 noundef %57, i32 noundef %58, i32 noundef %65) %67 = call i32 (...) @get_pc() %68 = call i32 (...) @get_pc() %69 = add nsw i32 %68, 1 %70 = call i32 @copro_mc6809nc_read(i32 noundef %69) %71 = call i32 (...) @get_pc() %72 = call i32 @copro_mc6809nc_read(i32 noundef %71) %73 = shl i32 %72, 8 %74 = add nsw i32 %70, %73 %75 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %67, i32 noundef %74) %76 = call i32 (...) @get_u() %77 = call i32 (...) @get_u() %78 = add nsw i32 %77, 1 %79 = call i32 @copro_mc6809nc_read(i32 noundef %78) %80 = call i32 (...) @get_u() %81 = call i32 @copro_mc6809nc_read(i32 noundef %80) %82 = shl i32 %81, 8 %83 = add nsw i32 %79, %82 %84 = call i32 (...) @get_s() %85 = call i32 (...) @get_s() %86 = add nsw i32 %85, 1 %87 = call i32 @copro_mc6809nc_read(i32 noundef %86) %88 = call i32 (...) @get_s() %89 = call i32 @copro_mc6809nc_read(i32 noundef %88) %90 = shl i32 %89, 8 %91 = add nsw i32 %87, %90 %92 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.2, i32 noundef %76, i32 noundef %83, i32 noundef %84, i32 noundef %91) %93 = call i32 (...) @get_dp() %94 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.3, i32 noundef %93) %95 = call i32 (...) @get_a() %96 = call i32 (...) @get_b() %97 = call i32 (...) @get_d() %98 = add nsw i32 %97, 1 %99 = call i32 @copro_mc6809nc_read(i32 noundef %98) %100 = call i32 (...) @get_d() %101 = call i32 @copro_mc6809nc_read(i32 noundef %100) %102 = shl i32 %101, 8 %103 = add nsw i32 %99, %102 %104 = getelementptr inbounds [9 x i8], ptr %1, i64 0, i64 0 %105 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.4, i32 noundef %95, i32 noundef %96, i32 noundef %103, ptr noundef %104) ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @get_cc(...) #2 declare i32 @printf(ptr noundef, i32 noundef, ...) #2 declare i32 @get_x(...) #2 declare i32 @copro_mc6809nc_read(i32 noundef) #2 declare i32 @get_y(...) #2 declare i32 @get_pc(...) #2 declare i32 @get_u(...) #2 declare i32 @get_s(...) #2 declare i32 @get_dp(...) #2 declare i32 @get_a(...) #2 declare i32 @get_b(...) #2 declare i32 @get_d(...) #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/tmpjizojure.c" target datalayout = "e-m:e-p270: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.print_regs.flags = private unnamed_addr constant [9 x i8] c" \00", align 1 @.str = private unnamed_addr constant [54 x i8] c" X: 0x%04X [X]: 0x%04X Y: 0x%04X [Y]: 0x%04X \00", align 1 @.str.1 = private unnamed_addr constant [25 x i8] c"PC: 0x%04X [PC]: 0x%04X\0A\00", align 1 @.str.2 = private unnamed_addr constant [54 x i8] c" U: 0x%04X [U]: 0x%04X S: 0x%04X [S]: 0x%04X \00", align 1 @.str.3 = private unnamed_addr constant [12 x i8] c"DP: 0x%02X\0A\00", align 1 @.str.4 = private unnamed_addr constant [51 x i8] c" A: 0x%02X B: 0x%02X [D]: 0x%04X CC: %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @print_regs() #0 { %1 = alloca [9 x i8], align 1 call void @llvm.memcpy.p0.p0.i64(ptr align 1 %1, ptr align 1 @__const.print_regs.flags, i64 9, i1 false) %2 = call i32 (...) @get_cc() %3 = and i32 %2, 1 %4 = icmp ne i32 %3, 0 br i1 %4, label %5, label %7 5: ; preds = %0 %6 = getelementptr inbounds [9 x i8], ptr %1, i64 0, i64 0 store i8 67, ptr %6, align 1 br label %7 7: ; preds = %5, %0 %8 = call i32 (...) @get_cc() %9 = and i32 %8, 2 %10 = icmp ne i32 %9, 0 br i1 %10, label %11, label %13 11: ; preds = %7 %12 = getelementptr inbounds [9 x i8], ptr %1, i64 0, i64 1 store i8 86, ptr %12, align 1 br label %13 13: ; preds = %11, %7 %14 = call i32 (...) @get_cc() %15 = and i32 %14, 4 %16 = icmp ne i32 %15, 0 br i1 %16, label %17, label %19 17: ; preds = %13 %18 = getelementptr inbounds [9 x i8], ptr %1, i64 0, i64 2 store i8 90, ptr %18, align 1 br label %19 19: ; preds = %17, %13 %20 = call i32 (...) @get_cc() %21 = and i32 %20, 8 %22 = icmp ne i32 %21, 0 br i1 %22, label %23, label %25 23: ; preds = %19 %24 = getelementptr inbounds [9 x i8], ptr %1, i64 0, i64 3 store i8 78, ptr %24, align 1 br label %25 25: ; preds = %23, %19 %26 = call i32 (...) @get_cc() %27 = and i32 %26, 16 %28 = icmp ne i32 %27, 0 br i1 %28, label %29, label %31 29: ; preds = %25 %30 = getelementptr inbounds [9 x i8], ptr %1, i64 0, i64 4 store i8 73, ptr %30, align 1 br label %31 31: ; preds = %29, %25 %32 = call i32 (...) @get_cc() %33 = and i32 %32, 32 %34 = icmp ne i32 %33, 0 br i1 %34, label %35, label %37 35: ; preds = %31 %36 = getelementptr inbounds [9 x i8], ptr %1, i64 0, i64 5 store i8 72, ptr %36, align 1 br label %37 37: ; preds = %35, %31 %38 = call i32 (...) @get_cc() %39 = and i32 %38, 64 %40 = icmp ne i32 %39, 0 br i1 %40, label %41, label %43 41: ; preds = %37 %42 = getelementptr inbounds [9 x i8], ptr %1, i64 0, i64 6 store i8 70, ptr %42, align 1 br label %43 43: ; preds = %41, %37 %44 = call i32 (...) @get_cc() %45 = and i32 %44, 128 %46 = icmp ne i32 %45, 0 br i1 %46, label %47, label %49 47: ; preds = %43 %48 = getelementptr inbounds [9 x i8], ptr %1, i64 0, i64 7 store i8 69, ptr %48, align 1 br label %49 49: ; preds = %47, %43 %50 = call i32 (...) @get_x() %51 = call i32 (...) @get_x() %52 = add nsw i32 %51, 1 %53 = call i32 @copro_mc6809nc_read(i32 noundef %52) %54 = call i32 (...) @get_x() %55 = call i32 @copro_mc6809nc_read(i32 noundef %54) %56 = shl i32 %55, 8 %57 = add nsw i32 %53, %56 %58 = call i32 (...) @get_y() %59 = call i32 (...) @get_y() %60 = add nsw i32 %59, 1 %61 = call i32 @copro_mc6809nc_read(i32 noundef %60) %62 = call i32 (...) @get_y() %63 = call i32 @copro_mc6809nc_read(i32 noundef %62) %64 = shl i32 %63, 8 %65 = add nsw i32 %61, %64 %66 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %50, i32 noundef %57, i32 noundef %58, i32 noundef %65) %67 = call i32 (...) @get_pc() %68 = call i32 (...) @get_pc() %69 = add nsw i32 %68, 1 %70 = call i32 @copro_mc6809nc_read(i32 noundef %69) %71 = call i32 (...) @get_pc() %72 = call i32 @copro_mc6809nc_read(i32 noundef %71) %73 = shl i32 %72, 8 %74 = add nsw i32 %70, %73 %75 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %67, i32 noundef %74) %76 = call i32 (...) @get_u() %77 = call i32 (...) @get_u() %78 = add nsw i32 %77, 1 %79 = call i32 @copro_mc6809nc_read(i32 noundef %78) %80 = call i32 (...) @get_u() %81 = call i32 @copro_mc6809nc_read(i32 noundef %80) %82 = shl i32 %81, 8 %83 = add nsw i32 %79, %82 %84 = call i32 (...) @get_s() %85 = call i32 (...) @get_s() %86 = add nsw i32 %85, 1 %87 = call i32 @copro_mc6809nc_read(i32 noundef %86) %88 = call i32 (...) @get_s() %89 = call i32 @copro_mc6809nc_read(i32 noundef %88) %90 = shl i32 %89, 8 %91 = add nsw i32 %87, %90 %92 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.2, i32 noundef %76, i32 noundef %83, i32 noundef %84, i32 noundef %91) %93 = call i32 (...) @get_dp() %94 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.3, i32 noundef %93) %95 = call i32 (...) @get_a() %96 = call i32 (...) @get_b() %97 = call i32 (...) @get_d() %98 = add nsw i32 %97, 1 %99 = call i32 @copro_mc6809nc_read(i32 noundef %98) %100 = call i32 (...) @get_d() %101 = call i32 @copro_mc6809nc_read(i32 noundef %100) %102 = shl i32 %101, 8 %103 = add nsw i32 %99, %102 %104 = getelementptr inbounds [9 x i8], ptr %1, i64 0, i64 0 %105 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.4, i32 noundef %95, i32 noundef %96, i32 noundef %103, ptr noundef %104) ret void } ; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite) declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1 declare i32 @get_cc(...) #2 declare i32 @printf(ptr noundef, i32 noundef, ...) #2 declare i32 @get_x(...) #2 declare i32 @copro_mc6809nc_read(i32 noundef) #2 declare i32 @get_y(...) #2 declare i32 @get_pc(...) #2 declare i32 @get_u(...) #2 declare i32 @get_s(...) #2 declare i32 @get_dp(...) #2 declare i32 @get_a(...) #2 declare i32 @get_b(...) #2 declare i32 @get_d(...) #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/tmpytx6t75p.c' source_filename = "/tmp/tmpytx6t75p.c" target datalayout = "e-m:e-p270: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 \00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @insertionSort(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 store i32 1, ptr %5, align 4 store i32 0, ptr %6, align 4 br label %9 9: ; preds = %69, %2 %10 = load i32, ptr %5, align 4 %11 = load i32, ptr %3, align 4 %12 = icmp slt i32 %10, %11 br i1 %12, label %13, label %72 13: ; preds = %9 %14 = load i32, ptr %5, align 4 store i32 %14, ptr %7, align 4 %15 = load ptr, ptr %4, align 8 %16 = load i32, ptr %5, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds i32, ptr %15, i64 %17 %19 = load i32, ptr %18, align 4 store i32 %19, ptr %8, align 4 br label %20 20: ; preds = %34, %13 %21 = load i32, ptr %7, align 4 %22 = icmp sgt i32 %21, 0 br i1 %22, label %23, label %32 23: ; preds = %20 %24 = load i32, ptr %8, align 4 %25 = load ptr, ptr %4, align 8 %26 = load i32, ptr %7, align 4 %27 = sub nsw i32 %26, 1 %28 = sext i32 %27 to i64 %29 = getelementptr inbounds i32, ptr %25, i64 %28 %30 = load i32, ptr %29, align 4 %31 = icmp slt i32 %24, %30 br label %32 32: ; preds = %23, %20 %33 = phi i1 [ false, %20 ], [ %31, %23 ] br i1 %33, label %34, label %47 34: ; preds = %32 %35 = load ptr, ptr %4, align 8 %36 = load i32, ptr %7, align 4 %37 = sub nsw i32 %36, 1 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds i32, ptr %35, i64 %38 %40 = load i32, ptr %39, align 4 %41 = load ptr, ptr %4, align 8 %42 = load i32, ptr %7, align 4 %43 = sext i32 %42 to i64 %44 = getelementptr inbounds i32, ptr %41, i64 %43 store i32 %40, ptr %44, align 4 %45 = load i32, ptr %7, align 4 %46 = sub nsw i32 %45, 1 store i32 %46, ptr %7, align 4 br label %20, !llvm.loop !6 47: ; preds = %32 %48 = load i32, ptr %8, align 4 %49 = load ptr, ptr %4, align 8 %50 = load i32, ptr %7, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds i32, ptr %49, i64 %51 store i32 %48, ptr %52, align 4 store i32 0, ptr %6, align 4 br label %53 53: ; preds = %64, %47 %54 = load i32, ptr %6, align 4 %55 = load i32, ptr %3, align 4 %56 = icmp slt i32 %54, %55 br i1 %56, label %57, label %67 57: ; preds = %53 %58 = load ptr, ptr %4, align 8 %59 = load i32, ptr %6, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds i32, ptr %58, i64 %60 %62 = load i32, ptr %61, align 4 %63 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %62) br label %64 64: ; preds = %57 %65 = load i32, ptr %6, align 4 %66 = add nsw i32 %65, 1 store i32 %66, ptr %6, align 4 br label %53, !llvm.loop !8 67: ; preds = %53 %68 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %69 69: ; preds = %67 %70 = load i32, ptr %5, align 4 %71 = add nsw i32 %70, 1 store i32 %71, ptr %5, align 4 br label %9, !llvm.loop !9 72: ; preds = %9 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} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpytx6t75p.c" target datalayout = "e-m:e-p270: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 \00", align 1 @.str.1 = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @insertionSort(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 %7 = alloca i32, align 4 %8 = alloca i32, align 4 store i32 %0, ptr %3, align 4 store ptr %1, ptr %4, align 8 store i32 1, ptr %5, align 4 store i32 0, ptr %6, align 4 %9 = load i32, ptr %5, align 4 %10 = load i32, ptr %3, align 4 %11 = icmp slt i32 %9, %10 br i1 %11, label %.lr.ph2, label %76 .lr.ph2: ; preds = %2 br label %12 12: ; preds = %.lr.ph2, %70 %13 = load i32, ptr %5, align 4 store i32 %13, ptr %7, align 4 %14 = load ptr, ptr %4, align 8 %15 = load i32, ptr %5, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds i32, ptr %14, i64 %16 %18 = load i32, ptr %17, align 4 store i32 %18, ptr %8, align 4 br label %19 19: ; preds = %33, %12 %20 = load i32, ptr %7, align 4 %21 = icmp sgt i32 %20, 0 br i1 %21, label %22, label %31 22: ; preds = %19 %23 = load i32, ptr %8, align 4 %24 = load ptr, ptr %4, align 8 %25 = load i32, ptr %7, align 4 %26 = sub nsw i32 %25, 1 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds i32, ptr %24, i64 %27 %29 = load i32, ptr %28, align 4 %30 = icmp slt i32 %23, %29 br label %31 31: ; preds = %22, %19 %32 = phi i1 [ false, %19 ], [ %30, %22 ] br i1 %32, label %33, label %46 33: ; preds = %31 %34 = load ptr, ptr %4, align 8 %35 = load i32, ptr %7, align 4 %36 = sub nsw i32 %35, 1 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds i32, ptr %34, i64 %37 %39 = load i32, ptr %38, align 4 %40 = load ptr, ptr %4, align 8 %41 = load i32, ptr %7, align 4 %42 = sext i32 %41 to i64 %43 = getelementptr inbounds i32, ptr %40, i64 %42 store i32 %39, ptr %43, align 4 %44 = load i32, ptr %7, align 4 %45 = sub nsw i32 %44, 1 store i32 %45, ptr %7, align 4 br label %19, !llvm.loop !6 46: ; preds = %31 %47 = load i32, ptr %8, align 4 %48 = load ptr, ptr %4, align 8 %49 = load i32, ptr %7, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds i32, ptr %48, i64 %50 store i32 %47, ptr %51, align 4 store i32 0, ptr %6, align 4 %52 = load i32, ptr %6, align 4 %53 = load i32, ptr %3, align 4 %54 = icmp slt i32 %52, %53 br i1 %54, label %.lr.ph, label %68 .lr.ph: ; preds = %46 br label %55 55: ; preds = %.lr.ph, %62 %56 = load ptr, ptr %4, align 8 %57 = load i32, ptr %6, align 4 %58 = sext i32 %57 to i64 %59 = getelementptr inbounds i32, ptr %56, i64 %58 %60 = load i32, ptr %59, align 4 %61 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %60) br label %62 62: ; preds = %55 %63 = load i32, ptr %6, align 4 %64 = add nsw i32 %63, 1 store i32 %64, ptr %6, align 4 %65 = load i32, ptr %6, align 4 %66 = load i32, ptr %3, align 4 %67 = icmp slt i32 %65, %66 br i1 %67, label %55, label %._crit_edge, !llvm.loop !8 ._crit_edge: ; preds = %62 br label %68 68: ; preds = %._crit_edge, %46 %69 = call i32 (ptr, ...) @printf(ptr noundef @.str.1) br label %70 70: ; preds = %68 %71 = load i32, ptr %5, align 4 %72 = add nsw i32 %71, 1 store i32 %72, ptr %5, align 4 %73 = load i32, ptr %5, align 4 %74 = load i32, ptr %3, align 4 %75 = icmp slt i32 %73, %74 br i1 %75, label %12, label %._crit_edge3, !llvm.loop !9 ._crit_edge3: ; preds = %70 br label %76 76: ; preds = %._crit_edge3, %2 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} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmpsvj4g2uv.c' source_filename = "/tmp/tmpsvj4g2uv.c" target datalayout = "e-m:e-p270: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 { i32, i32, i32, i32, i32, i32 } %struct.sockaddr_storage = type { i32 } @.str = private unnamed_addr constant [5 x i8] c"9004\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"l:\00", align 1 @optarg = dso_local global ptr null, align 8 @stderr = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [28 x i8] c"usage: %s [-l listen_port]\0A\00", align 1 @.str.3 = private unnamed_addr constant [10 x i8] c"nc_listen\00", align 1 @AF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @AI_NUMERICSERV = dso_local global i32 0, align 4 @AI_PASSIVE = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [18 x i8] c"getaddrinfo: %s \0A\00", align 1 @.str.5 = private unnamed_addr constant [12 x i8] c"socket: %s\0A\00", align 1 @errno = dso_local global i64 0, align 8 @.str.6 = private unnamed_addr constant [13 x i8] c"bind: %d %s\0A\00", align 1 @.str.7 = private unnamed_addr constant [12 x i8] c"listen: %s\0A\00", align 1 @ECONNABORTED = dso_local global i64 0, align 8 @EINTR = dso_local global i64 0, align 8 @.str.8 = private unnamed_addr constant [12 x i8] c"accept: %s\0A\00", align 1 @.str.9 = private unnamed_addr constant [17 x i8] c"got connection.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca %struct.addrinfo, align 4 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca %struct.sockaddr_storage, align 4 %14 = alloca i32, align 4 %15 = 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 ptr @.str, ptr %6, align 8 br label %16 16: ; preds = %39, %2 %17 = load i32, ptr %4, align 4 %18 = load ptr, ptr %5, align 8 %19 = call i32 @getopt(i32 noundef %17, ptr noundef %18, ptr noundef @.str.1) store i32 %19, ptr %7, align 4 %20 = icmp ne i32 %19, -1 br i1 %20, label %21, label %40 21: ; preds = %16 %22 = load i32, ptr %7, align 4 switch i32 %22, label %25 [ i32 108, label %23 ] 23: ; preds = %21 %24 = load ptr, ptr @optarg, align 8 store ptr %24, ptr %6, align 8 br label %39 25: ; preds = %21 %26 = load i32, ptr @stderr, align 4 %27 = load ptr, ptr %5, align 8 %28 = getelementptr inbounds ptr, ptr %27, i64 0 %29 = load ptr, ptr %28, align 8 %30 = icmp ne ptr %29, null br i1 %30, label %31, label %35 31: ; preds = %25 %32 = load ptr, ptr %5, align 8 %33 = getelementptr inbounds ptr, ptr %32, i64 0 %34 = load ptr, ptr %33, align 8 br label %36 35: ; preds = %25 br label %36 36: ; preds = %35, %31 %37 = phi ptr [ %34, %31 ], [ @.str.3, %35 ] %38 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %26, ptr noundef @.str.2, ptr noundef %37) store i32 -1, ptr %3, align 4 br label %128 39: ; preds = %23 br label %16, !llvm.loop !6 40: ; preds = %16 %41 = call i32 @memset(ptr noundef %8, i32 noundef 0, i32 noundef 24) %42 = load i32, ptr @AF_INET, align 4 %43 = getelementptr inbounds %struct.addrinfo, ptr %8, i32 0, i32 5 store i32 %42, ptr %43, align 4 %44 = load i32, ptr @SOCK_STREAM, align 4 %45 = getelementptr inbounds %struct.addrinfo, ptr %8, i32 0, i32 4 store i32 %44, ptr %45, align 4 %46 = load i32, ptr @AI_NUMERICSERV, align 4 %47 = load i32, ptr @AI_PASSIVE, align 4 %48 = or i32 %46, %47 %49 = getelementptr inbounds %struct.addrinfo, ptr %8, i32 0, i32 0 store i32 %48, ptr %49, align 4 %50 = load ptr, ptr %6, align 8 %51 = call i32 @getaddrinfo(ptr noundef null, ptr noundef %50, ptr noundef %8, ptr noundef %9) store i32 %51, ptr %10, align 4 %52 = load i32, ptr %10, align 4 %53 = icmp ne i32 %52, 0 br i1 %53, label %54, label %59 54: ; preds = %40 %55 = load i32, ptr @stderr, align 4 %56 = load i32, ptr %10, align 4 %57 = call ptr @gai_strerror(i32 noundef %56) %58 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %55, ptr noundef @.str.4, ptr noundef %57) store i32 -1, ptr %3, align 4 br label %128 59: ; preds = %40 %60 = load ptr, ptr %9, align 8 %61 = getelementptr inbounds %struct.addrinfo, ptr %60, i32 0, i32 5 %62 = load i32, ptr %61, align 4 %63 = load ptr, ptr %9, align 8 %64 = getelementptr inbounds %struct.addrinfo, ptr %63, i32 0, i32 4 %65 = load i32, ptr %64, align 4 %66 = load ptr, ptr %9, align 8 %67 = getelementptr inbounds %struct.addrinfo, ptr %66, i32 0, i32 3 %68 = load i32, ptr %67, align 4 %69 = call i32 @socket(i32 noundef %62, i32 noundef %65, i32 noundef %68) store i32 %69, ptr %11, align 4 %70 = load i32, ptr %11, align 4 %71 = icmp slt i32 %70, 0 br i1 %71, label %72, label %77 72: ; preds = %59 %73 = load i32, ptr @stderr, align 4 %74 = load i64, ptr @errno, align 8 %75 = call ptr @strerror(i64 noundef %74) %76 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %73, ptr noundef @.str.5, ptr noundef %75) store i32 -1, ptr %3, align 4 br label %128 77: ; preds = %59 %78 = load i32, ptr %11, align 4 %79 = load ptr, ptr %9, align 8 %80 = getelementptr inbounds %struct.addrinfo, ptr %79, i32 0, i32 2 %81 = load i32, ptr %80, align 4 %82 = load ptr, ptr %9, align 8 %83 = getelementptr inbounds %struct.addrinfo, ptr %82, i32 0, i32 1 %84 = load i32, ptr %83, align 4 %85 = call i32 @bind(i32 noundef %78, i32 noundef %81, i32 noundef %84) store i32 %85, ptr %12, align 4 %86 = load i32, ptr %12, align 4 %87 = icmp slt i32 %86, 0 br i1 %87, label %88, label %94 88: ; preds = %77 %89 = load i32, ptr @stderr, align 4 %90 = load i32, ptr %12, align 4 %91 = load i64, ptr @errno, align 8 %92 = call ptr @strerror(i64 noundef %91) %93 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %89, ptr noundef @.str.6, i32 noundef %90, ptr noundef %92) store i32 -1, ptr %3, align 4 br label %128 94: ; preds = %77 %95 = load i32, ptr %11, align 4 %96 = call i64 @listen(i32 noundef %95, i32 noundef 15) %97 = icmp slt i64 %96, 0 br i1 %97, label %98, label %103 98: ; preds = %94 %99 = load i32, ptr @stderr, align 4 %100 = load i64, ptr @errno, align 8 %101 = call ptr @strerror(i64 noundef %100) %102 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %99, ptr noundef @.str.7, ptr noundef %101) store i32 -1, ptr %3, align 4 br label %128 103: ; preds = %94 br label %104 104: ; preds = %124, %117, %103 store i32 4, ptr %14, align 4 %105 = load i32, ptr %11, align 4 %106 = call i32 @accept(i32 noundef %105, ptr noundef %13, ptr noundef %14) store i32 %106, ptr %15, align 4 %107 = load i32, ptr %15, align 4 %108 = icmp slt i32 %107, 0 br i1 %108, label %109, label %124 109: ; preds = %104 %110 = load i64, ptr @errno, align 8 %111 = load i64, ptr @ECONNABORTED, align 8 %112 = icmp eq i64 %110, %111 br i1 %112, label %117, label %113 113: ; preds = %109 %114 = load i64, ptr @errno, align 8 %115 = load i64, ptr @EINTR, align 8 %116 = icmp eq i64 %114, %115 br i1 %116, label %117, label %118 117: ; preds = %113, %109 store i64 0, ptr @errno, align 8 br label %104 118: ; preds = %113 %119 = load i32, ptr @stderr, align 4 %120 = load i64, ptr @errno, align 8 %121 = call ptr @strerror(i64 noundef %120) %122 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %119, ptr noundef @.str.8, ptr noundef %121) br label %123 123: ; preds = %118 br label %124 124: ; preds = %123, %104 %125 = call i32 @printf(ptr noundef @.str.9) %126 = load i32, ptr %15, align 4 %127 = call i32 @close(i32 noundef %126) br label %104 128: ; preds = %98, %88, %72, %54, %36 %129 = load i32, ptr %3, align 4 ret i32 %129 } declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @getaddrinfo(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @gai_strerror(i32 noundef) #1 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare ptr @strerror(i64 noundef) #1 declare i32 @bind(i32 noundef, i32 noundef, i32 noundef) #1 declare i64 @listen(i32 noundef, i32 noundef) #1 declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpsvj4g2uv.c" target datalayout = "e-m:e-p270: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 { i32, i32, i32, i32, i32, i32 } %struct.sockaddr_storage = type { i32 } @.str = private unnamed_addr constant [5 x i8] c"9004\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"l:\00", align 1 @optarg = dso_local global ptr null, align 8 @stderr = dso_local global i32 0, align 4 @.str.2 = private unnamed_addr constant [28 x i8] c"usage: %s [-l listen_port]\0A\00", align 1 @.str.3 = private unnamed_addr constant [10 x i8] c"nc_listen\00", align 1 @AF_INET = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @AI_NUMERICSERV = dso_local global i32 0, align 4 @AI_PASSIVE = dso_local global i32 0, align 4 @.str.4 = private unnamed_addr constant [18 x i8] c"getaddrinfo: %s \0A\00", align 1 @.str.5 = private unnamed_addr constant [12 x i8] c"socket: %s\0A\00", align 1 @errno = dso_local global i64 0, align 8 @.str.6 = private unnamed_addr constant [13 x i8] c"bind: %d %s\0A\00", align 1 @.str.7 = private unnamed_addr constant [12 x i8] c"listen: %s\0A\00", align 1 @ECONNABORTED = dso_local global i64 0, align 8 @EINTR = dso_local global i64 0, align 8 @.str.8 = private unnamed_addr constant [12 x i8] c"accept: %s\0A\00", align 1 @.str.9 = private unnamed_addr constant [17 x i8] c"got connection.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main(i32 noundef %0, ptr noundef %1) #0 { %3 = alloca i32, align 4 %4 = alloca i32, align 4 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i32, align 4 %8 = alloca %struct.addrinfo, align 4 %9 = alloca ptr, align 8 %10 = alloca i32, align 4 %11 = alloca i32, align 4 %12 = alloca i32, align 4 %13 = alloca %struct.sockaddr_storage, align 4 %14 = alloca i32, align 4 %15 = 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 ptr @.str, ptr %6, align 8 %16 = load i32, ptr %4, align 4 %17 = load ptr, ptr %5, align 8 %18 = call i32 @getopt(i32 noundef %16, ptr noundef %17, ptr noundef @.str.1) store i32 %18, ptr %7, align 4 %19 = icmp ne i32 %18, -1 br i1 %19, label %.lr.ph, label %43 .lr.ph: ; preds = %2 br label %20 20: ; preds = %.lr.ph, %38 %21 = load i32, ptr %7, align 4 switch i32 %21, label %24 [ i32 108, label %22 ] 22: ; preds = %20 %23 = load ptr, ptr @optarg, align 8 store ptr %23, ptr %6, align 8 br label %38 24: ; preds = %20 %25 = load i32, ptr @stderr, align 4 %26 = load ptr, ptr %5, align 8 %27 = getelementptr inbounds ptr, ptr %26, i64 0 %28 = load ptr, ptr %27, align 8 %29 = icmp ne ptr %28, null br i1 %29, label %30, label %34 30: ; preds = %24 %31 = load ptr, ptr %5, align 8 %32 = getelementptr inbounds ptr, ptr %31, i64 0 %33 = load ptr, ptr %32, align 8 br label %35 34: ; preds = %24 br label %35 35: ; preds = %34, %30 %36 = phi ptr [ %33, %30 ], [ @.str.3, %34 ] %37 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %25, ptr noundef @.str.2, ptr noundef %36) store i32 -1, ptr %3, align 4 br label %131 38: ; preds = %22 %39 = load i32, ptr %4, align 4 %40 = load ptr, ptr %5, align 8 %41 = call i32 @getopt(i32 noundef %39, ptr noundef %40, ptr noundef @.str.1) store i32 %41, ptr %7, align 4 %42 = icmp ne i32 %41, -1 br i1 %42, label %20, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %38 br label %43 43: ; preds = %._crit_edge, %2 %44 = call i32 @memset(ptr noundef %8, i32 noundef 0, i32 noundef 24) %45 = load i32, ptr @AF_INET, align 4 %46 = getelementptr inbounds %struct.addrinfo, ptr %8, i32 0, i32 5 store i32 %45, ptr %46, align 4 %47 = load i32, ptr @SOCK_STREAM, align 4 %48 = getelementptr inbounds %struct.addrinfo, ptr %8, i32 0, i32 4 store i32 %47, ptr %48, align 4 %49 = load i32, ptr @AI_NUMERICSERV, align 4 %50 = load i32, ptr @AI_PASSIVE, align 4 %51 = or i32 %49, %50 %52 = getelementptr inbounds %struct.addrinfo, ptr %8, i32 0, i32 0 store i32 %51, ptr %52, align 4 %53 = load ptr, ptr %6, align 8 %54 = call i32 @getaddrinfo(ptr noundef null, ptr noundef %53, ptr noundef %8, ptr noundef %9) store i32 %54, ptr %10, align 4 %55 = load i32, ptr %10, align 4 %56 = icmp ne i32 %55, 0 br i1 %56, label %57, label %62 57: ; preds = %43 %58 = load i32, ptr @stderr, align 4 %59 = load i32, ptr %10, align 4 %60 = call ptr @gai_strerror(i32 noundef %59) %61 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %58, ptr noundef @.str.4, ptr noundef %60) store i32 -1, ptr %3, align 4 br label %131 62: ; preds = %43 %63 = load ptr, ptr %9, align 8 %64 = getelementptr inbounds %struct.addrinfo, ptr %63, i32 0, i32 5 %65 = load i32, ptr %64, align 4 %66 = load ptr, ptr %9, align 8 %67 = getelementptr inbounds %struct.addrinfo, ptr %66, i32 0, i32 4 %68 = load i32, ptr %67, align 4 %69 = load ptr, ptr %9, align 8 %70 = getelementptr inbounds %struct.addrinfo, ptr %69, i32 0, i32 3 %71 = load i32, ptr %70, align 4 %72 = call i32 @socket(i32 noundef %65, i32 noundef %68, i32 noundef %71) store i32 %72, ptr %11, align 4 %73 = load i32, ptr %11, align 4 %74 = icmp slt i32 %73, 0 br i1 %74, label %75, label %80 75: ; preds = %62 %76 = load i32, ptr @stderr, align 4 %77 = load i64, ptr @errno, align 8 %78 = call ptr @strerror(i64 noundef %77) %79 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %76, ptr noundef @.str.5, ptr noundef %78) store i32 -1, ptr %3, align 4 br label %131 80: ; preds = %62 %81 = load i32, ptr %11, align 4 %82 = load ptr, ptr %9, align 8 %83 = getelementptr inbounds %struct.addrinfo, ptr %82, i32 0, i32 2 %84 = load i32, ptr %83, align 4 %85 = load ptr, ptr %9, align 8 %86 = getelementptr inbounds %struct.addrinfo, ptr %85, i32 0, i32 1 %87 = load i32, ptr %86, align 4 %88 = call i32 @bind(i32 noundef %81, i32 noundef %84, i32 noundef %87) store i32 %88, ptr %12, align 4 %89 = load i32, ptr %12, align 4 %90 = icmp slt i32 %89, 0 br i1 %90, label %91, label %97 91: ; preds = %80 %92 = load i32, ptr @stderr, align 4 %93 = load i32, ptr %12, align 4 %94 = load i64, ptr @errno, align 8 %95 = call ptr @strerror(i64 noundef %94) %96 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %92, ptr noundef @.str.6, i32 noundef %93, ptr noundef %95) store i32 -1, ptr %3, align 4 br label %131 97: ; preds = %80 %98 = load i32, ptr %11, align 4 %99 = call i64 @listen(i32 noundef %98, i32 noundef 15) %100 = icmp slt i64 %99, 0 br i1 %100, label %101, label %106 101: ; preds = %97 %102 = load i32, ptr @stderr, align 4 %103 = load i64, ptr @errno, align 8 %104 = call ptr @strerror(i64 noundef %103) %105 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %102, ptr noundef @.str.7, ptr noundef %104) store i32 -1, ptr %3, align 4 br label %131 106: ; preds = %97 br label %107 107: ; preds = %.backedge, %106 store i32 4, ptr %14, align 4 %108 = load i32, ptr %11, align 4 %109 = call i32 @accept(i32 noundef %108, ptr noundef %13, ptr noundef %14) store i32 %109, ptr %15, align 4 %110 = load i32, ptr %15, align 4 %111 = icmp slt i32 %110, 0 br i1 %111, label %112, label %127 112: ; preds = %107 %113 = load i64, ptr @errno, align 8 %114 = load i64, ptr @ECONNABORTED, align 8 %115 = icmp eq i64 %113, %114 br i1 %115, label %120, label %116 116: ; preds = %112 %117 = load i64, ptr @errno, align 8 %118 = load i64, ptr @EINTR, align 8 %119 = icmp eq i64 %117, %118 br i1 %119, label %120, label %121 120: ; preds = %116, %112 store i64 0, ptr @errno, align 8 br label %.backedge .backedge: ; preds = %120, %127 br label %107 121: ; preds = %116 %122 = load i32, ptr @stderr, align 4 %123 = load i64, ptr @errno, align 8 %124 = call ptr @strerror(i64 noundef %123) %125 = call i32 (i32, ptr, ...) @fprintf(i32 noundef %122, ptr noundef @.str.8, ptr noundef %124) br label %126 126: ; preds = %121 br label %127 127: ; preds = %126, %107 %128 = call i32 @printf(ptr noundef @.str.9) %129 = load i32, ptr %15, align 4 %130 = call i32 @close(i32 noundef %129) br label %.backedge 131: ; preds = %101, %91, %75, %57, %35 %132 = load i32, ptr %3, align 4 ret i32 %132 } declare i32 @getopt(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @fprintf(i32 noundef, ptr noundef, ...) #1 declare i32 @memset(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @getaddrinfo(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @gai_strerror(i32 noundef) #1 declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare ptr @strerror(i64 noundef) #1 declare i32 @bind(i32 noundef, i32 noundef, i32 noundef) #1 declare i64 @listen(i32 noundef, i32 noundef) #1 declare i32 @accept(i32 noundef, ptr noundef, ptr noundef) #1 declare i32 @printf(ptr noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpklctwezo.c' source_filename = "/tmp/tmpklctwezo.c" target datalayout = "e-m:e-p270: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 [94 x i8] c"Usage: net264 [-p port] [-m max_clients]\0A\0APort defaults to 5500.\0AMax Clients defaults to 100\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @exit_usage() #0 { %1 = load i32, ptr @stderr, align 4 %2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str) %3 = 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/tmpklctwezo.c" target datalayout = "e-m:e-p270: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 [94 x i8] c"Usage: net264 [-p port] [-m max_clients]\0A\0APort defaults to 5500.\0AMax Clients defaults to 100\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @exit_usage() #0 { %1 = load i32, ptr @stderr, align 4 %2 = call i32 @fprintf(i32 noundef %1, ptr noundef @.str) %3 = 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/tmpwwz73xvs.c' source_filename = "/tmp/tmpwwz73xvs.c" target datalayout = "e-m:e-p270: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 @s_copy(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 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 %10 = load i32, ptr %7, align 4 %11 = load i32, ptr %8, align 4 %12 = sub nsw i32 %10, %11 store i32 %12, ptr %9, align 4 %13 = load i32, ptr %9, align 4 %14 = icmp sle i32 %13, 0 br i1 %14, label %15, label %20 15: ; preds = %4 %16 = load ptr, ptr %5, align 8 %17 = load ptr, ptr %6, align 8 %18 = load i32, ptr %7, align 4 %19 = call i32 @memmove(ptr noundef %16, ptr noundef %17, i32 noundef %18) br label %31 20: ; preds = %4 %21 = load ptr, ptr %5, align 8 %22 = load ptr, ptr %6, align 8 %23 = load i32, ptr %8, align 4 %24 = call i32 @memmove(ptr noundef %21, ptr noundef %22, i32 noundef %23) %25 = load ptr, ptr %5, align 8 %26 = load i32, ptr %8, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds i8, ptr %25, i64 %27 %29 = load i32, ptr %9, align 4 %30 = call i32 @memset(ptr noundef %28, i32 noundef 32, i32 noundef %29) br label %31 31: ; preds = %20, %15 ret void } declare i32 @memmove(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @memset(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/tmpwwz73xvs.c" target datalayout = "e-m:e-p270: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 @s_copy(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 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 %10 = load i32, ptr %7, align 4 %11 = load i32, ptr %8, align 4 %12 = sub nsw i32 %10, %11 store i32 %12, ptr %9, align 4 %13 = load i32, ptr %9, align 4 %14 = icmp sle i32 %13, 0 br i1 %14, label %15, label %20 15: ; preds = %4 %16 = load ptr, ptr %5, align 8 %17 = load ptr, ptr %6, align 8 %18 = load i32, ptr %7, align 4 %19 = call i32 @memmove(ptr noundef %16, ptr noundef %17, i32 noundef %18) br label %31 20: ; preds = %4 %21 = load ptr, ptr %5, align 8 %22 = load ptr, ptr %6, align 8 %23 = load i32, ptr %8, align 4 %24 = call i32 @memmove(ptr noundef %21, ptr noundef %22, i32 noundef %23) %25 = load ptr, ptr %5, align 8 %26 = load i32, ptr %8, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds i8, ptr %25, i64 %27 %29 = load i32, ptr %9, align 4 %30 = call i32 @memset(ptr noundef %28, i32 noundef 32, i32 noundef %29) br label %31 31: ; preds = %20, %15 ret void } declare i32 @memmove(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @memset(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/tmpga2x_fhh.c' source_filename = "/tmp/tmpga2x_fhh.c" target datalayout = "e-m:e-p270: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/tmpga2x_fhh.c" target datalayout = "e-m:e-p270: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/tmp1ppm2kg7.c' source_filename = "/tmp/tmp1ppm2kg7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"Cleaning up.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cleanup() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 (...) @close_files() ret void } declare i32 @printf(ptr noundef) #1 declare i32 @close_files(...) #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/tmp1ppm2kg7.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"Cleaning up.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @cleanup() #0 { %1 = call i32 @printf(ptr noundef @.str) %2 = call i32 (...) @close_files() ret void } declare i32 @printf(ptr noundef) #1 declare i32 @close_files(...) #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/tmpksbwqs72.c' source_filename = "/tmp/tmpksbwqs72.c" target datalayout = "e-m:e-p270: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 [132 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/ASMlover/libc/refs/heads/master/src/set.c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @set_release(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = load ptr, ptr %3, align 8 %5 = call i32 @set_clear(ptr noundef %4) %6 = load ptr, ptr %2, align 8 %7 = load ptr, ptr %6, align 8 %8 = call i64 @memory_free(ptr noundef %7, ptr noundef @.str, i32 noundef 114) %9 = load ptr, ptr %2, align 8 store ptr null, ptr %9, align 8 ret void } declare i32 @set_clear(ptr noundef) #1 declare i64 @memory_free(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/tmpksbwqs72.c" target datalayout = "e-m:e-p270: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 [132 x i8] c"/scratch/repos/new/home/jordi_armengol_estape/c-scraper/outputs/2022-01-22/02-19-57/repos/ASMlover/libc/refs/heads/master/src/set.c\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @set_release(ptr noundef %0) #0 { %2 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %3 = load ptr, ptr %2, align 8 %4 = load ptr, ptr %3, align 8 %5 = call i32 @set_clear(ptr noundef %4) %6 = load ptr, ptr %2, align 8 %7 = load ptr, ptr %6, align 8 %8 = call i64 @memory_free(ptr noundef %7, ptr noundef @.str, i32 noundef 114) %9 = load ptr, ptr %2, align 8 store ptr null, ptr %9, align 8 ret void } declare i32 @set_clear(ptr noundef) #1 declare i64 @memory_free(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/tmpji4sxgu9.c' source_filename = "/tmp/tmpji4sxgu9.c" target datalayout = "e-m:e-p270: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 @msort(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca [30 x ptr], align 16 %10 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %11 = load ptr, ptr %5, align 8 %12 = ptrtoint ptr %11 to i64 %13 = load ptr, ptr %4, align 8 %14 = ptrtoint ptr %13 to i64 %15 = sub i64 %12, %14 store i64 %15, ptr %7, align 8 store i32 0, ptr %10, align 4 br label %16 16: ; preds = %23, %3 %17 = load i32, ptr %10, align 4 %18 = icmp slt i32 %17, 30 br i1 %18, label %19, label %26 19: ; preds = %16 %20 = load i32, ptr %10, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds [30 x ptr], ptr %9, i64 0, i64 %21 store ptr null, ptr %22, align 8 br label %23 23: ; preds = %19 %24 = load i32, ptr %10, align 4 %25 = add nsw i32 %24, 1 store i32 %25, ptr %10, align 4 br label %16, !llvm.loop !6 26: ; preds = %16 br label %27 27: ; preds = %69, %26 %28 = load ptr, ptr %4, align 8 %29 = icmp ne ptr %28, null br i1 %29, label %30, label %74 30: ; preds = %27 %31 = load ptr, ptr %4, align 8 store ptr %31, ptr %8, align 8 %32 = load ptr, ptr %4, align 8 %33 = ptrtoint ptr %32 to i64 %34 = load i64, ptr %7, align 8 %35 = add i64 %33, %34 %36 = inttoptr i64 %35 to ptr %37 = load ptr, ptr %36, align 8 store ptr %37, ptr %4, align 8 %38 = load ptr, ptr %8, align 8 %39 = ptrtoint ptr %38 to i64 %40 = load i64, ptr %7, align 8 %41 = add i64 %39, %40 %42 = inttoptr i64 %41 to ptr store ptr null, ptr %42, align 8 store i32 0, ptr %10, align 4 br label %43 43: ; preds = %66, %30 %44 = load i32, ptr %10, align 4 %45 = icmp slt i32 %44, 29 br i1 %45, label %46, label %52 46: ; preds = %43 %47 = load i32, ptr %10, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds [30 x ptr], ptr %9, i64 0, i64 %48 %50 = load ptr, ptr %49, align 8 %51 = icmp ne ptr %50, null br label %52 52: ; preds = %46, %43 %53 = phi i1 [ false, %43 ], [ %51, %46 ] br i1 %53, label %54, label %69 54: ; preds = %52 %55 = load ptr, ptr %8, align 8 %56 = load i32, ptr %10, align 4 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds [30 x ptr], ptr %9, i64 0, i64 %57 %59 = load ptr, ptr %58, align 8 %60 = load ptr, ptr %6, align 8 %61 = load i64, ptr %7, align 8 %62 = call ptr @merge(ptr noundef %55, ptr noundef %59, ptr noundef %60, i64 noundef %61) store ptr %62, ptr %8, align 8 %63 = load i32, ptr %10, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds [30 x ptr], ptr %9, i64 0, i64 %64 store ptr null, ptr %65, align 8 br label %66 66: ; preds = %54 %67 = load i32, ptr %10, align 4 %68 = add nsw i32 %67, 1 store i32 %68, ptr %10, align 4 br label %43, !llvm.loop !8 69: ; preds = %52 %70 = load ptr, ptr %8, align 8 %71 = load i32, ptr %10, align 4 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds [30 x ptr], ptr %9, i64 0, i64 %72 store ptr %70, ptr %73, align 8 br label %27, !llvm.loop !9 74: ; preds = %27 store ptr null, ptr %8, align 8 store i32 0, ptr %10, align 4 br label %75 75: ; preds = %94, %74 %76 = load i32, ptr %10, align 4 %77 = icmp slt i32 %76, 30 br i1 %77, label %78, label %97 78: ; preds = %75 %79 = load i32, ptr %10, align 4 %80 = sext i32 %79 to i64 %81 = getelementptr inbounds [30 x ptr], ptr %9, i64 0, i64 %80 %82 = load ptr, ptr %81, align 8 %83 = icmp ne ptr %82, null br i1 %83, label %84, label %93 84: ; preds = %78 %85 = load ptr, ptr %8, align 8 %86 = load i32, ptr %10, align 4 %87 = sext i32 %86 to i64 %88 = getelementptr inbounds [30 x ptr], ptr %9, i64 0, i64 %87 %89 = load ptr, ptr %88, align 8 %90 = load ptr, ptr %6, align 8 %91 = load i64, ptr %7, align 8 %92 = call ptr @merge(ptr noundef %85, ptr noundef %89, ptr noundef %90, i64 noundef %91) store ptr %92, ptr %8, align 8 br label %93 93: ; preds = %84, %78 br label %94 94: ; preds = %93 %95 = load i32, ptr %10, align 4 %96 = add nsw i32 %95, 1 store i32 %96, ptr %10, align 4 br label %75, !llvm.loop !10 97: ; preds = %75 %98 = load ptr, ptr %8, align 8 ret ptr %98 } declare ptr @merge(ptr noundef, ptr noundef, 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"} !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/tmpji4sxgu9.c" target datalayout = "e-m:e-p270: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 @msort(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 { %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 %6 = alloca ptr, align 8 %7 = alloca i64, align 8 %8 = alloca ptr, align 8 %9 = alloca [30 x ptr], align 16 %10 = alloca i32, align 4 store ptr %0, ptr %4, align 8 store ptr %1, ptr %5, align 8 store ptr %2, ptr %6, align 8 %11 = load ptr, ptr %5, align 8 %12 = ptrtoint ptr %11 to i64 %13 = load ptr, ptr %4, align 8 %14 = ptrtoint ptr %13 to i64 %15 = sub i64 %12, %14 store i64 %15, ptr %7, align 8 store i32 0, ptr %10, align 4 %16 = load i32, ptr %10, align 4 %17 = icmp slt i32 %16, 30 br i1 %17, label %.lr.ph, label %27 .lr.ph: ; preds = %3 br label %18 18: ; preds = %.lr.ph, %22 %19 = load i32, ptr %10, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds [30 x ptr], ptr %9, i64 0, i64 %20 store ptr null, ptr %21, align 8 br label %22 22: ; preds = %18 %23 = load i32, ptr %10, align 4 %24 = add nsw i32 %23, 1 store i32 %24, ptr %10, align 4 %25 = load i32, ptr %10, align 4 %26 = icmp slt i32 %25, 30 br i1 %26, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %22 br label %27 27: ; preds = %._crit_edge, %3 %28 = load ptr, ptr %4, align 8 %29 = icmp ne ptr %28, null br i1 %29, label %.lr.ph2, label %76 .lr.ph2: ; preds = %27 br label %30 30: ; preds = %.lr.ph2, %69 %31 = load ptr, ptr %4, align 8 store ptr %31, ptr %8, align 8 %32 = load ptr, ptr %4, align 8 %33 = ptrtoint ptr %32 to i64 %34 = load i64, ptr %7, align 8 %35 = add i64 %33, %34 %36 = inttoptr i64 %35 to ptr %37 = load ptr, ptr %36, align 8 store ptr %37, ptr %4, align 8 %38 = load ptr, ptr %8, align 8 %39 = ptrtoint ptr %38 to i64 %40 = load i64, ptr %7, align 8 %41 = add i64 %39, %40 %42 = inttoptr i64 %41 to ptr store ptr null, ptr %42, align 8 store i32 0, ptr %10, align 4 br label %43 43: ; preds = %66, %30 %44 = load i32, ptr %10, align 4 %45 = icmp slt i32 %44, 29 br i1 %45, label %46, label %52 46: ; preds = %43 %47 = load i32, ptr %10, align 4 %48 = sext i32 %47 to i64 %49 = getelementptr inbounds [30 x ptr], ptr %9, i64 0, i64 %48 %50 = load ptr, ptr %49, align 8 %51 = icmp ne ptr %50, null br label %52 52: ; preds = %46, %43 %53 = phi i1 [ false, %43 ], [ %51, %46 ] br i1 %53, label %54, label %69 54: ; preds = %52 %55 = load ptr, ptr %8, align 8 %56 = load i32, ptr %10, align 4 %57 = sext i32 %56 to i64 %58 = getelementptr inbounds [30 x ptr], ptr %9, i64 0, i64 %57 %59 = load ptr, ptr %58, align 8 %60 = load ptr, ptr %6, align 8 %61 = load i64, ptr %7, align 8 %62 = call ptr @merge(ptr noundef %55, ptr noundef %59, ptr noundef %60, i64 noundef %61) store ptr %62, ptr %8, align 8 %63 = load i32, ptr %10, align 4 %64 = sext i32 %63 to i64 %65 = getelementptr inbounds [30 x ptr], ptr %9, i64 0, i64 %64 store ptr null, ptr %65, align 8 br label %66 66: ; preds = %54 %67 = load i32, ptr %10, align 4 %68 = add nsw i32 %67, 1 store i32 %68, ptr %10, align 4 br label %43, !llvm.loop !8 69: ; preds = %52 %70 = load ptr, ptr %8, align 8 %71 = load i32, ptr %10, align 4 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds [30 x ptr], ptr %9, i64 0, i64 %72 store ptr %70, ptr %73, align 8 %74 = load ptr, ptr %4, align 8 %75 = icmp ne ptr %74, null br i1 %75, label %30, label %._crit_edge3, !llvm.loop !9 ._crit_edge3: ; preds = %69 br label %76 76: ; preds = %._crit_edge3, %27 store ptr null, ptr %8, align 8 store i32 0, ptr %10, align 4 %77 = load i32, ptr %10, align 4 %78 = icmp slt i32 %77, 30 br i1 %78, label %.lr.ph5, label %100 .lr.ph5: ; preds = %76 br label %79 79: ; preds = %.lr.ph5, %95 %80 = load i32, ptr %10, align 4 %81 = sext i32 %80 to i64 %82 = getelementptr inbounds [30 x ptr], ptr %9, i64 0, i64 %81 %83 = load ptr, ptr %82, align 8 %84 = icmp ne ptr %83, null br i1 %84, label %85, label %94 85: ; preds = %79 %86 = load ptr, ptr %8, align 8 %87 = load i32, ptr %10, align 4 %88 = sext i32 %87 to i64 %89 = getelementptr inbounds [30 x ptr], ptr %9, i64 0, i64 %88 %90 = load ptr, ptr %89, align 8 %91 = load ptr, ptr %6, align 8 %92 = load i64, ptr %7, align 8 %93 = call ptr @merge(ptr noundef %86, ptr noundef %90, ptr noundef %91, i64 noundef %92) store ptr %93, ptr %8, align 8 br label %94 94: ; preds = %85, %79 br label %95 95: ; preds = %94 %96 = load i32, ptr %10, align 4 %97 = add nsw i32 %96, 1 store i32 %97, ptr %10, align 4 %98 = load i32, ptr %10, align 4 %99 = icmp slt i32 %98, 30 br i1 %99, label %79, label %._crit_edge6, !llvm.loop !10 ._crit_edge6: ; preds = %95 br label %100 100: ; preds = %._crit_edge6, %76 %101 = load ptr, ptr %8, align 8 ret ptr %101 } declare ptr @merge(ptr noundef, ptr noundef, 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7} !10 = distinct !{!10, !7}
; ModuleID = '/tmp/tmp8i5j7f7b.c' source_filename = "/tmp/tmp8i5j7f7b.c" target datalayout = "e-m:e-p270: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 = load i32, ptr %4, align 4 %7 = load ptr, ptr %5, align 8 %8 = call i32 @atrshmlog_db_main(i32 noundef %6, ptr noundef %7) ret i32 %8 } declare i32 @atrshmlog_db_main(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/tmp8i5j7f7b.c" target datalayout = "e-m:e-p270: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 = load i32, ptr %4, align 4 %7 = load ptr, ptr %5, align 8 %8 = call i32 @atrshmlog_db_main(i32 noundef %6, ptr noundef %7) ret i32 %8 } declare i32 @atrshmlog_db_main(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/tmpt0xt0d7y.c' source_filename = "/tmp/tmpt0xt0d7y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"ls -l /proc/%d/fd\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c"ls -l /proc/%d/fd/%d\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"%s %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ls_proc_fd(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca [128 x i8], align 16 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = icmp eq i32 %4, -1 br i1 %5, label %6, label %10 6: ; preds = %1 %7 = getelementptr inbounds [128 x i8], ptr %3, i64 0, i64 0 %8 = call i32 (...) @getpid() %9 = call i32 (ptr, i32, ptr, i32, ...) @snprintf(ptr noundef %7, i32 noundef 128, ptr noundef @.str, i32 noundef %8) br label %15 10: ; preds = %1 %11 = getelementptr inbounds [128 x i8], ptr %3, i64 0, i64 0 %12 = call i32 (...) @getpid() %13 = load i32, ptr %2, align 4 %14 = call i32 (ptr, i32, ptr, i32, ...) @snprintf(ptr noundef %11, i32 noundef 128, ptr noundef @.str.1, i32 noundef %12, i32 noundef %13) br label %15 15: ; preds = %10, %6 %16 = call ptr @who(i32 noundef 0) %17 = getelementptr inbounds [128 x i8], ptr %3, i64 0, i64 0 %18 = call i32 @printf(ptr noundef @.str.2, ptr noundef %16, ptr noundef %17) %19 = getelementptr inbounds [128 x i8], ptr %3, i64 0, i64 0 %20 = call i32 @system(ptr noundef %19) ret void } declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ...) #1 declare i32 @getpid(...) #1 declare i32 @printf(ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @who(i32 noundef) #1 declare i32 @system(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/tmpt0xt0d7y.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [18 x i8] c"ls -l /proc/%d/fd\00", align 1 @.str.1 = private unnamed_addr constant [21 x i8] c"ls -l /proc/%d/fd/%d\00", align 1 @.str.2 = private unnamed_addr constant [7 x i8] c"%s %s\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ls_proc_fd(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca [128 x i8], align 16 store i32 %0, ptr %2, align 4 %4 = load i32, ptr %2, align 4 %5 = icmp eq i32 %4, -1 br i1 %5, label %6, label %10 6: ; preds = %1 %7 = getelementptr inbounds [128 x i8], ptr %3, i64 0, i64 0 %8 = call i32 (...) @getpid() %9 = call i32 (ptr, i32, ptr, i32, ...) @snprintf(ptr noundef %7, i32 noundef 128, ptr noundef @.str, i32 noundef %8) br label %15 10: ; preds = %1 %11 = getelementptr inbounds [128 x i8], ptr %3, i64 0, i64 0 %12 = call i32 (...) @getpid() %13 = load i32, ptr %2, align 4 %14 = call i32 (ptr, i32, ptr, i32, ...) @snprintf(ptr noundef %11, i32 noundef 128, ptr noundef @.str.1, i32 noundef %12, i32 noundef %13) br label %15 15: ; preds = %10, %6 %16 = call ptr @who(i32 noundef 0) %17 = getelementptr inbounds [128 x i8], ptr %3, i64 0, i64 0 %18 = call i32 @printf(ptr noundef @.str.2, ptr noundef %16, ptr noundef %17) %19 = getelementptr inbounds [128 x i8], ptr %3, i64 0, i64 0 %20 = call i32 @system(ptr noundef %19) ret void } declare i32 @snprintf(ptr noundef, i32 noundef, ptr noundef, i32 noundef, ...) #1 declare i32 @getpid(...) #1 declare i32 @printf(ptr noundef, ptr noundef, ptr noundef) #1 declare ptr @who(i32 noundef) #1 declare i32 @system(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/tmp4cgtmbh0.c' source_filename = "/tmp/tmp4cgtmbh0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"%i + %i = %i\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @add(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 = load i32, ptr %3, align 4 %8 = load i32, ptr %4, align 4 %9 = add nsw i32 %7, %8 %10 = call i32 @printf(ptr noundef @.str, i32 noundef %5, i32 noundef %6, i32 noundef %9) ret i32 0 } 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp4cgtmbh0.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"%i + %i = %i\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @add(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 = load i32, ptr %3, align 4 %8 = load i32, ptr %4, align 4 %9 = add nsw i32 %7, %8 %10 = call i32 @printf(ptr noundef @.str, i32 noundef %5, i32 noundef %6, i32 noundef %9) ret i32 0 } 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"}
; ModuleID = '/tmp/tmpvhljf6bv.c' source_filename = "/tmp/tmpvhljf6bv.c" target datalayout = "e-m:e-p270: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/tmpvhljf6bv.c" target datalayout = "e-m:e-p270: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/tmpk4vzk7hu.c' source_filename = "/tmp/tmpk4vzk7hu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"[\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"]\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ivec_print(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 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %5, align 4 br label %7 7: ; preds = %18, %2 %8 = load i32, ptr %5, align 4 %9 = load i32, ptr %4, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %11, label %21 11: ; preds = %7 %12 = load ptr, ptr %3, align 8 %13 = load i32, ptr %5, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds i32, ptr %12, i64 %14 %16 = load i32, ptr %15, align 4 %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %16) br label %18 18: ; preds = %11 %19 = load i32, ptr %5, align 4 %20 = add nsw i32 %19, 1 store i32 %20, ptr %5, align 4 br label %7, !llvm.loop !6 21: ; preds = %7 %22 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) 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"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpk4vzk7hu.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"[\00", align 1 @.str.1 = private unnamed_addr constant [4 x i8] c"%d \00", align 1 @.str.2 = private unnamed_addr constant [3 x i8] c"]\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @ivec_print(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 %6 = call i32 (ptr, ...) @printf(ptr noundef @.str) store i32 0, ptr %5, align 4 %7 = load i32, ptr %5, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %7, %8 br i1 %9, label %.lr.ph, label %23 .lr.ph: ; preds = %2 br label %10 10: ; preds = %.lr.ph, %17 %11 = load ptr, ptr %3, align 8 %12 = load i32, ptr %5, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds i32, ptr %11, i64 %13 %15 = load i32, ptr %14, align 4 %16 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i32 noundef %15) br label %17 17: ; preds = %10 %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 %4, align 4 %22 = icmp slt i32 %20, %21 br i1 %22, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %17 br label %23 23: ; preds = %._crit_edge, %2 %24 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) 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"}
; ModuleID = '/tmp/tmp2azlr16z.c' source_filename = "/tmp/tmp2azlr16z.c" target datalayout = "e-m:e-p270: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"Usage: %s [-fix] badfile.avi\0A\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"-fix\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"rb+\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"rb\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"error\00", align 1 @.str.5 = private unnamed_addr constant [19 x i8] c"couldnt open '%s'\0A\00", align 1 @SEEK_SET = dso_local global i32 0, align 4 @SEEK_CUR = 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 ptr, align 8 %11 = alloca i32, align 4 %12 = 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 0, ptr %9, align 4 %13 = load i32, ptr %4, align 4 %14 = icmp sle i32 %13, 1 br i1 %14, label %15, label %21 15: ; preds = %2 %16 = load ptr, ptr %5, align 8 %17 = getelementptr inbounds ptr, ptr %16, i64 0 %18 = load ptr, ptr %17, align 8 %19 = call i32 @printf(ptr noundef @.str, ptr noundef %18) %20 = call i32 @exit(i32 noundef 1) #3 unreachable 21: ; preds = %2 %22 = load ptr, ptr %5, align 8 %23 = getelementptr inbounds ptr, ptr %22, i64 1 %24 = load ptr, ptr %23, align 8 %25 = call i32 @strcmp(ptr noundef %24, ptr noundef @.str.1) %26 = icmp ne i32 %25, 0 br i1 %26, label %35, label %27 27: ; preds = %21 store i32 1, ptr %9, align 4 %28 = load ptr, ptr %5, align 8 %29 = load i32, ptr %4, align 4 %30 = sub nsw i32 %29, 1 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds ptr, ptr %28, i64 %31 %33 = load ptr, ptr %32, align 8 %34 = call ptr @fopen(ptr noundef %33, ptr noundef @.str.2) store ptr %34, ptr %10, align 8 br label %43 35: ; preds = %21 %36 = load ptr, ptr %5, align 8 %37 = load i32, ptr %4, align 4 %38 = sub nsw i32 %37, 1 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds ptr, ptr %36, i64 %39 %41 = load ptr, ptr %40, align 8 %42 = call ptr @fopen(ptr noundef %41, ptr noundef @.str.3) store ptr %42, ptr %10, align 8 br label %43 43: ; preds = %35, %27 %44 = load ptr, ptr %10, align 8 %45 = icmp ne ptr %44, null br i1 %45, label %56, label %46 46: ; preds = %43 %47 = call i32 @perror(ptr noundef @.str.4) %48 = load ptr, ptr %5, align 8 %49 = load i32, ptr %4, align 4 %50 = sub nsw i32 %49, 1 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds ptr, ptr %48, i64 %51 %53 = load ptr, ptr %52, align 8 %54 = call i32 @printf(ptr noundef @.str.5, ptr noundef %53) %55 = call i32 @exit(i32 noundef 2) #3 unreachable 56: ; preds = %43 br label %57 57: ; preds = %56, %139 br label %58 58: ; preds = %133, %57 %59 = load ptr, ptr %10, align 8 %60 = call i32 @fgetc(ptr noundef %59) store i32 %60, ptr %11, align 4 %61 = load i32, ptr %11, align 4 %62 = shl i32 %61, 8 %63 = load ptr, ptr %10, align 8 %64 = call i32 @fgetc(ptr noundef %63) %65 = or i32 %62, %64 store i32 %65, ptr %11, align 4 %66 = load i32, ptr %11, align 4 %67 = shl i32 %66, 8 %68 = load ptr, ptr %10, align 8 %69 = call i32 @fgetc(ptr noundef %68) %70 = or i32 %67, %69 store i32 %70, ptr %11, align 4 br label %71 71: ; preds = %130, %58 %72 = load ptr, ptr %10, align 8 %73 = call i64 @feof(ptr noundef %72) %74 = icmp ne i64 %73, 0 br i1 %74, label %75, label %76 75: ; preds = %71 br label %140 76: ; preds = %71 %77 = load i32, ptr %11, align 4 %78 = shl i32 %77, 8 %79 = load ptr, ptr %10, align 8 %80 = call i32 @fgetc(ptr noundef %79) %81 = or i32 %78, %80 store i32 %81, ptr %11, align 4 %82 = load i32, ptr %11, align 4 switch i32 %82, label %127 [ i32 1380533830, label %83 i32 1279873876, label %88 i32 1635150184, label %93 i32 1937011304, label %93 i32 1937011302, label %93 i32 1247104587, label %93 i32 1768192049, label %93 i32 1684892776, label %93 i32 1768842360, label %93 i32 1769484336, label %93 i32 1769484337, label %93 i32 808548194, label %93 i32 808613730, label %93 i32 808679266, label %93 i32 808477794, label %93 i32 808477795, label %93 i32 808476511, label %93 i32 1230194260, label %93 i32 1230197315, label %93 i32 1229865293, label %93 i32 1230193226, label %93 i32 1229017684, label %93 i32 1229147984, label %93 i32 1229147476, label %93 ] 83: ; preds = %76 %84 = load ptr, ptr %10, align 8 %85 = call i32 @fread(ptr noundef %12, i32 noundef 4, i32 noundef 1, ptr noundef %84) %86 = load ptr, ptr %10, align 8 %87 = call i32 @getid(ptr noundef %86) store i32 %87, ptr %11, align 4 br label %139 88: ; preds = %76 %89 = load ptr, ptr %10, align 8 %90 = call i32 @fread(ptr noundef %12, i32 noundef 4, i32 noundef 1, ptr noundef %89) %91 = load ptr, ptr %10, align 8 %92 = call i32 @getid(ptr noundef %91) store i32 %92, ptr %11, align 4 br label %139 93: ; preds = %76, %76, %76, %76, %76, %76, %76, %76, %76, %76, %76, %76, %76, %76, %76, %76, %76, %76, %76, %76, %76, %76 %94 = load ptr, ptr %10, align 8 %95 = call i32 @ftell(ptr noundef %94) store i32 %95, ptr %6, align 4 %96 = load i32, ptr %7, align 4 %97 = icmp ne i32 %96, 0 br i1 %97, label %98, label %116 98: ; preds = %93 %99 = load i32, ptr %9, align 4 %100 = icmp ne i32 %99, 0 br i1 %100, label %101, label %116 101: ; preds = %98 %102 = load ptr, ptr %10, align 8 %103 = load i32, ptr %7, align 4 %104 = load i32, ptr @SEEK_SET, align 4 %105 = call i32 @fseek(ptr noundef %102, i32 noundef %103, i32 noundef %104) %106 = load i32, ptr %6, align 4 %107 = load i32, ptr %7, align 4 %108 = sub i32 %106, %107 %109 = sub i32 %108, 8 store i32 %109, ptr %12, align 4 %110 = load ptr, ptr %10, align 8 %111 = call i32 @fwrite(ptr noundef %12, i32 noundef 4, i32 noundef 1, ptr noundef %110) %112 = load ptr, ptr %10, align 8 %113 = load i32, ptr %6, align 4 %114 = load i32, ptr @SEEK_SET, align 4 %115 = call i32 @fseek(ptr noundef %112, i32 noundef %113, i32 noundef %114) store i32 0, ptr %7, align 4 br label %116 116: ; preds = %101, %98, %93 %117 = load ptr, ptr %10, align 8 %118 = call i32 @fread(ptr noundef %12, i32 noundef 4, i32 noundef 1, ptr noundef %117) %119 = load i32, ptr %12, align 4 %120 = and i32 %119, 1 %121 = load i32, ptr %12, align 4 %122 = add i32 %121, %120 store i32 %122, ptr %12, align 4 %123 = load ptr, ptr %10, align 8 %124 = load i32, ptr %12, align 4 %125 = load i32, ptr @SEEK_CUR, align 4 %126 = call i32 @fseek(ptr noundef %123, i32 noundef %124, i32 noundef %125) br label %139 127: ; preds = %76 %128 = load i32, ptr %6, align 4 %129 = icmp ne i32 %128, 0 br i1 %129, label %133, label %130 130: ; preds = %127 %131 = load i32, ptr %8, align 4 %132 = add i32 %131, 1 store i32 %132, ptr %8, align 4 br label %71 133: ; preds = %127 %134 = load ptr, ptr %10, align 8 %135 = load i32, ptr %6, align 4 %136 = load i32, ptr @SEEK_SET, align 4 %137 = call i32 @fseek(ptr noundef %134, i32 noundef %135, i32 noundef %136) %138 = load i32, ptr %6, align 4 store i32 %138, ptr %7, align 4 store i32 0, ptr %6, align 4 br label %58 139: ; preds = %116, %88, %83 store i32 0, ptr %8, align 4 br label %57 140: ; preds = %75 %141 = load i32, ptr %3, align 4 ret i32 %141 } declare i32 @printf(ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @strcmp(ptr noundef, ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @fgetc(ptr noundef) #1 declare i64 @feof(ptr noundef) #1 declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @getid(ptr noundef) #1 declare i32 @ftell(ptr noundef) #1 declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmp2azlr16z.c" target datalayout = "e-m:e-p270: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"Usage: %s [-fix] badfile.avi\0A\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"-fix\00", align 1 @.str.2 = private unnamed_addr constant [4 x i8] c"rb+\00", align 1 @.str.3 = private unnamed_addr constant [3 x i8] c"rb\00", align 1 @.str.4 = private unnamed_addr constant [6 x i8] c"error\00", align 1 @.str.5 = private unnamed_addr constant [19 x i8] c"couldnt open '%s'\0A\00", align 1 @SEEK_SET = dso_local global i32 0, align 4 @SEEK_CUR = 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 ptr, align 8 %11 = alloca i32, align 4 %12 = 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 0, ptr %9, align 4 %13 = load i32, ptr %4, align 4 %14 = icmp sle i32 %13, 1 br i1 %14, label %15, label %21 15: ; preds = %2 %16 = load ptr, ptr %5, align 8 %17 = getelementptr inbounds ptr, ptr %16, i64 0 %18 = load ptr, ptr %17, align 8 %19 = call i32 @printf(ptr noundef @.str, ptr noundef %18) %20 = call i32 @exit(i32 noundef 1) #3 unreachable 21: ; preds = %2 %22 = load ptr, ptr %5, align 8 %23 = getelementptr inbounds ptr, ptr %22, i64 1 %24 = load ptr, ptr %23, align 8 %25 = call i32 @strcmp(ptr noundef %24, ptr noundef @.str.1) %26 = icmp ne i32 %25, 0 br i1 %26, label %35, label %27 27: ; preds = %21 store i32 1, ptr %9, align 4 %28 = load ptr, ptr %5, align 8 %29 = load i32, ptr %4, align 4 %30 = sub nsw i32 %29, 1 %31 = sext i32 %30 to i64 %32 = getelementptr inbounds ptr, ptr %28, i64 %31 %33 = load ptr, ptr %32, align 8 %34 = call ptr @fopen(ptr noundef %33, ptr noundef @.str.2) store ptr %34, ptr %10, align 8 br label %43 35: ; preds = %21 %36 = load ptr, ptr %5, align 8 %37 = load i32, ptr %4, align 4 %38 = sub nsw i32 %37, 1 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds ptr, ptr %36, i64 %39 %41 = load ptr, ptr %40, align 8 %42 = call ptr @fopen(ptr noundef %41, ptr noundef @.str.3) store ptr %42, ptr %10, align 8 br label %43 43: ; preds = %35, %27 %44 = load ptr, ptr %10, align 8 %45 = icmp ne ptr %44, null br i1 %45, label %56, label %46 46: ; preds = %43 %47 = call i32 @perror(ptr noundef @.str.4) %48 = load ptr, ptr %5, align 8 %49 = load i32, ptr %4, align 4 %50 = sub nsw i32 %49, 1 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds ptr, ptr %48, i64 %51 %53 = load ptr, ptr %52, align 8 %54 = call i32 @printf(ptr noundef @.str.5, ptr noundef %53) %55 = call i32 @exit(i32 noundef 2) #3 unreachable 56: ; preds = %43 br label %57 57: ; preds = %141, %56 br label %58 58: ; preds = %135, %57 %59 = load ptr, ptr %10, align 8 %60 = call i32 @fgetc(ptr noundef %59) store i32 %60, ptr %11, align 4 %61 = load i32, ptr %11, align 4 %62 = shl i32 %61, 8 %63 = load ptr, ptr %10, align 8 %64 = call i32 @fgetc(ptr noundef %63) %65 = or i32 %62, %64 store i32 %65, ptr %11, align 4 %66 = load i32, ptr %11, align 4 %67 = shl i32 %66, 8 %68 = load ptr, ptr %10, align 8 %69 = call i32 @fgetc(ptr noundef %68) %70 = or i32 %67, %69 store i32 %70, ptr %11, align 4 %71 = load ptr, ptr %10, align 8 %72 = call i64 @feof(ptr noundef %71) %73 = icmp ne i64 %72, 0 br i1 %73, label %._crit_edge, label %.lr.ph .lr.ph: ; preds = %58 br label %75 ._crit_edge: ; preds = %58 br label %74 ._crit_edge1: ; preds = %129 br label %74 74: ; preds = %._crit_edge1, %._crit_edge br label %142 75: ; preds = %.lr.ph, %129 %76 = load i32, ptr %11, align 4 %77 = shl i32 %76, 8 %78 = load ptr, ptr %10, align 8 %79 = call i32 @fgetc(ptr noundef %78) %80 = or i32 %77, %79 store i32 %80, ptr %11, align 4 %81 = load i32, ptr %11, align 4 switch i32 %81, label %126 [ i32 1380533830, label %82 i32 1279873876, label %87 i32 1635150184, label %92 i32 1937011304, label %92 i32 1937011302, label %92 i32 1247104587, label %92 i32 1768192049, label %92 i32 1684892776, label %92 i32 1768842360, label %92 i32 1769484336, label %92 i32 1769484337, label %92 i32 808548194, label %92 i32 808613730, label %92 i32 808679266, label %92 i32 808477794, label %92 i32 808477795, label %92 i32 808476511, label %92 i32 1230194260, label %92 i32 1230197315, label %92 i32 1229865293, label %92 i32 1230193226, label %92 i32 1229017684, label %92 i32 1229147984, label %92 i32 1229147476, label %92 ] 82: ; preds = %75 %83 = load ptr, ptr %10, align 8 %84 = call i32 @fread(ptr noundef %12, i32 noundef 4, i32 noundef 1, ptr noundef %83) %85 = load ptr, ptr %10, align 8 %86 = call i32 @getid(ptr noundef %85) store i32 %86, ptr %11, align 4 br label %141 87: ; preds = %75 %88 = load ptr, ptr %10, align 8 %89 = call i32 @fread(ptr noundef %12, i32 noundef 4, i32 noundef 1, ptr noundef %88) %90 = load ptr, ptr %10, align 8 %91 = call i32 @getid(ptr noundef %90) store i32 %91, ptr %11, align 4 br label %141 92: ; preds = %75, %75, %75, %75, %75, %75, %75, %75, %75, %75, %75, %75, %75, %75, %75, %75, %75, %75, %75, %75, %75, %75 %93 = load ptr, ptr %10, align 8 %94 = call i32 @ftell(ptr noundef %93) store i32 %94, ptr %6, align 4 %95 = load i32, ptr %7, align 4 %96 = icmp ne i32 %95, 0 br i1 %96, label %97, label %115 97: ; preds = %92 %98 = load i32, ptr %9, align 4 %99 = icmp ne i32 %98, 0 br i1 %99, label %100, label %115 100: ; preds = %97 %101 = load ptr, ptr %10, align 8 %102 = load i32, ptr %7, align 4 %103 = load i32, ptr @SEEK_SET, align 4 %104 = call i32 @fseek(ptr noundef %101, i32 noundef %102, i32 noundef %103) %105 = load i32, ptr %6, align 4 %106 = load i32, ptr %7, align 4 %107 = sub i32 %105, %106 %108 = sub i32 %107, 8 store i32 %108, ptr %12, align 4 %109 = load ptr, ptr %10, align 8 %110 = call i32 @fwrite(ptr noundef %12, i32 noundef 4, i32 noundef 1, ptr noundef %109) %111 = load ptr, ptr %10, align 8 %112 = load i32, ptr %6, align 4 %113 = load i32, ptr @SEEK_SET, align 4 %114 = call i32 @fseek(ptr noundef %111, i32 noundef %112, i32 noundef %113) store i32 0, ptr %7, align 4 br label %115 115: ; preds = %100, %97, %92 %116 = load ptr, ptr %10, align 8 %117 = call i32 @fread(ptr noundef %12, i32 noundef 4, i32 noundef 1, ptr noundef %116) %118 = load i32, ptr %12, align 4 %119 = and i32 %118, 1 %120 = load i32, ptr %12, align 4 %121 = add i32 %120, %119 store i32 %121, ptr %12, align 4 %122 = load ptr, ptr %10, align 8 %123 = load i32, ptr %12, align 4 %124 = load i32, ptr @SEEK_CUR, align 4 %125 = call i32 @fseek(ptr noundef %122, i32 noundef %123, i32 noundef %124) br label %141 126: ; preds = %75 %127 = load i32, ptr %6, align 4 %128 = icmp ne i32 %127, 0 br i1 %128, label %135, label %129 129: ; preds = %126 %130 = load i32, ptr %8, align 4 %131 = add i32 %130, 1 store i32 %131, ptr %8, align 4 %132 = load ptr, ptr %10, align 8 %133 = call i64 @feof(ptr noundef %132) %134 = icmp ne i64 %133, 0 br i1 %134, label %._crit_edge1, label %75 135: ; preds = %126 %136 = load ptr, ptr %10, align 8 %137 = load i32, ptr %6, align 4 %138 = load i32, ptr @SEEK_SET, align 4 %139 = call i32 @fseek(ptr noundef %136, i32 noundef %137, i32 noundef %138) %140 = load i32, ptr %6, align 4 store i32 %140, ptr %7, align 4 store i32 0, ptr %6, align 4 br label %58 141: ; preds = %115, %87, %82 store i32 0, ptr %8, align 4 br label %57 142: ; preds = %74 %143 = load i32, ptr %3, align 4 ret i32 %143 } declare i32 @printf(ptr noundef, ptr noundef) #1 ; Function Attrs: noreturn declare i32 @exit(i32 noundef) #2 declare i32 @strcmp(ptr noundef, ptr noundef) #1 declare ptr @fopen(ptr noundef, ptr noundef) #1 declare i32 @perror(ptr noundef) #1 declare i32 @fgetc(ptr noundef) #1 declare i64 @feof(ptr noundef) #1 declare i32 @fread(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 declare i32 @getid(ptr noundef) #1 declare i32 @ftell(ptr noundef) #1 declare i32 @fseek(ptr noundef, i32 noundef, i32 noundef) #1 declare i32 @fwrite(ptr noundef, i32 noundef, i32 noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } 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/tmpr3af4il5.c' source_filename = "/tmp/tmpr3af4il5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"out of memory\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @readLine() #0 { %1 = alloca ptr, align 8 %2 = call i64 @calloc(i32 noundef 1, i32 noundef 1) %3 = inttoptr i64 %2 to ptr store ptr %3, ptr %1, align 8 %4 = load ptr, ptr %1, align 8 %5 = icmp eq ptr %4, null br i1 %5, label %6, label %8 6: ; preds = %0 %7 = call i32 @error(ptr noundef @.str) br label %8 8: ; preds = %6, %0 %9 = load ptr, ptr %1, align 8 %10 = call ptr @readLineHelper(ptr noundef %9, i32 noundef 16) ret ptr %10 } declare i64 @calloc(i32 noundef, i32 noundef) #1 declare i32 @error(ptr noundef) #1 declare ptr @readLineHelper(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/tmpr3af4il5.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"out of memory\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local ptr @readLine() #0 { %1 = alloca ptr, align 8 %2 = call i64 @calloc(i32 noundef 1, i32 noundef 1) %3 = inttoptr i64 %2 to ptr store ptr %3, ptr %1, align 8 %4 = load ptr, ptr %1, align 8 %5 = icmp eq ptr %4, null br i1 %5, label %6, label %8 6: ; preds = %0 %7 = call i32 @error(ptr noundef @.str) br label %8 8: ; preds = %6, %0 %9 = load ptr, ptr %1, align 8 %10 = call ptr @readLineHelper(ptr noundef %9, i32 noundef 16) ret ptr %10 } declare i64 @calloc(i32 noundef, i32 noundef) #1 declare i32 @error(ptr noundef) #1 declare ptr @readLineHelper(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/tmp1401assc.c' source_filename = "/tmp/tmp1401assc.c" target datalayout = "e-m:e-p270: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"Podaj liczbe calkowita 'n' : \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%i\00", align 1 @.str.2 = private unnamed_addr constant [37 x i8] c"Podaj liczbe calkowita 'k', k=/=0 : \00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"zle k\0A\00", align 1 @.str.4 = private unnamed_addr constant [23 x i8] c"Iloraz calkowity : %i\0A\00", align 1 @.str.5 = private unnamed_addr constant [25 x i8] c"Reszta z dzielenia : %i\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 (ptr, ...) @printf(ptr noundef @.str) %7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) %10 = load i32, ptr %3, align 4 %11 = icmp eq i32 %10, 0 br i1 %11, label %12, label %14 12: ; preds = %0 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) store i32 0, ptr %1, align 4 br label %22 14: ; preds = %0 %15 = load i32, ptr %2, align 4 %16 = load i32, ptr %3, align 4 %17 = call i32 @obliczenia(ptr noundef %5, ptr noundef %4, i32 noundef %15, i32 noundef %16) %18 = load i32, ptr %5, align 4 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %18) %20 = load i32, ptr %4, align 4 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %20) store i32 0, ptr %1, align 4 br label %22 22: ; preds = %14, %12 %23 = load i32, ptr %1, align 4 ret i32 %23 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @obliczenia(ptr noundef, 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/tmp1401assc.c" target datalayout = "e-m:e-p270: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"Podaj liczbe calkowita 'n' : \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%i\00", align 1 @.str.2 = private unnamed_addr constant [37 x i8] c"Podaj liczbe calkowita 'k', k=/=0 : \00", align 1 @.str.3 = private unnamed_addr constant [7 x i8] c"zle k\0A\00", align 1 @.str.4 = private unnamed_addr constant [23 x i8] c"Iloraz calkowity : %i\0A\00", align 1 @.str.5 = private unnamed_addr constant [25 x i8] c"Reszta z dzielenia : %i\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 (ptr, ...) @printf(ptr noundef @.str) %7 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.2) %9 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %3) %10 = load i32, ptr %3, align 4 %11 = icmp eq i32 %10, 0 br i1 %11, label %12, label %14 12: ; preds = %0 %13 = call i32 (ptr, ...) @printf(ptr noundef @.str.3) store i32 0, ptr %1, align 4 br label %22 14: ; preds = %0 %15 = load i32, ptr %2, align 4 %16 = load i32, ptr %3, align 4 %17 = call i32 @obliczenia(ptr noundef %5, ptr noundef %4, i32 noundef %15, i32 noundef %16) %18 = load i32, ptr %5, align 4 %19 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %18) %20 = load i32, ptr %4, align 4 %21 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, i32 noundef %20) store i32 0, ptr %1, align 4 br label %22 22: ; preds = %14, %12 %23 = load i32, ptr %1, align 4 ret i32 %23 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 declare i32 @obliczenia(ptr noundef, 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/tmprvqkmp0m.c' source_filename = "/tmp/tmprvqkmp0m.c" target datalayout = "e-m:e-p270: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 { i64 } @.str = private unnamed_addr constant [5 x i8] c"file\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [20 x i8] c"Error openfing file\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"Error fstat\00", align 1 @.str.3 = private unnamed_addr constant [27 x i8] c"Error on sending file size\00", align 1 @BUFSIZ = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @send_file(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca %struct.stat, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 store i32 %0, ptr %2, align 4 store i64 0, ptr %5, align 8 store i64 0, ptr %6, align 8 store i64 0, ptr %7, align 8 %8 = load i32, ptr @O_RDONLY, align 4 %9 = call i32 @open(ptr noundef @.str, i32 noundef %8) store i32 %9, ptr %3, align 4 %10 = load i32, ptr %3, align 4 %11 = icmp slt i32 %10, 0 br i1 %11, label %12, label %14 12: ; preds = %1 %13 = call i32 @error_msg_and_exit(ptr noundef @.str.1) br label %14 14: ; preds = %12, %1 %15 = load i32, ptr %3, align 4 %16 = call i64 @fstat(i32 noundef %15, ptr noundef %4) %17 = icmp slt i64 %16, 0 br i1 %17, label %18, label %20 18: ; preds = %14 %19 = call i32 @error_msg_and_exit(ptr noundef @.str.2) br label %20 20: ; preds = %18, %14 %21 = load i32, ptr %2, align 4 %22 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 0 %23 = call i64 @send(i32 noundef %21, ptr noundef %22, i32 noundef 8, i32 noundef 0) %24 = icmp slt i64 %23, 0 br i1 %24, label %25, label %27 25: ; preds = %20 %26 = call i32 @error_msg_and_exit(ptr noundef @.str.3) br label %27 27: ; preds = %25, %20 %28 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 0 %29 = load i64, ptr %28, align 8 store i64 %29, ptr %5, align 8 br label %30 30: ; preds = %41, %27 %31 = load i32, ptr %2, align 4 %32 = load i32, ptr %3, align 4 %33 = load i32, ptr @BUFSIZ, align 4 %34 = call i64 @sendfile(i32 noundef %31, i32 noundef %32, ptr noundef %7, i32 noundef %33) store i64 %34, ptr %6, align 8 %35 = icmp sgt i64 %34, 0 br i1 %35, label %36, label %39 36: ; preds = %30 %37 = load i64, ptr %5, align 8 %38 = icmp sgt i64 %37, 0 br label %39 39: ; preds = %36, %30 %40 = phi i1 [ false, %30 ], [ %38, %36 ] br i1 %40, label %41, label %42 41: ; preds = %39 br label %30, !llvm.loop !6 42: ; preds = %39 %43 = load i32, ptr %3, align 4 %44 = call i32 @close(i32 noundef %43) ret void } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @error_msg_and_exit(ptr noundef) #1 declare i64 @fstat(i32 noundef, ptr noundef) #1 declare i64 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @sendfile(i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmprvqkmp0m.c" target datalayout = "e-m:e-p270: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 { i64 } @.str = private unnamed_addr constant [5 x i8] c"file\00", align 1 @O_RDONLY = dso_local global i32 0, align 4 @.str.1 = private unnamed_addr constant [20 x i8] c"Error openfing file\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"Error fstat\00", align 1 @.str.3 = private unnamed_addr constant [27 x i8] c"Error on sending file size\00", align 1 @BUFSIZ = dso_local global i32 0, align 4 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local void @send_file(i32 noundef %0) #0 { %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca %struct.stat, align 8 %5 = alloca i64, align 8 %6 = alloca i64, align 8 %7 = alloca i64, align 8 store i32 %0, ptr %2, align 4 store i64 0, ptr %5, align 8 store i64 0, ptr %6, align 8 store i64 0, ptr %7, align 8 %8 = load i32, ptr @O_RDONLY, align 4 %9 = call i32 @open(ptr noundef @.str, i32 noundef %8) store i32 %9, ptr %3, align 4 %10 = load i32, ptr %3, align 4 %11 = icmp slt i32 %10, 0 br i1 %11, label %12, label %14 12: ; preds = %1 %13 = call i32 @error_msg_and_exit(ptr noundef @.str.1) br label %14 14: ; preds = %12, %1 %15 = load i32, ptr %3, align 4 %16 = call i64 @fstat(i32 noundef %15, ptr noundef %4) %17 = icmp slt i64 %16, 0 br i1 %17, label %18, label %20 18: ; preds = %14 %19 = call i32 @error_msg_and_exit(ptr noundef @.str.2) br label %20 20: ; preds = %18, %14 %21 = load i32, ptr %2, align 4 %22 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 0 %23 = call i64 @send(i32 noundef %21, ptr noundef %22, i32 noundef 8, i32 noundef 0) %24 = icmp slt i64 %23, 0 br i1 %24, label %25, label %27 25: ; preds = %20 %26 = call i32 @error_msg_and_exit(ptr noundef @.str.3) br label %27 27: ; preds = %25, %20 %28 = getelementptr inbounds %struct.stat, ptr %4, i32 0, i32 0 %29 = load i64, ptr %28, align 8 store i64 %29, ptr %5, align 8 br label %30 30: ; preds = %39, %27 %31 = load i32, ptr %2, align 4 %32 = load i32, ptr %3, align 4 %33 = load i32, ptr @BUFSIZ, align 4 %34 = call i64 @sendfile(i32 noundef %31, i32 noundef %32, ptr noundef %7, i32 noundef %33) store i64 %34, ptr %6, align 8 %35 = icmp sgt i64 %34, 0 br i1 %35, label %36, label %39 36: ; preds = %30 %37 = load i64, ptr %5, align 8 %38 = icmp sgt i64 %37, 0 br label %39 39: ; preds = %36, %30 %40 = phi i1 [ false, %30 ], [ %38, %36 ] br i1 %40, label %30, label %41, !llvm.loop !6 41: ; preds = %39 %42 = load i32, ptr %3, align 4 %43 = call i32 @close(i32 noundef %42) ret void } declare i32 @open(ptr noundef, i32 noundef) #1 declare i32 @error_msg_and_exit(ptr noundef) #1 declare i64 @fstat(i32 noundef, ptr noundef) #1 declare i64 @send(i32 noundef, ptr noundef, i32 noundef, i32 noundef) #1 declare i64 @sendfile(i32 noundef, i32 noundef, ptr noundef, i32 noundef) #1 declare i32 @close(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmptj191z0s.c' source_filename = "/tmp/tmptj191z0s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_SUCCESS = 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/tmptj191z0s.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @EXIT_SUCCESS = 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/tmpa48kgh58.c' source_filename = "/tmp/tmpa48kgh58.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"%02x\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @save_page(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i32 0, ptr %6, align 4 store i32 0, ptr %5, align 4 br label %7 7: ; preds = %26, %2 %8 = load i32, ptr %5, align 4 %9 = icmp slt i32 %8, 256 br i1 %9, label %10, label %29 10: ; preds = %7 %11 = load i32, ptr %6, align 4 %12 = icmp sge i32 %11, 40 br i1 %12, label %13, label %16 13: ; preds = %10 %14 = load ptr, ptr %3, align 8 %15 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %14, ptr noundef @.str) store i32 0, ptr %6, align 4 br label %16 16: ; preds = %13, %10 %17 = load ptr, ptr %3, align 8 %18 = load ptr, ptr %4, align 8 %19 = load i8, ptr %18, align 1 %20 = zext i8 %19 to i32 %21 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %17, ptr noundef @.str.1, i32 noundef %20) %22 = load i32, ptr %6, align 4 %23 = add nsw i32 %22, 1 store i32 %23, ptr %6, align 4 %24 = load ptr, ptr %4, align 8 %25 = getelementptr inbounds i8, ptr %24, i32 1 store ptr %25, ptr %4, align 8 br label %26 26: ; preds = %16 %27 = load i32, ptr %5, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %5, align 4 br label %7, !llvm.loop !6 29: ; preds = %7 %30 = load ptr, ptr %3, align 8 %31 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %30, ptr noundef @.str) ret i32 1 } 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpa48kgh58.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [2 x i8] c"\0A\00", align 1 @.str.1 = private unnamed_addr constant [5 x i8] c"%02x\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @save_page(ptr noundef %0, ptr noundef %1) #0 { %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca i32, align 4 %6 = alloca i32, align 4 store ptr %0, ptr %3, align 8 store ptr %1, ptr %4, align 8 store i32 0, ptr %6, align 4 store i32 0, ptr %5, align 4 %7 = load i32, ptr %5, align 4 %8 = icmp slt i32 %7, 256 br i1 %8, label %.lr.ph, label %30 .lr.ph: ; preds = %2 br label %9 9: ; preds = %.lr.ph, %25 %10 = load i32, ptr %6, align 4 %11 = icmp sge i32 %10, 40 br i1 %11, label %12, label %15 12: ; preds = %9 %13 = load ptr, ptr %3, align 8 %14 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %13, ptr noundef @.str) store i32 0, ptr %6, align 4 br label %15 15: ; preds = %12, %9 %16 = load ptr, ptr %3, align 8 %17 = load ptr, ptr %4, align 8 %18 = load i8, ptr %17, align 1 %19 = zext i8 %18 to i32 %20 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %16, ptr noundef @.str.1, i32 noundef %19) %21 = load i32, ptr %6, align 4 %22 = add nsw i32 %21, 1 store i32 %22, ptr %6, align 4 %23 = load ptr, ptr %4, align 8 %24 = getelementptr inbounds i8, ptr %23, i32 1 store ptr %24, ptr %4, align 8 br label %25 25: ; preds = %15 %26 = load i32, ptr %5, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %5, align 4 %28 = load i32, ptr %5, align 4 %29 = icmp slt i32 %28, 256 br i1 %29, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %25 br label %30 30: ; preds = %._crit_edge, %2 %31 = load ptr, ptr %3, align 8 %32 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %31, ptr noundef @.str) ret i32 1 } 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp5trltn1j.c' source_filename = "/tmp/tmp5trltn1j.c" target datalayout = "e-m:e-p270: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 @.str.1 = private unnamed_addr constant [18 x i8] c"&array[%d]... %p\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 [5 x i32], align 16 %7 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %7, align 4 br label %8 8: ; preds = %16, %2 %9 = load i32, ptr %7, align 4 %10 = icmp slt i32 %9, 5 br i1 %10, label %11, label %19 11: ; preds = %8 %12 = load i32, ptr %7, align 4 %13 = load i32, ptr %7, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds [5 x i32], ptr %6, i64 0, i64 %14 store i32 %12, ptr %15, align 4 br label %16 16: ; preds = %11 %17 = load i32, ptr %7, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %7, align 4 br label %8, !llvm.loop !6 19: ; preds = %8 store i32 0, ptr %7, align 4 br label %20 20: ; preds = %29, %19 %21 = load i32, ptr %7, align 4 %22 = icmp slt i32 %21, 5 br i1 %22, label %23, label %32 23: ; preds = %20 %24 = load i32, ptr %7, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds [5 x i32], ptr %6, i64 0, i64 %25 %27 = load i32, ptr %26, align 4 %28 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %27) br label %29 29: ; preds = %23 %30 = load i32, ptr %7, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %7, align 4 br label %20, !llvm.loop !8 32: ; preds = %20 store i32 0, ptr %7, align 4 br label %33 33: ; preds = %42, %32 %34 = load i32, ptr %7, align 4 %35 = icmp slt i32 %34, 5 br i1 %35, label %36, label %45 36: ; preds = %33 %37 = load i32, ptr %7, align 4 %38 = load i32, ptr %7, align 4 %39 = sext i32 %38 to i64 %40 = getelementptr inbounds [5 x i32], ptr %6, i64 0, i64 %39 %41 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %37, ptr noundef %40) br label %42 42: ; preds = %36 %43 = load i32, ptr %7, align 4 %44 = add nsw i32 %43, 1 store i32 %44, ptr %7, align 4 br label %33, !llvm.loop !9 45: ; preds = %33 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp5trltn1j.c" target datalayout = "e-m:e-p270: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 @.str.1 = private unnamed_addr constant [18 x i8] c"&array[%d]... %p\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 [5 x i32], align 16 %7 = alloca i32, align 4 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 store i32 0, ptr %7, align 4 %8 = load i32, ptr %7, align 4 %9 = icmp slt i32 %8, 5 br i1 %9, label %.lr.ph, label %20 .lr.ph: ; preds = %2 br label %10 10: ; preds = %.lr.ph, %15 %11 = load i32, ptr %7, align 4 %12 = load i32, ptr %7, align 4 %13 = sext i32 %12 to i64 %14 = getelementptr inbounds [5 x i32], ptr %6, i64 0, i64 %13 store i32 %11, ptr %14, align 4 br label %15 15: ; preds = %10 %16 = load i32, ptr %7, align 4 %17 = add nsw i32 %16, 1 store i32 %17, ptr %7, align 4 %18 = load i32, ptr %7, align 4 %19 = icmp slt i32 %18, 5 br i1 %19, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %15 br label %20 20: ; preds = %._crit_edge, %2 store i32 0, ptr %7, align 4 %21 = load i32, ptr %7, align 4 %22 = icmp slt i32 %21, 5 br i1 %22, label %.lr.ph2, label %34 .lr.ph2: ; preds = %20 br label %23 23: ; preds = %.lr.ph2, %29 %24 = load i32, ptr %7, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds [5 x i32], ptr %6, i64 0, i64 %25 %27 = load i32, ptr %26, align 4 %28 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str, i32 noundef %27) br label %29 29: ; preds = %23 %30 = load i32, ptr %7, align 4 %31 = add nsw i32 %30, 1 store i32 %31, ptr %7, align 4 %32 = load i32, ptr %7, align 4 %33 = icmp slt i32 %32, 5 br i1 %33, label %23, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %29 br label %34 34: ; preds = %._crit_edge3, %20 store i32 0, ptr %7, align 4 %35 = load i32, ptr %7, align 4 %36 = icmp slt i32 %35, 5 br i1 %36, label %.lr.ph5, label %48 .lr.ph5: ; preds = %34 br label %37 37: ; preds = %.lr.ph5, %43 %38 = load i32, ptr %7, align 4 %39 = load i32, ptr %7, align 4 %40 = sext i32 %39 to i64 %41 = getelementptr inbounds [5 x i32], ptr %6, i64 0, i64 %40 %42 = call i32 (ptr, i32, ...) @printf(ptr noundef @.str.1, i32 noundef %38, ptr noundef %41) br label %43 43: ; preds = %37 %44 = load i32, ptr %7, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %7, align 4 %46 = load i32, ptr %7, align 4 %47 = icmp slt i32 %46, 5 br i1 %47, label %37, label %._crit_edge6, !llvm.loop !9 ._crit_edge6: ; preds = %43 br label %48 48: ; preds = %._crit_edge6, %34 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"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"} !8 = distinct !{!8, !7} !9 = distinct !{!9, !7}
; ModuleID = '/tmp/tmp50i42h0v.c' source_filename = "/tmp/tmp50i42h0v.c" target datalayout = "e-m:e-p270: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 @get_basename(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %6 = load ptr, ptr %2, align 8 %7 = call i32 @strlen(ptr noundef %6) %8 = add nsw i32 %7, 2 %9 = sext i32 %8 to i64 %10 = mul i64 1, %9 %11 = trunc i64 %10 to i32 %12 = call ptr @MALLOC(i32 noundef %11) store ptr %12, ptr %3, align 8 %13 = load ptr, ptr %2, align 8 %14 = call i32 @strlen(ptr noundef %13) %15 = add nsw i32 %14, 2 %16 = sext i32 %15 to i64 %17 = mul i64 1, %16 %18 = trunc i64 %17 to i32 %19 = call ptr @MALLOC(i32 noundef %18) store ptr %19, ptr %4, align 8 %20 = load ptr, ptr %2, align 8 %21 = load ptr, ptr %3, align 8 %22 = load ptr, ptr %4, align 8 %23 = call i32 @split_dir_and_file(ptr noundef %20, ptr noundef %21, ptr noundef %22) %24 = load ptr, ptr %3, align 8 %25 = call i32 @free(ptr noundef %24) %26 = load ptr, ptr %4, align 8 %27 = call ptr @findExt(ptr noundef %26) store ptr %27, ptr %5, align 8 %28 = load ptr, ptr %5, align 8 %29 = icmp ne ptr %28, null br i1 %29, label %30, label %32 30: ; preds = %1 %31 = load ptr, ptr %5, align 8 store i8 0, ptr %31, align 1 br label %32 32: ; preds = %30, %1 %33 = load ptr, ptr %4, align 8 ret ptr %33 } declare ptr @MALLOC(i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @split_dir_and_file(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 declare ptr @findExt(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/tmp50i42h0v.c" target datalayout = "e-m:e-p270: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 @get_basename(ptr noundef %0) #0 { %2 = alloca ptr, align 8 %3 = alloca ptr, align 8 %4 = alloca ptr, align 8 %5 = alloca ptr, align 8 store ptr %0, ptr %2, align 8 %6 = load ptr, ptr %2, align 8 %7 = call i32 @strlen(ptr noundef %6) %8 = add nsw i32 %7, 2 %9 = sext i32 %8 to i64 %10 = mul i64 1, %9 %11 = trunc i64 %10 to i32 %12 = call ptr @MALLOC(i32 noundef %11) store ptr %12, ptr %3, align 8 %13 = load ptr, ptr %2, align 8 %14 = call i32 @strlen(ptr noundef %13) %15 = add nsw i32 %14, 2 %16 = sext i32 %15 to i64 %17 = mul i64 1, %16 %18 = trunc i64 %17 to i32 %19 = call ptr @MALLOC(i32 noundef %18) store ptr %19, ptr %4, align 8 %20 = load ptr, ptr %2, align 8 %21 = load ptr, ptr %3, align 8 %22 = load ptr, ptr %4, align 8 %23 = call i32 @split_dir_and_file(ptr noundef %20, ptr noundef %21, ptr noundef %22) %24 = load ptr, ptr %3, align 8 %25 = call i32 @free(ptr noundef %24) %26 = load ptr, ptr %4, align 8 %27 = call ptr @findExt(ptr noundef %26) store ptr %27, ptr %5, align 8 %28 = load ptr, ptr %5, align 8 %29 = icmp ne ptr %28, null br i1 %29, label %30, label %32 30: ; preds = %1 %31 = load ptr, ptr %5, align 8 store i8 0, ptr %31, align 1 br label %32 32: ; preds = %30, %1 %33 = load ptr, ptr %4, align 8 ret ptr %33 } declare ptr @MALLOC(i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare i32 @split_dir_and_file(ptr noundef, ptr noundef, ptr noundef) #1 declare i32 @free(ptr noundef) #1 declare ptr @findExt(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/tmpblh7o9qo.c' source_filename = "/tmp/tmpblh7o9qo.c" target datalayout = "e-m:e-p270: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 @do_signal() #0 { %1 = call i32 @exit(i32 noundef -6) #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/tmpblh7o9qo.c" target datalayout = "e-m:e-p270: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 @do_signal() #0 { %1 = call i32 @exit(i32 noundef -6) #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/tmpy56mz3yp.c' source_filename = "/tmp/tmpy56mz3yp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [22 x i8] c"Inserisci il numero: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"%d! = %d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 1, ptr %4, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) %6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) store i32 0, ptr %3, align 4 br label %7 7: ; preds = %17, %0 %8 = load i32, ptr %3, align 4 %9 = load i32, ptr %2, align 4 %10 = icmp slt i32 %8, %9 br i1 %10, label %11, label %20 11: ; preds = %7 %12 = load i32, ptr %4, align 4 %13 = load i32, ptr %2, align 4 %14 = load i32, ptr %3, align 4 %15 = sub nsw i32 %13, %14 %16 = mul nsw i32 %12, %15 store i32 %16, ptr %4, align 4 br label %17 17: ; preds = %11 %18 = load i32, ptr %3, align 4 %19 = add nsw i32 %18, 1 store i32 %19, ptr %3, align 4 br label %7, !llvm.loop !6 20: ; preds = %7 %21 = load i32, ptr %2, align 4 %22 = load i32, ptr %4, align 4 %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %21, i32 noundef %22) %24 = load i32, ptr %1, align 4 ret i32 %24 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpy56mz3yp.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [22 x i8] c"Inserisci il numero: \00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"%d\00", align 1 @.str.2 = private unnamed_addr constant [9 x i8] c"%d! = %d\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 1, ptr %4, align 4 %5 = call i32 (ptr, ...) @printf(ptr noundef @.str) %6 = call i32 @scanf(ptr noundef @.str.1, ptr noundef %2) store i32 0, ptr %3, align 4 %7 = load i32, ptr %3, align 4 %8 = load i32, ptr %2, align 4 %9 = icmp slt i32 %7, %8 br i1 %9, label %.lr.ph, label %22 .lr.ph: ; preds = %0 br label %10 10: ; preds = %.lr.ph, %16 %11 = load i32, ptr %4, align 4 %12 = load i32, ptr %2, align 4 %13 = load i32, ptr %3, align 4 %14 = sub nsw i32 %12, %13 %15 = mul nsw i32 %11, %14 store i32 %15, ptr %4, align 4 br label %16 16: ; preds = %10 %17 = load i32, ptr %3, align 4 %18 = add nsw i32 %17, 1 store i32 %18, ptr %3, align 4 %19 = load i32, ptr %3, align 4 %20 = load i32, ptr %2, align 4 %21 = icmp slt i32 %19, %20 br i1 %21, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %16 br label %22 22: ; preds = %._crit_edge, %0 %23 = load i32, ptr %2, align 4 %24 = load i32, ptr %4, align 4 %25 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %23, i32 noundef %24) %26 = load i32, ptr %1, align 4 ret i32 %26 } declare i32 @printf(ptr noundef, ...) #1 declare i32 @scanf(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpvv8ayulv.c' source_filename = "/tmp/tmpvv8ayulv.c" target datalayout = "e-m:e-p270: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 @fill_transmit_buffer(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 = %44, %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 %47 10: ; preds = %6 %11 = call i64 (...) @rand() %12 = trunc i64 %11 to i8 %13 = load ptr, ptr %3, align 8 %14 = load i32, ptr %5, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds i8, ptr %13, i64 %15 store i8 %12, ptr %16, align 1 %17 = load ptr, ptr %3, align 8 %18 = load i32, ptr %5, align 4 %19 = sext i32 %18 to i64 %20 = getelementptr inbounds i8, ptr %17, i64 %19 %21 = load i8, ptr %20, align 1 %22 = sext i8 %21 to i32 %23 = icmp slt i32 %22, 32 br i1 %23, label %40, label %24 24: ; preds = %10 %25 = load ptr, ptr %3, align 8 %26 = load i32, ptr %5, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds i8, ptr %25, i64 %27 %29 = load i8, ptr %28, align 1 %30 = sext i8 %29 to i32 %31 = icmp sgt i32 %30, 126 br i1 %31, label %40, label %32 32: ; preds = %24 %33 = load ptr, ptr %3, align 8 %34 = load i32, ptr %5, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i8, ptr %33, i64 %35 %37 = load i8, ptr %36, align 1 %38 = sext i8 %37 to i32 %39 = icmp eq i32 %38, 37 br i1 %39, label %40, label %43 40: ; preds = %32, %24, %10 %41 = load i32, ptr %5, align 4 %42 = add nsw i32 %41, -1 store i32 %42, ptr %5, align 4 br label %43 43: ; preds = %40, %32 br label %44 44: ; preds = %43 %45 = load i32, ptr %5, align 4 %46 = add nsw i32 %45, 1 store i32 %46, ptr %5, align 4 br label %6, !llvm.loop !6 47: ; preds = %6 ret void } declare i64 @rand(...) #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/tmpvv8ayulv.c" target datalayout = "e-m:e-p270: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 @fill_transmit_buffer(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 %49 .lr.ph: ; preds = %2 br label %9 9: ; preds = %.lr.ph, %43 %10 = call i64 (...) @rand() %11 = trunc i64 %10 to i8 %12 = load ptr, ptr %3, align 8 %13 = load i32, ptr %5, align 4 %14 = sext i32 %13 to i64 %15 = getelementptr inbounds i8, ptr %12, i64 %14 store i8 %11, ptr %15, align 1 %16 = load ptr, ptr %3, align 8 %17 = load i32, ptr %5, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds i8, ptr %16, i64 %18 %20 = load i8, ptr %19, align 1 %21 = sext i8 %20 to i32 %22 = icmp slt i32 %21, 32 br i1 %22, label %39, label %23 23: ; preds = %9 %24 = load ptr, ptr %3, align 8 %25 = load i32, ptr %5, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i8, ptr %24, i64 %26 %28 = load i8, ptr %27, align 1 %29 = sext i8 %28 to i32 %30 = icmp sgt i32 %29, 126 br i1 %30, label %39, label %31 31: ; preds = %23 %32 = load ptr, ptr %3, align 8 %33 = load i32, ptr %5, 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 eq i32 %37, 37 br i1 %38, label %39, label %42 39: ; preds = %31, %23, %9 %40 = load i32, ptr %5, align 4 %41 = add nsw i32 %40, -1 store i32 %41, ptr %5, align 4 br label %42 42: ; preds = %39, %31 br label %43 43: ; preds = %42 %44 = load i32, ptr %5, align 4 %45 = add nsw i32 %44, 1 store i32 %45, ptr %5, align 4 %46 = load i32, ptr %5, align 4 %47 = load i32, ptr %4, align 4 %48 = icmp slt i32 %46, %47 br i1 %48, label %9, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %43 br label %49 49: ; preds = %._crit_edge, %2 ret void } declare i64 @rand(...) #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/tmpcuf7vnsn.c' source_filename = "/tmp/tmpcuf7vnsn.c" target datalayout = "e-m:e-p270: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 @rand_partition(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 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = 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 %11 = load i32, ptr %5, align 4 %12 = sub nsw i32 %11, 1 store i32 %12, ptr %7, align 4 %13 = call i64 @time(ptr noundef null) %14 = trunc i64 %13 to i32 %15 = call i32 @srand(i32 noundef %14) %16 = call i32 (...) @rand() %17 = load i32, ptr %6, align 4 %18 = load i32, ptr %5, align 4 %19 = sub nsw i32 %17, %18 %20 = add nsw i32 %19, 1 %21 = srem i32 %16, %20 %22 = load i32, ptr %5, align 4 %23 = add nsw i32 %21, %22 store i32 %23, ptr %9, align 4 %24 = load ptr, ptr %4, align 8 %25 = load i32, ptr %6, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i32, ptr %24, i64 %26 %28 = load ptr, ptr %4, align 8 %29 = load i32, ptr %9, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i32, ptr %28, i64 %30 %32 = call i32 @swap(ptr noundef %27, ptr noundef %31) %33 = load ptr, ptr %4, align 8 %34 = load i32, ptr %6, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i32, ptr %33, i64 %35 %37 = load i32, ptr %36, align 4 store i32 %37, ptr %10, align 4 %38 = load i32, ptr %5, align 4 store i32 %38, ptr %8, align 4 br label %39 39: ; preds = %64, %3 %40 = load i32, ptr %8, align 4 %41 = load i32, ptr %6, align 4 %42 = icmp slt i32 %40, %41 br i1 %42, label %43, label %67 43: ; preds = %39 %44 = load ptr, ptr %4, align 8 %45 = load i32, ptr %8, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds i32, ptr %44, i64 %46 %48 = load i32, ptr %47, align 4 %49 = load i32, ptr %10, align 4 %50 = icmp sle i32 %48, %49 br i1 %50, label %51, label %63 51: ; preds = %43 %52 = load i32, ptr %7, align 4 %53 = add nsw i32 %52, 1 store i32 %53, ptr %7, align 4 %54 = load ptr, ptr %4, align 8 %55 = load i32, ptr %7, align 4 %56 = sext i32 %55 to i64 %57 = getelementptr inbounds i32, ptr %54, i64 %56 %58 = load ptr, ptr %4, align 8 %59 = load i32, ptr %8, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds i32, ptr %58, i64 %60 %62 = call i32 @swap(ptr noundef %57, ptr noundef %61) br label %63 63: ; preds = %51, %43 br label %64 64: ; preds = %63 %65 = load i32, ptr %8, align 4 %66 = add nsw i32 %65, 1 store i32 %66, ptr %8, align 4 br label %39, !llvm.loop !6 67: ; preds = %39 %68 = load ptr, ptr %4, align 8 %69 = load i32, ptr %6, align 4 %70 = sext i32 %69 to i64 %71 = getelementptr inbounds i32, ptr %68, i64 %70 %72 = load ptr, ptr %4, align 8 %73 = load i32, ptr %7, align 4 %74 = add nsw i32 %73, 1 %75 = sext i32 %74 to i64 %76 = getelementptr inbounds i32, ptr %72, i64 %75 %77 = call i32 @swap(ptr noundef %71, ptr noundef %76) %78 = load i32, ptr %7, align 4 %79 = add nsw i32 %78, 1 ret i32 %79 } declare i32 @srand(i32 noundef) #1 declare i64 @time(ptr noundef) #1 declare i32 @rand(...) #1 declare i32 @swap(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpcuf7vnsn.c" target datalayout = "e-m:e-p270: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 @rand_partition(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 %7 = alloca i32, align 4 %8 = alloca i32, align 4 %9 = alloca i32, align 4 %10 = 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 %11 = load i32, ptr %5, align 4 %12 = sub nsw i32 %11, 1 store i32 %12, ptr %7, align 4 %13 = call i64 @time(ptr noundef null) %14 = trunc i64 %13 to i32 %15 = call i32 @srand(i32 noundef %14) %16 = call i32 (...) @rand() %17 = load i32, ptr %6, align 4 %18 = load i32, ptr %5, align 4 %19 = sub nsw i32 %17, %18 %20 = add nsw i32 %19, 1 %21 = srem i32 %16, %20 %22 = load i32, ptr %5, align 4 %23 = add nsw i32 %21, %22 store i32 %23, ptr %9, align 4 %24 = load ptr, ptr %4, align 8 %25 = load i32, ptr %6, align 4 %26 = sext i32 %25 to i64 %27 = getelementptr inbounds i32, ptr %24, i64 %26 %28 = load ptr, ptr %4, align 8 %29 = load i32, ptr %9, align 4 %30 = sext i32 %29 to i64 %31 = getelementptr inbounds i32, ptr %28, i64 %30 %32 = call i32 @swap(ptr noundef %27, ptr noundef %31) %33 = load ptr, ptr %4, align 8 %34 = load i32, ptr %6, align 4 %35 = sext i32 %34 to i64 %36 = getelementptr inbounds i32, ptr %33, i64 %35 %37 = load i32, ptr %36, align 4 store i32 %37, ptr %10, align 4 %38 = load i32, ptr %5, align 4 store i32 %38, ptr %8, align 4 %39 = load i32, ptr %8, align 4 %40 = load i32, ptr %6, align 4 %41 = icmp slt i32 %39, %40 br i1 %41, label %.lr.ph, label %69 .lr.ph: ; preds = %3 br label %42 42: ; preds = %.lr.ph, %63 %43 = load ptr, ptr %4, align 8 %44 = load i32, ptr %8, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds i32, ptr %43, i64 %45 %47 = load i32, ptr %46, align 4 %48 = load i32, ptr %10, align 4 %49 = icmp sle i32 %47, %48 br i1 %49, label %50, label %62 50: ; preds = %42 %51 = load i32, ptr %7, align 4 %52 = add nsw i32 %51, 1 store i32 %52, ptr %7, align 4 %53 = load ptr, ptr %4, align 8 %54 = load i32, ptr %7, align 4 %55 = sext i32 %54 to i64 %56 = getelementptr inbounds i32, ptr %53, i64 %55 %57 = load ptr, ptr %4, align 8 %58 = load i32, ptr %8, align 4 %59 = sext i32 %58 to i64 %60 = getelementptr inbounds i32, ptr %57, i64 %59 %61 = call i32 @swap(ptr noundef %56, ptr noundef %60) br label %62 62: ; preds = %50, %42 br label %63 63: ; preds = %62 %64 = load i32, ptr %8, align 4 %65 = add nsw i32 %64, 1 store i32 %65, ptr %8, align 4 %66 = load i32, ptr %8, align 4 %67 = load i32, ptr %6, align 4 %68 = icmp slt i32 %66, %67 br i1 %68, label %42, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %63 br label %69 69: ; preds = %._crit_edge, %3 %70 = load ptr, ptr %4, align 8 %71 = load i32, ptr %6, align 4 %72 = sext i32 %71 to i64 %73 = getelementptr inbounds i32, ptr %70, i64 %72 %74 = load ptr, ptr %4, align 8 %75 = load i32, ptr %7, align 4 %76 = add nsw i32 %75, 1 %77 = sext i32 %76 to i64 %78 = getelementptr inbounds i32, ptr %74, i64 %77 %79 = call i32 @swap(ptr noundef %73, ptr noundef %78) %80 = load i32, ptr %7, align 4 %81 = add nsw i32 %80, 1 ret i32 %81 } declare i32 @srand(i32 noundef) #1 declare i64 @time(ptr noundef) #1 declare i32 @rand(...) #1 declare i32 @swap(ptr noundef, ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmptj9o55us.c' source_filename = "/tmp/tmptj9o55us.c" target datalayout = "e-m:e-p270: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 [15 x i8] c"Detected gcc.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @printf(ptr noundef @.str) ret i32 0 } 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/tmptj9o55us.c" target datalayout = "e-m:e-p270: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 [15 x i8] c"Detected gcc.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @printf(ptr noundef @.str) ret i32 0 } 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/tmpv6pobsfb.c' source_filename = "/tmp/tmpv6pobsfb.c" target datalayout = "e-m:e-p270: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/tmpv6pobsfb.c" target datalayout = "e-m:e-p270: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/tmpgi3xr_jn.c' source_filename = "/tmp/tmpgi3xr_jn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SEM_VALUE_MAX = dso_local global i32 0, align 4 @INT_MAX = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [17 x i8] c"/sem_open_5-1_%d\00", align 1 @O_CREAT = dso_local global i32 0, align 4 @SEM_FAILED = dso_local global ptr null, align 8 @errno = dso_local global i64 0, align 8 @EINVAL = dso_local global i64 0, align 8 @.str.1 = private unnamed_addr constant [12 x i8] c"TEST PASSED\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"TEST FAILED\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca [50 x i8], align 16 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = load i32, ptr @SEM_VALUE_MAX, align 4 store i32 %5, ptr %4, align 4 %6 = load i32, ptr %4, align 4 %7 = load i32, ptr @INT_MAX, align 4 %8 = icmp sge i32 %6, %7 br i1 %8, label %9, label %10 9: ; preds = %0 store i32 0, ptr %1, align 4 br label %33 10: ; preds = %0 %11 = getelementptr inbounds [50 x i8], ptr %3, i64 0, i64 0 %12 = call i32 (...) @getpid() %13 = call i32 @sprintf(ptr noundef %11, ptr noundef @.str, i32 noundef %12) %14 = load i32, ptr %4, align 4 %15 = add nsw i32 %14, 1 store i32 %15, ptr %4, align 4 %16 = getelementptr inbounds [50 x i8], ptr %3, i64 0, i64 0 %17 = load i32, ptr @O_CREAT, align 4 %18 = load i32, ptr %4, align 4 %19 = call ptr @sem_open(ptr noundef %16, i32 noundef %17, i32 noundef 292, i32 noundef %18) store ptr %19, ptr %2, align 8 %20 = load ptr, ptr %2, align 8 %21 = load ptr, ptr @SEM_FAILED, align 8 %22 = icmp eq ptr %20, %21 br i1 %22, label %23, label %31 23: ; preds = %10 %24 = load i64, ptr @errno, align 8 %25 = load i64, ptr @EINVAL, align 8 %26 = icmp eq i64 %24, %25 br i1 %26, label %27, label %31 27: ; preds = %23 %28 = call i32 @puts(ptr noundef @.str.1) %29 = getelementptr inbounds [50 x i8], ptr %3, i64 0, i64 0 %30 = call i32 @sem_unlink(ptr noundef %29) store i32 0, ptr %1, align 4 br label %33 31: ; preds = %23, %10 %32 = call i32 @puts(ptr noundef @.str.2) store i32 1, ptr %1, align 4 br label %33 33: ; preds = %31, %27, %9 %34 = load i32, ptr %1, align 4 ret i32 %34 } declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @getpid(...) #1 declare ptr @sem_open(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @puts(ptr noundef) #1 declare i32 @sem_unlink(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/tmpgi3xr_jn.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @SEM_VALUE_MAX = dso_local global i32 0, align 4 @INT_MAX = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [17 x i8] c"/sem_open_5-1_%d\00", align 1 @O_CREAT = dso_local global i32 0, align 4 @SEM_FAILED = dso_local global ptr null, align 8 @errno = dso_local global i64 0, align 8 @EINVAL = dso_local global i64 0, align 8 @.str.1 = private unnamed_addr constant [12 x i8] c"TEST PASSED\00", align 1 @.str.2 = private unnamed_addr constant [12 x i8] c"TEST FAILED\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca ptr, align 8 %3 = alloca [50 x i8], align 16 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 %5 = load i32, ptr @SEM_VALUE_MAX, align 4 store i32 %5, ptr %4, align 4 %6 = load i32, ptr %4, align 4 %7 = load i32, ptr @INT_MAX, align 4 %8 = icmp sge i32 %6, %7 br i1 %8, label %9, label %10 9: ; preds = %0 store i32 0, ptr %1, align 4 br label %33 10: ; preds = %0 %11 = getelementptr inbounds [50 x i8], ptr %3, i64 0, i64 0 %12 = call i32 (...) @getpid() %13 = call i32 @sprintf(ptr noundef %11, ptr noundef @.str, i32 noundef %12) %14 = load i32, ptr %4, align 4 %15 = add nsw i32 %14, 1 store i32 %15, ptr %4, align 4 %16 = getelementptr inbounds [50 x i8], ptr %3, i64 0, i64 0 %17 = load i32, ptr @O_CREAT, align 4 %18 = load i32, ptr %4, align 4 %19 = call ptr @sem_open(ptr noundef %16, i32 noundef %17, i32 noundef 292, i32 noundef %18) store ptr %19, ptr %2, align 8 %20 = load ptr, ptr %2, align 8 %21 = load ptr, ptr @SEM_FAILED, align 8 %22 = icmp eq ptr %20, %21 br i1 %22, label %23, label %31 23: ; preds = %10 %24 = load i64, ptr @errno, align 8 %25 = load i64, ptr @EINVAL, align 8 %26 = icmp eq i64 %24, %25 br i1 %26, label %27, label %31 27: ; preds = %23 %28 = call i32 @puts(ptr noundef @.str.1) %29 = getelementptr inbounds [50 x i8], ptr %3, i64 0, i64 0 %30 = call i32 @sem_unlink(ptr noundef %29) store i32 0, ptr %1, align 4 br label %33 31: ; preds = %23, %10 %32 = call i32 @puts(ptr noundef @.str.2) store i32 1, ptr %1, align 4 br label %33 33: ; preds = %31, %27, %9 %34 = load i32, ptr %1, align 4 ret i32 %34 } declare i32 @sprintf(ptr noundef, ptr noundef, i32 noundef) #1 declare i32 @getpid(...) #1 declare ptr @sem_open(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @puts(ptr noundef) #1 declare i32 @sem_unlink(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/tmpi02azkqk.c' source_filename = "/tmp/tmpi02azkqk.c" target datalayout = "e-m:e-p270: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_un = type { i32, i32 } @AF_UNIX = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [22 x i8] c"/var/run/kropkid_sock\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @ipc_start_listener() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca %struct.sockaddr_un, align 4 %4 = alloca i32, align 4 %5 = load i32, ptr @AF_UNIX, align 4 %6 = load i32, ptr @SOCK_STREAM, align 4 %7 = call i32 @socket(i32 noundef %5, i32 noundef %6, i32 noundef 0) store i32 %7, ptr %2, align 4 %8 = load i32, ptr %2, align 4 %9 = icmp eq i32 %8, -1 br i1 %9, label %10, label %11 10: ; preds = %0 store i32 -1, ptr %1, align 4 br label %33 11: ; preds = %0 %12 = load i32, ptr @AF_UNIX, align 4 %13 = getelementptr inbounds %struct.sockaddr_un, ptr %3, i32 0, i32 1 store i32 %12, ptr %13, align 4 %14 = getelementptr inbounds %struct.sockaddr_un, ptr %3, i32 0, i32 0 %15 = load i32, ptr %14, align 4 %16 = call i32 @strcpy(i32 noundef %15, ptr noundef @.str) %17 = load i32, ptr %2, align 4 %18 = getelementptr inbounds %struct.sockaddr_un, ptr %3, i32 0, i32 0 %19 = load i32, ptr %18, align 4 %20 = call i64 @strlen(i32 noundef %19) %21 = add i64 %20, 4 %22 = call i32 @bind(i32 noundef %17, ptr noundef %3, i64 noundef %21) store i32 %22, ptr %4, align 4 %23 = load i32, ptr %4, align 4 %24 = icmp eq i32 %23, -1 br i1 %24, label %25, label %26 25: ; preds = %11 store i32 -1, ptr %1, align 4 br label %33 26: ; preds = %11 %27 = load i32, ptr %2, align 4 %28 = call i32 @listen(i32 noundef %27, i32 noundef 10) %29 = icmp eq i32 %28, -1 br i1 %29, label %30, label %31 30: ; preds = %26 store i32 -1, ptr %1, align 4 br label %33 31: ; preds = %26 %32 = load i32, ptr %2, align 4 store i32 %32, ptr %1, align 4 br label %33 33: ; preds = %31, %30, %25, %10 %34 = load i32, ptr %1, align 4 ret i32 %34 } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @strcpy(i32 noundef, ptr noundef) #1 declare i32 @bind(i32 noundef, ptr noundef, i64 noundef) #1 declare i64 @strlen(i32 noundef) #1 declare i32 @listen(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/tmpi02azkqk.c" target datalayout = "e-m:e-p270: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_un = type { i32, i32 } @AF_UNIX = dso_local global i32 0, align 4 @SOCK_STREAM = dso_local global i32 0, align 4 @.str = private unnamed_addr constant [22 x i8] c"/var/run/kropkid_sock\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @ipc_start_listener() #0 { %1 = alloca i32, align 4 %2 = alloca i32, align 4 %3 = alloca %struct.sockaddr_un, align 4 %4 = alloca i32, align 4 %5 = load i32, ptr @AF_UNIX, align 4 %6 = load i32, ptr @SOCK_STREAM, align 4 %7 = call i32 @socket(i32 noundef %5, i32 noundef %6, i32 noundef 0) store i32 %7, ptr %2, align 4 %8 = load i32, ptr %2, align 4 %9 = icmp eq i32 %8, -1 br i1 %9, label %10, label %11 10: ; preds = %0 store i32 -1, ptr %1, align 4 br label %33 11: ; preds = %0 %12 = load i32, ptr @AF_UNIX, align 4 %13 = getelementptr inbounds %struct.sockaddr_un, ptr %3, i32 0, i32 1 store i32 %12, ptr %13, align 4 %14 = getelementptr inbounds %struct.sockaddr_un, ptr %3, i32 0, i32 0 %15 = load i32, ptr %14, align 4 %16 = call i32 @strcpy(i32 noundef %15, ptr noundef @.str) %17 = load i32, ptr %2, align 4 %18 = getelementptr inbounds %struct.sockaddr_un, ptr %3, i32 0, i32 0 %19 = load i32, ptr %18, align 4 %20 = call i64 @strlen(i32 noundef %19) %21 = add i64 %20, 4 %22 = call i32 @bind(i32 noundef %17, ptr noundef %3, i64 noundef %21) store i32 %22, ptr %4, align 4 %23 = load i32, ptr %4, align 4 %24 = icmp eq i32 %23, -1 br i1 %24, label %25, label %26 25: ; preds = %11 store i32 -1, ptr %1, align 4 br label %33 26: ; preds = %11 %27 = load i32, ptr %2, align 4 %28 = call i32 @listen(i32 noundef %27, i32 noundef 10) %29 = icmp eq i32 %28, -1 br i1 %29, label %30, label %31 30: ; preds = %26 store i32 -1, ptr %1, align 4 br label %33 31: ; preds = %26 %32 = load i32, ptr %2, align 4 store i32 %32, ptr %1, align 4 br label %33 33: ; preds = %31, %30, %25, %10 %34 = load i32, ptr %1, align 4 ret i32 %34 } declare i32 @socket(i32 noundef, i32 noundef, i32 noundef) #1 declare i32 @strcpy(i32 noundef, ptr noundef) #1 declare i32 @bind(i32 noundef, ptr noundef, i64 noundef) #1 declare i64 @strlen(i32 noundef) #1 declare i32 @listen(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/tmptduwmfqu.c' source_filename = "/tmp/tmptduwmfqu.c" target datalayout = "e-m:e-p270: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 @allocateMatrix2(ptr noundef %0, i64 noundef %1, i64 noundef %2) #0 { %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 store ptr %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 %10 = load i64, ptr %6, align 8 %11 = mul i64 8, %10 %12 = trunc i64 %11 to i32 %13 = call i64 @malloc(i32 noundef %12) %14 = inttoptr i64 %13 to ptr store ptr %14, ptr %8, align 8 %15 = load ptr, ptr %8, align 8 %16 = icmp eq ptr %15, null br i1 %16, label %17, label %18 17: ; preds = %3 store i32 -1, ptr %4, align 4 br label %45 18: ; preds = %3 store i64 0, ptr %9, align 8 br label %19 19: ; preds = %39, %18 %20 = load i64, ptr %9, align 8 %21 = load i64, ptr %6, align 8 %22 = icmp ult i64 %20, %21 br i1 %22, label %23, label %42 23: ; preds = %19 %24 = load i64, ptr %7, align 8 %25 = mul i64 8, %24 %26 = trunc i64 %25 to i32 %27 = call i64 @malloc(i32 noundef %26) %28 = inttoptr i64 %27 to ptr %29 = load ptr, ptr %8, align 8 %30 = load i64, ptr %9, align 8 %31 = getelementptr inbounds ptr, ptr %29, i64 %30 store ptr %28, ptr %31, align 8 %32 = load ptr, ptr %8, align 8 %33 = load i64, ptr %9, align 8 %34 = getelementptr inbounds ptr, ptr %32, i64 %33 %35 = load ptr, ptr %34, align 8 %36 = icmp eq ptr %35, null br i1 %36, label %37, label %38 37: ; preds = %23 store i32 -2, ptr %4, align 4 br label %45 38: ; preds = %23 br label %39 39: ; preds = %38 %40 = load i64, ptr %9, align 8 %41 = add i64 %40, 1 store i64 %41, ptr %9, align 8 br label %19, !llvm.loop !6 42: ; preds = %19 %43 = load ptr, ptr %8, align 8 %44 = load ptr, ptr %5, align 8 store ptr %43, ptr %44, align 8 store i32 0, ptr %4, align 4 br label %45 45: ; preds = %42, %37, %17 %46 = load i32, ptr %4, align 4 ret i32 %46 } declare i64 @malloc(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/tmptduwmfqu.c" target datalayout = "e-m:e-p270: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 @allocateMatrix2(ptr noundef %0, i64 noundef %1, i64 noundef %2) #0 { %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 store ptr %0, ptr %5, align 8 store i64 %1, ptr %6, align 8 store i64 %2, ptr %7, align 8 %10 = load i64, ptr %6, align 8 %11 = mul i64 8, %10 %12 = trunc i64 %11 to i32 %13 = call i64 @malloc(i32 noundef %12) %14 = inttoptr i64 %13 to ptr store ptr %14, ptr %8, align 8 %15 = load ptr, ptr %8, align 8 %16 = icmp eq ptr %15, null br i1 %16, label %17, label %18 17: ; preds = %3 store i32 -1, ptr %4, align 4 br label %47 18: ; preds = %3 store i64 0, ptr %9, align 8 %19 = load i64, ptr %9, align 8 %20 = load i64, ptr %6, align 8 %21 = icmp ult i64 %19, %20 br i1 %21, label %.lr.ph, label %44 .lr.ph: ; preds = %18 br label %22 22: ; preds = %.lr.ph, %38 %23 = load i64, ptr %7, align 8 %24 = mul i64 8, %23 %25 = trunc i64 %24 to i32 %26 = call i64 @malloc(i32 noundef %25) %27 = inttoptr i64 %26 to ptr %28 = load ptr, ptr %8, align 8 %29 = load i64, ptr %9, align 8 %30 = getelementptr inbounds ptr, ptr %28, i64 %29 store ptr %27, ptr %30, align 8 %31 = load ptr, ptr %8, align 8 %32 = load i64, ptr %9, align 8 %33 = getelementptr inbounds ptr, ptr %31, i64 %32 %34 = load ptr, ptr %33, align 8 %35 = icmp eq ptr %34, null br i1 %35, label %36, label %37 36: ; preds = %22 store i32 -2, ptr %4, align 4 br label %47 37: ; preds = %22 br label %38 38: ; preds = %37 %39 = load i64, ptr %9, align 8 %40 = add i64 %39, 1 store i64 %40, ptr %9, align 8 %41 = load i64, ptr %9, align 8 %42 = load i64, ptr %6, align 8 %43 = icmp ult i64 %41, %42 br i1 %43, label %22, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %38 br label %44 44: ; preds = %._crit_edge, %18 %45 = load ptr, ptr %8, align 8 %46 = load ptr, ptr %5, align 8 store ptr %45, ptr %46, align 8 store i32 0, ptr %4, align 4 br label %47 47: ; preds = %44, %36, %17 %48 = load i32, ptr %4, align 4 ret i32 %48 } declare i64 @malloc(i32 noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp_h6ot6_v.c' source_filename = "/tmp/tmp_h6ot6_v.c" target datalayout = "e-m:e-p270: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_h6ot6_v.c" target datalayout = "e-m:e-p270: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/tmpn8br_swm.c' source_filename = "/tmp/tmpn8br_swm.c" target datalayout = "e-m:e-p270: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 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmpn8br_swm.c" target datalayout = "e-m:e-p270: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 !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"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/tmpjpeiuv35.c' source_filename = "/tmp/tmpjpeiuv35.c" target datalayout = "e-m:e-p270: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"%f\0A\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"%0.25f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = call double @fp_prev(double noundef 1.000000e+00) %2 = call i32 @printf(ptr noundef @.str, double noundef %1) %3 = call double @fp_prev(double noundef 1.000000e+00) %4 = call i32 @printf(ptr noundef @.str.1, double noundef %3) ret i32 0 } declare i32 @printf(ptr noundef, double noundef) #1 declare double @fp_prev(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/tmpjpeiuv35.c" target datalayout = "e-m:e-p270: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"%f\0A\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"%0.25f\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = call double @fp_prev(double noundef 1.000000e+00) %2 = call i32 @printf(ptr noundef @.str, double noundef %1) %3 = call double @fp_prev(double noundef 1.000000e+00) %4 = call i32 @printf(ptr noundef @.str.1, double noundef %3) ret i32 0 } declare i32 @printf(ptr noundef, double noundef) #1 declare double @fp_prev(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/tmpyry6e4xj.c' source_filename = "/tmp/tmpyry6e4xj.c" target datalayout = "e-m:e-p270: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/tmpyry6e4xj.c" target datalayout = "e-m:e-p270: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/tmpwkyt1hel.c' source_filename = "/tmp/tmpwkyt1hel.c" target datalayout = "e-m:e-p270: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"Usage: %s filename...\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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = load i32, ptr %4, align 4 %8 = icmp slt i32 %7, 2 br i1 %8, label %9, label %14 9: ; preds = %2 %10 = load ptr, ptr %5, align 8 %11 = getelementptr inbounds ptr, ptr %10, i64 0 %12 = load ptr, ptr %11, align 8 %13 = call i32 @printf(ptr noundef @.str, ptr noundef %12) store i32 1, ptr %3, align 4 br label %30 14: ; preds = %2 store i32 1, ptr %6, align 4 br label %15 15: ; preds = %26, %14 %16 = load i32, ptr %6, align 4 %17 = load i32, ptr %4, align 4 %18 = icmp slt i32 %16, %17 br i1 %18, label %19, label %29 19: ; preds = %15 %20 = load ptr, ptr %5, align 8 %21 = load i32, ptr %6, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds ptr, ptr %20, i64 %22 %24 = load ptr, ptr %23, align 8 %25 = call i32 @file_info(ptr noundef %24) br label %26 26: ; preds = %19 %27 = load i32, ptr %6, align 4 %28 = add nsw i32 %27, 1 store i32 %28, ptr %6, align 4 br label %15, !llvm.loop !6 29: ; preds = %15 store i32 0, ptr %3, align 4 br label %30 30: ; preds = %29, %9 %31 = load i32, ptr %3, align 4 ret i32 %31 } declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @file_info(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmpwkyt1hel.c" target datalayout = "e-m:e-p270: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"Usage: %s filename...\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 store i32 0, ptr %3, align 4 store i32 %0, ptr %4, align 4 store ptr %1, ptr %5, align 8 %7 = load i32, ptr %4, align 4 %8 = icmp slt i32 %7, 2 br i1 %8, label %9, label %14 9: ; preds = %2 %10 = load ptr, ptr %5, align 8 %11 = getelementptr inbounds ptr, ptr %10, i64 0 %12 = load ptr, ptr %11, align 8 %13 = call i32 @printf(ptr noundef @.str, ptr noundef %12) store i32 1, ptr %3, align 4 br label %32 14: ; preds = %2 store i32 1, ptr %6, align 4 %15 = load i32, ptr %6, align 4 %16 = load i32, ptr %4, align 4 %17 = icmp slt i32 %15, %16 br i1 %17, label %.lr.ph, label %31 .lr.ph: ; preds = %14 br label %18 18: ; preds = %.lr.ph, %25 %19 = load ptr, ptr %5, align 8 %20 = load i32, ptr %6, align 4 %21 = sext i32 %20 to i64 %22 = getelementptr inbounds ptr, ptr %19, i64 %21 %23 = load ptr, ptr %22, align 8 %24 = call i32 @file_info(ptr noundef %23) br label %25 25: ; preds = %18 %26 = load i32, ptr %6, align 4 %27 = add nsw i32 %26, 1 store i32 %27, ptr %6, align 4 %28 = load i32, ptr %6, align 4 %29 = load i32, ptr %4, align 4 %30 = icmp slt i32 %28, %29 br i1 %30, label %18, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %25 br label %31 31: ; preds = %._crit_edge, %14 store i32 0, ptr %3, align 4 br label %32 32: ; preds = %31, %9 %33 = load i32, ptr %3, align 4 ret i32 %33 } declare i32 @printf(ptr noundef, ptr noundef) #1 declare i32 @file_info(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmpid5erz0q.c' source_filename = "/tmp/tmpid5erz0q.c" target datalayout = "e-m:e-p270: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"DEBUG: %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"aa\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"a\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"aaa\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"a*\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c".*\00", align 1 @.str.6 = private unnamed_addr constant [3 x i8] c"ab\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 = call i32 @isMatch(ptr noundef @.str.1, ptr noundef @.str.2) %7 = call i32 @printf(ptr noundef @.str, i32 noundef %6) %8 = call i32 @isMatch(ptr noundef @.str.1, ptr noundef @.str.1) %9 = call i32 @printf(ptr noundef @.str, i32 noundef %8) %10 = call i32 @isMatch(ptr noundef @.str.3, ptr noundef @.str.1) %11 = call i32 @printf(ptr noundef @.str, i32 noundef %10) %12 = call i32 @isMatch(ptr noundef @.str.1, ptr noundef @.str.4) %13 = call i32 @printf(ptr noundef @.str, i32 noundef %12) %14 = call i32 @isMatch(ptr noundef @.str.1, ptr noundef @.str.5) %15 = call i32 @printf(ptr noundef @.str, i32 noundef %14) %16 = call i32 @isMatch(ptr noundef @.str.6, ptr noundef @.str.5) %17 = call i32 @printf(ptr noundef @.str, i32 noundef %16) %18 = call i32 @LeslieMatch(ptr noundef @.str.1, ptr noundef @.str.5) %19 = call i32 @printf(ptr noundef @.str, i32 noundef %18) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @isMatch(ptr noundef, ptr noundef) #1 declare i32 @LeslieMatch(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/tmpid5erz0q.c" target datalayout = "e-m:e-p270: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"DEBUG: %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [3 x i8] c"aa\00", align 1 @.str.2 = private unnamed_addr constant [2 x i8] c"a\00", align 1 @.str.3 = private unnamed_addr constant [4 x i8] c"aaa\00", align 1 @.str.4 = private unnamed_addr constant [3 x i8] c"a*\00", align 1 @.str.5 = private unnamed_addr constant [3 x i8] c".*\00", align 1 @.str.6 = private unnamed_addr constant [3 x i8] c"ab\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 = call i32 @isMatch(ptr noundef @.str.1, ptr noundef @.str.2) %7 = call i32 @printf(ptr noundef @.str, i32 noundef %6) %8 = call i32 @isMatch(ptr noundef @.str.1, ptr noundef @.str.1) %9 = call i32 @printf(ptr noundef @.str, i32 noundef %8) %10 = call i32 @isMatch(ptr noundef @.str.3, ptr noundef @.str.1) %11 = call i32 @printf(ptr noundef @.str, i32 noundef %10) %12 = call i32 @isMatch(ptr noundef @.str.1, ptr noundef @.str.4) %13 = call i32 @printf(ptr noundef @.str, i32 noundef %12) %14 = call i32 @isMatch(ptr noundef @.str.1, ptr noundef @.str.5) %15 = call i32 @printf(ptr noundef @.str, i32 noundef %14) %16 = call i32 @isMatch(ptr noundef @.str.6, ptr noundef @.str.5) %17 = call i32 @printf(ptr noundef @.str, i32 noundef %16) %18 = call i32 @LeslieMatch(ptr noundef @.str.1, ptr noundef @.str.5) %19 = call i32 @printf(ptr noundef @.str, i32 noundef %18) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @isMatch(ptr noundef, ptr noundef) #1 declare i32 @LeslieMatch(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/tmpf20fuxhs.c' source_filename = "/tmp/tmpf20fuxhs.c" target datalayout = "e-m:e-p270: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/tmpf20fuxhs.c" target datalayout = "e-m:e-p270: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/tmp8g_l5dq3.c' source_filename = "/tmp/tmp8g_l5dq3.c" target datalayout = "e-m:e-p270: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 } @.str = private unnamed_addr constant [20 x i8] c"Can't open file %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"%s %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 ptr, align 8 %7 = alloca %struct.stat, align 4 %8 = alloca i32, align 4 %9 = 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 1, ptr %8, align 4 br label %10 10: ; preds = %65, %2 %11 = load i32, ptr %8, align 4 %12 = load i32, ptr %4, align 4 %13 = icmp slt i32 %11, %12 br i1 %13, label %14, label %68 14: ; preds = %10 %15 = load ptr, ptr %5, align 8 %16 = load i32, ptr %8, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds ptr, ptr %15, i64 %17 %19 = load ptr, ptr %18, align 8 %20 = call i32 @stat(ptr noundef %19, ptr noundef %7) %21 = icmp ne i32 %20, 0 br i1 %21, label %43, label %22 22: ; preds = %14 %23 = load ptr, ptr %5, align 8 %24 = load i32, ptr %8, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds ptr, ptr %23, i64 %25 %27 = load ptr, ptr %26, align 8 %28 = call i32 @open(ptr noundef %27, i32 noundef 0) store i32 %28, ptr %9, align 4 %29 = icmp sgt i32 %28, 1 br i1 %29, label %30, label %35 30: ; preds = %22 %31 = load i32, ptr %9, align 4 %32 = call ptr @sha1_fd(i32 noundef %31) store ptr %32, ptr %6, align 8 %33 = load i32, ptr %9, align 4 %34 = call i32 @close(i32 noundef %33) br label %42 35: ; preds = %22 %36 = load ptr, ptr %5, align 8 %37 = load i32, ptr %8, align 4 %38 = sext i32 %37 to i64 %39 = getelementptr inbounds ptr, ptr %36, i64 %38 %40 = load ptr, ptr %39, align 8 %41 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str, ptr noundef %40) br label %65 42: ; preds = %30 br label %56 43: ; preds = %14 %44 = load ptr, ptr %5, align 8 %45 = load i32, ptr %8, align 4 %46 = sext i32 %45 to i64 %47 = getelementptr inbounds ptr, ptr %44, i64 %46 %48 = load ptr, ptr %47, align 8 %49 = load ptr, ptr %5, align 8 %50 = load i32, ptr %8, align 4 %51 = sext i32 %50 to i64 %52 = getelementptr inbounds ptr, ptr %49, i64 %51 %53 = load ptr, ptr %52, align 8 %54 = call i32 @strlen(ptr noundef %53) %55 = call ptr @magma_sha1_data(ptr noundef %48, i32 noundef %54) store ptr %55, ptr %6, align 8 br label %56 56: ; preds = %43, %42 %57 = load ptr, ptr %6, align 8 %58 = call ptr @magma_armour_hash(ptr noundef %57) %59 = load ptr, ptr %5, align 8 %60 = load i32, ptr %8, align 4 %61 = sext i32 %60 to i64 %62 = getelementptr inbounds ptr, ptr %59, i64 %61 %63 = load ptr, ptr %62, align 8 %64 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %58, ptr noundef %63) br label %65 65: ; preds = %56, %35 %66 = load i32, ptr %8, align 4 %67 = add nsw i32 %66, 1 store i32 %67, ptr %8, align 4 br label %10, !llvm.loop !6 68: ; preds = %10 ret i32 0 } declare i32 @stat(ptr noundef, ptr noundef) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare ptr @sha1_fd(i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @printf(ptr noundef, ptr noundef, ...) #1 declare ptr @magma_sha1_data(ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare ptr @magma_armour_hash(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '<stdin>' source_filename = "/tmp/tmp8g_l5dq3.c" target datalayout = "e-m:e-p270: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 } @.str = private unnamed_addr constant [20 x i8] c"Can't open file %s\0A\00", align 1 @.str.1 = private unnamed_addr constant [8 x i8] c"%s %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 ptr, align 8 %7 = alloca %struct.stat, align 4 %8 = alloca i32, align 4 %9 = 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 1, ptr %8, align 4 %10 = load i32, ptr %8, align 4 %11 = load i32, ptr %4, align 4 %12 = icmp slt i32 %10, %11 br i1 %12, label %.lr.ph, label %70 .lr.ph: ; preds = %2 br label %13 13: ; preds = %.lr.ph, %64 %14 = load ptr, ptr %5, align 8 %15 = load i32, ptr %8, align 4 %16 = sext i32 %15 to i64 %17 = getelementptr inbounds ptr, ptr %14, i64 %16 %18 = load ptr, ptr %17, align 8 %19 = call i32 @stat(ptr noundef %18, ptr noundef %7) %20 = icmp ne i32 %19, 0 br i1 %20, label %42, label %21 21: ; preds = %13 %22 = load ptr, ptr %5, align 8 %23 = load i32, ptr %8, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds ptr, ptr %22, i64 %24 %26 = load ptr, ptr %25, align 8 %27 = call i32 @open(ptr noundef %26, i32 noundef 0) store i32 %27, ptr %9, align 4 %28 = icmp sgt i32 %27, 1 br i1 %28, label %29, label %34 29: ; preds = %21 %30 = load i32, ptr %9, align 4 %31 = call ptr @sha1_fd(i32 noundef %30) store ptr %31, ptr %6, align 8 %32 = load i32, ptr %9, align 4 %33 = call i32 @close(i32 noundef %32) br label %41 34: ; preds = %21 %35 = load ptr, ptr %5, align 8 %36 = load i32, ptr %8, align 4 %37 = sext i32 %36 to i64 %38 = getelementptr inbounds ptr, ptr %35, i64 %37 %39 = load ptr, ptr %38, align 8 %40 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str, ptr noundef %39) br label %64 41: ; preds = %29 br label %55 42: ; preds = %13 %43 = load ptr, ptr %5, align 8 %44 = load i32, ptr %8, align 4 %45 = sext i32 %44 to i64 %46 = getelementptr inbounds ptr, ptr %43, i64 %45 %47 = load ptr, ptr %46, align 8 %48 = load ptr, ptr %5, align 8 %49 = load i32, ptr %8, align 4 %50 = sext i32 %49 to i64 %51 = getelementptr inbounds ptr, ptr %48, i64 %50 %52 = load ptr, ptr %51, align 8 %53 = call i32 @strlen(ptr noundef %52) %54 = call ptr @magma_sha1_data(ptr noundef %47, i32 noundef %53) store ptr %54, ptr %6, align 8 br label %55 55: ; preds = %42, %41 %56 = load ptr, ptr %6, align 8 %57 = call ptr @magma_armour_hash(ptr noundef %56) %58 = load ptr, ptr %5, align 8 %59 = load i32, ptr %8, align 4 %60 = sext i32 %59 to i64 %61 = getelementptr inbounds ptr, ptr %58, i64 %60 %62 = load ptr, ptr %61, align 8 %63 = call i32 (ptr, ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %57, ptr noundef %62) br label %64 64: ; preds = %55, %34 %65 = load i32, ptr %8, align 4 %66 = add nsw i32 %65, 1 store i32 %66, ptr %8, align 4 %67 = load i32, ptr %8, align 4 %68 = load i32, ptr %4, align 4 %69 = icmp slt i32 %67, %68 br i1 %69, label %13, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %64 br label %70 70: ; preds = %._crit_edge, %2 ret i32 0 } declare i32 @stat(ptr noundef, ptr noundef) #1 declare i32 @open(ptr noundef, i32 noundef) #1 declare ptr @sha1_fd(i32 noundef) #1 declare i32 @close(i32 noundef) #1 declare i32 @printf(ptr noundef, ptr noundef, ...) #1 declare ptr @magma_sha1_data(ptr noundef, i32 noundef) #1 declare i32 @strlen(ptr noundef) #1 declare ptr @magma_armour_hash(ptr noundef) #1 attributes #0 = { noinline nounwind sspstrong uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" } !llvm.module.flags = !{!0, !1, !2, !3, !4} !llvm.ident = !{!5} !0 = !{i32 1, !"wchar_size", i32 4} !1 = !{i32 8, !"PIC Level", i32 2} !2 = !{i32 7, !"PIE Level", i32 2} !3 = !{i32 7, !"uwtable", i32 2} !4 = !{i32 7, !"frame-pointer", i32 2} !5 = !{!"clang version 17.0.6"} !6 = distinct !{!6, !7} !7 = !{!"llvm.loop.mustprogress"}
; ModuleID = '/tmp/tmp4j8wtln2.c' source_filename = "/tmp/tmp4j8wtln2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"seated 1? %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"seated 2? %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [19 x i8] c"is plane full? %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [16 x [6 x i32]], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %3, align 4 br label %5 5: ; preds = %34, %0 %6 = load i32, ptr %3, align 4 %7 = icmp slt i32 %6, 16 br i1 %7, label %8, label %37 8: ; preds = %5 store i32 0, ptr %4, align 4 br label %9 9: ; preds = %30, %8 %10 = load i32, ptr %4, align 4 %11 = icmp slt i32 %10, 6 br i1 %11, label %12, label %33 12: ; preds = %9 %13 = load i32, ptr %3, align 4 %14 = icmp ne i32 %13, 12 br i1 %14, label %15, label %22 15: ; preds = %12 %16 = load i32, ptr %3, align 4 %17 = sext i32 %16 to i64 %18 = getelementptr inbounds [16 x [6 x i32]], ptr %2, i64 0, i64 %17 %19 = load i32, ptr %4, align 4 %20 = sext i32 %19 to i64 %21 = getelementptr inbounds [6 x i32], ptr %18, i64 0, i64 %20 store i32 0, ptr %21, align 4 br label %29 22: ; preds = %12 %23 = load i32, ptr %3, align 4 %24 = sext i32 %23 to i64 %25 = getelementptr inbounds [16 x [6 x i32]], ptr %2, i64 0, i64 %24 %26 = load i32, ptr %4, align 4 %27 = sext i32 %26 to i64 %28 = getelementptr inbounds [6 x i32], ptr %25, i64 0, i64 %27 store i32 -666, ptr %28, align 4 br label %29 29: ; preds = %22, %15 br label %30 30: ; preds = %29 %31 = load i32, ptr %4, align 4 %32 = add nsw i32 %31, 1 store i32 %32, ptr %4, align 4 br label %9, !llvm.loop !6 33: ; preds = %9 br label %34 34: ; preds = %33 %35 = load i32, ptr %3, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %3, align 4 br label %5, !llvm.loop !8 37: ; preds = %5 %38 = getelementptr inbounds [16 x [6 x i32]], ptr %2, i64 0, i64 0 %39 = call i32 @seat_person(ptr noundef %38) %40 = call i32 @printf(ptr noundef @.str, i32 noundef %39) %41 = getelementptr inbounds [16 x [6 x i32]], ptr %2, i64 0, i64 0 %42 = call i32 @seat_person(ptr noundef %41) %43 = call i32 @printf(ptr noundef @.str, i32 noundef %42) %44 = getelementptr inbounds [16 x [6 x i32]], ptr %2, i64 0, i64 0 %45 = call i32 @seat_group_of_two(ptr noundef %44) %46 = call i32 @printf(ptr noundef @.str.1, i32 noundef %45) %47 = getelementptr inbounds [16 x [6 x i32]], ptr %2, i64 0, i64 0 %48 = call i32 @seat_group_of_two(ptr noundef %47) %49 = call i32 @printf(ptr noundef @.str.1, i32 noundef %48) %50 = getelementptr inbounds [16 x [6 x i32]], ptr %2, i64 0, i64 0 %51 = call i32 @print_airplane(ptr noundef %50) %52 = getelementptr inbounds [16 x [6 x i32]], ptr %2, i64 0, i64 0 %53 = call i32 @is_airplane_full(ptr noundef %52) %54 = call i32 @printf(ptr noundef @.str.2, i32 noundef %53) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @seat_person(ptr noundef) #1 declare i32 @seat_group_of_two(ptr noundef) #1 declare i32 @print_airplane(ptr noundef) #1 declare i32 @is_airplane_full(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/tmp4j8wtln2.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @.str = private unnamed_addr constant [14 x i8] c"seated 1? %d\0A\00", align 1 @.str.1 = private unnamed_addr constant [14 x i8] c"seated 2? %d\0A\00", align 1 @.str.2 = private unnamed_addr constant [19 x i8] c"is plane full? %d\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 %2 = alloca [16 x [6 x i32]], align 16 %3 = alloca i32, align 4 %4 = alloca i32, align 4 store i32 0, ptr %1, align 4 store i32 0, ptr %3, align 4 %5 = load i32, ptr %3, align 4 %6 = icmp slt i32 %5, 16 br i1 %6, label %.lr.ph2, label %39 .lr.ph2: ; preds = %0 br label %7 7: ; preds = %.lr.ph2, %34 store i32 0, ptr %4, align 4 %8 = load i32, ptr %4, align 4 %9 = icmp slt i32 %8, 6 br i1 %9, label %.lr.ph, label %33 .lr.ph: ; preds = %7 br label %10 10: ; preds = %.lr.ph, %28 %11 = load i32, ptr %3, align 4 %12 = icmp ne i32 %11, 12 br i1 %12, label %13, label %20 13: ; preds = %10 %14 = load i32, ptr %3, align 4 %15 = sext i32 %14 to i64 %16 = getelementptr inbounds [16 x [6 x i32]], ptr %2, i64 0, i64 %15 %17 = load i32, ptr %4, align 4 %18 = sext i32 %17 to i64 %19 = getelementptr inbounds [6 x i32], ptr %16, i64 0, i64 %18 store i32 0, ptr %19, align 4 br label %27 20: ; preds = %10 %21 = load i32, ptr %3, align 4 %22 = sext i32 %21 to i64 %23 = getelementptr inbounds [16 x [6 x i32]], ptr %2, i64 0, i64 %22 %24 = load i32, ptr %4, align 4 %25 = sext i32 %24 to i64 %26 = getelementptr inbounds [6 x i32], ptr %23, i64 0, i64 %25 store i32 -666, ptr %26, align 4 br label %27 27: ; preds = %20, %13 br label %28 28: ; preds = %27 %29 = load i32, ptr %4, align 4 %30 = add nsw i32 %29, 1 store i32 %30, ptr %4, align 4 %31 = load i32, ptr %4, align 4 %32 = icmp slt i32 %31, 6 br i1 %32, label %10, label %._crit_edge, !llvm.loop !6 ._crit_edge: ; preds = %28 br label %33 33: ; preds = %._crit_edge, %7 br label %34 34: ; preds = %33 %35 = load i32, ptr %3, align 4 %36 = add nsw i32 %35, 1 store i32 %36, ptr %3, align 4 %37 = load i32, ptr %3, align 4 %38 = icmp slt i32 %37, 16 br i1 %38, label %7, label %._crit_edge3, !llvm.loop !8 ._crit_edge3: ; preds = %34 br label %39 39: ; preds = %._crit_edge3, %0 %40 = getelementptr inbounds [16 x [6 x i32]], ptr %2, i64 0, i64 0 %41 = call i32 @seat_person(ptr noundef %40) %42 = call i32 @printf(ptr noundef @.str, i32 noundef %41) %43 = getelementptr inbounds [16 x [6 x i32]], ptr %2, i64 0, i64 0 %44 = call i32 @seat_person(ptr noundef %43) %45 = call i32 @printf(ptr noundef @.str, i32 noundef %44) %46 = getelementptr inbounds [16 x [6 x i32]], ptr %2, i64 0, i64 0 %47 = call i32 @seat_group_of_two(ptr noundef %46) %48 = call i32 @printf(ptr noundef @.str.1, i32 noundef %47) %49 = getelementptr inbounds [16 x [6 x i32]], ptr %2, i64 0, i64 0 %50 = call i32 @seat_group_of_two(ptr noundef %49) %51 = call i32 @printf(ptr noundef @.str.1, i32 noundef %50) %52 = getelementptr inbounds [16 x [6 x i32]], ptr %2, i64 0, i64 0 %53 = call i32 @print_airplane(ptr noundef %52) %54 = getelementptr inbounds [16 x [6 x i32]], ptr %2, i64 0, i64 0 %55 = call i32 @is_airplane_full(ptr noundef %54) %56 = call i32 @printf(ptr noundef @.str.2, i32 noundef %55) ret i32 0 } declare i32 @printf(ptr noundef, i32 noundef) #1 declare i32 @seat_person(ptr noundef) #1 declare i32 @seat_group_of_two(ptr noundef) #1 declare i32 @print_airplane(ptr noundef) #1 declare i32 @is_airplane_full(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/tmpnszsjnjg.c' source_filename = "/tmp/tmpnszsjnjg.c" target datalayout = "e-m:e-p270: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/tmpnszsjnjg.c" target datalayout = "e-m:e-p270: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/tmpumc39737.c' source_filename = "/tmp/tmpumc39737.c" target datalayout = "e-m:e-p270: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/tmpumc39737.c" target datalayout = "e-m:e-p270: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/tmpvpu_o28s.c' source_filename = "/tmp/tmpvpu_o28s.c" target datalayout = "e-m:e-p270: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 [36 x i8] c"I will summon the butler function.\0A\00", align 1 @.str.1 = private unnamed_addr constant [47 x i8] c"Yes, Bring me some tea and writeable CD-ROMS.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @printf(ptr noundef @.str) %3 = call i32 (...) @butler() %4 = call i32 @printf(ptr noundef @.str.1) %5 = call i32 (...) @getchar() ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @butler(...) #1 declare i32 @getchar(...) #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/tmpvpu_o28s.c" target datalayout = "e-m:e-p270: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 [36 x i8] c"I will summon the butler function.\0A\00", align 1 @.str.1 = private unnamed_addr constant [47 x i8] c"Yes, Bring me some tea and writeable CD-ROMS.\0A\00", align 1 ; Function Attrs: noinline nounwind sspstrong uwtable define dso_local i32 @main() #0 { %1 = alloca i32, align 4 store i32 0, ptr %1, align 4 %2 = call i32 @printf(ptr noundef @.str) %3 = call i32 (...) @butler() %4 = call i32 @printf(ptr noundef @.str.1) %5 = call i32 (...) @getchar() ret i32 0 } declare i32 @printf(ptr noundef) #1 declare i32 @butler(...) #1 declare i32 @getchar(...) #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/tmphgnu7vuq.c' source_filename = "/tmp/tmphgnu7vuq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ENOMEM = 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/tmphgnu7vuq.c" target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-pc-linux-gnu" @ENOMEM = 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"}