diff --git a/radare2 b/radare2 index b263363a..f6036ffb 160000 --- a/radare2 +++ b/radare2 @@ -1 +1 @@ -Subproject commit b263363a91d4f2883d789bbc9a2d8a8321c952ba +Subproject commit f6036ffbad238a61561da89b70521e8e392f7665 diff --git a/src/widgets/HexdumpWidget.cpp b/src/widgets/HexdumpWidget.cpp index 96cdc779..66ff25a5 100644 --- a/src/widgets/HexdumpWidget.cpp +++ b/src/widgets/HexdumpWidget.cpp @@ -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(""); } diff --git a/src/widgets/HexdumpWidget.ui b/src/widgets/HexdumpWidget.ui index c1e26ddf..e1ff895b 100644 --- a/src/widgets/HexdumpWidget.ui +++ b/src/widgets/HexdumpWidget.ui @@ -153,6 +153,11 @@ JavaScript + + + Yara + +