AI Bugfinder
A static analyzer powered by AI
  • Introduction
  • Designing pipelines
  • Designing processing classes
  • Example pipelines
  • API documentation
    • bugfinder
      • bugfinder.settings
      • bugfinder.models
      • bugfinder.utils
      • bugfinder.base
      • bugfinder.features
      • bugfinder.processing
AI Bugfinder
  • »
  • API documentation »
  • bugfinder

bugfinder

Bugfinder package containing all dataset classes, data processing and utilities.

To import the package in Python scripts, the path must be updated. Do it by either prepending the python command with PYTHONPATH=/path/to/ai-bugfinder, or adding this snippet of code before any other import statement:

# Sample code for allowing direct imports of the `bugfinder` package.
from os.path import dirname, join
import sys

sys.path.append("/path/to/ai-bugfinder")
  • bugfinder.settings
    • DATASET_DIRS
    • FEATURES_FILE
    • LOGGER
    • LOGGER_CONFIG
    • NEO4J_DEFAULT_TIMEOUT
    • NEO4J_V3_CORES
    • NEO4J_V3_MEMORY
    • POOL_SIZE
    • ROOT_DIR
    • SUMMARY_FILE
  • bugfinder.models
    • ClassifierModel
    • bugfinder.models.linear_classifier
    • bugfinder.models.lstm_classifier
    • bugfinder.models.interproc_lstm
    • bugfinder.models.blstm_classifier
    • bugfinder.models.sequential
    • bugfinder.models.dnn_classifier
  • bugfinder.utils
    • bugfinder.utils.dirs
    • bugfinder.utils.feature_selection
    • bugfinder.utils.processing
    • bugfinder.utils.rand
    • bugfinder.utils.containers
    • bugfinder.utils.statistics
    • bugfinder.utils.progressbar
  • bugfinder.base
    • bugfinder.base.dataset
    • bugfinder.base.processing
  • bugfinder.features
    • bugfinder.features.reduction
    • bugfinder.features.extraction
  • bugfinder.processing
    • AbstractCppFileProcessing
    • bugfinder.processing.interproc
    • bugfinder.processing.sink_tagging
    • bugfinder.processing.tokenizers
    • bugfinder.processing.cleaning
    • bugfinder.processing.neo4j
    • bugfinder.processing.dataset
    • bugfinder.processing.joern
    • bugfinder.processing.ast
Previous Next

Built with Sphinx using a theme provided by Read the Docs.