Skip to content

Milestone 2022.0.2

Compare
Choose a tag to compare
@SamboyCoding SamboyCoding released this 24 Feb 22:49
· 50 commits to new-analysis since this release

This is a minor bugfix and improvement release

WasmDisassembler

  • Some changes to the WasmInstruction struct to conform to microsoft's updated guidelines.

LibCpp2IL

  • Updated LibCpp2ILMain.Reset() to also dispose of the binary and metadata files and underlying streams.
  • Added support for what I've dubbed metadata version 24.15, unity 2018.4.34-2018.4.36, which removes a single field in AssemblyNameDefinition.
  • Added an initial backtrack to v27+ code registration via codegen module list, to hopefully reduce the excessive time spent here.
    • This comes with a buffer which should be large enough in almost all cases (I've not seen any games which break due to this change), but this could cause issues - let me know if CodeRegistration location errors arise from this change.

Cpp2IL.Core

  • Updated the Capstone library to a fork which uses proper packaging, until the main one gets an update with this change.
    • This should fix errors when running on linux and mac!
    • Thanks to @js6pak for PRing a fix both to capstone and here.
  • Renamed Cpp2ILApi.ResetInternalState to DisposeAndCleanupAll and made it public, so you can clear out the memory usage (or at least, most of it, in the event I missed something) once you've finished using Cpp2IL.