Comments (4)
Thanks @matbrik for the report. We will look into this and come back to you as soon as possible.
from o-mvll.
@matbrik, thanks for reporting, and please bear with us for coming back just now. I fixed the issue since we clearly cannot segfault when the original program did not, although be aware of how optimizers can pick their own choice in presence of UB in infinite loops in C++ (see: https://godbolt.org/z/1jv99es8P, llvm/llvm-project#60622).
from o-mvll.
@antoniofrighetto thanks for the fix, it effectively solves the problem in the case of while(1) but it segfaults in the same way if there is a for loop with a lot of iterations
for(int i=0;i<100000;i++){}
also I noticed in my tests that the flatten_cfg on a while(1) reaches the the top of the stack
Should I open a new issue or reopen this one?
from o-mvll.
@matbrik, unfortunately this is a bit of expected by design, as this is how the pass works. I think we could try preventing opaque within loops, but you would likely have the same issue with recursive functions. Feel free to open a new issue, I'll think about what we can do here.
from o-mvll.
Related Issues (20)
- XCode 14.3 Clang command failing HOT 5
- Flaky action in GitHub workflow due to curl network error HOT 2
- The error of unable to obfuscate when using plugins on Android Studio Windows. HOT 1
- iOS string encoding produces plain-text duplicate HOT 1
- Prebuilt LLVM needs X86 MC backend for JIT execution HOT 11
- break_control_flow: No available targets are compatible with triple "aarch64-none-linux-android27" HOT 12
- Duplicate Symbol omvll_decode HOT 1
- String decoding in StackLoop doesn't work HOT 3
- Segmentation fault in clang HOT 5
- Feature obfuscate_struct_access crash during startup
- Stack exhaustion due to for/while loops
- Can't build in Release mode HOT 2
- omvll configuration using clang defines instead using environment configuration
- iOS HexaCalc application is failing when String obfuscation is enabled
- Why not read cmake dependencies from environment HOT 1
- How to check whether omvll_config.py is correctly written? HOT 1
- How can I integrate this to Android Studio HOT 5
- features on iOS (both swift/ObjectC) seems still weak HOT 2
- Support Swift code HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from o-mvll.