Вверх ↑
Ответов: 278
Рейтинг: 5
#1: 2022-06-07 02:28:06 ЛС | профиль | цитата
Подскажите пожалуйста почему рег.выражение invoke-virtual \{([pv]\d+), ([pv]\d+)\}, Ljava/security/Signature;->verify\(\[B\)Z\n\n move-result ([pv]\d+) на https://www.freeformatter.com/regex-tester.html -работает.
а в Xiasm invoke-virtual \{([pv]\d+), ([pv]\d+)\}, Ljava/security/Signature;->verify\(\[B\)Z\r\n move-result ([pv]\d+) нет.
Add(Button,1032059,504,175)
{
Left=155
Top=25
Width=100
Caption="Папка"
link(onClick,4127652:doExec,[])
}
Add(RE_Search,4127652,609,175)
{
Expression="invoke-virtual \{([pv]\d+), ([pv]\d+)\}, Ljava/security/Signature;->verify\(\[B\)Z\r\n move-result ([pv]\d+)"
ModifierM=0
link(onMatch,12520392:doEvent1,[])
link(SourceStr,7368708:Text,[])
}
Add(Hub,12520392,651,175)
{
OutCount=3
link(onEvent1,3967029:doAdd,[])
}
Add(Memo,3967029,693,175)
{
Left=30
Top=85
Width=380
Height=120
ScrollBars=3
}
Add(StrList,7368708,609,126)
{
Strings=#0:|75: invoke-direct {v2, v1}, Ljava/lang/String;-><init>(Ljava/lang/String;)V|0:|22: move-object v1, v2|0:|11: :goto_5|93: invoke-direct {v0, v1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V|0:|12: throw v0|0:|11: :cond_b|36: const-string v1, "SHA256withDSA"|0:|16: goto :goto_6|0:|11: :cond_c|38: const-string v1, "SHA512withECDSA"|0:|16: goto :goto_6|8: :cond_e|86: invoke-virtual {v9, v0}, Ljava/security/Signature;->update(Ljava/nio/ByteBuffer;)V|0:|67: invoke-virtual {v9, v8}, Ljava/security/Signature;->verify([B)Z|0:|18: move-result v1|14: :try_end_1|89: .catch Ljava/security/NoSuchAlgorithmException; {:try_start_1 .. :try_end_1} :catch_9|93: .catch Ljava/security/spec/InvalidKeySpecException; {:try_start_1 .. :try_end_1} :catch_8|
Point(doLoad)
}

карма: 0

0
Редактировалось 3 раз(а), последний 2022-06-11 14:31:59