仔细检查包含 OR 语句
好吧,我只是提出了一个问题,询问如何简单地 ~(i + -1) < -1
结果是 i > 1
制作一个 JAVA
反混淆器,这是我到目前为止所拥有的。我只是想让人们告诉我哪些是我做错的?如果有的话,请仔细检查。
<代码>~i> -1 是 i
0
~i < -1 是
i > 0
~i > ~classA.var
是 i
classA.var
~i >= ~j
是 i <= j
~i <= ~b
是 < code>i >= b
~i == -1
是 i == 0
~classA.var
~classA.var
-1
是 classA.var > 0
~classA.var > -1 是 classA.var
0
~classA.var == ~classB.var
是 classA.var == classB.var
~(-1 + i)
~(-1 + i)
-1 是
i > 1
~(i + -1)
-1 是
i > 1
~(i & 0x22) != -1
是 (i & 0x22) == 0
<- 似乎错误..
似乎 Eng.Fouad 的正确答案是
~(i & 0x22) != -1
是 (i & 0x22) != 0
<- 到目前为止是正确的。
这些是我的反混淆器到目前为止支持的所有模式......可能会发现更多。
(有错误的吗?)我担心那些带有 ==
标志的可能是错误的..我已经测试过它们,它们似乎可以工作..
谢谢我感谢支持,我是一个初学者编程只编程了半年,数学也不是我的强项。
Well I just made a question asking how to simply~(i + -1) < -1
which turned out to be i > 1
Making a JAVA
deobfuscator and here is what I have so far.. I just want people to tell me which ones I did wrong? if any just double checking.
~i > -1
is i < 0
~i < -1
is i > 0
~i > ~classA.var
is i < classA.var
~i >= ~j
is i <= j
~i <= ~b
is i >= b
~i == -1
is i == 0
~classA.var < -1
is classA.var > 0
~classA.var > -1
is classA.var < 0
~classA.var == ~classB.var
is classA.var == classB.var
~(-1 + i) < -1
is i > 1
~(i + -1) < -1
is i > 1
~(i & 0x22) != -1
is (i & 0x22) == 0
<- seems wrong
..
Seems the correct answer by Eng.Fouad is
~(i & 0x22) != -1
is (i & 0x22) != 0
<- correct so far.
These are all the patterns my deobfuscator supports so far.. probably will find a bunch more.
(Any wrong ones?) I Fear the ones with ==
signs may be wrong.. i've tested them and they seem to work..
Thanks I appreciate the support, i'm a beginner to programming only programmed half a year and math isn't my strong point.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
只需将每个
~x
替换为-x - 1
:~i > -1
==>-i - 1 > -1
==>-i > 0
==>i < 0
~i < -1
==>-i - 1
-1
==>-i < 0
==>i > 0
等等。
Just replace each
~x
with-x - 1
:~i > -1
==>-i - 1 > -1
==>-i > 0
==>i < 0
~i < -1
==>-i - 1 < -1
==>-i < 0
==>i > 0
and so on.