项目作者: shuwang127

项目描述 :
Patch Oversampling (Synthesis) with Direct Patch Analysis
高级语言: Python
项目地址: git://github.com/shuwang127/PatchOversamplingV2.git
创建时间: 2020-09-22T21:35:42Z
项目社区:https://github.com/shuwang127/PatchOversamplingV2

开源协议:

下载


PatchOversamplingV2

Patch Oversampling (Synthesis) with Direct Patch Analysis

  1. '''
  2. Patch Oversampling (Synthesis) with Direct Patch Analysis.
  3. Developer: Shu Wang
  4. Date: 2020-09-22
  5. Version: S2020.09.22 (Version 1.0)
  6. File Structure:
  7. PatchClearance
  8. |-- data # original patch folder.
  9. |-- negatives # negative patches.
  10. |-- positives # positive patches.
  11. |-- security_patch # positive patches from NVD.
  12. |-- synthesis # synthetic patch folder.
  13. |-- negatives # corresponding synthetic negative patches.
  14. |-- positives # corresponding synthetic positive patches.
  15. |-- security_patch # corresponding synthetic positive NVD patches.
  16. |-- patch_oversampling.py # main entrance.
  17. |-- README.md # readme file.
  18. Usage:
  19. python patch_oversampling.py
  20. Notes: # patches = 38,041
  21. # patches without verified IF stat = 15,402 (41%)
  22. # patches with one verified IF stat = 7,379 (19%)
  23. # patches with >=2 verified IF stats = 15,260 (40%)
  24. # verified IF stats = 135,378
  25. # possible patch variants = 1,083,024
  26. # restricted patch variants = 37,899
  27. '''