diff --git a/src/CoreClass.js b/src/CoreClass.js index e448eb7..2ecc67f 100644 --- a/src/CoreClass.js +++ b/src/CoreClass.js @@ -965,7 +965,7 @@ Class.prototype.getStaticFields = function(){ /** * To get method * TODO : do it during analysis - * @returns + * @returns {Method} */ Class.prototype.getClInit = function(){ for(let i in this.methods){ diff --git a/src/SmaliVM.js b/src/SmaliVM.js index a715990..9bb16d0 100644 --- a/src/SmaliVM.js +++ b/src/SmaliVM.js @@ -1967,7 +1967,7 @@ class VM regX[SYMBOL_OPE[oper.opcode.ope]](regV.getValue(), oper.opcode.byte), `${this.getImmediateValue(regX)}${oper.opcode.ope}${this.getImmediateValue(regV)}`); - break; + //break; } else{ @@ -2008,7 +2008,7 @@ class VM `${this.getImmediateValue(regV)}${oper.opcode.ope}${this.getRegisterName(oper.right)}`); } - break; + } else{ this.stack.setLocalSymbol(