Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

fla与sobf无法同时使用 #30

Open
kundisun opened this issue Oct 12, 2024 · 2 comments
Open

fla与sobf无法同时使用 #30

kundisun opened this issue Oct 12, 2024 · 2 comments

Comments

@kundisun
Copy link

kundisun commented Oct 12, 2024

同时加了fla和sobf,编译会报错:

1>#37 0x00007ff966cf7034 (C:\Windows\System32\KERNEL32.DLL+0x17034)
1>#38 0x00007ff968122651 (C:\Windows\SYSTEM32\ntdll.dll+0x52651)
1>clang-cl : error : clang frontend command failed due to signal (use -v to see invocation)
1>clang version 17.0.6
1>Target: x86_64-pc-windows-msvc
1>Thread model: posix
1>InstalledDir: D:\ollvm17\obfuscator\build\Release\bin
1>clang-cl : message : diagnostic msg:
1>********************

@funkvps
Copy link

funkvps commented Dec 3, 2024

我发现不是fla和sobf同时使用会报错。而是某些特定情形下fla会报错,这种情况即可能出现在fla独立使用,也可能出现在连用的时候。总体上而言,bug应该都在fla上。

今天就遇到一个,fla怎么用都不行

1>clang-cl : error : clang frontend command failed due to signal (use -v to see invocation)
1>clang version 17.0.6
1>Target: amd64-pc-windows-msvc
1>Thread model: posix
1>InstalledDir: D:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\Llvm\x64\bin
1>clang-cl : message : diagnostic msg:

@funkvps
Copy link

funkvps commented Dec 7, 2024

经过多次测试,发现 如下这个repo的flattening,可以正常使用。
https://github.com/61bcdefg/Hikari-LLVM15-Core/blob/main/Flattening.cpp

其他好几个repo,包括本项目的,应该是不支持c++ 异常,除非禁用c++异常,否则会出错

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

No branches or pull requests

2 participants