Omario.Reflection.Asm
0.7.0
dotnet add package Omario.Reflection.Asm --version 0.7.0
NuGet\Install-Package Omario.Reflection.Asm -Version 0.7.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Omario.Reflection.Asm" Version="0.7.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Omario.Reflection.Asm --version 0.7.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Omario.Reflection.Asm, 0.7.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Omario.Reflection.Asm as a Cake Addin #addin nuget:?package=Omario.Reflection.Asm&version=0.7.0 // Install Omario.Reflection.Asm as a Cake Tool #tool nuget:?package=Omario.Reflection.Asm&version=0.7.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Omario.Reflection.Asm
Omario.Reflection.Asm uses Iced to decompile delegates to x86/x64 assembly.
DateTime start = default;
DateTime end = default;
Expression<Func<string>> exp = () => (end - start).TotalHours > 1.5 ? "Too late.." : "Just in time!";
Delegate compiled = exp.Compile();
string asm = Disassembler.Disassemble(compiled);
Console.WriteLine(asm);
sub rsp,28h
vzeroupper
mov rax,[rcx+8]
cmp dword ptr [rax+8],0
jbe near ptr 00007FFED9710A55h
mov rdx,[rax+10h]
mov r8,rdx
mov rax,r8
test rax,rax
je short 00007FFED97109D3h
mov rcx,7FFED9C2D958h
cmp [rax],rcx
jne short 00007FFED9710A41h
00007FFED97109D3h:
mov rax,[rax+8]
mov rcx,rdx
test rcx,rcx
je short 00007FFED97109EEh
mov r9,7FFED9C2D958h
cmp [rcx],r9
jne short 00007FFED9710A4Bh
00007FFED97109EEh:
mov rcx,[rcx+10h]
mov rdx,3FFFFFFFFFFFFFFFh
and rax,rdx
and rcx,rdx
sub rax,rcx
vxorps xmm0,xmm0,xmm0
vcvtsi2sd xmm0,xmm0,rax
vdivsd xmm0,xmm0,[7FFED9710A60h]
vucomisd xmm0,qword ptr [7FFED9710A68h]
jbe short 00007FFED9710A2Fh
mov rax,1DDE5824770h
mov rax,[rax]
jmp short 00007FFED9710A3Ch
00007FFED9710A2Fh:
mov rax,1DDE5824778h
mov rax,[rax]
00007FFED9710A3Ch:
add rsp,28h
ret
00007FFED9710A41h:
mov rdx,r8
call qword ptr [7FFED8EEB8B8h]
int 3
00007FFED9710A4Bh:
mov rcx,r9
call qword ptr [7FFED8EEB8B8h]
int 3
00007FFED9710A55h:
call 00007FFF38B28B80h
int 3
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.0
- Iced (>= 1.18.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
0.7.0 | 289 | 1/23/2023 |