Hikari

Official Discord Server

English Documentation
Hikari(Light in Japanese, name stolen from the Nintendo Switch game Xenoblade Chronicles 2) is my hackathon-ish toy project for the 2017 Christmas to kill time.It's already stable enough to use in production environment. However, as initially planned, Hikari has been ported to LLVM 6.0 release version and no longer being actively maintained due to the time and effort it takes. You can find the history of its development at developer branch. Note that updates are not backported so you should probably always stick to the latest branch (release_70 at the time of writing). When newer LLVM versions got released, a new branch will be created containing the latest complete toolchain assembled from the release tarballs with Obfuscation Passes injected in.

License

Please refer to License.

Note that this linked version of license text overrides any artifact left in source code

Building

See Compile & Install

Security

All releases are signed using the following PGP public key. You can also use this key to verify any other important discussion/message is signed by me. You can verify the key indeed belongs to me by visiting my Keybase.

-----BEGIN PGP PUBLIC KEY BLOCK-----
Comment: GPGTools - https://gpgtools.org

mQINBFjBKc0BEACmd2Ji8Zc9pZEKU3mhtYbyCzMnz+QB0trfHmxPnkKhJHX4l4g2
dunRA3pYHx2juNHavoHAT2958AJgaNEz6Jsfi8NvSP5wrFBLUhHgaezDn6fpSKKT
WXtSm48oGhBZDvlyEZPRfLxSYF2uy0efHe2K6FNjJEpoiAuRXQ+n3VH+ziKd9v0N
iiuVHasy6hr33L0KytSKnmG1EGES2g0/hlDooZbsIHAy2oAPrpC6OE7CSnJUaCWT
qCugdqUOAkbdRz+Xaa8QMYykXDqYvLmT8aouGLTXIXWVhC6Fi8iZY/HTHmRxBmXQ
C/pVUgYDG4WOpQWgLMCXQxzEb+jTRzxeVWQchiINu3WFnrw1SPjWfJaDaIZG0Ww7
97mYffEiBnawnqkiCf4ensG2FXbuqIq86g8ZYNeS2YIGL9sdZiTKfYZXrAgh0VB6
rjWsz6HaIKK6R7nNX5lpt4K5MVGECwCk+CpsP6FX8la4XTde4QpJ539ceE1iotAU
UVPeUVT5/mrvAgtjoPl+P4UMfiWj6Bfzxtt/3Y41a+8/Ja4bjA0i0pWXwNwnLgTo
BgsIdKpIc3XQJ51tH38E3pgnsX1025ANq6lVpa841qQSLoVF1tWRl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w4q1QoP2vDe+ZcChFuT2A==
=UqHX
-----END PGP PUBLIC KEY BLOCK-----

Demo

This only demonstrates a limited part of Hikari's capabilities. Download the complete demo and analyze yourself, link in the documentation
AntiClassDump
FunctionWrapper
IndirectBranch InstructionReplacement StringEncryption