feature/rglob #29

Merged
ccyj merged 13 commits from feature/rglob into main 2024-06-03 20:24:43 +08:00
Showing only changes of commit 8a14ef4341 - Show all commits

View File

@@ -3,10 +3,10 @@ from typing import Dict, List, Tuple
from reportlab.lib.pagesizes import letter from reportlab.lib.pagesizes import letter
from reportlab.lib.styles import getSampleStyleSheet from reportlab.lib.styles import getSampleStyleSheet
from reportlab.platypus import Paragraph, Spacer, SimpleDocTemplate from reportlab.platypus import Paragraph, Spacer, SimpleDocTemplate
from detection.Regexdetection import find_dangerous_functions from .Regexdetection import find_dangerous_functions
from detection.GPTdetection import detectGPT from .GPTdetection import detectGPT
from detection.utils import * from .utils import *
from detection.pyc_detection import disassemble_pyc from .pyc_detection import disassemble_pyc
import sys import sys
SUPPORTED_EXTENSIONS = {".py", ".js", ".cpp", ".pyc"} SUPPORTED_EXTENSIONS = {".py", ".js", ".cpp", ".pyc"}