mirror of
https://github.com/revanced/smali.git
synced 2025-05-04 08:34:25 +02:00
Fixed an issue where baksmali didn't output the optional signature info on local debug directives, when available
git-svn-id: https://smali.googlecode.com/svn/trunk@207 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
This commit is contained in:
parent
0871036088
commit
9f8be06898
@ -29,6 +29,7 @@
|
|||||||
package org.jf.baksmali.Adaptors;
|
package org.jf.baksmali.Adaptors;
|
||||||
|
|
||||||
import org.jf.dexlib.Util.DebugInfoDecoder;
|
import org.jf.dexlib.Util.DebugInfoDecoder;
|
||||||
|
import org.jf.dexlib.Util.Utf8Utils;
|
||||||
|
|
||||||
public class LocalDebugMethodItem extends DebugMethodItem {
|
public class LocalDebugMethodItem extends DebugMethodItem {
|
||||||
private DebugInfoDecoder.Local local;
|
private DebugInfoDecoder.Local local;
|
||||||
@ -61,6 +62,6 @@ public class LocalDebugMethodItem extends DebugMethodItem {
|
|||||||
if (local.signature == null) {
|
if (local.signature == null) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
return local.signature.getStringValue();
|
return Utf8Utils.escapeString(local.signature.getStringValue());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -306,17 +306,17 @@ StartEpilogue(Epilogue) ::=
|
|||||||
|
|
||||||
StartLocal(StartLocal) ::=
|
StartLocal(StartLocal) ::=
|
||||||
<<
|
<<
|
||||||
.local <Register(StartLocal.Register)>, <StartLocal.Name>:<StartLocal.Type>
|
.local <Register(StartLocal.Register)>, <StartLocal.Name>:<StartLocal.Type><if(StartLocal.Signature)>,"<StartLocal.Signature>"<endif>
|
||||||
>>
|
>>
|
||||||
|
|
||||||
EndLocal(EndLocal) ::=
|
EndLocal(EndLocal) ::=
|
||||||
<<
|
<<
|
||||||
.end local <Register(EndLocal.Register)> #<EndLocal.Name>:<EndLocal.Type>
|
.end local <Register(EndLocal.Register)> <if(EndLocal.Name)>#<EndLocal.Name>:<EndLocal.Type>,<if(EndLocal.Signature)>, "<EndLocal.Signature>"<endif><endif>
|
||||||
>>
|
>>
|
||||||
|
|
||||||
RestartLocal(RestartLocal) ::=
|
RestartLocal(RestartLocal) ::=
|
||||||
<<
|
<<
|
||||||
.restart local <Register(RestartLocal.Register)> #<RestartLocal.Name>:<RestartLocal.Type>
|
.restart local <Register(RestartLocal.Register)> <if(RestartLocal.Name)>#<RestartLocal.Name>:<RestartLocal.Type>,<if(RestartLocal.Signature)>, "<RestartLocal.Signature>"<endif><endif>
|
||||||
>>
|
>>
|
||||||
|
|
||||||
SetFile(SetFile) ::=
|
SetFile(SetFile) ::=
|
||||||
|
Loading…
x
Reference in New Issue
Block a user