Aboudek/ASM_TO_LLVM_V2
0
1; ModuleID = 'winfile/src/extr_wfcopy.c_BuildDateLine.c'2source_filename = "winfile/src/extr_wfcopy.c_BuildDateLine.c"3target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"4target triple = "x86_64-unknown-linux-gnu"5 6%struct.TYPE_5__ = type { %struct.TYPE_4__ }7%struct.TYPE_4__ = type { i32, i32 }8 9@szBytes = dso_local global i32 0, align 410@szSpace = dso_local global i32 0, align 411 12; Function Attrs: noinline nounwind optnone uwtable13define dso_local i32 @BuildDateLine(i64 noundef %0, ptr noundef %1) #0 {14 %3 = alloca i32, align 415 %4 = alloca i64, align 816 %5 = alloca ptr, align 817 store i64 %0, ptr %4, align 818 store ptr %1, ptr %5, align 819 %6 = load i64, ptr %4, align 820 %7 = load i32, ptr @szBytes, align 421 %8 = load ptr, ptr %5, align 822 %9 = getelementptr inbounds %struct.TYPE_5__, ptr %8, i32 0, i32 023 %10 = getelementptr inbounds %struct.TYPE_4__, ptr %9, i32 0, i32 124 %11 = load i32, ptr %10, align 425 %12 = call i32 @wsprintf(i64 noundef %6, i32 noundef %7, i32 noundef %11)26 %13 = load i64, ptr %4, align 827 %14 = load i32, ptr @szSpace, align 428 %15 = call i32 @lstrcat(i64 noundef %13, i32 noundef %14)29 %16 = load ptr, ptr %5, align 830 %17 = getelementptr inbounds %struct.TYPE_5__, ptr %16, i32 0, i32 031 %18 = getelementptr inbounds %struct.TYPE_4__, ptr %17, i32 0, i32 032 %19 = load i64, ptr %4, align 833 %20 = load i64, ptr %4, align 834 %21 = call i64 @lstrlen(i64 noundef %20)35 %22 = add nsw i64 %19, %2136 %23 = call i32 @PutDate(ptr noundef %18, i64 noundef %22)37 %24 = load i64, ptr %4, align 838 %25 = load i32, ptr @szSpace, align 439 %26 = call i32 @lstrcat(i64 noundef %24, i32 noundef %25)40 %27 = load ptr, ptr %5, align 841 %28 = getelementptr inbounds %struct.TYPE_5__, ptr %27, i32 0, i32 042 %29 = getelementptr inbounds %struct.TYPE_4__, ptr %28, i32 0, i32 043 %30 = load i64, ptr %4, align 844 %31 = load i64, ptr %4, align 845 %32 = call i64 @lstrlen(i64 noundef %31)46 %33 = add nsw i64 %30, %3247 %34 = call i32 @PutTime(ptr noundef %29, i64 noundef %33)48 %35 = load i32, ptr %3, align 449 ret i32 %3550}51 52declare i32 @wsprintf(i64 noundef, i32 noundef, i32 noundef) #153 54declare i32 @lstrcat(i64 noundef, i32 noundef) #155 56declare i32 @PutDate(ptr noundef, i64 noundef) #157 58declare i64 @lstrlen(i64 noundef) #159 60declare i32 @PutTime(ptr noundef, i64 noundef) #161 62attributes #0 = { noinline nounwind optnone uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }63attributes #1 = { "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }64 65!llvm.module.flags = !{!0, !1, !2, !3, !4}66!llvm.ident = !{!5}67 68!0 = !{i32 1, !"wchar_size", i32 4}69!1 = !{i32 7, !"PIC Level", i32 2}70!2 = !{i32 7, !"PIE Level", i32 2}71!3 = !{i32 7, !"uwtable", i32 2}72!4 = !{i32 7, !"frame-pointer", i32 2}73!5 = !{!"clang version 15.0.3"}74 