Last active
December 31, 2019 18:08
-
-
Save aaronyoo/110336d05e7e22f0fee9450dcda9e06a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; Function Attrs: noinline nounwind ssp | |
define void @"dummy_function(Dummy&, long, long, long)"({ i64, i64, i64 }* %dummy, i64 %i, i64 %j, i64 %k) local_unnamed_addr #0 { | |
%1 = tail call i8* @llvm.returnaddress(i32 0) | |
%2 = ptrtoint i8* %1 to i64 | |
%3 = tail call %struct.Memory* @__remill_write_memory_64(%struct.Memory* null, i64 14096, i64 %2) | |
%4 = tail call %struct.Memory* @__remill_write_memory_64(%struct.Memory* %3, i64 14088, i64 0) #4 | |
%5 = ptrtoint { i64, i64, i64 }* %dummy to i64 | |
%6 = tail call %struct.Memory* @__remill_write_memory_64(%struct.Memory* %4, i64 %5, i64 %i) #4 | |
%7 = add i64 %5, 8 | |
%8 = tail call %struct.Memory* @__remill_write_memory_64(%struct.Memory* %6, i64 %7, i64 %j) #4 | |
%9 = add i64 %5, 16 | |
%10 = tail call %struct.Memory* @__remill_write_memory_64(%struct.Memory* %8, i64 %9, i64 %k) #4 | |
%11 = tail call i64 @__remill_read_memory_64(%struct.Memory* %10, i64 14096) #4 | |
%12 = tail call %struct.Memory* @__remill_function_return(%struct.State* nonnull undef, i64 %11, %struct.Memory* %10) #5 | |
ret void | |
} | |
; Function Attrs: noinline nounwind ssp | |
define void @"dummy_function(Dummy&, long, long, long)"({ i64, i64, i64 }* nocapture %dummy, i64 %i, i64 %j, i64 %k) local_unnamed_addr #0 { | |
%1 = tail call i8* @llvm.returnaddress(i32 0) | |
%2 = ptrtoint i8* %1 to i64 | |
%3 = getelementptr inbounds { i64, i64, i64 }, { i64, i64, i64 }* %dummy, i64 0, i32 0 | |
store i64 %k, i64* %3, align 8 | |
%4 = tail call %struct.Memory* @__remill_function_return(%struct.State* nonnull undef, i64 %2, %struct.Memory* null) #3 | |
ret void | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment