# CodeSecurity **Repository Path**: snow-feather/code-security ## Basic Information - **Project Name**: CodeSecurity - **Description**: 代码空间安全研究 - **Primary Language**: Python - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-05-15 - **Last Updated**: 2025-03-11 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # CodeSecurity #### 介绍 代码空间安全研究 #### 安装 1. pip install -r requirements.txt 安装项目需要的依赖包 2. cd ./libs => git clone https://github.com/tree-sitter/tree-sitter-cpp.git 3. 执行 python persp_main.py persp_repo --repo_dir 仓库路径 --repo_url 仓库标签 --device gpu --out_file 生成的json文件路径 4. 执行 python persp_main.py insert_to_mongo --json_file 上一步生成的文件路径