LavaGang / MelonLoader

The World's First Universal Mod Loader for Unity Games compatible with both Il2Cpp and Mono
https://discord.gg/2Wn3N2P
Apache License 2.0
2.38k stars 472 forks source link

Bump AsmResolver.DotNet from 5.0.0 to 5.2.0 #430

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps AsmResolver.DotNet from 5.0.0 to 5.2.0.

Release notes

Sourced from AsmResolver.DotNet's releases.

5.2.0

New Features

  • Add TypeSignature::IsCompatibleWith and TypeSignature::IsAssignableTo methods (#421)
  • Add support for patching AppHost / SingleFileHost files without requiring the original SDK template file (#420, #424)
  • Add support for metadata tokens and unmanaged entry points in DotNetDirectory (#422)
  • Add Parameter::GetOrCreateDefinition() (#418, thanks @​ElektroKill)
  • Add read support for PDB modules (#412)
  • Add read support for many more PDB symbol and leaf record types (#412)
  • Add basic metadata properties to PdbImage (e28df25ba827d4112e3edfebdfca980814c6a2e1)
  • Add OptionalHeader::SetDataDirectory helper method (8357a77dd4873facb5af59473e12a279dede12f7)
  • Add CallingConventionSignature::CallingConvention convenience property that masks out the used convention from Attributes (#414)
  • Add undocumented CallingConvention::NativeVarArg (#414)

Bug Fixes

  • Fix an issue related to metadata token preservation of MemberRefParents (caeef35393655f18b30d3e79526a6bb5cf7ae99b)
  • Fix an issue with MethodSignature's sentinel parameter type preservation (#413, #414).
  • Fix ParameterCollection::ThisParameter's parameter type for generic instance types (e27b6e8c2d70fb189fb409a81b676925856763bb, thanks @​ElektroKill)
  • Fix MethodSignatureBase::GetTotalParameterCount() for ExplicitThis signatures (dae99095fd2df0831fae87f95722243d25a436a7, thanks @​ElektroKill)

Deprecations

  • All constructors of BundlerParameters are superseded by BundlerParameters::FromTemplate and BundlerParameters::FromExistingFile.
  • Assignments of DotNetDirectory::EntryPoint using an uint are obsoleted and should be replaced with a construction of a DotNetEntryPoint structure.

Minor Breaking ABI Changes

  • Remove spurious CallingConventionSignature::IsSentinel (#414)
  • Change property type of DotNetDirectory::EntryPoint from uint to DotNetEntryPoint DU struct.

5.1.0

New Features

  • Add fluent patching API, allowing for easy and quick binary patches on PE files as well as individual segments (#403, #405). Check out the documentation.
  • Add option to preserve spurious metadata streams and their order (#394, #406)
  • Add generic ModuleDefinition::LookupMember<T> and ModuleDefinition::TryLookupMember<T> methods (#392, #402)
  • Add TypeDefinition::IsModuleType (#391, thanks @​sunnamed434)
  • Add rudimentary custom attribute validation, avoiding the accidental construction of incorrect attribute signatures (#389, #407)

Bug Fixes

  • Fix generic custom attributes reader errors (#397, #401)
  • Fix GetModuleType() behavior for .NET Core / .NET 5+ modules (#395, #396)
  • Fix .NET runtime detection when multiple corlibs references are present in the binary (a0bb1dfe282def3e6ec394fdae8170ad8ad599e4)

Deprecations

  • CodeSegment is now deprecated. Use the DataSegment combined with the new patching API for address fixups.

Other

Commits
  • d442f08 Merge pull request #425 from Washi1337/development
  • c81797d Fix some casing and shorten titles in docs.
  • e28df25 Add basic dbi and info stream properties to PdbImage.
  • 7e54ebb Fix xmldoc path for AsmResolver.Symbols.Pdb.xml
  • e4781b1 Merge pull request #421 from Washi1337/feature/is-assignable-to
  • cfda2d4 Resolve compiler warnings.
  • 08dc296 Merge pull request #424 from Washi1337/feature/repackage-apphosts
  • 2190f89 Add V1 and V2 repackage tests. Ensure temp dirs are not present on disk when ...
  • bf84256 Generalize interface impl traversal. Simplify implementation of IsDirectlyCom...
  • 078a81d Add generic interface implementation compatibility checks.
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)