Skip to content
This repository has been archived by the owner on Sep 25, 2023. It is now read-only.

[PSA]Hikari will be fully unusable very soon #102

Open
Naville opened this issue Jul 1, 2022 · 5 comments
Open

[PSA]Hikari will be fully unusable very soon #102

Naville opened this issue Jul 1, 2022 · 5 comments

Comments

@Naville
Copy link
Member

Naville commented Jul 1, 2022

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 Naville pinned this issue Jul 1, 2022
@google-mirror
Copy link

Well, just make PrivateVersion Public

@MustangYM
Copy link

RIP and appreciate the work you do.

@paradiseduo
Copy link

paradiseduo commented Aug 24, 2022

Soo Sad😭

@Naville
Copy link
Member Author

Naville commented Sep 2, 2022

Update Hint with OpaquePointers that default enabled in LLVM15

@VanHoevenTR
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants