tukaani-project / xz-java

XZ for Java
https://tukaani.org/xz/java.html
BSD Zero Clause License
23 stars 14 forks source link

Implements ARM64 filter described in xz spec version 1.1.0. #1

Closed JiaT75 closed 1 year ago

JiaT75 commented 1 year ago

The ARM64 filter (ID 0x0A) is compatible with the XZ Utils version for compression and decompression. It converts BL and ADRP instructions from relative to absolute addresses. Implementation was largely inspired by the C version in XZ Utils, especially the optimization for checking ADRP false positive range limitations.

Pull request checklist

Please check if your PR fulfills the following requirements:

Pull request type

Please check the type of change your PR introduces: - [ ] Bugfix - [X] Feature - [ ] Code style update (formatting, renaming, typo fix) - [ ] Refactoring (no functional changes, no api changes) - [ ] Build related changes - [ ] Documentation content changes - [ ] Other (please describe): ## What is the current behavior?

Currently, XZ Java does not have support for the brand new ARM64 filter.

Related Issue URL: N/A

What is the new behavior?

Does this introduce a breaking change?

Other information