Aboudek/ASM_TO_LLVM_V2
0
1; ModuleID = 'winfile/src/extr_wfcomman.c_UpdateMoveStatus.c'2source_filename = "winfile/src/extr_wfcomman.c_UpdateMoveStatus.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@hwndStatus = dso_local global i32 0, align 47@SB_SETTEXT = dso_local global i32 0, align 48@DROPEFFECT_MOVE = dso_local global i64 0, align 89@.str = private unnamed_addr constant [13 x i8] c"MOVE PENDING\00", align 110 11; Function Attrs: noinline nounwind optnone uwtable12define dso_local i32 @UpdateMoveStatus(i64 noundef %0) #0 {13 %2 = alloca i32, align 414 %3 = alloca i64, align 815 store i64 %0, ptr %3, align 816 %4 = load i32, ptr @hwndStatus, align 417 %5 = load i32, ptr @SB_SETTEXT, align 418 %6 = load i64, ptr %3, align 819 %7 = load i64, ptr @DROPEFFECT_MOVE, align 820 %8 = icmp eq i64 %6, %721 br i1 %8, label %9, label %1122 239: ; preds = %124 %10 = call ptr @TEXT(ptr noundef @.str)25 br label %1226 2711: ; preds = %128 br label %1229 3012: ; preds = %11, %931 %13 = phi ptr [ %10, %9 ], [ null, %11 ]32 %14 = ptrtoint ptr %13 to i3233 %15 = call i32 @SendMessage(i32 noundef %4, i32 noundef %5, i32 noundef 2, i32 noundef %14)34 %16 = load i32, ptr %2, align 435 ret i32 %1636}37 38declare i32 @SendMessage(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #139 40declare ptr @TEXT(ptr noundef) #141 42attributes #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" }43attributes #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" }44 45!llvm.module.flags = !{!0, !1, !2, !3, !4}46!llvm.ident = !{!5}47 48!0 = !{i32 1, !"wchar_size", i32 4}49!1 = !{i32 7, !"PIC Level", i32 2}50!2 = !{i32 7, !"PIE Level", i32 2}51!3 = !{i32 7, !"uwtable", i32 2}52!4 = !{i32 7, !"frame-pointer", i32 2}53!5 = !{!"clang version 15.0.3"}54 