bluesadi / Pluto

Obfuscator based on LLVM 14.0.6
809 stars 181 forks source link

iOS support? #52

Open iam-theKid opened 11 months ago

iam-theKid commented 11 months ago

Tried to obfuscate an ios (arm64) binary, error:

./install/bin/clang++ --target=arm64 /Users/myuser/Downloads/mybin

ld: warning: ignoring file /Users/myuser/Downloads/mybin, missing required architecture x86_64 in file /Users/myuser/Downloads/mybin (2 slices)
Undefined symbols for architecture x86_64:
  "_main", referenced from:
     implicit entry/start for main executable
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
clang-12: error: linker (via gcc) command failed with exit code 1 (use -v to see invocation)

ideas?

lich4 commented 9 months ago

Are you write a c++ source file of executable without "main" function?