Giter VIP home page Giter VIP logo

sard-parse's Introduction

SARD数据集解析

(开发中...)

解析SARD数据集,并进行分类(有无漏洞,分离mixed样本)和标注(CWE编号+触发行号)

文件类型

  • bad -> 判断能否通过编译
  • good -> 判断能否通过编译
  • mixed
    • 单文件 -> 根据宏定义(#ifndef OMITBAD/OMITGOOD)拆分,保留main函数
    • 多文件 -> 暂不处理(一般是函数调用,后续考虑将文件进行合并)

标注方式

  1. 解析xml文件,得到每个样本的文件路径、标签等信息
  2. 读取样本,分割、处理并保存到单独的文件夹(文件名示例:good/bad/CWE-xx_lineNum_...)
  3. (可自己再创建一个xml,指定处理后样本的路径、标签等信息)

sard-parse's People

Contributors

ws0407 avatar

Stargazers

hust-marx2 avatar

Watchers

 avatar

sard-parse's Issues

Something about the procedure of the project

Very excellent job! As a new contributor to the SARD dataset, your effort practically puts me on the shoulders of giants. However, given the intricacy of the code, would you be so kind as to provide a running order for the code project? If there is anything else I should be aware of, please let me know; thank you again!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.