-
Notifications
You must be signed in to change notification settings - Fork 148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Constant encryption crash #23
Comments
Replace this with -O0 |
did same problem
[image: image.png]
Udi Shamir
Malware Researcher & Kernel Developer.
…On Mon, Dec 5, 2022 at 3:51 PM abcdefg ***@***.***> wrote:
-O3
Replace this with -O0
—
Reply to this email directly, view it on GitHub
<#23 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAB2IRCXML7VIY6ICKSSMGLWLZ5ZJANCNFSM6AAAAAASUUZ2HE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/
and include the crash backtrace, preprocessed source, and associated run
script.
Stack dump:
0. Program arguments: /usr/local/bin/clang-15 -cc1 -triple
x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations
-disable-free -clear-ast-before-backend -disable-llvm-verifier
-discard-value-names -main-file-name netmon-poll-event.c -static-define
-mrelocation-model pic -pic-level 2 -pic-is-pie -mframe-pointer=all
-fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases
-funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm
-treat-scalable-fixed-error-as-warning -debugger-tuning=gdb
-fcoverage-compilation-dir=/home/ta1on/code/watchtower -resource-dir
/usr/local/lib/clang/15.0.2 -internal-isystem
/usr/local/lib/clang/15.0.2/include -internal-isystem /usr/local/include
-internal-isystem
/usr/lib/gcc/x86_64-linux-gnu/9/../../../../x86_64-linux-gnu/include
-internal-externc-isystem /usr/include/x86_64-linux-gnu
-internal-externc-isystem /include -internal-externc-isystem /usr/include
-O0 -Wall -fdebug-compilation-dir=/home/ta1on/code/watchtower -ferror-limit
19 -pthread -fgnuc-version=4.2.1 -fcolor-diagnostics -mllvm -enable-bcfobf
-mllvm -enable-splitobf -mllvm -enable-constenc -faddrsig
-D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/netmon-poll-event-cccb89.o -x c
netmon-poll-event.c
1. <eof> parser at end of file
2. Code generation
3. Running pass 'Function Pass Manager' on module 'netmon-poll-event.c'.
4. Running pass 'X86 DAG->DAG Instruction Selection' on function
***@***.***_poll_event_print_jsonl'
#0 0x000055b0d44fe784 PrintStackTraceSignalHandler(void*) Signals.cpp:0:0
#1 0x000055b0d44fbfe4 SignalHandler(int) Signals.cpp:0:0
#2 0x00007f1b11872420 __restore_rt
(/lib/x86_64-linux-gnu/libpthread.so.0+0x14420)
#3 0x000055b0d4415de3 llvm::APInt::compareSigned(llvm::APInt const&) const
(/usr/local/bin/clang-15+0x3757de3)
#4 0x000055b0d5778b21 void
std::__insertion_sort<__gnu_cxx::__normal_iterator<llvm::SwitchCG::CaseCluster*,
std::vector<llvm::SwitchCG::CaseCluster,
std::allocator<llvm::SwitchCG::CaseCluster>>>,
__gnu_cxx::__ops::_Iter_comp_iter<llvm::SwitchCG::sortAndRangeify(std::vector<llvm::SwitchCG::CaseCluster,
std::allocator<llvm::SwitchCG::CaseCluster>>&)::'lambda'(llvm::SwitchCG::CaseCluster
const&, llvm::SwitchCG::CaseCluster
const&)>>(__gnu_cxx::__normal_iterator<llvm::SwitchCG::CaseCluster*,
std::vector<llvm::SwitchCG::CaseCluster,
std::allocator<llvm::SwitchCG::CaseCluster>>>,
__gnu_cxx::__normal_iterator<llvm::SwitchCG::CaseCluster*,
std::vector<llvm::SwitchCG::CaseCluster,
std::allocator<llvm::SwitchCG::CaseCluster>>>,
__gnu_cxx::__ops::_Iter_comp_iter<llvm::SwitchCG::sortAndRangeify(std::vector<llvm::SwitchCG::CaseCluster,
std::allocator<llvm::SwitchCG::CaseCluster>>&)::'lambda'(llvm::SwitchCG::CaseCluster
const&, llvm::SwitchCG::CaseCluster const&)>) (.isra.0)
SwitchLoweringUtils.cpp:0:0
#5 0x000055b0d57794d8
llvm::SwitchCG::sortAndRangeify(std::vector<llvm::SwitchCG::CaseCluster,
std::allocator<llvm::SwitchCG::CaseCluster>>&)
(/usr/local/bin/clang-15+0x4abb4d8)
#6 0x000055b0d5569ad7
llvm::SelectionDAGBuilder::visitSwitch(llvm::SwitchInst const&)
(/usr/local/bin/clang-15+0x48abad7)
#7 0x000055b0d556c7c7 llvm::SelectionDAGBuilder::visit(llvm::Instruction
const&) (/usr/local/bin/clang-15+0x48ae7c7)
#8 0x000055b0d55dbbee
llvm::SelectionDAGISel::SelectBasicBlock(llvm::ilist_iterator<llvm::ilist_detail::node_options<llvm::Instruction,
false, false, void>, false, true>,
llvm::ilist_iterator<llvm::ilist_detail::node_options<llvm::Instruction,
false, false, void>, false, true>, bool&)
(/usr/local/bin/clang-15+0x491dbee)
#9 0x000055b0d55dd1b1
llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&)
(/usr/local/bin/clang-15+0x491f1b1)
#10 0x000055b0d55dfab8
llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&)
(.part.0) SelectionDAGISel.cpp:0:0
#11 0x000055b0d30b9c85 (anonymous
namespace)::X86DAGToDAGISel::runOnMachineFunction(llvm::MachineFunction&)
X86ISelDAGToDAG.cpp:0:0
#12 0x000055b0d37eb159
llvm::MachineFunctionPass::runOnFunction(llvm::Function&) (.part.0)
MachineFunctionPass.cpp:0:0
#13 0x000055b0d3c9b610 llvm::FPPassManager::runOnFunction(llvm::Function&)
(/usr/local/bin/clang-15+0x2fdd610)
#14 0x000055b0d3c9b789 llvm::FPPassManager::runOnModule(llvm::Module&)
(/usr/local/bin/clang-15+0x2fdd789)
#15 0x000055b0d3c9c370 llvm::legacy::PassManagerImpl::run(llvm::Module&)
(/usr/local/bin/clang-15+0x2fde370)
#16 0x000055b0d48a730a clang::EmitBackendOutput(clang::DiagnosticsEngine&,
clang::HeaderSearchOptions const&, clang::CodeGenOptions const&,
clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef,
llvm::Module*, clang::BackendAction,
std::unique_ptr<llvm::raw_pwrite_stream,
std::default_delete<llvm::raw_pwrite_stream>>)
(/usr/local/bin/clang-15+0x3be930a)
#17 0x000055b0d571c248
clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&)
(/usr/local/bin/clang-15+0x4a5e248)
#18 0x000055b0d65bae09 clang::ParseAST(clang::Sema&, bool, bool)
(/usr/local/bin/clang-15+0x58fce09)
#19 0x000055b0d571b835 clang::CodeGenAction::ExecuteAction()
(/usr/local/bin/clang-15+0x4a5d835)
#20 0x000055b0d5023da1 clang::FrontendAction::Execute()
(/usr/local/bin/clang-15+0x4365da1)
#21 0x000055b0d4fabaa3
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&)
(/usr/local/bin/clang-15+0x42edaa3)
#22 0x000055b0d51026ab
clang::ExecuteCompilerInvocation(clang::CompilerInstance*)
(/usr/local/bin/clang-15+0x44446ab)
#23 0x000055b0d1e57e34 cc1_main(llvm::ArrayRef<char const*>, char const*,
void*) (/usr/local/bin/clang-15+0x1199e34)
#24 0x000055b0d1e513db ExecuteCC1Tool(llvm::SmallVectorImpl<char const*>&)
driver.cpp:0:0
#25 0x000055b0d1e539c0 clang_main(int, char**)
(/usr/local/bin/clang-15+0x11959c0)
#26 0x00007f1b112f0083 __libc_start_main
/build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:342:3
#27 0x000055b0d1e50fee _start (/usr/local/bin/clang-15+0x1192fee)
clang-15: error: unable to execute command: Segmentation fault (core dumped)
std::mt19937_64 seeded with current timestamp: 1670284487676
Initializing Hikari Core with Revision
ID:b269c59d498ba45e6ceb71be1f14b9cd578e99c1
Running BasicBlockSplit On netmon_poll_filter_match_event_with_rule
Running BogusControlFlow On netmon_poll_filter_match_event_with_rule
Running BasicBlockSplit On netmon_poll_filter_rule_list_empty
Running BogusControlFlow On netmon_poll_filter_rule_list_empty
Running BasicBlockSplit On netmon_poll_filter_rule_list_append
Running BogusControlFlow On netmon_poll_filter_rule_list_append
Running BasicBlockSplit On netmon_poll_filter_rule_list_grow
Running BogusControlFlow On netmon_poll_filter_rule_list_grow
Running BasicBlockSplit On netmon_poll_filter_rule_list_match_event
Running BogusControlFlow On netmon_poll_filter_rule_list_match_event
Doing Post-Run Cleanup
Udi Shamir
Malware Researcher & Kernel Developer.
On Mon, Dec 5, 2022 at 3:55 PM Ehud (Udi) Shamir ***@***.***>
wrote:
… did same problem
[image: image.png]
Udi Shamir
Malware Researcher & Kernel Developer.
On Mon, Dec 5, 2022 at 3:51 PM abcdefg ***@***.***> wrote:
> -O3
>
> Replace this with -O0
>
> —
> Reply to this email directly, view it on GitHub
> <#23 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AAB2IRCXML7VIY6ICKSSMGLWLZ5ZJANCNFSM6AAAAAASUUZ2HE>
> .
> You are receiving this because you authored the thread.Message ID:
> ***@***.***>
>
|
i think it works,
clang -static -pthread -Wall -mllvm -enable-bcfobf -mllvm -enable-splitobf
-mllvm -enable-constenc -mllvm -constenc_prob=1 -O0 -Wl,${CFLAGS} -o $@ $^
Udi Shamir
Malware Researcher & Kernel Developer.
On Mon, Dec 5, 2022 at 3:56 PM Ehud (Udi) Shamir ***@***.***>
wrote:
… PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/
and include the crash backtrace, preprocessed source, and associated run
script.
Stack dump:
0. Program arguments: /usr/local/bin/clang-15 -cc1 -triple
x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations
-disable-free -clear-ast-before-backend -disable-llvm-verifier
-discard-value-names -main-file-name netmon-poll-event.c -static-define
-mrelocation-model pic -pic-level 2 -pic-is-pie -mframe-pointer=all
-fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases
-funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm
-treat-scalable-fixed-error-as-warning -debugger-tuning=gdb
-fcoverage-compilation-dir=/home/ta1on/code/watchtower -resource-dir
/usr/local/lib/clang/15.0.2 -internal-isystem
/usr/local/lib/clang/15.0.2/include -internal-isystem /usr/local/include
-internal-isystem
/usr/lib/gcc/x86_64-linux-gnu/9/../../../../x86_64-linux-gnu/include
-internal-externc-isystem /usr/include/x86_64-linux-gnu
-internal-externc-isystem /include -internal-externc-isystem /usr/include
-O0 -Wall -fdebug-compilation-dir=/home/ta1on/code/watchtower -ferror-limit
19 -pthread -fgnuc-version=4.2.1 -fcolor-diagnostics -mllvm -enable-bcfobf
-mllvm -enable-splitobf -mllvm -enable-constenc -faddrsig
-D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/netmon-poll-event-cccb89.o -x c
netmon-poll-event.c
1. <eof> parser at end of file
2. Code generation
3. Running pass 'Function Pass Manager' on module 'netmon-poll-event.c'.
4. Running pass 'X86 DAG->DAG Instruction Selection' on function
***@***.***_poll_event_print_jsonl'
#0 0x000055b0d44fe784 PrintStackTraceSignalHandler(void*) Signals.cpp:0:0
#1 0x000055b0d44fbfe4 SignalHandler(int) Signals.cpp:0:0
#2 0x00007f1b11872420 __restore_rt
(/lib/x86_64-linux-gnu/libpthread.so.0+0x14420)
#3 0x000055b0d4415de3 llvm::APInt::compareSigned(llvm::APInt const&)
const (/usr/local/bin/clang-15+0x3757de3)
#4 0x000055b0d5778b21 void
std::__insertion_sort<__gnu_cxx::__normal_iterator<llvm::SwitchCG::CaseCluster*,
std::vector<llvm::SwitchCG::CaseCluster,
std::allocator<llvm::SwitchCG::CaseCluster>>>,
__gnu_cxx::__ops::_Iter_comp_iter<llvm::SwitchCG::sortAndRangeify(std::vector<llvm::SwitchCG::CaseCluster,
std::allocator<llvm::SwitchCG::CaseCluster>>&)::'lambda'(llvm::SwitchCG::CaseCluster
const&, llvm::SwitchCG::CaseCluster
const&)>>(__gnu_cxx::__normal_iterator<llvm::SwitchCG::CaseCluster*,
std::vector<llvm::SwitchCG::CaseCluster,
std::allocator<llvm::SwitchCG::CaseCluster>>>,
__gnu_cxx::__normal_iterator<llvm::SwitchCG::CaseCluster*,
std::vector<llvm::SwitchCG::CaseCluster,
std::allocator<llvm::SwitchCG::CaseCluster>>>,
__gnu_cxx::__ops::_Iter_comp_iter<llvm::SwitchCG::sortAndRangeify(std::vector<llvm::SwitchCG::CaseCluster,
std::allocator<llvm::SwitchCG::CaseCluster>>&)::'lambda'(llvm::SwitchCG::CaseCluster
const&, llvm::SwitchCG::CaseCluster const&)>) (.isra.0)
SwitchLoweringUtils.cpp:0:0
#5 0x000055b0d57794d8
llvm::SwitchCG::sortAndRangeify(std::vector<llvm::SwitchCG::CaseCluster,
std::allocator<llvm::SwitchCG::CaseCluster>>&)
(/usr/local/bin/clang-15+0x4abb4d8)
#6 0x000055b0d5569ad7
llvm::SelectionDAGBuilder::visitSwitch(llvm::SwitchInst const&)
(/usr/local/bin/clang-15+0x48abad7)
#7 0x000055b0d556c7c7 llvm::SelectionDAGBuilder::visit(llvm::Instruction
const&) (/usr/local/bin/clang-15+0x48ae7c7)
#8 0x000055b0d55dbbee
llvm::SelectionDAGISel::SelectBasicBlock(llvm::ilist_iterator<llvm::ilist_detail::node_options<llvm::Instruction,
false, false, void>, false, true>,
llvm::ilist_iterator<llvm::ilist_detail::node_options<llvm::Instruction,
false, false, void>, false, true>, bool&)
(/usr/local/bin/clang-15+0x491dbee)
#9 0x000055b0d55dd1b1
llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&)
(/usr/local/bin/clang-15+0x491f1b1)
#10 0x000055b0d55dfab8
llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&)
(.part.0) SelectionDAGISel.cpp:0:0
#11 0x000055b0d30b9c85 (anonymous
namespace)::X86DAGToDAGISel::runOnMachineFunction(llvm::MachineFunction&)
X86ISelDAGToDAG.cpp:0:0
#12 0x000055b0d37eb159
llvm::MachineFunctionPass::runOnFunction(llvm::Function&) (.part.0)
MachineFunctionPass.cpp:0:0
#13 0x000055b0d3c9b610 llvm::FPPassManager::runOnFunction(llvm::Function&)
(/usr/local/bin/clang-15+0x2fdd610)
#14 0x000055b0d3c9b789 llvm::FPPassManager::runOnModule(llvm::Module&)
(/usr/local/bin/clang-15+0x2fdd789)
#15 0x000055b0d3c9c370 llvm::legacy::PassManagerImpl::run(llvm::Module&)
(/usr/local/bin/clang-15+0x2fde370)
#16 0x000055b0d48a730a clang::EmitBackendOutput(clang::DiagnosticsEngine&,
clang::HeaderSearchOptions const&, clang::CodeGenOptions const&,
clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef,
llvm::Module*, clang::BackendAction,
std::unique_ptr<llvm::raw_pwrite_stream,
std::default_delete<llvm::raw_pwrite_stream>>)
(/usr/local/bin/clang-15+0x3be930a)
#17 0x000055b0d571c248
clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&)
(/usr/local/bin/clang-15+0x4a5e248)
#18 0x000055b0d65bae09 clang::ParseAST(clang::Sema&, bool, bool)
(/usr/local/bin/clang-15+0x58fce09)
#19 0x000055b0d571b835 clang::CodeGenAction::ExecuteAction()
(/usr/local/bin/clang-15+0x4a5d835)
#20 0x000055b0d5023da1 clang::FrontendAction::Execute()
(/usr/local/bin/clang-15+0x4365da1)
#21 0x000055b0d4fabaa3
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&)
(/usr/local/bin/clang-15+0x42edaa3)
#22 0x000055b0d51026ab
clang::ExecuteCompilerInvocation(clang::CompilerInstance*)
(/usr/local/bin/clang-15+0x44446ab)
#23 0x000055b0d1e57e34 cc1_main(llvm::ArrayRef<char const*>, char const*,
void*) (/usr/local/bin/clang-15+0x1199e34)
#24 0x000055b0d1e513db ExecuteCC1Tool(llvm::SmallVectorImpl<char const*>&)
driver.cpp:0:0
#25 0x000055b0d1e539c0 clang_main(int, char**)
(/usr/local/bin/clang-15+0x11959c0)
#26 0x00007f1b112f0083 __libc_start_main
/build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:342:3
#27 0x000055b0d1e50fee _start (/usr/local/bin/clang-15+0x1192fee)
clang-15: error: unable to execute command: Segmentation fault (core
dumped)
std::mt19937_64 seeded with current timestamp: 1670284487676
Initializing Hikari Core with Revision
ID:b269c59d498ba45e6ceb71be1f14b9cd578e99c1
Running BasicBlockSplit On netmon_poll_filter_match_event_with_rule
Running BogusControlFlow On netmon_poll_filter_match_event_with_rule
Running BasicBlockSplit On netmon_poll_filter_rule_list_empty
Running BogusControlFlow On netmon_poll_filter_rule_list_empty
Running BasicBlockSplit On netmon_poll_filter_rule_list_append
Running BogusControlFlow On netmon_poll_filter_rule_list_append
Running BasicBlockSplit On netmon_poll_filter_rule_list_grow
Running BogusControlFlow On netmon_poll_filter_rule_list_grow
Running BasicBlockSplit On netmon_poll_filter_rule_list_match_event
Running BogusControlFlow On netmon_poll_filter_rule_list_match_event
Doing Post-Run Cleanup
Udi Shamir
Malware Researcher & Kernel Developer.
On Mon, Dec 5, 2022 at 3:55 PM Ehud (Udi) Shamir ***@***.***>
wrote:
> did same problem
> [image: image.png]
>
> Udi Shamir
> Malware Researcher & Kernel Developer.
>
>
>
> On Mon, Dec 5, 2022 at 3:51 PM abcdefg ***@***.***> wrote:
>
>> -O3
>>
>> Replace this with -O0
>>
>> —
>> Reply to this email directly, view it on GitHub
>> <#23 (comment)>,
>> or unsubscribe
>> <https://github.com/notifications/unsubscribe-auth/AAB2IRCXML7VIY6ICKSSMGLWLZ5ZJANCNFSM6AAAAAASUUZ2HE>
>> .
>> You are receiving this because you authored the thread.Message ID:
>> ***@***.***>
>>
>
|
Try 6497be7 |
Will do
On Mon, Dec 5, 2022 at 5:33 PM abcdefg ***@***.***> wrote:
Try 6497be7
<6497be7>
—
Reply to this email directly, view it on GitHub
<#23 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAB2IREAREJBGW2222CQ72DWL2JWVANCNFSM6AAAAAASUUZ2HE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
--
Udi Shamir
Malware Researcher & Kernel Developer.
|
Has the problem been solved? |
Resolved !
On Thu, Dec 15, 2022 at 3:28 AM abcdefg ***@***.***> wrote:
Has the problem been solved?
—
Reply to this email directly, view it on GitHub
<#23 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAB2IRDBYYQKC3DJVLO5D53WNL6ERANCNFSM6AAAAAASUUZ2HE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
--
Udi Shamir
Malware Researcher & Kernel Developer.
|
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
System: Ubuntu 22.0.4 Server
when calling with -mllvm enable-constenc
0. Program arguments: /usr/local/bin/clang-15 -cc1 -triple x86_64-unknown-linux-gnu -emit-obj --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name ipaddress.c -static-define -mrelocation-model pic -pic-level 2 -pic-is-pie -mframe-pointer=none -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -fcoverage-compilation-dir=/home/ta1on/code/watchtower -resource-dir /usr/local/lib/clang/15.0.2 -internal-isystem /usr/local/lib/clang/15.0.2/include -internal-isystem /usr/local/include -internal-isystem /usr/lib/gcc/x86_64-linux-gnu/9/../../../../x86_64-linux-gnu/include -internal-externc-isystem /usr/include/x86_64-linux-gnu -internal-externc-isystem /include -internal-externc-isystem /usr/include -O3 -Wall -fdebug-compilation-dir=/home/ta1on/code/watchtower -ferror-limit 19 -pthread -fgnuc-version=4.2.1 -fcolor-diagnostics -vectorize-loops -vectorize-slp -mllvm -enable-constenc -mllvm -enable-subobf -mllvm -enable-cffobf -mllvm -enable-bcfobf -mllvm -enable-splitobf -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/ipaddress-e160ec.o -x c ipaddress.c
#0 0x000055985cfcc784 PrintStackTraceSignalHandler(void*) Signals.cpp:0:0
处理OpaquePointer的方式是错误/不合规的 #1 0x000055985cfc9fe4 SignalHandler(int) Signals.cpp:0:0
AntiClassDump and FunctionCallObfuscate HandleObjc does not support Opaque Pointers #2 0x00007fea0eb8f420 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x14420)
FunctionWrapper: 一些情况下,参数可能不正确 #3 0x000055985d182471 eliminateDeadSwitchCases(llvm::SwitchInst*, llvm::DomTreeUpdater*, llvm::AssumptionCache*, llvm::DataLayout const&) SimplifyCFG.cpp:0:0
how to build #4 0x000055985d19cf6c (anonymous namespace)::SimplifyCFGOpt::simplifySwitch(llvm::SwitchInst*, llvm::IRBuilder<llvm::ConstantFolder, llvm::IRBuilderDefaultInserter>&) SimplifyCFG.cpp:0:0
Hanabi: arm64e架构Objc字符串混淆报错 #5 0x000055985d1a0c2b llvm::simplifyCFG(llvm::BasicBlock*, llvm::TargetTransformInfo const&, llvm::DomTreeUpdater*, llvm::SimplifyCFGOptions const&, llvm::ArrayRefllvm::WeakVH) (/usr/local/bin/clang-15+0x3a14c2b)
c++ excpetion handle obfuscation support for Flattening #6 0x000055985ce9e855 iterativelySimplifyCFG(llvm::Function&, llvm::TargetTransformInfo const&, llvm::DomTreeUpdater*, llvm::SimplifyCFGOptions const&) SimplifyCFGPass.cpp:0:0
Hanabi AntiClassDump arm64e编译报错 #7 0x000055985ce9f6be simplifyFunctionCFGImpl(llvm::Function&, llvm::TargetTransformInfo const&, llvm::DominatorTree*, llvm::SimplifyCFGOptions const&) SimplifyCFGPass.cpp:0:0
StringEncryption无法加密全局变量形式声明的字符串 #8 0x000055985cea096f llvm::SimplifyCFGPass::run(llvm::Function&, llvm::AnalysisManagerllvm::Function&) (/usr/local/bin/clang-15+0x371496f)
Flattening: Swift混淆可能编译报错 #9 0x000055985b27d096 llvm::detail::PassModel<llvm::Function, llvm::SimplifyCFGPass, llvm::PreservedAnalyses, llvm::AnalysisManagerllvm::Function>::run(llvm::Function&, llvm::AnalysisManagerllvm::Function&) (/usr/local/bin/clang-15+0x1af1096)
Flattening: Objc Try...Catch可能导致无法编译 #10 0x000055985ac00858 llvm::detail::PassModel<llvm::Function, llvm::PassManager<llvm::Function, llvm::AnalysisManagerllvm::Function>, llvm::PreservedAnalyses, llvm::AnalysisManagerllvm::Function>::run(llvm::Function&, llvm::AnalysisManagerllvm::Function&) (/usr/local/bin/clang-15+0x1474858)
bug in used #11 0x000055985c7b4193 llvm::ModuleToFunctionPassAdaptor::run(llvm::Module&, llvm::AnalysisManagerllvm::Module&) (/usr/local/bin/clang-15+0x3028193)
Can't compile Hanabi lib #12 0x000055985abf4fa6 llvm::detail::PassModel<llvm::Module, llvm::ModuleToFunctionPassAdaptor, llvm::PreservedAnalyses, llvm::AnalysisManagerllvm::Module>::run(llvm::Module&, llvm::AnalysisManagerllvm::Module&) (/usr/local/bin/clang-15+0x1468fa6)
String encryption don't seem to work #13 0x000055985c7b36e2 llvm::PassManager<llvm::Module, llvm::AnalysisManagerllvm::Module>::run(llvm::Module&, llvm::AnalysisManagerllvm::Module&) (/usr/local/bin/clang-15+0x30276e2)
Hanabi does not work properly on macOS Ventura #14 0x000055985d370ad3 (anonymous namespace)::EmitAssemblyHelper::RunOptimizationPipeline(clang::BackendAction, std::unique_ptr<llvm::raw_pwrite_stream, std::default_deletellvm::raw_pwrite_stream>&, std::unique_ptr<llvm::ToolOutputFile, std::default_deletellvm::ToolOutputFile>&) (.constprop.0) BackendUtil.cpp:0:0
Hanabi Build Instructions #15 0x000055985d373cd9 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr<llvm::raw_pwrite_stream, std::default_deletellvm::raw_pwrite_stream>) (/usr/local/bin/clang-15+0x3be7cd9)
我编译 arm64e的代码无法通过 #16 0x000055985e1ea248 clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&) (/usr/local/bin/clang-15+0x4a5e248)
Hanabi stopped working on Monterey 12.6 #17 0x000055985f088e09 clang::ParseAST(clang::Sema&, bool, bool) (/usr/local/bin/clang-15+0x58fce09)
当使用-mllvm -enable-cffobf时, 报错Internal error: atom is missing a symbolIndex #18 0x000055985e1e9835 clang::CodeGenAction::ExecuteAction() (/usr/local/bin/clang-15+0x4a5d835)
functions annotations not work #19 0x000055985daf1da1 clang::FrontendAction::Execute() (/usr/local/bin/clang-15+0x4365da1)
any one tried with Xcode 14.1 ? #20 0x000055985da79aa3 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/local/bin/clang-15+0x42edaa3)
bigsur build issue #21 0x000055985dbd06ab clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/local/bin/clang-15+0x44446ab)
Linking process fail #22 0x000055985a925e34 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) (/usr/local/bin/clang-15+0x1199e34)
Constant encryption crash #23 0x000055985a91f3db ExecuteCC1Tool(llvm::SmallVectorImpl<char const*>&) driver.cpp:0:0
building on macOS #24 0x000055985a9219c0 clang_main(int, char**) (/usr/local/bin/clang-15+0x11959c0)
Rearranging of basic blocks (question) #25 0x00007fea0e60d083 __libc_start_main /build/glibc-SzIz7B/glibc-2.31/csu/../csu/libc-start.c:342:3
The text was updated successfully, but these errors were encountered: