From 977841837decb7adb00dab3c99a9d2d81b677ffe Mon Sep 17 00:00:00 2001 From: dqy <1016751306@qq.com> Date: Tue, 4 Jun 2024 17:47:25 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E9=BB=98=E8=AE=A4=E4=BB=8E=E7=B3=BB?= =?UTF-8?q?=E7=BB=9F=E5=8F=98=E9=87=8Fpycdc=E4=B8=AD=E8=AF=BB=E5=8F=96?= =?UTF-8?q?=E8=B7=AF=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- detection/__main__.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/detection/__main__.py b/detection/__main__.py index 9881eb5..fffaf0a 100644 --- a/detection/__main__.py +++ b/detection/__main__.py @@ -420,7 +420,10 @@ def main(): "-m", "--mode", help="Mode of operation:[regex,llm]", default="regex" ) parser.add_argument( - "-p", "--pycdc", help="Path to pycdc.exe to decompile", default=None + "-p", + "--pycdc", + help="Path to pycdc.exe to decompile", + default=os.getenv("pycdc"), ) args = parser.parse_args() output_format = "txt" # Default output format