diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2025-08-04 19:53:58 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2025-08-04 19:53:58 (GMT) |
commit | 1c7c6cdeae20e824ad8447daec4dc12b3b286def (patch) | |
tree | 41e2a3e9e4fa5b10306bae6d565f0f2db5980982 /valid/code-0004.smali |
Initial version.
Diffstat (limited to 'valid/code-0004.smali')
-rw-r--r-- | valid/code-0004.smali | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/valid/code-0004.smali b/valid/code-0004.smali new file mode 100644 index 0000000..5cad6c6 --- /dev/null +++ b/valid/code-0004.smali @@ -0,0 +1,38 @@ + +.class public LExample; +.super Ljava/lang/Object; + +.method static constructor <init>()V + .locals 0 + + return-void +.end method + +.method public test_data_handling()V + .locals 4 + + const/16 v0, 0x1234 + sput-object v0, LExample;->data:Ljava/lang/Object; + + new-instance v0, Ljava/lang/String; + iput-object v0, p0, LExample;->stringData:Ljava/lang/String; + + return-void +.end method + +.method public test_control_flow()V + .locals 2 + + const/16 v0, 0x5 + const/16 v1, 0x8 + + if-gt v0, v1, :cond_true + + goto :end_if + +:cond_true + return-void + +:end_if + return-void +.end method |