mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-19 11:26:11 +00:00
Implement parsing selected bytes as Yara (#1818)
* Export selected bytes to Yara * update radare2
This commit is contained in:
parent
b11ba240d2
commit
9755fb5ec0
2
radare2
2
radare2
@ -1 +1 @@
|
||||
Subproject commit b263363a91d4f2883d789bbc9a2d8a8321c952ba
|
||||
Subproject commit f6036ffbad238a61561da89b70521e8e392f7665
|
@ -254,6 +254,9 @@ void HexdumpWidget::updateParseWindow(RVA start_address, int size)
|
||||
case 9: // JavaScript
|
||||
ui->hexDisasTextEdit->setPlainText(Core()->cmd("pcJ " + argument));
|
||||
break;
|
||||
case 10: // Yara
|
||||
ui->hexDisasTextEdit->setPlainText(Core()->cmd("pcy " + argument));
|
||||
break;
|
||||
default:
|
||||
ui->hexDisasTextEdit->setPlainText("");
|
||||
}
|
||||
|
@ -153,6 +153,11 @@
|
||||
<string>JavaScript</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string>Yara</string>
|
||||
</property>
|
||||
</item>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
|
Loading…
Reference in New Issue
Block a user