Open xiaoxiongwang opened 10 months ago
Hi, I find what causes the error. The type of variable v18 is int, but the instruction move-object/from16 is used. The correct instruction should be move not move-object.
sget v18, Lcom/awesomeproject/policycenter/Constant$LEVEL;->ANY:I
.local v18, "level":Lint;, ""
move-object/from16 v0, v16
move-object/from16 v1, v17
move-object/from16 v2, v18
So how can I control soot to ouput the correct instruction?
HI, I encountered a strange problem. We're instrumenting code to a apk made by React Native and the generated bytecode doesn't pass the verifier. The error says:
And here is the smail code:
I know that this type of problem is often caused by incorrect smali code, but I can't figure out the issue with this generated smali code. At the same time, if I remove the authentication function call statement, then there is no problem.