Skip to content

Commit

Permalink
fix(gui): resolve exception in smali method writer (#1739)(PR #1745)
Browse files Browse the repository at this point in the history
Co-authored-by: jmlitfi <jeffmlitfi@gmail.com>
  • Loading branch information
jmlitfi and jmlitfi committed Dec 13, 2022
1 parent 07c2b14 commit e3fdbaf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ private boolean formatMthParamInfo(IMethodData mth, SmaliWriter smali, ICodeRead
IDebugInfo dbgInfo = codeReader.getDebugInfo();
if (dbgInfo != null) {
for (ILocalVar var : dbgInfo.getLocalVars()) {
if (var.getStartOffset() == -1) {
if (var.getRegNum() == regNum) {
int i = writeParamInfo(smali, line, regNum, paramStart, var.getName(), var.getType());
regNum += i;
paramStart += i;
Expand Down

0 comments on commit e3fdbaf

Please sign in to comment.