From 08b9a6f5ed2893dc2f52ad0ca128c24848dbce68 Mon Sep 17 00:00:00 2001 From: Salar Nosrati-Ershad Date: Wed, 8 Jun 2022 22:54:00 +0430 Subject: [PATCH] feat(checker): add radare2 contains patterns (#1693) --- cve_bin_tool/checkers/radare2.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/cve_bin_tool/checkers/radare2.py b/cve_bin_tool/checkers/radare2.py index a445971e7d..4db8d16263 100644 --- a/cve_bin_tool/checkers/radare2.py +++ b/cve_bin_tool/checkers/radare2.py @@ -12,7 +12,12 @@ class Radare2Checker(Checker): - CONTAINS_PATTERNS = [] + CONTAINS_PATTERNS = [ + r"-- run radare2 without opening any file", + r"-v, -V show radare2 version (-V show lib versions)", + r"list all links in radare2 command format.", + r"radare2 does not support projects on debugged bins.", + ] FILENAME_PATTERNS = [r"rafind2"] VERSION_PATTERNS = [r"rafind2 v([0-9]+\.[0-9]+\.[0-9]+)"] VENDOR_PRODUCT = [("radare", "radare2")]