Implement parsing selected bytes as Yara (#1818)

* Export selected bytes to Yara

* update radare2
This commit is contained in:
Itay Cohen 2019-10-08 14:22:09 +03:00 committed by GitHub
parent b11ba240d2
commit 9755fb5ec0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 1 deletions

@ -1 +1 @@
Subproject commit b263363a91d4f2883d789bbc9a2d8a8321c952ba
Subproject commit f6036ffbad238a61561da89b70521e8e392f7665

View File

@ -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("");
}

View File

@ -153,6 +153,11 @@
<string>JavaScript</string>
</property>
</item>
<item>
<property name="text">
<string>Yara</string>
</property>
</item>
</widget>
</item>
<item>