fix(android): preserve executable static initializer evidence (#1876)

Return the exact static initializer disassembly before Java projection can
lose field assignments. Retain byte limits and representation markers, and
verify fully folded and mixed initialization through the real CLI/MCP lane.

Closes #1846

Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
Co-authored-by: Kaoru0822 <208281322+kaoru0822-kitauji@users.noreply.github.com>
This commit is contained in:
Ysopwnable
2026-10-11 23:40:42 +08:00
committed by GitHub
co-authored by factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com> Kaoru0822
parent ea40f717b2
commit efbc25fbea
10 changed files with 342 additions and 8 deletions
@@ -0,0 +1,21 @@
.class public Lfixture/MixedInitialization;
.super Ljava/lang/Object;
.field public static final LABEL:Ljava/lang/String;
.field public static COUNT:I
.method static constructor <clinit>()V
.registers 1
const-string v0, "field-value"
sput-object v0, Lfixture/MixedInitialization;->LABEL:Ljava/lang/String;
invoke-static {}, Lfixture/MixedInitialization;->touch()V
return-void
.end method
.method public static touch()V
.registers 1
sget v0, Lfixture/MixedInitialization;->COUNT:I
add-int/lit8 v0, v0, 0x1
sput v0, Lfixture/MixedInitialization;->COUNT:I
return-void
.end method