Obfuscator refactored and extended from OLLVM.

Overview

OLLVM++

Obfuscator refactored and extended from OLLVM.

Environment

  • Ubuntu 18.04.5 LTS
  • LLVM 12.0.1
  • Clang 12.0.1
  • CMake 3.21.1

Usage

Compile Obfuscation Passes

if [ ! -d "Build" ]; then
    mkdir Build
fi
cd ./Build
cmake ../Transforms
make

Generate LLVM IR

clang -S -emit-llvm TestProgram.cpp -o IR/orig.ll

Control Flow Flattening

opt -lowerswitch -S IR/orig.ll -o IR/lowerswitch.ll
opt -load ../Build/LLVMObfuscator.so -fla -split_num 3 -S IR/lowerswitch.ll -o IR/fla.ll
clang IR/fla.ll -o Bin/fla

Bogus Control Flow

opt -load ../Build/LLVMObfuscator.so -bcf -bcf_loop 1 -split_num 3 -S IR/orig.ll -o IR/bcf.ll
clang IR/bcf.ll -o Bin/bcf

Instruction Substitution

opt -load ../Build/LLVMObfuscator.so -sub -sub_loop 2 -S IR/orig.ll -o IR/sub.ll
clang IR/sub.ll -o Bin/sub

Random Control Flow

opt -load ../Build/LLVMObfuscator.so -rcf -S IR/orig.ll -o IR/rcf.ll
llc -filetype=obj -mattr=+rdrnd IR/rcf.ll -o Bin/rcf.o
clang Bin/rcf.o -o Bin/rcf

Constant Substitution

opt -load ../Build/LLVMObfuscator.so -csub -csub_loop 2 -S IR/orig.ll -o IR/csub.ll
clang IR/csub.ll -o Bin/csub

Features

Control Flow Flattening

Bogus Control Flow

Instruction Substitution

Random Control Flow

Constant Substitution

Issues
  • ndk-r23b版本 重编译后无法使用

    ndk-r23b版本 重编译后无法使用

    您好~在发出这份issues之前,我已经仔细拜读了您在看雪论坛的文章,并且在服务器环境尝试复现,但是我遇到了一些问题,请允许我向您详细说明,希望能获得您的帮助,感谢~


    复现环境

    • 服务器:Ubuntu 20.04 x64
    • 目标NDK:23.1.7779620
    • 添加的PASS:Pluto-Obfuscator

    操作方式

    其实就是按照您在看雪论坛的介绍来走的 已经重复操作3次 应该没有漏掉什么步骤 下面我简单描述一下操作步骤

    • 下载repo
      curl https://storage.googleapis.com/git-repo-downloads/repo > /usr/bin/repo
      chmod a+x /usr/bin/repo
      
    • repo下载对应版本的源码
      mkdir ndk-llvm && cd ndk-llvm
      repo init -u https://android.googlesource.com/platform/manifest -b llvm-toolchain
      cp $TOOLCHAIN_DIR/manifest_7714059.xml .repo/manifests
      repo init -m manifest_7714059.xml
      repo sync -c
      
    • 安装/修复必要环境
      sudo apt-get install cmake bison
      find /usr/lib -name libffi.so*
      ln -s /usr/lib/x86_64-linux-gnu/libffi.so.7 /usr/lib/x86_64-linux-gnu/libffi.so.6
      
    • 开始编译流程
      python toolchain/llvm_android/build.py --no-build linux
      
    • 添加PASS 这一步大佬在看雪论坛的文章中 漏掉了一些小步骤 不过无伤大雅 下面我简单对步骤进行概括
    • 添加/include/llvm/Transforms/Obfuscation <-- 此步大佬遗漏
    • 添加/lib/Transforms/Obfuscation
    • 修改/lib/Transforms/IPO/PassManagerBuilder.cpp三处代码
    • /lib/Transforms/IPO/CMakeLists.txt中添加Obfuscation
    • /lib/Transforms/CMakeLists.txt中添加Obfuscation <--此步大佬遗漏
    • 重新编译
      python toolchain/llvm_android/build.py --no-build linux
      

    得益于大佬您的文章介绍,我的编译流程比较顺利,中间没有因为erro而产生中断


    出现的问题

    就好像 #5 遇到的问题一样 我使用的是ndk-build脚本, #5 貌似使用的是cmake,不过情况都是一样的 我们自己编译的 ndk-r23,在移植后出现一些报错情况,关键内容如下:

    ....../build/core/setup-toolchain.mk:111: pipe: No error
    ....../build/core/prebuilt-library.mk:45: *** Android NDK: Aborting    .  Stop.
    ....../sources/cxx-stl/llvm-libc++abi/Android.mk:unwind: LOCAL_SRC_FILES points to a missing file 
    ......Android NDK: Check that /lib/linux/arm/libunwind.a exists  or that its path is correct 
    

    在参考了 #5 以后,我也查看了一下编译产物的格式

    • 这是我们自己编译的产物
      [email protected]:~/ndk-llvm-r416183c1/out/install/windows-x86/clang-dev/bin# file clang*
      clang-check.exe:  PE32+ executable (console) x86-64, for MS Windows
      clang-cl.exe:     symbolic link to clang.exe
      clang++.exe:      symbolic link to clang.exe
      clang.exe:        PE32+ executable (console) x86-64, for MS Windows
      clang-format.exe: PE32+ executable (console) x86-64, for MS Windows
      clang-tidy.exe:   PE32+ executable (console) x86-64, for MS Windows
      
    • 这是从谷歌官网下载的ndk
      ❯ file clang*
      clang++.exe:      PE32+ executable (console) x86-64, for MS Windows
      clang-check.exe:  PE32+ executable (console) x86-64, for MS Windows
      clang-cl.exe:     PE32+ executable (console) x86-64, for MS Windows
      clang-format.exe: PE32+ executable (console) x86-64, for MS Windows
      clang-tidy.exe:   PE32+ executable (console) x86-64, for MS Windows
      clang.exe:        PE32+ executable (console) x86-64, for MS Windows
      

    如果可以,我也想看一看大佬编译产物的格式,确认这之间是否存在差异


    自己尝试过的研究

    我本人使用的是macOS,最初是想要按照大佬的思路去编译mac版本的toolchain。 不过我发现按照谷歌官方对toolchain/llvm_android步骤操作后,有且只有Windows版本和Linux版本的clang-dev。 没有android/toolchain/prebuilts/ndk-darwin/r23中的产物,遂将目光转移到Windows版本的PASS移植。 这里插一嘴,如果大佬知道macOS版本的toolchain如何编译的话,烦请指点。

    1. 既然说按照大佬的文章操作,我这里出现了一点点问题,那么换一个角度。 我在macOS上按照常规方法操作,将大佬的项目clone下来以后,按照README的说法,使用cmake对大佬的项目进行构建。 即:添加PASS再编译llvm以后,将bin目录生成的工具替换到ndk中的toolchain里面去。 同时将编译后的lib64添加到ndk中toolchain的lib64里面去,同时修复头文件缺失问题以后。

      关于llvm编译后生成lib64目录
      如果我们单独在编译llvm时,为了适配ndk,应该对cmake编译添加参数 -DLLVM_LIBDIR_SUFFIX=64 ,即可让lib自动重命名为lib64,以此解决环境依赖问题,详细请参考Google的build.py脚本
      遗憾的是,在移植完成以后,`ndk-build`依然报错,由于未能及时记录报错信息,这里的erro无法进行展示,抱歉。 同时,我观察到,ndk中toolchain的clang-12约100+MB,可是我编译的貌似只有1MB大小,这是否是因为我仅只是clone了大佬的项目,直接进行编译,而没有将他们移植到整个llvm-project中导致的?
    2. 会不会在编译进PASS之前,bin目录的文件格式正常? 抱着这种想法,我重开项目,并且在没有添加PASS情况下,编译出了out产物。 很遗憾的是,我发现,对于ndk-r23b来说,即使我们没有添加PASS,他的编译产物格式依然如下:

      [email protected]:~/ndk-llvm-r416183c1/out/install/windows-x86/clang-dev/bin# file clang*
      clang-check.exe:  PE32+ executable (console) x86-64, for MS Windows
      clang-cl.exe:     symbolic link to clang.exe
      clang++.exe:      symbolic link to clang.exe
      clang.exe:        PE32+ executable (console) x86-64, for MS Windows
      clang-format.exe: PE32+ executable (console) x86-64, for MS Windows
      clang-tidy.exe:   PE32+ executable (console) x86-64, for MS Windows
      

      也就是说,我们自己编译的ndk-r23b的toolchain,就是和谷歌官方不一样的文件格式,即使没有添加进PASS

    3. 我的第二个分析,似乎是在说明,我们自己编译的toolchain是错误的,无法使用,但是谷歌官方的教程:Instructions to rebuild a particular toolchain release似乎也就是这样,我们并没有遗漏掉什么。 不甘心放弃,于是,我对老版本的ndk-22.1.7171670进行编译,发现了有意思的事情。 对老版本ndk-22.1.7171670进行编译以后,我对编译产物进行file发现:

      [email protected]:~/ndk-llvm-r416183c1/out/install/windows-x86/clang-dev/bin# file clang*
      clang++.exe:      PE32+ executable (console) x86-64, for MS Windows
      clang-check.exe:  PE32+ executable (console) x86-64, for MS Windows
      clang-cl.exe:     PE32+ executable (console) x86-64, for MS Windows
      clang-format.exe: PE32+ executable (console) x86-64, for MS Windows
      clang-tidy.exe:   PE32+ executable (console) x86-64, for MS Windows
      clang.exe:        PE32+ executable (console) x86-64, for MS Windows
      

      按照这种方式,编译的老版本ndk居然是正常的!没有出现所谓的symbolic link to clang.exe! 果断添加PASS重新编译 --> 再次file -- > 文件格式正常! --> 移植ndk -- > 测试ndk-build 让人欣喜的事情来了,在file文件格式全部正常的情况下,使用ndk-build,编译过程没有任何问题!没有报错! 到这里,我们至少确认了一件事,那就是,之前的报错就是因为file文件格式不正确导致的 于是,添加混淆参数,进行混淆编译 --> 未混淆编译产物5kb,混淆后编译产物23kb 貌似成功了?抱着激动的心情,打开ida,分别对比未混淆和混淆后,让我失望的事情来了,混淆前后在ida中的表现是一样的。 也就是说,除了文件体积的变化外,文件并没有得到更安全的保护。

    4. 转念一想,大佬您的这款PASS是基于llvm-12编写的,也许他对老版本的ndk所采用的llvm-11是不生效的。 于是,我换用了heroims大佬的PASS,移植结束以后 file文件格式依然全部正常,编译流程没有erro <-- 这里再次证明,ndk-r23b的toolchain之所以报错,就是因为file格式问题 很遗憾的是,虽然编译确实没有报错,混淆前后文件大小确实也产生变化,但是,使用ida进行查看的时候,混淆依然没有生效。

      顺便一提,我们ndk-r23b使用的是clang12,在heroims大佬项目的issues中 我找到了libunwind.a有关报错的解决方案https://github.com/heroims/obfuscator/issues/7#issuecomment-1025939903 导致该问题的原因,大概就是谷歌build.py脚本让lib自动重命名为lib64,产生的环境依赖问题 但由于我们本身就应该是build.py构建的环境,不应该有这种报错才对


    最后

    至此,我已经无计可施,本以为是谷歌ndk在r23版本存在某种问题。 但是转念一想,大佬您已经在和我相同的ndk版本下,实测成功,并且上传了examples。 我认为,是我在某些步骤上的操作有所遗漏或者错误。 希望大佬能够分析一下我的流程有哪些地方存在问题,不胜感激~

    opened by SsageParuders 20
  • Failing to build project.

    Failing to build project.

    Hi! I have compiled the project by following your instruction on bbs.pediy forum, everything goes smoothly but for some reason I cannot compile my project in Android Studio, following error shows whenever I try to compile.

    CXX5202] This app only has 32-bit [armeabi-v7a] native libraries. Beginning August 1, 2019 Google Play store requires that all apps that include native libraries must provide 64-bit versions. For more information, visit https://g.co/64-bit-requirement
    C/C++: process_begin: CreateProcess(F:\AndroidSdk\ndk\pluto-ndk\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe, F:/AndroidSdk/ndk/pluto-ndk/build//../toolchains/llvm/prebuilt/windows-x86_64/bin/clang++.exe -print-resource-dir, ...) failed.
    C/C++: F:/AndroidSdk/ndk/pluto-ndk/build//../build/core/setup-toolchain.mk:111: pipe: No error
    C/C++: F:/AndroidSdk/ndk/pluto-ndk/build//../build/core/prebuilt-library.mk:45: *** Android NDK: Aborting    .  Stop.
    [CXX1405] error when building with ndkBuild using C:\Users\Admin\Desktop\MyProject\app\src\main\jni\Android.mk: Build command failed.
    Error while executing process F:\AndroidSdk\ndk\pluto-ndk\ndk-build.cmd with arguments {NDK_PROJECT_PATH=null APP_BUILD_SCRIPT=C:\Users\Admin\Desktop\MyProject\app\src\main\jni\Android.mk NDK_APPLICATION_MK=C:\Users\Admin\Desktop\MyProject\app\src\main\jni\Application.mk APP_ABI=armeabi-v7a NDK_ALL_ABIS=armeabi-v7a NDK_DEBUG=1 APP_PLATFORM=android-19 NDK_OUT=C:\Users\Admin\Desktop\MyProject\app\build\intermediates\cxx\Debug\1d81t4p4/obj NDK_LIBS_OUT=C:\Users\Admin\Desktop\MyProject\app\build\intermediates\cxx\Debug\1d81t4p4/lib APP_SHORT_COMMANDS=false LOCAL_SHORT_COMMANDS=false -B -n}
    Android NDK: ERROR:F:/AndroidSdk/ndk/pluto-ndk/build//../sources/cxx-stl/llvm-libc++abi/Android.mk:unwind: LOCAL_SRC_FILES points to a missing file    
    Android NDK: Check that /lib/linux/arm/libunwind.a exists  or that its path is correct   
    
    process_begin: CreateProcess(F:\AndroidSdk\ndk\pluto-ndk\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe, F:/AndroidSdk/ndk/pluto-ndk/build//../toolchains/llvm/prebuilt/windows-x86_64/bin/clang++.exe -print-resource-dir, ...) failed.
    F:/AndroidSdk/ndk/pluto-ndk/build//../build/core/setup-toolchain.mk:111: pipe: No error
    F:/AndroidSdk/ndk/pluto-ndk/build//../build/core/prebuilt-library.mk:45: *** Android NDK: Aborting    .  Stop.
    

    The error states that Android NDK: Check that /lib/linux/arm/libunwind.a exists or that its path is correct but the file is clearly present under the path F:\AndroidSdk\ndk\pluto-ndk\toolchains\llvm\prebuilt\windows-x86_64\lib64\clang\12.0.8\lib\linux\arm

    One more thing I have noticed that the clang++ of newly compile llvm cannot be executed, it states that 16-bit applications are not supported whereas the clang++ of original ndk is executed without any issue.

    Dont know if its worth mentioning or not, but I compiled the modified llvm in ubuntu.

    Any help or insight will be appreciated.

    opened by afk-Legacy 6
  • Compiling under Windows

    Compiling under Windows

    I try to install pluto obfuscator in Android NDK 23 by following this step https://github.com/o2e/OLLVM-9.0.1#%E6%95%B4%E5%90%88%E5%88%B0ndk but i'm getting error

    C:\Users\uwu\AppData\Local\Android\Sdk\ndk\23.0.7599858\ndk-build
    fcntl(): Bad file descriptor
    Android NDK: APP_PLATFORM not set. Defaulting to minimum supported version android-16.
    Android NDK: WARNING: APP_PLATFORM android-16 is higher than android:minSdkVersion 1 in ./AndroidManifest.xml. NDK binaries will *not* be compatible with devices older than android-16. See https://android.googlesource.com/platform/ndk/+/master/docs/user/common_problems.md for more information.
    Android NDK: ERROR:C:/Users/uwu/AppData/Local/Android/Sdk/ndk/23.0.7599858/build//../sources/cxx-stl/llvm-libc++abi/Android.mk:unwind: LOCAL_SRC_FILES points to a missing file
    Android NDK: Check that /lib/linux/arm/libunwind.a exists  or that its path is correct
    C:/Users/uwu/AppData/Local/Android/Sdk/ndk/23.0.7599858/build//../build/core/prebuilt-library.mk:45: *** Android NDK: Aborting    .  Stop.
    

    I read this issue to solve, so the directory become C:\Users\uwu\AppData\Local\Android\Sdk\ndk\23.0.7599858\toolchains\llvm\prebuilt\windows-x86_64\lib\clang\12.0.1\lib\linux\arm but still getting same error https://github.com/heroims/obfuscator/issues/7#issuecomment-1025939903

    What i'm missing?

    Can you upgrade llvm to 12.0.5 by any change?

    question 
    opened by VanHoevenTR 5
  • LLVMObfuscator.so missing

    LLVMObfuscator.so missing

    compiling using

    cd build
    cmake -G "Ninja" -DLLVM_ENABLE_PROJECTS="clang" \
        -DCMAKE_BUILD_TYPE=Release -DLLVM_TARGETS_TO_BUILD="X86" \
        -DBUILD_SHARED_LIBS=On ../llvm
    ninja
    

    on macOS does not seem to compile LLVMObfuscator.so but anything else

    opened by iraizo 3
  • Issue with Globals Encryption

    Issue with Globals Encryption

    Hi i'm having issue with Globals Encryption - compiler don't show any errors but strings are wrong I'm compiling python 2.7.18 lib on windows I'm using obfuscation only on 1 specific .c file I tryed with -onlystr too but doesn't help qf5saX6mka

    Looking how to function looks like in IDA Dissasembler

    obraz

    Then after all lib compiled in .exe returns random strings

    If more informations needed ask me i can provide :)

    question 
    opened by KoMaR1911 2
  • [MacOS] don't hardcode z3lib.so and build errors

    [MacOS] don't hardcode z3lib.so and build errors

    if you want this to be cross-platform do not hardcode link_libraries("/usr/lib/libz3.so"). Perhaps add a dep requirement in the readme and if/else OS directive?

    i have installed z3 via homebrew and it triggers the build: link_libraries("/opt/homebrew/lib/libz3.dylib")

    however, I get lots of build warnings and errors half way.

    .../Obfuscation/CryptoUtils.h:68:2: error: "Unknown endianness of the compilation platform, check this header aes_encrypt.h" #error

    opened by nullhook 2
  • cannot find -lLLVMTransformUtils

    cannot find -lLLVMTransformUtils

    Hi, I've recently built this project and ran into the following issues:

    • the line link_libraries("libLLVMTransformUtils.so") in Transforms/CMakeLists.txt results in /usr/bin/ld: cannot find -lLLVMTransformUtils and so LLVMObfuscator.so cannot be built.
    • but then I tried to remove that line from Transforms/CMakeLists.txt and the test successfully ran, I've also checked the generated binaries and they seemed to be obfuscated fine.

    I wonder how can the project be built successfully without that line, and does it affect the result if I remove it? Thank you.

    opened by lkmidas 2
  • Obfuscation/MBAUtils.h:1:10: fatal error: 'z3++.h' file not found

    Obfuscation/MBAUtils.h:1:10: fatal error: 'z3++.h' file not found

    按照看雪的教程编译win ndk,但是出现这个,我已经安装了 sudo apt install libz3-dev ,测试没有用。我又在 ~/llvm-toolchain/toolchain/llvm-project/llvm/lib/Transforms/IPO/CMakeLists.txt 中添加了,也没起到作用。

    include_directories ("/usr/include/") link_directories("/usr/lib/x86_64-linux-gnu/")

    bug 
    opened by HuErr 1
  • Compiler not found on Windows

    Compiler not found on Windows

    I'm getting this error trying to compile on Win10. i have cmake and ninja installed. How can i fix it?

    PS C:\Users\Administrator\Documents\GitHub\Pluto-Obfuscator\build> cmake -G "Ninja" -DLLVM_ENABLE_PROJECTS="clang"  -DCMAKE_BUILD_TYPE=Release -DLLVM_TARGETS_TO_BUILD="X86" -DBUILD_SHARED_LIBS=On ../llvm
    -- The C compiler identification is unknown
    -- The CXX compiler identification is unknown
    -- The ASM compiler identification is unknown
    -- Didn't find assembler
    CMake Error at CMakeLists.txt:38 (project):
      No CMAKE_C_COMPILER could be found.
    
      Tell CMake where to find the compiler by setting either the environment
      variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to
      the compiler, or to the compiler name if it is in the PATH.
    
    
    CMake Error at CMakeLists.txt:38 (project):
      No CMAKE_CXX_COMPILER could be found.
    
      Tell CMake where to find the compiler by setting either the environment
      variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
      to the compiler, or to the compiler name if it is in the PATH.
    
    
    CMake Error at CMakeLists.txt:38 (project):
      No CMAKE_ASM_COMPILER could be found.
    
      Tell CMake where to find the compiler by setting either the environment
      variable "ASM" or the CMake cache entry CMAKE_ASM_COMPILER to the full path
      to the compiler, or to the compiler name if it is in the PATH.
    
    
    -- Warning: Did not find file Compiler/-ASM
    -- Configuring incomplete, errors occurred!
    See also "C:/Users/Administrator/Documents/GitHub/Pluto-Obfuscator/build/CMakeFiles/CMakeOutput.log".
    See also "C:/Users/Administrator/Documents/GitHub/Pluto-Obfuscator/build/CMakeFiles/CMakeError.log".
    PS C:\Users\Administrator\Documents\GitHub\Pluto-Obfuscator\build> ninja
    ninja: error: loading 'build.ninja': The system cannot find the file specified.
    
    opened by ghost 1
  • Invite for collaboration

    Invite for collaboration

    Hi bluesadi or 34r7hm4n ,

    First of, I would like to thank you for your hardwork researching obfuscation methods with LLVM, or OLLVM as we all call. I have checked out your blog posts and projects, those are wonderful and insightful.

    As I am currently working on OLLVM and researching about obfuscation. I think that we can work together to bring more ideas and improve the project. That is why I am writing you this as an invitation for collaboration.

    Furthur details can be discussed directly to me in discord: luibo#0645.

    If you're reluctant to have a conversation, you can try our RE challenge released at https://ctf.hackemall.live/. The CTF starts 00:00 01/01/2022 (UTC). The challenge is named crackme pls and authored by midas and luibo. The challenge is obfuscated using our customed version of OLLVM.

    Looking forward to your reply.

    P/S 1: I left comments in your latest blog post about MBA, but I feel the need to message you here because there is no direct contact methods and you may not read blog comments and the CTF is starting soon.

    P/S 2: I welcome your CTF team to join the CTF also.

    P/S 3: Have a wonderful new year.

    opened by nganhkhoa 1
  • -mba -bcf -fla 在NDK-build环境下无法生效

    -mba -bcf -fla 在NDK-build环境下无法生效

    [email protected]:~/桌面/ploto/jni$ ndk-build1 Android NDK: APP_PLATFORM not set. Defaulting to minimum supported version android-16.
    [arm64-v8a] Compile++ : hello <= hello.cpp Android (dev, based on r416183c2) clang version 12.0.9 (https://android.googlesource.com/toolchain/llvm-project c935d99d7cf2016289302412d708641d52d2f7ee) Target: aarch64-none-linux-android21 Thread model: posix InstalledDir: /home/chen/ollvm12/android-ndk-r23c-linux/android-ndk-r23c/toolchains/llvm/prebuilt/linux-x86_64/bin Found candidate GCC installation: /home/chen/ollvm12/android-ndk-r23c-linux/android-ndk-r23c/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/aarch64-linux-android/4.9.x Selected GCC installation: /home/chen/ollvm12/android-ndk-r23c-linux/android-ndk-r23c/toolchains/llvm/prebuilt/linux-x86_64/bin/../lib/gcc/aarch64-linux-android/4.9.x Candidate multilib: .;@m64 Selected multilib: .;@m64 (in-process) "/home/chen/ollvm12/android-ndk-r23c-linux/android-ndk-r23c/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++.real" -cc1 -triple aarch64-none-linux-android21 -emit-obj --mrelax-relocations -mnoexecstack -disable-free -disable-llvm-verifier -discard-value-names -main-file-name hello.cpp -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=non-leaf -fno-rounding-math -mconstructor-aliases -munwind-tables -target-cpu generic -target-feature +neon -target-abi aapcs -mllvm -aarch64-fix-cortex-a53-835769=1 -fallow-half-arguments-and-returns -fno-split-dwarf-inlining -debug-info-kind=limited -dwarf-version=4 -debugger-tuning=gdb -v -ffunction-sections -fdata-sections -resource-dir /home/chen/ollvm12/android-ndk-r23c-linux/android-ndk-r23c/toolchains/llvm/prebuilt/linux-x86_64/lib64/clang/12.0.9 -dependency-file /home/chen/桌面/ploto/obj/local/arm64-v8a/objs/hello/hello.o.d -MT /home/chen/桌面/ploto/obj/local/arm64-v8a/objs/hello/hello.o -MP -D _FORTIFY_SOURCE=2 -D NDEBUG -I /home/chen/桌面/ploto/jni -D ANDROID -isysroot /home/chen/ollvm12/android-ndk-r23c-linux/android-ndk-r23c/toolchains/llvm/prebuilt/linux-x86_64/sysroot -internal-isystem /home/chen/ollvm12/android-ndk-r23c-linux/android-ndk-r23c/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1 -internal-isystem /home/chen/ollvm12/android-ndk-r23c-linux/android-ndk-r23c/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/local/include -internal-isystem /home/chen/ollvm12/android-ndk-r23c-linux/android-ndk-r23c/toolchains/llvm/prebuilt/linux-x86_64/lib64/clang/12.0.9/include -internal-externc-isystem /home/chen/ollvm12/android-ndk-r23c-linux/android-ndk-r23c/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/aarch64-linux-android -internal-externc-isystem /home/chen/ollvm12/android-ndk-r23c-linux/android-ndk-r23c/toolchains/llvm/prebuilt/linux-x86_64/sysroot/include -internal-externc-isystem /home/chen/ollvm12/android-ndk-r23c-linux/android-ndk-r23c/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include -O2 -Wno-invalid-command-line-argument -Wno-unused-command-line-argument -Wformat -Werror=format-security -fdeprecated-macro -fdebug-compilation-dir /home/chen/桌面/ploto/jni -ferror-limit 19 -stack-protector 2 -fno-rtti -fno-signed-char -fgnuc-version=4.2.1 -fcolor-diagnostics -vectorize-loops -vectorize-slp -mllvm -mba -mllvm -mba-prob=100 -mllvm -fla -mllvm -gle -mllvm -bcf -mllvm -sub -mllvm -trap-angr -mllvm -trap-angr-times=3 -mllvm -trap-angr-prob=60 -o /home/chen/桌面/ploto/obj/local/arm64-v8a/objs/hello/hello.o -x c++ /home/chen/桌面/ploto/jni/hello.cpp clang -cc1 version 12.0.9 based upon LLVM 12.0.9git default target x86_64-unknown-linux-gnu ignoring nonexistent directory "/home/chen/ollvm12/android-ndk-r23c-linux/android-ndk-r23c/toolchains/llvm/prebuilt/linux-x86_64/sysroot/include" #include "..." search starts here: #include <...> search starts here: /home/chen/桌面/ploto/jni /home/chen/ollvm12/android-ndk-r23c-linux/android-ndk-r23c/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1 /home/chen/ollvm12/android-ndk-r23c-linux/android-ndk-r23c/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/local/include /home/chen/ollvm12/android-ndk-r23c-linux/android-ndk-r23c/toolchains/llvm/prebuilt/linux-x86_64/lib64/clang/12.0.9/include /home/chen/ollvm12/android-ndk-r23c-linux/android-ndk-r23c/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/aarch64-linux-android /home/chen/ollvm12/android-ndk-r23c-linux/android-ndk-r23c/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include End of search list. [arm64-v8a] Executable : hello [arm64-v8a] Install : hello => libs/arm64-v8a/hello

    你好 我使用的LLVM12版本 也/include/llvm/Transforms/Obfuscation /lib/Transforms/Obfuscation 和 /include/Eigen 全部添加 编译也没有报错

    但是使用NDK-build 编译的话 加密效果挺好 但是-MBA -bcf -fla 目测无法生效 求解 还是说最新版本的pluto就是这样?

    我使用clang编译的话可以混淆全开 但是-sub失效 main菜单出现 还有稳定性不妥?

    请问我哪个方面出问题了 能否在ndk-build的情况下 混淆全开 ?

    opened by chen362 0
  • Compilation with Control Flow Flattening Crashes LLVM

    Compilation with Control Flow Flattening Crashes LLVM

    Here is the project it was compiling when this crash occurred: https://github.com/AngeloD2022/jsxbin_decompiler

    ====================[ Build | jsxer-cli | Debug ]===============================
    "/Users/angelodeluca/Library/Application Support/JetBrains/Toolbox/apps/CLion/ch-0/221.5787.29/CLion.app/Contents/bin/cmake/mac/bin/cmake" --build /Users/angelodeluca/CLionProjects/jsxbin_decompiler/cmake-build-debug --target jsxer-cli -j 8
    [1/52] Building CXX object CMakeFiles/jsxer-core.dir/src/jsxer/nodes/AssignmentExpression.cpp.o
    FAILED: CMakeFiles/jsxer-core.dir/src/jsxer/nodes/AssignmentExpression.cpp.o 
    /Users/angelodeluca/PlutoObfuscator/bin/clang++ -DCONFIG_VERSION=\"1.0.1b\" -I/Users/angelodeluca/CLionProjects/jsxbin_decompiler/include -g -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -mllvm -fla -std=gnu++11 -MD -MT CMakeFiles/jsxer-core.dir/src/jsxer/nodes/AssignmentExpression.cpp.o -MF CMakeFiles/jsxer-core.dir/src/jsxer/nodes/AssignmentExpression.cpp.o.d -o CMakeFiles/jsxer-core.dir/src/jsxer/nodes/AssignmentExpression.cpp.o -c /Users/angelodeluca/CLionProjects/jsxbin_decompiler/src/jsxer/nodes/AssignmentExpression.cpp
    PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script.
    Stack dump:
    0.	Program arguments: /Users/angelodeluca/PlutoObfuscator/bin/clang++ -DCONFIG_VERSION=\"1.0.1b\" -I/Users/angelodeluca/CLionProjects/jsxbin_decompiler/include -g -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -mllvm -fla -std=gnu++11 -MD -MT CMakeFiles/jsxer-core.dir/src/jsxer/nodes/AssignmentExpression.cpp.o -MF CMakeFiles/jsxer-core.dir/src/jsxer/nodes/AssignmentExpression.cpp.o.d -o CMakeFiles/jsxer-core.dir/src/jsxer/nodes/AssignmentExpression.cpp.o -c /Users/angelodeluca/CLionProjects/jsxbin_decompiler/src/jsxer/nodes/AssignmentExpression.cpp
    1.	<eof> parser at end of file
    2.	Code generation
    3.	Running pass 'Function Pass Manager' on module '/Users/angelodeluca/CLionProjects/jsxbin_decompiler/src/jsxer/nodes/AssignmentExpression.cpp'.
    4.	Running pass 'AArch64PreLegalizerCombiner' on function '@_ZN5jsxer5nodes20AssignmentExpression9to_stringEv'
    Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
    0  clang-12                 0x0000000103c6f5bc llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 56
    1  clang-12                 0x0000000103c6e5ac llvm::sys::RunSignalHandlers() + 112
    2  clang-12                 0x0000000103c6ebd0 llvm::sys::CleanupOnSignal(unsigned long) + 232
    3  clang-12                 0x0000000103bc3550 CrashRecoverySignalHandler(int) + 200
    4  libsystem_platform.dylib 0x00000001a85874a4 _sigtramp + 56
    5  clang-12                 0x00000001045a190c llvm::getOpcodeDef(unsigned int, llvm::Register, llvm::MachineRegisterInfo const&) + 32
    6  clang-12                 0x000000010453df30 llvm::CombinerHelper::matchUndefSelectCmp(llvm::MachineInstr&) + 28
    7  clang-12                 0x0000000102367d58 (anonymous namespace)::AArch64GenPreLegalizerCombinerHelper::tryCombineAll(llvm::GISelChangeObserver&, llvm::MachineInstr&, llvm::MachineIRBuilder&) const + 10496
    8  clang-12                 0x0000000102365224 (anonymous namespace)::AArch64PreLegalizerCombinerInfo::combine(llvm::GISelChangeObserver&, llvm::MachineInstr&, llvm::MachineIRBuilder&) const + 76
    9  clang-12                 0x0000000104533b40 llvm::Combiner::combineMachineInstrs(llvm::MachineFunction&, llvm::GISelCSEInfo*) + 1524
    10 clang-12                 0x0000000102365058 (anonymous namespace)::AArch64PreLegalizerCombiner::runOnMachineFunction(llvm::MachineFunction&) + 664
    11 clang-12                 0x00000001032d02a8 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 304
    12 clang-12                 0x00000001035f4694 llvm::FPPassManager::runOnFunction(llvm::Function&) + 696
    13 clang-12                 0x00000001035fa0ec llvm::FPPassManager::runOnModule(llvm::Module&) + 60
    14 clang-12                 0x00000001035f4bb4 llvm::legacy::PassManagerImpl::run(llvm::Module&) + 856
    15 clang-12                 0x0000000103ea3324 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::DataLayout const&, llvm::Module*, clang::BackendAction, std::__1::unique_ptr<llvm::raw_pwrite_stream, std::__1::default_delete<llvm::raw_pwrite_stream> >) + 6784
    16 clang-12                 0x00000001040d3398 clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&) + 824
    17 clang-12                 0x0000000104f626a4 clang::ParseAST(clang::Sema&, bool, bool) + 504
    18 clang-12                 0x0000000104359ae0 clang::FrontendAction::Execute() + 108
    19 clang-12                 0x00000001042f17e4 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 1840
    20 clang-12                 0x00000001043c0124 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 1272
    21 clang-12                 0x0000000102337d50 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) + 1720
    22 clang-12                 0x0000000102336918 ExecuteCC1Tool(llvm::SmallVectorImpl<char const*>&) + 1100
    23 clang-12                 0x00000001041cf634 void llvm::function_ref<void ()>::callback_fn<clang::driver::CC1Command::Execute(llvm::ArrayRef<llvm::Optional<llvm::StringRef> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*, bool*) const::$_1>(long) + 28
    24 clang-12                 0x0000000103bc324c llvm::CrashRecoveryContext::RunSafely(llvm::function_ref<void ()>) + 204
    25 clang-12                 0x00000001041cee64 clang::driver::CC1Command::Execute(llvm::ArrayRef<llvm::Optional<llvm::StringRef> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*, bool*) const + 340
    26 clang-12                 0x00000001041aa0b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const + 460
    27 clang-12                 0x00000001041aa3d8 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl<std::__1::pair<int, clang::driver::Command const*> >&) const + 112
    28 clang-12                 0x00000001041bba68 clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl<std::__1::pair<int, clang::driver::Command const*> >&) + 216
    29 clang-12                 0x0000000102336094 main + 10352
    30 dyld                     0x000000010920108c start + 520
    clang-12: error: clang frontend command failed with exit code 139 (use -v to see invocation)
    clang version 12.0.1
    Target: aarch64-apple-darwin21.5.0
    Thread model: posix
    InstalledDir: /Users/angelodeluca/PlutoObfuscator/bin
    clang-12: note: diagnostic msg: 
    ********************
    
    PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
    Preprocessed source(s) and associated run script(s) are located at:
    clang-12: note: diagnostic msg: /var/folders/p3/031hvc6j5kn3bwkr35hc9kvh0000gn/T/AssignmentExpression-a532a0.cpp
    clang-12: note: diagnostic msg: /var/folders/p3/031hvc6j5kn3bwkr35hc9kvh0000gn/T/AssignmentExpression-a532a0.sh
    clang-12: note: diagnostic msg: Crash backtrace is located in
    clang-12: note: diagnostic msg: /Users/angelodeluca/Library/Logs/DiagnosticReports/clang-12_<YYYY-MM-DD-HHMMSS>_<hostname>.crash
    clang-12: note: diagnostic msg: (choose the .crash file that corresponds to your crash)
    clang-12: note: diagnostic msg: 
    
    ********************
    [2/52] Building CXX object CMakeFiles/jsxer-core.dir/src/jsxer/nodes/BinaryExpression.cpp.o
    FAILED: CMakeFiles/jsxer-core.dir/src/jsxer/nodes/BinaryExpression.cpp.o 
    /Users/angelodeluca/PlutoObfuscator/bin/clang++ -DCONFIG_VERSION=\"1.0.1b\" -I/Users/angelodeluca/CLionProjects/jsxbin_decompiler/include -g -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -mllvm -fla -std=gnu++11 -MD -MT CMakeFiles/jsxer-core.dir/src/jsxer/nodes/BinaryExpression.cpp.o -MF CMakeFiles/jsxer-core.dir/src/jsxer/nodes/BinaryExpression.cpp.o.d -o CMakeFiles/jsxer-core.dir/src/jsxer/nodes/BinaryExpression.cpp.o -c /Users/angelodeluca/CLionProjects/jsxbin_decompiler/src/jsxer/nodes/BinaryExpression.cpp
    PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script.
    Stack dump:
    0.	Program arguments: /Users/angelodeluca/PlutoObfuscator/bin/clang++ -DCONFIG_VERSION=\"1.0.1b\" -I/Users/angelodeluca/CLionProjects/jsxbin_decompiler/include -g -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -mllvm -fla -std=gnu++11 -MD -MT CMakeFiles/jsxer-core.dir/src/jsxer/nodes/BinaryExpression.cpp.o -MF CMakeFiles/jsxer-core.dir/src/jsxer/nodes/BinaryExpression.cpp.o.d -o CMakeFiles/jsxer-core.dir/src/jsxer/nodes/BinaryExpression.cpp.o -c /Users/angelodeluca/CLionProjects/jsxbin_decompiler/src/jsxer/nodes/BinaryExpression.cpp
    1.	<eof> parser at end of file
    2.	Code generation
    3.	Running pass 'Function Pass Manager' on module '/Users/angelodeluca/CLionProjects/jsxbin_decompiler/src/jsxer/nodes/BinaryExpression.cpp'.
    4.	Running pass 'AArch64PreLegalizerCombiner' on function '@_ZN5jsxer5nodes16BinaryExpression11create_exprERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEPNS0_7AstNodeE'
    Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
    0  clang-12                 0x0000000105bc75bc llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 56
    1  clang-12                 0x0000000105bc65ac llvm::sys::RunSignalHandlers() + 112
    2  clang-12                 0x0000000105bc6bd0 llvm::sys::CleanupOnSignal(unsigned long) + 232
    3  clang-12                 0x0000000105b1b550 CrashRecoverySignalHandler(int) + 200
    4  libsystem_platform.dylib 0x00000001a85874a4 _sigtramp + 56
    5  clang-12                 0x00000001064f990c llvm::getOpcodeDef(unsigned int, llvm::Register, llvm::MachineRegisterInfo const&) + 32
    6  clang-12                 0x0000000106495f30 llvm::CombinerHelper::matchUndefSelectCmp(llvm::MachineInstr&) + 28
    7  clang-12                 0x00000001042bfd58 (anonymous namespace)::AArch64GenPreLegalizerCombinerHelper::tryCombineAll(llvm::GISelChangeObserver&, llvm::MachineInstr&, llvm::MachineIRBuilder&) const + 10496
    8  clang-12                 0x00000001042bd224 (anonymous namespace)::AArch64PreLegalizerCombinerInfo::combine(llvm::GISelChangeObserver&, llvm::MachineInstr&, llvm::MachineIRBuilder&) const + 76
    9  clang-12                 0x000000010648bb40 llvm::Combiner::combineMachineInstrs(llvm::MachineFunction&, llvm::GISelCSEInfo*) + 1524
    10 clang-12                 0x00000001042bd058 (anonymous namespace)::AArch64PreLegalizerCombiner::runOnMachineFunction(llvm::MachineFunction&) + 664
    11 clang-12                 0x00000001052282a8 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 304
    12 clang-12                 0x000000010554c694 llvm::FPPassManager::runOnFunction(llvm::Function&) + 696
    13 clang-12                 0x00000001055520ec llvm::FPPassManager::runOnModule(llvm::Module&) + 60
    14 clang-12                 0x000000010554cbb4 llvm::legacy::PassManagerImpl::run(llvm::Module&) + 856
    15 clang-12                 0x0000000105dfb324 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::DataLayout const&, llvm::Module*, clang::BackendAction, std::__1::unique_ptr<llvm::raw_pwrite_stream, std::__1::default_delete<llvm::raw_pwrite_stream> >) + 6784
    16 clang-12                 0x000000010602b398 clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&) + 824
    17 clang-12                 0x0000000106eba6a4 clang::ParseAST(clang::Sema&, bool, bool) + 504
    18 clang-12                 0x00000001062b1ae0 clang::FrontendAction::Execute() + 108
    19 clang-12                 0x00000001062497e4 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 1840
    20 clang-12                 0x0000000106318124 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 1272
    21 clang-12                 0x000000010428fd50 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) + 1720
    22 clang-12                 0x000000010428e918 ExecuteCC1Tool(llvm::SmallVectorImpl<char const*>&) + 1100
    23 clang-12                 0x0000000106127634 void llvm::function_ref<void ()>::callback_fn<clang::driver::CC1Command::Execute(llvm::ArrayRef<llvm::Optional<llvm::StringRef> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*, bool*) const::$_1>(long) + 28
    24 clang-12                 0x0000000105b1b24c llvm::CrashRecoveryContext::RunSafely(llvm::function_ref<void ()>) + 204
    25 clang-12                 0x0000000106126e64 clang::driver::CC1Command::Execute(llvm::ArrayRef<llvm::Optional<llvm::StringRef> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*, bool*) const + 340
    26 clang-12                 0x00000001061020b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const + 460
    27 clang-12                 0x00000001061023d8 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl<std::__1::pair<int, clang::driver::Command const*> >&) const + 112
    28 clang-12                 0x0000000106113a68 clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl<std::__1::pair<int, clang::driver::Command const*> >&) + 216
    29 clang-12                 0x000000010428e094 main + 10352
    30 dyld                     0x000000010ae4908c start + 520
    clang-12: error: clang frontend command failed with exit code 139 (use -v to see invocation)
    clang version 12.0.1
    Target: aarch64-apple-darwin21.5.0
    Thread model: posix
    InstalledDir: /Users/angelodeluca/PlutoObfuscator/bin
    clang-12: note: diagnostic msg: 
    ********************
    
    PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
    Preprocessed source(s) and associated run script(s) are located at:
    clang-12: note: diagnostic msg: /var/folders/p3/031hvc6j5kn3bwkr35hc9kvh0000gn/T/BinaryExpression-4115fb.cpp
    clang-12: note: diagnostic msg: /var/folders/p3/031hvc6j5kn3bwkr35hc9kvh0000gn/T/BinaryExpression-4115fb.sh
    clang-12: note: diagnostic msg: Crash backtrace is located in
    clang-12: note: diagnostic msg: /Users/angelodeluca/Library/Logs/DiagnosticReports/clang-12_<YYYY-MM-DD-HHMMSS>_<hostname>.crash
    clang-12: note: diagnostic msg: (choose the .crash file that corresponds to your crash)
    clang-12: note: diagnostic msg: 
    
    ********************
    [3/52] Building CXX object CMakeFiles/jsxer-core.dir/src/jsxer/nodes/CallExpression.cpp.o
    FAILED: CMakeFiles/jsxer-core.dir/src/jsxer/nodes/CallExpression.cpp.o 
    /Users/angelodeluca/PlutoObfuscator/bin/clang++ -DCONFIG_VERSION=\"1.0.1b\" -I/Users/angelodeluca/CLionProjects/jsxbin_decompiler/include -g -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -mllvm -fla -std=gnu++11 -MD -MT CMakeFiles/jsxer-core.dir/src/jsxer/nodes/CallExpression.cpp.o -MF CMakeFiles/jsxer-core.dir/src/jsxer/nodes/CallExpression.cpp.o.d -o CMakeFiles/jsxer-core.dir/src/jsxer/nodes/CallExpression.cpp.o -c /Users/angelodeluca/CLionProjects/jsxbin_decompiler/src/jsxer/nodes/CallExpression.cpp
    PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script.
    Stack dump:
    0.	Program arguments: /Users/angelodeluca/PlutoObfuscator/bin/clang++ -DCONFIG_VERSION=\"1.0.1b\" -I/Users/angelodeluca/CLionProjects/jsxbin_decompiler/include -g -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -mllvm -fla -std=gnu++11 -MD -MT CMakeFiles/jsxer-core.dir/src/jsxer/nodes/CallExpression.cpp.o -MF CMakeFiles/jsxer-core.dir/src/jsxer/nodes/CallExpression.cpp.o.d -o CMakeFiles/jsxer-core.dir/src/jsxer/nodes/CallExpression.cpp.o -c /Users/angelodeluca/CLionProjects/jsxbin_decompiler/src/jsxer/nodes/CallExpression.cpp
    1.	<eof> parser at end of file
    2.	Code generation
    3.	Running pass 'Function Pass Manager' on module '/Users/angelodeluca/CLionProjects/jsxbin_decompiler/src/jsxer/nodes/CallExpression.cpp'.
    4.	Running pass 'AArch64PreLegalizerCombiner' on function '@_ZN5jsxer5nodes14CallExpression9to_stringEv'
    Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
    0  clang-12                 0x000000010460f5bc llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 56
    1  clang-12                 0x000000010460e5ac llvm::sys::RunSignalHandlers() + 112
    2  clang-12                 0x000000010460ebd0 llvm::sys::CleanupOnSignal(unsigned long) + 232
    3  clang-12                 0x0000000104563550 CrashRecoverySignalHandler(int) + 200
    4  libsystem_platform.dylib 0x00000001a85874a4 _sigtramp + 56
    5  clang-12                 0x0000000104f4190c llvm::getOpcodeDef(unsigned int, llvm::Register, llvm::MachineRegisterInfo const&) + 32
    6  clang-12                 0x0000000104eddf30 llvm::CombinerHelper::matchUndefSelectCmp(llvm::MachineInstr&) + 28
    7  clang-12                 0x0000000102d07d58 (anonymous namespace)::AArch64GenPreLegalizerCombinerHelper::tryCombineAll(llvm::GISelChangeObserver&, llvm::MachineInstr&, llvm::MachineIRBuilder&) const + 10496
    8  clang-12                 0x0000000102d05224 (anonymous namespace)::AArch64PreLegalizerCombinerInfo::combine(llvm::GISelChangeObserver&, llvm::MachineInstr&, llvm::MachineIRBuilder&) const + 76
    9  clang-12                 0x0000000104ed3b40 llvm::Combiner::combineMachineInstrs(llvm::MachineFunction&, llvm::GISelCSEInfo*) + 1524
    10 clang-12                 0x0000000102d05058 (anonymous namespace)::AArch64PreLegalizerCombiner::runOnMachineFunction(llvm::MachineFunction&) + 664
    11 clang-12                 0x0000000103c702a8 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 304
    12 clang-12                 0x0000000103f94694 llvm::FPPassManager::runOnFunction(llvm::Function&) + 696
    13 clang-12                 0x0000000103f9a0ec llvm::FPPassManager::runOnModule(llvm::Module&) + 60
    14 clang-12                 0x0000000103f94bb4 llvm::legacy::PassManagerImpl::run(llvm::Module&) + 856
    15 clang-12                 0x0000000104843324 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::DataLayout const&, llvm::Module*, clang::BackendAction, std::__1::unique_ptr<llvm::raw_pwrite_stream, std::__1::default_delete<llvm::raw_pwrite_stream> >) + 6784
    16 clang-12                 0x0000000104a73398 clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&) + 824
    17 clang-12                 0x00000001059026a4 clang::ParseAST(clang::Sema&, bool, bool) + 504
    18 clang-12                 0x0000000104cf9ae0 clang::FrontendAction::Execute() + 108
    19 clang-12                 0x0000000104c917e4 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 1840
    20 clang-12                 0x0000000104d60124 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 1272
    21 clang-12                 0x0000000102cd7d50 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) + 1720
    22 clang-12                 0x0000000102cd6918 ExecuteCC1Tool(llvm::SmallVectorImpl<char const*>&) + 1100
    23 clang-12                 0x0000000104b6f634 void llvm::function_ref<void ()>::callback_fn<clang::driver::CC1Command::Execute(llvm::ArrayRef<llvm::Optional<llvm::StringRef> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*, bool*) const::$_1>(long) + 28
    24 clang-12                 0x000000010456324c llvm::CrashRecoveryContext::RunSafely(llvm::function_ref<void ()>) + 204
    25 clang-12                 0x0000000104b6ee64 clang::driver::CC1Command::Execute(llvm::ArrayRef<llvm::Optional<llvm::StringRef> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*, bool*) const + 340
    26 clang-12                 0x0000000104b4a0b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const + 460
    27 clang-12                 0x0000000104b4a3d8 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl<std::__1::pair<int, clang::driver::Command const*> >&) const + 112
    28 clang-12                 0x0000000104b5ba68 clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl<std::__1::pair<int, clang::driver::Command const*> >&) + 216
    29 clang-12                 0x0000000102cd6094 main + 10352
    30 dyld                     0x0000000109a8508c start + 520
    clang-12: error: clang frontend command failed with exit code 139 (use -v to see invocation)
    clang version 12.0.1
    Target: aarch64-apple-darwin21.5.0
    Thread model: posix
    InstalledDir: /Users/angelodeluca/PlutoObfuscator/bin
    clang-12: note: diagnostic msg: 
    ********************
    
    PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
    Preprocessed source(s) and associated run script(s) are located at:
    clang-12: note: diagnostic msg: /var/folders/p3/031hvc6j5kn3bwkr35hc9kvh0000gn/T/CallExpression-7c8b44.cpp
    clang-12: note: diagnostic msg: /var/folders/p3/031hvc6j5kn3bwkr35hc9kvh0000gn/T/CallExpression-7c8b44.sh
    clang-12: note: diagnostic msg: Crash backtrace is located in
    clang-12: note: diagnostic msg: /Users/angelodeluca/Library/Logs/DiagnosticReports/clang-12_<YYYY-MM-DD-HHMMSS>_<hostname>.crash
    clang-12: note: diagnostic msg: (choose the .crash file that corresponds to your crash)
    clang-12: note: diagnostic msg: 
    
    ********************
    [4/52] Building CXX object CMakeFiles/jsxer-core.dir/src/jsxer/nodes/ConstAssignment.cpp.o
    FAILED: CMakeFiles/jsxer-core.dir/src/jsxer/nodes/ConstAssignment.cpp.o 
    /Users/angelodeluca/PlutoObfuscator/bin/clang++ -DCONFIG_VERSION=\"1.0.1b\" -I/Users/angelodeluca/CLionProjects/jsxbin_decompiler/include -g -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -mllvm -fla -std=gnu++11 -MD -MT CMakeFiles/jsxer-core.dir/src/jsxer/nodes/ConstAssignment.cpp.o -MF CMakeFiles/jsxer-core.dir/src/jsxer/nodes/ConstAssignment.cpp.o.d -o CMakeFiles/jsxer-core.dir/src/jsxer/nodes/ConstAssignment.cpp.o -c /Users/angelodeluca/CLionProjects/jsxbin_decompiler/src/jsxer/nodes/ConstAssignment.cpp
    PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script.
    Stack dump:
    0.	Program arguments: /Users/angelodeluca/PlutoObfuscator/bin/clang++ -DCONFIG_VERSION=\"1.0.1b\" -I/Users/angelodeluca/CLionProjects/jsxbin_decompiler/include -g -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -mllvm -fla -std=gnu++11 -MD -MT CMakeFiles/jsxer-core.dir/src/jsxer/nodes/ConstAssignment.cpp.o -MF CMakeFiles/jsxer-core.dir/src/jsxer/nodes/ConstAssignment.cpp.o.d -o CMakeFiles/jsxer-core.dir/src/jsxer/nodes/ConstAssignment.cpp.o -c /Users/angelodeluca/CLionProjects/jsxbin_decompiler/src/jsxer/nodes/ConstAssignment.cpp
    1.	<eof> parser at end of file
    2.	Code generation
    3.	Running pass 'Function Pass Manager' on module '/Users/angelodeluca/CLionProjects/jsxbin_decompiler/src/jsxer/nodes/ConstAssignment.cpp'.
    4.	Running pass 'AArch64PreLegalizerCombiner' on function '@_ZN5jsxer5nodes15ConstAssignment9to_stringEv'
    Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
    0  clang-12                 0x0000000101ef75bc llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 56
    1  clang-12                 0x0000000101ef65ac llvm::sys::RunSignalHandlers() + 112
    2  clang-12                 0x0000000101ef6bd0 llvm::sys::CleanupOnSignal(unsigned long) + 232
    3  clang-12                 0x0000000101e4b550 CrashRecoverySignalHandler(int) + 200
    4  libsystem_platform.dylib 0x00000001a85874a4 _sigtramp + 56
    5  clang-12                 0x000000010282990c llvm::getOpcodeDef(unsigned int, llvm::Register, llvm::MachineRegisterInfo const&) + 32
    6  clang-12                 0x00000001027c5f30 llvm::CombinerHelper::matchUndefSelectCmp(llvm::MachineInstr&) + 28
    7  clang-12                 0x00000001005efd58 (anonymous namespace)::AArch64GenPreLegalizerCombinerHelper::tryCombineAll(llvm::GISelChangeObserver&, llvm::MachineInstr&, llvm::MachineIRBuilder&) const + 10496
    8  clang-12                 0x00000001005ed224 (anonymous namespace)::AArch64PreLegalizerCombinerInfo::combine(llvm::GISelChangeObserver&, llvm::MachineInstr&, llvm::MachineIRBuilder&) const + 76
    9  clang-12                 0x00000001027bbb40 llvm::Combiner::combineMachineInstrs(llvm::MachineFunction&, llvm::GISelCSEInfo*) + 1524
    10 clang-12                 0x00000001005ed058 (anonymous namespace)::AArch64PreLegalizerCombiner::runOnMachineFunction(llvm::MachineFunction&) + 664
    11 clang-12                 0x00000001015582a8 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 304
    12 clang-12                 0x000000010187c694 llvm::FPPassManager::runOnFunction(llvm::Function&) + 696
    13 clang-12                 0x00000001018820ec llvm::FPPassManager::runOnModule(llvm::Module&) + 60
    14 clang-12                 0x000000010187cbb4 llvm::legacy::PassManagerImpl::run(llvm::Module&) + 856
    15 clang-12                 0x000000010212b324 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::DataLayout const&, llvm::Module*, clang::BackendAction, std::__1::unique_ptr<llvm::raw_pwrite_stream, std::__1::default_delete<llvm::raw_pwrite_stream> >) + 6784
    16 clang-12                 0x000000010235b398 clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&) + 824
    17 clang-12                 0x00000001031ea6a4 clang::ParseAST(clang::Sema&, bool, bool) + 504
    18 clang-12                 0x00000001025e1ae0 clang::FrontendAction::Execute() + 108
    19 clang-12                 0x00000001025797e4 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 1840
    20 clang-12                 0x0000000102648124 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 1272
    21 clang-12                 0x00000001005bfd50 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) + 1720
    22 clang-12                 0x00000001005be918 ExecuteCC1Tool(llvm::SmallVectorImpl<char const*>&) + 1100
    23 clang-12                 0x0000000102457634 void llvm::function_ref<void ()>::callback_fn<clang::driver::CC1Command::Execute(llvm::ArrayRef<llvm::Optional<llvm::StringRef> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*, bool*) const::$_1>(long) + 28
    24 clang-12                 0x0000000101e4b24c llvm::CrashRecoveryContext::RunSafely(llvm::function_ref<void ()>) + 204
    25 clang-12                 0x0000000102456e64 clang::driver::CC1Command::Execute(llvm::ArrayRef<llvm::Optional<llvm::StringRef> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*, bool*) const + 340
    26 clang-12                 0x00000001024320b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const + 460
    27 clang-12                 0x00000001024323d8 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl<std::__1::pair<int, clang::driver::Command const*> >&) const + 112
    28 clang-12                 0x0000000102443a68 clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl<std::__1::pair<int, clang::driver::Command const*> >&) + 216
    29 clang-12                 0x00000001005be094 main + 10352
    30 dyld                     0x000000010737508c start + 520
    clang-12: error: clang frontend command failed with exit code 139 (use -v to see invocation)
    clang version 12.0.1
    Target: aarch64-apple-darwin21.5.0
    Thread model: posix
    InstalledDir: /Users/angelodeluca/PlutoObfuscator/bin
    clang-12: note: diagnostic msg: 
    ********************
    
    PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
    Preprocessed source(s) and associated run script(s) are located at:
    clang-12: note: diagnostic msg: /var/folders/p3/031hvc6j5kn3bwkr35hc9kvh0000gn/T/ConstAssignment-adfcdc.cpp
    clang-12: note: diagnostic msg: /var/folders/p3/031hvc6j5kn3bwkr35hc9kvh0000gn/T/ConstAssignment-adfcdc.sh
    clang-12: note: diagnostic msg: Crash backtrace is located in
    clang-12: note: diagnostic msg: /Users/angelodeluca/Library/Logs/DiagnosticReports/clang-12_<YYYY-MM-DD-HHMMSS>_<hostname>.crash
    clang-12: note: diagnostic msg: (choose the .crash file that corresponds to your crash)
    clang-12: note: diagnostic msg: 
    
    ********************
    [5/52] Building CXX object CMakeFiles/jsxer-core.dir/src/jsxer/nodes/ArrayExpression.cpp.o
    FAILED: CMakeFiles/jsxer-core.dir/src/jsxer/nodes/ArrayExpression.cpp.o 
    /Users/angelodeluca/PlutoObfuscator/bin/clang++ -DCONFIG_VERSION=\"1.0.1b\" -I/Users/angelodeluca/CLionProjects/jsxbin_decompiler/include -g -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -mllvm -fla -std=gnu++11 -MD -MT CMakeFiles/jsxer-core.dir/src/jsxer/nodes/ArrayExpression.cpp.o -MF CMakeFiles/jsxer-core.dir/src/jsxer/nodes/ArrayExpression.cpp.o.d -o CMakeFiles/jsxer-core.dir/src/jsxer/nodes/ArrayExpression.cpp.o -c /Users/angelodeluca/CLionProjects/jsxbin_decompiler/src/jsxer/nodes/ArrayExpression.cpp
    PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script.
    Stack dump:
    0.	Program arguments: /Users/angelodeluca/PlutoObfuscator/bin/clang++ -DCONFIG_VERSION=\"1.0.1b\" -I/Users/angelodeluca/CLionProjects/jsxbin_decompiler/include -g -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -mllvm -fla -std=gnu++11 -MD -MT CMakeFiles/jsxer-core.dir/src/jsxer/nodes/ArrayExpression.cpp.o -MF CMakeFiles/jsxer-core.dir/src/jsxer/nodes/ArrayExpression.cpp.o.d -o CMakeFiles/jsxer-core.dir/src/jsxer/nodes/ArrayExpression.cpp.o -c /Users/angelodeluca/CLionProjects/jsxbin_decompiler/src/jsxer/nodes/ArrayExpression.cpp
    1.	<eof> parser at end of file
    2.	Code generation
    3.	Running pass 'Function Pass Manager' on module '/Users/angelodeluca/CLionProjects/jsxbin_decompiler/src/jsxer/nodes/ArrayExpression.cpp'.
    4.	Running pass 'AArch64PreLegalizerCombiner' on function '@_ZN5jsxer5nodes15ArrayExpression9to_stringEv'
    Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
    0  clang-12                 0x0000000105cef5bc llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 56
    1  clang-12                 0x0000000105cee5ac llvm::sys::RunSignalHandlers() + 112
    2  clang-12                 0x0000000105ceebd0 llvm::sys::CleanupOnSignal(unsigned long) + 232
    3  clang-12                 0x0000000105c43550 CrashRecoverySignalHandler(int) + 200
    4  libsystem_platform.dylib 0x00000001a85874a4 _sigtramp + 56
    5  clang-12                 0x000000010662190c llvm::getOpcodeDef(unsigned int, llvm::Register, llvm::MachineRegisterInfo const&) + 32
    6  clang-12                 0x00000001065bdf30 llvm::CombinerHelper::matchUndefSelectCmp(llvm::MachineInstr&) + 28
    7  clang-12                 0x00000001043e7d58 (anonymous namespace)::AArch64GenPreLegalizerCombinerHelper::tryCombineAll(llvm::GISelChangeObserver&, llvm::MachineInstr&, llvm::MachineIRBuilder&) const + 10496
    8  clang-12                 0x00000001043e5224 (anonymous namespace)::AArch64PreLegalizerCombinerInfo::combine(llvm::GISelChangeObserver&, llvm::MachineInstr&, llvm::MachineIRBuilder&) const + 76
    9  clang-12                 0x00000001065b3b40 llvm::Combiner::combineMachineInstrs(llvm::MachineFunction&, llvm::GISelCSEInfo*) + 1524
    10 clang-12                 0x00000001043e5058 (anonymous namespace)::AArch64PreLegalizerCombiner::runOnMachineFunction(llvm::MachineFunction&) + 664
    11 clang-12                 0x00000001053502a8 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 304
    12 clang-12                 0x0000000105674694 llvm::FPPassManager::runOnFunction(llvm::Function&) + 696
    13 clang-12                 0x000000010567a0ec llvm::FPPassManager::runOnModule(llvm::Module&) + 60
    14 clang-12                 0x0000000105674bb4 llvm::legacy::PassManagerImpl::run(llvm::Module&) + 856
    15 clang-12                 0x0000000105f23324 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::DataLayout const&, llvm::Module*, clang::BackendAction, std::__1::unique_ptr<llvm::raw_pwrite_stream, std::__1::default_delete<llvm::raw_pwrite_stream> >) + 6784
    16 clang-12                 0x0000000106153398 clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&) + 824
    17 clang-12                 0x0000000106fe26a4 clang::ParseAST(clang::Sema&, bool, bool) + 504
    18 clang-12                 0x00000001063d9ae0 clang::FrontendAction::Execute() + 108
    19 clang-12                 0x00000001063717e4 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 1840
    20 clang-12                 0x0000000106440124 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 1272
    21 clang-12                 0x00000001043b7d50 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) + 1720
    22 clang-12                 0x00000001043b6918 ExecuteCC1Tool(llvm::SmallVectorImpl<char const*>&) + 1100
    23 clang-12                 0x000000010624f634 void llvm::function_ref<void ()>::callback_fn<clang::driver::CC1Command::Execute(llvm::ArrayRef<llvm::Optional<llvm::StringRef> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*, bool*) const::$_1>(long) + 28
    24 clang-12                 0x0000000105c4324c llvm::CrashRecoveryContext::RunSafely(llvm::function_ref<void ()>) + 204
    25 clang-12                 0x000000010624ee64 clang::driver::CC1Command::Execute(llvm::ArrayRef<llvm::Optional<llvm::StringRef> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*, bool*) const + 340
    26 clang-12                 0x000000010622a0b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const + 460
    27 clang-12                 0x000000010622a3d8 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl<std::__1::pair<int, clang::driver::Command const*> >&) const + 112
    28 clang-12                 0x000000010623ba68 clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl<std::__1::pair<int, clang::driver::Command const*> >&) + 216
    29 clang-12                 0x00000001043b6094 main + 10352
    30 dyld                     0x000000010b17108c start + 520
    clang-12: error: clang frontend command failed with exit code 139 (use -v to see invocation)
    clang version 12.0.1
    Target: aarch64-apple-darwin21.5.0
    Thread model: posix
    InstalledDir: /Users/angelodeluca/PlutoObfuscator/bin
    clang-12: note: diagnostic msg: 
    ********************
    
    PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
    Preprocessed source(s) and associated run script(s) are located at:
    clang-12: note: diagnostic msg: /var/folders/p3/031hvc6j5kn3bwkr35hc9kvh0000gn/T/ArrayExpression-3a0a8f.cpp
    clang-12: note: diagnostic msg: /var/folders/p3/031hvc6j5kn3bwkr35hc9kvh0000gn/T/ArrayExpression-3a0a8f.sh
    clang-12: note: diagnostic msg: Crash backtrace is located in
    clang-12: note: diagnostic msg: /Users/angelodeluca/Library/Logs/DiagnosticReports/clang-12_<YYYY-MM-DD-HHMMSS>_<hostname>.crash
    clang-12: note: diagnostic msg: (choose the .crash file that corresponds to your crash)
    clang-12: note: diagnostic msg: 
    
    ********************
    [6/52] Building CXX object CMakeFiles/jsxer-core.dir/src/jsxer/nodes/BreakStatement.cpp.o
    FAILED: CMakeFiles/jsxer-core.dir/src/jsxer/nodes/BreakStatement.cpp.o 
    /Users/angelodeluca/PlutoObfuscator/bin/clang++ -DCONFIG_VERSION=\"1.0.1b\" -I/Users/angelodeluca/CLionProjects/jsxbin_decompiler/include -g -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -mllvm -fla -std=gnu++11 -MD -MT CMakeFiles/jsxer-core.dir/src/jsxer/nodes/BreakStatement.cpp.o -MF CMakeFiles/jsxer-core.dir/src/jsxer/nodes/BreakStatement.cpp.o.d -o CMakeFiles/jsxer-core.dir/src/jsxer/nodes/BreakStatement.cpp.o -c /Users/angelodeluca/CLionProjects/jsxbin_decompiler/src/jsxer/nodes/BreakStatement.cpp
    PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script.
    Stack dump:
    0.	Program arguments: /Users/angelodeluca/PlutoObfuscator/bin/clang++ -DCONFIG_VERSION=\"1.0.1b\" -I/Users/angelodeluca/CLionProjects/jsxbin_decompiler/include -g -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -mllvm -fla -std=gnu++11 -MD -MT CMakeFiles/jsxer-core.dir/src/jsxer/nodes/BreakStatement.cpp.o -MF CMakeFiles/jsxer-core.dir/src/jsxer/nodes/BreakStatement.cpp.o.d -o CMakeFiles/jsxer-core.dir/src/jsxer/nodes/BreakStatement.cpp.o -c /Users/angelodeluca/CLionProjects/jsxbin_decompiler/src/jsxer/nodes/BreakStatement.cpp
    1.	<eof> parser at end of file
    2.	Code generation
    3.	Running pass 'Function Pass Manager' on module '/Users/angelodeluca/CLionProjects/jsxbin_decompiler/src/jsxer/nodes/BreakStatement.cpp'.
    4.	Running pass 'AArch64PreLegalizerCombiner' on function '@_ZN5jsxer5nodes14BreakStatement9to_stringEv'
    Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
    0  clang-12                 0x00000001063ff5bc llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 56
    1  clang-12                 0x00000001063fe5ac llvm::sys::RunSignalHandlers() + 112
    2  clang-12                 0x00000001063febd0 llvm::sys::CleanupOnSignal(unsigned long) + 232
    3  clang-12                 0x0000000106353550 CrashRecoverySignalHandler(int) + 200
    4  libsystem_platform.dylib 0x00000001a85874a4 _sigtramp + 56
    5  clang-12                 0x0000000106d3190c llvm::getOpcodeDef(unsigned int, llvm::Register, llvm::MachineRegisterInfo const&) + 32
    6  clang-12                 0x0000000106ccdf30 llvm::CombinerHelper::matchUndefSelectCmp(llvm::MachineInstr&) + 28
    7  clang-12                 0x0000000104af7d58 (anonymous namespace)::AArch64GenPreLegalizerCombinerHelper::tryCombineAll(llvm::GISelChangeObserver&, llvm::MachineInstr&, llvm::MachineIRBuilder&) const + 10496
    8  clang-12                 0x0000000104af5224 (anonymous namespace)::AArch64PreLegalizerCombinerInfo::combine(llvm::GISelChangeObserver&, llvm::MachineInstr&, llvm::MachineIRBuilder&) const + 76
    9  clang-12                 0x0000000106cc3b40 llvm::Combiner::combineMachineInstrs(llvm::MachineFunction&, llvm::GISelCSEInfo*) + 1524
    10 clang-12                 0x0000000104af5058 (anonymous namespace)::AArch64PreLegalizerCombiner::runOnMachineFunction(llvm::MachineFunction&) + 664
    11 clang-12                 0x0000000105a602a8 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 304
    12 clang-12                 0x0000000105d84694 llvm::FPPassManager::runOnFunction(llvm::Function&) + 696
    13 clang-12                 0x0000000105d8a0ec llvm::FPPassManager::runOnModule(llvm::Module&) + 60
    14 clang-12                 0x0000000105d84bb4 llvm::legacy::PassManagerImpl::run(llvm::Module&) + 856
    15 clang-12                 0x0000000106633324 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::DataLayout const&, llvm::Module*, clang::BackendAction, std::__1::unique_ptr<llvm::raw_pwrite_stream, std::__1::default_delete<llvm::raw_pwrite_stream> >) + 6784
    16 clang-12                 0x0000000106863398 clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&) + 824
    17 clang-12                 0x00000001076f26a4 clang::ParseAST(clang::Sema&, bool, bool) + 504
    18 clang-12                 0x0000000106ae9ae0 clang::FrontendAction::Execute() + 108
    19 clang-12                 0x0000000106a817e4 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 1840
    20 clang-12                 0x0000000106b50124 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 1272
    21 clang-12                 0x0000000104ac7d50 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) + 1720
    22 clang-12                 0x0000000104ac6918 ExecuteCC1Tool(llvm::SmallVectorImpl<char const*>&) + 1100
    23 clang-12                 0x000000010695f634 void llvm::function_ref<void ()>::callback_fn<clang::driver::CC1Command::Execute(llvm::ArrayRef<llvm::Optional<llvm::StringRef> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*, bool*) const::$_1>(long) + 28
    24 clang-12                 0x000000010635324c llvm::CrashRecoveryContext::RunSafely(llvm::function_ref<void ()>) + 204
    25 clang-12                 0x000000010695ee64 clang::driver::CC1Command::Execute(llvm::ArrayRef<llvm::Optional<llvm::StringRef> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*, bool*) const + 340
    26 clang-12                 0x000000010693a0b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const + 460
    27 clang-12                 0x000000010693a3d8 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl<std::__1::pair<int, clang::driver::Command const*> >&) const + 112
    28 clang-12                 0x000000010694ba68 clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl<std::__1::pair<int, clang::driver::Command const*> >&) + 216
    29 clang-12                 0x0000000104ac6094 main + 10352
    30 dyld                     0x000000010b76d08c start + 520
    clang-12: error: clang frontend command failed with exit code 139 (use -v to see invocation)
    clang version 12.0.1
    Target: aarch64-apple-darwin21.5.0
    Thread model: posix
    InstalledDir: /Users/angelodeluca/PlutoObfuscator/bin
    clang-12: note: diagnostic msg: 
    ********************
    
    PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
    Preprocessed source(s) and associated run script(s) are located at:
    clang-12: note: diagnostic msg: /var/folders/p3/031hvc6j5kn3bwkr35hc9kvh0000gn/T/BreakStatement-4dce10.cpp
    clang-12: note: diagnostic msg: /var/folders/p3/031hvc6j5kn3bwkr35hc9kvh0000gn/T/BreakStatement-4dce10.sh
    clang-12: note: diagnostic msg: Crash backtrace is located in
    clang-12: note: diagnostic msg: /Users/angelodeluca/Library/Logs/DiagnosticReports/clang-12_<YYYY-MM-DD-HHMMSS>_<hostname>.crash
    clang-12: note: diagnostic msg: (choose the .crash file that corresponds to your crash)
    clang-12: note: diagnostic msg: 
    
    ********************
    [7/52] Building CXX object CMakeFiles/jsxer-core.dir/src/jsxer/jsxer.cpp.o
    FAILED: CMakeFiles/jsxer-core.dir/src/jsxer/jsxer.cpp.o 
    /Users/angelodeluca/PlutoObfuscator/bin/clang++ -DCONFIG_VERSION=\"1.0.1b\" -I/Users/angelodeluca/CLionProjects/jsxbin_decompiler/include -g -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -mllvm -fla -std=gnu++11 -MD -MT CMakeFiles/jsxer-core.dir/src/jsxer/jsxer.cpp.o -MF CMakeFiles/jsxer-core.dir/src/jsxer/jsxer.cpp.o.d -o CMakeFiles/jsxer-core.dir/src/jsxer/jsxer.cpp.o -c /Users/angelodeluca/CLionProjects/jsxbin_decompiler/src/jsxer/jsxer.cpp
    PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script.
    Stack dump:
    0.	Program arguments: /Users/angelodeluca/PlutoObfuscator/bin/clang++ -DCONFIG_VERSION=\"1.0.1b\" -I/Users/angelodeluca/CLionProjects/jsxbin_decompiler/include -g -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -mllvm -fla -std=gnu++11 -MD -MT CMakeFiles/jsxer-core.dir/src/jsxer/jsxer.cpp.o -MF CMakeFiles/jsxer-core.dir/src/jsxer/jsxer.cpp.o.d -o CMakeFiles/jsxer-core.dir/src/jsxer/jsxer.cpp.o -c /Users/angelodeluca/CLionProjects/jsxbin_decompiler/src/jsxer/jsxer.cpp
    1.	<eof> parser at end of file
    2.	Code generation
    3.	Running pass 'Function Pass Manager' on module '/Users/angelodeluca/CLionProjects/jsxbin_decompiler/src/jsxer/jsxer.cpp'.
    4.	Running pass 'AArch64PreLegalizerCombiner' on function '@_ZNSt3__1plIcNS_11char_traitsIcEENS_9allocatorIcEEEENS_12basic_stringIT_T0_T1_EERKS9_SB_'
    Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
    0  clang-12                 0x00000001065875bc llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 56
    1  clang-12                 0x00000001065865ac llvm::sys::RunSignalHandlers() + 112
    2  clang-12                 0x0000000106586bd0 llvm::sys::CleanupOnSignal(unsigned long) + 232
    3  clang-12                 0x00000001064db550 CrashRecoverySignalHandler(int) + 200
    4  libsystem_platform.dylib 0x00000001a85874a4 _sigtramp + 56
    5  clang-12                 0x0000000106eb990c llvm::getOpcodeDef(unsigned int, llvm::Register, llvm::MachineRegisterInfo const&) + 32
    6  clang-12                 0x0000000106e55f30 llvm::CombinerHelper::matchUndefSelectCmp(llvm::MachineInstr&) + 28
    7  clang-12                 0x0000000104c7fd58 (anonymous namespace)::AArch64GenPreLegalizerCombinerHelper::tryCombineAll(llvm::GISelChangeObserver&, llvm::MachineInstr&, llvm::MachineIRBuilder&) const + 10496
    8  clang-12                 0x0000000104c7d224 (anonymous namespace)::AArch64PreLegalizerCombinerInfo::combine(llvm::GISelChangeObserver&, llvm::MachineInstr&, llvm::MachineIRBuilder&) const + 76
    9  clang-12                 0x0000000106e4bb40 llvm::Combiner::combineMachineInstrs(llvm::MachineFunction&, llvm::GISelCSEInfo*) + 1524
    10 clang-12                 0x0000000104c7d058 (anonymous namespace)::AArch64PreLegalizerCombiner::runOnMachineFunction(llvm::MachineFunction&) + 664
    11 clang-12                 0x0000000105be82a8 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 304
    12 clang-12                 0x0000000105f0c694 llvm::FPPassManager::runOnFunction(llvm::Function&) + 696
    13 clang-12                 0x0000000105f120ec llvm::FPPassManager::runOnModule(llvm::Module&) + 60
    14 clang-12                 0x0000000105f0cbb4 llvm::legacy::PassManagerImpl::run(llvm::Module&) + 856
    15 clang-12                 0x00000001067bb324 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::DataLayout const&, llvm::Module*, clang::BackendAction, std::__1::unique_ptr<llvm::raw_pwrite_stream, std::__1::default_delete<llvm::raw_pwrite_stream> >) + 6784
    16 clang-12                 0x00000001069eb398 clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&) + 824
    17 clang-12                 0x000000010787a6a4 clang::ParseAST(clang::Sema&, bool, bool) + 504
    18 clang-12                 0x0000000106c71ae0 clang::FrontendAction::Execute() + 108
    19 clang-12                 0x0000000106c097e4 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 1840
    20 clang-12                 0x0000000106cd8124 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 1272
    21 clang-12                 0x0000000104c4fd50 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) + 1720
    22 clang-12                 0x0000000104c4e918 ExecuteCC1Tool(llvm::SmallVectorImpl<char const*>&) + 1100
    23 clang-12                 0x0000000106ae7634 void llvm::function_ref<void ()>::callback_fn<clang::driver::CC1Command::Execute(llvm::ArrayRef<llvm::Optional<llvm::StringRef> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*, bool*) const::$_1>(long) + 28
    24 clang-12                 0x00000001064db24c llvm::CrashRecoveryContext::RunSafely(llvm::function_ref<void ()>) + 204
    25 clang-12                 0x0000000106ae6e64 clang::driver::CC1Command::Execute(llvm::ArrayRef<llvm::Optional<llvm::StringRef> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*, bool*) const + 340
    26 clang-12                 0x0000000106ac20b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const + 460
    27 clang-12                 0x0000000106ac23d8 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl<std::__1::pair<int, clang::driver::Command const*> >&) const + 112
    28 clang-12                 0x0000000106ad3a68 clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl<std::__1::pair<int, clang::driver::Command const*> >&) + 216
    29 clang-12                 0x0000000104c4e094 main + 10352
    30 dyld                     0x000000010b9bd08c start + 520
    clang-12: error: clang frontend command failed with exit code 139 (use -v to see invocation)
    clang version 12.0.1
    Target: aarch64-apple-darwin21.5.0
    Thread model: posix
    InstalledDir: /Users/angelodeluca/PlutoObfuscator/bin
    clang-12: note: diagnostic msg: 
    ********************
    
    PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
    Preprocessed source(s) and associated run script(s) are located at:
    clang-12: note: diagnostic msg: /var/folders/p3/031hvc6j5kn3bwkr35hc9kvh0000gn/T/jsxer-492807.cpp
    clang-12: note: diagnostic msg: /var/folders/p3/031hvc6j5kn3bwkr35hc9kvh0000gn/T/jsxer-492807.sh
    clang-12: note: diagnostic msg: Crash backtrace is located in
    clang-12: note: diagnostic msg: /Users/angelodeluca/Library/Logs/DiagnosticReports/clang-12_<YYYY-MM-DD-HHMMSS>_<hostname>.crash
    clang-12: note: diagnostic msg: (choose the .crash file that corresponds to your crash)
    clang-12: note: diagnostic msg: 
    
    ********************
    [8/52] Building CXX object CMakeFiles/jsxer-core.dir/src/jsxer/decoders.cpp.o
    FAILED: CMakeFiles/jsxer-core.dir/src/jsxer/decoders.cpp.o 
    /Users/angelodeluca/PlutoObfuscator/bin/clang++ -DCONFIG_VERSION=\"1.0.1b\" -I/Users/angelodeluca/CLionProjects/jsxbin_decompiler/include -g -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -mllvm -fla -std=gnu++11 -MD -MT CMakeFiles/jsxer-core.dir/src/jsxer/decoders.cpp.o -MF CMakeFiles/jsxer-core.dir/src/jsxer/decoders.cpp.o.d -o CMakeFiles/jsxer-core.dir/src/jsxer/decoders.cpp.o -c /Users/angelodeluca/CLionProjects/jsxbin_decompiler/src/jsxer/decoders.cpp
    PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script.
    Stack dump:
    0.	Program arguments: /Users/angelodeluca/PlutoObfuscator/bin/clang++ -DCONFIG_VERSION=\"1.0.1b\" -I/Users/angelodeluca/CLionProjects/jsxbin_decompiler/include -g -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -mllvm -fla -std=gnu++11 -MD -MT CMakeFiles/jsxer-core.dir/src/jsxer/decoders.cpp.o -MF CMakeFiles/jsxer-core.dir/src/jsxer/decoders.cpp.o.d -o CMakeFiles/jsxer-core.dir/src/jsxer/decoders.cpp.o -c /Users/angelodeluca/CLionProjects/jsxbin_decompiler/src/jsxer/decoders.cpp
    1.	<eof> parser at end of file
    2.	Code generation
    3.	Running pass 'Function Pass Manager' on module '/Users/angelodeluca/CLionProjects/jsxbin_decompiler/src/jsxer/decoders.cpp'.
    4.	Running pass 'AArch64PreLegalizerCombiner' on function '@_ZN5jsxer5nodes3getENS0_8NodeTypeERNS_6ReaderE'
    Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
    0  clang-12                 0x00000001046d35bc llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 56
    1  clang-12                 0x00000001046d25ac llvm::sys::RunSignalHandlers() + 112
    2  clang-12                 0x00000001046d2bd0 llvm::sys::CleanupOnSignal(unsigned long) + 232
    3  clang-12                 0x0000000104627550 CrashRecoverySignalHandler(int) + 200
    4  libsystem_platform.dylib 0x00000001a85874a4 _sigtramp + 56
    5  clang-12                 0x000000010500590c llvm::getOpcodeDef(unsigned int, llvm::Register, llvm::MachineRegisterInfo const&) + 32
    6  clang-12                 0x0000000104fa1f30 llvm::CombinerHelper::matchUndefSelectCmp(llvm::MachineInstr&) + 28
    7  clang-12                 0x0000000102dcbd58 (anonymous namespace)::AArch64GenPreLegalizerCombinerHelper::tryCombineAll(llvm::GISelChangeObserver&, llvm::MachineInstr&, llvm::MachineIRBuilder&) const + 10496
    8  clang-12                 0x0000000102dc9224 (anonymous namespace)::AArch64PreLegalizerCombinerInfo::combine(llvm::GISelChangeObserver&, llvm::MachineInstr&, llvm::MachineIRBuilder&) const + 76
    9  clang-12                 0x0000000104f97b40 llvm::Combiner::combineMachineInstrs(llvm::MachineFunction&, llvm::GISelCSEInfo*) + 1524
    10 clang-12                 0x0000000102dc9058 (anonymous namespace)::AArch64PreLegalizerCombiner::runOnMachineFunction(llvm::MachineFunction&) + 664
    11 clang-12                 0x0000000103d342a8 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 304
    12 clang-12                 0x0000000104058694 llvm::FPPassManager::runOnFunction(llvm::Function&) + 696
    13 clang-12                 0x000000010405e0ec llvm::FPPassManager::runOnModule(llvm::Module&) + 60
    14 clang-12                 0x0000000104058bb4 llvm::legacy::PassManagerImpl::run(llvm::Module&) + 856
    15 clang-12                 0x0000000104907324 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::DataLayout const&, llvm::Module*, clang::BackendAction, std::__1::unique_ptr<llvm::raw_pwrite_stream, std::__1::default_delete<llvm::raw_pwrite_stream> >) + 6784
    16 clang-12                 0x0000000104b37398 clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&) + 824
    17 clang-12                 0x00000001059c66a4 clang::ParseAST(clang::Sema&, bool, bool) + 504
    18 clang-12                 0x0000000104dbdae0 clang::FrontendAction::Execute() + 108
    19 clang-12                 0x0000000104d557e4 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 1840
    20 clang-12                 0x0000000104e24124 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 1272
    21 clang-12                 0x0000000102d9bd50 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) + 1720
    22 clang-12                 0x0000000102d9a918 ExecuteCC1Tool(llvm::SmallVectorImpl<char const*>&) + 1100
    23 clang-12                 0x0000000104c33634 void llvm::function_ref<void ()>::callback_fn<clang::driver::CC1Command::Execute(llvm::ArrayRef<llvm::Optional<llvm::StringRef> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*, bool*) const::$_1>(long) + 28
    24 clang-12                 0x000000010462724c llvm::CrashRecoveryContext::RunSafely(llvm::function_ref<void ()>) + 204
    25 clang-12                 0x0000000104c32e64 clang::driver::CC1Command::Execute(llvm::ArrayRef<llvm::Optional<llvm::StringRef> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*, bool*) const + 340
    26 clang-12                 0x0000000104c0e0b0 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const + 460
    27 clang-12                 0x0000000104c0e3d8 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl<std::__1::pair<int, clang::driver::Command const*> >&) const + 112
    28 clang-12                 0x0000000104c1fa68 clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl<std::__1::pair<int, clang::driver::Command const*> >&) + 216
    29 clang-12                 0x0000000102d9a094 main + 10352
    30 dyld                     0x00000001099fd08c start + 520
    clang-12: error: clang frontend command failed with exit code 139 (use -v to see invocation)
    clang version 12.0.1
    Target: aarch64-apple-darwin21.5.0
    Thread model: posix
    InstalledDir: /Users/angelodeluca/PlutoObfuscator/bin
    clang-12: note: diagnostic msg: 
    ********************
    
    PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
    Preprocessed source(s) and associated run script(s) are located at:
    clang-12: note: diagnostic msg: /var/folders/p3/031hvc6j5kn3bwkr35hc9kvh0000gn/T/decoders-58275a.cpp
    clang-12: note: diagnostic msg: /var/folders/p3/031hvc6j5kn3bwkr35hc9kvh0000gn/T/decoders-58275a.sh
    clang-12: note: diagnostic msg: Crash backtrace is located in
    clang-12: note: diagnostic msg: /Users/angelodeluca/Library/Logs/DiagnosticReports/clang-12_<YYYY-MM-DD-HHMMSS>_<hostname>.crash
    clang-12: note: diagnostic msg: (choose the .crash file that corresponds to your crash)
    clang-12: note: diagnostic msg: 
    
    ********************
    ninja: build stopped: subcommand failed.
    
    opened by AngeloD2022 0
  • 在NDK下如何配置测试?我配置错误

    在NDK下如何配置测试?我配置错误

    按照ollvm8的移植到ndk测试配置,把clang clang-12 clang++ clang-format文件复制到了.../Android/Sdk/ndk/23.../toolchains/llvm/prebuilt/linux-x86_64/bin文件夹下 然后编译过程中报错 请问怎么解决这个问题,是哪里配置不对吗? 报错信息如下: Run Build Command:"/home/weidou/Android/Sdk/cmake/3.10.2.4988404/bin/ninja" "cmTC_e5967" [1/2] Building C object CMakeFiles/cmTC_e5967.dir/testCCompiler.c.o FAILED: CMakeFiles/cmTC_e5967.dir/testCCompiler.c.o /home/weidou/Android/Sdk/ndk/ollvm12/toolchains/llvm/prebuilt/linux-x86_64/bin/clang --target=armv7-none-linux-androideabi21 --gcc-toolchain=/home/weidou/Android/Sdk/ndk/ollvm12/toolchains/llvm/prebuilt/linux-x86_64 --sysroot=/home/weidou/Android/Sdk/ndk/ollvm12/toolchains/llvm/prebuilt/linux-x86_64/sysroot -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -fno-addrsig -march=armv7-a -mthumb -Wa,--noexecstack -Wformat -Werror=format-security -fvisibility=hidden -mllvm -mba -mllvm -mba-prob=100 -mllvm -fla -mllvm -gle -fPIE -o CMakeFiles/cmTC_e5967.dir/testCCompiler.c.o -c testCCompiler.c /home/weidou/Android/Sdk/ndk/ollvm12/toolchains/llvm/prebuilt/linux-x86_64/bin/clang: error while loading shared libraries: libLLVMX86CodeGen.so.12: cannot open shared object file: No such file or directory ninja: build stopped: subcommand failed.

    opened by yunli520 0
  • Error compiling under windows

    Error compiling under windows

    I try visual studio 2022 and 2019 command line

    C:\Users\frosty\Documents\pluto\Pluto-Obfuscator\build>cmake -G "Ninja" -DLLVM_ENABLE_PROJECTS="clang" -DCMAKE_BUILD_TYPE=Release -DLLVM_TARGETS_TO_BUILD="X86" -DBUILD_SHARED_LIBS=On ../llvm -- The C compiler identification is MSVC 19.29.30137.0 -- The CXX compiler identification is MSVC 19.29.30137.0 -- The ASM compiler identification is MSVC -- Found assembler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- clang project is enabled -- clang-tools-extra project is disabled -- compiler-rt project is disabled -- debuginfo-tests project is disabled -- libc project is disabled -- libclc project is disabled -- libcxx project is disabled -- libcxxabi project is disabled -- libunwind project is disabled -- lld project is disabled -- lldb project is disabled -- mlir project is disabled -- openmp project is disabled -- parallel-libs project is disabled -- polly project is disabled -- pstl project is disabled -- flang project is disabled DEBUG: OFF CMake Error at CMakeLists.txt:595 (message): BUILD_SHARED_LIBS options is not supported on Windows.

    -- Configuring incomplete, errors occurred!

    and same for visual studio project file generate

    C:\Users\frosty\Documents\pluto\Pluto-Obfuscator\build>cmake -G "Visual Studio 16 2019" -DLLVM_ENABLE_PROJECTS="clang"-DCMAKE_BUILD_TYPE=Release -DLLVM_TARGETS_TO_BUILD="X86" -DBUILD_SHARED_LIBS=On ../llvm CMake Warning at CMakeLists.txt:26 (message): Visual Studio generators use the x86 host compiler by default, even for 64-bit targets. This can result in linker instability and out of memory errors. To use the 64-bit host compiler, pass -Thost=x64 on the CMake command line.

    -- Selecting Windows SDK version 10.0.22000.0 to target Windows 10.0.19043. -- The C compiler identification is MSVC 19.29.30137.0 -- The CXX compiler identification is MSVC 19.29.30137.0 -- The ASM compiler identification is MSVC -- Found assembler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- clang project is disabled -- clang-tools-extra project is disabled -- compiler-rt project is disabled -- debuginfo-tests project is disabled -- libc project is disabled -- libclc project is disabled -- libcxx project is disabled -- libcxxabi project is disabled -- libunwind project is disabled -- lld project is disabled -- lldb project is disabled -- mlir project is disabled -- openmp project is disabled -- parallel-libs project is disabled -- polly project is disabled -- pstl project is disabled -- flang project is disabled DEBUG: OFF CMake Error at CMakeLists.txt:595 (message): BUILD_SHARED_LIBS options is not supported on Windows.

    -- Configuring incomplete, errors occurred! See also "C:/Users/frosty/Documents/pluto/Pluto-Obfuscator/build/CMakeFiles/CMakeOutput.log". See also "C:/Users/frosty/Documents/pluto/Pluto-Obfuscator/build/CMakeFiles/CMakeError.log".

    opened by tygoodshares 1
Owner
34r7hm4n
冷静认真专注自信
34r7hm4n
Automatically de-obfuscate ollvm and generate binaries

AntiOllvm Automatically deobfuscate binaries and generate new binaries. Chinese Help 中文帮助点击 帮助 Decriptor Software obfuscation protection is very commo

sanfengAndroid 67 Jul 14, 2022
Toy LLVM obfuscator pass

ToyObfuscator Some simple obfuscator ;) (base on llvm-10) Compile Build out-tree pass git clone https://github.com/veritas501/ToyObfuscator.git cd Toy

veritas501 39 Aug 4, 2022
Automatic Disassembly Desynchronization Obfuscator

desync-cc --- Automatic Disassembly Desynchronization Obfuscator desync-cc is designed as a drop-in replacement for gcc, which applies disassembly des

Ulf Kargén 6 Jul 3, 2022
The core engine forked from NVidia's Q2RTX. Heavily modified and extended to allow for a nicer experience all-round.

Polyhedron - A Q2RTX Fork A fork of the famous Q2RTX project by NVIDIA™ that strives to improve all of its other factors of what was once upon a time

Polyhedron Studio 13 Jul 6, 2022
Extended kalman filter implementation.

EKF (Extended Kalman Filter) This project is a C++ implementation of EKF.For the related principles of EKF, please check this tutorial (TODO). Project

null 5 Jun 26, 2022
Half-Life : Extended main branch for developing purposes

Half Life : Extended SDK Source Code of Half Life : Extended as a open source modbase for everyone publicly, make your own mod with alot of features e

Bacontsu 13 Jun 21, 2022
Xtl - eXtended Template Library

eXtended Template Library Open Hub Linux Windows Coverage Technical Debt Code Quality License Contribute with Gratipay Contribute with Beerpay View th

David Mott 4 Feb 17, 2020
Invariant-ekf - C++ library to implement invariant extended Kalman filtering for aided inertial navigation.

inekf This repository contains a C++ library that implements an invariant extended Kalman filter (InEKF) for 3D aided inertial navigation. This filter

Ross Hartley 240 Aug 5, 2022
A small XM (FastTracker II Extended Module) player library.

libxm A small XM (FastTracker II Extended Module) player library. Main features: Small size in mind; many features can be disabled at compile-time, or

Romain D. 100 Jul 16, 2022
A CUDA-accelerated cloth simulation engine based on Extended Position Based Dynamics (XPBD).

Velvet Velvet is a CUDA-accelerated cloth simulation engine based on Extended Position Based Dynamics (XPBD). Why another cloth simulator? There are a

Vital Chen 25 Jul 27, 2022
null 251 Aug 5, 2022
PikaScript is an ultra-lightweight Python engine with zero dependencies and zero-configuration, that can run with 4KB of RAM (such as STM32G030C8 and STM32F103C8), and is very easy to deploy and expand.

PikaScript 中文页| Star please~ 1. Abstract PikaScript is an ultra-lightweight Python engine with zero dependencies and zero-configuration, that can run

Lyon 809 Jul 26, 2022
Signed - a 3D modeling and construction language based on Lua and SDFs. Signed will be available for macOS and iOS and is heavily optimized for Metal.

Signed - A 3D modeling language Abstract Signed is a Lua based 3D modeling language, it provides a unique way to create high quality 3D content for yo

Markus Moenig 89 Jul 4, 2022
ESP32 firmware to read and control EMS and Heatronic compatible equipment such as boilers, thermostats, solar modules, and heat pumps

EMS-ESP is an open-source firmware for the Espressif ESP8266 and ESP32 microcontroller that communicates with EMS (Energy Management System) based equipment from manufacturers like Bosch, Buderus, Nefit, Junkers, Worcester and Sieger.

EMS-ESP 163 Aug 3, 2022
Hobbyist Operating System targeting x86_64 systems. Includes userspace, Virtual File System, An InitFS (tarfs), Lua port, easy porting, a decent LibC and LibM, and a shell that supports: piping, file redirection, and more.

SynnixOS Epic Hobby OS targeting x86_64 CPUs, it includes some hacked together functionality for most essential OSs although, with interactivity via Q

RaidTheWeb 41 Jul 30, 2022
🎮 Plants vs. Zombies multiplayer battle, developed via reverse engineering, inline hook and dynamic-link library injection. Two online players defend and attack as the plant side and zombie side respectively.

Plants vs. Zombies Online Battle This project has two original repositories: https://github.com/czs108/Plants-vs.-Zombies-Online-Battle https://github

Liugw 71 Oct 14, 2021
Free,Open-Source,Cross-platform agent and Post-exploiton tool written in Golang and C++, the architecture and usage like Cobalt Strike

Khepri Free,Open-Source,Cross-platform agent and Post-exploiton tool written in Golang and C++ Description Khepri is a Cross-platform agent, the archi

Young 1.3k Aug 2, 2022
PLP Project Programming Language | Programming for projects and computer science and research on computer and programming.

PLPv2b PLP Project Programming Language Programming Language for projects and computer science and research on computer and programming. What is PLP L

PLP Language 5 Jun 23, 2022
A run-time C++ library for working with units of measurement and conversions between them and with string representations of units and measurements

Units What's new Some of the CMake target names have changed in the latest release, please update builds appropriately Documentation A library that pr

Lawrence Livermore National Laboratory 106 Jul 22, 2022