Git Product home page Git Product logo

shuwang127 / patchoversampling Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 140.14 MB

Oversampling operations on security/non-security patches. This method is described in the paper "PatchDB: A Large-Scale Security Patch Dataset", which appears in 2021 51st Annual IEEE/IFIP International Conference on Dependable Systems and Networks (DSN 2021), Taipei, June 21-24, 2021, pp. 149-160.

License: Apache License 2.0

Python 0.25% Perl 26.65% DIGITAL Command Language 0.02% C 70.68% Shell 0.43% Assembly 1.66% M4 0.26% eC 0.02% Makefile 0.01% Module Management System 0.01% Emacs Lisp 0.02%
security-patch oversampling abstract-syntax-tree code-obfuscation python3 cpp

patchoversampling's Introduction

PatchOversampling

'''
Security Patch Group: Patch Oversampling Task.
Developer: Shu Wang
Date: 2020-06-24
Version: S2020.06.24 (Version 5.0)
File Structure:
    PatchClearance
        |-- _old_versions           # old versions for the programs.
        |-- openssl                 # openssl data.
            |-- file_jk             # program files.
                | -- after          # 'after' version.
                | -- before         # 'before' version
            |-- patch_jk            # patch files.
            |-- ast_jk              # AST files.
                | -- after          # 'after' version.
                | -- before         # 'before' version
            |-- out_jk              # output program files.
                | -- after          # 'after' version.
                | -- before         # 'before' version
            |-- outp_jk             # output patch files.
        |-- code_modification.py    # main entrance.
        |-- README.md               # readme file.
Prerequirements:
    LLVM 10.0.0 (Download Link: http://www.llvm.org/releases/download.html)
Usage:
    python code_modification.py
'''

patchoversampling's People

Contributors

shuwang127 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

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.