Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unknown endian on aarch64 #12

Closed
ycflash opened this issue Mar 10, 2022 · 4 comments
Closed

unknown endian on aarch64 #12

ycflash opened this issue Mar 10, 2022 · 4 comments

Comments

@ycflash
Copy link

ycflash commented Mar 10, 2022

Hi, fail to compile on aarch64, error says:

In file included from ../include/llvm/Transforms/Obfuscation/BogusControlFlow.h:32:0,
                 from ../lib/Transforms/IPO/PassManagerBuilder.cpp:50:
../include/llvm/Transforms/Obfuscation/CryptoUtils.h:87:2: error: #error "Unknown endianness of the compilation platform, check this header aes_encrypt.h"
@SsageParuders
Copy link

SsageParuders commented Mar 11, 2022

For aarch64.
Patch CryptoUtils.h just as:obfuscator-llvm#160
image

@ycflash
Copy link
Author

ycflash commented Mar 24, 2022

Hi, @SsageParuders sorry for late response, it seems endianness is diffrent on my machine:

$ lscpu
Architecture:          aarch64
Byte Order:            Little Endian
CPU(s):                16
On-line CPU(s) list:   0-15
Thread(s) per core:    1
Core(s) per socket:    16
Socket(s):             1
NUMA node(s):          1
Model:                 2
BogoMIPS:              100.00
NUMA node0 CPU(s):     0-15
Flags:                 fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid

@ycflash
Copy link
Author

ycflash commented Mar 28, 2022

@SsageParuders Thanks for you reply, confirming it works.

@SsageParuders
Copy link

Thanks for you reply, confirming it works.

o( ̄▽ ̄)ブ~~

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

No branches or pull requests

3 participants