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

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

@Naville

Description

@Naville

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions