Skip to content

4.0.0

Choose a tag to compare

@Swatinem Swatinem released this 05 Jun 10:18
· 155 commits to master since this release
d322b5c

This is a complete rewrite of the crate.
It focuses on two types, ProguardMapping and ProguardMapper.

ProguardMapping

Provides high level metadata about a proguard mapping file, and allows iterating
over the contained ProguardRecords.

This is a replacement for the previous Parser. For example,
Parser::has_line_info() becomes ProguardMapping::has_line_info().

ProguardMapper

Allows re-mapping class names and entire frames, with support for inlined frames.

This is a replacement for the previous MappingView, and allows easier
re-mapping of both class-names and complete frames.

MappingView::find_class("obfuscated").map(Class::class_name) becomes
ProguardMapper::remap_class("obfuscated"), and the
ProguardMapper::remap_frame function replaces manually collecting and
processing the results of Class::get_methods.