Skip to content

5.1.0

Compare
Choose a tag to compare
@Washi1337 Washi1337 released this 29 Jan 11:51
· 373 commits to master since this release
d70c022

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 (a0bb1df)

Deprecations

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

Other