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

title: How to perform inference with LineVul on custom files? #19

Open
standard-librarian opened this issue Dec 4, 2024 · 0 comments
Open

Comments

@standard-librarian
Copy link

Description

I would like to use LineVul to test vulnerabilities in my own source code files. I need step-by-step instructions on how to set up and run inference with LineVul on custom files.

Current Understanding

  • I am aware that LineVul is a deep learning-based vulnerability detection tool
  • I want to use it for analyzing my own codebase rather than the pre-existing test sets

What I'm Looking For

Clear instructions on how to:

  • Set up LineVul for inference mode
  • Prepare my source code files in the correct format
  • Run the inference process
  • Interpret the results

Information about:

  • Required file formats/structure
  • Any preprocessing steps needed
  • Configuration parameters that need to be set
  • Expected output format

Questions

  • What is the correct format for input files?
  • Are there any size limitations for the files being analyzed?
  • How should the model weights be loaded for inference?
  • What is the recommended way to process multiple files?
  • How can I interpret the confidence scores in the results?

Environment Details

My current environment:

  • Operating System: Windows 10
  • GPU: NVIDIA RTX 3050
  • Python version: 3.11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant