mirror of
https://github.com/revanced/smali.git
synced 2025-05-13 12:47:07 +02:00
Added some tests for line number debug info
git-svn-id: https://smali.googlecode.com/svn/trunk@232 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
This commit is contained in:
parent
aaf4c4062a
commit
f1e5086830
@ -0,0 +1,44 @@
|
|||||||
|
.class public LLineTest;
|
||||||
|
.super Ljava/lang/Object;
|
||||||
|
.source "LineTest.smali"
|
||||||
|
|
||||||
|
#this class tests line debug info
|
||||||
|
|
||||||
|
.method public constructor <init>()V
|
||||||
|
.registers 1
|
||||||
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||||
|
return-void
|
||||||
|
.end method
|
||||||
|
|
||||||
|
.method public largerThanSignedShort()V
|
||||||
|
.registers 1
|
||||||
|
.annotation runtime Lorg/junit/Test;
|
||||||
|
.end annotation
|
||||||
|
|
||||||
|
#a line number that just barely doesn't fit in a signed short
|
||||||
|
.line 0x8000
|
||||||
|
|
||||||
|
return-void
|
||||||
|
.end method
|
||||||
|
|
||||||
|
.method public largerThanUnsignedShort()V
|
||||||
|
.registers 1
|
||||||
|
.annotation runtime Lorg/junit/Test;
|
||||||
|
.end annotation
|
||||||
|
|
||||||
|
#a line number that is way bigger than a signed short
|
||||||
|
.line 0x10000
|
||||||
|
|
||||||
|
return-void
|
||||||
|
.end method
|
||||||
|
|
||||||
|
.method public largerThanSignedInt()V
|
||||||
|
.registers 1
|
||||||
|
.annotation runtime Lorg/junit/Test;
|
||||||
|
.end annotation
|
||||||
|
|
||||||
|
#a line number that just barely doesn't fit in a signed int
|
||||||
|
.line 0x80000000
|
||||||
|
|
||||||
|
return-void
|
||||||
|
.end method
|
@ -24,6 +24,7 @@
|
|||||||
LFieldTest;,
|
LFieldTest;,
|
||||||
LSpecialInstructionPaddingTest;,
|
LSpecialInstructionPaddingTest;,
|
||||||
LStaticFieldInitializerTest;,
|
LStaticFieldInitializerTest;,
|
||||||
|
LLineTest;,
|
||||||
LFormat10x;,
|
LFormat10x;,
|
||||||
LFormat10t;,
|
LFormat10t;,
|
||||||
LFormat11n;,
|
LFormat11n;,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user