Log date · Tue
How should you evaluate O-MVLL 1.11.0 passes?
Fix the toolchain and baseline, then test each pass for behavior, size and performance. A Clang comparison illustrates structural change.
How should you evaluate the new O-MVLL passes?
Fix the release toolchain and baseline first, then check transformation, behavior and cost separately. We compiled one function twice with Clang: all four inputs produced the same results, while unoptimized IR had one conditional and two joining branches and optimized IR used a select. A structural change alone does not establish protection strength.
| Question | Result |
|---|---|
| What did we compare? | The same C function at -O0 and -O2. |
| Did outputs match? | Inputs 0, 3, 4 and 10 yielded 30, 81, 188 and 290. |
| What changed structurally? | A conditional and two joining branches became a select. |
| Is this an O-MVLL test? | No; this is a separate Clang illustration. |
What 1.11.0 introduced
At 12:11 UTC on 2026-09-29, O-MVLL released 1.11.0. Its notes list Xcode 27.0 and NDK r29 as compatibility targets; the release adds Xcode 27.0 support and drops the xcode-x86_64 target. BasicBlockSplit splits basic blocks in half, while ShuffleOps shuffles instructions within a block. The release adds annotation-driven pass selection, fixes and improvements, and an updated sample-omvll-config.py. [1] The notes give no size or performance figures for the new passes.
The O-MVLL repository describes an LLVM pass-manager tool configured through Python and shows an example selecting a transformation by function. [2] Selection helps organize a trial, but the number of selected functions does not predict cost or protection benefit. Check whether the actual CI environment depends on the removed target before choosing an upgrade path.
A Clang illustration of structural change
O-MVLL was unavailable here, so we compared -O0 and -O2 on our own C sample using Apple clang 21.0.0. This illustrates compiler optimization; it is not a test of 1.11.0 or either pass, nor a measurement of an iOS or Android release package. The function calculates a price, with 3 as the branch boundary; noinline makes the function easier to inspect separately.
__attribute__((noinline)) int quote(int n) {
int base = n * 17;
if (n > 3) base += 120;
else base += 30;
return base;
}We built and ran inputs on both sides of the boundary. Both builds agreed, but four examples cover only those inputs and do not replace a full test suite. For a real function, include error paths, integer boundaries and interactions with other modules.
input 0: 30
input 3: 81
input 4: 188
input 10: 290In the -O0 IR, a conditional br points to two branches, each of which jumps to a join. At -O2, the function instead uses select to choose 120 or 30. The complete optimized function IR follows. A compiler can change the representation while preserving the behavior tested, so hold optimization level and other build settings constant when comparing obfuscation.
define range(i32 -2147483618, -2147483648) i32 @quote(i32 noundef %0) local_unnamed_addr #0 {
%2 = mul nsw i32 %0, 17
%3 = icmp sgt i32 %0, 3
%4 = select i1 %3, i32 120, i32 30
%5 = add nsw i32 %4, %2
ret i32 %5
}Recommendations for a trial
These are engineering recommendations, not measured effects. Change one factor at a time and retain reproducible build records so differences can be attributed.
| Question | Result |
|---|---|
| Toolchain upgrade | Check the plugin against Xcode, NDK and the removed target. |
| First trial | Select a few key functions and compare each pass separately with the baseline. |
| Hot path | Repeat latency and startup measurements on representative devices. |
| Release candidate | Test the final build, package size and crash symbolication. |
Measure each pass separately and then together; record versions, configuration, target architecture and test devices. Repeat measurements on the same build and report the distribution so device variation is not mistaken for pass cost. Maintain annotations or a function inventory through refactoring so the selected scope remains intentional.
Block structure and instruction order are parts of a code representation, not a key storage scheme. Keep shared privileged secrets on a controlled server and design client verification, offline behavior and revocation separately.
Check your own build
Record the actual compiler first, then generate two IR files for a C file you own that can be compiled separately. Replace the path with your source; a real project also needs the same headers, macros and target options as its build. Clang documents compilation stages and optimization options. [3]
clang --version
clang -O0 -S -emit-llvm path/to/your-file.c -o /tmp/your-O0.ll
clang -O2 -S -emit-llvm path/to/your-file.c -o /tmp/your-O2.ll
diff -u /tmp/your-O0.ll /tmp/your-O2.llThis step helps explain differences caused by ordinary optimization. To evaluate O-MVLL, use the configuration and documentation supplied with that version and compare disabled, individually enabled and combined variants under the same release build conditions. Run functional and performance tests, and verify that crash reports resolve with the matching build symbols. Base the final decision on the threat model and acceptable cost, not just the number of IR lines.
Your checklist
- Check Xcode, NDK, plugin and target architecture in CI.
- Select a few key functions and maintain the annotation inventory.
- Compare each pass and the combined build separately.
- Measure size, startup and hot-path performance on representative devices.
- Test the release build and verify crash symbolication.
Primary sources
- GitHub: O-MVLL release 1.11.0 · Source date 2026-09-29 · Checked 2026-11-11
- O-MVLL repository · Checked 2026-11-11
- Clang command guide · Checked 2026-11-11