Aboudek/ASM_TO_LLVM_V2
0
1; ModuleID = 'winfile/src/extr_wfinit.c_DeleteBitmaps.c'2source_filename = "winfile/src/extr_wfinit.c_DeleteBitmaps.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@hdcMem = dso_local global i64 0, align 87@hbmSave = dso_local global i32 0, align 48@hbmBitmaps = dso_local global i64 0, align 89 10; Function Attrs: noinline nounwind optnone uwtable11define dso_local i32 @DeleteBitmaps() #0 {12 %1 = alloca i32, align 413 %2 = load i64, ptr @hdcMem, align 814 %3 = icmp ne i64 %2, 015 br i1 %3, label %4, label %1616 174: ; preds = %018 %5 = load i64, ptr @hdcMem, align 819 %6 = load i32, ptr @hbmSave, align 420 %7 = call i32 @SelectObject(i64 noundef %5, i32 noundef %6)21 %8 = load i64, ptr @hbmBitmaps, align 822 %9 = icmp ne i64 %8, 023 br i1 %9, label %10, label %1324 2510: ; preds = %426 %11 = load i64, ptr @hbmBitmaps, align 827 %12 = call i32 @DeleteObject(i64 noundef %11)28 br label %1329 3013: ; preds = %10, %431 %14 = load i64, ptr @hdcMem, align 832 %15 = call i32 @DeleteDC(i64 noundef %14)33 br label %1634 3516: ; preds = %13, %036 %17 = load i32, ptr %1, align 437 ret i32 %1738}39 40declare i32 @SelectObject(i64 noundef, i32 noundef) #141 42declare i32 @DeleteObject(i64 noundef) #143 44declare i32 @DeleteDC(i64 noundef) #145 46attributes #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" }47attributes #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" }48 49!llvm.module.flags = !{!0, !1, !2, !3, !4}50!llvm.ident = !{!5}51 52!0 = !{i32 1, !"wchar_size", i32 4}53!1 = !{i32 7, !"PIC Level", i32 2}54!2 = !{i32 7, !"PIE Level", i32 2}55!3 = !{i32 7, !"uwtable", i32 2}56!4 = !{i32 7, !"frame-pointer", i32 2}57!5 = !{!"clang version 15.0.3"}58 