Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changed the way we handle errors, corrected our references files #404

Merged
merged 3 commits into from
Jul 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 13 additions & 33 deletions references/others.bib
Original file line number Diff line number Diff line change
Expand Up @@ -136,15 +136,15 @@ @misc{sawadogo2020learningcatchsecuritypatches
url={https://arxiv.org/abs/2001.09148},
}

@misc{dunlap2023vfcfinderseamlesslypairingsecurity,
title={VFCFinder: Seamlessly Pairing Security Advisories and Patches},
author={Trevor Dunlap and Elizabeth Lin and William Enck and Bradley Reaves},
year={2023},
eprint={2311.01532},
archivePrefix={arXiv},
primaryClass={cs.CR},
url={https://arxiv.org/abs/2311.01532},
}










@misc{dunlap2023vfcfinderseamlesslypairingsecurity,
title={VFCFinder: Seamlessly Pairing Security Advisories and Patches},
Expand Down Expand Up @@ -268,11 +268,11 @@ @INPROCEEDINGS{10428519
doi={10.1109/AECE59614.2023.10428519}}

@Article{electronics10131606,
AUTHOR = {Senanayake, Janaka and Kalutarage, Harsha and Al-Kadri, Mhd Omar},
TITLE = {Android Mobile Malware Detection Using Machine Learning: A Systematic Review},
JOURNAL = {Electronics},
author = {Senanayake, Janaka and Kalutarage, Harsha and Al-Kadri, Mhd Omar},
title = {Android Mobile Malware Detection Using Machine Learning: A Systematic Review},
journal = {Electronics},
VOLUME = {10},
YEAR = {2021},
year = {2021},
NUMBER = {13},
ARTICLE-NUMBER = {1606},
URL = {https://www.mdpi.com/2079-9292/10/13/1606},
Expand Down Expand Up @@ -671,16 +671,6 @@ @misc{wang2024aigeneratedcodereallysafe
url={https://arxiv.org/abs/2407.02395},
}

@misc{sawadogo2020learningcatchsecuritypatches,
title={Learning to Catch Security Patches},
author={Arthur D. Sawadogo and Tegawendé F. Bissyandé and Naouel Moha and Kevin Allix and Jacques Klein and Li Li and Yves Le Traon},
year={2020},
eprint={2001.09148},
archivePrefix={arXiv},
primaryClass={cs.SE},
url={https://arxiv.org/abs/2001.09148},
}

@misc{tony2023llmsecevaldatasetnaturallanguage,
title={LLMSecEval: A Dataset of Natural Language Prompts for Security Evaluations},
author={Catherine Tony and Markus Mutas and Nicolás E. Díaz Ferreyra and Riccardo Scandariato},
Expand All @@ -691,16 +681,6 @@ @misc{tony2023llmsecevaldatasetnaturallanguage
url={https://arxiv.org/abs/2303.09384},
}

@misc{wang2019characterizingunderstandingsoftwaredeveloper,
title={Characterizing and Understanding Software Developer Networks in Security Development},
author={Song Wang and Nachi Nagappan},
year={2019},
eprint={1907.12141},
archivePrefix={arXiv},
primaryClass={cs.SE},
url={https://arxiv.org/abs/1907.12141},
}

@article{Chen_2023,
title={Neural Transfer Learning for Repairing Security Vulnerabilities in C Code},
volume={49},
Expand Down
6 changes: 3 additions & 3 deletions scripts/bib2md.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
import argparse
import html
import sys

import bibtexparser


def process_entry(entry):

try:
authors = entry["author"].split(" and ")
if len(authors) > 1:
Expand Down Expand Up @@ -46,7 +46,7 @@ def process_entry(entry):

except KeyError as e:
print(
f"One or more necessary fields {str(e)} not present in this BibTeX entry."
f"One or more necessary fields {str(e)} not present in this BibTeX entry.", file=sys.stderr,
)
return None, None

Expand All @@ -73,7 +73,7 @@ def format_simple(entry_str, order="desc"):
"Warning: Some entries were not processed due to unknown type",
file=sys.stderr,
)
print("List of unprocessed entrie(s):", [e for e in unprocessed_entries])
print("List of unprocessed entrie(s):", [e for e in unprocessed_entries], file=sys.stderr)

return [entry[1] for entry in formatted_entries]

Expand Down
Loading