Skip to content

Decompiler #481

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

Open
wants to merge 22 commits into
base: development
Choose a base branch
from
Open

Decompiler #481

wants to merge 22 commits into from

Conversation

ItsMilos
Copy link
Contributor

Transforms ISIL into higher level with stack analysis, ssa form, simplification, etc. and then translates that into CIL.
The decompiled C# is pretty messy right now (dnSpy just refuses to decompile it, but ILSpy works) but most of the times it's possible to at least see what methods do.

I'm MrUser127 btw, i changed my name, and that stuff in that previous decompiler pr should now be fixed, and now i actually have motivation to work on this if something needs to be changed

@coveralls
Copy link

Pull Request Test Coverage Report for Build 17101091060

Details

  • 102 of 1827 (5.58%) changed or added relevant lines in 35 files are covered.
  • 40 unchanged lines in 6 files lost coverage.
  • Overall coverage decreased (-3.9%) to 30.421%

Changes Missing Coverage Covered Lines Changed/Added Lines %
Cpp2IL.Core/ISIL/StackOffset.cs 1 2 50.0%
Cpp2IL.Core/InstructionSets/Arm64InstructionSet.cs 0 1 0.0%
Cpp2IL.Core/InstructionSets/ArmV7InstructionSet.cs 0 1 0.0%
Cpp2IL.Core/InstructionSets/WasmInstructionSet.cs 0 1 0.0%
Cpp2IL.Core/DecompilerException.cs 0 3 0.0%
Cpp2IL.Core/OutputFormats/AsmResolverDllOutputFormat.cs 0 3 0.0%
Cpp2IL.Core/ProcessingLayers/CallAnalysisProcessingLayer.cs 0 4 0.0%
Cpp2IL.Core/ISIL/FieldReference.cs 0 5 0.0%
Cpp2IL.Core/ISIL/LocalVariable.cs 0 5 0.0%
Cpp2IL.Core/ProcessingLayers/NativeMethodDetectionProcessingLayer.cs 0 5 0.0%
Files with Coverage Reduction New Missed Lines %
Cpp2IL.Core/Graphs/ISILControlFlowGraph.cs 1 38.29%
Cpp2IL.Core/OutputFormats/AsmResolverDllOutputFormatIlRecovery.cs 1 1.61%
Cpp2IL.Core/Extensions/MiscExtensions.cs 2 5.23%
Cpp2IL.Core/Model/Contexts/MethodAnalysisContext.cs 3 52.78%
Cpp2IL.Core/InstructionSets/NewArmV8InstructionSet.cs 12 0.0%
Cpp2IL.Core/InstructionSets/X86InstructionSet.cs 21 0.13%
Totals Coverage Status
Change from base Build 16882556085: -3.9%
Covered Lines: 4095
Relevant Lines: 11840

💛 - Coveralls

@ds5678 ds5678 mentioned this pull request Aug 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants