pxb1988 / dex2jar

Tools to work with android .dex and java .class files
Apache License 2.0
12.05k stars 2.09k forks source link

dex2jar: found bug #618

Open jipark307 opened 2 months ago

jipark307 commented 2 months ago

A phenomenon occurs where the condition value of a specific branch statement (if statement condition) changes back and forth.

As shown in the example code below, if the right side of the comparison value is larger in a conditional statement and the left side of the comparison value is declared as a variable, the comparison value will change to the opposite side after dex2jar, but the inequality sign will not change.

(before: original source code) int len = 0; if (len <= 4) { .... }

(after: dex2jar result) if (4 <= 0) { .... }

Any ideas as to why this working? kindly assist

rakiyun commented 3 weeks ago

I also noticed the same symptoms. Please answer fast.

headfirst123 commented 3 weeks ago

你的来信已收到,谢谢

ThexXTURBOXx commented 3 weeks ago

Please answer fast.

That's a bit rude to say - noone contributing to this project is getting paid. We are maintaining it in our free time and hence we will take as much time as we need and/or want to reply.

I also noticed the same symptoms.

Then you should have found #590

rakiyun commented 3 weeks ago

빨리 답변해주세요.

말하는 것은 약간 무례합니다. 이 프로젝트에 기여하는 사람 중 누구도 돈을 받지 않습니다. 우리는 여가 시간에 그것을 유지하고 있으므로 필요하거나 답변하고 싶은 만큼 시간이 걸릴 것입니다.

저도 같은 증상이 나타났습니다.

그렇다면 #590을 찾았어야 했는데

I'm sorry if you were offended. I am always grateful and use it.