Hikari icon indicating copy to clipboard operation
Hikari copied to clipboard

[PSA]Hikari will be fully unusable very soon

Open Naville opened this issue 2 years ago • 5 comments

Hikari would not even compile if you are targeting the upcoming LLVM 15, which should be the LLVM version for Swift 5.8 or Swift 5.9, as well as corresponding NDK.

Previous discussion from 2020

RIP

P.S. :

  • This only applies to OSS Hikari, Private version works on NPM since day one.
  • PrivateVersion is not for sale, and has never been sold, for now

Hints

Opaque Pointers

In LLVM 15+, you should turn off opaque pointer with -mllvm -opaque-pointers=false -Xclang -no-opaque-pointers, or patch default values in Clang/LLVM. The places to patch are: Clang LLVM

Reference : OpaquePointers

New Pass Manager

Since D123609 or 2978d0, LLVM has fully removed LegacyPassManager support in Clang.
Your choice would be reimplement the passes in NewPM as well as a fully new Obfuscation.cpp that does its scheduling in the NewPM way. That being said, as a toy project, Hikari had way too much design issues so it's probably not worthwhile.

Naville avatar Jul 01 '22 08:07 Naville

Well, just make PrivateVersion Public

google-mirror avatar Jul 11 '22 09:07 google-mirror

RIP and appreciate the work you do.

MustangYM avatar Jul 21 '22 07:07 MustangYM

Soo Sad😭

paradiseduo avatar Aug 24 '22 06:08 paradiseduo

Update Hint with OpaquePointers that default enabled in LLVM15

Naville avatar Sep 02 '22 09:09 Naville

There is a port to LLVM 15. Check this out https://github.com/NeHyci/Hikari-LLVM15/tree/llvm-15.0.2-ported

AndroidMaster24 avatar Oct 05 '22 15:10 AndroidMaster24