-
-
Notifications
You must be signed in to change notification settings - Fork 220
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ISIL -> CIL Decompiler #426
base: development
Are you sure you want to change the base?
Changes from all commits
fbc3452
d4ae081
b31c53e
33eb9f8
6bb55cb
fbe2a42
a8bec4d
2308de5
6fa1a0f
d6e1a2c
839c217
9b0a8b5
6f18b2c
d45f70e
dce2e2c
5381ea4
89022d6
88aa99d
8483557
f63a17d
ae982e9
6664c31
c9895e0
81e24e4
5b233da
8fc6417
11829e7
726f09e
3517bb8
4aa36af
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -65,7 +65,8 @@ | |
|
||
<ItemGroup> | ||
<ProjectReference Include="..\LibCpp2IL\LibCpp2IL.csproj" /> | ||
|
||
<ProjectReference Include="..\Cpp2IL.Decompiler\Cpp2IL.Decompiler.csproj"/> | ||
|
||
Comment on lines
+68
to
+69
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Sam would need to weigh in on this, but I feel like everything should be in one project. |
||
<!--Future: Consider moving to its own project and moving the impl in cpp2il to a plugin--> | ||
<ProjectReference Include="..\StableNameDotNet\StableNameDotNet.csproj" /> | ||
</ItemGroup> | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,8 @@ public class Cpp2IlCorePlugin : Cpp2IlPlugin | |
{ | ||
public override string Name => "Cpp2IL Built-In"; | ||
|
||
public override string Description => "Core Cpp2IL plugin containing built-in instruction sets, binaries, and other core functionality."; | ||
public override string Description => | ||
"Core Cpp2IL plugin containing built-in instruction sets, binaries, and other core functionality."; | ||
Comment on lines
+19
to
+20
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This change is unnecessary. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. formatter did that There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You should avoid using automatic formatters on existing files. |
||
|
||
public override void OnLoad() | ||
{ | ||
|
@@ -50,6 +51,7 @@ public override void OnLoad() | |
OutputFormatRegistry.Register<IsilDumpOutputFormat>(); | ||
OutputFormatRegistry.Register<WasmMappingOutputFormat>(); | ||
OutputFormatRegistry.Register<WasmNameSectionOutputFormat>(); | ||
OutputFormatRegistry.Register<IlOutputFormat>(); | ||
|
||
Logger.VerboseNewline("\tRegistering built-in processing layers", "Core Plugin"); | ||
|
||
|
@@ -61,7 +63,8 @@ public override void OnLoad() | |
ProcessingLayerRegistry.Register<DeobfuscationMapProcessingLayer>(); | ||
|
||
var elapsed = DateTime.Now - start; | ||
Logger.VerboseNewline($"Core plugin loaded in {elapsed.Ticks} ticks ({elapsed.TotalMilliseconds}ms)", "Core Plugin"); | ||
Logger.VerboseNewline($"Core plugin loaded in {elapsed.Ticks} ticks ({elapsed.TotalMilliseconds}ms)", | ||
"Core Plugin"); | ||
Comment on lines
+66
to
+67
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This change is unnecessary. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. formatter did that |
||
} | ||
|
||
private sealed class AsmResolverDllOutputFormatLegacy : AsmResolverDllOutputFormatDefault | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why decompilation is specific to each instruction set if you're using ISIL?